﻿:root {
            --primary: #0f3460;
            --primary-light: #1a5080;
            --accent: #e8b923;
            --accent-soft: #fff4d4;
            --teal: #0d9488;
            --teal-dark: #0f766e;
            --surface: #ffffff;
            --surface-2: #f8fafc;
            --text: #1e293b;
            --text-muted: #64748b;
            --border: rgba(15, 52, 96, 0.08);
            --radius-sm: 10px;
            --radius: 16px;
            --radius-lg: 24px;
            --shadow-sm: 0 1px 2px rgba(15, 52, 96, 0.06);
            --shadow: 0 4px 24px rgba(15, 52, 96, 0.08);
            --shadow-lg: 0 20px 50px rgba(15, 52, 96, 0.12);
            --header-h: clamp(58px, 11vw, 76px);
            /* Horizontal page gutters (safe areas + fluid padding) */
            --gutter-x: max(clamp(12px, 3.8vw, 48px), env(safe-area-inset-left, 0px));
            --gutter-x-right: max(clamp(12px, 3.8vw, 48px), env(safe-area-inset-right, 0px));
            /* Vertical rhythm between main page blocks */
            --section-gap: clamp(22px, 4.2vw, 44px);
            /* Offset in-page anchors so titles clear the sticky header + notch */
            --scroll-padding: max(
                4.25rem,
                calc(var(--header-h) + 0.85rem + env(safe-area-inset-top, 0px))
            );
        }

        *, *::before, *::after { box-sizing: border-box; }

        img,
        video {
            max-width: 100%;
            height: auto;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: var(--scroll-padding);
            text-size-adjust: 100%;
            -webkit-text-size-adjust: 100%;
            touch-action: manipulation;
        }

        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }
        }

        body {
            margin: 0;
            overflow-x: clip;
            font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
            font-size: clamp(0.9375rem, 0.28vw + 0.89rem, 1.0625rem);
            line-height: 1.65;
            color: var(--text);
            background-color: var(--surface-2);
            background-image:
                radial-gradient(ellipse 120% 80% at 50% -20%, rgba(13, 148, 136, 0.12), transparent),
                radial-gradient(circle at 100% 0%, rgba(232, 185, 35, 0.08), transparent 40%),
                radial-gradient(circle at 0% 100%, rgba(15, 52, 96, 0.06), transparent 45%);
        }

        @supports not (overflow-x: clip) {
            body {
                overflow-x: hidden;
            }
        }

        [lang="ml"] {
            font-family: 'Noto Sans Malayalam', 'Plus Jakarta Sans', system-ui, sans-serif;
        }

        a,
        button,
        .mobile-nav summary,
        input,
        textarea {
            -webkit-tap-highlight-color: rgba(13, 148, 136, 0.18);
        }

        a {
            color: var(--teal-dark);
            text-decoration-thickness: 1px;
            text-underline-offset: 3px;
        }

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

        .skip-link {
            position: absolute;
            left: -9999px;
            top: 0;
            z-index: 9999;
            padding: 12px 20px;
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            border-radius: 0 0 var(--radius-sm) 0;
        }

        .skip-link:focus {
            left: 0;
        }

        /* —— Header —— */
        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            min-height: var(--header-h);
            margin: 0;
            padding-top: max(10px, env(safe-area-inset-top, 0px));
            padding-right: var(--gutter-x-right);
            padding-bottom: 10px;
            padding-left: var(--gutter-x);
            background: rgba(255, 255, 255, 0.82);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 3px solid var(--teal);
            box-shadow: 0 4px 24px rgba(15, 52, 96, 0.06);
        }

        header .logo-container {
            display: flex;
            align-items: center;
            gap: clamp(10px, 2.5vw, 14px);
            min-width: 0;
        }

        .header-logo-link {
            display: block;
            min-width: 0;
            color: inherit;
            text-decoration: none;
            border-radius: var(--radius-sm);
            transition: opacity 0.2s;
        }

        .header-logo-link:hover {
            opacity: 0.9;
        }

        .header-logo-link:focus-visible {
            outline: 2px solid var(--teal);
            outline-offset: 3px;
        }

        header img {
            height: clamp(44px, 10vw, 56px);
            width: auto;
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-sm);
        }

        header h1 {
            font-size: clamp(0.95rem, 2.2vw + 0.4rem, 1.45rem);
            font-weight: 700;
            letter-spacing: -0.02em;
            margin: 0;
            color: var(--primary);
            line-height: 1.2;
            overflow-wrap: anywhere;
            hyphens: auto;
        }

        .school-place {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--text-muted);
            margin-top: 2px;
        }

        .school-place > .fa {
            color: var(--teal-dark);
            font-size: 0.88rem;
            opacity: 0.88;
        }

        .main-nav {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .main-nav a {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 8px 12px;
            border-radius: 999px;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-muted);
            text-decoration: none;
            transition: background 0.2s, color 0.2s;
        }

        .main-nav a > .fa {
            font-size: 0.82rem;
            opacity: 0.88;
        }

        .main-nav a:hover > .fa {
            opacity: 1;
        }

        .main-nav a:hover {
            background: rgba(13, 148, 136, 0.1);
            color: var(--teal-dark);
        }

        .main-nav-dropdown {
            position: relative;
        }

        .main-nav-dropdown > summary {
            list-style: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 8px 12px;
            border-radius: 999px;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-muted);
            transition: background 0.2s, color 0.2s;
        }

        .main-nav-dropdown > summary::-webkit-details-marker {
            display: none;
        }

        .main-nav-dropdown > summary > .fa-graduation-cap {
            font-size: 0.82rem;
            opacity: 0.88;
        }

        .main-nav-dropdown > summary .nav-dropdown-chevron {
            font-size: 0.62rem;
            margin-left: 1px;
            opacity: 0.72;
            transition: transform 0.2s, opacity 0.2s;
        }

        .main-nav-dropdown[open] > summary .nav-dropdown-chevron {
            transform: rotate(180deg);
            opacity: 1;
        }

        .main-nav-dropdown > summary:hover,
        .main-nav-dropdown[open] > summary {
            background: rgba(13, 148, 136, 0.1);
            color: var(--teal-dark);
        }

        .main-nav-dropdown > summary:hover > .fa-graduation-cap,
        .main-nav-dropdown[open] > summary > .fa-graduation-cap {
            opacity: 1;
        }

        .main-nav-dropdown-panel {
            position: absolute;
            top: calc(100% + 6px);
            left: 0;
            min-width: min(210px, calc(100vw - var(--gutter-x) - var(--gutter-x-right) - 16px));
            max-width: calc(100vw - var(--gutter-x) - var(--gutter-x-right) - 12px);
            padding: 8px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            display: flex;
            flex-direction: column;
            gap: 4px;
            z-index: 1200;
        }

        .main-nav-dropdown-panel a {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            border-radius: var(--radius-sm);
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text);
            text-decoration: none;
            transition: background 0.2s, color 0.2s;
        }

        .main-nav-dropdown-panel a > .fa {
            font-size: 0.82rem;
            opacity: 0.88;
            color: var(--teal-dark);
        }

        .main-nav-dropdown-panel a:hover {
            background: rgba(13, 148, 136, 0.1);
            color: var(--teal-dark);
        }

        header .header-meta {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 6px;
            text-align: right;
            flex-shrink: 0;
        }

        .chip {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 4px 10px;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: var(--teal-dark);
            background: rgba(13, 148, 136, 0.12);
            border-radius: 999px;
            border: 1px solid rgba(13, 148, 136, 0.2);
        }

        .header-meta .phone-row {
            display: inline-flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px 8px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text);
        }

        .header-meta .phone-row > .fa-phone {
            color: var(--teal-dark);
            font-size: 0.88rem;
            opacity: 0.9;
        }

        .header-meta .phone-row a {
            color: inherit;
            text-decoration: none;
        }

        .header-meta .phone-row a:hover {
            color: var(--teal-dark);
        }

        /* —— Hero —— */
        .hero-wrap {
            position: relative;
            margin: 0;
            padding: 0;
        }

        .banner {
            position: relative;
            width: 100%;
            /* Room for full image (contain) — generous height cap */
            height: clamp(260px, 42vw, 560px);
            max-height: min(82vh, 720px);
            min-height: min(280px, 52vw);
            overflow: hidden;
            background: #0a1f38;
            /* No top padding — avoids a dark strip between header and carousel */
            padding: 0 max(clamp(8px, 1.5vw, 16px), env(safe-area-inset-right, 0px)) clamp(44px, 7vw, 64px) max(clamp(8px, 1.5vw, 16px), env(safe-area-inset-left, 0px));
            touch-action: pan-y pinch-zoom;
        }

        @supports (height: 100dvh) {
            .banner {
                max-height: min(82dvh, 720px);
            }
        }

        .banner-carousel {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

        .banner-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 1.1s ease-in-out;
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #0a1f38;
        }

        .banner-slide.is-active {
            opacity: 1;
            z-index: 1;
        }

        /* Full photo in frame: no stretch-crop; scales down to fit width and height */
        .banner-slide img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            object-position: center;
            display: block;
        }

        .banner-controls {
            position: absolute;
            left: 0;
            right: 0;
            bottom: clamp(48px, 9vw, 80px);
            z-index: 4;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 14px;
            padding: 0 16px;
        }

        .banner-dots {
            display: flex;
            gap: 8px;
            align-items: center;
            justify-content: center;
        }

        .banner-dot {
            width: 10px;
            height: 10px;
            padding: 0;
            border: 2px solid rgba(255, 255, 255, 0.55);
            border-radius: 50%;
            background: transparent;
            cursor: pointer;
            transition: transform 0.2s, background 0.2s, border-color 0.2s;
        }

        .banner-dot:hover {
            border-color: #fff;
            transform: scale(1.1);
        }

        .banner-dot[aria-current="true"] {
            background: var(--accent);
            border-color: var(--accent);
        }

        .banner-dot:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 3px;
        }

        .banner-nav {
            display: flex;
            gap: 8px;
        }

        .banner-nav button {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.35);
            background: rgba(255, 255, 255, 0.12);
            color: #fff;
            cursor: pointer;
            display: grid;
            place-items: center;
            transition: background 0.2s, border-color 0.2s;
        }

        .banner-nav button:hover {
            background: rgba(255, 255, 255, 0.22);
            border-color: rgba(255, 255, 255, 0.55);
        }

        .banner-nav button .fa {
            font-size: 0.95rem;
            line-height: 1;
        }

        .banner-nav button:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        @media (prefers-reduced-motion: reduce) {
            .banner-slide {
                transition: none;
            }
        }

        .hero-wave {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 3;
            line-height: 0;
            color: var(--surface-2);
        }

        .hero-wave svg {
            display: block;
            width: 100%;
            height: clamp(48px, 8vw, 72px);
        }

        /* —— Layout —— */
        .container {
            width: 100%;
            max-width: 1120px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: var(--section-gap);
            padding-top: clamp(22px, 4.5vw, 52px);
            padding-right: var(--gutter-x-right);
            padding-bottom: max(clamp(32px, 5.5vw, 72px), env(safe-area-inset-bottom, 0px));
            padding-left: var(--gutter-x);
        }

        .content-card {
            background: var(--surface);
            border-radius: clamp(14px, 3vw, var(--radius-lg));
            padding: clamp(18px, 3.8vw, 40px);
            margin-bottom: 0;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            transition: box-shadow 0.25s;
            min-width: 0;
            overflow-wrap: break-word;
        }

        .content-card:hover {
            box-shadow: var(--shadow-lg);
        }

        .section-head {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 12px 20px;
            margin-bottom: 20px;
        }

        .section-head h2 {
            margin: 0;
            font-size: clamp(1.12rem, 2.1vw + 0.45rem, 1.55rem);
            font-weight: 700;
            color: var(--primary);
            letter-spacing: -0.02em;
        }

        .section-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--teal);
        }

        .section-kicker > .fa {
            font-size: 0.92rem;
            opacity: 0.92;
        }

        .content-card p {
            color: var(--text-muted);
            margin: 0 0 1em;
        }

        .content-card p:last-child {
            margin-bottom: 0;
        }

        .nsqf-block,
        .faq-list {
            font-size: clamp(0.98rem, 0.45vw + 0.9rem, 1.08rem);
        }

        .nsqf-block p {
            color: var(--text);
        }

        .highlight-box {
            display: flex;
            align-items: center;
            gap: 14px;
            background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(13, 148, 136, 0.08) 100%);
            border: 1px solid rgba(232, 185, 35, 0.45);
            border-radius: var(--radius);
            padding: 18px 22px;
            margin-top: 20px;
            font-weight: 700;
            color: var(--primary);
            box-shadow: var(--shadow-sm);
        }

        .highlight-box > .fa-award {
            flex-shrink: 0;
            font-size: 1.35rem;
            color: var(--teal-dark);
            opacity: 0.9;
            filter: drop-shadow(0 2px 4px rgba(13, 148, 136, 0.25));
        }

        .highlight-box::before {
            content: '';
            width: 4px;
            align-self: stretch;
            border-radius: 4px;
            background: linear-gradient(180deg, var(--accent), var(--teal));
            flex-shrink: 0;
        }

        /* —— Courses —— */
        .course-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
            gap: clamp(14px, 2.5vw, 18px);
            margin-top: 8px;
        }

        .course-card {
            position: relative;
            display: flex;
            flex-direction: column;
            background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 28%);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 22px 20px 24px;
            text-align: left;
            overflow: hidden;
            transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
        }

        .course-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--teal), var(--primary-light));
            opacity: 0.9;
        }

        .course-card-icon {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: grid;
            place-items: center;
            margin-bottom: 12px;
            font-size: 1.05rem;
            color: var(--teal-dark);
            background: rgba(13, 148, 136, 0.12);
            border: 1px solid rgba(13, 148, 136, 0.2);
            box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
        }

        .course-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(13, 148, 136, 0.25);
        }

        .course-card .code-pill {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--teal-dark);
            background: rgba(13, 148, 136, 0.12);
            padding: 4px 10px;
            border-radius: 999px;
            margin-bottom: 10px;
        }

        .course-card .title {
            display: block;
            font-weight: 700;
            font-size: 1.05rem;
            color: var(--primary);
            margin-bottom: 8px;
            letter-spacing: -0.02em;
        }

        .course-card p {
            font-size: 0.9rem;
            margin: 0;
            color: var(--text-muted);
            line-height: 1.55;
        }

        /* —— Feature grid —— */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
            gap: clamp(12px, 2.2vw, 16px);
            margin-top: 8px;
        }

        .feature-tile {
            display: flex;
            gap: 14px;
            padding: 18px 18px 18px 16px;
            border-radius: var(--radius);
            background: var(--surface-2);
            border: 1px solid var(--border);
            transition: background 0.2s, border-color 0.2s;
        }

        .feature-tile:hover {
            background: rgba(13, 148, 136, 0.06);
            border-color: rgba(13, 148, 136, 0.2);
        }

        .feature-icon {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: grid;
            place-items: center;
            font-size: 1.05rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--teal-dark) 100%);
            color: #fff;
            box-shadow: 0 4px 14px rgba(15, 52, 96, 0.25);
        }

        .feature-icon > .fa {
            font-size: 1.08rem;
        }

        .feature-tile p {
            margin: 0;
            font-size: 0.92rem;
            color: var(--text);
            line-height: 1.55;
        }

        .feature-tile strong {
            color: var(--primary);
        }

        /* —— FAQ timeline —— */
        .faq-timeline {
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-top: 12px;
        }

        .faq-item {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 16px;
            align-items: start;
            padding: 18px 20px;
            border-radius: var(--radius);
            background: var(--surface-2);
            border: 1px solid var(--border);
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .faq-item:hover {
            border-color: rgba(13, 148, 136, 0.22);
            box-shadow: var(--shadow-sm);
        }

        .faq-num {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: grid;
            place-items: center;
            font-weight: 800;
            font-size: 0.9rem;
            color: #fff;
            background: linear-gradient(135deg, var(--teal) 0%, var(--primary) 100%);
            box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
        }

        .faq-item p {
            margin: 0;
            color: var(--text);
            font-size: 0.98rem;
            line-height: 1.65;
        }

        /* —— Programs —— */
        .programs-wrap {
            margin-top: 0;
            display: flex;
            flex-direction: column;
            gap: clamp(14px, 2vw, 20px);
        }

        .programs-wrap .section-head {
            margin-bottom: 0;
            padding: 0 4px;
        }

        .programs {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 108px), 1fr));
            gap: clamp(12px, 2.5vw, 16px);
            background: var(--surface);
            padding: clamp(16px, 3.2vw, 32px);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
        }

        .program-item {
            text-align: center;
            padding: clamp(14px, 2.2vw, 20px) clamp(10px, 2vw, 14px);
            border-radius: var(--radius);
            background: var(--surface-2);
            border: 1px solid transparent;
            transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
            min-width: 0;
        }

        .program-item:hover {
            transform: translateY(-3px);
            border-color: var(--border);
            box-shadow: var(--shadow);
            background: var(--surface);
        }

        .program-item img {
            width: clamp(56px, 22vw, 88px);
            max-width: 100%;
            height: auto;
            margin-bottom: 12px;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
        }

        .program-item p {
            margin: 0;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--text-muted);
            line-height: 1.4;
        }

        /* —— Contact (map + details) —— */
        .contact-section.content-card {
            background: linear-gradient(165deg, #ffffff 0%, #f4fbf9 42%, #f8fafc 100%);
            border-color: rgba(13, 148, 136, 0.14);
            box-shadow: 0 8px 36px rgba(15, 52, 96, 0.07);
        }

        .contact-section.content-card:hover {
            box-shadow: 0 12px 40px rgba(15, 52, 96, 0.1);
        }

        .contact-section {
            overflow: hidden;
        }

        .contact-section a {
            text-decoration: none;
            text-decoration-thickness: unset;
            text-underline-offset: unset;
        }

        .contact-section a:hover {
            text-decoration: none;
        }

        .contact-section .section-head {
            margin-bottom: clamp(20px, 3vw, 28px);
        }

        .contact-section .section-head h2 {
            color: var(--primary);
        }

        @supports ((-webkit-background-clip: text) or (background-clip: text)) {
            .contact-section .section-head h2 {
                background: linear-gradient(120deg, var(--primary) 0%, var(--teal-dark) 100%);
                -webkit-background-clip: text;
                background-clip: text;
                -webkit-text-fill-color: transparent;
                color: transparent;
            }
        }

        .contact-layout {
            display: grid;
            grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.88fr);
            gap: clamp(18px, 3vw, 28px);
            align-items: stretch;
        }

        .contact-map-wrap {
            display: flex;
            flex-direction: column;
            gap: 10px;
            min-width: 0;
        }

        .contact-map-frame {
            position: relative;
            flex: 1;
            min-height: clamp(200px, 38vw, 360px);
            aspect-ratio: 16 / 10;
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid rgba(13, 148, 136, 0.2);
            box-shadow:
                0 4px 24px rgba(15, 52, 96, 0.08),
                0 0 0 3px rgba(13, 148, 136, 0.06);
            background: linear-gradient(145deg, #e8f5f3 0%, #eef2f8 100%);
        }

        .contact-map-frame::after {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            border-radius: inherit;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
            z-index: 1;
        }

        .contact-map-frame iframe {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: 0;
            display: block;
            z-index: 0;
        }

        .contact-map-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 10px 16px;
            padding: 12px 14px;
            margin-top: 2px;
            border-radius: var(--radius);
            background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(232, 185, 35, 0.06) 100%);
            border: 1px solid rgba(13, 148, 136, 0.12);
        }

        .contact-map-caption {
            margin: 0;
            display: inline-flex;
            align-items: flex-start;
            gap: 8px;
            font-size: 0.82rem;
            color: var(--text);
            line-height: 1.45;
            font-weight: 500;
        }

        .contact-map-caption > .fa {
            margin-top: 0.12em;
            color: var(--teal-dark);
            flex-shrink: 0;
            font-size: 0.88rem;
            opacity: 0.95;
        }

        .contact-map-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 8px 16px;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            white-space: nowrap;
            max-width: 100%;
            color: var(--primary);
            border-radius: 999px;
            background: linear-gradient(135deg, #fff 0%, rgba(232, 185, 35, 0.22) 100%);
            border: 1px solid rgba(232, 185, 35, 0.45);
            box-shadow: 0 2px 10px rgba(15, 52, 96, 0.06);
            transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
        }

        .contact-map-link:hover {
            color: var(--teal-dark);
            border-color: var(--teal);
            box-shadow: 0 4px 16px rgba(13, 148, 136, 0.18);
            transform: translateY(-1px);
        }

        .contact-map-link > .fa {
            font-size: 0.75rem;
            opacity: 0.9;
        }

        .contact-aside {
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-width: 0;
        }

        .contact-card {
            position: relative;
            background: linear-gradient(180deg, #ffffff 0%, rgba(248, 250, 252, 0.95) 100%);
            border: 1px solid rgba(13, 148, 136, 0.12);
            border-radius: var(--radius);
            padding: 18px 18px 16px;
            transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
        }

        .contact-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 18px;
            right: 18px;
            height: 2px;
            border-radius: 0 0 3px 3px;
            background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.35), rgba(232, 185, 35, 0.4), transparent);
            opacity: 0;
            transition: opacity 0.2s;
        }

        .contact-card:hover {
            border-color: rgba(13, 148, 136, 0.28);
            box-shadow: 0 8px 28px rgba(15, 52, 96, 0.08);
            transform: translateY(-2px);
        }

        .contact-card:hover::before {
            opacity: 1;
        }

        .contact-card h3 {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0 0 10px;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--teal-dark);
        }

        .contact-card h3::before {
            content: '';
            width: 3px;
            height: 14px;
            border-radius: 2px;
            background: linear-gradient(180deg, var(--accent), var(--teal));
            flex-shrink: 0;
        }

        .contact-card h3 > .fa {
            font-size: 0.95rem;
            color: var(--teal);
            opacity: 0.95;
            width: 1.15em;
            text-align: center;
        }

        .contact-card p {
            margin: 0 0 12px;
            color: var(--text);
            font-size: 0.93rem;
            line-height: 1.58;
        }

        .contact-card p:last-child {
            margin-bottom: 0;
        }

        .contact-phone-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .contact-action-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 44px;
            padding: 11px 14px;
            border-radius: var(--radius-sm);
            font-size: 1rem;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
            letter-spacing: 0.02em;
            color: var(--primary);
            background: linear-gradient(180deg, rgba(13, 148, 136, 0.11) 0%, rgba(13, 148, 136, 0.05) 100%);
            border: 1px solid rgba(13, 148, 136, 0.22);
            text-decoration: none;
            transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
        }

        .contact-action-link:hover {
            color: var(--teal-dark);
            border-color: var(--teal);
            box-shadow: 0 4px 14px rgba(13, 148, 136, 0.15);
            transform: translateY(-1px);
        }

        .contact-action-link:focus-visible {
            outline: 2px solid var(--teal);
            outline-offset: 2px;
        }

        .contact-action-link--web {
            width: 100%;
            font-size: 0.92rem;
            word-break: break-word;
            text-align: center;
            line-height: 1.45;
        }

        .contact-web-row {
            margin: 0;
        }

        @media (max-width: 900px) {
            .contact-layout {
                grid-template-columns: 1fr;
            }

            .contact-map-wrap {
                order: -1;
            }

            .contact-map-frame {
                min-height: clamp(200px, 48vw, 300px);
                aspect-ratio: 4 / 3;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .contact-card:hover,
            .contact-map-link:hover,
            .contact-action-link:hover {
                transform: none;
            }
        }

        /* —— Footer (compact) —— */
        footer {
            position: relative;
            margin-top: 0;
            padding-top: max(clamp(18px, 3vw, 26px), env(safe-area-inset-top, 0px));
            padding-right: var(--gutter-x-right);
            padding-bottom: max(clamp(14px, 2.5vw, 20px), env(safe-area-inset-bottom, 0px));
            padding-left: var(--gutter-x);
            color: rgba(255, 255, 255, 0.92);
            background:
                linear-gradient(165deg, rgba(13, 148, 136, 0.14) 0%, transparent 42%),
                linear-gradient(180deg, #0c2d4d 0%, #071a2e 100%);
            border-top: 1px solid rgba(232, 185, 35, 0.28);
            box-shadow: 0 -12px 40px rgba(7, 26, 46, 0.35);
        }

        footer::before {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--teal) 22%, var(--accent) 50%, var(--teal) 78%, transparent);
            opacity: 0.95;
        }

        .footer-grid {
            max-width: 1120px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 12px 20px;
            min-width: 0;
            width: 100%;
        }

        .footer-brand {
            min-width: 0;
        }

        .footer-brand .name {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: clamp(0.98rem, 2vw, 1.08rem);
            font-weight: 700;
            margin: 0 0 2px;
            letter-spacing: -0.02em;
            line-height: 1.2;
            color: #fff;
        }

        .footer-brand .name > .fa-school {
            font-size: 1.05rem;
            color: #fde68a;
            opacity: 0.95;
            flex-shrink: 0;
        }

        .footer-brand .footer-tagline {
            margin: 0;
            font-size: 0.8rem;
            font-weight: 500;
            opacity: 0.78;
            line-height: 1.35;
        }

        .footer-tagline a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .footer-tagline a > .fa {
            font-size: 0.82rem;
            opacity: 0.95;
        }

        .footer-brand a {
            color: #fde68a;
            font-weight: 600;
            text-decoration: none;
            text-underline-offset: 2px;
        }

        .footer-brand a:hover {
            text-decoration: underline;
            color: #fff6c2;
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-end;
            gap: 6px;
        }

        .footer-links a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 999px;
            font-size: 0.74rem;
            font-weight: 600;
            letter-spacing: 0.01em;
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.12);
            transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
        }

        .footer-links a > .fa {
            font-size: 0.68rem;
            opacity: 0.85;
        }

        .footer-links a:hover > .fa {
            opacity: 1;
        }

        .footer-links a:hover {
            color: #0a2540;
            background: var(--accent);
            border-color: rgba(255, 255, 255, 0.35);
            transform: translateY(-1px);
        }

        .footer-links a:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .footer-bottom {
            max-width: 1120px;
            margin: 14px auto 0;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            text-align: center;
        }

        .footer-copy {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 8px;
            margin: 0;
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.02em;
            color: rgba(255, 255, 255, 0.45);
        }

        .footer-copy > .fa {
            font-size: 0.78rem;
            opacity: 0.75;
        }

        .footer-credit {
            margin: 0;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            color: rgba(253, 230, 138, 0.82);
        }

        @media (max-width: 640px) {
            .footer-grid {
                flex-direction: column;
                align-items: stretch;
            }

            .footer-links {
                justify-content: flex-start;
                gap: 8px;
            }

            .footer-links a {
                min-height: 44px;
                padding: 8px 14px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .footer-links a {
                transition: none;
            }

            .footer-links a:hover {
                transform: none;
            }
        }

        /* —— Responsive —— */
        .mobile-nav {
            display: none;
            position: relative;
        }

        .mobile-nav summary {
            list-style: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.8rem;
            font-weight: 700;
            min-height: 44px;
            padding: 12px 16px;
            border-radius: 999px;
            background: var(--surface-2);
            border: 1px solid var(--border);
            color: var(--primary);
        }

        .mobile-nav summary > .fa-bars {
            font-size: 0.95rem;
            opacity: 0.85;
        }

        .mobile-nav summary::-webkit-details-marker {
            display: none;
        }

        .mobile-nav[open] summary {
            background: rgba(13, 148, 136, 0.12);
            border-color: rgba(13, 148, 136, 0.35);
        }

        .mobile-nav-panel {
            position: absolute;
            right: max(0px, env(safe-area-inset-right, 0px));
            top: calc(100% + 8px);
            min-width: min(280px, calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
            max-width: calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
            max-height: min(70vh, calc(100vh - var(--header-h) - 28px));
            max-height: min(70dvh, calc(100dvh - var(--header-h) - 28px));
            padding: 10px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            display: flex;
            flex-direction: column;
            gap: 4px;
            z-index: 1100;
            overflow-y: auto;
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
        }

        .mobile-nav-panel a {
            display: flex;
            align-items: center;
            gap: 10px;
            min-height: 44px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.88rem;
            color: var(--text);
            text-decoration: none;
        }

        .mobile-nav-panel a > .fa {
            width: 1.1rem;
            text-align: center;
            color: var(--teal-dark);
            font-size: 0.85rem;
            opacity: 0.9;
        }

        .mobile-nav-panel a:hover {
            background: var(--surface-2);
            color: var(--teal-dark);
        }

        .mobile-nav-sub {
            border-radius: var(--radius-sm);
        }

        .mobile-nav-sub > summary {
            list-style: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            min-height: 44px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.88rem;
            color: var(--text);
            transition: background 0.15s, color 0.15s;
        }

        .mobile-nav-sub > summary::-webkit-details-marker {
            display: none;
        }

        .mobile-nav-sub > summary > .fa-graduation-cap {
            width: 1.1rem;
            text-align: center;
            color: var(--teal-dark);
            font-size: 0.85rem;
            opacity: 0.9;
        }

        .mobile-nav-sub > summary .nav-dropdown-chevron {
            margin-left: auto;
            font-size: 0.7rem;
            opacity: 0.65;
            transition: transform 0.2s;
        }

        .mobile-nav-sub[open] > summary {
            background: var(--surface-2);
            color: var(--teal-dark);
        }

        .mobile-nav-sub[open] > summary .nav-dropdown-chevron {
            transform: rotate(180deg);
            opacity: 1;
        }

        .mobile-nav-sub > a.mobile-nav-sublink {
            padding-left: 44px;
        }

        @media (max-width: 1000px) {
            .main-nav {
                display: none;
            }
            .mobile-nav {
                display: block;
                margin-left: auto;
            }
        }

        @media (max-width: 768px) {
            header .header-meta {
                align-items: flex-start;
                text-align: left;
            }
            header {
                flex-wrap: wrap;
                row-gap: 10px;
            }
            .banner {
                height: clamp(260px, 52vw, 480px);
                max-height: min(78vh, 640px);
                padding-bottom: clamp(36px, 8vw, 52px);
            }
            @supports (height: 100dvh) {
                .banner {
                    max-height: min(78dvh, 640px);
                }
            }
            .banner-controls {
                bottom: clamp(36px, 8vw, 56px);
            }
            .banner-nav button {
                width: 48px;
                height: 48px;
            }
            .banner-dot {
                width: 12px;
                height: 12px;
            }
            .banner-dots {
                gap: 10px;
            }
            .content-card {
                padding: clamp(18px, 4vw, 28px);
            }
            .section-head {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
        }

        @media (max-width: 480px) {
            :root {
                --section-gap: clamp(22px, 5vw, 34px);
            }

            .highlight-box {
                flex-wrap: wrap;
                padding: 14px 16px;
                gap: 10px;
            }

            .highlight-box > .fa-award {
                font-size: 1.15rem;
            }

            .contact-map-meta {
                flex-direction: column;
                align-items: stretch;
            }

            .contact-map-link {
                white-space: normal;
                width: 100%;
                text-align: center;
                min-height: 44px;
            }

            .contact-map-caption {
                font-size: 0.78rem;
            }

            .footer-credit {
                font-size: 0.68rem;
                line-height: 1.45;
                max-width: 20rem;
            }

            .banner {
                min-height: 200px;
                height: clamp(200px, 50vw, 420px);
            }

            .faq-item {
                padding: 14px 16px;
                gap: 12px;
            }

            .faq-item p {
                font-size: 0.94rem;
            }

            .program-item p {
                font-size: 0.78rem;
            }

            .footer-links a {
                min-height: 44px;
            }
        }

        @media (max-width: 560px) {
            header {
                display: grid;
                grid-template-columns: minmax(0, 1fr) auto;
                grid-template-rows: auto auto;
                align-items: start;
                column-gap: 10px;
                row-gap: 8px;
            }

            .header-logo-link {
                grid-column: 1;
                grid-row: 1;
                min-width: 0;
            }

            .main-nav,
            .mobile-nav {
                grid-column: 2;
                grid-row: 1;
                justify-self: end;
                align-self: start;
            }

            header .header-meta {
                grid-column: 1 / -1;
                grid-row: 2;
                flex-direction: row;
                flex-wrap: wrap;
                align-items: center;
                justify-content: flex-start;
                width: 100%;
                text-align: left;
            }
        }

        @media (max-height: 460px) and (orientation: landscape) {
            .banner {
                height: clamp(150px, 42vh, 280px);
                max-height: min(52vh, 320px);
                min-height: 140px;
            }

            .banner-controls {
                bottom: clamp(20px, 6vh, 48px);
            }
        }

        @media (max-width: 420px) {
            .faq-item {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .faq-num {
                width: 34px;
                height: 34px;
                justify-self: start;
            }
        }

        @media (max-width: 380px) {
            .feature-tile {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        @media (min-width: 1200px) {
            .banner {
                height: clamp(380px, 36vw, 600px);
                max-height: min(78vh, 760px);
            }

            @supports (height: 100dvh) {
                .banner {
                    max-height: min(78dvh, 760px);
                }
            }
        }
