
       /* Sleek Modern UI Overrides */
        body {
            font-family: 'Montserrat', sans-serif;
            padding-top: 90px; /* Prevents fixed-top navbar from clipping your page content */
        }

        /* 1. Navbar Background: Navy Blue with Frosted Glass Effect */
        .navbar-custom {
            background-color: rgba(0, 31, 63, 0.95) !important; 
            backdrop-filter: blur(10px); 
            transition: all 0.3s ease-in-out;
        }

        /* 2. Navbar Link Text: White */
        .navbar-custom .nav-link {
            font-weight: 500;
            color: #ffffff !important;
            position: relative; 
            transition: color 0.2s ease;
        }

        /* 3. Navbar Link Hover & Active: Yellow */
        .navbar-custom .nav-link:hover,
        .navbar-custom .nav-link.active {
            color: #ffcc00 !important;
        }

        /* Animated elegant underline indicator on hover (Updated to Yellow) */
        @media (min-width: 992px) {
            .navbar-custom .nav-link::after {
                content: '';
                position: absolute;
                width: 0;
                height: 2px;
                bottom: 2px;
                left: 50%;
                background-color: #ffcc00; /* Yellow Underline */
                transition: all 0.3s ease;
                transform: translateX(-50%);
            }
            .navbar-custom .nav-link:hover::after,
            .navbar-custom .nav-link.active::after {
                width: 80%;
            }
        }

        /* Clean dropdown adjustments */
        .dropdown-menu {
            border: 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            border-radius: 0.75rem;
            padding: 0.5rem;
            animation: fadeIn 0.2s ease-out;
        }

        /* 4. Dropdown Menu Text: Dark Green */
        .dropdown-item {
            border-radius: 0.5rem;
            padding: 0.5rem 1rem;
            font-weight: 500;
            color: #006400 !important; 
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        /* 5. Dropdown Item Hover: Red text with a subtle soft red background tint */
        .dropdown-item:hover {
            background-color: rgba(220, 53, 69, 0.1); 
            color: #dc3545 !important; 
        }

        /* Logo scale effect on hover */
        .brand-logo {
            transition: transform 0.3s ease;
        }
        .brand-logo:hover {
            transform: scale(1.05);
        }

        /* Honey pot spam protection styling */
        .ohnohoney {
            opacity: 0;
            position: absolute;
            top: 0;
            left: 0;
            height: 0;
            width: 0;
            z-index: -1;
        }
    /* ============================================ */
        /* GLOBAL STYLES */
        /* ============================================ */
        :root {
            --navy-blue: #0a1929;
            --navy-blue-light: #132f4c;
            --white: #ffffff;
            --red: #c41e3a;
            --red-dark: #a01830;
            --yellow: #ffd700;
            --yellow-light: #ffe44d;
            --green: #2e7d32;
            --green-light: #4caf50;
            --grey-100: #f5f5f5;
            --grey-200: #eeeeee;
            --grey-300: #e0e0e0;
            --grey-500: #9e9e9e;
            --grey-700: #616161;
            --grey-900: #212121;
            --section-padding: 5rem 0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            overflow-x: hidden;
            background-color: var(--white);
            color: var(--grey-900);
        }

        .section-title {
            font-weight: 800;
            color: var(--navy-blue);
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--red), var(--yellow));
            border-radius: 2px;
        }

        .section-subtitle {
            color: var(--grey-700);
            font-weight: 500;
            margin-bottom: 3rem;
        }

        /* ============================================ */
        /* SECTION 1: HERO CAROUSEL (EDGE TO EDGE) */
        /* ============================================ */
        .hero-carousel-section {
            position: relative;
            height: 100vh;
            min-height: 600px;
            overflow: hidden;
        }

        #heroCarousel {
            height: 100%;
        }

        #heroCarousel .carousel-inner,
        #heroCarousel .carousel-item {
            height: 100%;
        }

        .hero-carousel-img {
            height: 100vh;
            min-height: 600px;
            object-fit: cover;
            object-position: center;
            filter: brightness(0.7);
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                135deg,
                rgba(10, 25, 41, 0.8) 0%,
                rgba(10, 25, 41, 0.4) 50%,
                rgba(10, 25, 41, 0.2) 100%
            );
            pointer-events: none;
        }

        .hero-caption {
            position: absolute;
            bottom: 15%;
            left: 10%;
            right: 10%;
            z-index: 10;
            animation: fadeInUp 1s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-caption-content {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-left: 5px solid var(--yellow);
            border-radius: 0 15px 15px 0;
            padding: 2rem 2.5rem;
            display: inline-block;
            max-width: 700px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .hero-caption-title {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 800;
            color: var(--white);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
        }

        .hero-caption-text {
            font-size: clamp(1rem, 2vw, 1.25rem);
            color: rgba(255, 255, 255, 0.95);
            font-weight: 300;
            line-height: 1.6;
        }

        .hero-btn {
            background: var(--yellow);
            color: var(--navy-blue);
            border: none;
            padding: 12px 35px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
        }

        .hero-btn:hover {
            background: var(--white);
            color: var(--navy-blue);
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
        }

        /* Carousel Indicators */
        .carousel-indicators {
            bottom: 3rem;
        }

        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 2px solid var(--white);
            background: transparent;
            opacity: 0.7;
            transition: all 0.3s ease;
            margin: 0 6px;
        }

        .carousel-indicators button.active {
            background: var(--yellow);
            border-color: var(--yellow);
            opacity: 1;
            transform: scale(1.3);
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
        }

        /* Navigation Arrows */
        .carousel-control-prev,
        .carousel-control-next {
            width: 55px;
            height: 55px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            margin: 0 2rem;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .hero-carousel-section:hover .carousel-control-prev,
        .hero-carousel-section:hover .carousel-control-next {
            opacity: 1;
        }

        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            background: var(--navy-blue);
            border-color: var(--yellow);
        }

        /* ============================================ */
        /* SECTION 2: ABOUT & SPORTS */
        /* ============================================ */
        .about-section {
            padding: var(--section-padding);
            background: linear-gradient(180deg, var(--white) 0%, var(--grey-100) 100%);
        }

        .about-card {
            background: var(--white);
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            height: 100%;
            border: 1px solid var(--grey-200);
        }

        .about-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
        }

        .about-title {
            font-weight: 800;
            color: var(--navy-blue);
            font-size: 2rem;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .about-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--red);
            border-radius: 2px;
        }

        .about-text {
            color: var(--grey-700);
            line-height: 1.8;
            font-size: 1.05rem;
            margin-bottom: 2rem;
        }

        .about-highlights {
            margin-bottom: 2rem;
        }

        .highlight-item {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            padding: 0.8rem 1rem;
            background: var(--grey-100);
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .highlight-item:hover {
            background: var(--navy-blue);
            color: var(--white);
            transform: translateX(10px);
        }

        .highlight-icon {
            width: 40px;
            height: 40px;
            background: var(--navy-blue);
            color: var(--yellow);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .highlight-item:hover .highlight-icon {
            background: var(--yellow);
            color: var(--navy-blue);
        }

        .read-more-btn {
            background: var(--navy-blue);
            color: var(--white);
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            border: 2px solid var(--navy-blue);
        }

        .read-more-btn:hover {
            background: transparent;
            color: var(--navy-blue);
            border-color: var(--navy-blue);
            transform: translateX(5px);
        }

        /* Sports Carousel */
        .sports-carousel {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            border: 1px solid var(--grey-200);
        }

        .sports-carousel-img {
            height: 400px;
            object-fit: cover;
        }

        .sports-carousel .carousel-indicators {
            bottom: 1rem;
        }

        .sports-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--red);
            color: var(--white);
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.9rem;
            z-index: 10;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 5px 15px rgba(196, 30, 58, 0.4);
        }

        .sports-caption {
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            padding: 2rem 1.5rem 1.5rem;
            text-align: left;
        }

        .sports-caption h5 {
            font-weight: 700;
            color: var(--yellow);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }

        .sports-caption p {
            color: rgba(255, 255, 255, 0.9);
            font-weight: 400;
            font-size: 0.95rem;
        }

        /* ============================================ */
        /* SECTION 3: ARTICLES GRID */
        /* ============================================ */
        .articles-section {
            padding: var(--section-padding);
            background: var(--navy-blue);
        }

        .articles-section .section-title {
            color: var(--white);
        }

        .articles-section .section-title:after {
            background: linear-gradient(to right, var(--yellow), var(--green));
        }

        .articles-section .section-subtitle {
            color: rgba(255, 255, 255, 0.7);
        }

        .article-card {
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
            transition: all 0.4s ease;
            height: 100%;
            position: relative;
        }

        .article-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
        }

        .article-image-wrapper {
            position: relative;
            overflow: hidden;
            height: 200px;
        }

        .article-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .article-card:hover .article-image {
            transform: scale(1.1);
        }

        .article-category {
            position: absolute;
            top: 1rem;
            left: 1rem;
            padding: 0.4rem 1.2rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            z-index: 10;
        }

        .category-academics {
            background: var(--navy-blue);
            color: var(--white);
        }

        .category-sports {
            background: var(--green);
            color: var(--white);
        }

        .category-events {
            background: var(--red);
            color: var(--white);
        }

        .category-community {
            background: var(--yellow);
            color: var(--navy-blue);
        }

        .article-body {
            padding: 1.8rem;
        }

        .article-date {
            color: var(--grey-500);
            font-size: 0.85rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.8rem;
        }

        .article-title {
            font-weight: 700;
            color: var(--navy-blue);
            font-size: 1.3rem;
            margin-bottom: 1rem;
            line-height: 1.4;
            transition: color 0.3s ease;
        }

        .article-card:hover .article-title {
            color: var(--red);
        }

        .article-excerpt {
            color: var(--grey-700);
            line-height: 1.7;
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }

        .article-link {
            color: var(--navy-blue);
            text-decoration: none;
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            border-bottom: 2px solid var(--yellow);
            padding-bottom: 3px;
        }

        .article-link:hover {
            color: var(--red);
            border-bottom-color: var(--red);
            gap: 0.8rem;
        }

        /* ============================================ */
        /* SECTION 4: FOOTER */
        /* ============================================ */
        .footer-section {
            background: linear-gradient(180deg, #0a1929 0%, #051020 100%);
            color: var(--white);
            padding: 4rem 0 2rem;
        }

        .footer-brand {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 1rem;
            color: var(--white);
        }

        .footer-brand span {
            color: var(--yellow);
        }

        .footer-description {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.8;
            margin-bottom: 1.5rem;
            font-weight: 300;
        }

        .footer-title {
            font-weight: 700;
            color: var(--white);
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
            position: relative;
            padding-bottom: 0.8rem;
        }

        .footer-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--yellow);
            border-radius: 2px;
        }

        .footer-links {
            list-style: none;
            padding: 0;
        }

        .footer-links li {
            margin-bottom: 0.8rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 400;
        }

        .footer-links a:hover {
            color: var(--yellow);
            transform: translateX(5px);
        }

        .footer-links a i {
            font-size: 0.7rem;
            color: var(--yellow);
        }

        /* Social Media Icons */
        .social-icons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .social-icon {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            text-decoration: none;
            color: var(--white);
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .social-icon:hover {
            transform: translateY(-5px);
            color: var(--white);
        }

        .social-facebook:hover {
            background: #1877f2;
            border-color: #1877f2;
            box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
        }

        .social-twitter:hover {
            background: #1da1f2;
            border-color: #1da1f2;
            box-shadow: 0 10px 30px rgba(29, 161, 242, 0.4);
        }

        .social-instagram:hover {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            border-color: #e6683c;
            box-shadow: 0 10px 30px rgba(220, 39, 67, 0.4);
        }

        .social-youtube:hover {
            background: #ff0000;
            border-color: #ff0000;
            box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
        }

        .social-linkedin:hover {
            background: #0a66c2;
            border-color: #0a66c2;
            box-shadow: 0 10px 30px rgba(10, 102, 194, 0.4);
        }

        /* Contact Info */
        .contact-info-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1.2rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .contact-icon {
            color: var(--yellow);
            font-size: 1.2rem;
            margin-top: 3px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
            margin-top: 3rem;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }

        /* ============================================ */
        /* RESPONSIVE STYLES */
        /* ============================================ */
        @media (max-width: 991.98px) {
            .hero-carousel-section {
                height: 80vh;
            }

            .hero-carousel-img {
                height: 80vh;
            }

            .hero-caption {
                bottom: 10%;
                left: 5%;
                right: 5%;
            }

            .hero-caption-content {
                padding: 1.5rem;
            }

            .about-card {
                margin-bottom: 2rem;
            }

            .sports-carousel-img {
                height: 300px;
            }

            .article-image-wrapper {
                height: 180px;
            }
        }

        @media (max-width: 767.98px) {
            .hero-carousel-section {
                height: 70vh;
                min-height: 500px;
            }

            .hero-carousel-img {
                height: 70vh;
                min-height: 500px;
            }

            .hero-caption {
                bottom: 5%;
            }

            .hero-caption-title {
                font-size: 1.8rem;
            }

            .hero-caption-text {
                font-size: 0.95rem;
            }

            .hero-caption-content {
                padding: 1.2rem;
                border-left-width: 4px;
            }

            .carousel-control-prev,
            .carousel-control-next {
                width: 40px;
                height: 40px;
                margin: 0 1rem;
            }

            .sports-carousel-img {
                height: 250px;
            }

            .about-title {
                font-size: 1.6rem;
            }

            .article-image-wrapper {
                height: 200px;
            }
        }

        @media (max-width: 575.98px) {
            .hero-carousel-section {
                height: 60vh;
                min-height: 400px;
            }

            .hero-carousel-img {
                height: 60vh;
                min-height: 400px;
            }

            .hero-caption-content {
                padding: 1rem;
            }

            .hero-btn {
                padding: 10px 25px;
                font-size: 0.9rem;
            }

            .about-card {
                padding: 1.5rem;
            }

            .section-title {
                font-size: 1.8rem;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
/* ============================================ */
/* principal */
/* ============================================ */

.features-section {
        padding: 4rem 0;
        background-color: #f8f9fa;
    }

    /* Principal Message Card */
    .message-card {
        background: #ffffff;
        border: none;
        border-radius: 1.25rem;
        box-shadow: var(--card-shadow);
        padding: 2.5rem;
        transition: var(--transition-smooth);
    }

    .section-title {
        font-weight: 800;
        letter-spacing: -0.5px;
        color: #1a202c;
        position: relative;
        padding-bottom: 1rem;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background: var(--primary-gradient);
        border-radius: 2px;
    }

    .lead-text {
        font-size: 1.1rem;
        color: #334155;
        line-height: 1.75;
    }

    /* Award Badge List */
    .award-list {
        background: #f1f5f9;
        border-left: 4px solid var(--accent-color);
        border-radius: 0.75rem;
        padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    }

    .award-item {
        margin-bottom: 0.75rem;
        color: #1e293b;
        font-weight: 500;
    }

    .award-item::marker {
        color: var(--accent-color);
    }

    /* Sidebar Dynamic Adjustments */
    .principal-profile-img {
        border-radius: 1.25rem;
        box-shadow: var(--card-shadow);
        transition: var(--transition-smooth);
        object-fit: cover;
        border: 4px solid #fff;
    }

    .principal-profile-img:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    /* Sidebar Smooth Interactive Links */
    .modern-sidebar-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #1a202c;
    }

    .modern-list-group .list-group-item {
        border: 1px solid #e2e8f0;
        margin-bottom: 0.5rem;
        border-radius: 0.75rem !important;
        font-weight: 500;
        color: #475569;
        transition: var(--transition-smooth);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .modern-list-group .list-group-item::after {
        content: '→';
        opacity: 0;
        transform: translateX(-10px);
        transition: var(--transition-smooth);
    }

    .modern-list-group .list-group-item:hover {
        background: var(--primary-gradient);
        color: #ffffff !important;
        border-color: transparent;
        transform: scale(1.02);
    }

    /* the history css */

    /* Enhanced Section Padding & Fluid Canvas Background */
    .history-section {
        padding: 6rem 0; /* Generous padding top/bottom for a modern look */
        background: radial-gradient(circle at top right, #f1f5f9 0%, #f8f9fa 100%);
        overflow: hidden;
    }

    /* Core Architectural Rendering Animation */
    .sleek-render-target {
        animation: sleekReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        opacity: 0;
        transform: translateY(30px);
    }

    @keyframes sleekReveal {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Premium Asymmetrical Content Card */
    .history-card {
        background: #ffffff;
        border: none;
        border-radius: 1.5rem;
        box-shadow: var(--card-shadow);
        padding: 3.5rem; /* Spacious internal card padding */
        position: relative;
    }

    .section-title {
        font-size: 2.25rem;
        font-weight: 800;
        letter-spacing: -0.03em;
        color: var(--text-dark);
        position: relative;
        padding-bottom: 1.25rem;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 75px;
        height: 4px;
        background: var(--primary-gradient);
        border-radius: 99px;
    }

    .lead-text {
        font-size: 1.15rem;
        color: #334155;
        line-height: 1.8;
        font-weight: 500;
    }

    .body-text {
        color: var(--text-secondary);
        line-height: 1.75;
        font-size: 1rem;
    }

    /* Dashboard Data Matrix Minimalist Redesign */
    .stats-dashboard {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 1rem;
        padding: 2rem;
    }

    .stat-badge {
        background: #ffffff;
        border: 1px solid #f1f5f9;
        border-radius: 0.75rem;
        padding: 1.25rem;
        transition: var(--transition-smooth);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    }

    .stat-badge:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        border-color: #cbd5e1;
    }

    /* Premium Media Silhouette Wrapper */
    .media-silhouette {
        position: sticky;
        top: 3rem;
        z-index: 10;
    }

    .history-media-img {
        border-radius: 1.5rem;
        box-shadow: var(--card-shadow);
        transition: var(--transition-smooth);
        object-fit: cover;
        border: 6px solid #ffffff;
    }

    .history-media-img:hover {
        transform: scale(1.015) rotate(0.5deg);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    }

    .sidebar-heading {
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--text-dark);
        letter-spacing: -0.01em;
    }

    /* Clean structural break queries for true fluid handling */
    @media (max-width: 991.98px) {
        .history-section {
            padding: 4rem 0;
        }
        .history-card {
            padding: 2rem;
        }
        .media-silhouette {
            position: relative;
            top: 0;
            margin-top: 2rem;
        }
    }
/* ==========================================================================
   TEAM LAYOUT INTERACTIVE COMPONENTS
   ========================================================================== */

/* 1. Custom Smooth Accordion Container Overrides */
.custom-team-accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    overflow: hidden;
}

.custom-team-accordion .accordion-item {
    border: 1px solid var(--grey-200);
    background-color: var(--white);
    border-radius: 0.75rem !important;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.custom-team-accordion .accordion-button {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy-blue);
    padding: 1.25rem 1.5rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.custom-team-accordion .accordion-button:not(.collapsed) {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: none;
}

.custom-team-accordion .accordion-button::after {
    transition: var(--transition-smooth);
}

.custom-team-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1); /* Turns arrow white when active */
}

/* 2. Sleek Team Card Module */
.team-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(10, 25, 41, 0.08);
    border-color: rgba(13, 110, 253, 0.15);
}

