/* ==========================================================================
   Ennam College of Nursing — main stylesheet
   Layout follows the LearnPro template's home page (top bar, brand bar with
   contact widgets, sticky menu, slider, features strip, …), rebuilt on
   Bootstrap 5. Colours are sampled from the college crest (assets/images/brand).
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

/* 2. Design tokens --------------------------------------------------------- */
:root {
    /* brand: royal blue #1A4FB8, sky #D1E8FC and gold #F9E65A come straight from the crest */
    --brand-950: #050E26;
    --brand-900: #0A1A45;
    --brand-800: #0E2A6B;
    --brand-700: #143C95;
    --brand-600: #1A4FB8;
    --brand-500: #2D66D3;
    --brand-400: #5B8BE6;
    --brand-300: #9DBEF2;
    --brand-200: #C4DBF9;
    --brand-100: #D1E8FC;
    --brand-50: #EEF5FE;

    --gold-200: #FDF6C8;
    --gold-300: #FBEE94;
    --gold-400: #F9E65A;
    --gold-500: #EECB3C;
    --gold-600: #D9AE2B;
    --gold-700: #8C6A12; /* text-safe gold: 5:1 on white, 4.7:1 on cream */

    /* orange: menu highlights on white, where the crest's gold is too pale to see (3.6:1 on white, gold 1.3:1) */
    --orange-50: #FFF3EA;
    --orange-400: #FB923C;
    --orange-600: #EA580C;

    --ink-900: #0B1530;
    --ink-700: #33405E;
    --ink-600: #4A5878;
    --ink-500: #5F6C8A;
    --line: #E1E8F3;
    --paper: #F5F8FD;
    --cream: #FBF8EF;
    --white: #FFFFFF;

    --grad-gold: linear-gradient(120deg, #FFF3A6 0%, var(--gold-400) 28%, var(--gold-500) 58%, #FFEB85 100%);
    --grad-royal: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
    --grad-night: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-950) 100%);

    --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 4px 14px -6px rgba(10, 26, 69, .12);
    --shadow: 0 22px 44px -22px rgba(10, 26, 69, .28);
    --shadow-lg: 0 40px 80px -32px rgba(10, 26, 69, .38);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --topbar-h: 0px;
    --header-h: 68px;
    --nav-h: 0px;
    --sticky-h: var(--header-h);
    --section-y: clamp(48px, 5.5vw, 84px);
    --block-gap: clamp(32px, 4vw, 56px);
    --container-w: 100vw;

    --bs-body-font-family: var(--font-sans);
    --bs-body-color: var(--ink-700);
    --bs-body-bg: var(--white);
    --bs-link-color-rgb: 26, 79, 184;
    --bs-link-hover-color-rgb: 20, 60, 149;
    --bs-border-color: var(--line);
}
@media (min-width: 576px) { :root { --container-w: 540px; } }
@media (min-width: 768px) { :root { --container-w: 720px; } }
@media (min-width: 992px) { :root { --topbar-h: 40px; --header-h: 92px; --container-w: 960px; } }
@media (min-width: 1200px) { :root { --nav-h: 58px; --sticky-h: var(--nav-h); --container-w: 1140px; } }
@media (min-width: 1400px) { :root { --container-w: 1320px; } }

/* 3. Base ------------------------------------------------------------------ */
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-700);
    background: var(--white);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
@media (min-width: 1400px) { body { font-size: 1.0625rem; } }
/* body's overflow is handed to the viewport and does not clip, so cards that slide in from the side are clipped here */
main { overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { color: var(--brand-950); font-weight: 700; letter-spacing: -.01em; }
p { margin-bottom: 1.1rem; }
a { color: var(--brand-600); text-decoration: none; transition: color .25s; }
a:hover { color: var(--brand-700); }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
address { font-style: normal; margin: 0; }
::selection { background: var(--gold-400); color: var(--brand-950); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
/* anchors and keyboard focus stop below the sticky menu (one rule on the page rather than one per element) */
html { scroll-padding-top: calc(var(--sticky-h) + 16px); }
.container { --bs-gutter-x: 2rem; }
@media (min-width: 992px) { .container { --bs-gutter-x: 1.5rem; } }
/* a row's negative margin must not exceed the container padding, or phones scroll sideways */
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 2rem; --bs-gutter-y: 2.25rem; } }
.g-xl-6 { --bs-gutter-x: 4.5rem; --bs-gutter-y: 4.5rem; }
@media (max-width: 1199.98px) { .g-xl-6 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 3rem; } }
/* Photo + text rows: the photo starts level with the heading and, on screens tall enough, stays in view
   beside the longer text column instead of floating in the middle of an empty column (the home page's
   About and B.Sc. Nursing sections are balanced instead: see "10. About" and .programme__more) */
@media (min-width: 992px) and (min-height: 680px) {
    .split .library__img, .split .life__mosaic {
        position: sticky; top: calc(var(--sticky-h) + 24px);
    }
}

.skip-link {
    position: fixed; top: -100px; left: 16px; z-index: 2000;
    padding: .75rem 1.25rem; border-radius: 0 0 12px 12px;
    background: var(--brand-950); color: #fff; font-weight: 700;
    transition: top .25s;
}
.skip-link:focus { top: 0; color: #fff; }

/* split text pieces (GSAP SplitText) */
.sw, .sc { display: inline-block; position: relative; will-change: transform, opacity; }

/* Elements that main.js animates in stay hidden until it starts, so they never flash before animating.
   Without JavaScript (.no-js) nothing is hidden, and if the script never gets going they appear after 3.5 s. */
@keyframes reveal-failsafe { to { opacity: 1; } }
.js:not(.is-ready) :is([data-reveal], [data-reveal-stagger] > *, [data-split], .page-hero__inner) {
    opacity: 0; animation: reveal-failsafe .4s 3.5s forwards;
}
@media (prefers-reduced-motion: reduce) {
    .js:not(.is-ready) :is([data-reveal], [data-reveal-stagger] > *, [data-split], .page-hero__inner) { opacity: 1; animation: none; }
}

/* 4. Shared components ----------------------------------------------------- */
.section { position: relative; isolation: isolate; padding-block: var(--section-y); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .75rem;
    margin-bottom: 1rem;
    font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--brand-600);
}
.eyebrow::before {
    content: ""; width: 34px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
}
.eyebrow--center::after {
    content: ""; width: 34px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
}
.eyebrow--light { color: var(--gold-400); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.25rem + 2.5vw, 3.35rem);
    font-weight: 560;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: var(--brand-950);
    margin-bottom: 1.4rem;
    text-wrap: balance;
}
.section-title--sm { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.6rem); }
.section-title em, .living-card__title em {
    font-style: italic;
    font-weight: 500;
    color: var(--brand-600);
    background: linear-gradient(transparent 64%, rgba(249, 230, 90, .55) 64%, rgba(249, 230, 90, .55) 92%, transparent 92%) 0 0 / 100% 100% no-repeat;
    padding-inline: .04em;
}
.section-title--light, .vmv .section-title { color: #fff; }
.section-title--light:not(.is-split) em {
    background: var(--grad-gold);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
}
.section-title--light.is-split em { color: var(--gold-400); background: none; }
.section-head { max-width: 760px; margin: 0 auto clamp(1.75rem, 3vw, 2.5rem); }
.lead-text { font-size: 1.125rem; color: var(--ink-900); }
.mini-title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); margin: 1.75rem 0 .9rem; }
.note {
    display: flex; gap: .6rem; align-items: flex-start;
    margin: 1.25rem 0 0; padding: .9rem 1.1rem; border-radius: var(--radius-sm);
    background: var(--brand-50); color: var(--ink-600); font-size: .9rem; line-height: 1.6;
}
.note i { color: var(--brand-600); font-size: 1.1rem; line-height: 1.4; }
.footnote { font-size: .82rem; color: var(--ink-500); margin: 1rem 0 0; }

