/* ══════════════════════════════════════════════════════
   AHAVAH PREPARATORY SCHOOL — Master Stylesheet
   Design : Warm Glassmorphism · Mobile-First
   Fonts  : Nunito (body) + Fraunces (display)
   ══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Fraunces:ital,wght@0,600;0,700;1,500;1,700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
    --blue: #2563c4;
    --blue-lt: #3b7fe8;
    --navy: #0b1f3a;
    --navy2: #0f2d52;
    --gold: #f6a918;
    --gold-lt: #fde68a;
    --teal: #0d9488;
    --green: #22c55e;
    --coral: #f97316;
    --white: #ffffff;
    --cream: #fdfaf4;
    --soft: #f0f6ff;
    --text: #1e293b;
    --muted: #64748b;

    /* glass helpers */
    --glass: rgba(255, 255, 255, 0.10);
    --glass-b: rgba(255, 255, 255, 0.18);
    --glass-str: rgba(255, 255, 255, 0.16);
    --blur: blur(20px);

    /* layout */
    --top-h: 36px;
    --nav-h: 68px;
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 30px;
    --r-xl: 44px;
}

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background: var(--navy);
    overflow-x: hidden;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

/* ── GLOBAL BACKGROUND MESH ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 90% 55% at 8% 0%, #163a6b 0%, transparent 55%),
        radial-gradient(ellipse 65% 50% at 95% 8%, #0e5e52 0%, transparent 50%),
        radial-gradient(ellipse 70% 55% at 50% 105%, rgba(246, 169, 24, 0.18) 0%, transparent 60%),
        var(--navy);
}

/* ═══════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════ */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    height: var(--top-h);
    background: rgba(8, 18, 36, 0.92);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 0 1rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.top-bar a:hover {
    color: var(--gold);
}

.top-bar-div {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SITE NAV
═══════════════════════════════════════════ */
.site-nav {
    position: fixed;
    top: var(--top-h);
    left: 0;
    right: 0;
    z-index: 299;
}

/* inner bar */
.nav-inner {
    height: var(--nav-h);
    background: rgba(11, 31, 58, 0.78);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--glass-b);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.2rem;
}

/* Logo */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold), #c87d06);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 18px rgba(246, 169, 24, 0.45);
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1);
}

.logo-wrap:hover .logo-icon {
    transform: rotate(-8deg) scale(1.1);
}

.logo-text {
    line-height: 1.15;
}

.logo-name {
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.logo-sub {
    font-size: 0.57rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
}

/* Desktop nav links — hidden on mobile */
.nav-links {
    display: none;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.nav-enrol {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 800 !important;
    padding: 0.5rem 1.3rem !important;
    box-shadow: 0 4px 18px rgba(246, 169, 24, 0.45);
    margin-left: 0.4rem;
}

.nav-enrol:hover {
    background: #d48b08 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(246, 169, 24, 0.55) !important;
}

/* ── HAMBURGER BUTTON ── */
.hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r-sm);
    color: #fff;
    transition: background 0.2s;
}

.hamburger-btn:hover {
    background: var(--glass-str);
}

/* ── MOBILE DROPDOWN ──
   JS toggles style.display between 'none' and 'block'
   We rely on that inline style — no .active needed     */
.mobile-dropdown {
    /* display is set by JS inline — start hidden via HTML style="display:none" */
    background: rgba(9, 22, 48, 0.97);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem 1.4rem;
    flex-direction: column;
    gap: 0.2rem;
    /* When JS sets display:block the links stack */
}

.mobile-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.94rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.78rem 1rem;
    border-radius: var(--r-sm);
    transition: all 0.2s;
}