/* 3. Circular Bounding Image Frame */
.team-img-frame {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
    background-color: var(--grey-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card:hover .team-img-frame {
    transform: scale(1.04);
    border-color: var(--yellow);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25);
}

.team-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* 4. Interior Typography Blocks */
.team-body {
    padding-top: 0.25rem;
}

.team-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.team-role {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.4;
    text-transform: capitalize;
}

/* Css for the board memmbers */
.accordion-button::after {
  filter: invert(1) grayscale(1) brightness(2); /* Makes the chevron indicator white */
}

.accordion-button:not(.collapsed) {
  background-color: #dc3545 !important; /* Retains danger background when open */
  color: #fff !important;
  box-shadow: none;
}

/* Square Image Wrapper styling */
.square-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Forces perfectly square dimension regardless of raw file shape */
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1); /* Fallback background tint */
  border: 4px solid transparent; /* Initial seamless frame anchor */
  transition: border-color 0.3s ease, transform 0.3s ease;
}

/* Image scaling properties */
.square-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops gracefully if your raw images aren't perfectly square */
  object-position: center;
}

/* Dynamic Hover Effects */
.member-card:hover .square-img-container {
  border-color: #dc3545; /* Square frame changes to Bootstrap Danger red on hover */
  transform: scale(1.02); /* Slight push effect for visual depth */
}