/* Buttons */
.btn-ec {
    --fg: #fff;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
    padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
    font-family: var(--font-sans); font-size: .95rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
    color: var(--fg); background: var(--grad-royal);
    box-shadow: 0 14px 28px -14px rgba(26, 79, 184, .75);
    cursor: pointer; white-space: nowrap;
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-position .6s var(--ease-out), color .3s, border-color .3s;
}
.btn-ec::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, 0) 52%);
    opacity: .55;
}
.btn-ec::after {
    content: ""; position: absolute; top: -60%; left: -70%; width: 45%; height: 220%; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
    transform: rotate(18deg) translateX(-120%);
    transition: transform 1s var(--ease-out);
}
.btn-ec:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(26, 79, 184, .8); }
.btn-ec:hover::after { transform: rotate(18deg) translateX(520%); }
.btn-ec:active { transform: translateY(0) scale(.98); }
.btn-ec__icon {
    display: grid; place-items: center; flex: none;
    width: 30px; height: 30px; margin-right: -.7rem; border-radius: 50%;
    background: rgba(255, 255, 255, .2); font-size: 1rem;
    transition: transform .45s var(--ease-out), background-color .3s;
}
.btn-ec:hover .btn-ec__icon { transform: rotate(45deg); }
.btn-ec--gold {
    --fg: var(--brand-950);
    background: var(--grad-gold); background-size: 180% 100%; background-position: 0 0;
    box-shadow: 0 14px 30px -14px rgba(217, 174, 43, .85);
}
.btn-ec--gold:hover { background-position: 100% 0; box-shadow: 0 20px 36px -14px rgba(217, 174, 43, .95); }
.btn-ec--gold .btn-ec__icon { background: rgba(10, 26, 69, .12); }
.btn-ec--glass {
    background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .38);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: none;
}
.btn-ec--glass:hover { background: rgba(255, 255, 255, .2); box-shadow: none; }
.btn-ec--outline { --fg: var(--brand-700); background: transparent; border: 1.5px solid var(--brand-200); box-shadow: none; }
.btn-ec--outline::before { display: none; }
.btn-ec--outline:hover { --fg: #fff; background: var(--brand-600); border-color: var(--brand-600); box-shadow: 0 14px 28px -14px rgba(26, 79, 184, .75); }
.btn-ec--navy { background: var(--brand-950); box-shadow: 0 16px 30px -16px rgba(5, 14, 38, .9); }
.btn-ec--navy:hover { box-shadow: 0 22px 36px -16px rgba(5, 14, 38, .95); }
.btn-ec--sm { padding: .6rem 1.15rem; font-size: .85rem; gap: .6rem; }
.btn-ec--sm .btn-ec__icon { width: 24px; height: 24px; margin-right: -.5rem; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.section-more { display: flex; justify-content: center; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.more-link {
    display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
    font-weight: 700; font-size: .92rem; color: var(--brand-700);
    border-bottom: 1.5px solid var(--gold-500); padding-bottom: .15rem;
    transition: color .3s, gap .35s var(--ease-out);
}
.more-link:hover { color: var(--brand-600); gap: .7rem; }

.round-btn {
    display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
    border: 1.5px solid var(--brand-200); background: #fff; color: var(--brand-700); font-size: 1.2rem;
    transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.round-btn:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; transform: translateY(-2px); }
.round-btn.swiper-button-disabled { opacity: .4; pointer-events: none; }

/* Glass surfaces */
.glass {
    background: linear-gradient(140deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07));
    border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.glass-dark {
    background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

/* Lists, chips */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; line-height: 1.55; }
.checklist li::before {
    content: "\eb81"; font-family: "remixicon"; position: absolute; left: 0; top: .05em;
    display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%;
    font-size: .85rem; color: var(--brand-950); background: var(--grad-gold);
}
.checklist--light li { color: rgba(255, 255, 255, .86); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li {
    padding: .5rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
    color: var(--brand-800); background: #fff; border: 1px solid var(--brand-100);
    box-shadow: var(--shadow-sm);
}
.chips--soft li { background: var(--brand-50); box-shadow: none; }
.chips--dark li { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); box-shadow: none; }

.monogram {
    display: grid; place-items: center; flex: none;
    width: 52px; height: 52px; border-radius: 50%;
    font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em;
    color: var(--gold-400); background: var(--grad-night);
    box-shadow: inset 0 0 0 2px rgba(249, 230, 90, .55), 0 10px 20px -10px rgba(5, 14, 38, .7);
}
.monogram--sm { width: 42px; height: 42px; font-size: .9rem; }

/* 5. Preloader, progress, floating controls -------------------------------- */
.preloader { display: none; }
.js .preloader {
    position: fixed; inset: 0; z-index: 3000;
    display: grid; place-items: center;
    background: radial-gradient(circle at 50% 40%, var(--brand-800) 0%, var(--brand-950) 70%);
    /* failsafe: never block the page if the script below cannot run */
    animation: pl-auto-hide .6s 5s forwards;
}
@keyframes pl-auto-hide { to { opacity: 0; visibility: hidden; } }
.preloader__inner { display: grid; justify-items: center; gap: 1.1rem; }
.preloader__emblem { width: 108px; height: 108px; overflow: visible; }
.pl-ring { fill: none; stroke: var(--gold-400); stroke-width: 1.6; stroke-dasharray: 296; stroke-dashoffset: 296; animation: pl-draw 1.2s var(--ease-out) forwards; }
.pl-disc { fill: var(--brand-600); transform-origin: 50% 50%; transform: scale(0); animation: pl-pop .7s .25s var(--ease-out) forwards; }
.pl-cross, .pl-hand { fill: var(--gold-400); opacity: 0; transform-origin: 50% 60%; animation: pl-fade .6s .6s var(--ease-out) forwards; }
.pl-hand { animation-delay: .75s; }
.preloader__pulse { width: 200px; height: 34px; }
.preloader__pulse path { fill: none; stroke: var(--gold-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: pl-draw 1.4s .3s ease-in-out infinite; }
.preloader__name { margin: 0; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .04em; color: #fff; opacity: .9; }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }
@keyframes pl-pop { to { transform: scale(1); } }
@keyframes pl-fade { from { opacity: 0; transform: translateY(6px) scale(.9); } to { opacity: 1; transform: none; } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-gold); box-shadow: 0 0 12px rgba(249, 230, 90, .7); }

.to-top {
    position: fixed; right: 20px; bottom: 24px; z-index: 900;
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    color: #fff; background: var(--brand-900); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .4s, visibility .4s, transform .4s var(--ease-out), background-color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--brand-950); background: var(--gold-400); }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--gold-400); stroke-width: 2.5; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; stroke-linecap: round; }
.to-top i { font-size: 1.25rem; }

.action-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 950;
    display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 6px; padding: 6px;
    border-radius: 20px; background: rgba(5, 14, 38, .9);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -12px rgba(5, 14, 38, .6);
    transform: translateY(140%); transition: transform .5s var(--ease-out);
}
.action-bar.is-visible { transform: none; }
.action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: .45rem .25rem; border-radius: 14px; font-size: .72rem; font-weight: 700; color: #fff;
}
.action-bar a i { font-size: 1.2rem; line-height: 1; }
.action-bar .action-bar__main { color: var(--brand-950); background: var(--grad-gold); }
@media (max-width: 991.98px) {
    .footer__bottom { padding-bottom: calc(1.4rem + 84px); }
    .to-top { bottom: 92px; right: 14px; width: 46px; height: 46px; }
}

/* 6. Top bar, header, navigation ------------------------------------------ */
.topbar { position: relative; z-index: 60; height: var(--topbar-h); background: var(--brand-950); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topbar__note { display: flex; align-items: center; gap: .6rem; margin: 0; }
.topbar__note i { color: var(--gold-400); font-size: 1rem; }
.topbar__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-500); }
.topbar__links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.topbar__links a { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255, 255, 255, .82); }
.topbar__links a:hover { color: var(--gold-400); }
.topbar__links i { color: var(--gold-400); }
.topbar__cta { padding: .2rem .8rem; border-radius: 999px; border: 1px solid rgba(249, 230, 90, .45); color: var(--gold-300) !important; }
/* link to the sister college's website (opens in a new tab) */
.topbar__sister {
    display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .7rem;
    border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07);
    font-weight: 600; color: #fff;
    transition: color .25s, background-color .25s, border-color .25s;
}
.topbar__sister:hover, .topbar__sister:focus-visible { color: var(--brand-950); background: var(--gold-400); border-color: var(--gold-400); }
.topbar__note .topbar__sister i { font-size: .95rem; transition: color .25s, transform .35s var(--ease-out); }
.topbar__sister:hover i, .topbar__sister:focus-visible i { color: var(--brand-950); }
.topbar__sister:hover .ri-arrow-right-up-line { transform: translate(2px, -2px); }

.site-header {
    position: sticky; top: 0; z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid rgba(225, 232, 243, .8);
    transition: transform .45s var(--ease-out), box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10, 26, 69, .35); }
.site-header.is-hidden { transform: translateY(-100%); }
@media (min-width: 1200px) {
    .site-header { position: relative; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; }
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }

.brand { display: flex; align-items: center; gap: .8rem; min-width: 0; color: inherit; }
.brand__logo { width: auto; height: 52px; flex: none; filter: drop-shadow(0 6px 10px rgba(10, 26, 69, .15)); }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--brand-950); letter-spacing: -.01em; white-space: nowrap; }
.brand__sub { display: none; margin-top: .3rem; font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-500); white-space: nowrap; }
@media (min-width: 400px) { .brand__name { font-size: 1.22rem; } }
@media (max-width: 389.98px) {
    .brand { gap: .6rem; }
    .brand__logo { height: 44px; }
    .brand__name { font-size: 1rem; white-space: normal; }
}
@media (min-width: 576px) { .brand__sub { display: block; } }
@media (min-width: 992px) {
    .brand__logo { height: 70px; }
    .brand__name { font-size: 1.6rem; }
    .brand__sub { font-size: .8rem; }
}
.brand--light .brand__name { color: #fff; }

.header-info { align-items: center; gap: 1.75rem; }
.header-info__item { display: flex; align-items: center; gap: .8rem; color: var(--ink-900); }
.header-info__item small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); }
.header-info__item strong { display: block; font-size: .95rem; color: var(--brand-900); }
.header-info__item:hover strong { color: var(--brand-600); }
.header-info__emails { font-size: .76rem !important; line-height: 1.45; white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-header__inner { gap: .75rem; }
    .brand__name { font-size: 1.4rem; }
    .brand__sub { font-size: .7rem; }
    .header-info { gap: .9rem; }
    .header-info__item[href^="mailto:"] .header-info__icon { display: none; }
    .header-info__item[href^="mailto:"] strong { font-size: .82rem; }
}
.header-info__icon {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.3rem;
    color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100);
    transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}
.header-info__item:hover .header-info__icon { background: var(--brand-600); color: #fff; transform: rotate(-6deg); }

.menu-toggle {
    display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px;
    border: 0; background: var(--brand-900); box-shadow: 0 10px 20px -10px rgba(5, 14, 38, .8);
}
.menu-toggle__bars { display: grid; gap: 5px; width: 20px; }
.menu-toggle__bars span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, width .3s; }
.menu-toggle__bars span:nth-child(2) { width: 70%; justify-self: end; background: var(--gold-400); }
.menu-toggle:hover .menu-toggle__bars span:nth-child(2) { width: 100%; }

