        :root {
            --primary: #f26a1b;
            --primary-dark: #c9480e;
            --secondary: #0088d8;
            --secondary-dark: #005a91;
            --accent: #00a651;
            --accent-dark: #2f5f16;
            --text: #1e1e1e;
            --muted: #52606d;
            --light: #f8fafc;
            --white: #ffffff;
            --border: #e5e7eb;
            --sky-soft: #eaf6ff;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: Arial, sans-serif;
            color: var(--text);
            background-color: var(--light);
            line-height: 1.6;
        }

        body.home-page {
            background-color: var(--white);
        }

        body:not(.home-page) {
            background: linear-gradient(180deg, var(--sky-soft) 0%, var(--white) 44%, var(--light) 100%);
        }

        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 200;
            width: 0%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
            display: block;
        }

        header {
            background-color: transparent;
            color: var(--white);
            padding: 16px 8%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            border-bottom: 0;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 10;
            box-shadow: none;
        }

        .site-brand {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            color: var(--white);
            text-decoration: none;
            min-width: 0;
        }

        .site-logo {
            width: 66px;
            height: 66px;
            object-fit: contain;
            border-radius: 0;
            background: transparent;
            mix-blend-mode: multiply;
            flex: 0 0 auto;
        }

        header h1 {
            margin: 0;
            font-size: 24px;
            color: var(--white);
            letter-spacing: 0;
            line-height: 1.1;
        }

        nav {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            align-items: center;
            flex-shrink: 0;
        }

        nav a {
            color: var(--white);
            text-decoration: none;
            font-weight: bold;
            font-size: 15px;
            text-shadow: 0 2px 8px rgba(6, 49, 75, 0.35);
            margin-right: 34px;
        }

        nav a:hover {
            color: var(--primary);
            text-decoration: none;
        }

        .nav-menu-button {
            width: 46px;
            height: 42px;
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
            padding: 0;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.55);
            border-radius: 6px;
            cursor: pointer;
            transition: background 0.2s ease, border-color 0.2s ease;
        }

        .nav-menu-button:hover {
            background: rgba(255, 255, 255, 0.18);
            border-color: var(--white);
        }

        .nav-menu-line {
            width: 22px;
            height: 2px;
            background: var(--white);
            border-radius: 999px;
        }

        .menu-overlay {
            position: fixed;
            inset: 0;
            z-index: 100;
            display: none;
            min-height: 100vh;
            padding: 34px 4vw 52px;
            overflow-y: auto;
            color: var(--white);
            background: linear-gradient(115deg, var(--secondary-dark) 0%, var(--accent-dark) 48%, var(--primary-dark) 100%);
        }

        .menu-overlay.is-open {
            display: block;
        }

        body.menu-open {
            overflow: hidden;
        }

        .menu-close {
            position: absolute;
            top: 28px;
            right: 4vw;
            width: 64px;
            height: 64px;
            border: 0;
            border-radius: 50%;
            color: var(--white);
            background: rgba(255, 255, 255, 0.12);
            font-size: 42px;
            line-height: 1;
            cursor: pointer;
        }

        .menu-brand h2 {
            margin: 0;
            font-size: 30px;
            line-height: 1.1;
            color: var(--white);
        }

        .menu-brand span {
            display: block;
            margin-top: 4px;
            font-size: 15px;
            letter-spacing: 3px;
            text-transform: uppercase;
        }

        .menu-content {
            display: grid;
            grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
            align-items: center;
            gap: 60px;
            max-width: 1760px;
            margin: 34px auto 0;
        }

        .menu-links {
            display: grid;
            gap: 34px;
        }

        .menu-links a {
            width: fit-content;
            color: var(--sky-soft);
            font-size: clamp(38px, 4vw, 64px);
            font-weight: 900;
            line-height: 1;
            letter-spacing: 2px;
            text-decoration: none;
            text-transform: uppercase;
        }

        .menu-links a:hover {
            color: var(--primary);
        }

        .menu-label {
            margin: 6px 0 -8px;
            color: rgba(255, 255, 255, 0.74);
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 7px;
            text-transform: uppercase;
        }

        .menu-card {
            justify-self: end;
            width: min(100%, 746px);
        }

        .menu-card-image {
            position: relative;
            min-height: 430px;
            overflow: hidden;
            border-radius: 22px;
            background-image:
                linear-gradient(90deg, rgba(0, 90, 145, 0.92) 0%, rgba(0, 90, 145, 0.74) 46%, rgba(0, 166, 81, 0.26) 100%),
                url("../images/school-building.c0fcd9ae065b.jpg");
            background-size: cover;
            background-position: center;
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
        }

        .menu-card-image p {
            position: absolute;
            left: 34px;
            bottom: 28px;
            margin: 0;
            color: var(--white);
            font-size: 22px;
        }

        .menu-card-caption {
            margin: 36px 0 0;
            text-align: center;
            color: var(--sky-soft);
            font-size: 24px;
            letter-spacing: 1px;
        }

        main {
            min-height: 70vh;
        }

        .container {
            width: 84%;
            max-width: 1100px;
            margin: 0 auto;
        }

        .hero {
            background: linear-gradient(90deg, rgba(0, 90, 145, 0.84), rgba(0, 166, 81, 0.42), rgba(242, 106, 27, 0.18)), url("../images/school-building.c0fcd9ae065b.jpg");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            color: var(--white);
            min-height: 88vh;
            padding: 100px 0 150px;
            display: flex;
            align-items: center;
        }

        .home-page .hero {
            background: linear-gradient(90deg, rgba(0, 90, 145, 0.84), rgba(0, 166, 81, 0.42), rgba(242, 106, 27, 0.18)), url("../images/school-building.c0fcd9ae065b.jpg");
            background-size: cover;
            background-position: center;
        }

        .hero-content {
            max-width: 660px;
        }

        .hero h2 {
            font-size: 52px;
            line-height: 1.2;
            margin: 0 0 16px;
        }

        .hero p {
            font-size: 18px;
            margin-bottom: 28px;
            max-width: 560px;
        }

        .hero-label {
            display: inline-block;
            color: var(--white);
            background-color: rgba(242, 106, 33, 0.95);
            padding: 6px 12px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: bold;
            margin-bottom: 16px;
        }

        .button {
            display: inline-block;
            background-color: var(--primary);
            color: var(--white);
            padding: 12px 20px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: bold;
        }

        .button-outline {
            background-color: var(--white);
            color: var(--secondary-dark);
            border: 2px solid var(--white);
            margin-left: 10px;
        }


        .home-video-hero {
            position: relative;
            min-height: 92vh;
            display: flex;
            align-items: center;
            overflow: hidden;
            color: var(--white);
            background: url("../images/school-building.c0fcd9ae065b.jpg") center / cover no-repeat;
        }

        .home-hero-video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

        .home-video-overlay {
            position: absolute;
            inset: 0;
            z-index: 1;
            background:
                linear-gradient(180deg, rgba(6, 49, 75, 0.08) 0%, rgba(6, 49, 75, 0.28) 48%, rgba(248, 250, 252, 0.78) 100%),
                linear-gradient(90deg, rgba(0, 90, 145, 0.55) 0%, rgba(0, 166, 81, 0.22) 50%, rgba(242, 106, 27, 0.14) 100%);
        }

        .home-video-content {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
            align-items: center;
            gap: 70px;
            max-width: 1120px;
            padding-top: 76px;
        }

        .home-video-content .hero-label {
            background: rgba(242, 106, 27, 0.94);
            border: 1px solid rgba(255, 255, 255, 0.24);
            border-radius: 999px;
            letter-spacing: 2px;
            text-transform: uppercase;
            box-shadow: 0 14px 32px rgba(15, 41, 66, 0.2);
        }

        .home-hero-copy {
            max-width: 600px;
        }

        .home-video-content h2 {
            font-size: 54px;
            line-height: 1.18;
            margin: 18px 0;
            max-width: 620px;
            color: var(--white);
            text-shadow: 0 5px 22px rgba(6, 49, 75, 0.38);
        }

        .home-video-content p {
            color: var(--sky-soft);
            font-size: 19px;
            max-width: 520px;
            margin: 0 0 24px;
        }

        .home-hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
        }

        .home-hero-actions .button {
            background-color: var(--primary);
            min-width: 150px;
            border-radius: 999px;
            box-shadow: 0 12px 28px rgba(6, 49, 75, 0.24);
        }

        .home-hero-actions .button-outline {
            background-color: rgba(255, 255, 255, 0.12);
            color: var(--white);
            border: 2px solid rgba(255, 255, 255, 0.7);
            margin-left: 0;
        }

        .hero-rubiks-cube {
            position: relative;
            width: min(100%, 240px);
            aspect-ratio: 1 / 1;
            justify-self: end;
            display: grid;
            place-items: center;
            perspective: 760px;
            animation: cubeFloat 5.4s ease-in-out infinite;
        }

        .rubiks-cube {
            position: relative;
            width: 132px;
            height: 132px;
            transform-style: preserve-3d;
            animation: cubeSolve 7s ease-in-out infinite;
        }

        .cube-face {
            position: absolute;
            inset: 0;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 5px;
            padding: 7px;
            border: 1px solid rgba(255, 255, 255, 0.24);
            border-radius: 8px;
            background: rgba(6, 49, 75, 0.38);
            box-shadow: 0 20px 44px rgba(6, 49, 75, 0.24);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .cube-face span {
            border-radius: 5px;
            border: 1px solid rgba(255, 255, 255, 0.22);
            background: rgba(255, 255, 255, 0.14);
            box-shadow: inset 0 1px 8px rgba(255, 255, 255, 0.16);
        }

        .cube-front {
            transform: translateZ(66px);
        }

        .cube-right {
            transform: rotateY(90deg) translateZ(66px);
        }

        .cube-top {
            transform: rotateX(90deg) translateZ(66px);
        }

        .cube-front .tile-on {
            background: rgba(242, 106, 27, 0.86);
        }

        .cube-right .tile-on {
            background: rgba(0, 136, 216, 0.86);
        }

        .cube-top .tile-on {
            background: rgba(0, 166, 81, 0.82);
        }

        .cube-top .tile-half {
            background: linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.14) 0%,
                rgba(255, 255, 255, 0.14) 50%,
                rgba(0, 166, 81, 0.82) 50%,
                rgba(0, 166, 81, 0.82) 100%
            );
        }

        @keyframes cubeFloat {
            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-12px);
            }
        }

        @keyframes cubeSolve {
            0%,
            22% {
                transform: rotateX(0deg) rotateY(0deg);
            }

            34%,
            52% {
                transform: rotateX(0deg) rotateY(-90deg);
            }

            66%,
            84% {
                transform: rotateX(-90deg) rotateY(0deg);
            }

            100% {
                transform: rotateX(0deg) rotateY(0deg);
            }
        }

        .scroll-cue {
            position: absolute;
            left: 50%;
            bottom: 34px;
            transform: translateX(-50%);
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            width: 160px;
            color: rgba(255, 255, 255, 0.88);
            text-transform: uppercase;
            font-size: 13px;
            letter-spacing: 1.5px;
            text-align: center;
            pointer-events: none;
        }

        .scroll-cue span {
            display: block;
            width: 2px;
            height: 42px;
            margin: 0 0 10px;
            background: rgba(255, 255, 255, 0.85);
            border-radius: 999px;
        }

        .scroll-cue p {
            margin: 0;
            line-height: 1;
            white-space: nowrap;
        }

        .section {
            padding: 50px 0;
        }

        .section-light {
            background-color: var(--sky-soft);
        }

        .home-section {
            background: var(--white);
        }

        .home-page .hero + .home-section {
            margin-top: -80px;
            padding-top: 0;
            position: relative;
            z-index: 2;
        }

        .home-section-alt {
            background: var(--sky-soft);
        }

        .home-section h3,
        .home-section-alt h3 {
            color: var(--secondary-dark);
            text-shadow: none;
        }

        .home-section .card,
        .home-section-alt .card {
            background-color: var(--white);
            border-top: 4px solid var(--primary);
            box-shadow: 0 12px 26px rgba(15, 41, 66, 0.08);
        }

        .reveal {
            opacity: 0;
            transform: translateY(34px);
            transition: opacity 0.8s ease, transform 0.8s ease;
            will-change: opacity, transform;
        }

        .reveal.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .reveal-card {
            opacity: 0;
            transform: translateY(34px) scale(0.96);
            transition: opacity 0.75s ease, transform 0.75s ease;
            will-change: opacity, transform;
        }

        .reveal.is-visible .reveal-card {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .reveal.is-visible .reveal-card:nth-child(2) {
            transition-delay: 0.12s;
        }

        .reveal.is-visible .reveal-card:nth-child(3) {
            transition-delay: 0.24s;
        }

        .reveal.is-visible .reveal-card:nth-child(4) {
            transition-delay: 0.36s;
        }

        .page-header .container,
        .about-hero-content,
        .academics-hero-content {
            animation: pageIntro 0.8s ease both;
        }

        .home-page .home-video-content {
            transform: translateY(calc(var(--hero-scroll, 0) * 0.18px));
        }

        .home-page .home-hero-video {
            transform: scale(1.01) translateY(calc(var(--hero-scroll, 0) * 0.12px));
        }

        .home-page .home-about-showcase,
        .page-header,
        .about-hero,
        .academics-hero,
        .site-cta {
            background-position: center calc(50% + var(--section-scroll, 0) * 0.04px);
        }

        @keyframes pageIntro {
            from {
                opacity: 0;
                transform: translateY(24px);
            }

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

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

            .reveal,
            .reveal-card,
            .home-page .home-video-content,
            .home-page .home-hero-video {
                transform: none !important;
            }
        }

        .section h3 {
            font-size: 28px;
            margin-top: 0;
            color: var(--primary);
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }

        .card {
            background-color: var(--white);
            padding: 24px;
            border-radius: 8px;
            border: 1px solid var(--border);
            border-top: 4px solid var(--primary);
            box-shadow: 0 12px 26px rgba(15, 41, 66, 0.08);
        }

        .card h4 {
            margin-top: 0;
            color: var(--primary-dark);
        }

        .image-card {
            padding: 0;
            overflow: hidden;
        }

        .image-card img {
            display: block;
            width: 100%;
            height: 210px;
            object-fit: cover;
        }

        .image-card-content {
            padding: 20px;
        }

        .image-card-content h4 {
            margin-bottom: 8px;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
        }

        .feature-grid.reverse,
        .feature-grid.links {
            grid-template-columns: repeat(3, 1fr);
        }

        .tile-card {
            position: relative;
            min-height: 290px;
            padding: 0;
            overflow: hidden;
            border: 0;
            border-radius: 8px;
            box-shadow: 0 16px 34px rgba(15, 41, 66, 0.14);
        }

        .tile-card img {
            width: 100%;
            height: 100%;
            min-height: 290px;
            object-fit: cover;
            transition: transform 0.35s ease;
        }

        .tile-card:hover img {
            transform: scale(1.05);
        }

        .tile-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0, 90, 145, 0.08), rgba(0, 90, 145, 0.82));
        }

        .tile-content {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
            padding: 22px;
            color: var(--white);
        }

        .tile-content h4 {
            margin: 0 0 8px;
            color: var(--white);
            font-size: 21px;
        }

        .tile-content p {
            margin: 0;
            color: var(--sky-soft);
        }

        .tile-content a {
            color: var(--white);
            font-weight: bold;
        }

        .tile-card:nth-child(1) {
            border-bottom: 5px solid var(--primary);
        }

        .tile-card:nth-child(2) {
            border-bottom: 5px solid var(--secondary);
        }

        .tile-card:nth-child(3) {
            border-bottom: 5px solid var(--accent);
        }


        .home-pathways {
            background: var(--white);
            padding: 48px 0 48px;
        }

        .pathway-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 18px;
            position: relative;
            z-index: 3;
        }

        .pathway-card {
            position: relative;
            min-height: 360px;
            overflow: hidden;
            color: var(--white);
            text-decoration: none;
            display: flex;
            align-items: flex-end;
            padding: 28px;
            border-radius: 16px;
            box-shadow: 0 18px 42px rgba(15, 41, 66, 0.16);
        }

        .pathway-card img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.35s ease;
        }

        .pathway-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0, 90, 145, 0.16), rgba(0, 90, 145, 0.72), rgba(30, 30, 30, 0.84));
        }

        .pathway-card:hover img {
            transform: scale(1.06);
        }

        .pathway-card span,
        .pathway-card h3 {
            position: relative;
            z-index: 1;
        }

        .pathway-card span {
            position: absolute;
            top: 22px;
            left: 24px;
            background: rgba(255, 255, 255, 0.16);
            border: 1px solid rgba(255, 255, 255, 0.24);
            border-radius: 999px;
            color: var(--sky-soft);
            font-size: 12px;
            font-weight: bold;
            letter-spacing: 2px;
            padding: 8px 14px;
            text-transform: uppercase;
        }

        .pathway-card h3 {
            color: var(--white);
            font-size: 34px;
            line-height: 1.1;
            margin: 0;
            text-shadow: 0 3px 12px rgba(6, 49, 75, 0.34);
        }

        .home-about-showcase {
            position: relative;
            overflow: hidden;
            background:
                linear-gradient(90deg, rgba(0, 90, 145, 0.92) 0%, rgba(0, 90, 145, 0.74) 46%, rgba(0, 166, 81, 0.26) 100%),
                url("../images/school-building.c0fcd9ae065b.jpg");
            background-size: cover;
            background-position: center;
            color: var(--white);
            padding: 96px 0;
        }

        .home-about-showcase::before {
            content: "";
            position: absolute;
            inset: 28px 0 auto auto;
            width: 42%;
            height: 70%;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
            clip-path: polygon(22% 0, 100% 10%, 88% 100%, 0 84%);
            pointer-events: none;
        }

        .home-about-content {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
            gap: 64px;
            align-items: center;
        }

        .home-about-copy {
            max-width: 660px;
        }

        .home-about-showcase .section-label {
            color: var(--primary);
            letter-spacing: 3px;
            text-transform: uppercase;
            font-weight: 900;
        }

        .home-about-showcase h3 {
            color: var(--white);
            font-size: 48px;
            line-height: 1.12;
            margin: 0 0 22px;
            max-width: 640px;
        }

        .home-about-showcase p {
            color: var(--sky-soft);
            font-size: 19px;
            max-width: 610px;
            margin: 0 0 22px;
        }

        .home-about-list {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            margin: 30px 0 32px;
            padding: 0;
        }

        .home-about-list li {
            min-height: 92px;
            display: flex;
            align-items: flex-end;
            color: var(--white);
            font-size: 15px;
            font-weight: 800;
            line-height: 1.25;
            padding: 18px;
            position: relative;
            overflow: hidden;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.13);
            border: 1px solid rgba(255, 255, 255, 0.18);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .home-about-list li::before {
            content: "✓";
            position: absolute;
            left: 16px;
            top: 14px;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: var(--primary);
            color: var(--white);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .home-about-showcase .button {
            background: var(--primary);
            color: var(--white);
            border-radius: 999px;
            padding-left: 30px;
            padding-right: 30px;
        }

        .home-about-visual {
            position: relative;
            min-height: 430px;
        }

        .home-about-visual img {
            width: 100%;
            height: 430px;
            display: block;
            object-fit: cover;
            border-radius: 28px 28px 28px 80px;
            border: 1px solid rgba(255, 255, 255, 0.28);
            box-shadow: 0 26px 64px rgba(6, 49, 75, 0.34);
        }

        .home-difference {
            background: var(--light);
            padding: 88px 0 108px;
        }

        .home-difference-heading {
            max-width: 760px;
            margin: 0 auto 58px;
            text-align: center;
        }

        .home-difference-heading::before,
        .home-difference::after {
            content: "";
            display: block;
            width: 150px;
            height: 1px;
            margin: 0 auto 26px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
        }

        .home-difference::after {
            margin: 78px auto 0;
            background: linear-gradient(90deg, transparent, var(--accent), var(--primary), transparent);
        }

        .home-difference-heading span {
            display: inline-flex;
            padding: 7px 18px;
            border-radius: 999px;
            background: var(--sky-soft);
            color: var(--accent-dark);
            font-size: 14px;
            font-weight: 900;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .home-difference-heading h3 {
            margin: 22px 0 16px;
            color: var(--secondary-dark);
            font-size: 42px;
            line-height: 1.15;
        }

        .home-difference-heading p {
            margin: 0 auto;
            color: var(--muted);
            font-size: 22px;
            line-height: 1.45;
            max-width: 760px;
        }

        .difference-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
        }

        .difference-card {
            position: relative;
            min-height: 418px;
            overflow: hidden;
            border-radius: 18px;
            box-shadow: 0 18px 42px rgba(15, 41, 66, 0.13);
        }

        .difference-card img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.35s ease;
        }

        .difference-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 30%, rgba(0, 0, 0, 0.82) 100%);
        }

        .difference-card:hover img {
            transform: scale(1.05);
        }

        .difference-card-content {
            position: absolute;
            left: 32px;
            right: 24px;
            bottom: 36px;
            z-index: 1;
            color: var(--white);
        }

        .difference-card-content span {
            display: inline-flex;
            margin-bottom: 18px;
            padding: 7px 13px;
            border-radius: 4px;
            background: var(--primary);
            color: var(--white);
            font-size: 14px;
            font-weight: 900;
            letter-spacing: 3px;
            text-transform: uppercase;
        }

        .difference-card-content h4 {
            margin: 0;
            color: var(--white);
            font-size: 30px;
            line-height: 1.15;
        }

        .notice {
            background-color: rgba(255, 255, 255, 0.95);
            border-left: 5px solid var(--accent);
            padding: 18px;
            border-radius: 6px;
        }

        .contact-page main {
            background: #eef3f1;
        }

        .contact-hero {
            position: relative;
            min-height: 460px;
            display: flex;
            align-items: center;
            overflow: hidden;
            background: var(--secondary-dark);
        }

        .contact-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(90deg, rgba(0, 90, 145, 0.92) 0%, rgba(0, 90, 145, 0.74) 46%, rgba(0, 166, 81, 0.26) 100%),
                url("../images/school-building.c0fcd9ae065b.jpg") center / cover no-repeat;
        }

        .contact-hero::after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 140px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0), #eef3f1);
        }

        .contact-hero .container {
            position: relative;
            z-index: 1;
        }

        .contact-hero h2 {
            color: var(--white);
            font-size: 64px;
            margin: 16px 0 10px;
        }

        .contact-hero p {
            color: var(--sky-soft);
            font-size: 34px;
            margin: 0;
            max-width: 700px;
        }

        .contact-chip {
            display: inline-flex;
            align-items: center;
            padding: 9px 18px;
            border-radius: 999px;
            background: rgba(230, 247, 238, 0.92);
            color: var(--accent-dark);
            font-weight: 900;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-size: 14px;
        }

        .contact-office {
            padding-bottom: 44px;
        }

        .contact-office-layout {
            display: grid;
            grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
            gap: 26px;
            align-items: stretch;
        }

        .contact-office-panel,
        .contact-message-panel,
        .contact-visit-copy,
        .contact-map-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 8px;
            box-shadow: 0 20px 45px rgba(16, 35, 62, 0.08);
        }

        .contact-office-panel {
            display: flex;
            flex-direction: column;
            gap: 22px;
            padding: 30px;
            background:
                linear-gradient(180deg, rgba(234, 246, 255, 0.94), rgba(255, 255, 255, 0.98)),
                var(--white);
        }

        .contact-office-panel h3,
        .contact-panel-head h3,
        .contact-visit-copy h3 {
            color: var(--secondary-dark);
            font-size: 36px;
            line-height: 1.1;
            margin: 0;
        }

        .contact-office-panel p,
        .contact-panel-head p,
        .contact-visit-copy p {
            margin: 0;
            color: var(--muted);
            font-size: 20px;
        }

        .contact-quick-links {
            display: grid;
            gap: 12px;
        }

        .contact-quick-link {
            display: grid;
            grid-template-columns: 46px 1fr;
            gap: 12px;
            align-items: center;
            padding: 14px;
            border: 1px solid rgba(0, 90, 145, 0.13);
            border-radius: 8px;
            background: var(--white);
            color: var(--text);
            text-decoration: none;
        }

        .contact-quick-link:hover {
            border-color: var(--secondary);
            transform: translateY(-1px);
        }

        .contact-quick-icon {
            width: 46px;
            height: 46px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: var(--secondary-dark);
            color: var(--white);
            font-weight: 900;
        }

        .contact-quick-link strong,
        .contact-quick-link small {
            display: block;
        }

        .contact-quick-link strong {
            color: var(--secondary-dark);
            line-height: 1.2;
        }

        .contact-quick-link small {
            margin-top: 3px;
            color: var(--muted);
            font-size: 14px;
            overflow-wrap: anywhere;
        }

        .contact-office-hours {
            display: grid;
            gap: 0;
            margin: auto 0 0;
            padding: 0;
            border-top: 1px solid rgba(0, 90, 145, 0.18);
        }

        .contact-office-hours div {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            padding: 13px 0;
            border-bottom: 1px solid rgba(0, 90, 145, 0.13);
        }

        .contact-office-hours div:last-child {
            border-bottom: 0;
            padding-bottom: 0;
        }

        .contact-office-hours dt,
        .contact-office-hours dd {
            margin: 0;
        }

        .contact-office-hours dt {
            color: var(--secondary-dark);
            font-weight: 900;
        }

        .contact-office-hours dd {
            color: var(--muted);
            text-align: right;
        }

        .contact-message-panel {
            padding: 30px;
        }

        .contact-panel-head {
            display: grid;
            gap: 12px;
            margin-bottom: 22px;
        }

        .contact-form {
            display: grid;
            gap: 14px;
        }

        .contact-form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .contact-form label {
            display: grid;
            gap: 8px;
            font-weight: bold;
            color: var(--secondary-dark);
        }

        .contact-form input,
        .contact-form select,
        .contact-form textarea {
            width: 100%;
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 14px 16px;
            font: inherit;
            color: var(--text);
            background: #f8fbfa;
        }

        .contact-form .errorlist {
            margin: 0;
            padding: 0;
            list-style: none;
            color: #b42318;
            font-size: 14px;
            font-weight: 700;
        }

        .contact-form textarea {
            resize: vertical;
            min-height: 160px;
        }

        .contact-form small {
            color: var(--muted);
            font-size: 14px;
        }

        .contact-action-row {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .contact-action-row .button {
            border: 0;
            cursor: pointer;
            font: inherit;
        }

        .contact-messages {
            display: grid;
            gap: 8px;
            margin: 18px 0;
        }

        .contact-message {
            margin: 0;
            padding: 12px 14px;
            border-radius: 8px;
            font-weight: 700;
        }

        .contact-message-success {
            color: #05603a;
            background: #d1fadf;
        }

        .contact-message-error {
            color: #b42318;
            background: #fee4e2;
        }

        .contact-list,
        .contact-hours,
        .contact-faq {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .contact-list li,
        .contact-hours li {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            padding: 14px 0;
            border-bottom: 1px solid var(--border);
        }

        .contact-list li:last-child,
        .contact-hours li:last-child {
            border-bottom: 0;
            padding-bottom: 0;
        }

        .contact-list strong,
        .contact-hours span:first-child {
            color: var(--secondary-dark);
        }

        .contact-list span,
        .contact-hours span:last-child {
            color: var(--muted);
            text-align: right;
        }

        .contact-visit {
            padding-top: 0;
        }

        .contact-visit-layout {
            display: grid;
            grid-template-columns: 0.72fr 1.28fr;
            gap: 26px;
            align-items: stretch;
        }

        .contact-visit-copy {
            display: flex;
            flex-direction: column;
            gap: 16px;
            padding: 30px;
            background: #123f63;
        }

        .contact-visit-copy h3,
        .contact-visit-copy p {
            color: var(--white);
        }

        .contact-visit-copy p {
            color: #d9ecf7;
        }

        .contact-visit-notes {
            display: grid;
            gap: 10px;
            margin-top: auto;
        }

        .contact-visit-notes span {
            display: block;
            padding: 12px 14px;
            border-left: 4px solid var(--primary);
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--white);
            font-weight: 700;
        }

        .contact-map-card {
            padding: 0;
            overflow: hidden;
        }

        .contact-map-card iframe {
            width: 100%;
            height: 460px;
            border: 0;
            display: block;
        }

        .admin-section {
            background: var(--light);
        }

        .admin-layout {
            display: grid;
            grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
            gap: 26px;
            align-items: start;
        }

        .admin-panel {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 24px;
            box-shadow: 0 18px 42px rgba(31, 41, 51, 0.08);
        }

        .admin-panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            margin-bottom: 18px;
        }

        .admin-panel-header h3 {
            margin: 0;
            font-size: 24px;
        }

        .admin-panel-header span,
        .admin-small-link {
            color: var(--muted);
            font-size: 14px;
        }

        .admin-small-link,
        .admin-action-link {
            font-weight: bold;
            text-decoration: none;
        }

        .admin-messages {
            margin-bottom: 18px;
            padding: 12px 14px;
            border-left: 4px solid var(--accent);
            border-radius: 6px;
            background: #eafaf1;
            color: var(--accent-dark);
        }

        .admin-messages p {
            margin: 0;
        }

        .admin-form {
            display: grid;
            gap: 16px;
        }

        .admin-form label {
            display: grid;
            gap: 7px;
            color: var(--text);
            font-weight: bold;
        }

        .admin-input {
            width: 100%;
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 12px;
            color: var(--text);
            font: inherit;
        }

        .admin-input:focus {
            outline: 3px solid rgba(242, 106, 33, 0.22);
            border-color: var(--primary);
        }

        .news-events-admin-login-page .site-cta {
            display: none;
        }

        .admin-login-shell {
            margin-top: 0;
            min-height: 760px;
            padding: 148px 0 96px;
            background:
                linear-gradient(90deg, rgba(5, 24, 42, 0.68) 0%, rgba(5, 24, 42, 0.42) 48%, rgba(5, 24, 42, 0.18) 100%),
                url("../images/school-building.c0fcd9ae065b.jpg") center / cover no-repeat;
        }

        .news-events-admin-login-page .admin-login-shell {
            opacity: 1;
            transform: none;
        }

        .admin-login-container {
            max-width: 480px;
            margin-left: auto;
            margin-right: auto;
        }

        .admin-login-panel {
            border: 1px solid rgba(255, 255, 255, 0.72);
            border-radius: 12px;
            padding: 30px;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 22px 50px rgba(5, 24, 42, 0.24);
        }

        .news-events-admin-login-page .admin-login-panel {
            opacity: 1;
            transform: none;
        }

        .admin-login-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 26px;
            padding-bottom: 20px;
            border-bottom: 1px solid #edf2f7;
        }

        .admin-login-brand img {
            width: 48px;
            height: 48px;
            object-fit: contain;
        }

        .admin-login-brand strong,
        .admin-login-brand span {
            display: block;
            line-height: 1.25;
        }

        .admin-login-brand strong {
            color: #102033;
            font-size: 16px;
        }

        .admin-login-brand span {
            color: #64748b;
            font-size: 13px;
        }

        .admin-login-header {
            margin-bottom: 22px;
        }

        .admin-login-header h2 {
            margin: 0 0 8px;
            color: #102033;
            font-size: 28px;
            line-height: 1.15;
        }

        .admin-login-header p {
            margin: 0;
            color: var(--muted);
            font-size: 15px;
        }

        .admin-login-form {
            display: grid;
            gap: 11px;
        }

        .admin-login-label {
            color: #203548;
            font-weight: 700;
            font-size: 14px;
        }

        .admin-login-input {
            min-height: 46px;
            border-radius: 8px;
            padding: 12px 14px;
            background: #ffffff;
            border-color: #cbd5e1;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .admin-login-input:focus {
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(0, 136, 216, 0.14);
            outline: none;
        }

        .admin-password-wrap {
            position: relative;
            display: flex;
            align-items: center;
        }

        .admin-password-wrap .admin-login-input {
            padding-right: 82px;
        }

        .admin-password-toggle {
            position: absolute;
            right: 10px;
            border: 0;
            border-radius: 6px;
            background: #eef5fb;
            color: #005a91;
            font-size: 13px;
            font-weight: 700;
            line-height: 1;
            padding: 8px 12px;
            cursor: pointer;
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }

        .admin-password-toggle:hover,
        .admin-password-toggle:focus {
            background: #dcecf8;
            outline: none;
        }

        .admin-login-submit {
            margin-top: 10px;
            min-height: 46px;
            border-radius: 8px;
            font-size: 15px;
        }

        .admin-login-messages {
            margin-bottom: 6px;
        }

        .admin-file {
            width: 100%;
            padding: 10px;
            border: 1px dashed var(--border);
            border-radius: 6px;
            background: var(--light);
        }

        .admin-home-hero-video {
            display: block;
            width: 100%;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: #000;
        }

        .admin-media-fieldset {
            display: grid;
            gap: 10px;
            margin: 0;
            padding: 0;
            border: 0;
        }

        .admin-media-fieldset legend {
            margin-bottom: 2px;
            color: var(--text);
            font-weight: bold;
        }

        .admin-media-options {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .admin-media-option {
            display: flex !important;
            grid-template-columns: none;
            align-items: center;
            gap: 8px !important;
            min-height: 44px;
            padding: 10px 12px;
            border: 1px solid var(--border);
            border-radius: 6px;
            background: var(--white);
            cursor: pointer;
        }

        .admin-media-option:has(input:checked) {
            border-color: var(--primary);
            background: rgba(242, 106, 33, 0.08);
        }

        .admin-media-option input {
            width: 16px;
            height: 16px;
        }

        .admin-form .admin-media-upload[hidden] {
            display: none !important;
        }

        .admin-check-row {
            display: flex !important;
            grid-template-columns: none;
            align-items: center;
            gap: 10px !important;
        }

        .admin-checkbox {
            width: 18px;
            height: 18px;
        }

        .admin-list {
            display: grid;
            gap: 14px;
        }

        .admin-item {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 18px;
            padding: 18px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--light);
        }

        .admin-item-main {
            display: grid;
            grid-template-columns: 150px 1fr;
            gap: 14px;
            align-items: start;
        }

        .admin-item-media {
            width: 150px;
            height: 110px;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid var(--border);
            background: #0b1f33;
        }

        .admin-item-media img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .admin-item-media-placeholder {
            display: flex;
            width: 100%;
            height: 100%;
            align-items: center;
            justify-content: center;
            color: var(--sky-soft);
            font-size: 12px;
            text-align: center;
            padding: 8px;
        }

        .admin-item h4 {
            margin: 8px 0 6px;
            font-size: 19px;
        }

        .admin-item p {
            margin: 0 0 8px;
            color: var(--muted);
        }

        .admin-item small {
            color: var(--muted);
        }

        .admin-status {
            display: inline-flex;
            padding: 4px 8px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: bold;
        }

        .admin-status.published {
            color: #14532d;
            background: #dcfce7;
        }

        .admin-status.draft {
            color: #7c2d12;
            background: #ffedd5;
        }

        .admin-actions {
            display: flex;
            flex-direction: column;
            gap: 8px;
            min-width: 90px;
        }

        .admin-actions button,
        .admin-action-link {
            display: inline-flex;
            justify-content: center;
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 8px 10px;
            background: var(--white);
            color: var(--primary-dark);
            font: inherit;
            font-weight: bold;
            cursor: pointer;
        }

        .admin-actions .danger {
            color: #b91c1c;
        }

        .admin-gallery-section {
            padding-top: 0;
        }

        .admin-gallery-list {
            display: grid;
            gap: 14px;
        }

        .admin-gallery-item {
            display: grid;
            grid-template-columns: 130px 1fr auto;
            align-items: center;
            gap: 16px;
            padding: 16px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--light);
        }

        .admin-gallery-media,
        .admin-gallery-item img {
            display: block;
            width: 130px;
            height: 96px;
            object-fit: cover;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: #000;
        }

        .admin-gallery-item h4 {
            margin: 8px 0 6px;
            font-size: 18px;
        }

        .admin-gallery-item small {
            color: var(--muted);
        }

        .admin-gallery-item button {
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 8px 10px;
            background: var(--white);
            color: #b91c1c;
            font: inherit;
            font-weight: bold;
            cursor: pointer;
        }

        .page-header {
            background: linear-gradient(90deg, rgba(0, 136, 216, 0.92), rgba(0, 166, 81, 0.78), rgba(242, 106, 27, 0.45)), url("../images/school-building.c0fcd9ae065b.jpg");
            background-size: cover;
            background-position: center;
            color: var(--white);
            padding: 70px 0;
            border-bottom: 6px solid var(--primary);
        }

        .page-header h2 {
            margin: 0 0 10px;
            font-size: 36px;
        }

        .page-header p {
            margin: 0;
            color: var(--sky-soft);
            max-width: 680px;
        }

        .split {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 28px;
            align-items: start;
        }

        .list {
            padding-left: 20px;
        }

        .list li {
            margin-bottom: 10px;
        }

        .muted {
            color: var(--muted);
        }


        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 22px;
        }

        .news-card {
            display: flex;
            flex-direction: column;
            min-height: 420px;
            overflow: hidden;
            border-radius: 8px;
            background: var(--secondary-dark);
            box-shadow: 0 16px 34px rgba(15, 41, 66, 0.14);
        }

        .news-card-title {
            color: var(--white);
            font-size: 24px;
            line-height: 1.2;
            margin: 0;
            padding: 18px 20px 8px;
        }

        .news-card-media {
            flex: 1;
            width: 100%;
            min-height: 260px;
            object-fit: contain;
            background: #0b1f33;
            display: block;
        }

        .news-card-media-trigger {
            border: 0;
            padding: 0;
            cursor: zoom-in;
        }

        .news-card-media-image {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: #0b1f33;
        }

        .news-card video.news-card-media {
            object-fit: cover;
            background: #000;
        }

        .news-card-placeholder {
            background: linear-gradient(135deg, var(--primary-dark), var(--accent));
        }

        .news-card-footer {
            padding: 14px 20px 20px;
            color: var(--white);
        }

        .news-card-footer .news-event-date {
            color: var(--sky-soft);
            font-size: 13px;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .news-card-footer p {
            color: var(--sky-soft);
            margin: 0;
        }

        .news-lightbox {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(0, 0, 0, 0.88);
        }

        .news-lightbox[hidden] {
            display: none;
        }

        .news-lightbox-image {
            max-width: min(1200px, 100%);
            max-height: calc(100vh - 48px);
            width: auto;
            height: auto;
            object-fit: contain;
            border-radius: 6px;
            box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
        }

        .news-lightbox-close {
            position: absolute;
            top: 12px;
            right: 16px;
            border: 0;
            background: transparent;
            color: #fff;
            font-size: 40px;
            line-height: 1;
            cursor: pointer;
        }

        body.news-lightbox-open {
            overflow: hidden;
        }


        .home-news-grid {
            margin-top: 22px;
        }

        .home-news-action {
            margin-top: 24px;
        }

        .news-event-date {
            color: var(--muted);
            font-size: 14px;
            margin-bottom: 8px;
        }

        .news-event-media {
            margin: 14px 0;
        }

        .news-event-media img,
        .news-event-media video {
            display: block;
            width: 100%;
            max-height: 360px;
            object-fit: cover;
            border-radius: 6px;
            background-color: #000;
        }


        .about-page main {
            background: var(--light);
        }

        .about-page .container {
            max-width: 1540px;
            width: 80%;
        }

        .about-hero {
            position: relative;
            background:
                linear-gradient(90deg, rgba(0, 90, 145, 0.88), rgba(0, 166, 81, 0.56), rgba(30, 30, 30, 0.40)),
                url("../images/about_page_hero.a55ae8ac30da.webp");
            background-size: cover;
            background-position: center;
            color: var(--white);
            min-height: 74vh;
            padding: 130px 0 96px;
            display: flex;
            align-items: center;
            border-bottom: 0;
        }

        .about-hero-content {
            max-width: 900px;
        }

        .about-hero h2 {
            color: var(--white);
            font-size: 72px;
            line-height: 1.12;
            margin: 0 0 18px;
        }

        .about-hero p {
            color: var(--sky-soft);
            font-size: 22px;
            max-width: 620px;
            margin-bottom: 28px;
        }

        .about-hero-badge {
            display: inline-flex;
            padding: 7px 18px;
            border: 1px solid rgba(255, 255, 255, 0.52);
            border-radius: 999px;
            color: var(--white);
            font-size: 13px;
            font-weight: 900;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .about-breadcrumb {
            margin: 18px 0 18px;
            color: var(--white) !important;
            font-size: 16px !important;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .hero-actions .button-outline {
            margin-left: 0;
        }

        .about-hero .button {
            background: var(--accent);
            border-radius: 999px;
            min-width: 160px;
            text-align: center;
        }

        .about-hero .button-outline {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.72);
            color: var(--white);
        }

        .about-story-section,
        .about-values-section,
        .about-facilities-section,
        .about-gallery-section {
            background: var(--light);
            padding: 96px 0;
        }

        .about-mission-section,
        .about-director-section {
            background: var(--white);
            padding: 96px 0;
        }

        .about-gallery-section {
            background: var(--secondary-dark);
            color: var(--white);
        }

        .about-gallery-section h3,
        .about-gallery-section .section-label {
            color: var(--white);
        }

        .section-label {
            display: inline-flex;
            width: fit-content;
            color: var(--accent-dark);
            background: rgba(0, 166, 81, 0.10);
            border-radius: 999px;
            padding: 7px 16px;
            font-size: 13px;
            font-weight: 900;
            letter-spacing: 1px;
            margin-bottom: 22px;
            text-transform: uppercase;
        }

        .about-copy h3,
        .about-mission-section h3,
        .about-values-section h3,
        .about-facilities-section h3,
        .about-gallery-section h3 {
            color: var(--text);
            font-size: 44px;
            line-height: 1.15;
            margin: 0 0 22px;
        }

        .about-gallery-section h3 {
            color: var(--white);
        }

        .about-copy p {
            color: var(--muted);
            font-size: 19px;
            line-height: 1.72;
            margin: 0 0 18px;
        }

        .about-director-grid {
            display: grid;
            grid-template-columns: 0.82fr 1fr;
            gap: 46px;
            align-items: center;
        }

        .about-director-card,
        .facility-card,
        .value-item,
        .about-mission-card {
            border: 1px solid rgba(229, 231, 235, 0.95);
            border-radius: 18px;
            background: var(--white);
            box-shadow: 0 20px 50px rgba(0, 90, 145, 0.08);
        }

        .about-story-shell {
            padding: 42px;
            border-radius: 20px;
            border: 1px solid rgba(0, 90, 145, 0.14);
            background: linear-gradient(180deg, #f2f8fd 0%, #ffffff 100%);
            box-shadow: 0 18px 44px rgba(0, 90, 145, 0.08);
        }

        .about-story-head {
            max-width: 860px;
            margin-bottom: 30px;
        }

        .about-story-head p {
            margin: 0;
        }

        .about-story-layout {
            display: grid;
            grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
            gap: 30px;
            align-items: stretch;
        }

        .about-story-visual {
            position: relative;
            min-height: 380px;
            overflow: hidden;
            border-radius: 16px;
            border: 1px solid rgba(0, 90, 145, 0.16);
            box-shadow: 0 14px 34px rgba(0, 90, 145, 0.12);
        }

        .about-story-visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .about-story-visual::after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 38%;
            background: linear-gradient(180deg, rgba(6, 49, 75, 0), rgba(6, 49, 75, 0.76));
        }

        .about-story-badge {
            position: absolute;
            left: 14px;
            bottom: 14px;
            z-index: 1;
            background: var(--primary);
            color: var(--white);
            border-radius: 999px;
            padding: 8px 14px;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .about-story-points {
            display: grid;
            gap: 12px;
        }

        .about-point-card {
            padding: 18px 20px;
            border-radius: 12px;
            border: 1px solid rgba(0, 90, 145, 0.14);
            background: var(--white);
            box-shadow: 0 8px 22px rgba(0, 90, 145, 0.08);
        }

        .about-point-card h4 {
            margin: 0 0 6px;
            color: var(--secondary-dark);
            font-size: 22px;
            line-height: 1.2;
        }

        .about-point-card p {
            margin: 0;
            color: var(--muted);
            font-size: 16px;
            line-height: 1.5;
        }

        .about-mission-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 24px;
        }

        .about-mission-card {
            padding: 34px;
            border-left: 6px solid var(--primary);
        }

        .about-mission-card:nth-child(2) {
            border-left-color: var(--secondary);
        }

        .about-mission-card span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            border-radius: 14px;
            color: var(--white);
            background: var(--accent);
            font-weight: 900;
            margin-bottom: 20px;
        }

        .about-mission-card h4 {
            color: var(--text);
            font-size: 26px;
            margin: 0 0 12px;
        }

        .about-mission-card p {
            color: var(--muted);
            font-size: 17px;
            line-height: 1.65;
            margin: 0;
        }

        .about-section-heading {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 34px;
            text-align: right;
        }

        .about-section-heading h3 {
            max-width: 720px;
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 22px;
        }

        .value-item {
            min-height: 230px;
            padding: 34px 28px;
        }

        .value-icon,
        .value-item strong,
        .value-item span {
            display: block;
        }

        .value-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(0, 166, 81, 0.14), rgba(0, 136, 216, 0.12));
            padding: 12px;
            margin-bottom: 28px;
        }

        .value-icon img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .value-item strong {
            color: var(--text);
            font-size: 24px;
            line-height: 1.2;
            margin-bottom: 14px;
        }

        .value-item span {
            color: var(--muted);
            font-size: 17px;
            line-height: 1.65;
        }

        .about-director-card {
            overflow: hidden;
        }

        .about-director-card img {
            display: block;
            width: 100%;
            height: 360px;
            object-fit: cover;
        }

        .about-director-card div {
            padding: 28px;
        }

        .about-director-card h4 {
            color: var(--text);
            font-size: 26px;
            margin: 0 0 8px;
        }

        .about-director-card span {
            color: var(--accent-dark);
            font-size: 14px;
            font-weight: 900;
            letter-spacing: 3px;
            text-transform: uppercase;
        }

        .facility-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 22px;
        }

        .facility-card {
            overflow: hidden;
        }

        .facility-card img {
            display: block;
            width: 100%;
            height: 230px;
            object-fit: cover;
        }

        .facility-card h4,
        .facility-card p {
            margin-left: 18px;
            margin-right: 18px;
        }

        .facility-card h4 {
            color: var(--text);
            font-size: 21px;
            margin-top: 20px;
            margin-bottom: 8px;
        }

        .facility-card p {
            color: var(--muted);
            line-height: 1.55;
            margin-bottom: 24px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            grid-auto-rows: 210px;
            gap: 18px;
        }

        .gallery-item {
            position: relative;
            display: block;
            overflow: hidden;
            border-radius: 18px;
            box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
            color: var(--white);
            text-decoration: none;
        }

        .gallery-feature {
            grid-column: span 1;
            grid-row: span 1;
        }

        .gallery-item img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.35s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .gallery-item::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0, 90, 145, 0.05), rgba(0, 90, 145, 0.82));
        }

        .gallery-hero {
            background: linear-gradient(90deg, rgba(0, 90, 145, 0.9) 0%, rgba(0, 90, 145, 0.68) 48%, rgba(0, 166, 81, 0.28) 100%), url("../images/classroom-pics.c197198c5d9e.jpeg");
            background-size: cover;
            background-position: center;
            color: var(--white);
            min-height: 82vh;
            padding: 180px 0 120px;
            display: flex;
            align-items: center;
            text-align: center;
        }

        .gallery-hero-content {
            max-width: 760px;
        }

        .gallery-hero h2 {
            color: var(--white);
            font-size: 68px;
            line-height: 1.15;
            margin: 0 0 16px;
        }

        .gallery-hero p {
            color: var(--sky-soft);
            font-size: 18px;
            line-height: 1.7;
            margin: 0 auto 14px;
            max-width: 680px;
        }

        .gallery-group-section {
            background:
                linear-gradient(135deg, rgba(234, 246, 255, 0.9), rgba(255, 255, 255, 0.98) 48%, rgba(240, 253, 244, 0.92));
            padding: 96px 0;
            scroll-margin-top: 90px;
        }

        .gallery-group-section:nth-of-type(even) {
            background:
                linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98) 45%, rgba(234, 246, 255, 0.9));
        }

        .gallery-group-section .container {
            background: rgba(255, 255, 255, 0.72);
            border: 1px solid rgba(0, 90, 145, 0.1);
            border-radius: 24px;
            box-shadow: 0 24px 60px rgba(15, 41, 66, 0.08);
            padding: 38px;
        }

        .gallery-group-section .about-section-heading {
            align-items: flex-end;
            border-bottom: 1px solid rgba(0, 90, 145, 0.12);
            margin-bottom: 28px;
            padding-bottom: 22px;
        }

        .gallery-group-intro {
            color: var(--muted);
            font-size: 17px;
            line-height: 1.7;
            margin: 8px 0 0;
            max-width: 660px;
        }

        .gallery-photo-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 22px;
        }

        .gallery-photo-card {
            background: var(--white);
            border: 1px solid rgba(0, 90, 145, 0.08);
            border-radius: 18px;
            box-shadow: 0 18px 38px rgba(15, 41, 66, 0.13);
            margin: 0;
            overflow: hidden;
            position: relative;
        }

        .gallery-photo-trigger {
            display: block;
            width: 100%;
            border: 0;
            padding: 0;
            background: transparent;
            cursor: zoom-in;
        }

        .gallery-photo-card img,
        .gallery-photo-media {
            display: block;
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.35s ease;
            background: #000;
        }

        .gallery-photo-card:hover img {
            transform: scale(1.04);
        }


        .academics-page main {
            background: var(--white);
        }

        .academics-hero {
            background: linear-gradient(90deg, rgba(0, 90, 145, 0.92) 0%, rgba(0, 90, 145, 0.74) 46%, rgba(0, 166, 81, 0.26) 100%), url("../images/school-building.c0fcd9ae065b.jpg");
            background-size: cover;
            background-position: center;
            color: var(--white);
            min-height: 56vh;
            padding: 120px 0 90px;
            display: flex;
            align-items: center;
            text-align: center;
        }

        .academics-hero-content {
            max-width: 760px;
        }

        .academics-hero h2 {
            color: var(--white);
            font-size: 54px;
            line-height: 1.15;
            margin: 0 0 16px;
        }

        .academics-hero p {
            color: var(--sky-soft);
            font-size: 20px;
            margin: 0 auto;
            max-width: 760px;
        }

        .academics-section {
            background: var(--white);
        }

        .academics-band {
            background: var(--sky-soft);
        }

        .academics-section h3,
        .academics-band h3 {
            color: var(--secondary-dark);
            font-size: 34px;
            line-height: 1.25;
            margin: 0 0 24px;
        }

        .academics-lead {
            color: var(--text);
            font-size: 18px;
            max-width: 1040px;
            margin: 0 0 34px;
        }

        .academics-feature-grid,
        .subject-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 22px;
        }

        .academics-feature-card,
        .subject-card,
        .academics-list-card,
        .assessment-card,
        .club-card {
            background: var(--white);
            border: 1px solid rgba(217, 226, 236, 0.72);
            border-radius: 14px;
            box-shadow: 0 18px 42px rgba(15, 41, 66, 0.08);
        }

        .academics-feature-card,
        .subject-card {
            min-height: 270px;
            padding: 34px 28px;
            text-align: center;
        }

        .academics-icon,
        .subject-card span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 58px;
            height: 58px;
            border-radius: 50%;
            background: rgba(16, 166, 74, 0.12);
            color: var(--accent);
            font-weight: bold;
            margin-bottom: 22px;
        }

        .academics-feature-card h4,
        .subject-card h4,
        .academics-list-card h4,
        .assessment-card h4,
        .club-card h4 {
            color: var(--accent-dark);
            font-size: 24px;
            line-height: 1.25;
            margin: 0 0 14px;
        }

        .academics-feature-card p,
        .subject-card p,
        .assessment-card p {
            color: var(--text);
            font-size: 16px;
            margin: 0;
        }

        .academics-subtitle {
            color: var(--secondary-dark);
            font-size: 24px;
            margin: 38px 0 22px;
        }

        .academics-card-grid {
            display: grid;
            gap: 24px;
        }

        .three-columns {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .academics-list-card {
            padding: 30px 32px;
            min-height: 220px;
        }

        .academics-list-card ul {
            margin: 0;
            padding-left: 20px;
            color: var(--text);
            font-size: 16px;
        }

        .assessment-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 28px;
        }

        .assessment-card {
            border-left: 5px solid var(--accent);
            padding: 42px 36px;
            min-height: 210px;
        }

        .club-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px;
        }

        .club-card {
            padding: 32px;
            min-height: 230px;
        }

        .club-card span {
            display: inline-block;
            background: var(--accent);
            color: var(--white);
            border-radius: 999px;
            padding: 10px 18px;
            margin: 8px 8px 0 0;
            font-size: 15px;
        }

        .site-cta {
            position: relative;
            overflow: hidden;
            background: linear-gradient(90deg, rgba(0, 90, 145, 0.86), rgba(0, 166, 81, 0.70), rgba(242, 106, 27, 0.32)), url("../images/school-building.c0fcd9ae065b.jpg");
            background-size: cover;
            background-position: center;
            color: var(--white);
            text-align: center;
            padding: 64px 0 76px;
        }

        .site-cta::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 90px;
            background: linear-gradient(180deg, rgba(0, 90, 145, 0), var(--secondary-dark) 92%);
        }

        .site-cta .container {
            position: relative;
            z-index: 1;
        }

        .site-cta h2 {
            color: var(--white);
            font-size: 38px;
            line-height: 1.2;
            margin: 0 0 14px;
        }

        .site-cta p {
            color: var(--sky-soft);
            font-size: 18px;
            max-width: 680px;
            margin: 0 auto 28px;
        }

        .site-cta-actions {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 14px;
        }

        .site-cta-actions .button {
            background: var(--white);
            color: var(--secondary-dark);
            border-radius: 999px;
            min-width: 170px;
        }

        .site-cta-actions .button-outline {
            background: rgba(255, 255, 255, 0.08);
            color: var(--white);
            border-color: rgba(255, 255, 255, 0.65);
            margin-left: 0;
        }

        .site-footer {
            background-color: var(--secondary-dark);
            color: var(--sky-soft);
            padding: 58px 0 24px;
        }

        .news-events-admin-page .site-footer {
            display: none;
        }

        .news-events-admin-page .site-cta-actions .button-outline {
            display: none;
        }

        .news-events-admin-page .reveal,
        .news-events-admin-page .reveal-card {
            opacity: 1;
            transform: none;
            transition: none;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.2fr 1.2fr 1fr 1.2fr;
            gap: 38px;
            padding-bottom: 38px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.16);
        }

        .footer-column h3,
        .footer-column h4 {
            color: var(--white);
            margin: 0 0 18px;
        }

        .footer-column p,
        .footer-column li {
            color: var(--sky-soft);
            margin: 0 0 12px;
        }

        .footer-column ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-column a {
            color: var(--sky-soft);
            text-decoration: none;
        }

        .footer-column a:hover {
            color: var(--primary);
        }

        .footer-contact li,
        .footer-hours li {
            display: flex;
            gap: 10px;
            align-items: flex-start;
        }

        .footer-icon {
            color: var(--primary);
            font-weight: bold;
            min-width: 22px;
        }

        .footer-social {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 64px;
            height: 64px;
            overflow: hidden;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.18);
            color: var(--white);
            font-weight: bold;
            text-decoration: none;
            margin-top: 14px;
        }

        .footer-social-icon {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .footer-bottom {
            color: var(--sky-soft);
            text-align: center;
            margin: 22px 0 0;
        }

        @media (max-width: 700px) {
            header {
                align-items: flex-start;
                flex-wrap: wrap;
                gap: 12px;
                padding: 14px 6%;
            }

            .site-logo {
                width: 46px;
                height: 46px;
            }

            header h1 {
                font-size: 18px;
            }

            nav {
                width: 100%;
                gap: 14px;
                justify-content: flex-start;
            }

            nav > a {
                display: inline-flex;
                font-size: 14px;
            }

            .nav-menu-button {
                position: absolute;
                top: 17px;
                right: 6%;
                width: 42px;
                height: 40px;
            }

            .menu-overlay {
                padding: 26px 7vw 44px;
            }

            .menu-close {
                top: 24px;
                right: 7vw;
                width: 54px;
                height: 54px;
                font-size: 36px;
            }

            .menu-content {
                grid-template-columns: 1fr;
                gap: 34px;
                margin-top: 40px;
            }

            .menu-links {
                gap: 24px;
            }

            .menu-links a {
                font-size: clamp(32px, 12vw, 52px);
                letter-spacing: 1px;
            }

            .menu-card {
                justify-self: stretch;
            }

            .menu-card-image {
                min-height: 260px;
                border-radius: 16px;
            }

            .menu-card-caption {
                margin-top: 24px;
                font-size: 19px;
            }

            .admin-layout,
            .admin-item,
            .admin-gallery-item {
                grid-template-columns: 1fr;
            }

            .admin-actions {
                flex-direction: row;
                flex-wrap: wrap;
            }

            .admin-item-main {
                grid-template-columns: 1fr;
            }

            .admin-item-media {
                width: 100%;
                height: 180px;
            }

            .admin-gallery-media,
            .admin-gallery-item img {
                width: 100%;
                height: 190px;
            }

            .admin-login-shell {
                min-height: 700px;
                padding: 124px 0 56px;
                background:
                    linear-gradient(180deg, rgba(5, 24, 42, 0.68), rgba(5, 24, 42, 0.42)),
                    url("../images/school-building.c0fcd9ae065b.jpg") center / cover no-repeat;
            }

            .admin-login-container {
                margin-left: auto;
                margin-right: auto;
            }

            .admin-login-panel {
                padding: 24px 20px;
            }

            .admin-login-header h2 {
                font-size: 26px;
            }

            .hero {
                min-height: 84vh;
                padding: 190px 0 100px;
            }

            .hero h2 {
                font-size: 36px;
            }

            .home-video-hero {
                min-height: 92vh;
                align-items: flex-start;
            }

            .home-video-content {
                grid-template-columns: 1fr;
                gap: 28px;
                padding-top: 150px;
                padding-bottom: 80px;
            }

            .home-video-content h2 {
                font-size: 38px;
            }

            .home-video-content p {
                font-size: 17px;
            }

            .hero-rubiks-cube {
                width: 100%;
                max-width: 190px;
                justify-self: start;
            }

            .rubiks-cube {
                width: 112px;
                height: 112px;
            }

            .cube-front {
                transform: translateZ(56px);
            }

            .cube-right {
                transform: rotateY(90deg) translateZ(56px);
            }

            .cube-top {
                transform: rotateX(90deg) translateZ(56px);
            }

            .scroll-cue {
                display: none;
            }

            .image-card img {
                height: 190px;
            }

            .feature-grid,
            .feature-grid.reverse,
            .feature-grid.links {
                grid-template-columns: 1fr;
            }

            .pathway-grid {
                grid-template-columns: 1fr;
            }

            .pathway-card {
                min-height: 260px;
            }

            .pathway-card h3 {
                font-size: 30px;
            }

            .home-about-showcase {
                padding: 70px 0 82px;
            }

            .home-about-showcase::before {
                width: 78%;
                height: 36%;
            }

            .home-about-content {
                grid-template-columns: 1fr;
                gap: 38px;
            }

            .home-about-showcase h3 {
                font-size: 34px;
            }

            .home-about-showcase p {
                font-size: 17px;
            }

            .home-about-list {
                grid-template-columns: 1fr;
            }

            .home-about-list li {
                min-height: 78px;
            }

            .home-about-visual {
                min-height: auto;
            }

            .home-about-visual img {
                height: 320px;
                border-radius: 22px 22px 22px 56px;
            }

            .home-difference {
                padding: 70px 0 82px;
            }

            .home-difference-heading {
                margin-bottom: 38px;
            }

            .home-difference-heading h3 {
                font-size: 32px;
            }

            .home-difference-heading p {
                font-size: 18px;
            }

            .difference-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .difference-card {
                min-height: 300px;
            }

            .difference-card-content h4 {
                font-size: 26px;
            }

            .tile-card,
            .tile-card img {
                min-height: 240px;
            }

            .button-outline {
                margin-left: 0;
                margin-top: 10px;
            }

            .split,
            .about-director-grid,
            .about-mission-grid {
                grid-template-columns: 1fr;
            }

            .contact-office-layout,
            .contact-visit-layout {
                grid-template-columns: 1fr;
            }

            .contact-form-grid {
                grid-template-columns: 1fr;
            }

            .contact-hero {
                min-height: 360px;
            }

            .contact-hero h2 {
                font-size: 44px;
            }

            .contact-hero p {
                font-size: 24px;
            }

            .contact-office-panel,
            .contact-message-panel,
            .contact-visit-copy {
                padding: 22px;
            }

            .contact-map-card {
                padding: 0;
            }

            .contact-map-card iframe {
                height: 320px;
            }

            .about-hero,
            .gallery-hero {
                min-height: 72vh;
                padding: 190px 0 90px;
            }

            .about-hero h2,
            .gallery-hero h2 {
                font-size: 38px;
            }

            .about-copy h3,
            .about-mission-section h3,
            .about-values-section h3,
            .about-facilities-section h3,
            .about-gallery-section h3,
            .gallery-group-section h3 {
                font-size: 27px;
            }

            .about-story-shell {
                padding: 24px;
                border-radius: 16px;
            }

            .about-story-head {
                margin-bottom: 20px;
            }

            .about-story-layout {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .about-story-visual {
                min-height: 260px;
                border-radius: 14px;
            }

            .about-point-card h4 {
                font-size: 20px;
            }

            .about-page .container {
                width: 88%;
            }

            .about-story-section,
            .about-mission-section,
            .about-values-section,
            .about-director-section,
            .about-facilities-section,
            .about-gallery-section,
            .gallery-group-section {
                padding: 68px 0;
            }

            .about-hero p,
            .gallery-hero p {
                font-size: 17px;
            }

            .values-grid,
            .facility-grid {
                grid-template-columns: 1fr;
            }

            .about-section-heading {
                justify-content: flex-start;
                text-align: left;
            }

            .about-director-card img {
                height: 260px;
            }

            .gallery-grid {
                grid-template-columns: 1fr;
                grid-auto-rows: 240px;
            }

            .gallery-photo-grid {
                grid-template-columns: 1fr;
            }

            .gallery-group-section .container {
                border-radius: 18px;
                padding: 22px;
                width: 88%;
            }

            .gallery-group-section .about-section-heading {
                align-items: flex-start;
                margin-bottom: 22px;
            }

            .gallery-group-intro {
                font-size: 16px;
            }

            .gallery-photo-card img {
                height: 240px;
            }

            .gallery-feature {
                grid-column: span 1;
                grid-row: span 1;
            }

            .site-cta h2 {
                font-size: 30px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 26px;
            }

            .academics-hero h2 {
                font-size: 38px;
            }

            .academics-hero {
                padding: 190px 0 80px;
            }

            .academics-feature-grid,
            .subject-grid,
            .three-columns,
            .assessment-grid,
            .club-grid {
                grid-template-columns: 1fr;
            }

            .academics-section h3,
            .academics-band h3 {
                font-size: 28px;
            }

         }