/* Table structure refinement */
.table-responsive {
  border-bottom-left-radius: var(--bs-accordion-inner-border-radius);
  border-bottom-right-radius: var(--bs-accordion-inner-border-radius);
  overflow: hidden;
}

/* Purpose csss*/

/* Custom Features Layout Styling */
.feature-box {
  background-color: var(--bs-body-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Tracking utility for clean headers */
.tracking-wide {
  letter-spacing: 0.08em;
}

/* Dynamic Interactive Hover State */
.feature-box:hover {
  transform: translateY(-5px); /* Smoothly raises the card up slightly */
  box-shadow: 0 0.5rem 1.5rem rgba(var(--bs-info-rgb), 0.15) !important; /* Emits a soft tinted shadow matching the info border */
  background-color: rgba(var(--bs-info-rgb), 0.02); /* Very faint background tint on focus */
}

/* Small container layout for modern structural symmetry */
.feature-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: rgba(var(--bs-info-rgb), 0.1);
}
/* curriculum css code */
/* curriculum css code */
/* Custom Section Background */
.curriculum-section {
    background-color: #f8f9fa; /* Soft contrast behind the white accordion */
}

/* Accordion Container & Transitions */
.custom-accordion .accordion-item {
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-accordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important;
}

/* Accordion Buttons / Headers */
.custom-accordion .accordion-button {
    font-size: 1.15rem;
    color: #2c3e50;
    background-color: #ffffff;
    box-shadow: none;
    padding: 1.25rem 1.5rem;
}

/* Active State for Accordion Button */
.custom-accordion .accordion-button:not(.collapsed) {
    color: #0d6efd; 
    background-color: #e7f1ff; 
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.custom-accordion .accordion-body {
    padding: 1.5rem 2rem;
    line-height: 1.7;
}

/* Table Enhancements */
.custom-table th {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 1rem;
}

/* Modern List Group Styling */
.custom-table .list-group-item {
    margin-bottom: 0.35rem;
    border-radius: 0.375rem !important; 
    font-size: 0.95rem;
    color: #495057;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
}

/* List Hover Effects */
.custom-table .list-group-item:hover {
    background-color: #f1f3f5;
    color: #0d6efd;
    transform: translateX(4px);
}

/* Adjust Number Formatting in Ordered Lists */
.custom-table .list-group-numbered .list-group-item::before {
    font-weight: 600;
    color: #adb5bd;
}
/* Extra css code */

/* Base Section Styles */
.activities-section {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

/* Section Title Highlight Hook */
.section-heading {
    color: #1a202c;
    letter-spacing: -0.02em;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--bs-primary);
    border-radius: 2px;
}

/* Activity Description Improvements */
.activity-text {
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Card Transitions & Smooth Hover Effects */
.img-hover-wrapper {
    overflow: hidden;
    border-radius: var(--bs-border-radius-xl) !important;
}

.img-hover-wrapper img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 420px; /* Forces uniform control over structural photo sizing */
}

.img-hover-wrapper:hover img {
    transform: scale(1.02);
}

/* Sidebar Custom Mechanics */
.sidebar-sticky {
    position: sticky;
    top: 2rem !important;
}

.tracking-wider {
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

/* Interactive List Group Styling */
.custom-list-group .list-group-item {
    background: transparent;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s ease-in-out;
}

.custom-list-group .list-group-item:hover {
    color: var(--bs-primary);
    padding-left: 8px !important;
}

/* Icons configuration placeholder (In case Bootstrap Icons are omitted) */
.custom-list-group .list-group-item i {
    transition: transform 0.2s ease;
}

.custom-list-group .list-group-item:hover i {
    transform: translateX(4px);
    color: var(--bs-primary) !important;
}

/* sports */
/* sports */
/* sports*/
.sports-section {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

/* Section Title Highlight Hook */
.section-heading {
    color: #1a202c;
    letter-spacing: -0.02em;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--bs-primary);
    border-radius: 2px;
}

/* Activity Description Improvements */
.activity-text {
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Card Transitions & Smooth Hover Effects */
.img-hover-wrapper {
    overflow: hidden;
    border-radius: var(--bs-border-radius-xl) !important;
}

.img-hover-wrapper img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 420px; 
}

.img-hover-wrapper:hover img {
    transform: scale(1.02);
}

/* Sidebar Custom Mechanics */
.sidebar-sticky {
    position: sticky;
    top: 2rem !important;
}

.tracking-wider {
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

/* Interactive List Group Styling */
.custom-list-group .list-group-item {
    background: transparent;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s ease-in-out;
}

.custom-list-group .list-group-item:hover {
    color: var(--bs-primary);
    padding-left: 8px !important;
}

.custom-list-group .list-group-item i {
    transition: transform 0.2s ease;
}

.custom-list-group .list-group-item:hover i {
    transform: translateX(4px);
    color: var(--bs-primary) !important;
}
/* Purpose: Custom styling for the Student Captains Accordion section to improve aesthetics, spacing, and interactivity.
   Identifier: CSS-CAPTAINS-01 */

.captains-section {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Section Title Highlight Hook */
.section-title {
    color: #1a202c;
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--bs-primary);
    border-radius: 2px;
}

/* Accordion Custom Overrides */
.custom-accordion {
    border-radius: var(--bs-border-radius-xl);
    background-color: transparent;
}

.custom-accordion .accordion-item {
    background-color: #ffffff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-accordion .accordion-item:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.custom-accordion .accordion-button {
    background-color: #ffffff;
    color: #2d3748;
    padding: 1.25rem 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #f8f9fa; /* Soft background when active */
    color: var(--bs-primary);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* Card Enhancements inside Accordion */
.custom-accordion .card {
    transition: transform 0.3s ease;
    max-width: 320px; /* Replaces the hardcoded inline style to maintain responsive integrity */
}

.custom-accordion .card:hover {
    transform: translateY(-5px);
}

.custom-accordion .card-img-top {
    background-color: #f1f5f9; /* Fallback background for transparent PNGs */
}
/* Purpose: Custom styling for the Mathematics and Sciences department section to improve aesthetics, table legibility, and layout structure. 
   Identifier: CSS-DEPT-MATHSCI-01 */

.department-section {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

/* Section Title Highlight Hook */
.section-heading {
    color: #1a202c;
    letter-spacing: -0.02em;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--bs-primary);
    border-radius: 2px;
}

/* Table Enhancements */
.staff-directory table tbody tr {
    transition: background-color 0.2s ease;
}

.staff-directory table tbody tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.04) !important;
}

/* Vision/Quote Block Styling */
.department-vision {
    position: relative;
    overflow: hidden;
}

.department-vision::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    color: rgba(var(--bs-primary-rgb), 0.05);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.department-vision p, 
.department-vision div {
    position: relative;
    z-index: 1;
}

/* Sidebar Custom Mechanics */
.sidebar-sticky {
    position: sticky;
    top: 2rem !important;
}

.tracking-wider {
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

/* Interactive List Group Styling */
.custom-list-group .list-group-item {
    background: transparent;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s ease-in-out;
}

.custom-list-group .list-group-item:hover {
    color: var(--bs-primary);
    padding-left: 8px !important;
}

.custom-list-group .list-group-item i {
    transition: transform 0.2s ease;
}

.custom-list-group .list-group-item:hover i {
    transform: translateX(4px);
    color: var(--bs-primary) !important;
}

/* Purpose: Custom styling for the Computer Science & IT department section, standardizing layout components and interactive sidebars. 
   Identifier: CSS-DEPT-CS-01 */

.department-section {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

/* Section Title Highlight Hook */
.section-heading {
    color: #1a202c;
    letter-spacing: -0.02em;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--bs-primary);
    border-radius: 2px;
}

/* Quote/Leadership Block Styling */
.department-vision {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.department-vision:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

/* Sidebar Custom Mechanics */
.sidebar-sticky {
    position: sticky;
    top: 2rem !important;
}

.tracking-wider {
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

/* Interactive List Group Styling */
.custom-list-group .list-group-item {
    background: transparent;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s ease-in-out;
}

.custom-list-group .list-group-item:hover {
    color: var(--bs-primary);
    padding-left: 8px !important;
}

.custom-list-group .list-group-item i {
    transition: transform 0.2s ease;
}

.custom-list-group .list-group-item:hover i {
    transform: translateX(4px);
    color: var(--bs-primary) !important;
}
/* * Purpose: Custom styling for the Humanities department section implementing the strict brand color 
 * palette (Navy, Green, Red, Yellow) and modern UI/UX micro-interactions.
 * Identifier: CSS-DEPT-HUMANITIES-01 
 */

/* Brand Color Variables */
:root {
    --brand-navy: #0B214A;    /* Primary */
    --brand-red: #D32F2F;     /* Accent 1 */
    --brand-green: #2E7D32;   /* Accent 2 */
    --brand-yellow: #FBC02D;  /* Accent 3 */
}

/* Base Typography & Section Styles */
.department-section {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

/* Custom Color Utilities */
.text-navy { color: var(--brand-navy) !important; }
.bg-navy { background-color: var(--brand-navy) !important; }
.border-brand-red { border-color: var(--brand-red) !important; }
.bg-brand-green { background-color: var(--brand-green) !important; color: white; }
.bg-brand-yellow { background-color: var(--brand-yellow) !important; }
.bg-brand-red { background-color: var(--brand-red) !important; }

/* Section Title Highlight Hook */
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--brand-red); /* Using red accent for structural pop */
    border-radius: 2px;
}

/* Table Enhancements */
.staff-directory table tbody tr {
    transition: background-color 0.2s ease;
}

.staff-directory table tbody tr:hover {
    background-color: rgba(11, 33, 74, 0.04) !important; /* Subtle navy tint on hover */
}

/* Card Image Hover Effects */
.image-card-hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.image-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(11, 33, 74, 0.15) !important; /* Navy-tinted shadow */
}

.image-card-hover img {
    transition: transform 0.5s ease;
}

.image-card-hover:hover img {
    transform: scale(1.03);
}

/* HOD Vision Block Micro-interaction */
.department-vision {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.department-vision:hover {
    background-color: #f8f9fa !important;
    transform: translateX(4px);
}

/* Sidebar Custom Mechanics */
.sidebar-sticky {
    position: sticky;
    top: 2rem !important;
}

.tracking-wider {
    letter-spacing: 0.08em;
}

/* Interactive List Group Styling */
.custom-list-group .list-group-item {
    background: transparent;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.custom-list-group .list-group-item:hover {
    color: var(--brand-navy) !important;
    padding-left: 8px !important;
    background-color: transparent;
}

.custom-list-group .list-group-item i {
    transition: transform 0.2s ease, color 0.2s ease;
}

.custom-list-group .list-group-item:hover i {
    transform: translateX(4px);
    color: var(--brand-red); /* Accent chevron on hover */
}
/* * Purpose: Custom styling for the Languages department section implementing the strict brand color 
 * palette (Navy, Green, Red, Yellow) and modern UI/UX micro-interactions.
 * Identifier: CSS-DEPT-LANGUAGES-01 
 */

/* Brand Color Variables */
:root {
    --brand-navy: #0B214A;    /* Primary */
    --brand-red: #D32F2F;     /* Accent 1 */
    --brand-green: #2E7D32;   /* Accent 2 */
    --brand-yellow: #FBC02D;  /* Accent 3 */
}

/* Base Typography & Section Styles */
.department-section {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

/* Custom Color Utilities */
.text-navy { color: var(--brand-navy) !important; }
.bg-navy { background-color: var(--brand-navy) !important; }
.border-brand-yellow { border-color: var(--brand-yellow) !important; }
.bg-brand-green { background-color: var(--brand-green) !important; color: white; }
.bg-brand-yellow { background-color: var(--brand-yellow) !important; }
.bg-brand-red { background-color: var(--brand-red) !important; }

/* Section Title Highlight Hook */
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--brand-yellow); /* Using yellow accent for structural pop */
    border-radius: 2px;
}

/* Table Enhancements */
.staff-directory table tbody tr {
    transition: background-color 0.2s ease;
}

.staff-directory table tbody tr:hover {
    background-color: rgba(11, 33, 74, 0.04) !important; /* Subtle navy tint on hover */
}

/* Card Image Hover Effects */
.image-card-hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.image-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(11, 33, 74, 0.15) !important; /* Navy-tinted shadow */
}

.image-card-hover img {
    transition: transform 0.5s ease;
}

.image-card-hover:hover img {
    transform: scale(1.03);
}

/* HOD Vision Block Micro-interaction */
.department-vision {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.department-vision:hover {
    background-color: #f8f9fa !important;
    transform: translateX(4px);
}

/* Sidebar Custom Mechanics */
.sidebar-sticky {
    position: sticky;
    top: 2rem !important;
}

.tracking-wider {
    letter-spacing: 0.08em;
}

/* Interactive List Group Styling */
.custom-list-group .list-group-item {
    background: transparent;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.custom-list-group .list-group-item:hover {
    color: var(--brand-navy) !important;
    padding-left: 8px !important;
    background-color: transparent;
}

.custom-list-group .list-group-item i {
    transition: transform 0.2s ease, color 0.2s ease;
}

.custom-list-group .list-group-item:hover i {
    transform: translateX(4px);
    color: var(--brand-red); /* Accent chevron on hover */
}
/* * Purpose: Custom styling for the Internal Examinations department section. 
 * Implements strict brand palette (Navy, Red, Green, Yellow) and ensures 
 * consistency with other department sections.
 * Identifier: CSS-DEPT-EXAMS-01 
 */

/* Brand Color Variables */
:root {
    --brand-navy: #0B214A;    /* Primary */
    --brand-red: #D32F2F;     /* Accent 1 */
    --brand-green: #2E7D32;   /* Accent 2 */
    --brand-yellow: #FBC02D;  /* Accent 3 */
}

/* Base Styles */
.department-section {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

/* Custom Color Utilities */
.text-navy { color: var(--brand-navy) !important; }
.bg-navy { background-color: var(--brand-navy) !important; }
.bg-brand-green { background-color: var(--brand-green) !important; color: white; }
.bg-brand-yellow { background-color: var(--brand-yellow) !important; }
.bg-brand-red { background-color: var(--brand-red) !important; }
.border-brand-green { border-color: var(--brand-green) !important; }

/* Section Title Highlight */
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--brand-green); /* Using green for administrative accuracy */
    border-radius: 2px;
}

/* Sidebar Hover Effects */
.image-card-hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.image-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(11, 33, 74, 0.15) !important;
}

.image-card-hover img {
    transition: transform 0.5s ease;
}

.image-card-hover:hover img {
    transform: scale(1.03);
}

/* Navigation Group Customization */
.custom-list-group .list-group-item {
    background: transparent;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.custom-list-group .list-group-item:hover {
    color: var(--brand-navy) !important;
    padding-left: 8px !important;
    background-color: transparent;
}

.custom-list-group .list-group-item i {
    transition: transform 0.2s ease, color 0.2s ease;
}

.custom-list-group .list-group-item:hover i {
    transform: translateX(4px);
    color: var(--brand-red);
}

/* * Purpose: Custom styling for the Sports & Games department section.
 * Implements strict brand palette (Navy, Red, Green, Yellow) and responsive card layouts for the sports calendar.
 * Identifier: CSS-DEPT-SPORTS-01 
 */

/* Brand Color Variables */
:root {
    --brand-navy: #0B214A;    /* Primary */
    --brand-red: #D32F2F;     /* Accent 1 */
    --brand-green: #2E7D32;   /* Accent 2 */
    --brand-yellow: #FBC02D;  /* Accent 3 */
}

/* Base Styles */
.department-section {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

/* Custom Color Utilities */
.text-navy { color: var(--brand-navy) !important; }
.bg-brand-green { background-color: var(--brand-green) !important; }
.bg-brand-yellow { background-color: var(--brand-yellow) !important; }
.bg-brand-red { background-color: var(--brand-red) !important; }
.border-brand-green { border-color: var(--brand-green) !important; }
.border-brand-yellow { border-color: var(--brand-yellow) !important; }
.border-brand-red { border-color: var(--brand-red) !important; }

/* Section Title Highlight */
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--brand-red); /* Using red for sports energy */
    border-radius: 2px;
}

/* Card Hover Effects */
.image-card-hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.image-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(11, 33, 74, 0.15) !important;
}

/* Sidebar Nav */
.custom-list-group .list-group-item:hover {
    color: var(--brand-navy) !important;
    padding-left: 8px !important;
}

.custom-list-group .list-group-item:hover i {
    transform: translateX(4px);
    color: var(--brand-red);
}

/* * Purpose: Provides modern UI styling for the Features component. 
 * Implements the brand color palette (Navy, Red, Green, Yellow) and smooth micro-interactions.
 * Identifier: CSS-FEATURES-SECTION-01 
 */

:root {
    --brand-navy: #0B214A;
    --brand-red: #D32F2F;
    --brand-green: #2E7D32;
    --brand-yellow: #FBC02D;
}

/* Color Utilities */
.text-navy { color: var(--brand-navy) !important; }
.bg-navy { background-color: var(--brand-navy) !important; }
.text-brand-red { color: var(--brand-red) !important; }
.bg-brand-green { background-color: var(--brand-green) !important; }
.bg-brand-yellow { background-color: var(--brand-yellow) !important; }

/* Micro-interactions */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(11, 33, 74, 0.15) !important;
}

/* Typography & Layout Polish */
#features-overview h2, #custom-cards h2 {
    letter-spacing: -0.02em;
}

.feature .card {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* Consistent Icon Sizing */
.feature-icon {
    transition: transform 0.3s ease;
}

.hover-lift:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
}
/* * Purpose: Styling for the CIE Awards Table section.
 * Implements a clean, high-contrast table design using Navy primary headers 
 * and subtle hover effects for better data navigation.
 * Identifier: CSS-SECTION-AWARDS-01 
 */

:root {
    --brand-navy: #0B214A;
    --brand-red: #D32F2F;
    --brand-yellow: #FBC02D;
}

/* Custom Table Styles */
.table-navy {
    background-color: var(--brand-navy) !important;
}

.table-navy th {
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05rem;
}

.table-hover > tbody > tr:hover {
    background-color: #f1f3f7 !important;
    cursor: default;
}

/* Section Title Highlight */
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--brand-yellow);
    border-radius: 2px;
}