.mainnav {
    position: sticky; top: 0; z-index: 1000; height: var(--nav-h);
    background: linear-gradient(90deg, var(--brand-900), var(--brand-700) 55%, var(--brand-800));
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset;
    transition: box-shadow .3s, background-color .3s;
}
.mainnav::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent); opacity: .5;
}
.mainnav.is-stuck { box-shadow: 0 16px 32px -18px rgba(5, 14, 38, .7); }
.mainnav__inner { position: relative; display: flex; align-items: center; height: 100%; }
.mainnav__mini {
    display: grid; place-items: center; flex: none; width: 0; opacity: 0; overflow: hidden;
    transition: width .45s var(--ease-out), opacity .3s, margin .45s var(--ease-out);
}
.mainnav__mini img { width: 34px; height: 34px; }
.mainnav.is-stuck .mainnav__mini { width: 40px; opacity: 1; margin-right: .6rem; }
.mainnav__list { display: flex; align-items: center; justify-content: space-between; flex: 1; height: 100%; list-style: none; margin: 0; padding: 0; }
.mainnav__item { position: relative; height: 100%; }
.mainnav__link {
    position: relative; display: flex; align-items: center; gap: .15rem; height: 100%;
    padding: 0 .7rem; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .9); white-space: nowrap;
}
.mainnav__link i { font-size: .95rem; opacity: .7; transition: transform .3s; }
.mainnav__link::after {
    content: ""; position: absolute; left: .7rem; right: .7rem; bottom: 12px; height: 2px; border-radius: 2px;
    background: var(--gold-400); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.mainnav__link:hover, .mainnav__link.is-active, .mainnav__item.is-open > .mainnav__link { color: #fff; }
.mainnav__link:hover::after, .mainnav__link.is-active::after, .mainnav__item.is-open > .mainnav__link::after { transform: scaleX(1); transform-origin: left; }
/* current page: body[data-page] matches the menu item's data-nav */
:is([data-page="home"] .mainnav__link[data-nav="home"], [data-page="about"] .mainnav__link[data-nav="about"], [data-page="management"] .mainnav__link[data-nav="management"],
    [data-page="academics"] .mainnav__link[data-nav="academics"], [data-page="admissions"] .mainnav__link[data-nav="admissions"], [data-page="facilities"] .mainnav__link[data-nav="facilities"],
    [data-page="student-life"] .mainnav__link[data-nav="student-life"], [data-page="anti-ragging"] .mainnav__link[data-nav="anti-ragging"], [data-page="gallery"] .mainnav__link[data-nav="gallery"],
    [data-page="contact"] .mainnav__link[data-nav="contact"]) { color: #fff; }
:is([data-page="home"] .mainnav__link[data-nav="home"], [data-page="about"] .mainnav__link[data-nav="about"], [data-page="management"] .mainnav__link[data-nav="management"],
    [data-page="academics"] .mainnav__link[data-nav="academics"], [data-page="admissions"] .mainnav__link[data-nav="admissions"], [data-page="facilities"] .mainnav__link[data-nav="facilities"],
    [data-page="student-life"] .mainnav__link[data-nav="student-life"], [data-page="anti-ragging"] .mainnav__link[data-nav="anti-ragging"], [data-page="gallery"] .mainnav__link[data-nav="gallery"],
    [data-page="contact"] .mainnav__link[data-nav="contact"])::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 1400px) {
    .mainnav__link { padding: 0 .95rem; font-size: .93rem; }
    .mainnav__link::after { left: .95rem; right: .95rem; }
}

.dd {
    position: absolute; top: calc(100% - 6px); left: -.5rem; z-index: 10;
    display: grid; gap: 2px; min-width: 290px; padding: .6rem;
    border-radius: 18px; background: #fff;
    box-shadow: 0 30px 60px -20px rgba(5, 14, 38, .45), 0 0 0 1px rgba(10, 26, 69, .05);
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: top left;
    transition: opacity .3s, transform .4s var(--ease-out), visibility .3s;
}
.dd::before { content: ""; position: absolute; top: -6px; left: 2rem; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.dd--end { left: auto; right: -.5rem; transform-origin: top right; }
.dd--end::before { left: auto; right: 2rem; }
.mainnav__item.is-open > .dd { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
    .mainnav__item.has-dd:hover > .dd, .mainnav__item.has-dd:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
    .mainnav__item.has-dd:hover > .mainnav__link i { transform: rotate(180deg); }
}
.dd__link { position: relative; display: flex; align-items: center; gap: .85rem; padding: .65rem .8rem; border-radius: 12px; color: var(--ink-900); transition: background-color .25s; }
.dd__link > i {
    display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px;
    font-size: 1.1rem; color: var(--brand-600); background: var(--brand-50);
    transition: background-color .25s, color .25s, box-shadow .25s, transform .35s var(--ease-out);
}
.dd__link strong { display: block; font-size: .9rem; line-height: 1.3; color: var(--brand-950); }
.dd__link small { display: block; font-size: .78rem; color: var(--ink-500); }
/* hovered or keyboard-focused item: orange, which stands out on the white panel (the gold did not) */
.dd__link:hover, .dd__link:focus-visible { background: var(--orange-50); }
.dd__link:focus-visible { outline-color: var(--orange-600); outline-offset: 0; }
.dd__link:hover > i, .dd__link:focus-visible > i { color: #fff; background: var(--orange-600); box-shadow: 0 8px 16px -8px rgba(234, 88, 12, .8); transform: rotate(-8deg); }
/* the page being viewed (marked by main.js) */
.dd__link.is-current { background: var(--brand-50); }
.dd__link.is-current > i { color: var(--orange-400); background: var(--grad-night); }
.dd__link.is-current strong { color: var(--brand-700); }

/* Mobile offcanvas menu */
.mobile-menu { --bs-offcanvas-width: min(420px, 92vw); color: #fff; background: var(--grad-night); border-left: 0 !important; }
.mobile-menu__head { padding: 1.1rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-menu__head .brand__logo { height: 46px; }
.mobile-menu__head .brand__name { font-size: 1.05rem; white-space: normal; }
.mobile-menu__close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.4rem; }
.mobile-menu__body { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: .75rem 1.25rem 1.5rem; }
.mnav { list-style: none; margin: 0; padding: 0; }
.mnav > li { border-bottom: 1px solid rgba(255, 255, 255, .07); }
.mnav__link {
    display: flex; align-items: center; justify-content: space-between; padding: .95rem .25rem;
    font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: #fff; cursor: pointer; list-style: none;
}
.mnav__link::-webkit-details-marker { display: none; }
.mnav__link i { color: var(--gold-400); transition: transform .35s var(--ease-out); }
.mnav__group[open] .mnav__link i { transform: rotate(45deg); }
.mnav__link:hover { color: var(--gold-300); }
:is([data-page="home"] [data-nav="home"], [data-page="about"] [data-nav="about"], [data-page="management"] [data-nav="management"],
    [data-page="academics"] [data-nav="academics"], [data-page="admissions"] [data-nav="admissions"], [data-page="facilities"] [data-nav="facilities"],
    [data-page="student-life"] [data-nav="student-life"], [data-page="anti-ragging"] [data-nav="anti-ragging"], [data-page="gallery"] [data-nav="gallery"],
    [data-page="contact"] [data-nav="contact"]).mnav__link { color: var(--gold-300); }
.mnav__sub { display: grid; gap: .1rem; padding: 0 0 .9rem .25rem; }
.mnav__sub a { padding: .45rem .75rem; border-left: 2px solid rgba(249, 230, 90, .35); font-size: .95rem; color: rgba(255, 255, 255, .78); }
.mnav__sub a:hover { color: var(--gold-300); border-left-color: var(--gold-400); }
.mnav__sub a.is-current { color: var(--gold-300); border-left-color: var(--gold-400); background: rgba(249, 230, 90, .08); font-weight: 700; }
.mobile-menu__foot { display: grid; gap: .75rem; }
.mobile-menu__contact { display: flex; align-items: flex-start; gap: .6rem; color: rgba(255, 255, 255, .82); font-size: .92rem; word-break: break-all; }
.mobile-menu__contact i { flex: none; margin-top: .15rem; color: var(--gold-400); }
.mobile-menu__email-list { display: grid; gap: .4rem; }
.offcanvas-backdrop.show { opacity: .65; }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
    --hero-h: clamp(540px, calc(100svh - var(--header-h) - var(--topbar-h) - var(--nav-h)), 900px);
    position: relative; isolation: isolate; overflow: hidden;
    min-height: var(--hero-h); color: #fff; background: var(--brand-950);
}
@media (max-width: 575.98px) { .hero { --hero-h: clamp(560px, calc(100svh - var(--header-h)), 760px); } }
/* slides grow when their text needs more room (small phones); every slide stretches to the tallest */
.hero-slide { position: relative; display: flex; align-items: center; overflow: hidden; height: auto; min-height: var(--hero-h); }
.hero-slide__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-slide__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); will-change: transform; }
.hero--image-slides { height: auto; aspect-ratio: 1600 / 589; min-height: 0; }
.hero--image-slides .hero-slider, .hero--image-slides .swiper-wrapper { height: 100%; }
.hero--image-slides .hero-slide { display: block; height: 100%; min-height: 0; }
.hero--image-slides .hero-slide__media { z-index: 0; }
.hero--image-slides .hero-slide__media::after { display: none; }
.hero--image-slides .hero-slide__img {
    object-fit: contain; object-position: center; transform: none; animation: none;
}
.hero--image-slides .hero-ui { bottom: 18px; justify-content: flex-start; }
@media (max-width: 767.98px) { .hero--image-slides .hero-nav { display: none; } }
/* phones show the whole banner too (never cropped), so the pause button shrinks into the corner */
@media (max-width: 767.98px) {
    .hero--image-slides .hero-ui { bottom: 8px; justify-content: flex-end; }
}
.hero-pause[hidden] { display: none; }
@media (max-width: 767.98px) { .hero .hero-pause { width: 32px; height: 32px; font-size: .95rem; background: rgba(5, 14, 38, .55); } }
.hero-slide__media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 14, 38, .92) 0%, rgba(5, 14, 38, .72) 38%, rgba(5, 14, 38, .2) 78%, rgba(5, 14, 38, .1) 100%),
        linear-gradient(0deg, rgba(5, 14, 38, .78) 0%, rgba(5, 14, 38, 0) 38%);
}
@media (max-width: 991.98px) {
    .hero-slide__media::after { background: linear-gradient(180deg, rgba(5, 14, 38, .45) 0%, rgba(5, 14, 38, .62) 40%, rgba(5, 14, 38, .92) 100%); }
    .hero-slide { align-items: flex-end; }
}
.hero-slide__content { position: relative; padding-block: 2.5rem 6.5rem; }
/* the Quick Links card overlaps the bottom of the hero whenever that section follows it */
.hero:has(+ .quick) .hero-slide__content { padding-bottom: 9.75rem; }
@media (min-width: 1200px) { .hero:has(+ .quick) .hero-slide__content { padding-bottom: 8.5rem; } }
.hero-slide__content > * { max-width: 680px; }
@media (min-width: 1200px) { .hero-slide__content > * { max-width: 620px; } }
@media (min-width: 1400px) { .hero-slide__content > * { max-width: 700px; } }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem;
    padding: .45rem 1rem .45rem .8rem; border-radius: 999px;
    font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-eyebrow__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); }
.hero-eyebrow__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold-400); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 1.1rem + 4vw, 4.7rem);
    font-weight: 560; line-height: 1.04; letter-spacing: -.025em;
    color: #fff; margin-bottom: 1.4rem; text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 480; color: var(--gold-400); padding-right: .05em; }