.mobile-dropdown a:hover,
.mobile-dropdown a.active {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.mob-div {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.4rem 0;
}

.mob-enrol {
    background: linear-gradient(135deg, var(--gold), #c87d06) !important;
    color: var(--navy) !important;
    justify-content: center !important;
    border-radius: 50px !important;
    padding: 0.85rem !important;
    box-shadow: 0 6px 22px rgba(246, 169, 24, 0.4);
    margin-top: 0.2rem;
    font-size: 0.95rem !important;
}

.mob-enrol:hover {
    filter: brightness(1.07);
}

.mob-wa {
    color: #4ade80 !important;
}

.mob-wa:hover {
    background: rgba(74, 222, 128, 0.1) !important;
}

.mob-call {
    color: var(--gold-lt) !important;
}

.mob-call:hover {
    background: rgba(253, 230, 138, 0.07) !important;
}

/* ═══════════════════════════════════════════
   WA FLOAT
═══════════════════════════════════════════ */
.wa-float {
    position: fixed;
    bottom: 1.4rem;
    right: 1.4rem;
    z-index: 290;
    width: 56px;
    height: 56px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.5);
    transition: transform 0.3s;
}

.wa-float:hover {
    transform: scale(1.1);
}

.wa-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* ═══════════════════════════════════════════
   SHARED SECTION UTILITIES
═══════════════════════════════════════════ */
.section-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(246, 169, 24, 0.14);
    color: var(--gold);
    border: 1px solid rgba(246, 169, 24, 0.28);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
}

section h2,
.programmes h2,
.why-us h2,
.gallery-section h2,
.testimonials h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.7rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 2rem;
}

section h2 em {
    color: var(--gold);
    font-style: italic;
}

/* reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
    min-height: 100svh;
    padding: calc(var(--top-h) + var(--nav-h) + 2.5rem) 1.25rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    gap: 3rem;
}

/* decorative background shapes */
.shapes-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.28;
}

.s1 {
    width: 340px;
    height: 340px;
    background: var(--gold);
    top: -80px;
    right: -60px;
    animation: drift 9s ease-in-out infinite;
}

.s2 {
    width: 260px;
    height: 260px;
    background: var(--teal);
    bottom: 20px;
    left: -60px;
    animation: drift 13s ease-in-out infinite reverse;
}

.s3 {
    width: 180px;
    height: 180px;
    background: #818cf8;
    top: 55%;
    right: 6%;
    animation: drift 7s ease-in-out infinite 2s;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(24px, -20px) scale(1.06);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: 50px;
    padding: 0.45rem 1.1rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--blur);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: blink 2s ease infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

/* hero heading */
.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 9vw, 5rem);
    font-weight: 700;
    line-height: 1.07;
    color: #fff;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.hero h1 em {
    color: var(--gold);
    font-style: italic;
}

.hero h1 .gold {
    color: var(--gold-lt);
}

.hero-para {
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.9;
    max-width: 480px;
    margin-bottom: 2rem;
}

/* hero CTA buttons */
.hero-btns {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold), #c87d06);
    color: var(--navy);
    font-weight: 900;
    font-size: 0.9rem;
    padding: 0.9rem 1.9rem;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(246, 169, 24, 0.42);
    transition: all 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(246, 169, 24, 0.56);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-b);
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.9rem 1.9rem;
    border-radius: 50px;
    backdrop-filter: var(--blur);
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: var(--glass-str);
    transform: translateY(-3px);
}

/* hero decorative circle — desktop only, hidden on mobile */
.hero-deco {
    display: none;
}

/* ═══════════════════════════════════════════
   STATS RIBBON
═══════════════════════════════════════════ */
.stats-ribbon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    background: rgba(11, 31, 58, 0.7);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    padding: 1.6rem 1rem;
    text-align: center;
    transition: background 0.3s;
}

.stat-item:hover {
    background: rgba(246, 169, 24, 0.1);
}

.stat-num {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.4rem;
}

/* ═══════════════════════════════════════════
   WHY US
═══════════════════════════════════════════ */
.why-us {
    padding: 4rem 1.25rem;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
    text-align: left;
}