/* Sidebar Elements */
.image-card-hover {
    transition: transform 0.3s ease;
}

.image-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(11, 33, 74, 0.15) !important;
}

.custom-list-group .list-group-item {
    background: transparent;
    transition: all 0.2s ease;
    border-color: #eee;
}

.custom-list-group .list-group-item:hover {
    color: var(--brand-navy);
    padding-left: 8px !important;
}
/* Identifier: CSS-EVENTS-GALLERY-01 
 * Purpose: Styling for event gallery sections.
 * Features: Soft rounded corners, subtle shadows, image zoom-on-hover interaction,
 * and high-contrast typography using the Navy brand color.
 */

:root {
    --navy-blue: #0B214A;
    --brand-red: #D32F2F;
    --brand-green: #388E3C;
    --brand-yellow: #FBC02D;
}

.text-navy {
    color: var(--navy-blue);
}

.gallery-grid {
    cursor: pointer;
}

/* Image Hover Interaction */
.gallery-img {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    filter: brightness(0.9);
}

.gallery-grid:hover .gallery-img {
    transform: scale(1.02);
    filter: brightness(1);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

/* Modal Styling */
.modal-content {
    overflow: hidden;
}

.carousel-control-prev-icon, 
.carousel-control-next-icon {
    padding: 1.5rem;
}

/* Responsive spacing for mobile vs desktop */
@media (max-width: 768px) {
    .school-events {
        padding: 2rem 0 !important;
    }
}
/* Identifier: CSS-CONTACT-SECTION-01 
 * Purpose: Styling for the contact form and sidebar widgets.
 * Features: Navy primary theme, soft shadows, card-based layout, and 
 * hidden spam-trap protection logic.
 */

/* Identifier: CSS-CONTACT-SECTION-02
 * Purpose: Styling for the contact section, removing all unnecessary underlines.
 */

:root {
    --brand-navy: #0B214A;
}

/* Force links to have no underline */
.list-group-item-action {
    text-decoration: none !important;
}

.btn-navy {
    background-color: var(--brand-navy);
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background-color: #1a366b;
    color: #ffffff;
}

/* Hidden Spam Trap */
.ohnohoney-container {
    display: none;
    visibility: hidden;
    position: absolute;
    z-index: -1;
}

.text-navy { color: var(--brand-navy); }

/* * Purpose: Styling and micro-interactions for the Junior School section and sidebar layout.
 * Identifier: CSS-JUNIOR-SCHOOL-01 
 */

:root {
    /* Strict Brand Palette */
    --brand-navy: #0A1E3F;
    --brand-red: #D32F2F;
    --brand-yellow: #FBC02D;
    --brand-green: #2E7D32;
    --text-dark: #333333;
    --text-muted: #6C757D;
}

/* Color Utilities */
.text-navy {
    color: var(--brand-navy) !important;
}
.bg-brand-red {
    background-color: var(--brand-red) !important;
}
.bg-brand-yellow {
    background-color: var(--brand-yellow) !important;
}
.bg-brand-green {
    background-color: var(--brand-green) !important;
}

/* Section Heading Underline */
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--brand-yellow);
    border-radius: 2px;
}