.hero-title:not(.is-split) em {
    background: linear-gradient(110deg, var(--gold-300) 0%, var(--gold-400) 30%, #FFF8D2 48%, var(--gold-500) 66%, var(--gold-400) 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    animation: shimmer 7s linear infinite;
}
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.hero-text { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); line-height: 1.7; color: rgba(255, 255, 255, .84); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
@media (max-width: 399.98px) {
    .hero-actions .btn-ec { width: 100%; }
    .hero-eyebrow { font-size: .66rem; letter-spacing: .1em; }
}
@media (max-width: 359.98px) { .hero-title { font-size: 2.1rem; } }

.hero-card-wrap { position: absolute; inset: 0; z-index: 3; align-items: center; justify-content: flex-end; pointer-events: none; padding-bottom: 4rem; }
@media (max-height: 740px) { .hero-card-wrap { display: none !important; } }
.hero-card { width: 330px; padding: 1.4rem 1.5rem; border-radius: 26px; color: #fff; pointer-events: auto; }
.hero-card__kicker { display: flex; align-items: center; gap: .45rem; margin-bottom: .2rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.hero-card__title { font-family: var(--font-display); font-weight: 560; font-size: 1.65rem; color: #fff; margin-bottom: .8rem; }
.hero-card__facts { display: grid; gap: .55rem; margin: 0 0 1.1rem; }
.hero-card__facts div { padding-bottom: .55rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hero-card__facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hero-card__facts dd { margin: .1rem 0 0; font-weight: 700; line-height: 1.4; color: #fff; }
.hero-card__facts dd span { font-weight: 500; color: rgba(255, 255, 255, .7); }
.hero-card__call { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .6rem; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.hero-card__call:hover { color: var(--gold-300); }

.hero-ui { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 1rem; pointer-events: none; }
.hero:has(+ .quick) .hero-ui { bottom: 84px; }
@media (min-width: 1200px) { .hero-ui { justify-content: flex-start; gap: 2.5rem; } }
.hero-ui > * { pointer-events: auto; }
.hero-pagination { display: flex; gap: 1.1rem; }
.hero-pagination.swiper-pagination-horizontal { width: auto; }
.hero-pagination .swiper-pagination-bullet {
    width: auto; height: auto; margin: 0 !important; padding: .35rem 0; border-radius: 0;
    display: flex; flex-direction: column; gap: .45rem; background: none; opacity: 1; border: 0;
    color: rgba(255, 255, 255, .55); font-size: .78rem; font-weight: 700; letter-spacing: .1em; cursor: pointer;
}
.hp-bar { position: relative; display: block; width: 46px; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; border-radius: 2px; }
.hp-bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--gold-400); }
.hero-pagination .swiper-pagination-bullet-active { color: #fff; }
@media (min-width: 768px) { .hp-bar { width: 72px; } }
.hero-nav { display: flex; gap: .6rem; }
.hero-nav__btn {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    color: #fff; font-size: 1.25rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: background-color .3s, color .3s, transform .3s var(--ease-out);
}
.hero-nav__btn:hover { color: var(--brand-950); background: var(--gold-400); border-color: var(--gold-400); transform: scale(1.06); }
@media (max-width: 575.98px) { .hero-nav__btn { width: 44px; height: 44px; } .hero-pagination { gap: .7rem; } .hp-bar { width: 32px; } }
.hero-scroll {
    position: absolute; left: 50%; bottom: 84px; z-index: 4; transform: translateX(-50%);
    flex-direction: column; align-items: center; gap: .5rem;
    font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.hero-scroll:hover { color: #fff; }
.hero-scroll__mouse { position: relative; width: 22px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 12px; }
.hero-scroll__mouse::after { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-400); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
@media (max-width: 1199.98px) { .hero-scroll { display: none !important; } }

/* Banner slideshow (home, #rs-slider) -------------------------------------- */
/* One whole banner at a time (never cropped), fading in every 5 seconds; main.js moves .is-active and the
   dots' .active. Without JavaScript the first banner shows. "fade" and "active" are Bootstrap classes too,
   so these rules stay inside the slideshow. */
.slideshow-container { position: relative; margin: auto; }
.slideshow-container .mySlides { display: none; }
.slideshow-container .mySlides.is-active { display: block; }
.slideshow-container .mySlides img { display: block; width: 100%; height: auto; }
.slideshow-container .mySlides.fade { opacity: 1; transition: none; animation: slideshow-fade 1.5s; }
@keyframes slideshow-fade { from { opacity: .4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .slideshow-container .mySlides.fade { animation: none; } }
.rs-slider__pause {
    position: absolute; right: clamp(8px, 2vw, 24px); bottom: clamp(8px, 2vw, 24px); z-index: 2;
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    color: #fff; font-size: 1.15rem; background: rgba(5, 14, 38, .45); border: 1px solid rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s, color .3s, border-color .3s;
}
.rs-slider__pause:hover { color: var(--brand-950); background: var(--gold-400); border-color: var(--gold-400); }
.rs-slider__pause:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }
@media (max-width: 767.98px) { .rs-slider__pause { width: 32px; height: 32px; font-size: .95rem; } }
/* the dots are kept but hidden; show them by changing display: none to inline-block */
.rs-slider__dots { text-align: center; }
.rs-slider .dot {
    display: none; width: 15px; height: 15px; margin: 0 2px; border-radius: 50%;
    background-color: #fff; transition: background-color .6s ease;
}
.rs-slider .dot.active { background-color: #fff; }

/* Approvals and affiliations ---------------------------------------------- */
.affiliations {
    position: relative; isolation: isolate; overflow: hidden; padding: clamp(1rem, 2vw, 1.5rem) 0;
    background-color: #E8F7F2;
}
.affiliations::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .8;
    background-image:
        linear-gradient(90deg, transparent calc(50% - 1px), rgba(107, 171, 148, .2) calc(50% - 1px), rgba(107, 171, 148, .2) calc(50% + 1px), transparent calc(50% + 1px)),
        linear-gradient(0deg, transparent calc(50% - 1px), rgba(107, 171, 148, .2) calc(50% - 1px), rgba(107, 171, 148, .2) calc(50% + 1px), transparent calc(50% + 1px));
    background-size: 40px 40px;
}
.affiliations__grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
    list-style: none; margin: 0; padding: 0;
}
/* every card fills its grid cell, so the cards in a row (and, with grid-auto-rows, in both rows) match */
.affiliations__grid > li { display: flex; min-width: 0; }
.affiliations__card {
    --affiliation-accent: #27966E;
    display: flex; flex: 1; align-items: center; gap: 14px; min-width: 0; min-height: 132px; padding: 16px 14px;
    border: 1px solid rgba(18, 54, 74, .08); border-top: 3px solid var(--affiliation-accent); border-radius: 18px;
    background: rgba(255, 255, 255, .95); box-shadow: 0 12px 24px -18px rgba(10, 26, 69, .34);
}
.affiliations__card--state-council { --affiliation-accent: #239A7A; }
.affiliations__card--university { --affiliation-accent: #536FA3; }
.affiliations__card--national-council { --affiliation-accent: #8971B7; }
.affiliations__card[href] { color: inherit; text-decoration: none; transition: transform .3s var(--ease-out), box-shadow .3s; }
.affiliations__card[href]:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -20px rgba(10, 26, 69, .45); }
.affiliations__card[href]:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 3px; }
.affiliations__logo {
    display: grid; place-items: center; flex: 0 0 68px; width: 68px; aspect-ratio: 1;
    overflow: hidden; border: 1px solid rgba(10, 26, 69, .1); border-radius: 50%; background: #fff;
    box-shadow: 0 5px 14px -9px rgba(10, 26, 69, .45);
}
.affiliations__logo img { display: block; width: 100%; height: 100%; padding: 2px; border-radius: 50%; object-fit: contain; }
.affiliations__logo--state-council img { padding: 0; object-fit: cover; object-position: center top; transform: scale(1.85); transform-origin: center top; }
.affiliations__copy { display: block; min-width: 0; }
.affiliations__label {
    display: block; margin-bottom: .3rem; color: var(--affiliation-accent);
    font-size: .62rem; font-weight: 800; letter-spacing: .16em; line-height: 1.25; text-transform: uppercase;
}
.affiliations__name {
    display: block; color: var(--brand-950); font-family: var(--font-display);
    font-size: clamp(.92rem, 1vw, 1.08rem); font-weight: 600; line-height: 1.25; text-wrap: balance;
}
@media (max-width: 991.98px) {
    .affiliations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
}
/* phones: the logo sits centred at the top of each card and the text is centred below it, so all four
   logos line up whatever the length of the name */
@media (max-width: 575.98px) {
    .affiliations { padding-block: .85rem; }
    .affiliations__grid { gap: 10px; }
    .affiliations__card { flex-direction: column; align-items: center; gap: 10px; min-height: 0; padding: 16px 10px; border-radius: 15px; text-align: center; }
    .affiliations__logo { flex: none; width: 58px; }
    .affiliations__label { margin-bottom: .25rem; font-size: .56rem; letter-spacing: .12em; }
    .affiliations__name { font-size: .86rem; }
}
/* 8. Quick links ----------------------------------------------------------- */
.quick { position: relative; z-index: 6; margin-top: -58px; }
.quick__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: .5rem;
    border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(225, 232, 243, .7);
}
@media (min-width: 1200px) { .quick__grid { grid-template-columns: repeat(8, 1fr); } }
.quick__item {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .65rem;
    height: 100%; padding: 1.1rem .4rem; border-radius: 18px; text-align: center;
    font-size: .82rem; font-weight: 700; line-height: 1.3; color: var(--brand-950);
    transition: background-color .3s, transform .4s var(--ease-out);
}
.quick__icon {
    display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; font-size: 1.4rem;
    color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100);
    transition: background-color .3s, color .3s, transform .45s var(--ease-out), box-shadow .3s;
}
.quick__item:hover { background: var(--paper); color: var(--brand-950); transform: translateY(-3px); }
.quick__item:hover .quick__icon { color: var(--brand-950); background: var(--grad-gold); border-color: transparent; transform: translateY(-2px) rotate(-6deg); box-shadow: 0 12px 20px -10px rgba(217, 174, 43, .9); }
@media (max-width: 575.98px) {
    .quick { margin-top: -44px; }
    .quick__grid { padding: .35rem; border-radius: 20px; }
    .quick__item { padding: .8rem .2rem; font-size: .7rem; gap: .45rem; }
    .quick__icon { width: 42px; height: 42px; border-radius: 13px; font-size: 1.2rem; }
}

/* 9. Stats ----------------------------------------------------------------- */
.stats { position: relative; isolation: isolate; padding-block: clamp(32px, 4vw, 56px) clamp(8px, 1.5vw, 20px); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .stats__grid { grid-template-columns: repeat(6, 1fr); } }
.stat { position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 1.25rem 1.25rem 1.25rem 1.5rem; }
.stat::before { content: ""; position: absolute; left: 0; top: 1.4rem; bottom: 1.4rem; width: 1px; background: linear-gradient(180deg, transparent, var(--brand-200), transparent); }
.stat__num {
    font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1;
    letter-spacing: -.03em; font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.stat__label { font-size: .86rem; font-weight: 600; line-height: 1.4; color: var(--ink-600); }
.stat__label em, .lib-stats li > span em { font-style: normal; font-weight: 500; color: var(--ink-500); }

/* 10. About ---------------------------------------------------------------- */
.about { isolation: isolate; padding-top: clamp(36px, 4vw, 60px); }
.about__media { position: relative; padding: 0 12% 18% 0; }
.about__main { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3.5; box-shadow: var(--shadow-lg); }
.about__main img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; }
.about__small {
    position: absolute; right: 0; bottom: 0; width: 56%; overflow: hidden; aspect-ratio: 4 / 3;
    border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.about__small img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
    position: absolute; left: -12px; bottom: 26%; z-index: 2;
    display: flex; align-items: center; gap: .8rem; padding: .8rem 1.1rem .8rem .8rem; border-radius: 18px;
    background: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .9); color: var(--brand-950);
}
.about__badge img { width: 52px; height: 52px; }
.about__badge strong { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; }
.about__badge small { display: block; font-size: .76rem; font-weight: 600; color: var(--ink-600); }
.about__dots {
    position: absolute; right: 2%; top: -26px; z-index: -1; width: 160px; height: 160px;
    background-image: radial-gradient(var(--gold-500) 1.6px, transparent 1.7px); background-size: 16px 16px; opacity: .7;
}
@media (max-width: 575.98px) { .about__badge { left: 8px; bottom: 30%; padding: .55rem .8rem .55rem .55rem; } .about__badge img { width: 40px; height: 40px; } .about__badge strong { font-size: 1.05rem; } }
.about__pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; list-style: none; margin: 1.6rem 0; padding: 0; }
.about__pillars li {
    display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; border-radius: 14px;
    font-size: .92rem; font-weight: 700; color: var(--brand-950); background: var(--paper); border: 1px solid var(--line);
}
.about__pillars i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; font-size: 1.1rem; color: #fff; background: var(--grad-royal); }
@media (max-width: 399.98px) { .about__pillars { grid-template-columns: 1fr; } }
.about__quote {
    position: relative; margin: 0 0 2rem; padding: 1.1rem 1.25rem 1.1rem 1.5rem; border-radius: 0 16px 16px 0;
    border-left: 3px solid var(--gold-500); background: linear-gradient(90deg, var(--cream), rgba(251, 248, 239, 0));
    font-family: var(--font-display); font-style: italic; font-size: 1.08rem; line-height: 1.6; color: var(--ink-900);
}
.about__quote p { margin: 0; }
.about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
/* pillars, quotation and button follow the photos and the welcome text (on phones the spacing is as before,
   when they were in the text column) */
.about__more { margin-top: .5rem; }
.about__more .about__pillars { margin-top: 0; }
@media (min-width: 992px) {
    /* the photos and the welcome text are about the same height, so they sit level beside each other and
       no empty column is left under the photos; the rest spans the full width below */
    .about .split { align-items: center; }
    .about__more { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
    .about__more .about__pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
    .about__close { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2.5rem; }
    .about__close .about__quote { margin: 0; }
}
.signature { display: flex; align-items: center; gap: .8rem; color: var(--ink-900); }
.signature strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--brand-950); }
.signature small { display: block; font-size: .8rem; color: var(--ink-500); }
.signature:hover strong { color: var(--brand-600); }

/* 11. Vision / mission / aim ---------------------------------------------- */
.vmv { color: rgba(255, 255, 255, .82); background: var(--grad-night); overflow: hidden; isolation: isolate; }
.vmv::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(60% 50% at 85% 10%, rgba(45, 102, 211, .35), transparent 70%),
        radial-gradient(40% 40% at 10% 90%, rgba(249, 230, 90, .08), transparent 70%);
}
.vmv__watermark { position: absolute; right: -140px; top: 40px; z-index: -1; width: 560px; height: 560px; opacity: .05; filter: grayscale(1) brightness(3); pointer-events: none; }
.vmv__vision { max-width: 1080px; margin-bottom: var(--block-gap); }
.vmv__statement {
    font-family: var(--font-display); font-weight: 450;
    font-size: clamp(1.6rem, 1rem + 1.4vw, 3.05rem); line-height: 1.28; letter-spacing: -.015em; color: #fff; margin: 0;
}
.vmv__statement em { font-style: italic; color: var(--gold-400); }
.vmv-card { height: 100%; padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); border-radius: var(--radius-lg); }
.vmv-card__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.vmv-card__head h3 { margin: 0; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); color: #fff; }
.vmv-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-size: 1.5rem; color: var(--brand-950); background: var(--grad-gold); box-shadow: 0 14px 26px -12px rgba(217, 174, 43, .9); }
.vmv-card > p { color: rgba(255, 255, 255, .82); margin-bottom: 1.4rem; }
.vmv-card .checklist { grid-template-columns: 1fr; }
@media (min-width: 768px) { .vmv-card .checklist { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.vmv-card--mission {
    position: relative; overflow: hidden; isolation: isolate;
    background: linear-gradient(145deg, rgba(15, 39, 73, .96), rgba(8, 23, 48, .94));
    border: 1px solid rgba(238, 200, 95, .34);
    box-shadow: 0 28px 64px -34px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.vmv-card--mission::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 4px; z-index: -1;
    background: linear-gradient(90deg, var(--gold-300), var(--gold-500) 48%, rgba(238, 200, 95, .08));
}
.vmv-card--mission::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    width: 300px; aspect-ratio: 1; right: -145px; top: -165px; border-radius: 50%;
    border: 1px solid rgba(238, 200, 95, .16);
    box-shadow: 0 0 0 24px rgba(238, 200, 95, .025), 0 0 0 52px rgba(238, 200, 95, .02);
}
.vmv-card--mission .vmv-card__head { position: relative; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.vmv-card--mission .vmv-card__icon { border-radius: 18px; box-shadow: 0 12px 28px -12px rgba(238, 190, 66, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.vmv-card--mission > p { max-width: 62ch; font-size: 1.03rem; line-height: 1.75; }
.vmv-card--mission .checklist { gap: .65rem; }
.vmv-card--mission .checklist li {
    display: flex; align-items: center; min-height: 3.25rem; padding: .7rem .8rem .7rem 2.8rem;
    border: 1px solid rgba(255, 255, 255, .075); border-radius: 13px;
    background: linear-gradient(110deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025));
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.vmv-card--mission .checklist li::before {
    left: .8rem; top: 50%; transform: translateY(-50%);
    color: var(--gold-300); background: rgba(238, 200, 95, .12);
    box-shadow: inset 0 0 0 1px rgba(238, 200, 95, .22);
}
.vmv-card--mission .checklist li:hover {
    transform: translateY(-2px); border-color: rgba(238, 200, 95, .34);
    background: linear-gradient(110deg, rgba(238, 200, 95, .11), rgba(255, 255, 255, .035));
}
.vmv-card--gold { position: relative; overflow: hidden; isolation: isolate; color: var(--brand-950); background: var(--grad-gold); box-shadow: 0 30px 60px -28px rgba(217, 174, 43, .8); }
.vmv-card--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .35), transparent 40%); }
.vmv-card--gold .vmv-card__head h3 { color: var(--brand-950); }
.vmv-card--gold .vmv-card__icon { color: var(--gold-400); background: var(--brand-950); box-shadow: none; }
.vmv-card--gold > p { color: var(--brand-900); }
.aim-list { position: relative; z-index: 1; display: grid; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.aim-list li { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border-radius: 12px; font-weight: 600; font-size: .93rem; color: var(--brand-950); background: rgba(255, 255, 255, .45); }
.aim-list i { font-size: 1.15rem; color: var(--brand-700); }

/* 12. Why choose (bento) --------------------------------------------------- */
.why { background: var(--paper); isolation: isolate; }
.why::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 40% at 50% 0%, rgba(209, 232, 252, .9), transparent 70%); }
.bento { position: relative; display: grid; grid-template-columns: 1fr; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 576px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .bento { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.bento__tile {
    --mx: 50%; --my: 50%;
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 190px;
    padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.bento__tile::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
    background: radial-gradient(260px circle at var(--mx) var(--my), rgba(91, 139, 230, .16), transparent 65%);
}
.bento__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.bento__tile:hover::before { opacity: 1; }
.bento__tile > i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-size: 1.5rem; color: var(--brand-600); background: var(--brand-50); transition: transform .5s var(--ease-out); }
.bento__tile:hover > i { transform: rotate(-8deg) scale(1.05); }
.bento__tile p { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; line-height: 1.35; color: var(--brand-950); }
.bento__num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--brand-300); }
.bento__tile--feature { padding: 0; min-height: 320px; border: 0; justify-content: flex-end; }
@media (min-width: 576px) { .bento__tile--feature { grid-column: span 2; } }
@media (min-width: 576px) and (max-width: 991.98px) { .bento__tile--gold { grid-column: span 2; min-height: 150px; } }
@media (min-width: 992px) { .bento__tile--feature { grid-row: span 2; } .bento__tile--wide { grid-column: span 2; } }
.bento__tile--feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.bento__tile--feature:hover img { transform: scale(1.06); }
.bento__overlay { padding: 1.75rem; background: linear-gradient(0deg, rgba(5, 14, 38, .92) 0%, rgba(5, 14, 38, .55) 60%, transparent 100%); }
.bento__overlay p { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.25; }
.bento__overlay p em { color: var(--gold-400); }
.bento__tile--feature .bento__num { color: var(--gold-400); }
.bento__tile--blue { color: #fff; background: var(--grad-royal); border-color: transparent; }
.bento__tile--blue p { color: #fff; }
.bento__tile--blue > i { color: var(--brand-950); background: var(--gold-400); }
.bento__tile--blue .bento__num { color: rgba(255, 255, 255, .55); }
.bento__tile--gold { background: var(--grad-gold); border-color: transparent; }
.bento__tile--gold > i { color: var(--gold-400); background: var(--brand-950); }
.bento__tile--gold .bento__num { color: rgba(10, 26, 69, .5); }
@media (min-width: 992px) {
    .bento__tile--wide { flex-direction: row; align-items: center; justify-content: flex-start; min-height: 150px; }
    .bento__tile--wide p { max-width: 340px; }
}
@media (max-width: 575.98px) {
    .bento__tile:not(.bento__tile--feature) { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1rem; min-height: 0; padding: 1rem 2.6rem 1rem 1rem; }
    .bento__tile:not(.bento__tile--feature) > i { flex: none; width: 46px; height: 46px; font-size: 1.3rem; border-radius: 14px; }
    .bento__tile p { font-size: 1.05rem; }
    .bento__num { top: .75rem; right: 1rem; font-size: .8rem; }
    .bento__tile--feature { min-height: 260px; }
}

/* 13. Programme & eligibility --------------------------------------------- */
/* clip, unlike hidden, leaves the sticky photo working; hidden stays as the fallback for older browsers */
.programme { overflow: hidden; overflow: clip; isolation: isolate; background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%); }
.programme__pulse { position: absolute; left: 0; right: 0; top: 0; z-index: -1; width: 100%; height: min(120px, var(--section-y)); pointer-events: none; opacity: .6; }
.programme__pulse path { fill: none; stroke: var(--brand-200); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.programme__media { position: relative; padding: 2rem 2rem 2rem 0; }
.programme__img { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 5 / 4.2; box-shadow: var(--shadow-lg); }
.programme__img img { width: 100%; height: 112%; object-fit: cover; }
.programme__badge {
    position: absolute; display: grid; place-items: center; align-content: center; width: 116px; height: 116px; border-radius: 50%;
    color: #fff; text-align: center; background: rgba(10, 26, 69, .55);
}
.programme__badge strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--gold-400); }
.programme__badge span { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.programme__badge--a { right: 0; top: 0; background: var(--grad-night); border-color: rgba(249, 230, 90, .45); }
.programme__badge--b { right: 12%; bottom: 0; background: var(--grad-gold); color: var(--brand-950); border-color: rgba(255, 255, 255, .6); }
.programme__badge--b strong { color: var(--brand-950); }
@media (max-width: 575.98px) { .programme__media { padding: 1.5rem 1rem 1.5rem 0; } .programme__badge { width: 92px; height: 92px; } .programme__badge strong { font-size: 1.9rem; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.75rem; }
.fact { display: flex; align-items: center; gap: .9rem; padding: 1.1rem; border-radius: 18px; background: #fff; border: 1px solid var(--brand-100); box-shadow: var(--shadow-sm); }
.fact i { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 14px; font-size: 1.4rem; color: var(--gold-400); background: var(--grad-night); }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; color: var(--brand-950); }
.fact small { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-500); }
@media (max-width: 399.98px) { .facts { grid-template-columns: 1fr; } }
/* areas of service and buttons (.programme__more): on phones and tablets they follow the text as before, before
   the photo (the column's own top gap is dropped, so the spacing is unchanged) */
.programme .row > .programme__more { margin-top: 0; }
@media (min-width: 992px) {
    /* the photo and the text are about the same height, so they sit level beside each other and no empty
       column is left under the photo; areas of service and buttons follow across the full width */
    .programme .split { align-items: center; }
    .programme .row > .programme__more { margin-top: var(--bs-gutter-y); }
    .programme__more .mini-title { margin-top: 0; }
    /* the six areas in three tidy columns */
    .programme__more .chips { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; justify-items: start; gap: .7rem 1rem; }
    .programme__more .btn-row { margin-top: 1.75rem; }
}
@media (min-width: 1200px) {
    /* areas on the left, the two buttons stacked on the right, like the quotation and button in About */
    .programme__more {
        display: grid; grid-template-columns: auto auto; grid-template-areas: "title actions" "chips actions";
        justify-content: space-between; align-items: center; column-gap: 2.5rem;
    }
    .programme__more .mini-title { grid-area: title; }
    .programme__more .chips { grid-area: chips; }
    .programme__more .btn-row { grid-area: actions; flex-direction: column; align-items: stretch; margin-top: 0; }
}
.eligibility {
    position: relative; margin-top: var(--block-gap); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
    border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--brand-100); box-shadow: var(--shadow);
}
.eligibility::before { content: ""; position: absolute; left: 2.5rem; right: 2.5rem; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad-gold); }
.eligibility__head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.75rem; }
.eligibility__head h3 { margin: 0 0 .2rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); }
.eligibility__head p { margin: 0; color: var(--ink-500); }
.eligibility__icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 18px; font-size: 1.6rem; color: #fff; background: var(--grad-royal); box-shadow: 0 14px 26px -12px rgba(26, 79, 184, .8); }
.eligibility__list { counter-reset: el; display: grid; gap: .9rem 2.5rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .eligibility__list { grid-template-columns: 1fr 1fr; } }
.eligibility__list li { counter-increment: el; position: relative; padding: .2rem 0 .9rem 3.1rem; border-bottom: 1px dashed var(--line); color: var(--ink-700); line-height: 1.55; }
.eligibility__list li::before {
    content: counter(el, decimal-leading-zero); position: absolute; left: 0; top: 0;
    display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px;
    font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--brand-700); background: var(--brand-50);
}
.eligibility__list strong { color: var(--brand-900); }

