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

        body {
            background: #f4f6f9;
            color: #1e2a3e;
            line-height: 1.4;
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        button, input, select, textarea {
            font: inherit;
        }

        /* ========== DESKTOP STYLES (min-width: 769px) ========== */
        .top-navbar-white {
            background: white;
            padding: 0.4rem 2%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            border-bottom: 1px solid #e0e7ed;
        }
        .contact-info {
            display: flex;
            gap: 1.2rem;
            flex-wrap: wrap;
        }
        .contact-info a {
            text-decoration: none;
            font-weight: 500;
            font-size: 0.8rem;
            color: #002D62;
            transition: 0.2s;
        }
        .contact-info a i {
            margin-right: 4px;
        }
        .contact-info a:hover {
            color: #F5DD00;
        }
        .right-group {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            flex-wrap: wrap;
        }
        .links-right {
            display: flex;
            gap: 1.2rem;
        }
        .links-right a {
            text-decoration: none;
            font-weight: 600;
            font-size: 0.8rem;
            color: #002D62;
        }
        .links-right a:hover {
            color: #F5DD00;
        }
        .separator {
            color: #002D62;
            font-size: 0.9rem;
        }
        .social-right {
            display: flex;
            gap: 0.8rem;
        }
        .social-right a {
            color: #002D62;
            font-size: 0.9rem;
            transition: 0.2s;
        }
        .social-right a:hover {
            color: #F5DD00;
            transform: translateY(-2px);
        }

        .main-navbar-blue {
            background: #002D62;
            padding: 0.4rem 2%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            position: relative;
        }
        .logo-area img {
            height: 40px;
        }
        .nav-links {
            display: flex;
            gap: 1.2rem;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }
        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.85rem;
            padding: 0.2rem 0;
            border-bottom: 2px solid transparent;
            white-space: nowrap;
        }
        .nav-links a:hover, .nav-links a.active {
            color: #F5DD00;
            border-bottom-color: #F5DD00;
        }
        .right-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .apply-btn {
            background: #F5DD00;
            color: #001B3A;
            padding: 0.3rem 1rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.8rem;
        }
        .apply-btn:hover {
            background: #ffe53a;
            transform: translateY(-2px);
        }
        .search-icon, .hamburger-school {
            background: none;
            border: none;
            color: white;
            font-size: 1.1rem;
            cursor: pointer;
        }
        .search-icon:hover, .hamburger-school:hover {
            color: #F5DD00;
        }
        .hamburger-school {
            display: none;
        }

        /* Mobile menu */
        .mobile-menu {
            display: none;
            background: #002D62;
            width: 100%;
            flex-direction: column;
            border-top: 1px solid rgba(255,255,255,0.2);
        }
        .mobile-menu a {
            color: white;
            text-decoration: none;
            padding: 0.8rem 1.5rem;
            font-size: 0.9rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            display: block;
        }
        .mobile-menu a:hover {
            background: #003e7c;
            color: #F5DD00;
        }

        /* Main content */
        .school-content {
            flex: 1;
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 2%;
            width: 100%;
        }
        .page {
            padding: 1rem 0;
        }
        .page h2 {
            font-size: 1.5rem;
            color: #002D62;
            margin-bottom: 1rem;
            border-left: 4px solid #F5DD00;
            padding-left: 0.8rem;
        }
        .page p, .page li {
            font-size: 0.9rem;
            margin-bottom: 0.8rem;
            line-height: 1.5;
        }
        .stats-row {
            display: flex;
            gap: 1.2rem;
            margin: 1.5rem 0;
            flex-wrap: wrap;
        }
        .stat-item {
            background: #eef2f7;
            padding: 1rem;
            border-radius: 12px;
            text-align: center;
            flex: 1;
        }
        .stat-item h3 {
            font-size: 1.4rem;
            color: #002D62;
        }
        .btn {
            background: #F5DD00;
            color: #001B3A;
            padding: 0.5rem 1.2rem;
            border-radius: 30px;
            border: none;
            font-weight: 600;
            cursor: pointer;
        }

        /* Footer */
        .school-footer {
            background: #001B3A;
            color: #cbd5e1;
            text-align: center;
            padding: 1.2rem;
            font-size: 0.7rem;
            width: 100%;
            margin-top: auto;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
            margin-bottom: 0.8rem;
        }

        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            font-size: 0.8rem;
            transition: 0.2s;
        }

        .footer-links a:hover {
            color: #F5DD00;
        }

        /* ========== MOBILE STYLES (max-width: 768px) ========== */
        @media (max-width: 768px) {
            .top-navbar-white {
                display: none;
            }
            .nav-links {
                display: none;
            }
            .hamburger-school {
                display: block;
            }
            .right-actions {
                gap: 0.8rem;
            }
            .search-icon {
                order: 3;
            }
            .hamburger-school {
                order: 2;
            }
            .apply-btn {
                order: 1;
                font-size: 0.7rem;
                padding: 0.3rem 0.8rem;
            }
            .main-navbar-blue {
                flex-wrap: wrap;
                justify-content: space-between;
                padding: 0.4rem 4%;
            }
            .mobile-menu.show {
                display: flex;
            }
            .school-content {
                padding: 0 4%;
                margin: 1rem auto;
            }
            .page h2 {
                font-size: 1.3rem;
            }
            .footer-links {
                gap: 1rem;
            }
            .footer-links a {
                font-size: 0.7rem;
            }
        }

        @media (max-width: 500px) {
            .footer-links {
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                gap: 0.8rem;
            }
        }