/* Image Card Hover Micro-interaction */
.image-card-hover {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}
.image-card-hover img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.image-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(10, 30, 63, 0.1) !important; /* Navy shadow */
}
.image-card-hover:hover img {
    transform: scale(1.05);
}

/* Sidebar List Group Interactions */
.custom-list-group .list-group-item {
    background-color: transparent;
    transition: all 0.3s ease;
}
.custom-list-group .list-group-item:hover {
    background-color: transparent;
    padding-left: 0.5rem !important; /* Slight indent on hover */
}
.custom-list-group .list-group-item:hover span {
    color: var(--brand-navy) !important;
}
.custom-list-group .list-group-item:hover .transition-icon {
    transform: translateX(4px);
    color: var(--brand-red) !important;
}

/* Sticky Sidebar Support for taller viewports */
@media (min-width: 992px) {
    .sidebar-sticky {
        position: sticky;
        top: 2rem;
    }
}

/* * Purpose: Styling and micro-interactions for the Senior School section and sidebar layout.
 * Identifier: CSS-SENIOR-SCHOOL-01 
 */

:root {
    /* Strict Brand Palette */
    --brand-navy: #0A1E3F;
    --brand-red: #D32F2F;
    --brand-yellow: #FBC02D;
    --brand-green: #2E7D32;
    --text-dark: #333333;
    --text-muted: #6C757D;
}