/* 14. Admissions ----------------------------------------------------------- */
.docs { margin-top: 2rem; padding: 1.75rem; border-radius: var(--radius); background: var(--cream); border: 1px solid #F1E7C8; }
.docs__title { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; font-family: var(--font-display); font-weight: 560; font-size: 1.4rem; }
.docs__title i { color: var(--gold-700); }
.docs .checklist { gap: .55rem; font-size: .95rem; }
.docs .note { background: rgba(255, 255, 255, .7); }
.steps { --line-progress: 0; position: relative; list-style: none; margin: 0; padding: 0 0 0 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(180deg, var(--gold-500), var(--brand-600)); transform-origin: top; transform: scaleY(var(--line-progress)); }
.step { position: relative; display: flex; gap: 1.5rem; padding-bottom: 1.25rem; }
.step:last-child { padding-bottom: 0; }
.step__num {
    position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%;
    font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--brand-600);
    background: #fff; border: 2px solid var(--brand-100); box-shadow: var(--shadow-sm);
    transition: background-color .5s, color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease-out);
}
.step.is-active .step__num { color: var(--brand-950); background: var(--grad-gold); border-color: #fff; box-shadow: 0 14px 28px -12px rgba(217, 174, 43, .9); transform: scale(1.05); }
.step > div { flex: 1; padding: 1.25rem 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .5s, box-shadow .5s; }
.step.is-active > div { border-color: var(--brand-200); box-shadow: var(--shadow); }
.step h3 { margin: 0 0 .35rem; font-family: var(--font-display); font-weight: 560; font-size: 1.22rem; }
.step p { margin: 0; font-size: .95rem; line-height: 1.6; }
@media (max-width: 575.98px) {
    .steps::before, .steps::after { left: 23px; }
    .step { gap: 1rem; }
    .step__num { width: 48px; height: 48px; font-size: 1rem; }
    .step > div { padding: 1rem 1.1rem; }
}

/* 15. Marquee -------------------------------------------------------------- */
.marquee { overflow: hidden; padding-block: clamp(20px, 2.8vw, 38px); background: var(--brand-950); border-block: 1px solid rgba(255, 255, 255, .06); }
.marquee__track { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 5rem); line-height: 1; color: #fff; white-space: nowrap; }
.marquee__track span.is-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(249, 230, 90, .85); }
.marquee__track i { font-size: clamp(1.3rem, 1rem + 1.4vw, 2.4rem); color: var(--gold-400); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 16. Facilities ----------------------------------------------------------- */
.facilities { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); background: var(--paper); }
.facilities__intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: 1.75rem; }
.facilities__heading .section-title { margin-bottom: 0; max-width: 620px; }
.facilities__aside { flex: 1 1 320px; max-width: 460px; }
.facilities__aside p { color: var(--ink-600); margin-bottom: 1rem; }
.facilities__controls { display: flex; align-items: center; gap: 1rem; }
.facilities__count { flex: none; margin: 0; font-family: var(--font-display); font-size: 1rem; line-height: 1; color: var(--ink-500); font-variant-numeric: tabular-nums; }
.facilities__count strong { font-size: 1.7rem; font-weight: 600; color: var(--brand-700); }
.facilities__progress { flex: 1; height: 3px; border-radius: 3px; background: var(--brand-100); overflow: hidden; }
.facilities__progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(.125); background: linear-gradient(90deg, var(--gold-500), var(--brand-600)); transition: transform .3s; }
.facilities__nav { display: flex; flex: none; gap: .5rem; }
.facilities__nav .round-btn { width: 44px; height: 44px; font-size: 1.1rem; }
.round-btn:disabled { opacity: .4; pointer-events: none; }
.facilities__viewport {
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    scroll-padding-inline: max(1rem, calc((100vw - var(--container-w)) / 2 + .75rem));
}
.facilities__viewport::-webkit-scrollbar { display: none; }
/* a mouse can drag the swipe row (main.js); snapping is off while it is held */
@media (hover: hover) and (pointer: fine) { .facilities:not(.is-pinned) .facilities__viewport { cursor: grab; } }
.facilities__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; -webkit-user-select: none; user-select: none; }
.fac-pause[hidden], .facilities.is-pinned .fac-pause { display: none; }
.facilities__track {
    display: flex; align-items: stretch; gap: 1.25rem; width: max-content; list-style: none; margin: 0;
    padding: .5rem max(1rem, calc((100vw - var(--container-w)) / 2 + .75rem)) 1.25rem;
}
.fcard {
    display: flex; flex-direction: column; flex: none; width: min(82vw, 360px); overflow: hidden;
    border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); scroll-snap-align: start;
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
@media (min-width: 992px) { .fcard { width: 380px; } }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.fcard__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; }
.fcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 14, 38, .35), transparent 50%); }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.fcard:hover .fcard__media img { transform: scale(1.07); }
.fcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 1.4rem; }
.fcard__tag { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; margin-bottom: .7rem; padding: .3rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-50); }
.fcard h3 { min-height: 3.75em; margin-bottom: .45rem; font-family: var(--font-display); font-weight: 560; font-size: 1.28rem; line-height: 1.25; }
.fcard p { min-height: 4.65em; margin: 0; font-size: .93rem; line-height: 1.55; }
.fcard__list { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: .85rem 0 0; padding: 0; }
.fcard__list li { padding: .25rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--brand-800); background: var(--paper); border: 1px solid var(--line); }

