/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9fbfd;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #046493;
}

a {
    text-decoration: none;
    color: inherit;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #0d6efd;
    bottom: -10px;
    left: calc(50% - 25px);
}

.section-title p {
    margin-bottom: 0;
    color: #6c757d;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 50px;
}

.brand-text h3 {
    color: #052c65;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.brand-text p {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: #dc3545;
}

.nav-link {
    font-weight: 500;
    color: #333;
    margin: 0 10px;
}

.nav-link:hover {
    color: #0d6efd;
}

.notice-container {
    background-color: #1c80cccc;
    padding: 20px 0px 10px 0px;
}

.updates {
    margin-bottom: 20px;
    background-color: #076392;
    padding: 24px 15px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.scroll-top {
    background-color: #e78181;
    padding: 15px;
    position: fixed;
    bottom: 20px;
    left: 25px;
    z-index: 1000;
    border: 1px solid #e78181;
    border-radius: 10px;
    box-shadow: 0 1px 3px #000000;
}

.scroll-top i {
    color: #ffffff;
    font-size: 25px;
}

.updates .principal p i {
    color: #e78181;
    font-size: 23px;
}

/* Hero Section */
#hero {
    padding: 1rem 0;
    background: linear-gradient(to right, #e0f7fa, #ffffff);
    position: relative;
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

#hero .lead {
    font-size: 1.1rem;
    color: #6c757d;
}

#hero .btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

#hero .btn:hover {
    transform: scale(1.05);
}

.hero-image-container {
    position: relative;
}

.hero-image-container img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-overlay-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 220px;
    transition: transform 0.3s ease;
}

.hero-overlay-card:hover {
    transform: translateY(-10px);
}

.hero-overlay-card.card-1 {
    top: -20%;
    left: -30px;
}

.hero-overlay-card.card-2 {
    bottom: -20%;
    right: -50px;
    opacity: 0.9;
}

.hero-overlay-card .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.hero-overlay-card h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.hero-overlay-card p {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Quick Access Services */
#quick-access {
    padding: 80px 0;
    background-color: #fff;
}

.service-card {
    padding: 30px;
    border-radius: 15px;
    color: #fff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.bg-custom-blue,
.btn-cprimary {
    background-color: #046493;
}

.btn-cprimary:hover {
    background-color: #035a7d;
}
.bg-custom-purple {
    background-color: #1c5353;
}

.bg-custom-orange {
    background-color: #fd7e14;
}

.bg-custom-red {
    background-color: #dc3545;
}

.bg-custom-teal {
    background-color: #43940b;
}

.bg-custom-pink {
    background-color: #ab0605;
}

.bg-custom-green {
    background-color: #198754;
}

.bg-custom-indigo {
    background-color: #6610f2;
}

/* Empowering Education */
#empowering-education {
    padding: 80px 0;
    background-color: #f8f9fa;
}

#empowering-education .features {
    list-style: none;
    padding-left: 0;
}

#empowering-education .features li {
    padding-bottom: 10px;
    font-size: 1.1rem;
}

#empowering-education .features i {
    font-size: 20px;
    color: #28a745;
    padding-right: 10px;
}

#empowering-education .stats-box {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

.cbox {
    background: #fff3;
    padding: 35px 35px 0px 35px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

#empowering-education .stats-box:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

#empowering-education .stats-box h2 {
    font-size: 2.5rem;
    color: #0d6efd;
}

#empowering-education .stats-box p {
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0;
}

/* Latest Updates & Focus Areas */
#latest-updates {
    padding: 80px 0;
    background-color: #fff;
}

.updates-card .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.updates-card h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.updates-card .date {
    font-size: 0.8rem;
    color: #dc3545;
    font-weight: 500;
}

.focus-areas-card .list-group-item {
    display: flex;
    align-items: center;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 15px 5px;
}

.focus-areas-card i {
    font-size: 1.5rem;
    color: #fff;
    background-color: #28a745;
    padding: 10px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Campus Network */
#campus-network {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.campus-card-blue {
    background-color: #046493;
    color: #fff;
    padding: 30px;
    border-radius: 15px;
}

.campus-card-blue h3,
.campus-card-blue h2 {
    color: #fff;
}

.campus-card-white {
    padding: 30px;
    border-radius: 15px;
}

.campus-details .detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.campus-details .detail-item .fw-bold {
    color: #0d6efd;
}

/* Leadership Message */
#leadership-message {
    padding: 80px 0;
    background-color: #fff;
}

.leader-card {
    background-color: #1c5353;
    color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
}

.leader-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    margin-bottom: 1rem;
}

.leader-card h3,
.leader-card p {
    color: #fff;
}

.message-card blockquote {
    font-style: italic;
    font-size: 1.2rem;
    border-left: 3px solid #0d6efd;
    padding-left: 15px;
    margin: 20px 0;
}

/* Vibrant Campus */
#vibrant-campus {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.campus-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.campus-gallery-item img {
    transition: transform 0.3s ease;
}

.campus-gallery-item:hover img {
    transform: scale(1.1);
}

.campus-gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(65, 65, 65, 0.418);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.campus-gallery-item:hover .overlay {
    opacity: 1;
}

.campus-gallery-item .overlay i {
    font-size: 4rem;
    color: #fff;
}

/* Stay Connected */
#stay-connected {
    padding: 80px 0;
    background-color: #fff;
}

.social-card {
    padding: 30px;
    border-radius: 15px;
    color: #fff;
    transition: transform 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-card img {
    height: 50px;
}

.social-card h3 {
    color: #fff;
    margin-bottom: 0;
}

.social-card .btn-light {
    border-radius: 50px;
    font-weight: 600;
    padding: 8px 25px;
}

.bg-facebook {
    background-color: #1877F2;
}

.bg-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Footer */
#footer {
    background-color: rgba(6, 9, 15, 0.9);
    color: #fff;
    padding: 30px 0;
}

#footer h3 {
    color: #fff;
    margin-bottom: 20px;
}

#footer p,
#footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

#footer a:hover {
    color: #fff;
}

#footer .list-unstyled li {
    margin-bottom: 10px;
}

#footer .social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #hero {
        padding: 20px 0;
    }

    .display-6 {
        font-size: 1.5rem;
    }

    .hero-overlay-card.card-1,
    .hero-overlay-card.card-2 {
        position: relative;
        left: auto;
        right: auto;
        margin-top: 20px;
    }

    .hero-overlay-card {
        width: 100%;
    }
    .cbox {
        padding: 10px;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
        animation-timing-function: ease-in-out;
    }

    50% {
        transform: translateY(-10px);
        animation-timing-function: ease-in-out;
    }
}

.bounce {
    animation: bounce 1s infinite;
}

/* Show submenu on hover (desktop) */
@media (min-width: 992px) {
    .dropdown-menu li:hover>.dropdown-menu {
        display: block;
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu>.dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        display: none;
        position: absolute;
    }
}