   /* --- CSS Variables & Theme Setup --- */
        :root {
            --primary-navy: #0f172a;
            --secondary-blue: #1e3a8a;
            --accent-gold: #f59e0b;
            --accent-gold-hover: #d97706;
            --accent-emerald: #10b981;
            --accent-coral: #f43f5e;
            --bg-light: #f8fafc;
            --bg-white: #ffffff;
            --text-dark: #1e293b;
            --text-muted: #64748b;
            --border-light: #e2e8f0;
            --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
            --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.15);
            --radius-md: 12px;
            --radius-lg: 20px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* --- Global Reset & Base Typography --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
            color: var(--text-dark);
            background-color: var(--bg-light);
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-padding {
            padding: 5.5rem 0;
        }

        /* --- Reusable Typography & Badges --- */
        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 3.5rem auto;
        }

        .badge {
            display: inline-block;
            padding: 0.4rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            margin-bottom: 0.8rem;
        }

        .badge-gold {
            background-color: rgba(245, 158, 11, 0.15);
            color: #b45309;
        }

        .badge-emerald {
            background-color: rgba(16, 185, 129, 0.15);
            color: #047857;
        }

        .badge-blue {
            background-color: rgba(30, 58, 138, 0.12);
            color: var(--secondary-blue);
        }

        .section-title {
            font-size: 2.3rem;
            font-weight: 800;
            color: var(--primary-navy);
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            color: var(--text-muted);
            font-size: 1.05rem;
        }

        /* --- Buttons --- */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.85rem 1.8rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent-gold), #fb923c);
            color: var(--primary-navy);
            box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(245, 158, 11, 0.4);
        }

        .btn-outline {
            background: rgba(255, 255, 255, 0.12);
            color: var(--bg-white);
            border: 1.5px solid rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(6px);
        }

        .btn-outline:hover {
            background: var(--bg-white);
            color: var(--primary-navy);
        }

        .btn-navy {
            background-color: var(--primary-navy);
            color: var(--bg-white);
        }

        .btn-navy:hover {
            background-color: var(--secondary-blue);
            transform: translateY(-2px);
        }

        /* --- Top Announcement Bar --- */
        .top-bar {
            background-color: var(--primary-navy);
            color: #cbd5e1;
            font-size: 0.85rem;
            padding: 0.55rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .top-bar-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .top-bar-highlight {
            color: var(--accent-gold);
            font-weight: 600;
        }

        /* --- Header & Navigation --- */
        .navbar {
            background-color: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow-sm);
            padding: 0.9rem 0;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .brand-crest {
            width: 46px;
            height: 46px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--secondary-blue), var(--accent-emerald));
            color: var(--bg-white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 1.25rem;
            box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
        }

        .brand-text h1 {
            font-size: 1.15rem;
            font-weight: 800;
            color: var(--primary-navy);
            line-height: 1.1;
        }

        .brand-text span {
            font-size: 0.78rem;
            color: var(--accent-emerald);
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 1.8rem;
        }

        .nav-links a {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-dark);
            position: relative;
            padding: 0.3rem 0;
            transition: var(--transition);
        }

        .nav-links a:not(.btn)::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 2.5px;
            background: linear-gradient(90deg, var(--accent-gold), var(--accent-emerald));
            transition: var(--transition);
            border-radius: 2px;
        }

        .nav-links a:not(.btn):hover {
            color: var(--secondary-blue);
        }

        .nav-links a:not(.btn):hover::after {
            width: 100%;
        }

        .nav-portal-btn {
            padding: 0.6rem 1.3rem;
            font-size: 0.88rem;
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.7rem;
            color: var(--primary-navy);
            cursor: pointer;
        }

        /* --- Hero Section --- */
        .hero {
            position: relative;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 58, 138, 0.85)),
                        url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
            color: var(--bg-white);
            padding: 6.5rem 0 7.5rem 0;
            overflow: hidden;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 3rem;
            align-items: center;
        }

        .hero-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 0.45rem 1.1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--accent-gold);
            margin-bottom: 1.5rem;
        }

        .hero-title {
            font-size: 3.3rem;
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 1.3rem;
        }

        .hero-title span {
            background: linear-gradient(90deg, var(--accent-gold), #34d399);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-desc {
            font-size: 1.12rem;
            color: #e2e8f0;
            margin-bottom: 2.2rem;
            max-width: 580px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .hero-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(14px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: var(--radius-lg);
            padding: 2.2rem;
            box-shadow: var(--shadow-lg);
        }

        .hero-card h3 {
            font-size: 1.3rem;
            margin-bottom: 1.2rem;
            color: var(--accent-gold);
        }

        .hero-highlights li {
            display: flex;
            align-items: flex-start;
            gap: 0.8rem;
            margin-bottom: 1rem;
            font-size: 0.95rem;
            color: #f1f5f9;
        }

        .check-icon {
            background: var(--accent-emerald);
            color: var(--bg-white);
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            flex-shrink: 0;
            margin-top: 2px;
        }

        /* --- Floating Stats Strip --- */
        .stats-wrapper {
            margin-top: -3.5rem;
            position: relative;
            z-index: 10;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

        .stat-box {
            background: var(--bg-white);
            padding: 1.8rem 1.5rem;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-md);
            text-align: center;
            border-bottom: 4px solid var(--secondary-blue);
            transition: var(--transition);
        }

        .stat-box:nth-child(2) { border-bottom-color: var(--accent-emerald); }
        .stat-box:nth-child(3) { border-bottom-color: var(--accent-gold); }
        .stat-box:nth-child(4) { border-bottom-color: var(--accent-coral); }

        .stat-box:hover {
            transform: translateY(-5px);
        }

        .stat-number {
            font-size: 2.1rem;
            font-weight: 800;
            color: var(--primary-navy);
            display: block;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 600;
        }

        /* --- About Section --- */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-image-wrap {
            position: relative;
        }

        .about-main-img {
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            height: 440px;
            width: 100%;
            object-fit: cover;
        }

        .about-floating-badge {
            position: absolute;
            bottom: -20px;
            right: -20px;
            background: linear-gradient(135deg, var(--secondary-blue), var(--primary-navy));
            color: var(--bg-white);
            padding: 1.4rem 1.8rem;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-lg);
            max-width: 240px;
        }

        .about-floating-badge strong {
            display: block;
            font-size: 1.4rem;
            color: var(--accent-gold);
        }

        .about-content p {
            color: var(--text-muted);
            margin-bottom: 1.2rem;
            font-size: 1.02rem;
        }

        .pillars-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-top: 1.8rem;
        }

        .pillar-item {
            background: var(--bg-white);
            padding: 1.1rem;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
        }

        .pillar-item h4 {
            color: var(--primary-navy);
            font-size: 1rem;
            margin-bottom: 0.3rem;
        }

        .pillar-item p {
            font-size: 0.86rem;
            margin-bottom: 0;
        }

        /* --- Academics Section --- */
        .academics-section {
            background-color: var(--bg-white);
        }

        .cards-grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .academic-card {
            background: var(--bg-light);
            border-radius: var(--radius-lg);
            padding: 2.2rem;
            border: 1px solid var(--border-light);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .academic-card:hover {
            transform: translateY(-6px);
            background: var(--bg-white);
            box-shadow: var(--shadow-lg);
        }

        .card-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            margin-bottom: 1.4rem;
            color: var(--bg-white);
        }

        .icon-blue { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
        .icon-emerald { background: linear-gradient(135deg, #10b981, #047857); }
        .icon-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }

        .academic-card h3 {
            font-size: 1.3rem;
            color: var(--primary-navy);
            margin-bottom: 0.8rem;
        }

        .academic-card p {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-bottom: 1.2rem;
        }

        .subject-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .subject-tags span {
            background: var(--bg-white);
            border: 1px solid var(--border-light);
            padding: 0.25rem 0.7rem;
            border-radius: 50px;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--text-dark);
        }

        /* --- Admissions Banner --- */
        .admissions-banner {
            background: linear-gradient(135deg, var(--secondary-blue), var(--primary-navy));
            border-radius: var(--radius-lg);
            padding: 3.5rem;
            color: var(--bg-white);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
            flex-wrap: wrap;
            box-shadow: var(--shadow-lg);
        }

        .admissions-text {
            max-width: 620px;
        }

        .admissions-text h2 {
            font-size: 2rem;
            margin-bottom: 0.8rem;
        }

        .admissions-text p {
            color: #cbd5e1;
            font-size: 1.02rem;
        }

        /* --- Gallery Section --- */
        .gallery-filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-bottom: 2.5rem;
        }

        .filter-btn {
            padding: 0.55rem 1.3rem;
            border-radius: 50px;
            border: 1px solid var(--border-light);
            background: var(--bg-white);
            color: var(--text-dark);
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: var(--primary-navy);
            color: var(--bg-white);
            border-color: var(--primary-navy);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        .gallery-item {
            position: relative;
            border-radius: var(--radius-md);
            overflow: hidden;
            height: 260px;
            box-shadow: var(--shadow-md);
            group: gallery;
        }

        .gallery-item.hidden {
            display: none;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.08);
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.88), transparent 60%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.4rem;
            color: var(--bg-white);
        }

        .gallery-overlay span {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--accent-gold);
            font-weight: 700;
        }

        .gallery-overlay h4 {
            font-size: 1.05rem;
            margin-top: 0.2rem;
        }

        /* --- Contact Section --- */
        .contact-section {
            background-color: var(--bg-white);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1.3fr;
            gap: 3rem;
        }

        .contact-info-card {
            background: linear-gradient(160deg, var(--primary-navy), var(--secondary-blue));
            color: var(--bg-white);
            padding: 2.5rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
        }

        .contact-info-card h3 {
            font-size: 1.6rem;
            margin-bottom: 0.8rem;
        }

        .contact-info-card > p {
            color: #cbd5e1;
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }

        .info-list li {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .info-badge {
            width: 42px;
            height: 42px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: var(--accent-gold);
            flex-shrink: 0;
        }

        .info-list strong {
            display: block;
            font-size: 0.95rem;
            color: var(--bg-white);
        }

        .info-list span {
            font-size: 0.88rem;
            color: #cbd5e1;
        }

        .contact-form-box {
            background: var(--bg-light);
            padding: 2.5rem;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.2rem;
            margin-bottom: 1.2rem;
        }

        .form-group {
            margin-bottom: 1.2rem;
        }

        .form-group label {
            display: block;
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--primary-navy);
            margin-bottom: 0.4rem;
        }

        .form-control {
            width: 100%;
            padding: 0.8rem 1rem;
            border-radius: 10px;
            border: 1px solid #cbd5e1;
            background: var(--bg-white);
            font-family: inherit;
            font-size: 0.95rem;
            color: var(--text-dark);
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--secondary-blue);
            box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
        }

        .form-feedback {
            margin-top: 1rem;
            padding: 0.9rem 1.2rem;
            border-radius: 10px;
            background: rgba(16, 185, 129, 0.15);
            color: #065f46;
            font-weight: 600;
            font-size: 0.92rem;
            display: none;
        }

        /* --- Footer --- */
        .footer {
            background-color: var(--primary-navy);
            color: #cbd5e1;
            padding: 4.5rem 0 2rem 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
            gap: 2.5rem;
            padding-bottom: 3rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer h4 {
            color: var(--bg-white);
            font-size: 1.1rem;
            margin-bottom: 1.2rem;
        }

        .footer p {
            font-size: 0.92rem;
            line-height: 1.7;
        }

        .footer-links li {
            margin-bottom: 0.7rem;
        }

        .footer-links a {
            font-size: 0.92rem;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--accent-gold);
            padding-left: 4px;
        }

        .footer-bottom {
            padding-top: 1.8rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            font-size: 0.85rem;
            color: #94a3b8;
        }

        /* --- Responsive Breakpoints --- */
        @media (max-width: 992px) {
            .hero-grid,
            .about-grid,
            .contact-grid {
                grid-template-columns: 1fr;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .cards-grid-3,
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }

            .about-floating-badge {
                right: 15px;
                bottom: 15px;
            }
        }

        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
            }

            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--bg-white);
                flex-direction: column;
                padding: 1.5rem;
                gap: 1rem;
                box-shadow: var(--shadow-md);
                display: none;
            }

            .nav-links.open {
                display: flex;
            }

            .hero-title {
                font-size: 2.4rem;
            }

            .cards-grid-3,
            .gallery-grid,
            .stats-grid,
            .pillars-grid,
            .form-row,
            .footer-grid {
                grid-template-columns: 1fr;
            }

            .admissions-banner {
                padding: 2.2rem;
            }
        }