/* Pinned (large screens tall enough to show a whole card): the intro stays on the left and the cards slide in
   from the right underneath it. Card height follows the screen height, so the title and text always fit.
   --fac-start / --fac-end are measured in main.js. */
@media (min-width: 992px) {
    .facilities.is-pinned { --fac-pad: clamp(14px, 3.5vh, 40px); --fac-start: 45vw; --fac-end: 4vw; height: 100vh; padding-block: 0; }
    .facilities.is-pinned .facilities__pin { position: relative; height: 100%; }
    .facilities.is-pinned .facilities__layout {
        position: relative; z-index: 2; height: 100%; display: flex; align-items: center; pointer-events: none;
        padding-top: calc(var(--sticky-h) + var(--fac-pad)); padding-bottom: var(--fac-pad);
    }
    .facilities.is-pinned .facilities__intro {
        flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 1.1rem;
        width: clamp(270px, 27vw, 390px); margin: 0; pointer-events: auto;
    }
    .facilities.is-pinned .facilities__heading .section-title { font-size: clamp(1.9rem, 1rem + 1.6vw, 2.75rem); }
    .facilities.is-pinned .facilities__aside { flex: none; max-width: none; }
    .facilities.is-pinned .facilities__viewport {
        position: absolute; left: 0; right: 0; top: calc(var(--sticky-h) + var(--fac-pad)); bottom: var(--fac-pad);
        overflow: visible; scroll-snap-type: none;
        -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--fac-start) - 46px), #000 calc(var(--fac-start) - 2px), #000 calc(100% - 28px), transparent);
        mask-image: linear-gradient(90deg, transparent calc(var(--fac-start) - 46px), #000 calc(var(--fac-start) - 2px), #000 calc(100% - 28px), transparent);
    }
    .facilities.is-pinned .facilities__track { height: 100%; align-items: center; padding: 0 var(--fac-end) 0 var(--fac-start); }
    .facilities.is-pinned .fcard { height: min(100%, 560px); width: clamp(280px, calc(22vh + 160px), 370px); }
    /* the photo takes up to 42% of the card and gives way when a card's text needs the room (short screens) */
    .facilities.is-pinned .fcard__media { flex: 0 1 42%; min-height: 0; aspect-ratio: auto; }
    .facilities.is-pinned .fcard__body { flex: none; }
}

/* 17. Library, hostel, sports ---------------------------------------------- */
.library__img { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.library__img img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 80%; }
.library__hours { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 18px; color: #fff; background: rgba(10, 26, 69, .5); }
.library__hours i { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; font-size: 1.3rem; color: var(--brand-950); background: var(--grad-gold); }
.library__hours strong { display: block; font-family: var(--font-display); font-size: 1.25rem; }
.library__hours small { display: block; font-size: .8rem; color: rgba(255, 255, 255, .8); }
.lib-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; list-style: none; margin: 1.75rem 0; padding: 0; }
.lib-stats li { padding: 1.2rem 1.25rem; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.lib-stats strong { display: block; margin-bottom: .3rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); line-height: 1; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.lib-stats li > span { display: block; font-size: .86rem; line-height: 1.45; color: var(--ink-600); }

.living { padding-top: 0; }
.living-card { height: 100%; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.living-card__media { position: relative; aspect-ratio: 16 / 7.5; }
.living-card__media > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.living-card__inset { position: absolute; right: 1.25rem; bottom: -2.5rem; width: 34%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; border: 5px solid #fff; box-shadow: var(--shadow); }
.living-card__body { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.living-card__title { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; margin-bottom: .8rem; }
.icon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1rem; list-style: none; margin: 1.25rem 0; padding: 0; }
@media (min-width: 768px) { .icon-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .icon-grid { grid-template-columns: repeat(4, 1fr); } }
.icon-grid li { display: flex; flex-direction: column; gap: .35rem; font-size: .86rem; font-weight: 600; line-height: 1.35; color: var(--brand-950); }
.icon-grid i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 1.15rem; color: var(--brand-600); background: var(--brand-50); }
.living-card__note { display: flex; gap: .6rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-600); }
.living-card__note i { color: var(--brand-600); font-size: 1.1rem; }
.sports-card {
    position: relative; height: 100%; overflow: hidden; isolation: isolate; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
    border-radius: var(--radius-lg); color: rgba(255, 255, 255, .82); background: var(--grad-night); box-shadow: var(--shadow-lg);
}
.sports-card::before { content: ""; position: absolute; right: -80px; top: -80px; z-index: -1; width: 300px; height: 300px; background: radial-gradient(closest-side, rgba(45, 102, 211, .55), transparent); }
.sports-card .living-card__title { color: #fff; }
.sports-group { margin-top: 1.25rem; }
.sports-group h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); }
.sports-card__note { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }

/* 18. Leadership ----------------------------------------------------------- */
.leaders { background: var(--cream); overflow: hidden; isolation: isolate; }
.leaders::before { content: ""; position: absolute; left: -10%; bottom: -30%; z-index: -1; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(209, 232, 252, .85), transparent); pointer-events: none; }
.leaders__tabs { position: relative; display: grid; gap: .8rem; }
.leaders__more { margin-top: 1.25rem; }
.leader-tab {
    position: relative; display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1rem 1.15rem; text-align: left;
    border-radius: 20px; border: 1px solid #EFE6CC; background: rgba(255, 255, 255, .65); color: var(--ink-900);
    transition: background-color .4s, box-shadow .4s, border-color .4s, transform .4s var(--ease-out);
}
.leader-tab strong { display: block; font-family: var(--font-display); font-weight: 560; font-size: 1.1rem; color: var(--brand-950); }
.leader-tab small { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-500); }
.leader-tab:hover { background: #fff; transform: translateX(4px); }
.leader-tab.active { background: #fff; border-color: var(--gold-500); box-shadow: var(--shadow); }
.leader-tab.active::after { content: ""; position: absolute; left: -1px; top: 18%; bottom: 18%; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad-gold); }
@media (max-width: 991.98px) {
    .leaders__tabs { grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .25rem; }
    .leaders__tabs::-webkit-scrollbar { display: none; }
    .leader-tab { scroll-snap-align: start; }
    .leader-tab:hover { transform: none; }
}
.leaders__panels { position: relative; }
.leader-msg {
    position: relative; padding: clamp(1.75rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-lg);
    background: #fff; box-shadow: var(--shadow-lg); border: 1px solid #F1E9D2;
}
.leader-msg__quote { position: absolute; right: clamp(1.25rem, 3vw, 2.5rem); top: clamp(1rem, 2vw, 1.5rem); font-size: clamp(3.5rem, 2.5rem + 3vw, 6rem); line-height: 1; color: var(--gold-400); opacity: .55; }
.leader-msg__lead { position: relative; font-family: var(--font-display); font-style: italic; font-weight: 450; font-size: clamp(1.25rem, 1rem + .9vw, 1.65rem); line-height: 1.45; color: var(--brand-950); padding-right: 3rem; }
.leader-msg p { color: var(--ink-700); }
.leader-msg__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.leader-msg__foot strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--brand-950); }
.leader-msg__foot small { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700); }
.read-more { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--brand-200); background: transparent; font-weight: 700; font-size: .88rem; color: var(--brand-700); transition: background-color .3s, color .3s, border-color .3s; }
.read-more:hover { color: #fff; background: var(--brand-600); border-color: var(--brand-600); }
.read-more i { transition: transform .35s; }
.read-more[aria-expanded="true"] i { transform: rotate(180deg); }
.read-more__less, .read-more[aria-expanded="true"] .read-more__more { display: none; }
.read-more[aria-expanded="true"] .read-more__less { display: inline; }

/* 19. Student life, PDP, events ------------------------------------------- */
.life__mosaic { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.life__tile { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.life__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.life__tile:hover img { transform: scale(1.06); }
.life__tile figcaption {
    position: absolute; left: .75rem; right: .75rem; bottom: .75rem; padding: .5rem .8rem; border-radius: 12px;
    font-size: .78rem; font-weight: 600; line-height: 1.35; color: #fff;
    background: rgba(5, 14, 38, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.life__tile--a { grid-row: span 2; aspect-ratio: 4 / 5.2; }
.life__tile--b, .life__tile--c { aspect-ratio: 4 / 3.4; }
.life__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; list-style: none; margin: 1.5rem 0; padding: 0; }
.life__list li { display: flex; align-items: center; gap: .65rem; font-size: .93rem; font-weight: 600; color: var(--brand-950); }
.life__list i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; font-size: 1.1rem; color: var(--brand-600); background: var(--brand-50); }
@media (max-width: 399.98px) { .life__list { grid-template-columns: 1fr; } }
.life__outcome { padding: 1.1rem 1.3rem; border-radius: 16px; background: var(--cream); border-left: 3px solid var(--gold-500); color: var(--ink-700); }
.life__outcome strong { color: var(--brand-900); }

.pdp {
    position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 2rem; align-items: center;
    margin-top: var(--block-gap); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, .82); background: var(--grad-night); box-shadow: var(--shadow-lg);
}
@media (min-width: 992px) { .pdp { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; } }
.pdp::before { content: ""; position: absolute; right: -10%; top: -40%; z-index: -1; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(45, 102, 211, .45), transparent); }
.pdp__intro h3 { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); color: #fff; margin-bottom: 1rem; }
.pdp__intro p { margin: 0; }
.pdp__list { display: grid; gap: .65rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 576px) { .pdp__list { grid-template-columns: 1fr 1fr; } }
.pdp__list li { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: 14px; font-size: .92rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .3s, border-color .3s; }
.pdp__list li:hover { background: rgba(255, 255, 255, .1); border-color: rgba(249, 230, 90, .4); }
.pdp__list i { font-size: 1.2rem; color: var(--gold-400); }

.events { margin-top: var(--block-gap); }
.events__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.events__head .section-title { margin-bottom: 0; }
.events__nav { display: flex; gap: .6rem; }
.events-pause[hidden] { display: none; }
.life { padding-bottom: calc(var(--section-y) * .55); }
/* room inside the clipped slider so the card shadows are not cut off */
.events .swiper { overflow: hidden; padding: .75rem .75rem 3rem; margin: -.75rem -.75rem -3rem; }
/* every card as tall as the tallest (swiper-bundle.css, loaded after this file, sets slides to height: 100%),
   with the titles given two lines so the text below them starts at the same height */
.events .ecard { height: auto; }
.events .ecard h3 { min-height: 2.6em; }
.ecard { height: auto; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ecard__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.ecard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ecard:hover .ecard__media img { transform: scale(1.06); }
.ecard__date { position: absolute; left: 1rem; top: 1rem; display: grid; justify-items: center; padding: .5rem .8rem; border-radius: 14px; font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--brand-950); background: var(--grad-gold); box-shadow: var(--shadow-sm); }
.ecard__date strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.ecard__body { flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.ecard__tag { display: inline-block; margin-bottom: .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.ecard h3 { font-family: var(--font-display); font-weight: 560; font-size: 1.3rem; line-height: 1.3; margin-bottom: .5rem; }
.ecard p { margin: 0; font-size: .93rem; line-height: 1.6; }
.ecard--text { background: var(--grad-royal); border-color: transparent; }
.ecard--text h3 { color: #fff; }
.ecard--text p { color: rgba(255, 255, 255, .82); }
.ecard--text .ecard__tag { color: var(--gold-300); }
.ecard__art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; }
.ecard__art::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .3); }
.ecard__art i { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; font-size: 2.6rem; color: var(--brand-950); background: var(--grad-gold); box-shadow: 0 20px 40px -14px rgba(5, 14, 38, .7); }

/* 20. Gallery -------------------------------------------------------------- */
.gallery { isolation: isolate; overflow: hidden; }
.gallery__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 1.75rem; }
.gallery__head .section-title { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; padding: .35rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.filter { padding: .55rem 1.1rem; border-radius: 999px; border: 0; background: transparent; font-weight: 700; font-size: .86rem; color: var(--ink-600); transition: background-color .3s, color .3s, box-shadow .3s; }
.filter:hover { color: var(--brand-700); }
.filter.is-active { color: #fff; background: var(--grad-royal); box-shadow: 0 10px 20px -10px rgba(26, 79, 184, .8); }
@media (max-width: 575.98px) {
    .filters { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
    .filters::-webkit-scrollbar { display: none; }
    .filter { flex: none; padding: .45rem .85rem; font-size: .8rem; }
}
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: .75rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; gap: 1rem; } }
@media (min-width: 1200px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; } }
.gitem { position: relative; overflow: hidden; border-radius: 18px; background: var(--brand-100); }
.gitem--tall { grid-row: span 2; }
.gitem--wide { grid-column: span 2; }
.gitem.is-hidden { display: none; }
.gitem a { display: block; width: 100%; height: 100%; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.gitem a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 14, 38, .78) 0%, transparent 55%); opacity: 0; transition: opacity .5s; }
.gitem__cap {
    position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 1; display: flex; align-items: center; gap: .5rem;
    font-size: .88rem; font-weight: 700; color: #fff; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease-out);
}
.gitem__cap i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--brand-950); background: var(--gold-400); }
.gitem a:hover img, .gitem a:focus-visible img { transform: scale(1.08); }
.gitem a:hover::after, .gitem a:focus-visible::after { opacity: 1; }
.gitem a:hover .gitem__cap, .gitem a:focus-visible .gitem__cap { opacity: 1; transform: none; }
@media (hover: none) { .gitem a::after { opacity: .85; } .gitem__cap { opacity: 1; transform: none; font-size: .78rem; } .gitem__cap i { display: none; } }