.why-card {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r-md);
    padding: 1.6rem;
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gold);
    border-radius: 3px 0 0 3px;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3);
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.why-title {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.why-text {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════
   WAVE DIVIDER
═══════════════════════════════════════════ */
.wave {
    line-height: 0;
}

.wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ═══════════════════════════════════════════
   PROGRAMMES
═══════════════════════════════════════════ */
.programmes {
    padding: 4rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
}

.programmes .section-tag,
.programmes h2 {
    text-align: center;
    display: block;
}

.prog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.prog-card {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r-md);
    padding: 1.6rem;
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.prog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

/* left accent strip */
.prog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.p-blue::before {
    background: var(--blue-lt);
}

.p-green::before {
    background: var(--green);
}

.p-gold::before {
    background: var(--gold);
}

.p-coral::before {
    background: var(--coral);
}

.p-blue {
    border-color: rgba(59, 127, 232, 0.25);
}

.p-green {
    border-color: rgba(34, 197, 94, 0.25);
}

.p-gold {
    border-color: rgba(246, 169, 24, 0.25);
}

.p-coral {
    border-color: rgba(249, 115, 22, 0.25);
}

.prog-emoji {
    font-size: 2.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.prog-age {
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.prog-name {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.45rem;
}

.prog-desc {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.78;
}

/* ═══════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════ */
.gallery-section {
    padding: 4rem 1.25rem;
}

.gallery-section .section-tag,
.gallery-section h2 {
    text-align: center;
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.g-cell {
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--glass);
    border: 1px solid var(--glass-b);
    aspect-ratio: 1;
}

.g-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.g-cell:hover img {
    transform: scale(1.05);
}

/* make first cell span 2 cols */
.g1 {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials {
    padding: 4rem 1.25rem;
    background: linear-gradient(160deg, rgba(37, 99, 196, 0.18) 0%, rgba(13, 148, 136, 0.12) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.test-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
    text-align: left;
}

.test-card {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r-md);
    padding: 1.6rem;
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    transition: all 0.3s;
}

.test-card:hover {
    transform: translateY(-4px);
}

.test-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.test-quote {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 1.2rem;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.test-avatar {
    font-size: 2rem;
    line-height: 1;
}

.test-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
}

.test-role {
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 0.15rem;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    padding: 2.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}

.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.footer-logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--gold), #c87d06);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.footer-brand {
    font-family: 'Fraunces', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.footer-nav {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-copy {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.22);
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.about-page-wrap {
    /* outer wrapper — padding-top set inline */
}

.about-hero-banner {
    padding: 4rem 1.25rem 5rem;
    background: linear-gradient(135deg, var(--navy2) 0%, #1a5490 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* decorative blobs */
.banner-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bs {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.bs1 {
    width: 280px;
    height: 280px;
    top: -100px;
    left: -60px;
}

.bs2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 5%;
}

/* glassy bottom curve — purely visual, no white pseudo-element */
.about-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--navy);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.about-hero-banner h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.2rem, 8vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.about-hero-banner h1 em {
    color: var(--gold);
    font-style: italic;
}

.about-hero-banner p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.85;
    position: relative;
    z-index: 2;
}

/* about body */
.about-body {
    padding: 2.5rem 1.25rem 4rem;
}

.about-body-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-mission h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.about-mission p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.about-mission p:last-child {
    margin-bottom: 0;
}

/* vision boxes */
.vision-box {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r-md);
    padding: 1.75rem;
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    transition: all 0.3s;
}

.vision-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.vision-box h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.65rem;
}

.vision-box p {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.82;
}

/* team */
.team-row {
    margin-top: 3rem;
}

.team-row h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.team-grid-single {
    max-width: 280px;
    margin: 0 auto;
}

.team-card {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r-md);
    padding: 2rem;
    text-align: center;
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3);
}

.team-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.2rem;
    border: 3px solid rgba(246, 169, 24, 0.4);
    background: linear-gradient(135deg, #1e4a6e, #0d6b5e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 2.8rem;
    width: 100%;
    height: 100%;
}

.team-photo-placeholder span {
    font-family: 'Nunito', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
}

.team-name {
    font-weight: 800;
    font-size: 0.97rem;
    color: #fff;
}

.team-pos {
    font-size: 0.74rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-full {
    padding: 3rem 1.25rem 4rem;
    text-align: center;
}

.contact-full h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.7rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}

.contact-full h2 em {
    color: var(--gold);
    font-style: italic;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    margin-top: 1rem;
}

.contact-info>p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.4rem;
}

.detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(246, 169, 24, 0.13);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.detail-text {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.detail-text strong {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.detail-text span {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
}

.maps-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #99f6e4;
    margin-top: 0.35rem;
    transition: opacity 0.2s;
}

.maps-link:hover {
    opacity: 0.7;
}

.contact-number-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.contact-num-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s;
}

.contact-num-link:hover {
    color: var(--gold);
}

.wa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(34, 197, 94, 0.14);
    color: #4ade80;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
}

.wa-link:hover {
    background: rgba(34, 197, 94, 0.26);
}

/* contact form box */
.contact-form-box {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r-lg);
    padding: 2rem 1.5rem;
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
}

.form-title {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.form-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.6rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    margin-bottom: 1.1rem;
}

.form-group label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--r-sm);
    padding: 0.85rem 1rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    width: 100%;
    transition: all 0.25s;
    outline: none;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group select option {
    background: #0d1f3c;
    color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(246, 169, 24, 0.5);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(246, 169, 24, 0.1);
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), #c87d06);
    color: var(--navy);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    padding: 1.05rem;
    border: none;
    border-radius: var(--r-md);
    box-shadow: 0 8px 28px rgba(246, 169, 24, 0.4);
    transition: all 0.3s;
    letter-spacing: 0.01em;
    margin-top: 0.4rem;
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(246, 169, 24, 0.55);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
   DESKTOP ≥ 768 px
═══════════════════════════════════════════ */
@media (min-width: 768px) {

    /* Nav */
    .hamburger-btn {
        display: none;
    }

    .nav-links {
        display: flex;
    }

    .mobile-dropdown {
        display: none !important;
    }

    /* always hide on desktop */
    .nav-inner {
        padding: 0 3rem;
    }

    /* Hero */
    .hero {
        flex-direction: row;
        align-items: center;
        padding: calc(var(--top-h) + var(--nav-h) + 3rem) 3rem 4rem;
        gap: 2rem;
    }

    .hero-content {
        flex: 1;
    }

    /* Show decorative circle on desktop */
    .hero-deco {
        display: flex;
        flex: 0 0 300px;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
    }

    .deco-circle {
        width: 260px;
        height: 260px;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        backdrop-filter: var(--blur);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        animation: spin-slow 20s linear infinite;
    }

    @keyframes spin-slow {
        to {
            transform: rotate(360deg);
        }
    }

    .deco-inner {
        font-size: 4rem;
        z-index: 2;
        animation: spin-slow 20s linear infinite reverse;
    }

    .bubble {
        position: absolute;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        animation: spin-slow 20s linear infinite reverse;
    }

    .b1 {
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .b2 {
        right: -20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .b3 {
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .b4 {
        left: -20px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Stats */
    .stats-ribbon {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Why */
    .why-us {
        padding: 5rem 3rem;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    /* Programmes */
    .programmes {
        padding: 5rem 3rem;
    }

    .prog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    /* Gallery */
    .gallery-section {
        padding: 5rem 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 200px 200px;
    }

    .g1 {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
        aspect-ratio: unset;
    }

    .g-cell {
        aspect-ratio: unset;
    }

    /* Testimonials */
    .testimonials {
        padding: 5rem 3rem;
    }

    .test-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }

    /* Footer */
    footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 2.5rem 3rem;
    }

    /* About */
    .about-hero-banner {
        padding: 5rem 3rem 6rem;
    }

    .about-body {
        padding: 3rem 3rem 5rem;
    }

    .about-body-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

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

    /* Contact */
    .contact-full {
        padding: 4rem 3rem 5rem;
    }

    .contact-wrap {
        grid-template-columns: 1fr 1.2fr;
        gap: 3rem;
    }
}

@media (min-width: 1100px) {
    .nav-inner {
        padding: 0 5rem;
    }

    .hero {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .why-us {
        padding: 6rem 5rem;
    }

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

    .programmes {
        padding: 6rem 5rem;
    }

    .prog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-section {
        padding: 6rem 5rem;
    }

    .testimonials {
        padding: 6rem 5rem;
    }

    footer {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .about-hero-banner {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .about-body {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .contact-full {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}