.school-content { overflow: hidden; }

    /* ===== School Hero ===== */
    .school-hero {
        position: relative;
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        height: 85vh;
        min-height: 450px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        overflow: hidden;
        background-color: #002D62;
    }
    .school-hero-slides { position: absolute; inset: 0; z-index: 0; }
    .school-hero-slide {
        position: absolute; inset: 0;
        background-size: cover; background-position: center; background-repeat: no-repeat;
        opacity: 0; transition: opacity 1.2s ease-in-out;
    }
    .school-hero-slide.active { opacity: 1; }

    .school-hero-overlay {
        position: absolute; inset: 0;
        background: rgba(0, 0, 0, 0.12);
        z-index: 1;
    }
    .school-hero-content {
        position: relative; z-index: 2;
        width: min(100%, 820px);
        box-sizing: border-box;
        padding: clamp(1.25rem, 5vw, 3rem);
        color: white;
    }
    .school-hero-content h1 {
        font-size: clamp(2rem, 5.5vw, 4.2rem);
        font-weight: 800;
        margin: 0 0 0.75rem;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        line-height: 1.12;
        overflow-wrap: anywhere;
    }
    .school-hero-content p {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
        margin: 0 auto 1.5rem;
        max-width: 620px;
        line-height: 1.6;
        opacity: 0.9;
        text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .hero-btn {
        display: inline-block;
        background: #f5dd00; color: #001b3a;
        padding: 0.85rem 1.5rem; border-radius: 4px;
        text-decoration: none; font-weight: 700;
        transition: 0.2s;
    }
    .hero-btn:hover { transform: translateY(-2px); background: #ffe53a; }

    .school-intro {
        max-width: 760px;
        margin: 0 auto;
        padding: 4rem 1.5rem 2rem;
        text-align: center;
    }
    .section-eyebrow {
        display: block;
        color: #55708e;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.13em;
        margin-bottom: 0.6rem;
        text-transform: uppercase;
    }
    .school-intro h2 {
        color: #002d62;
        font-size: clamp(1.7rem, 3vw, 2.3rem);
        line-height: 1.2;
        margin: 0 0 0.7rem;
    }
    .school-intro p {
        color: #5b6572;
        font-size: 1rem;
        line-height: 1.7;
        margin: 0 auto;
        max-width: 660px;
    }
    .school-highlights {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1px;
        max-width: 1072px;
        margin: 1.5rem auto 0;
        padding: 0;
        position: relative;
        background: #e2e8f0;
        box-shadow: 0 12px 30px rgba(0, 30, 65, 0.1);
    }
    .highlight-card {
        background: white;
        min-height: 190px;
        padding: 1.5rem;
    }
    .highlight-number {
        color: #75869a;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.12em;
    }
    .highlight-card h2 {
        color: #002d62;
        font-size: 1.1rem;
        margin: 0.7rem 0 0.45rem;
    }
    .highlight-card p {
        color: #5b6572;
        font-size: 0.9rem;
        line-height: 1.55;
        margin: 0;
    }

    /* ===== Stats ===== */
    .stats-row {
        display: flex; gap: 1.2rem; margin: 2.5rem 5% 2rem; flex-wrap: wrap;
    }
    .stat-item {
        background: #eef2f7; padding: 1rem; border-radius: 12px;
        text-align: center; flex: 1; min-width: 100px;
    }
    .stat-item h3 { font-size: 1.4rem; color: #002D62; }

    /* ===== School Gallery ===== */
    .school-gallery-section {
        background: #f8f9fc;
        padding: 4rem 5%;
    }
    .gallery-heading {
        max-width: 1100px;
        margin: 0 auto 1.8rem;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 1.5rem;
    }
    .gallery-heading .section-eyebrow, .school-visit .section-eyebrow {
        color: #55708e;
        margin-bottom: 0.45rem;
    }
    .gallery-heading .title {
        text-align: left;
        color: #002d62;
        margin: 0 0 0.4rem;
        font-size: 1.8rem;
    }
    .gallery-sub {
        color: #657080;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .gallery-action {
        color: #002d62;
        font-size: 0.9rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }
    .gallery-action span { margin-left: 0.3rem; }
    .gallery-action:hover { color: #526f91; }
    .gallery-empty {
        max-width: 1100px;
        margin: 0 auto;
        padding: 2.5rem 1.5rem;
        border: 1px solid #dce4ed;
        background: white;
        text-align: center;
    }
    .gallery-empty h3 {
        color: #002d62;
        font-size: 1rem;
        margin: 0 0 0.4rem;
    }
    .gallery-empty p {
        color: #657080;
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0 auto;
        max-width: 520px;
    }
    .school-gallery-section .gallery-grid {
        max-width: 1100px;
        margin: 0 auto;
    }
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    .gallery-item {
        position: relative; overflow: hidden; border-radius: 6px;
        background: #eef2f7; aspect-ratio: 4 / 3;
        margin: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .gallery-item img {
        width: 100%; height: 100%; object-fit: cover; display: block;
        transition: transform 0.35s ease;
    }
    .gallery-item:hover img { transform: scale(1.05); }
    .gallery-caption {
        position: absolute;
        inset: auto 0 0;
        padding: 2rem 1rem 0.9rem;
        color: white;
        background: linear-gradient(transparent, rgba(0, 21, 46, 0.85));
    }
    .gallery-caption span {
        display: block;
        color: #e5d56b;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-bottom: 0.2rem;
    }
    .gallery-caption strong { font-size: 0.95rem; }
    .gallery-caption p { font-size: 0.78rem; line-height: 1.4; margin: 0.25rem 0 0; }

    .school-visit {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
        max-width: 1100px;
        margin: 0 auto;
        padding: 3.5rem 5%;
    }
    .school-visit h2 {
        color: #002d62;
        font-size: 1.8rem;
        margin: 0 0 0.45rem;
    }
    .school-visit p {
        color: #657080;
        font-size: 0.95rem;
        margin: 0;
    }
    .school-visit .visit-actions { justify-content: flex-start; }
    .visit-primary, .visit-secondary {
        display: inline-block;
        padding: 0.8rem 1.1rem;
        border-radius: 4px;
        font-size: 0.85rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }
    .visit-primary { background: #002d62; color: white; }
    .visit-primary:hover { background: #174b80; }
    .visit-secondary { border: 1px solid #b8c3cf; color: #002d62; }
    .visit-secondary:hover { background: #f1f5f9; }

    /* ===== Tablet ===== */
    @media (max-width: 768px) {
        .school-hero { height: 70vh; min-height: 400px; max-height: 600px; }
        .school-highlights { grid-template-columns: 1fr; margin: 1.5rem 1rem 0; }
        .highlight-card { min-height: auto; padding: 1.2rem 5%; }
        .stats-row { margin-top: 1.5rem; }
        .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
        .school-visit { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
    }

    /* ===== Mobile ===== */
    @media (max-width: 600px) {
        .school-hero { height: 65vh; min-height: 360px; }
        .school-hero-content { padding: 1rem; }
        .school-hero-content h1 { font-size: clamp(1.45rem, 7.2vw, 2rem); }
        .school-hero-content p {
            font-size: clamp(0.78rem, 3.4vw, 0.95rem);
            line-height: 1.4;
            margin-bottom: 0.8rem;
        }
        .hero-btn { padding: 0.7rem 1.1rem; }
        .school-intro { padding: 3rem 1.25rem 1.25rem; }
        .school-highlights { margin: 1rem 1.25rem 0; }
        .gallery-heading { align-items: flex-start; flex-direction: column; gap: 0.8rem; }
        .gallery-heading .title, .school-visit h2 { font-size: 1.45rem; }
        .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
        .school-visit { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    }

    @media (max-width: 350px) {
        .school-hero-content { padding: 1.1rem; }
        .hero-btn { padding: 0.75rem 1.1rem; }
        .school-highlights { margin-right: 0.75rem; margin-left: 0.75rem; }
    }

.school-content.school-home-content {
    max-width: none;
    margin: 0;
    padding: 0;
}