/* 21. Anti-ragging --------------------------------------------------------- */
.ragging { color: rgba(255, 255, 255, .82); background: var(--grad-night); overflow: hidden; isolation: isolate; }
.ragging::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 0% 0%, rgba(45, 102, 211, .3), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(249, 230, 90, .07), transparent 70%); }
.ragging__shield { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 1.5rem; border-radius: 22px; font-size: 2.1rem; color: var(--brand-950); background: var(--grad-gold); box-shadow: 0 18px 36px -14px rgba(217, 174, 43, .8); }
.ragging__report { display: grid; gap: .9rem; margin-top: 1.75rem; padding: 1.4rem; border-radius: 20px; background: rgba(249, 230, 90, .08); border: 1px solid rgba(249, 230, 90, .28); }
.ragging__report > i { font-size: 1.6rem; color: var(--gold-400); }
.ragging__report p { margin: 0; color: #fff; }
.ragging__report .btn-ec { justify-self: start; }
.ragging__card { padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); border-radius: var(--radius-lg); }
.ragging__card + .ragging__card { margin-top: 1.25rem; }
.ragging__card h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; font-family: var(--font-display); font-weight: 560; font-size: 1.45rem; color: #fff; }
.ragging__card h3 i { color: var(--gold-400); }
.committee { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; }
.committee th { padding: 0 .9rem .8rem 0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); text-align: left; }
.committee td { padding: .9rem .9rem .9rem 0; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); vertical-align: top; }
.committee td:first-child { font-weight: 700; color: #fff; white-space: nowrap; }
.committee a { color: var(--gold-300); font-weight: 700; white-space: nowrap; }
.committee a:hover { color: var(--gold-400); }
/* phones: each member becomes a small card instead of a sideways-scrolling table */
@media (max-width: 767.98px) {
    .committee { min-width: 0; }
    .committee thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .committee tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .9rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
    .committee td { display: block; padding: 0; border: 0; }
    .committee td:first-child { grid-column: 1; }
    .committee td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: .86rem; color: rgba(255, 255, 255, .7); }
    .committee td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
}
.squad { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 576px) { .squad { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .squad { grid-template-columns: repeat(3, 1fr); } }
.squad li { display: flex; align-items: center; gap: .75rem; padding: .7rem; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.squad strong { display: block; font-size: .93rem; color: #fff; }
.squad small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .62); }

/* 22. Contact & enquiry ---------------------------------------------------- */
.contact { color: rgba(255, 255, 255, .84); overflow: hidden; isolation: isolate; background: var(--brand-950); }
.contact__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.contact__bg img { width: 100%; height: 120%; object-fit: cover; opacity: .32; filter: saturate(.8); }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(5, 14, 38, .96) 0%, rgba(10, 26, 69, .86) 50%, rgba(14, 42, 107, .82) 100%); }
.contact__info { height: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.contact__list { display: grid; gap: 1.2rem; list-style: none; margin: 1.5rem 0 2rem; padding: 0; }
.contact__list li { display: flex; gap: 1rem; }
.contact__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 15px; font-size: 1.35rem; color: var(--brand-950); background: var(--grad-gold); box-shadow: 0 12px 24px -12px rgba(217, 174, 43, .9); }
.contact__list small { display: block; margin-bottom: .2rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.contact__list a, .contact__list address { display: block; color: #fff; font-weight: 600; line-height: 1.6; word-break: break-word; }
.contact__list a:hover { color: var(--gold-300); }
.enquiry { position: relative; height: 100%; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius-lg); color: #fff; }
.enquiry__head { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.enquiry__head h3 { margin: 0 0 .25rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: #fff; }
.enquiry__head p { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .75); }
.enquiry__icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; font-size: 1.5rem; color: var(--brand-950); background: var(--grad-gold); }
.field label { display: block; margin-bottom: .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
.field label span { color: var(--gold-400); }
.field input, .field select, .field textarea {
    width: 100%; padding: .85rem 1rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .22);
    font: inherit; font-size: .95rem; color: #fff; background: rgba(5, 14, 38, .35);
    transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F9E65A'%3E%3Cpath d='M12 16l-6-6h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.5rem; }
.field select option { color: var(--ink-900); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-400); background: rgba(5, 14, 38, .5); box-shadow: 0 0 0 4px rgba(249, 230, 90, .18); }
.field.is-invalid input { border-color: #FF8A8A; box-shadow: 0 0 0 4px rgba(255, 138, 138, .15); }
.field__error { display: block; min-height: 1.1rem; margin-top: .3rem; font-size: .78rem; font-weight: 600; color: #FFB4B4; }
.enquiry__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1rem; }
.enquiry__alt { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.enquiry__alt a { color: var(--gold-300); font-weight: 700; }
.enquiry__status { margin: 1rem 0 0; font-size: .92rem; font-weight: 600; color: var(--gold-300); }
.enquiry__status:empty { display: none; }
.map { position: relative; height: clamp(300px, 32vw, 440px); margin-top: clamp(28px, 3.5vw, 44px); overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg); background: var(--brand-900); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

/* 23. CTA ------------------------------------------------------------------ */
.cta { position: relative; padding-block: clamp(36px, 4.5vw, 60px) clamp(16px, 2vw, 28px); background: var(--brand-950); }
.cta__box {
    position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 1.5rem; align-items: center;
    padding: clamp(1.75rem, 1rem + 3.5vw, 4rem); border-radius: var(--radius-lg);
    color: var(--brand-950); background: var(--grad-gold); box-shadow: 0 40px 80px -36px rgba(217, 174, 43, .9);
}
@media (min-width: 992px) { .cta__box { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255, 255, 255, .45), transparent 45%); }
.cta__box::after { content: ""; position: absolute; top: -50%; left: -30%; z-index: -1; width: 30%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: rotate(18deg); animation: sweep 5.5s ease-in-out infinite; }
@keyframes sweep { 0%, 35% { left: -30%; } 75%, 100% { left: 130%; } }
.cta h2 { margin-bottom: .75rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.9rem); line-height: 1.15; color: var(--brand-950); }
.cta h2 em { font-style: italic; font-weight: 500; color: var(--brand-700); }
.cta p { margin: 0; max-width: 620px; color: var(--brand-900); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
@media (min-width: 992px) { .cta__actions { justify-content: flex-end; } }
.cta__call { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.05rem; color: var(--brand-950); }
.cta__call:hover { color: var(--brand-700); }

/* 24. Footer --------------------------------------------------------------- */
.footer { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(44px, 5vw, 68px); color: rgba(255, 255, 255, .72); background: var(--brand-950); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(249, 230, 90, .5), transparent); }
.footer__brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; color: #fff; }
.footer__brand img { width: auto; height: 76px; }
.footer__brand span { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.2; }
.footer__brand:hover { color: var(--gold-300); }
.footer__tagline { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: var(--gold-300); }
.footer__about { font-size: .92rem; }
.footer__title { margin-bottom: 1.2rem; font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer__links { display: grid; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.footer__links a { position: relative; color: rgba(255, 255, 255, .72); font-size: .94rem; transition: color .3s, padding .4s var(--ease-out); }
.footer__links a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1.5px; background: var(--gold-400); transition: width .4s var(--ease-out); }
.footer__links a:hover { color: #fff; padding-left: 16px; }
.footer__links a:hover::before { width: 10px; }
.footer__contact { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; font-size: .94rem; }
.footer__contact li { display: flex; gap: .8rem; }
.footer__contact i { flex: none; font-size: 1.15rem; color: var(--gold-400); line-height: 1.5; }
.footer__contact a { color: rgba(255, 255, 255, .85); word-break: break-word; }
.footer__contact a:hover { color: var(--gold-300); }
.footer__word {
    margin: clamp(20px, 3vw, 36px) 0 0; font-family: var(--font-display); font-weight: 700; line-height: .78;
    font-size: clamp(4rem, 1.5rem + 11vw, 11.5rem); letter-spacing: -.04em; text-align: center; user-select: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 85%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.footer__bottom p { margin: 0; }
.footer__top-link { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .8); font-weight: 600; }
.footer__top-link:hover { color: var(--gold-300); }
@media (min-width: 992px) {
    .footer { padding-top: 48px; }
    .footer__brand { margin-bottom: .85rem; }
    .footer__brand img { height: 62px; }
    .footer__title { margin-bottom: .85rem; }
    .footer__links { gap: .4rem; }
    .footer__contact { gap: .7rem; }
    .footer__word { margin-top: 20px; font-size: clamp(5rem, 8vw, 9rem); }
    .footer__bottom { padding-block: 1rem; }
}

/* 25. Lightbox skin -------------------------------------------------------- */
.glightbox-clean .gslide-description { background: var(--brand-950); }
.glightbox-clean .gslide-title { margin: 0; font-family: var(--font-display); font-weight: 500; color: #fff; }
.glightbox-clean .gdesc-inner { padding: 14px 20px; }
.goverlay { background: rgba(5, 14, 38, .94); }

/* 26. Animated section backgrounds ----------------------------------------- */
/* Each section has its own <div class="bg-fx" data-fx="…">; initBackgrounds() in main.js adds the moving parts.
   Only transform and opacity are animated, and a section's animations pause while it is off screen (.fx-paused). */
.bg-fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-fx--front { z-index: 2; }
.bg-fx > * { position: absolute; display: block; }
.fx-paused .bg-fx *, .fx-paused .bg-fx *::before, .fx-paused .fx-radar i, .fx-paused .vmv__watermark { animation-play-state: paused !important; }

@keyframes fx-rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12%, 82% { opacity: 1; } 100% { transform: translate3d(0, -100%, 0); opacity: 0; } }
@keyframes fx-sway { from { transform: translate3d(-12px, 0, 0); } to { transform: translate3d(12px, 0, 0); } }
@keyframes fx-bob { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(var(--dx), -26px, 0) rotate(var(--r)); } }
@keyframes fx-turn { to { transform: rotate(360deg); } }
@keyframes fx-pan { to { transform: translate3d(var(--tile-x), var(--tile-y), 0); } }

/* Hero: gold dust rising over the photographs. Each column rises one full height; its dot sits at the bottom */
.fx-p { left: var(--x); top: 0; width: var(--s); height: 100%; animation: fx-rise var(--d) linear var(--delay) infinite; }
.fx-p::before {
    content: ""; position: absolute; left: 0; bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%; opacity: var(--o);
    background: #FFF4B8; box-shadow: 0 0 calc(var(--s) * 2.5) rgba(249, 230, 90, .85);
    animation: fx-sway calc(var(--d) / 3) ease-in-out var(--delay) infinite alternate;
}

/* Highlights: a heartbeat line with a glowing pulse travelling along it */
/* drawn in the band above the counters (the section's top padding) so it never crosses the numbers */
.fx-ecg { left: 0; top: 0; width: 100%; height: clamp(32px, 4vw, 56px); }
.fx-ecg svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fx-ecg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fx-ecg__base { stroke: var(--brand-100); stroke-width: 1.5; }
.fx-ecg__glow, .fx-ecg__pulse { stroke-dasharray: 70 1000; stroke-dashoffset: 1070; animation: fx-ecg 6.5s linear infinite; }
.fx-ecg__glow { stroke: rgba(249, 230, 90, .28); stroke-width: 9; }
.fx-ecg__pulse { stroke: var(--gold-500); stroke-width: 2.5; }
@keyframes fx-ecg { to { stroke-dashoffset: 0; } }

/* About: floating medical crosses */
.fx-cross {
    left: var(--x); top: var(--y); width: var(--s); height: var(--s); color: var(--c); opacity: var(--o);
    background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 30% no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 30% 100% no-repeat;
    border-radius: 2px; animation: fx-bob var(--d) ease-in-out var(--delay) infinite alternate;
}

/* Vision: slow light rays and drifting colour clouds (also used in the footer and anti-ragging) */
.fx-rays {
    left: 78%; top: 30%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px; border-radius: 50%;
    background: repeating-conic-gradient(rgba(255, 255, 255, .05) 0deg 5deg, transparent 5deg 15deg);
    -webkit-mask-image: radial-gradient(closest-side, #000 12%, transparent); mask-image: radial-gradient(closest-side, #000 12%, transparent);
    animation: fx-turn 150s linear infinite;
}
.fx-blob {
    left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(closest-side, var(--c), transparent); animation: fx-drift var(--d) ease-in-out var(--delay) infinite alternate;
}
@keyframes fx-drift {
    0% { transform: translate3d(-50%, -50%, 0) scale(1); }
    50% { transform: translate3d(calc(-50% + var(--dx)), calc(-50% + var(--dy)), 0) scale(1.18); }
    100% { transform: translate3d(calc(-50% - var(--dx)), calc(-50% + var(--dy) * .4), 0) scale(.9); }
}
.vmv__watermark { animation: fx-turn 180s linear infinite; }

/* Footer: twinkling stars */
.fx-star { left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); animation: fx-twinkle var(--d) ease-in-out var(--delay) infinite; }
@keyframes fx-twinkle { 0%, 100% { opacity: .12; transform: scale(.5); } 50% { opacity: .95; transform: scale(1); } }

/* Why choose + CTA: glossy bubbles rising */
.fx-bubble { left: var(--x); top: 0; width: var(--s); height: 100%; animation: fx-rise var(--d) linear var(--delay) infinite; }
.fx-bubble::before {
    content: ""; position: absolute; left: 0; bottom: calc(var(--s) * -1.1); width: var(--s); height: var(--s); border-radius: 50%; opacity: var(--o);
    background: radial-gradient(circle at 32% 28%, #fff 0 9%, rgba(255, 255, 255, .45) 22%, rgba(196, 219, 249, .3) 55%, rgba(91, 139, 230, .22) 100%);
    border: 1px solid rgba(91, 139, 230, .32); box-shadow: inset 0 -6px 14px rgba(26, 79, 184, .12);
    animation: fx-sway calc(var(--d) / 2.5) ease-in-out var(--delay) infinite alternate;
}
.bg-fx--light .fx-bubble::before {
    background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .95) 0 7%, rgba(255, 255, 255, .25) 30%, rgba(255, 255, 255, .28) 72%);
    border-color: rgba(255, 255, 255, .75); box-shadow: none;
}

/* Programme: dashed orbit rings turning behind the photo */
.fx-ring {
    left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--c);
    animation: fx-orbit var(--d) linear infinite; animation-direction: var(--dir);
}
@keyframes fx-orbit { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Admissions: a drifting blueprint grid with a passing light band */
.fx-grid {
    inset: -60px; --tile-x: 48px; --tile-y: 48px;
    background-image: linear-gradient(rgba(26, 79, 184, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 79, 184, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 65% 55% at 70% 45%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 65% 55% at 70% 45%, #000 15%, transparent 75%);
    animation: fx-pan 12s linear infinite;
}
.fx-sweep { top: -20%; bottom: -20%; left: -30%; width: 22%; background: linear-gradient(90deg, transparent, rgba(209, 232, 252, .6), transparent); animation: fx-sweep 10s ease-in-out infinite; }
@keyframes fx-sweep { 0% { transform: translateX(0) skewX(-16deg); } 55%, 100% { transform: translateX(650%) skewX(-16deg); } }

/* Facilities: a slowly drifting honeycomb (molecule) pattern */
.fx-hex {
    inset: -120px; --tile-x: 56px; --tile-y: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%231A4FB8' stroke-opacity='.11' stroke-width='1.2'/%3E%3C/svg%3E") 0 0 / 56px 100px;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 25% 45%, #000 10%, transparent 80%); mask-image: radial-gradient(ellipse 75% 70% at 25% 45%, #000 10%, transparent 80%);
    animation: fx-pan 28s linear infinite;
}

/* Library and leadership: floating line icons (books, quills, quotation marks) */
.fx-icon { left: var(--x); top: var(--y); font-size: var(--s); line-height: 1; color: var(--c); opacity: var(--o); animation: fx-bob var(--d) ease-in-out var(--delay) infinite alternate; }

/* Hostel and sports: two waves rolling along the bottom, the front one in the next section's cream */
.fx-waves { left: 0; right: 0; bottom: 0; height: clamp(56px, 7vw, 100px); }
.fx-waves svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: fx-wave 18s linear infinite; }
.fx-waves svg:first-child { height: 125%; opacity: .7; animation-duration: 27s; animation-direction: reverse; }
.fx-waves path { fill: var(--cream); }
.fx-waves svg:first-child path { fill: var(--brand-50); }
@keyframes fx-wave { to { transform: translate3d(-50%, 0, 0); } }

/* Leadership: a breathing gold glow */
.fx-glow {
    left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(249, 230, 90, .34), transparent); animation: fx-breathe 8s ease-in-out infinite alternate;
}
@keyframes fx-breathe { from { transform: translate(-50%, -50%) scale(.82); opacity: .65; } to { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } }

/* Student life: tumbling confetti shapes */
.fx-bit { left: var(--x); top: var(--y); width: var(--s); height: var(--s); opacity: var(--o); background: var(--c); animation: fx-tumble var(--d) linear var(--delay) infinite; }
.fx-bit--dot { border-radius: 50%; }
.fx-bit--ring { border-radius: 50%; background: none; border: 2px solid var(--c); }
.fx-bit--square { border-radius: 3px; }
.fx-bit--tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.fx-bit--plus { background: linear-gradient(var(--c), var(--c)) 50% 50% / 100% 30% no-repeat, linear-gradient(var(--c), var(--c)) 50% 50% / 30% 100% no-repeat; }
@keyframes fx-tumble {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    33% { transform: translate3d(22px, -26px, 0) rotate(120deg); }
    66% { transform: translate3d(-16px, -10px, 0) rotate(240deg); }
    100% { transform: translate3d(0, 0, 0) rotate(360deg); }
}

/* Gallery: a drifting dot grid that fades out downwards */
.fx-dots {
    inset: -40px; --tile-x: 26px; --tile-y: 26px;
    background-image: radial-gradient(rgba(26, 79, 184, .2) 1.3px, transparent 1.5px); background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%);
    animation: fx-pan 9s linear infinite;
}