/* Color Utilities */
.text-navy {
    color: var(--brand-navy) !important;
}
.text-brand-red {
    color: var(--brand-red) !important;
}
.bg-brand-red {
    background-color: var(--brand-red) !important;
}
.bg-brand-yellow {
    background-color: var(--brand-yellow) !important;
}
.bg-brand-green {
    background-color: var(--brand-green) !important;
}

/* Section Heading Underline */
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--brand-red); /* Using red accent for Senior section differentiation */
    border-radius: 2px;
}

/* Image Card Hover Micro-interaction */
.image-card-hover {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}
.image-card-hover img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.image-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(10, 30, 63, 0.1) !important; /* Soft Navy shadow */
}
.image-card-hover:hover img {
    transform: scale(1.05);
}

/* Sidebar List Group Interactions */
.custom-list-group .list-group-item {
    background-color: transparent;
    transition: all 0.3s ease;
    border-color: rgba(0,0,0,0.05) !important;
}
.custom-list-group .list-group-item:hover {
    background-color: transparent;
    padding-left: 0.5rem !important; /* Slight indent on hover */
}
.custom-list-group .list-group-item:hover span {
    color: var(--brand-navy) !important;
}
.custom-list-group .list-group-item:hover .transition-icon {
    transform: translateX(4px);
    color: var(--brand-yellow) !important;
}

/* Active Link Specific Overrides */
.custom-list-group .active-link {
    border-left: 3px solid var(--brand-navy);
    padding-left: 1rem !important;
    background-color: rgba(10, 30, 63, 0.02);
}

/* Sticky Sidebar Support for taller viewports */
@media (min-width: 992px) {
    .sidebar-sticky {
        position: sticky;
        top: 2rem;
    }
}