/* Anti-ragging: protective ripples spreading from the shield */
.fx-radar { position: absolute; left: 50%; top: 50%; z-index: -1; width: 0; height: 0; pointer-events: none; }
.fx-radar i { position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; border-radius: 50%; border: 1.5px solid rgba(249, 230, 90, .5); opacity: 0; animation: fx-radar 6s cubic-bezier(.15, .6, .35, 1) infinite; }
.fx-radar i:nth-child(2) { animation-delay: 1.5s; }
.fx-radar i:nth-child(3) { animation-delay: 3s; }
.fx-radar i:nth-child(4) { animation-delay: 4.5s; }
@keyframes fx-radar { 0% { transform: scale(.25); opacity: .85; } 100% { transform: scale(2.2); opacity: 0; } }

/* Contact: soft light beams swaying across the dark background */
.fx-beam {
    top: -40%; left: var(--x); width: var(--w); height: 180%; background: linear-gradient(90deg, transparent, var(--c), transparent);
    animation: fx-beam var(--d) ease-in-out var(--delay) infinite alternate;
}
@keyframes fx-beam { from { transform: translate3d(-8vw, 0, 0) rotate(20deg); opacity: .45; } to { transform: translate3d(8vw, 0, 0) rotate(20deg); opacity: 1; } }

/* 27. Reduced motion & print ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .marquee__track { animation: none; }
    .hero-slide__img { transform: none; }
    .hero--image-slides .hero-slide__img { animation: none; transform: none; }
    .bg-fx, .fx-radar { display: none; }
}
@media print {
    .topbar, .mainnav, .menu-toggle, .preloader, .scroll-progress, .to-top, .action-bar, .hero-ui, .hero-scroll, .map, .marquee, .bg-fx { display: none !important; }
    .site-header { position: static; }
    .hero { height: auto; }
}
