/* ============================================================
   RMIS â€” style.css  (Single Consolidated Stylesheet)
   Merged from: main.css, base-page.css, home.css,
   and all page-level inline <style> blocks.
   All pages should reference this file only.
============================================================ */

/* ---- BRAND FONTS ---- */
@font-face {
    font-family: 'Parabolica';
    src: url('fonts/ParabolicaTest-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Parabolica';
    src: url('fonts/ParabolicaTest-RegularOblique.otf') format('opentype');
    font-weight: 400;
    font-style: oblique;
    font-display: swap;
}

@font-face {
    font-family: 'Parabolica';
    src: url('fonts/ParabolicaTest-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Parabolica';
    src: url('fonts/ParabolicaTest-MediumOblique.otf') format('opentype');
    font-weight: 500;
    font-style: oblique;
    font-display: swap;
}

@font-face {
    font-family: 'Parabolica';
    src: url('fonts/ParabolicaTest-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Parabolica';
    src: url('fonts/ParabolicaTest-BoldOblique.otf') format('opentype');
    font-weight: 700;
    font-style: oblique;
    font-display: swap;
}

@font-face {
    font-family: 'Parabolica';
    src: url('fonts/ParabolicaTest-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CodecPro';
    src: url('fonts/CodecPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CodecPro';
    src: url('fonts/CodecPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CodecPro';
    src: url('fonts/CodecPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CodecPro';
    src: url('fonts/CodecPro-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --c-navy: #222f4d;
    --c-navy-mid: #1c2740;
    --c-navy-lift: #2d3f62;
    --c-navy-lt: #2d3f62;
    --c-gold: #bda36d;
    --c-gold-lt: #cbb880;
    --c-gold-pale: rgba(189, 163, 109, 0.12);
    --c-gold-ring: rgba(189, 163, 109, 0.28);
    --c-gold-pale: rgba(189, 163, 109, 0.12);
    --c-taupe: #aa9683;
    --c-charcoal: #58595b;
    --c-white: #ffffff;
    --c-off: #F0EBE2;
    --c-muted: rgba(255, 255, 255, 0.55);
    --c-dim: rgba(255, 255, 255, 0.35);
    --c-border: rgba(255, 255, 255, 0.08);
    --c-border-g: rgba(189, 163, 109, 0.22);
    --ff-display: 'Parabolica', 'Outfit', sans-serif;
    --ff-serif: 'Cormorant Garamond', Georgia, serif;
    --ff-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 0.32s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-sans);
    background: var(--c-navy);
    color: var(--c-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

/* ================================================
   TYPOGRAPHY SCALE
================================================ */
.t-eyebrow {
    font-family: var(--ff-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold);
}



.t-hero {
    font-family: var(--ff-display);
    font-size: clamp(3rem, 6.5vw, 6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.015em;
}

.t-display {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 3.8vw, 3.6rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.t-title {
    font-family: var(--ff-display);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
}

.t-lead {
    font-size: 1.05rem;
    line-height: 1.72;
    color: var(--c-muted);
}

.t-body {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--c-muted);
}

.t-small {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--c-dim);
}

/* ================================================
   BUTTONS
================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 2px;
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
    position: relative;
    cursor: pointer;
    border: none;
    font-family: var(--ff-sans);
}

.btn-primary {
    background: var(--c-gold);
    color: var(--c-navy);
}

.btn-primary:hover {
    background: var(--c-gold-lt);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(189, 163, 109, 0.35);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--c-white);
    background: none;
}

.btn-ghost:hover {
    border-color: var(--c-gold);
    color: var(--c-gold);
}

.btn-ghost-gold {
    border: 1px solid var(--c-border-g);
    color: var(--c-gold);
    background: none;
}

.btn-ghost-gold:hover {
    background: var(--c-gold-pale);
}

.btn .arr {
    transition: transform var(--dur) var(--ease);
}

.btn:hover .arr {
    transform: translateX(4px);
}

/* Glowing primary button */
.btn-glow {
    box-shadow: 0 0 0 0 rgba(189, 163, 109, 0.6);
    animation: glow 2.4s ease-in-out infinite;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 0 0 rgba(189, 163, 109, 0.55);
    }

    60% {
        box-shadow: 0 0 0 12px rgba(189, 163, 109, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(189, 163, 109, 0);
    }
}

.btn-glow:hover {
    animation: none;
}

/* ================================================
   NAVIGATION
================================================ */
#nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 900;
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
    border-bottom: 1px solid transparent;
}

#nav.opaque {
    background: rgba(34, 47, 77, 0.97);
    border-color: var(--c-border);
    backdrop-filter: blur(24px);
}

.nav-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 76px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin-left: auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    border-radius: 3px;
    transition: color var(--dur) var(--ease);
}

.nav-link svg {
    width: 9px;
    height: 9px;
    opacity: 0.55;
}

.nav-link:hover,
.nav-item:hover>.nav-link {
    color: var(--c-gold);
}

/* Mega menu — all dropdowns share one fixed centre position under the nav */
.nav-drop {
    position: fixed;
    top: 76px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: min(660px, 96vw);
    border-radius: 0 0 10px 10px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
    box-shadow: 0 4px 0 0 var(--c-gold), 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(189, 163, 109, 0.2);
    z-index: 999;
    background: #222f4d;
    overflow: hidden;
}

.nav-item:nth-child(2) .nav-drop,
.nav-item:nth-child(3) .nav-drop {
    width: min(750px, 96vw);
}

.nav-drop::before {
    display: none;
}

.nav-drop::after {
    display: none;
}

.nav-item:hover .nav-drop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-inner {
    padding: 1.66rem 1.9rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.mega-inner.academics {
    grid-template-columns:170px 1fr;
}

.mega-side {
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 1.75rem;
    padding-top: 0.1rem;
    padding-bottom: 4rem;
}

.mega-side::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 140px;
    aspect-ratio: 4167 / 1588;
    background: url('assets/image/rmis-logo.svg') no-repeat left bottom;
    background-size: contain;
    opacity: 0.15;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.mega-side-tag {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 0.35rem;
    display: block;
}

.mega-side-title {
    font-family: var(--ff-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.mega-side-desc {
    font-size: 0.83rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1rem;
}

.mega-side-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--c-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1.5px solid var(--c-gold);
    padding-bottom: 0.1rem;
    transition: opacity 0.2s;
}

.mega-side-cta:hover {
    opacity: 0.75;
}

.mega-head,
.mega-ico {
    display: none;
}

.ico-gold,
.ico-blue,
.ico-green,
.ico-purple,
.ico-orange,
.ico-teal,
.ico-red,
.ico-pink {
    display: none;
}

.mega-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    align-content: start;
}

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

.mega-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.665rem 0.475rem;
    align-items: flex-start;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.18s ease;
    color: inherit;
}

.mega-item:last-child {
    border-bottom: none;
}

.mega-item:hover {
    background: none;
}

.mega-lbl {
    display: flex;
    flex-direction: column;
    padding-left: 0.85rem;
    position: relative;
}

.mega-lbl::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 4px;
    height: 4px;
    background: var(--c-gold);
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mega-item:hover .mega-lbl::before {
    opacity: 1;
    transform: scale(1.3);
}

.mega-lbl b {
    display: inline-block;
    font-size: 1.06rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.3;
    background-image: linear-gradient(var(--c-gold), var(--c-gold));
    background-size: 0% 1.5px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.25s ease, color 0.2s ease;
    padding-bottom: 1px;
}

.mega-item:hover .mega-lbl b {
    background-size: 100% 1.5px;
    color: var(--c-gold);
}

.mega-lbl span {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.4;
    margin-top: 0.15rem;
    display: block;
}

.nav-cta {
    margin-left: 1rem;
}

.nav-cta-mobile {
    display: none;
}


.nav-burger {
    display: none;
    margin-left: auto;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    border: none;
    background: none;
}

.nav-burger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--c-white);
    border-radius: 2px;
    transition: all var(--dur) var(--ease);
}

/* ================================================
   HERO â€” HOMEPAGE
================================================ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slide.active {
    opacity: 1;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
    transition: transform 7s ease;
}

.slide.active .slide-img {
    transform: scale(1);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    background: rgba(34, 47, 77, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.75);
}

.slider-btn:hover {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: var(--c-navy);
}

.slider-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.slider-prev {
    left: 1.5rem;
}

.slider-next {
    right: 1.5rem;
}

.slider-dots {
    position: absolute;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: var(--c-gold);
    width: 22px;
    border-radius: 3px;
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--c-gold);
    width: 0%;
    z-index: 4;
    transition: width linear;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(108deg, rgba(34, 47, 77, 0.82) 0%, rgba(34, 47, 77, 0.52) 45%, rgba(34, 47, 77, 0.12) 100%),
        linear-gradient(to top, rgba(34, 47, 77, 0.55) 0%, transparent 35%),
        linear-gradient(to bottom, rgba(34, 47, 77, 0.35) 0%, transparent 18%);
}

.hero-body {
    position: relative;
    z-index: 3;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.25rem 0 2.5rem;
    width: 100%;
    padding-top: 70px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 1.6rem;
}

.hero-pill-dot {
    width: 32px;
    height: 2px;
    background: var(--c-gold);
    border-radius: 2px;
    flex-shrink: 0;
}

.hero-pill span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.hero-headline {
    max-width: 760px;
    margin-bottom: 1.4rem;
}

.hero-headline em {
    font-style: normal;
    color: var(--c-gold);
    font-weight: 500;
}

.hero-sub {
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-scroll {
    position: absolute;
    left: 1.75rem;
    bottom: 3rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, transparent, var(--c-gold));
    animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes scrollDrop {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.15);
    }
}

.scroll-txt {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-dim);
    white-space: nowrap;
}

/* ================================================
   PROGRAMS â€” HOMEPAGE
================================================ */
#programs {
    padding: 3rem 1.25rem 4rem;
    background: #bda36d;
}

#programs>.sec-hd,
#programs>.prog-grid {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.prog-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.pf-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pf-dot {
    fill: rgba(34, 47, 77, 0.3);
    animation: pfPulse 3s ease-in-out infinite;
}

.pf-line {
    stroke: rgba(34, 47, 77, 0.15);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    animation: pfDash 20s linear infinite;
}

@keyframes pfPulse {

    0%,
    100% {
        opacity: 0.3
    }

    50% {
        opacity: 0.6
    }
}

@keyframes pfDash {
    to {
        stroke-dashoffset: -100;
    }
}

.pf {
    position: absolute;
    color: rgba(34, 47, 77, 0.22);
    animation: pfFloat ease-in-out infinite;
}

@keyframes pfFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(5deg);
    }
}

.pf-1 {
    width: 64px;
    top: 5%;
    left: 66%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.graduation-cap-1 {
    width: 64px;
    bottom: 8%;
    left: 12%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.pf-2 {
    width: 58px;
    top: 58%;
    left: 56%;
    animation-duration: 10s;
    animation-delay: -3s;
}

.pf-3 {
    width: 68px;
    top: 8%;
    left: 86%;
    animation-duration: 12s;
    animation-delay: -5s;
}

.pf-4 {
    width: 52px;
    top: 62%;
    left: 80%;
    animation-duration: 9s;
    animation-delay: -2s;
}

.pf-5 {
    width: 62px;
    top: 35%;
    left: 74%;
    animation-duration: 11s;
    animation-delay: -7s;
}

.book-1 {
    width: 62px;
    top: 15%;
    left: 4%;
    animation-duration: 11s;
    animation-delay: -7s;
}

.book-2 {
    width: 52px;
    bottom: 12%;
    left: 50%;
    animation-duration: 9s;
    animation-delay: -2s;
}

.book-3 {
    width: 52px;
    bottom: 30%;
    right: 4%;
    animation-duration: 9s;
    animation-delay: -2s;
}

#programs .t-eyebrow {
    color: var(--c-navy);
    opacity: 0.65;
}

#programs .t-display {
    color: var(--c-navy);
}

#programs .section-wm {
    filter: brightness(0);
    opacity: 0.07;
}

.sec-hd {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.sec-hd-l .t-eyebrow {
    margin-bottom: 0.6rem;
}

.prog-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    width: 100%;
}

.prog-card {
    position: relative;
    height: 440px;
    border-radius: 6px;
    overflow: hidden;
    /* cursor: pointer; */
    flex: 1;
}

.prog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.prog-card:hover img {
    transform: scale(1.07);
}

.prog-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34, 47, 77, 0.92) 25%, rgba(34, 47, 77, 0.05) 65%, rgba(34, 47, 77, 0) 100%);
    transition: background var(--dur) var(--ease);
}

.prog-card:hover .prog-shade {
    background: linear-gradient(to top, rgba(34, 47, 77, 0.97) 35%, rgba(34, 47, 77, 0.15) 70%, rgba(34, 47, 77, 0) 100%);
}

.prog-content {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.prog-static {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.5rem 1.25rem;
    background: linear-gradient(to top, rgba(20, 30, 55, 0.95) 0%, rgba(20, 30, 55, 0.5) 70%, transparent 100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.prog-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 30, 55, 0.96);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.prog-card:hover .prog-static {
    transform: translateY(-100%);
}

.prog-card:hover .prog-hover {
    transform: translateY(0);
}

.prog-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.prog-badge-dot {
    width: 5px;
    height: 5px;
    background: var(--c-gold);
    border-radius: 50%;
}

.prog-badge-txt {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.prog-name {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.prog-grades {
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.prog-desc {
    font-size: 0.82rem;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.85rem;
}

.prog-more {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    text-decoration: none;
}

.prog-more span {
    transition: transform var(--dur) var(--ease);
}

.prog-card:hover .prog-more span {
    transform: translateX(5px);
}

.prog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    border: 1px solid var(--c-border-g);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
    pointer-events: none;
}

.prog-card:hover::after {
    opacity: 1;
}

/* ================================================
   WHY RMIS â€” HOMEPAGE
================================================ */
#why {
    background: #1a2740;
    overflow: hidden;
    position: relative;
    min-height: 572px;
}

#why .why-bg-img {
    position: absolute;
    left: 0;
    right: 0;
    top: -8%;
    height: 116%;
    width: 100%;
    object-fit: cover;
    object-position: 70% center;
    z-index: 0;
    display: block;
    will-change: transform;
}

#why .why-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 24, 45, 0.88) 0%, rgba(15, 24, 45, 0.55) 40%, rgba(15, 24, 45, 0.1) 70%, transparent 100%);
    z-index: 0;
}

.why-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.why-orb-a {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(189, 163, 109, 0.18) 0%, transparent 70%);
    top: -100px;
    left: -80px;
    animation: whyOrb 14s ease-in-out infinite;
}

.why-orb-b {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(93, 120, 180, 0.15) 0%, transparent 70%);
    bottom: -60px;
    right: 10%;
    animation: whyOrb 10s ease-in-out infinite reverse;
    animation-delay: -5s;
}

@keyframes whyOrb {

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

    40% {
        transform: translate(40px, 30px) scale(1.15);
    }

    70% {
        transform: translate(-20px, 40px) scale(0.9);
    }
}

.why-inner {
    padding: 5rem 1.25rem 4rem 2rem;
    display: block;
    max-width: 580px;
    position: relative;
    z-index: 1;
    margin: 0;
}

.why-left {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.why-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold);
    border: 1px solid rgba(189, 163, 109, 0.35);
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    width: fit-content;
}

.why-heading {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.why-heading em {
    font-style: italic;
    color: var(--c-gold);
}

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

.why-cta {
    background: #f5c518;
    color: #1a1a1a;
    width: fit-content;
    margin-top: 0.5rem;
    font-weight: 700;
    box-shadow: 0 6px 24px rgba(245, 197, 24, 0.4);
}

.why-cta:hover {
    background: #ffd235;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 197, 24, 0.55);
}

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

.why-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.why-card:hover {
    background: rgba(189, 163, 109, 0.08);
    border-color: rgba(189, 163, 109, 0.3);
    transform: translateY(-4px);
}

.why-card-ico {
    width: 40px;
    height: 40px;
    background: rgba(189, 163, 109, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
    margin-bottom: 1rem;
}

.why-card-ico svg {
    width: 20px;
    height: 20px;
}

.why-card h4 {
    font-family: var(--ff-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.why-card p {
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.why-stats-strip {
    padding: 1.8rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    border-top: 3px solid var(--c-gold);
    background: #1a2740;
}

.why-stat-s {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.why-stat-s:last-child {
    border-right: none;
}

.wss-n {
    font-family: var(--ff-display);
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 700;
    color: var(--c-gold);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.wss-l {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* ================================================
   SPLIT FEATURE
================================================ */
#split-feature {
    display: grid;
    grid-template-columns: 1fr;
    height: 406px;
}

.sf-panel {
    position: relative;
    overflow: hidden;
    display: block;
    height: 100%;
    text-decoration: none;
}

.sf-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transition: transform 0.9s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sf-panel:hover img {
    transform: scale(1.06);
}

.sf-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 18, 35, 0.72) 0%, rgba(10, 18, 35, 0.3) 60%, rgba(10, 18, 35, 0.1) 100%);
    transition: opacity 0.4s ease;
}

.sf-overlay-r {
    background: linear-gradient(to top, rgba(10, 18, 35, 0.88) 0%, rgba(10, 18, 35, 0.55) 45%, rgba(10, 18, 35, 0.2) 100%);
}

.sf-panel:hover .sf-overlay {
    opacity: 0.85;
}

.sf-label {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    z-index: 2;
}

.sf-tag {
    display: block;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 0.25rem;
}

.sf-name {
    display: block;
    font-family: var(--ff-display);
    font-size: clamp(1.5rem, 3.22vw, 2.3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0.35rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease;
}

.sf-panel:hover .sf-name {
    transform: translateY(-3px);
}

.sf-desc {
    display: block;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.sf-line {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--c-gold);
    border-radius: 2px;
    margin: 0 auto;
    transition: width 0.4s ease;
}

.sf-panel:hover .sf-line {
    width: 50px;
}

/* ================================================
   STUDENT LIFE MOSAIC
================================================ */
#life {
    padding: 5.5rem 1.25rem 1.5rem;
}

#life .sec-hd {
    margin-bottom: 2rem;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.mosaic {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 0.9rem;
}

.m-cell {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}

.m-cell:first-child {
    grid-row: span 2;
}

.m-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease);
}

.m-cell:hover img {
    transform: scale(1.07);
}

.m-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34, 47, 77, 0.9) 0%, rgba(34, 47, 77, 0.1) 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem 1.5rem;
    transition: background var(--dur) var(--ease);
}

.m-cell:hover .m-overlay {
    background: linear-gradient(to top, rgba(34, 47, 77, 0.95) 0%, rgba(34, 47, 77, 0.25) 55%);
}

.m-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 0.3rem;
}

.m-title {
    font-family: var(--ff-display);
    font-weight: 600;
    line-height: 1.25;
}

.m-cell:first-child .m-title {
    font-size: 1.65rem;
}

.m-cell:not(:first-child) .m-title {
    font-size: 1.1rem;
}

.m-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    border: 1px solid var(--c-border-g);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
    pointer-events: none;
}

.m-cell:hover::after {
    opacity: 1;
}

/* ================================================
   ADMISSIONS CTA
================================================ */
#admissions {
    position: relative;
    overflow: hidden;
}

.adm-bg {
    position: absolute;
    inset: 0;
}

.adm-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.adm-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(34, 47, 77, 0.92) 0%, rgba(34, 47, 77, 0.78) 35%, rgba(34, 47, 77, 0.25) 65%, rgba(34, 47, 77, 0.05) 100%), linear-gradient(to top, rgba(34, 47, 77, 0.4) 0%, transparent 30%);
}

.adm-body {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0;
    width: 100%;
}

.adm-text {
    max-width: 520px;
}

.adm-text .t-eyebrow {
    margin-bottom: 0.65rem;
}

.adm-text .t-display {
    margin-bottom: 0.9rem;
}

.adm-text .t-lead {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    max-width: 420px;
}

.adm-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}

.adm-note {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* ================================================
   DIRECTOR SECTION â€” HOMEPAGE
================================================ */
#director {
    display: grid;
    grid-template-columns: 40% 60%;
    background: #1c2b45;
    position: relative;
    overflow: hidden;
}

.dir-wm-crest {
    position: absolute;
    right: -55%;
    top: 0%;
    width: 80%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.14;
    filter: brightness(0) invert(1);
}

.dir-wm-crest img {
    width: 100%;
    display: block;
}

.dir-photo-col {
    position: relative;
    overflow: hidden;
    height: 608px;
    background: #1c2b45;
}

.dir-photo-img {
    height: 100%;
    width: auto;
    max-width: unset;
    display: block;
    object-fit: unset;
    position: absolute;
    bottom: 0;
    left: 0;
}

.dir-photo-col::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 65%);
    mask-image: linear-gradient(to right, transparent 0%, black 65%);
    pointer-events: none;
    z-index: 1;
}

.dir-photo-col::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 25%, rgba(28, 43, 69, 0.28) 55%, rgba(28, 43, 69, 0.72) 72%, #1c2b45 88%), linear-gradient(to top, #1c2b45 0%, rgba(28, 43, 69, 0.3) 12%, transparent 28%);
    pointer-events: none;
    z-index: 2;
}

.dir-content-col {
    position: relative;
    z-index: 2;
    padding: 3rem 1.5rem 3rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.3rem;
}

.dir-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dir-eyebrow-line {
    display: block;
    width: 34px;
    height: 2px;
    background: var(--c-gold);
    border-radius: 2px;
    flex-shrink: 0;
}

.dir-eyebrow-txt {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.dir-big-quote {
    font-family: var(--ff-serif);
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.16;
    color: #fff;
    margin: 0;
    padding: 0;
    border: none;
    letter-spacing: -0.01em;
}

.dir-sub-text {
    font-size: 0.92rem;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.52);
    max-width: 480px;
}

.dir-attrib {
    font-family: var(--ff-display);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--c-gold);
}

/* ================================================
   PAGE HERO (inner pages)
================================================ */
.page-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.page-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(25, 37, 62, 0.98) 0%, rgba(25, 37, 62, 0.55) 60%, rgba(25, 37, 62, 0.25) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.25rem 2.5rem;
    width: 100%;
}

.page-hero-content .t-eyebrow {
    margin-bottom: 0.5rem;
    display: block;
}

.page-hero-content .t-display {
    color: var(--c-white);
}

.page-hero-line {
    width: 48px;
    height: 2px;
    background: var(--c-gold);
    margin-bottom: 1rem;
}

.hero-logo-wm {
    position: absolute;
    left: 30%;
    bottom: 30%;
    width: 28%;
    max-width: 320px;
    opacity: 0.12;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 2;
}

.hero-logo2-wm {
    position: absolute;
    right: 10%;
    top: 10%;
    width: 10%;
    max-width: 320px;
    opacity: 0.12;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 2;
}

/* Banner logo watermark (shared across inner pages) */

/* ================================================
   BREADCRUMB
================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--c-gold);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.25);
}

.breadcrumb strong {
    color: var(--c-gold);
    font-weight: 600;
}

/* ================================================
   INNER PAGE BACKGROUND & ANIMATED ELEMENTS
================================================ */
main {
    background:
        radial-gradient(ellipse 70% 45% at 90% 10%, rgba(80, 110, 170, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 50% 35% at 10% 85%, rgba(189, 163, 109, 0.05) 0%, transparent 50%),
        linear-gradient(168deg, #19253e 0%, #1d2b46 30%, #202d48 65%, #222f4d 100%);
    position: relative;
}

main>* {
    position: relative;
    z-index: 1;
}

/* ================================================
   CONTENT WRAPPER (inner pages)
================================================ */
.page-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 4rem 2.5rem;
}

.page-contents {
    max-width: 1440px;
    margin: 0 0 0 auto;
    padding: 4rem 0 4rem 2.5rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    align-items: start;
}

.content-body p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

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

.content-body h3 {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--c-white);
    margin: 2rem 0 0.75rem;
}

.content-body h3:first-child {
    margin-top: 0;
}

.pull-quote {
    border-left: 3px solid var(--c-gold);
    padding: 1.25rem 1.75rem;
    background: var(--c-gold-pale);
    border-radius: 0 6px 6px 0;
    margin: 2rem 0;
}

.pull-quote p {
    font-family: var(--ff-serif);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--c-border);
    margin: 3rem 0;
}

/* ================================================
   CARDS (inner pages)
================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.25s;
}

.card:hover {
    border-color: var(--c-gold-ring);
}

.card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s;
}

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

.card-body {
    padding: 1.25rem 1.5rem;
}

.card-name {
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.card-role {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 0.75rem;
}

.card-bio {
    font-size: 0.8rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================================
   TIMELINE (inner pages)
================================================ */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tl-item {
    display: grid;
    grid-template-columns: 120px 1px 1fr;
    gap: 0 2rem;
    padding-bottom: 2.5rem;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-year {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--c-gold);
    text-align: right;
    padding-top: 0.1rem;
}

.tl-line {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
}

.tl-line::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--c-gold);
    border-radius: 50%;
}

.tl-body {
    padding-top: 0;
}

.tl-body:hover{
    transform: translateY(-10px) scale(1.02);
}

.tl-body h4 {
    font-family: var(--ff-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--c-white);
}

.tl-body p {
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
}

/* ================================================
   VALUES GRID (inner pages)
================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.value-card {
    padding: 1.5rem;
    border-radius: 8px;
}

.value-card h4 {
    font-family: var(--ff-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-gold);
    margin-bottom: 0.4rem;
}

.value-card p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

/* ================================================
   FLOATING CTA (all pages)
================================================ */
#floatCta {
    position: fixed;
    right: 1rem;
    bottom: 1.4rem;
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: floatCtaIn 0.6s 0.8s both ease;
}

@keyframes floatCtaIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

.float-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    font-family: var(--ff-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 100px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.28s ease;
    border: none;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.float-btn-primary {
    background: #f5c518;
    color: #1a1a1a;
    box-shadow: 0 6px 24px rgba(245, 197, 24, 0.45);
}

.float-btn-primary:hover {
    background: #ffd235;
    transform: scale(1.04);
}

.float-btn-sec {
    background: #1a6bbf;
    color: #fff;
    box-shadow: 0 6px 24px rgba(26, 107, 191, 0.45);
}

.float-btn-sec:hover {
    background: #2279d4;
    transform: scale(1.04);
}

.float-btn-wa {
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.float-btn-wa:hover {
    background: #1ebe5d;
    transform: scale(1.04);
}

.float-ico {
    display: flex;
    align-items: center;
}

.float-lbl {
    line-height: 1;
}

/* ================================================
   REVEAL ANIMATIONS
================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.shown {
    opacity: 1;
    transform: none;
}

.reveal-d1 {
    transition-delay: 0.08s;
}

.reveal-d2 {
    transition-delay: 0.16s;
}

.reveal-d3 {
    transition-delay: 0.24s;
}

.reveal-d4 {
    transition-delay: 0.32s;
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.92);
}

.reveal-left.shown,
.reveal-right.shown,
.reveal-scale.shown {
    transform: none;
    opacity: 1;
}

.t-eyebrow.reveal {
    transform: translateX(-16px);
}

.t-eyebrow.reveal.shown {
    transform: none;
}

.t-display.reveal,
.t-hero.reveal {
    transform: translateY(40px);
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.prog-card.reveal,
.m-cell.reveal,
.why-card.reveal,
.value-card.reveal {
    transform: translateY(20px) scale(0.97);
}

.prog-card.reveal.shown,
.m-cell.reveal.shown,
.why-card.reveal.shown,
.value-card.reveal.shown {
    transform: none;
}

/* ================================================
   LOGO WATERMARK
================================================ */
.section-wm {
    position: absolute;
    pointer-events: none;
    user-select: none;
    width: 35%;
    max-width: 420px;
    opacity: 0.145;
    filter: brightness(0) invert(1) sepia(1) saturate(6) hue-rotate(10deg);
    z-index: 0;
}

#director .section-wm {
    width: 22%;
    max-width: 260px;
}

.section-wm-tr {
    top: 4%;
    right: 2%;
}

#life .section-wm {
    top: 3%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.section-wm-bl {
    bottom: 4%;
    left: 2%;
    transform: scaleX(-1);
}

.section-wm-cr {
    top: 50%;
    right: 3%;
    left: auto;
    transform: translateY(-50%);
    width: 28%;
    max-width: 320px;
    opacity: 0.07;
}

/* ================================================
   FOOTER
================================================ */
#footer {
    background: #222f4d;
    border-top: 3px solid var(--c-gold);
    position: relative;
    overflow: hidden;
}

#footer::before {
    filter: brightness(0) invert(1);
    opacity: 0.04;
}

.foot-top {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.1fr 1.3fr;
    gap: 2rem;
}

.foot-logo-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
}

.foot-logo-wm {
    max-width: 180px;
    opacity: 0.5;
    filter: brightness(0) invert(1);
    margin-bottom: 0.6rem;
}

.foot-logo-tagline {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-gold);
    opacity: 0.8;
}

.ib-logos {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    align-items: center;
    width: auto;
}

.ib-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    filter: none;
    transition: opacity 0.25s ease;
}

.ib-logo:hover {
    opacity: 1;
}

.foot-col h5 {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 0.9rem;
}

.foot-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.foot-col ul li a {
    font-size: 0.79rem;
    color: rgba(255, 255, 255, 0.48);
    transition: color var(--dur) var(--ease);
}

.foot-col ul li a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.fci {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.fci svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.35);
}

.fci span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.5;
    word-break: break-word;
}

.fci a {
    color: rgba(255, 255, 255, 0.48);
}

.fci a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.foot-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.fci-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    color: rgba(255, 255, 255, 0.4);
}

.fci-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

.fci-text a {
    color: rgba(255, 255, 255, 0.48);
}

.fci-text a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.foot-btm-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #1a2640;
}

.foot-btm {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.foot-btm p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.32);
}

.foot-ib {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.foot-ib img {
    height: 30px;
    object-fit: contain;
}

.foot-links {
    display: flex;
    gap: 1.5rem;
}

.foot-links a {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.32);
    transition: color 0.25s;
}

.foot-links a:hover {
    color: var(--c-gold);
}

.foot-btm-links {
    display: flex;
    gap: 1.5rem;
}

.foot-btm-links a {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.32);
    transition: color var(--dur) var(--ease);
    white-space: nowrap;
}

.foot-btm-links a:hover {
    color: var(--c-gold);
}

/* ================================================
   ABOUT â€” DIRECTOR PAGE
================================================ */
.dir-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.dir-left {
    position: sticky;
    top: 90px;
}

.dir-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    border-radius: 4px;
    display: block;
}

.dir-caption {
    border-left: 3px solid var(--c-gold);
    padding-left: 1rem;
    margin-top: 1.1rem;
}

.dir-caption strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
}

.dir-caption span {
    font-size: 0.7rem;
    color: var(--c-gold);
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.dir-text p {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.3rem;
}

.dir-text p.lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.dir-h3 {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--c-gold);
    margin: 2.25rem 0 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.dir-h3:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.dir-quote {
    margin: 1.75rem 0;
    padding: 1.5rem 0 1.5rem 1.75rem;
    border-left: 3px solid var(--c-gold);
}

.dir-quote p {
    font-family: var(--ff-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.65;
}

.dir-bullets {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dir-bullets li {
    display: grid;
    grid-template-columns: auto 260px 1fr;
    gap: 0.85rem;
    font-size: 0.97rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    align-items: start;
}

.dir-bullets li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--c-gold);
    border-radius: 50%;
    margin-top: 0.6em;
}

.dir-bullets li strong {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
    .dir-bullets li {
        display: block;
        padding-left: 1.25rem;
        position: relative;
    }
    .dir-bullets li::before {
        position: absolute;
        left: 0;
        top: 0.6em;
    }
    .dir-bullets li strong {
        display: inline;
    }
    .dir-bullets li span {
        display: inline;
    }
}

.dir-sign {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.dir-sign p {
    font-family: var(--ff-serif);
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.dir-sign strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.dir-sign span {
    font-size: 0.7rem;
    color: var(--c-gold);
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.dir-page-wm {
    position: fixed;
    right: -45%;
    top: 35%;
    transform: translateY(-50%);
    width: 65%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
    filter: brightness(0) invert(1);
    overflow: hidden;

}

.dir-page-wm img {
    width: 100%;
    display: block;
}

/* ================================================
   ABOUT â€” VISION PAGE
================================================ */
.vm-panel {
    display: grid;
    grid-template-columns: 1fr 42%;
    gap: 0;
    margin-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
}

.vm-texts {
    background: transparent;
    display: flex;
    flex-direction: column;
}

.vm-block {
    padding: 3rem;
    flex: 1;
    border-left: 3px solid var(--c-gold);
}

/* .vm-block+.vm-block {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
} */

.vm-block .t-eyebrow {
    display: block;
    margin-bottom: 0.4rem;
}

.vm-block h2 {
    font-family: var(--ff-display);
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
    font-weight: 600;
    color: #fff;
    margin: 0.4rem 0 1.1rem;
    line-height: 1.2;
}

.vm-block p {
    font-size: 1.05rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.vm-panel-img {
    position: relative;
    overflow: hidden;
    min-height: 400px;

}

.vm-panel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Soft blend into the text section */
.vm-panel-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to left,
            rgba(15, 24, 45, 0) 58%,
            rgba(15, 24, 45, .18) 72%,
            rgba(15, 24, 45, .55) 88%,
            rgba(15, 24, 45, .95) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Slight darkening for premium feel */
.vm-panel-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 35, .18);
    z-index: 1;
}

.vm-panel:hover .vm-panel-img img {
    transform: scale(1.05);
}

.vm-tagline {
    text-align: center;
    padding: 0.75rem 2rem 1.25rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.vm-tagline::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--c-gold);
    flex-shrink: 0;
}

.vm-tagline blockquote {
    font-family: var(--ff-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-style: italic;
    color: var(--c-gold);
    line-height: 1.3;
    margin: 0;
}

.vm-tagline cite {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    font-style: normal;
    flex-shrink: 0;
}

.vm-values-section {
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    padding: 0 !important;
    background: linear-gradient(160deg, #1a2e56 0%, #1d3260 60%, #1b2d58 100%);
}

.vm-values-bg {
    position: absolute;
    inset: 0;
}

.vm-values-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.vm-values-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(8, 15, 30, .50),
            rgba(8, 15, 30, .80),
            rgba(8, 15, 30, .95));
}

.vm-values-inner {
    position: relative;
    z-index: 1;
    padding: 4rem 6vw;
    text-align: center;
    max-width: 1320px;
    margin: 0 auto;
}

/* .vm-values-inner .t-eyebrow {
    margin-bottom: 1.75rem;
} */
.title-eyebrow {
    font-size: clamp(1.1rem, 2vw, 1.7rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-white);
    margin-bottom: 1rem;
    display: block;
}

.vm-values-inner .values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.vm-values-inner .value-card {
    position: relative;
    padding: 2.25rem 1.8rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: left;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Glowing top accent border on hover */
.vm-values-inner .value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Radial light shimmer on hover */
.vm-values-inner .value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(189, 163, 109, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.vm-values-inner .value-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(189, 163, 109, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(189, 163, 109, 0.2);
}

.vm-values-inner .value-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.vm-values-inner .value-card:hover::after {
    opacity: 1;
}

.vm-values-inner .value-card h4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--c-gold);
    margin-bottom: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.35s ease, transform 0.35s ease;
}

.vm-values-inner .value-card:hover h4 {
    color: #ffffff;
    transform: translateX(4px);
}

/* Icon styling */
.vm-values-inner .value-card h4 i {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--c-navy);
    color: var(--c-gold);
    font-size: 1.25rem;
    border: 1px solid rgba(189, 163, 109, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Icon Hover Effect */
.vm-values-inner .value-card:hover h4 i {
    background: var(--c-gold);
    color: var(--c-navy);
    border-color: var(--c-gold);
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 0 25px rgba(189, 163, 109, 0.6);
}

.vm-values-inner .value-card p {
    font-size: 1rem;
    line-height: 1.72;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    transition: color 0.35s ease;
}

.vm-values-inner .value-card:hover p {
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 992px) {
    .vm-values-inner .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .vm-values-inner .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   ABOUT â€” HISTORY PAGE
================================================ */
.hist-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: start;
}

.his-logo-wm {
    position: absolute;
    left: 0%;
    bottom: 45%;
    width: 18%;
    max-width: 320px;
    opacity: 0.12;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 2;
}

.hist-timeline {
    display: flex;
    flex-direction: column;
}

.tl-entry {
    display: grid;
    grid-template-columns: 110px 2px 1fr;
    column-gap: 2rem;
    padding-bottom: 2.25rem;
    cursor: pointer;
}

.tl-entry:last-child {
    padding-bottom: 0;
}

.tl-yr {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-gold);
    text-align: right;
    padding-top: 0.1rem;
    line-height: 1.1;
    transition: opacity 0.3s;
}

.tl-spine {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
}

.tl-spine::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--c-gold);
    border-radius: 50%;
    border: 2px solid #1e2d4a;
    box-shadow: 0 0 0 3px rgba(189, 163, 109, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tl-entry:hover .tl-spine::before,
.tl-entry.active .tl-spine::before {
    transform: translateX(-50%) scale(1.35);
    box-shadow: 0 0 0 5px rgba(189, 163, 109, 0.3);
}

.tl-body h4 {
    font-family: var(--ff-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
    transition: color 0.3s;
}

.tl-entry:hover .tl-body h4,
.tl-entry.active .tl-body h4 {
    color: var(--c-gold);
}

.tl-body p {
    font-size: 0.88rem;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.tl-entry.tl-milestone .tl-body h4 {
    color: var(--c-gold);
}

.hist-img-col {
    position: sticky;
    top: 90px;
    height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
}

.hist-slider {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
}

.hist-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hist-slide.active {
    opacity: 1;
}

.hist-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hist-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 24, 45, 0.9) 0%, transparent 100%);
    padding: 1.5rem 1.25rem 1.25rem;
}

.hist-slide-caption strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.15rem;
}

.hist-slide-caption span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.hist-dots {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.85rem;
}

.hist-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    padding: 0;
}

.hist-dot.active {
    background: var(--c-gold);
    transform: scale(1.3);
}

.hist-next {
    padding: 2rem 2.5rem;
    background: rgba(189, 163, 109, 0.06);
    border-left: 4px solid var(--c-gold);
    border-radius: 0 6px 6px 0;
}

.hist-next .t-eyebrow {
    display: block;
    margin-bottom: 0.4rem;
}

.hist-next h3 {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.65rem;
}

.hist-next p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
}

.hist-parallax-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hist-parallax-bg {
    position: absolute;
    inset: -15% 0;
    will-change: transform;
}

.hist-parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hist-parallax-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 24, 45, 0.5) 0%, rgba(15, 24, 45, 0.72) 100%);
}

.hist-parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem;
}

.hist-parallax-content .t-eyebrow {
    display: block;
    margin-bottom: 0.5rem;
}

.hist-parallax-content h2 {
    font-family: var(--ff-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.hist-parallax-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.65rem 1.6rem;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    color: #fff;
    font-family: var(--ff-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.hist-parallax-btn:hover {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: #1a2740;
}

/* ================================================
   ABOUT â€” LEADERSHIP PAGE
================================================ */
.lt-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.lt-intro .title-eyebrow {
    color: var(--c-gold) !important;
}

.lt-intro p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

.lt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}

.lt-card {
    perspective: none;
    height: auto;
    cursor: default;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.lt-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    transform-style: flat;
    transition: none;
}

.lt-card:hover .lt-card-inner {
    transform: none;
}

.lt-front,
.lt-back {
    position: relative;
    inset: auto;
    border-radius: 0;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    overflow: hidden;
}

.lt-front {
    width: 38%;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
}

.lt-front-img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.lt-front-ph {
    width: 100%;
    height: 100%;
    min-height: 240px;
    background: linear-gradient(160deg, rgba(34, 47, 77, 0.9) 0%, rgba(189, 163, 109, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-front-ph svg {
    width: 72px;
    height: 72px;
    color: rgba(255, 255, 255, 0.12);
}

.lt-front-info {
    display: none;
}

.lt-back {
    width: 62%;
    background: var(--c-gold);
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1.75rem;
}

.lt-back-role {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(30, 40, 65, 0.55);
    display: block;
    margin-bottom: 0.25rem;
}

.lt-back-name,
.lt-back-name-1 {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2740;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.lt-back-bio,
.lt-back-bio-1,
.lt-back-bio-2 {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(26, 39, 64, 0.82);
    margin: 0;
}

.lt-back-line {
    width: 32px;
    height: 2px;
    background: rgba(26, 39, 64, 0.25);
    margin-bottom: 0.75rem;
}

.lt-back.lt-no-bio {
    align-items: center;
    text-align: center;
    justify-content: center;
}

.lt-back.lt-no-bio .lt-back-name {
    margin-bottom: 0.25rem;
}

.leadership-logo-wm {
    position: relative;
    width: 55%;
    max-width: 300px;
    opacity: 0.18;
    filter: brightness(0) invert(1);
    pointer-events: none;
    align-self: center;
    justify-self: center;
    z-index: 1;
}

/* ================================================
   ABOUT â€” ALUMNI PAGE
================================================ */
.alm-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 5rem;
    align-items: start;
}

.alm-body p {
    font-size: 1.1rem;
    line-height: 1.82;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.4rem;
}

.alumni-logo-wm {
    position: absolute;
    left: 60%;
    top: 15%;
    width: 10%;
    max-width: 320px;
    opacity: 0.12;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 2;
}

.alm-body p.lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.alm-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 2.5rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
}

.alm-stat {
    text-align: center;
    padding: 0.5rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.alm-stat:last-child {
    border-right: none;
}

.alm-stat .n {
    font-family: var(--ff-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--c-gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.alm-stat .l {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.alm-register {
    padding: 2rem 2.25rem;
    background: rgba(189, 163, 109, 0.06);
    border-left: 3px solid var(--c-gold);
    border-radius: 0 6px 6px 0;
}

.alm-register .t-eyebrow {
    display: block;
    margin-bottom: 0.4rem;
}

.alm-register h3 {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.alm-register p {
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 1.25rem;
}

.alm-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(189, 163, 109, 0.3);
    padding-bottom: 0.1rem;
    transition: border-color 0.2s;
}

.alm-email:hover {
    border-color: var(--c-gold);
}

.alm-img-col {
    position: sticky;
    top: 90px;
    height: calc(100vh - 160px);
    border-radius: 8px;
    overflow: hidden;
}

.alm-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.alm-img-col:hover img {
    transform: scale(1.03);
}

.alm-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 24, 45, 0.55) 0%, transparent 50%);
    pointer-events: none;
}

.alm-img-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(15, 24, 45, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(189, 163, 109, 0.3);
    border-radius: 6px;
    padding: 0.75rem 1.1rem;
}

.alm-img-badge strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-gold);
    line-height: 1.1;
}

.alm-img-badge span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 1200px) {
    .prog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prog-card {
        height: 380px;
    }
}

@media (max-width: 1024px) {
    .lt-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .foot-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 960px) {
    #director {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .dir-photo-col {
        height: 420px;
    }

    .dir-photo-img {
        height: 100%;
    }

    .dir-content-col {
        padding: 3.5rem 2.5rem;
    }

    .dir-big-quote {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .why-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-cards {
        grid-template-columns: 1fr;
    }

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

    .hist-layout {
        grid-template-columns: 1fr;
    }

    .hist-img-col {
        position: static;
        height: auto;
    }

    .hist-slider {
        height: 56vw;
        min-height: 260px;
        flex: none;
    }

    .vm-panel {
        grid-template-columns: 1fr;
    }

    .vm-panel-img {
        min-height: 280px;
        order: -1;
    }

    .vm-values-inner .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vm-values-inner .value-card {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .vm-values-inner .value-card:first-child {
        border-top: none;
    }

    .vm-values-inner {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 880px) {
    .mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .m-cell:first-child {
        grid-row: span 1;
        height: 320px;
    }

    .m-cell:not(:first-child) {
        height: 210px;
    }
}

@media (max-width: 800px) {
    .dir-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dir-left {
        position: static;
    }

    .dir-photo {
        max-width: 260px;
    }

    .hero-logo-wm {
        display: none;
    }
}

/* ================================================
   NAV — MOBILE/TABLET HAMBURGER (≤900px)
================================================ */
@media (max-width: 900px) {

    body.body-no-scroll {
        overflow: hidden;
    }

    #nav.nav-open {
        background: #1c2740 !important;
        border-bottom: 1px solid var(--c-border);
        inset: 0 0 0 0 !important;
        backdrop-filter: blur(20px);
    }

    #nav.nav-open .nav-burger span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    #nav.nav-open .nav-burger span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    #nav.nav-open .nav-burger span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .nav-links {
        display: none;
    }

    #nav.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        padding: 2rem 1.5rem;
        gap: 0.5rem;
        overflow-y: auto;
        z-index: 998;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        animation: navSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes navSlideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 0;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-link svg {
        width: 11px;
        height: 11px;
        opacity: 0.55;
        transition: transform var(--dur) var(--ease);
    }

    .nav-item .nav-drop {
        display: none;
        position: static;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 4px;
        border-left: 2px solid var(--c-gold);
        margin: 0.25rem 0 0.75rem 0;
        padding: 0.25rem 0.5rem;
        transition: none;
    }

    .nav-item.active .nav-drop {
        display: block;
    }

    .nav-item.active .nav-link {
        color: var(--c-gold);
        border-bottom-color: transparent;
    }

    .nav-item.active .nav-link svg {
        transform: rotate(180deg);
        color: var(--c-gold);
        opacity: 1;
    }

    .mega-inner {
        display: block;
        padding: 0;
    }

    .mega-side {
        display: none;
    }

    .mega-cols {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mega-item {
        padding: 0.65rem 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .mega-item:last-child {
        border-bottom: none;
    }

    .mega-lbl {
        padding-left: 0.65rem;
    }

    .mega-lbl::before {
        top: 0.4em;
    }

    .mega-lbl b {
        font-size: 0.85rem;
        background-image: none !important;
        color: rgba(255, 255, 255, 0.85);
    }

    .mega-item:hover .mega-lbl b {
        color: var(--c-gold);
    }

    .mega-lbl span {
        font-size: 0.68rem;
        margin-top: 0.1rem;
    }

    .nav-cta-mobile {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 1.5rem;
        padding: 0.95rem 1.5rem;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-weight: 700;
        background: var(--c-gold);
        color: var(--c-navy);
        border-radius: 4px;
    }

    .nav-burger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }
}

@media (max-width: 720px) {

    body.body-no-scroll {
        overflow: hidden;
    }

    #nav.nav-open {
        background: #1c2740 !important;
        border-bottom: 1px solid var(--c-border);
        inset: 0 0 0 0 !important;
        backdrop-filter: blur(20px);
    }

    #nav.nav-open .nav-burger span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    #nav.nav-open .nav-burger span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    #nav.nav-open .nav-burger span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .nav-links {
        display: none;
    }

    #nav.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        padding: 2rem 1.5rem;
        gap: 0.5rem;
        overflow-y: auto;
        z-index: 998;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        animation: navSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes navSlideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 0;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-link svg {
        width: 11px;
        height: 11px;
        opacity: 0.55;
        transition: transform var(--dur) var(--ease);
    }

    /* Accordion dropdown style on mobile */
    .nav-item .nav-drop {
        display: none;
        position: static;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 4px;
        border-left: 2px solid var(--c-gold);
        margin: 0.25rem 0 0.75rem 0;
        padding: 0.25rem 0.5rem;
        transition: none;
    }

    .nav-item.active .nav-drop {
        display: block;
    }

    .nav-item.active .nav-link {
        color: var(--c-gold);
        border-bottom-color: transparent;
    }

    .nav-item.active .nav-link svg {
        transform: rotate(180deg);
        color: var(--c-gold);
        opacity: 1;
    }

    .mega-inner {
        display: block;
        padding: 0;
    }

    .mega-side {
        display: none;
    }

    .mega-cols {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mega-item {
        padding: 0.65rem 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .mega-item:last-child {
        border-bottom: none;
    }

    .mega-lbl {
        padding-left: 0.65rem;
    }

    .mega-lbl::before {
        top: 0.4em;
    }

    .mega-lbl b {
        font-size: 0.85rem;
        background-image: none !important;
        color: rgba(255, 255, 255, 0.85);
    }

    .mega-item:hover .mega-lbl b {
        color: var(--c-gold);
    }

    .mega-lbl span {
        font-size: 0.68rem;
        margin-top: 0.1rem;
    }

    /* Mobile CTA cloned button */
    .nav-cta-mobile {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 1.5rem;
        padding: 0.95rem 1.5rem;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-weight: 700;
        background: var(--c-gold);
        color: var(--c-navy);
        border-radius: 4px;
    }

    .nav-burger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-body {
        padding: 70px 1.5rem 0;
    }

    .hero-scroll {
        display: none;
    }

    .page-hero-content {
        padding: 0 1.5rem 2rem;
    }

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

    .prog-card {
        height: 320px;
    }

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

    .m-cell,
    .m-cell:first-child {
        height: 250px;
        grid-row: span 1;
    }

    .sec-hd {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .foot-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .foot-btm {
        flex-direction: column;
        text-align: center;
    }

    .t-hero {
        font-size: clamp(2.4rem, 9vw, 3.5rem);
    }

    #split-feature {
        height: 325px;
    }
}

@media (max-width: 720px) {
    .lt-grid {
        grid-template-columns: 1fr;
    }

    .lt-card {
        height: auto;
    }

    .lt-front {
        width: 42%;
    }

    .lt-back {
        width: 58%;
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 600px) {
    .foot-top {
        grid-template-columns: 1fr;
    }

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

    .tl-item {
        grid-template-columns: 80px 1px 1fr;
    }

    .foot-btm {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .dir-photo-col {
        height: 320px;
    }

    .dir-content-col {
        padding: 2.5rem 1.5rem;
        gap: 1.25rem;
    }

    .hist-layout {
        gap: 2rem;
    }

    .tl-entry {
        grid-template-columns: 72px 2px 1fr;
        column-gap: 1.25rem;
    }

    .tl-yr {
        font-size: 0.95rem;
    }
}

@media (max-width: 520px) {
    .vm-values-inner .values-grid {
        grid-template-columns: 1fr;
    }

    .vm-block {
        padding: 1.75rem 1.5rem;
    }

    .alm-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .alm-img-col {
        position: static;
        height: 340px;
    }

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

@media (max-width: 440px) {
    .lt-grid {
        grid-template-columns: 1fr;
    }

    .lt-card-inner {
        flex-direction: column;
    }

    .lt-front,
    .lt-back {
        width: 100%;
    }

    .lt-front-img,
    .lt-front-ph {
        min-height: 200px;
    }
}

/* ================================================
   WHY RMIS â€” INLINE STATS BLOCK (homepage variant)
   (Distinct from .why-stats-strip â€” used inside the
   programs/why section with dark navy number colours)
================================================ */
.why-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 1.5rem 0 2rem;
    border-top: 1px solid rgba(34, 47, 77, 0.2);
    border-bottom: 1px solid rgba(34, 47, 77, 0.2);
    padding: 1.25rem 0;
}

.why-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    border-right: 1px solid rgba(34, 47, 77, 0.15);
}

.why-stat:last-child {
    border-right: none;
}

.why-stat-n {
    font-family: var(--ff-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-navy);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.why-stat-l {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(34, 47, 77, 0.6);
}

/* ================================================
   IB OVERVIEW PAGE
================================================ */

/* --- Programme Cards --- */
.ib-prog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.ib-prog-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.25rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
    overflow: hidden;
}

.ib-prog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(189, 163, 109, 0.3);
    transition: background 0.3s;
}

.ib-prog-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(189, 163, 109, 0.35);
    transform: translateY(-5px);
}

.ib-prog-card:hover::before {
    background: var(--c-gold);
}

.ib-prog-card--featured {
    background: rgba(189, 163, 109, 0.08);
    border-color: rgba(189, 163, 109, 0.28);
}

.ib-prog-card--featured::before {
    background: var(--c-gold);
}

.ib-prog-icon {
    width: 48px;
    height: 48px;
    background: rgba(189, 163, 109, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
    margin-bottom: 0.75rem;
}

.ib-prog-icon svg {
    width: 24px;
    height: 24px;
}

.ib-prog-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 0.25rem;
}

.ib-prog-name {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.ib-prog-abbr {
    font-family: var(--ff-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(189, 163, 109, 0.18);
    line-height: 1;
    margin: 0.25rem 0 0.5rem;
    letter-spacing: -0.02em;
}

.ib-prog-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    flex: 1;
}

/* --- Intro split layout --- */
.ib-intro-grid {
    display: grid;
    grid-template-columns: 1fr 44%;
    gap: 4rem;
    align-items: center;
    padding-bottom: 4rem;
}

/* .iboverview-logo-wm {
    position: absolute;
    left: 40%;
    top: 40%;
    width: 10%;
    max-width: 320px;
    opacity: 0.12;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 2;
} */
/* .ib-skill-logo-wm {
    position: absolute;
    right: 10%;
    top: 50%;
    width: 20%;
    max-width: 320px;
    opacity: 0.12;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 2;
} */

.ib-intro-text p {
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.65);
}

.ib-intro-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 420px;
}

.ib-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ib-intro-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom-left, rgba(15, 24, 45, 0) 50%, rgba(15, 24, 45, 0.4) 100%);
}

/* --- Inquiry Section --- */
.ib-inquiry-section {
    position: relative;
    overflow: hidden;
}

.ib-inquiry-bg {
    position: absolute;
    inset: 0;
}

.ib-inquiry-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.ib-inquiry-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 18, 35, 0.85) 0%,
            rgba(10, 18, 35, 0.92) 60%,
            rgba(10, 18, 35, 0.97) 100%);
}

.ib-inquiry-inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 5rem 2.5rem;
}

.ib-inquiry-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

/* --- Pillar Cards --- */
.ib-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ib-pillar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.ib-pillar:hover {
    background: rgba(189, 163, 109, 0.08);
    border-color: rgba(189, 163, 109, 0.28);
    transform: translateY(-4px);
}

.ib-pillar-ico {
    width: 52px;
    height: 52px;
    background: rgba(189, 163, 109, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
    margin-bottom: 1rem;
}

.ib-pillar h4 {
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.55rem;
    line-height: 1.3;
}

.ib-pillar p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.52);
    margin: 0;
}

/* --- Pull Quote --- */
.ib-pull-quote {
    margin-top: 3rem;
    border-left: 3px solid var(--c-gold);
    padding: 1.5rem 2rem;
    background: rgba(189, 163, 109, 0.06);
    border-radius: 0 8px 8px 0;
}

.ib-pull-quote p {
    font-family: var(--ff-serif);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin: 0;
}

/* --- Advantage Grid (Section 3) --- */
.ib-advantage-grid {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 4rem;
}

.ib-advantage-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 500px;
}

.ib-advantage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ib-advantage-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(34, 47, 77, 0.92);
    border: 1px solid rgba(189, 163, 109, 0.35);
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    backdrop-filter: blur(12px);
}

.ib-advantage-badge strong {
    display: block;
    font-family: var(--ff-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-gold);
    margin-bottom: 0.15rem;
}

.ib-advantage-badge span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
}

.ib-advantage-text p {
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.65);
}

/* --- Skills List --- */
.ib-skills-list {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ib-skill-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
}

.ib-skill-dot {
    width: 6px;
    height: 6px;
    background: var(--c-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Learner Profile Attributes --- */
.ib-attributes-wrap {
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ib-attributes-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ib-attributes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.ib-attr {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    cursor: default;
}

.ib-attr:hover {
    background: rgba(189, 163, 109, 0.08);
    border-color: rgba(189, 163, 109, 0.28);
    transform: translateY(-4px);
}

.ib-attr i {
    font-size: 1.4rem;
    color: var(--c-gold);
}

.ib-attr span {
    font-family: var(--ff-display);
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.04em;
}

/* --- CTA Section --- */
.ib-cta-section {
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.ib-cta-bg {
    position: absolute;
    inset: 0;
}

.ib-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.ib-cta-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(15, 24, 45, 0.90) 0%,
            rgba(15, 24, 45, 0.80) 45%,
            rgba(15, 24, 45, 0.25) 75%,
            rgba(15, 24, 45, 0.08) 100%);
}

.ib-cta-inner {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 560px;
    margin: 0 0 0 8%;
    padding: 5.5rem 2.5rem;
}

.ib-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .ib-cta-shade {
        background: rgba(15, 24, 45, 0.78);
    }

    .ib-cta-inner {
        text-align: center;
        margin: 0 auto;
        max-width: 520px;
    }

    .ib-cta-actions {
        justify-content: center;
    }
}


/* --- Responsive â€” IB Overview (legacy classes) --- */
@media (max-width: 1100px) {
    .ib-prog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .ib-attributes-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

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

    .ib-intro-grid,
    .ib-advantage-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ib-advantage-img {
        min-height: 320px;
    }

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

@media (max-width: 640px) {
    .ib-pillars-grid {
        grid-template-columns: 1fr;
    }

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

    .ib-prog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   IB OVERVIEW â€” CHAPTER REDESIGN
   Three-chapter continuous narrative layout
============================================================ */

/* ---- Chapter wrapper ---- */
.ib-chapter {
    position: relative;
    padding: 3rem 0 3rem;
    overflow: hidden;
}

.ib-chapter--dark {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

/* Dark chapter full-bleed background */
.ib-chapter-dark-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ib-chapter-dark-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ib-chapter-dark-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 32, 60, 0.97) 0%, rgba(22, 32, 60, 0.88) 60%, rgba(22, 32, 60, 0.75) 100%);
}

.ib-chapter--dark>*:not(.ib-chapter-dark-bg) {
    position: relative;
    z-index: 1;
}

/* ---- Chapter numbered marker ---- */
.ib-chapter-marker {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto 3.5rem;
    padding: 0 2.5rem;
}

.ib-chapter-num {
    font-family: var(--ff-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--c-gold);
    opacity: 0.25;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -0.04em;
}

.ib-chapter-rule {
    flex: 0 0 60px;
    height: 1.5px;
    background: var(--c-gold);
    opacity: 0.35;
}

.ib-chapter-label {
    font-family: var(--ff-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.ib-chapter-marker--light .ib-chapter-num {
    opacity: 0.18;
}

.ib-chapter-marker--light .ib-chapter-label {
    color: var(--c-gold-lt);
}

/* ---- Chapter two-column grid ---- */
.ib-chapter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 2.5rem;
    align-items: center;
}

.ib-chapter-grid--reverse {
    direction: rtl;
}

.ib-chapter-grid--reverse>* {
    direction: ltr;
}

/* Full-width single-column layout (chapter 2 â€” no side image) */
.ib-chapter-full {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.ib-chapter-text--wide {
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.ib-chapter-text--wide .ib-pillars-strip {
    grid-template-columns: repeat(4, 1fr);
}

.ib-chapter-text--wide .ib-attr-compact-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* ---- Chapter text side ---- */
.ib-chapter-text {
    padding: 2.5rem 3.5rem 2.5rem 1.5rem;
    position: relative;
}

.ib-chapter-grid--reverse .ib-chapter-text {
    padding: 2.5rem 3.5rem 2.5rem 0;
}

.ib-chapter-lead {
    font-family: var(--ff-display);
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 600;
    line-height: 1.45;
    color: var(--c-white);
    margin-bottom: 1.25rem;
}

.ib-chapter-lead span {
    color: var(--c-gold-lt);
    /* font-style: italic; */
    font-size: clamp(1.2rem, 1.9vw, 1.5rem);
    font-weight: 500;
    text-indent: 30%;
}

.ib-chapter-body {
    font-size: 1.1rem;
    line-height: 1.82;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2rem;
}


/* ---- Chapter image side ---- */
.ib-chapter-img {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.ib-chapter-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.ib-chapter-img:hover img {
    transform: scale(1.03);
}

.ib-chapter-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 32, 60, 0.45) 0%, transparent 70%);
}

.ib-chapter-img-badge {
    position: absolute;
    bottom: 1.75rem;
    left: 1.75rem;
    background: rgba(22, 32, 60, 0.85);
    border: 1px solid rgba(189, 163, 109, 0.3);
    border-left: 3px solid var(--c-gold);
    backdrop-filter: blur(12px);
    padding: 0.85rem 1.25rem;
    border-radius: 2px;
}

.ib-chapter-img-badge strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--c-gold);
    letter-spacing: 0.04em;
}

.ib-chapter-img-badge span {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.15rem;
}

/* ---- Programme pathway strip ---- */
.ib-pathway {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(189, 163, 109, 0.15);
    border-radius: 4px;
}

.ib-pathway-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 0.25rem;
}

.ib-pathway-ico {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(189, 163, 109, 0.1);
    border: 1px solid rgba(189, 163, 109, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--c-gold);
}

.ib-pathway-ico svg {
    width: 20px;
    height: 20px;
}

.ib-pathway-step strong {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-white);
}

.ib-pathway-step span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.04em;
}

.ib-pathway-step em {
    font-size: 0.62rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.3);
}

.ib-pathway-step--gold .ib-pathway-ico {
    background: rgba(189, 163, 109, 0.18);
    border-color: var(--c-gold);
}

.ib-pathway-step--gold strong {
    color: var(--c-gold);
}

.ib-pathway-arrow {
    flex-shrink: 0;
    color: rgba(189, 163, 109, 0.4);
}

.ib-pathway-arrow svg {
    width: 30px;
    height: 10px;
}

/* ---- Four pillars compact strip (chapter 2) ---- */
.ib-pillars-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 1.75rem;
}

.ib-pillar-s {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(189, 163, 109, 0.12);
    border-radius: 3px;
    transition: background 0.2s ease;
}

.ib-pillar-s:hover {
    background: rgba(189, 163, 109, 0.07);
}

.ib-pillar-s-ico {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(189, 163, 109, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
}

.ib-pillar-s span {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

/* ---- IB Learner Profile compact grid ---- */
.ib-attr-compact {
    border-top: 1px solid rgba(189, 163, 109, 0.15);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.ib-attr-compact-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 1rem;
}

.ib-attr-compact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.ib-attr-compact-grid span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 3px;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    transition: background 0.2s, color 0.2s;
}

.ib-attr-compact-grid span:hover {
    background: rgba(189, 163, 109, 0.1);
    color: var(--c-gold);
}

.ib-attr-compact-grid span i {
    font-size: 0.95rem;
    color: var(--c-gold);
    opacity: 0.7;
}

/* ---- Skills block (chapter 3) ---- */
.ib-skills-block {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ib-skill-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    /* background: rgba(255,255,255,0.03); */
    /* border: 1px solid rgba(255,255,255,0.07); */
    border-left: 3px solid transparent;
    border-radius: 2px;
    transition: all 0.22s ease;
}

.ib-skill-row:hover {
    background: rgba(189, 163, 109, 0.07);
    border-left-color: var(--c-gold);
}

.ib-skill-row i {
    font-size: 0.95rem;
    color: var(--c-gold);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.ib-skill-row span {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

/* ---- Inquiry section — constrain text so watermark has space on right ---- */
#ib-inquiry .ib-chapter-text--wide {
    max-width: 820px;
    margin-left: 0;
    margin-right: auto;
}

/* ---- Watermarks (keep existing) ---- */
.iboverview-logo-wm {
    position: absolute;
    right: 3%;
    top: 20%;
    width: 18%;
    max-width: 240px;
    opacity: 0.13;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 5;
}

.ib-skill-logo-wm {
    display: none;
    position: absolute;
    right: 2%;
    top: -25%;
    width: 50%;
    max-width: 420px;
    opacity: 0.08;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .ib-chapter-grid {
        gap: 0;
    }

    .ib-chapter-img {
        height: 420px;
    }

    .ib-attr-compact-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 860px) {

    .ib-chapter-grid,
    .ib-chapter-grid--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .ib-chapter-img {
        height: 300px;
        order: -1;
    }

    .ib-chapter-text {
        padding: 2rem 0 !important;
    }

    .ib-chapter-grid--reverse .ib-chapter-text {
        padding: 2rem 0 !important;
    }

    .ib-pathway {
        flex-direction: column;
        gap: 0.5rem;
    }

    .ib-pathway-arrow {
        transform: rotate(90deg);
    }

    .ib-attr-compact-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .ib-chapter-marker {
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    .ib-chapter {
        padding: 3rem 0;
    }

    .ib-chapter--dark {
        padding: 3rem 0;
    }

    .ib-pillars-strip {
        grid-template-columns: 1fr;
    }

    .ib-attr-compact-grid,
    .ib-chapter-text--wide .ib-attr-compact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ib-chapter-num {
        font-size: 2.5rem;
    }
}

/* ============================================================
   PYP PAGE - PRIMARY YEARS PROGRAMME
   Full-bleed split-screen, image sliders, gradient blend
============================================================ */

.pyp-main {
    overflow-x: hidden;
}

/* Row = image half + text half side by side */
.pyp-row {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    position: relative;
}

.pyp-row--flip {
    direction: rtl;
}

.pyp-row--flip>* {
    direction: ltr;
}

/* Full-width content-only section (no image column) */


.pyp-row--full {
    display: block;
    min-height: unset;
}

.pyp-logo-wm {
    position: absolute;
    right: 3%;
    bottom: 1%;
    width: 6%;
    max-width: 240px;
    opacity: 0.13;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 5;
}

.pyp-exhibition-wm {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 18%;
    max-width: 240px;
    opacity: 0.13;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

#pyp-exhibition .pyp-content--full {
    max-width: 70%;
    position: relative;
    z-index: 1;
}

.pyp-logo2-wm {
    position: absolute;
    left: 10%;
    top: -20%;
    width: 10%;
    max-width: 420px;
    opacity: 0.12;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 2;
}

.myp-logo-wm {
    position: absolute;
    right: 10%;
    top: -5%;
    width: 30%;
    max-width: 420px;
    opacity: 0.12;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 2;
}

.pyp-content--full {
    width: 100%;
    padding: 5.5rem 5rem;
    text-align: left;
}

.pyp-content--full .pyp-rule {
    margin-left: 0;
}

.pyp-content--full .pyp-themes-grid {
    grid-template-columns: repeat(6, 1fr);
}

/* Image slider panel */
.pyp-slider {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    background: transparent;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 28%, rgba(0, 0, 0, 0) 78%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 28%, rgba(0, 0, 0, 0) 78%);
}

.pyp-slides {
    position: absolute;
    inset: 0;
}

.pyp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
}

.pyp-slide.active {
    opacity: 1;
}

.pyp-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gradient blend - dissolves image edge into navy */
.pyp-blend {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.pyp-blend--right {
    background: linear-gradient(to right,
            transparent 0%,
            transparent 38%,
            rgba(34, 47, 77, 0.45) 60%,
            rgba(34, 47, 77, 0.88) 82%,
            var(--c-navy) 100%);
    background: linear-gradient(to right,
            transparent 0%,
            transparent 38%,
            rgb(from var(--c-navy) r g b / 0.45) 60%,
            rgb(from var(--c-navy) r g b / 0.88) 82%,
            var(--c-navy) 100%);
}

.pyp-blend--left {
    background: linear-gradient(to left,
            transparent 0%,
            transparent 38%,
            rgba(34, 47, 77, 0.45) 60%,
            rgba(34, 47, 77, 0.88) 82%,
            var(--c-navy) 100%);
    background: linear-gradient(to left,
            transparent 0%,
            transparent 38%,
            rgb(from var(--c-navy) r g b / 0.45) 60%,
            rgb(from var(--c-navy) r g b / 0.88) 82%,
            var(--c-navy) 100%);
}

/* Top and bottom fade into adjacent sections */
.pyp-slider::before,
.pyp-slider::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 130px;
    z-index: 3;
    pointer-events: none;
}

.pyp-slider::before {
    top: 0;
    background: linear-gradient(to bottom, var(--c-navy) 0%, transparent 100%);
}

.pyp-slider::after {
    bottom: 0;
    background: linear-gradient(to top, var(--c-navy) 0%, transparent 100%);
}

/* No-blend variant — crisp image, no gradient overlays */
.pyp-slider--no-blend {
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.pyp-slider--no-blend::before,
.pyp-slider--no-blend::after {
    display: none;
}

.pyp-slider--no-blend .pyp-blend {
    display: none;
}

/* Dot navigation */
.pyp-slider-dots {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 6px;
    align-items: center;
}

.pyp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pyp-dot.active {
    background: var(--c-gold);
    width: 22px;
    border-radius: 4px;
}

/* Content panel */
.pyp-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5.5rem 4rem 5.5rem 3rem;
    /* background: var(--c-navy); */
    position: relative;
    z-index: 1;
}

#myp-welcome {
    min-height: 360px;
}

#myp-welcome .pyp-content {
    padding: 3rem 3.5rem 3rem 3rem;
}

#myp-welcome .pyp-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    margin-bottom: 0.75rem;
}

#myp-welcome .pyp-body {
    font-size: 1rem;
    line-height: 1.78;
}

.pyp-row--flip .pyp-content {
    padding: 5.5rem 3rem 5.5rem 4rem;
}

.pyp-heading {
    font-family: var(--ff-display);
    font-size: clamp(1.45rem, 2.1vw, 2.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--c-white);
    margin-bottom: 1.2rem;
}

.pyp-heading em {
    /* font-style: italic; */
    color: var(--c-gold);
}

.pyp-rule {
    width: 150px;
    height: 2px;
    background: var(--c-gold);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.pyp-lead {
    font-family: var(--ff-display);
    font-size: clamp(1.3rem, 1.7vw, 1.5rem);
    font-weight: 600;
    line-height: 1.52;
    color: var(--c-white);
    margin-bottom: 0.85rem;
}

.pyp-lead span {
    color: var(--c-gold);
    /* font-style: italic; */
}

.pyp-body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.75rem;
}

.pyp-tag-row {
    display: none;
}

.pyp-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(189, 163, 109, 0.28);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--c-gold);
    background: rgba(189, 163, 109, 0.07);
}

.pyp-tag i {
    font-size: 0.7rem;
}

/* Six global themes grid */
.pyp-themes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.pyp-theme-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.8rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(189, 163, 109, 0.12);
    border-left: 3px solid var(--c-gold);
    border-radius: 2px;
    transition: background 0.22s ease;
}

.pyp-theme-item:hover {
    background: rgba(189, 163, 109, 0.08);
}

.pyp-theme-item i {
    font-size: 1rem;
    color: var(--c-gold);
}

.pyp-theme-item span {
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.72);
}

/* Learner profile pills */
.pyp-attr-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pyp-attr-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(189, 163, 109, 0.15);
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.62);
    transition: all 0.2s ease;
}

.pyp-attr-strip span:hover {
    background: rgba(189, 163, 109, 0.1);
    color: var(--c-gold);
    border-color: rgba(189, 163, 109, 0.32);
}

.pyp-attr-strip span i {
    font-size: 0.7rem;
    color: var(--c-gold);
}

/* Responsive */
@media (max-width: 1024px) {
    .pyp-content {
        padding: 4rem 2.5rem;
    }

    .pyp-row--flip .pyp-content {
        padding: 4rem 2.5rem;
    }

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

@media (max-width: 820px) {

    .pyp-row,
    .pyp-row--flip {
        grid-template-columns: 1fr;
        direction: ltr;
        min-height: unset;
    }

    .pyp-slider {
        min-height: 360px;
        height: 360px;
        order: 0;
    }

    .pyp-content {
        order: 1;
        padding: 2.5rem 1.5rem 3rem;
    }

    .pyp-blend--right {
        background: linear-gradient(to bottom, transparent 50%, rgba(34, 47, 77, 0.8) 80%, var(--c-navy) 100%);
    }

    .pyp-blend--left {
        background: linear-gradient(to bottom, transparent 50%, rgba(34, 47, 77, 0.8) 80%, var(--c-navy) 100%);
    }

    .pyp-themes-grid,
    .pyp-content--full .pyp-themes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 540px) {
    .pyp-slider {
        min-height: 280px;
        height: 280px;
    }

    .pyp-themes-grid,
    .pyp-content--full .pyp-themes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .pyp-exhibition-wm {
        display: none;
    }

    #pyp-exhibition .pyp-content--full {
        max-width: 100%;
    }
}

/* ============================================================
   DIPLOMA PAGE — IB DIPLOMA PROGRAMME
   Unique asymmetrical layout, 3-column core cards, overlay grid
============================================================ */

.dp-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.dp-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---- Section 1: Intro (asymmetric card layout) ---- */
.dp-intro-sec {
    padding: 6rem 0 4rem;
}

.dp-intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dp-intro-text {
    padding-right: 1.5rem;
}

.dp-feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(189, 163, 109, 0.2);
    border-top: 3px solid var(--c-gold);
    border-radius: 4px;
    padding: 3rem 2.5rem;
    overflow: hidden;
}

.dp-feature-card h3 {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    color: var(--c-white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.dp-feature-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.pyp-body span {
    color: var(--c-gold);
    /* font-style: italic; */
}

.dp-logo-wm {
    position: absolute;
    left: 20%;
    top: -6%;
    width: 25%;
    opacity: 0.06;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.dp-logo2-wm {
    position: absolute;
    right: 5%;
    top: 2%;
    width: 15%;
    opacity: 0.06;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

/* ---- Section 2: Core (Three-column cards) ---- */
.dp-core-sec {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dp-core-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.dp-core-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    padding: 2.5rem 2rem;
    transition: all 0.32s var(--ease);
}

.dp-core-card:hover {
    background: rgba(189, 163, 109, 0.06);
    border-color: rgba(189, 163, 109, 0.35);
    transform: translateY(-5px);
}

.dp-core-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(189, 163, 109, 0.12);
    border: 1px solid rgba(189, 163, 109, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.dp-core-card:hover .dp-core-icon {
    background: var(--c-gold);
    color: var(--c-navy);
}

.dp-core-card h3 {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 0.85rem;
}

.dp-core-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
}

/* ---- Section 3: The Global Advantage (Overlay layout) ---- */
.dp-advantage-sec {
    padding: 6rem 0;
}

/* ---- GED / PYP split layout: text left · image/slider right ---- */
.dp-split-sec {
    padding: 5rem 0;
    position: relative;
}

.dp-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.dp-split-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dp-split-img {
    position: relative;
    height: 680px;
    border-radius: 8px;
    overflow: hidden;
}

.dp-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PYP split grid — stretch so right column fills full text height */
.pyp-split-grid {
    align-items: stretch;
}

/* Right column: slider at top, watermark below */
.pyp-split-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    gap: 2rem;
    height: 100%;
    width: 100%;
}

/* PYP slider inside the split layout */
.pyp-split-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.pyp-split-slider .pyp-slider {
    min-height: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Watermark below slider */
.pyp-split-wm {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.pyp-split-wm img {
    width: 85%;
    max-width: 340px;
    height: auto;
    aspect-ratio: auto;
    opacity: 0.13;
    filter: brightness(0) invert(1);
    pointer-events: none;
    object-fit: contain;
}
.camps-split-wm {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.camps-split-wm img {
    width: 25%;
    max-width: 340px;
    height: auto;
    aspect-ratio: auto;
    opacity: 0.13;
    filter: brightness(0) invert(1);
    pointer-events: none;
    object-fit: contain;
}

/* Full-width paragraph below the grid */
.pyp-split-full {
    margin-top: 2rem;
    padding-top: 0.5rem;
}

.dp-overlay-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    position: relative;
}

.dp-overlay-img {
    position: relative;
    height: 480px;
    border-radius: 3px;
    overflow: hidden;
}

.dp-overlay-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dp-img-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 32, 60, 0.5) 0%, rgba(22, 32, 60, 0.2) 100%);
}

.dp-overlay-content {
    background: var(--c-navy-mid);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--c-gold);
    border-radius: 3px;
    padding: 4rem 3.5rem;
    margin-left: -5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .dp-intro-grid {
        gap: 2rem;
    }

    .dp-overlay-content {
        padding: 3rem 2.5rem;
        margin-left: -2rem;
    }

    .dp-overlay-img {
        height: 420px;
    }
}

@media (max-width: 860px) {
    .dp-split-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .dp-split-img {
        height: 340px;
        order: -1;
    }

    .pyp-split-slider {
        height: 340px;
        order: -1;
    }

    .dp-intro-grid {
        grid-template-columns: 1fr;
    }

    .dp-intro-text {
        padding-right: 0;
    }

    .dp-core-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dp-overlay-layout {
        grid-template-columns: 1fr;
    }

    .dp-overlay-img {
        height: 320px;
        order: 0;
    }

    .dp-overlay-content {
        margin-left: 0;
        margin-top: -2rem;
        order: 1;
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .dp-container {
        padding: 0 1.5rem;
    }

    .dp-intro-sec,
    .dp-core-sec,
    .dp-advantage-sec {
        padding: 4rem 0;
    }
}

/* ============================================================
   UNIVERSITY GUIDANCE PAGE — ug-main
   Responsive alternating grid layouts & parallax banner
============================================================ */

.ug-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.ug-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.ug-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.ug-section--dark {
    background: var(--c-navy-mid);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Two-column layout */
.ug-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.ug-grid--reverse {
    grid-template-columns: 1fr 1.2fr;
}

.ug-grid--reverse .ug-text-col {
    order: 1;
}

.ug-grid--reverse .ug-img-col {
    order: 0;
}

/* Image styling */
.ug-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.ug-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(189, 163, 109, 0.25);
    border-radius: 4px;
    z-index: 2;
    pointer-events: none;
}

.ug-img-wrapper img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.ug-img-wrapper:hover img {
    transform: scale(1.03);
}

/* Full-width container styles */
.ug-full-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Watermarks */
.ug-logo-wm {
    position: absolute;
    right: -10%;
    top: -30%;
    width: 40%;
    max-width: 320px;
    opacity: 0.06;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.ug-logo-wm {
    position: absolute;
    right: -10%;
    top: -20%;
    width: 40%;
    max-width: 320px;
    opacity: 0.06;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.ug-logo-wm-light {
    position: absolute;
    right: -30%;
    top: -20%;
    width: 30%;
    max-width: 280px;
    opacity: 0.08;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* CSS Parallax Strip */
.ug-parallax-strip {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.ug-parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.ug-parallax-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 32, 60, 0.9) 0%, rgba(22, 32, 60, 0.72) 100%);
    z-index: 1;
}

.ug-parallax-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ug-parallax-quote {
    text-align: center;
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-gold-lt);
    padding: 0 2rem;
}

/* Responsive grid adjustments */
@media (max-width: 1024px) {

    .ug-grid,
    .ug-grid--reverse {
        gap: 2.5rem;
    }

    .ug-img-wrapper img {
        height: 360px;
    }
}

@media (max-width: 860px) {
    .ug-section {
        padding: 4.5rem 0;
    }

    .ug-grid,
    .ug-grid--reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ug-text-col,
    .ug-grid--reverse .ug-text-col {
        order: 0;
    }

    .ug-img-col,
    .ug-grid--reverse .ug-img-col {
        order: 1;
    }

    .ug-img-wrapper img {
        height: 300px;
    }

    .ug-parallax-strip {
        height: 200px;
    }

    .ug-parallax-bg {
        background-attachment: scroll;
        /* Disable fixed parallax for better mobile scrolling performance */
    }
}

@media (max-width: 600px) {
    .ug-container {
        padding: 0 1.5rem;
    }

    .ug-section {
        padding: 3.5rem 0;
    }
}

/* ============================================================
   LEADERSHIP & COUNCIL PAGE — lc-main
   Responsive centered layouts & image slider in between
   ============================================================ */

.lc-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.lc-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.lc-section--dark {
    background: var(--c-navy-mid);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.lc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

.lc-full-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Watermarks (Relatable to other pages) */
.lc-logo-wm {
    position: absolute;
    left: 1%;
    top: 10%;
    width: 15%;
    max-width: 320px;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.lc-logo2-wm {
    position: absolute;
    right: -15%;
    top: -20%;
    width: 40%;
    max-width: 320px;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

/* Slider Section */
.lc-slider-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2.5rem;
}

.lc-slider {
    position: relative;
    height: 520px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.lc-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(189, 163, 109, 0.25);
    border-radius: 8px;
    z-index: 3;
    pointer-events: none;
}

.lc-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.lc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-slide.active {
    opacity: 1;
}

.lc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 6s ease;
}

.lc-slide.active img {
    transform: scale(1);
}

.lc-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.lc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.32s ease;
}

.lc-dot.active {
    background: var(--c-gold);
    width: 24px;
    border-radius: 4px;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .lc-slider {
        height: 420px;
    }
}

@media (max-width: 860px) {
    .lc-section {
        padding: 5rem 0;
    }

    .lc-slider {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .lc-container {
        padding: 0 1.5rem;
    }

    .lc-section {
        padding: 4rem 0;
    }

    .lc-slider-container {
        padding: 0 1.5rem;
    }

    .lc-slider {
        height: 260px;
    }
}

/* ============================================================
   EXTRA-CURRICULAR ACTIVITIES PAGE — eca-main
   ============================================================ */

.eca-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.eca-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.eca-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

.eca-full-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.eca-logo-wm {
    position: absolute;
    right: 10%;
    top: -1%;
    width: 35%;
    max-width: 320px;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 860px) {
    .eca-section {
        padding: 5rem 0;
    }
}

@media (max-width: 600px) {
    .eca-container {
        padding: 0 1.5rem;
    }

    .eca-section {
        padding: 4rem 0;
    }
}

/* ============================================================
   SPORTS PAGE — sp-main
   ============================================================ */

.sp-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.sp-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.sp-section--dark {
    background: var(--c-navy-mid);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.sp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

.sp-full-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sp-logo-wm {
    position: absolute;
    left: -30%;
    top: 20%;
    width: 20%;
    max-width: 320px;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.sp-logo2-wm {
    position: absolute;
    right: -15%;
    top: -20%;
    width: 40%;
    max-width: 320px;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 860px) {
    .sp-section {
        padding: 5rem 0;
    }
}

@media (max-width: 600px) {
    .sp-container {
        padding: 0 1.5rem;
    }

    .sp-section {
        padding: 4rem 0;
    }
}

/* ============================================================
   CAMPS & TRIPS PAGE — cp-main
   ============================================================ */

.cp-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.cp-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

.cp-full-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cp-logo-wm {
    position: absolute;
    left: 60%;
    top: 0%;
    width: 15%;
    max-width: 320px;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 860px) {
    .cp-section {
        padding: 5rem 0;
    }
}

@media (max-width: 600px) {
    .cp-container {
        padding: 0 1.5rem;
    }

    .cp-section {
        padding: 4rem 0;
    }
}

/* ============================================================
   EVENTS & PERFORMANCES PAGE — ev-logo-wm
   ============================================================ */
.ev-logo-wm {
    position: absolute;
    right: -10%;
    bottom: 1%;
    width: 15%;
    max-width: 320px;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   SCHOOL TIMINGS PAGE — st-main
   ============================================================ */
.st-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.st-section {
    padding: 3.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.st-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

.st-wm {
    position: absolute;
    opacity: 0.04;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.st-wm--left {
    left: -6%;
    top: 5%;
    width: 20%;
}

.st-wm--right {
    right: -6%;
    bottom: 5%;
    width: 20%;
}

/* 3-column card grid */
.st-grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr 1.3fr;
    gap: 1.75rem;
    align-items: stretch;
}

.st-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.st-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--c-gold);
}

.st-card-icon {
    color: var(--c-gold);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.4rem;
}

.st-card-title {
    font-family: var(--ff-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0;
}

/* Large time callout for card 1 */
.st-time-hero {
    font-family: var(--ff-display);
    font-size: clamp(3rem, 4.5vw, 4.5rem);
    font-weight: 800;
    color: var(--c-white);
    line-height: 1;
    margin: 0.25rem 0;
}

.st-time-hero span {
    font-size: 0.42em;
    color: var(--c-gold);
    font-weight: 600;
}

.st-card-note {
    font-size: 0.93rem;
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
}

/* Schedule rows */
.st-schedule {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.st-sched-group {
    margin-bottom: 1rem;
}

.st-sched-group:last-child {
    margin-bottom: 0;
}

.st-sched-label {
    font-family: var(--ff-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--c-gold);
    margin-bottom: 0.5rem;
}

.st-sched-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 1rem;
}

.st-sched-row:last-child {
    border-bottom: none;
}

.st-sched-days {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
}

.st-sched-time {
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-white);
    white-space: nowrap;
}

.st-card-footnote {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    margin-top: auto;
    line-height: 1.5;
}

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

    .st-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .st-container {
        padding: 0 1.5rem;
    }

    .st-section {
        padding: 2.5rem 0 3rem;
    }

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

    .st-card:last-child {
        grid-column: auto;
    }
}

/* ============================================================
   PARENT EDUCATION PAGE — pe-main
   ============================================================ */
.pe-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.pe-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.pe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

.pe-full-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pe-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.pe-logo-wm {
    position: absolute;
    left: -20%;
    top: -10%;
    width: 20%;
    max-width: 320px;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.pe-logo2-wm {
    position: absolute;
    right: -20%;
    bottom: -15%;
    width: 20%;
    max-width: 320px;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

/* Cards grid */
.pe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.pe-card {
    background: var(--c-navy-mid);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pe-card:hover {
    transform: translateY(-5px);
    border-color: rgba(189, 163, 109, 0.3);
}

.pe-card-icon {
    font-size: 2rem;
    color: var(--c-gold);
    margin-bottom: 1.5rem;
}

.pe-card-text {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.pe-card-text span {
    color: var(--c-gold);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .pe-grid {
        gap: 1.5rem;
    }

    .pe-card {
        padding: 2rem;
    }
}

@media (max-width: 860px) {
    .pe-section {
        padding: 5rem 0;
    }

    .pe-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .pe-container {
        padding: 0 1.5rem;
    }

    .pe-section {
        padding: 4rem 0;
    }
}

/* ============================================================
   UNIFORM PAGE — un-main
   ============================================================ */
.un-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.un-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.un-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

.un-full-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.un-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 3rem;
}

.un-logo-wm {
    position: absolute;
    left: 1%;
    top: 10%;
    width: 15%;
    max-width: 320px;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

/* Tabs Navigation */
.un-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* gap: 1rem; */
    margin-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1rem;
}

.un-tab-btn {
    background: transparent;
    border: none;
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.un-tab-btn:hover {
    color: var(--c-white);
}

.un-tab-btn.active {
    color: var(--c-gold);
}

.un-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-gold);
}

/* Tab panes */
.un-pane {
    display: none;
    animation: unFadeIn 0.5s ease forwards;
}

.un-pane.active {
    display: block;
}

@keyframes unFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Cards Layout inside tabs */
.un-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.un-card {
    background: var(--c-navy-mid);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    position: relative;
}

.un-card h3 {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--c-gold);
    margin: 0 0 1rem;
}

.un-card h4 {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--c-white);
    margin: 1.25rem 0 0.5rem;
}

.un-card p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.un-compliance-box {
    background: var(--c-navy-mid);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--c-gold);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 860px) {
    .un-section {
        padding: 5rem 0;
    }

    .un-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .un-tabs-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        border-bottom: none;
    }

    .un-tab-btn {
        text-align: center;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        padding: 0.75rem;
    }

    .un-tab-btn.active::after {
        display: none;
    }

    .un-tab-btn.active {
        background: rgba(189, 163, 109, 0.1);
        border-color: var(--c-gold);
    }
}

@media (max-width: 600px) {
    .un-container {
        padding: 0 1.5rem;
    }

    .un-section {
        padding: 4rem 0;
    }

    .un-compliance-box {
        padding: 2rem;
    }
}

/* Tab Split Pane Layout with Images */
.un-pane-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: stretch;
}

.un-pane-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.un-pane-right {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 350px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.un-pane-right img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.un-pane-right:hover img {
    transform: scale(1.04);
}

@media (max-width: 1024px) {
    .un-pane-layout {
        gap: 2rem;
    }
}

@media (max-width: 860px) {
    .un-pane-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .un-pane-right {
        min-height: 300px;
        order: -1;
        /* Display image on top in mobile */
    }
}

/* ============================================================
   CONTACT PAGE — ct-main
   ============================================================ */
.ct-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.ct-section {
    padding: 1.75rem 0 1.5rem;
    position: relative;
}

.ct-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* 3-col grid: info · form · map */
.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1.1fr;
    gap: 1.75rem;
    align-items: stretch;
}

/* ---- Info column ---- */
.ct-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ct-info-header {
    margin-bottom: 1.25rem;
}

.ct-info-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin: 0 0 0.35rem;
}

.ct-info-heading {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--c-white);
    line-height: 1.2;
    margin: 0;
}

.ct-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.ct-info-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    padding: 1rem 1rem;
    transition: border-color 0.2s, background 0.2s;
}

.ct-info-card:hover {
    border-color: var(--c-gold-ring);
    background: rgba(255, 255, 255, 0.06);
}

.ct-info-icon {
    width: 36px;
    height: 36px;
    background: var(--c-gold-pale);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--c-gold);
    font-size: 0.95rem;
}

.ct-info-body {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.ct-info-label {
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.ct-info-value {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.80);
    margin: 0;
    line-height: 1.45;
}

.ct-info-value a {
    color: inherit;
    text-decoration: none;
}

.ct-info-value a:hover {
    color: var(--c-gold);
}

/* ---- Form column ---- */
.ct-form-wrap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.ct-form-title {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-white);
    margin: 0 0 1.25rem;
}

.ct-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.ct-field label {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255, 255, 255, 0.38);
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 7px;
    padding: 0.58rem 0.9rem;
    font-size: 0.88rem;
    color: var(--c-white);
    font-family: var(--ff-body);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    border-color: var(--c-gold);
    background: rgba(255, 255, 255, 0.07);
}

.ct-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23bda36d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.2rem;
    cursor: pointer;
}

.ct-field select option {
    background: var(--c-navy-mid);
    color: var(--c-white);
}

.ct-field textarea {
    resize: none;
    flex: 1;
    min-height: 80px;
}

.ct-submit {
    margin-top: 0.2rem;
}


/* ---- Map column ---- */
.ct-map-col {
    border-radius: 12px;
    overflow: hidden;
    min-height: 380px;
}

.ct-map-col iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: saturate(0.35) brightness(0.72);
}

@media (max-width: 1024px) {
    .ct-grid {
        grid-template-columns: 1fr 1.4fr;
        grid-template-rows: auto auto;
    }

    .ct-map-col {
        grid-column: 1 / -1;
        min-height: 260px;
    }
}

@media (max-width: 700px) {
    .ct-grid {
        grid-template-columns: 1fr;
    }

    .ct-row {
        grid-template-columns: 1fr;
    }

    .ct-container {
        padding: 0 1.25rem;
    }

    .ct-section {
        padding: 1.5rem 0;
    }
}

/* ============================================================
   GLOBAL HEADING WEIGHT — 600 for cleaner, lighter look
   ============================================================ */
h1,
h2,
h3,
.t-hero,
.t-display,
.mega-side-title,
.prog-name,
.why-heading,
.sf-name,
.m-title,
.card-name,
.wss-n,
.tl-year,
.tl-yr,
.alm-stat .n,
.why-stat-n,
.ib-prog-name,
.ib-prog-abbr,
.ib-pathway-step strong,
.pyp-heading,
.pyp-lead,
.dp-core-card h3,
.st-block-title,
.st-card-title,
.st-time-hero,
.ct-info-heading,
.ct-form-title,
.pe-card-text span,
.un-pane-heading,
.fees-card-header h2,
.fees-info-card h3 {
    font-weight: 600;
}

/* ============================================================
   SCHOOL FEES PAGE — fees-main
   ============================================================ */
.fees-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.fees-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.fees-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

.fees-logo-wm {
    position: absolute;
    right: 2%;
    top: 5%;
    width: 15%;
    max-width: 320px;
    opacity: 0.04;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.fees-logo2-wm {
    position: absolute;
    left: 1%;
    bottom: 35%;
    width: 8%;
    max-width: 300px;
    opacity: 0.04;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}
.ap-logo-wm {
    position: absolute;
    left: 1%;
    bottom: 20%;
    width: 15%;
    max-width: 300px;
    opacity: 0.04;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.fees-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 3rem;
}

.fees-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    text-align: justify;
}

.fees-lead strong {
    color: var(--c-gold);
    font-weight: 600;
}

/* Tabs Navigation */
.fees-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1rem;
}

.fees-tab-btn {
    background: transparent;
    border: none;
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    position: relative;
    transition: color var(--dur) var(--ease);
}

.fees-tab-btn i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.35);
    transition: color var(--dur) var(--ease);
}

.fees-tab-btn:hover,
.fees-tab-btn:hover i {
    color: var(--c-white);
}

.fees-tab-btn.active {
    color: var(--c-gold);
}

.fees-tab-btn.active i {
    color: var(--c-gold);
}

.fees-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-gold);
}

/* Tab panes */
.fees-pane {
    display: none;
    animation: feesFadeIn 0.5s ease forwards;
}

.fees-pane.active {
    display: block;
}

@keyframes feesFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* Tuition Rows Layout */
.fees-section-title {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    color: var(--c-gold);
    margin: 2.5rem 0 1.25rem;
    border-left: 3px solid var(--c-gold);
    padding-left: 0.75rem;
    font-weight: 600;
}

.fees-section-title:first-of-type {
    margin-top: 0;
}

.fees-rows-container {
    background: var(--c-navy-mid);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
}

.fees-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.fees-row-item:last-child {
    border-bottom: none;
}

.fees-row-item:hover {
    background: rgba(255, 255, 255, 0.015);
    padding-left: 2.25rem;
}

.fees-row-label {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.fees-row-value {
    text-align: right;
}

.fees-row-amount {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--c-gold);
}

.fees-row-currency {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-muted);
    margin-left: 0.25rem;
}

.fees-program-badge {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-left: 0.75rem;
    background: rgba(189, 163, 109, 0.15);
    color: var(--c-gold-lt);
    border: 1px solid rgba(189, 163, 109, 0.2);
}

/* Highschool layout grid */
.fees-highschool-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.fees-hs-card {
    background: var(--c-navy-mid);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: border-color var(--dur) var(--ease);
}

.fees-hs-card:hover {
    border-color: rgba(189, 163, 109, 0.15);
}

.fees-hs-title {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--c-white);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fees-hs-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.fees-hs-option:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fees-hs-opt-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Transportation Cards Layout */
.fees-transport-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.fees-trans-card {
    background: var(--c-navy-mid);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: border-color var(--dur) var(--ease);
}

.fees-trans-card:hover {
    border-color: rgba(189, 163, 109, 0.15);
}

.fees-trans-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fees-trans-icon {
    font-size: 1.5rem;
    color: var(--c-gold);
}

.fees-trans-title {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-white);
    margin: 0;
}

.fees-trans-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.fees-trans-option:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Consumables Grid Layout */
.fees-consumables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.fees-cons-card {
    background: var(--c-navy-mid);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.fees-cons-card:hover {
    transform: translateY(-5px);
    border-color: rgba(189, 163, 109, 0.15);
}

.fees-cons-icon {
    width: 44px;
    height: 44px;
    background: var(--c-gold-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--c-gold);
    font-size: 1.1rem;
}

.fees-cons-name {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--c-white);
    margin-bottom: 0.5rem;
}

.fees-cons-desc {
    font-size: 0.85rem;
    color: var(--c-muted);
    margin-bottom: 1.25rem;
}

.fees-cons-price {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-gold);
}

/* Lunch meals card layout */
.fees-lunch-card {
    background: linear-gradient(135deg, var(--c-navy-mid) 0%, rgba(34, 47, 77, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
}

.fees-lunch-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.fees-lunch-icon {
    width: 60px;
    height: 60px;
    background: var(--c-gold-pale);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
    font-size: 1.75rem;
    flex-shrink: 0;
}

.fees-lunch-details h3 {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--c-white);
    margin-bottom: 0.25rem;
}

.fees-lunch-details p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.fees-lunch-right {
    text-align: right;
}

.fees-lunch-price {
    font-family: var(--ff-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-gold);
}

.fees-lunch-lbl {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-muted);
    margin-top: 0.15rem;
}

/* Call to Action Enquiries box */
.fees-bottom-info {
    background: var(--c-navy-mid);
    border: 1px solid var(--c-border-g);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.fees-bottom-info h3 {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    color: var(--c-gold);
    margin-bottom: 1rem;
}

.fees-bottom-info p {
    font-size: 1.05rem;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.75);
    max-width: 750px;
    margin: 0 auto 2rem;
}

.fees-bottom-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .fees-consumables-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .fees-tabs-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        border-bottom: none;
    }

    .fees-tab-btn {
        text-align: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        padding: 0.75rem;
    }

    .fees-tab-btn.active::after {
        display: none;
    }

    .fees-tab-btn.active {
        background: rgba(189, 163, 109, 0.1);
        border-color: var(--c-gold);
    }

    .fees-highschool-grid,
    .fees-transport-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .fees-lunch-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }

    .fees-lunch-left {
        flex-direction: column;
    }

    .fees-lunch-right {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .fees-section {
        padding: 4rem 0;
    }

    .fees-container {
        padding: 0 1.5rem;
    }

    .fees-intro {
        margin-bottom: 2.5rem;
    }

    .fees-lead {
        font-size: 1.05rem;
        text-align: left;
    }

    .fees-consumables-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .fees-row-item {
        padding: 1.25rem 1.5rem;
    }

    .fees-row-item:hover {
        padding-left: 1.5rem;
    }

    .fees-bottom-info {
        padding: 2rem;
    }

    .fees-bottom-actions {
        flex-direction: column;
    }

    .fees-bottom-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   APPLICATION PROCESS PAGE & BILINGUAL FORM MODAL — ap-timeline
   ============================================================ */
.ap-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.ap-section {
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.ap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

.ap-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.ap-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.ap-cta-wrap {
    text-align: center;
    margin: 4rem 0 2rem;
}

/* Steps 3x3 Grid Layout */
.ap-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.ap-step-card {
    background: var(--c-navy-mid);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2.25rem 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ap-step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(189, 163, 109, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.ap-step-badge {
    align-self: flex-start;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(189, 163, 109, 0.12);
    border: 1px solid var(--c-gold);
    color: var(--c-gold-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.ap-step-card h3 {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-white);
    margin: 0;
    position: relative;
    z-index: 2;
}

.ap-step-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.ap-step-details li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
}

.ap-step-details li::before {
    content: '•';
    position: absolute;
    left: 0.15rem;
    color: var(--c-gold);
    font-size: 1.1rem;
    line-height: 1;
}

.ap-step-num-bg {
    position: absolute;
    bottom: -1rem;
    right: 0.5rem;
    font-family: var(--ff-serif);
    font-size: 6rem;
    font-weight: 700;
    color: rgba(189, 163, 109, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: color var(--dur);
    z-index: 1;
}

.ap-step-card:hover .ap-step-num-bg {
    color: rgba(189, 163, 109, 0.06);
}

/* ==========================================
   MODAL DIALOG STYLE
   ========================================== */
.ap-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 18, 30, 0.88);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 2rem;
}

.ap-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal box - updated with clean light background */
.ap-modal-box {
    background: var(--c-white);
    border: none;
    border-radius: 12px;
    width: 100%;
    max-width: 1000px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    scrollbar-width: thin;
    scrollbar-color: var(--c-gold) rgba(0, 0, 0, 0.05);
}

.ap-modal-overlay.active .ap-modal-box {
    transform: translateY(0) scale(1);
}

.ap-modal-box::-webkit-scrollbar {
    width: 6px;
}

.ap-modal-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
}

.ap-modal-box::-webkit-scrollbar-thumb {
    background-color: var(--c-gold);
    border-radius: 3px;
}

/* Close button - adjusted for white background */
.ap-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: background 0.2s, color 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ap-modal-close:hover {
    background: var(--c-gold);
    color: var(--c-white);
}

/* Modal Form body - adjusted for light background */
.ap-form-body {
    padding: 3.5rem;
    color: var(--c-navy);
}

.ap-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ap-form-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ap-form-logos img {
    height: 44px;
    width: auto;
    filter: none;
    /* Keep logos colored */
}

/* Logos specific color adjustments if needed */
.ap-form-logos img[src*="rmis-logo-nav"] {
    filter: brightness(0.2) contrast(1.2);
    /* Make dark logo look sharp on white */
}

.ap-form-header h2 {
    font-family: var(--ff-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-navy);
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin: 0.5rem 0 0;
}

.ap-form-header h2 span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--c-gold);
    margin-top: 0.25rem;
    letter-spacing: 0.06em;
}

/* Form Sections */
.ap-form-section {
    margin-bottom: 3rem;
}

.ap-form-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(189, 163, 109, 0.08);
    border-left: 4px solid var(--c-gold);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.75rem;
    border-radius: 4px;
}

.ap-form-section-title h3 {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-navy);
    margin: 0;
}

.ap-form-section-title span.ar-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--c-navy);
}

/* Fields & Layouts - Updated colors */
.ap-field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.ap-field-row.cols3 {
    grid-template-columns: repeat(3, 1fr);
}

.ap-field-row.cols4 {
    grid-template-columns: repeat(4, 1fr);
}

.ap-field-row.full {
    grid-template-columns: 1fr;
}

.ap-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ap-field-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(34, 47, 77, 0.75);
}

.ap-field-label .ar-lbl {
    font-weight: 600;
    color: #9b814a;
    /* Golden brown for dark text theme */
}

.ap-form-field input[type="text"],
.ap-form-field input[type="date"],
.ap-form-field input[type="email"],
.ap-form-field input[type="tel"] {
    background: #fbfbfb;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
    font-size: 0.92rem;
    color: var(--c-navy);
    font-family: var(--ff-sans);
    outline: none;
    transition: border-color var(--dur), background var(--dur), box-shadow var(--dur);
    width: 100%;
    box-sizing: border-box;
}

.ap-form-field input:focus {
    border-color: var(--c-gold);
    background: var(--c-white);
    box-shadow: 0 0 0 3px rgba(189, 163, 109, 0.15);
}

/* Custom Checkbox/Radio Rows - Visible on White background */
.ap-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.ap-options-row.align-center {
    align-items: center;
    justify-content: center;
}

.ap-option-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.ap-option-item input[type="radio"],
.ap-option-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background: var(--c-white);
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.ap-option-item input[type="radio"] {
    border-radius: 50%;
}

.ap-option-item input:checked {
    background: var(--c-gold);
    border-color: var(--c-gold);
}

.ap-option-item input:checked::before {
    content: '✓';
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--c-white);
}

.ap-option-item input[type="radio"]:checked::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--c-white);
    border-radius: 50%;
}

.ap-option-label {
    font-size: 0.88rem;
    color: rgba(34, 47, 77, 0.9);
    display: flex;
    gap: 0.35rem;
}

.ap-option-label .ar-opt {
    color: #9b814a;
}

/* Grid splits inside sections (like mother/father) */
.ap-parents-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.ap-parent-block {
    background: #fbfbfb;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 2rem;
}

.ap-parent-block-title {
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-gold);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 0.5rem;
}

.ap-parent-block-title span.ar-parent {
    font-weight: 600;
}

/* Contacts Table */
.ap-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
}

.ap-form-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.ap-form-table th,
.ap-form-table td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
    color: var(--c-navy);
}

.ap-form-table th {
    background: rgba(0, 0, 0, 0.015);
    font-family: var(--ff-display);
    font-weight: 700;
    color: var(--c-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ap-form-table td input[type="text"],
.ap-form-table td input[type="tel"],
.ap-form-table td input[type="email"] {
    background: transparent;
    border: none;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
    padding: 0.35rem 0.5rem;
    font-size: 0.88rem;
    color: var(--c-navy);
    outline: none;
    width: 100%;
    transition: border-color var(--dur);
}

.ap-form-table td input:focus {
    border-bottom-color: var(--c-gold);
}

/* Siblings Grid */
.ap-siblings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Photo Consent & Declaration details */
.ap-consent-text,
.ap-declaration-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(34, 47, 77, 0.85);
    margin-bottom: 1.5rem;
}

.ap-consent-text .ar-desc,
.ap-declaration-text .ar-desc {
    display: block;
    margin-top: 0.35rem;
    color: #9b814a;
    font-weight: 500;
}

/* Note area */
.ap-notes-area {
    width: 100%;
    min-height: 110px;
    background: #fbfbfb;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    padding: 1rem;
    font-family: var(--ff-sans);
    font-size: 0.92rem;
    color: var(--c-navy);
    outline: none;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color var(--dur);
}

.ap-notes-area:focus {
    border-color: var(--c-gold);
    background: var(--c-white);
}

/* Signatures row */
.ap-sig-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 1.75rem;
}

/* Form submission wrapper */
.ap-form-submit {
    text-align: center;
    margin-top: 3.5rem;
}

/* Responsive Overrides */
@media (max-width: 860px) {
    .ap-steps-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }

    .ap-field-row {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .ap-parents-split {
        gap: 2rem;
    }

    .ap-parent-block {
        padding: 1.25rem;
    }

    .ap-siblings-grid {
        grid-template-columns: 1fr;
    }

    .ap-sig-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .ap-modal-overlay {
        padding: 1rem;
    }

    .ap-form-body {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .ap-section {
        padding: 4rem 0;
    }

    .ap-container {
        padding: 0 1.5rem;
    }

    .ap-lead {
        font-size: 1.05rem;
    }

    .ap-form-logos img {
        height: 32px;
    }

    .ap-form-header h2 {
        font-size: 1.4rem;
    }

    .ap-form-header h2 span {
        font-size: 1rem;
    }
}



/* ============================================================
   PARENT HANDBOOK PAGE — ph-handbook
   ============================================================ */
.ph-main {
    overflow-x: hidden;
    background: var(--c-navy);
}

.ph-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.ph-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
}

.calender-logo-wm {
    position: absolute;
    left: 2%;
    top: 5%;
    width: 15%;
    max-width: 320px;
    opacity: 0.04;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.calender-logo2-wm {
    position: absolute;
    left: 10%;
    bottom: 1%;
    width: 8%;
    max-width: 300px;
    opacity: 0.04;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

/* Left Column Styling */
.ph-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.ph-header-block {
    border-bottom: 2px solid var(--c-gold-ring);
    padding-bottom: 1.5rem;
}

.ph-header-block h2 {
    font-family: var(--ff-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--c-white);
    line-height: 1.1;
    margin: 0 0 0.5rem;
}

.ph-header-block h2 span {
    display: block;
    font-family: var(--ff-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--c-gold);
    margin-top: 0.25rem;
}

.ph-header-block p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 1rem 0 0;
}

/* Feature Badges */
.ph-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ph-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    font-weight: 600;
}

.ph-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(189, 163, 109, 0.1);
    border: 1px solid var(--c-gold-ring);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Quick Index list */
.ph-index-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
}

/* Key Dates vertical timeline styling */
.ph-key-dates-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    max-height: 480px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--c-gold) rgba(255, 255, 255, 0.02);
}

.ph-key-dates-box::-webkit-scrollbar {
    width: 4px;
}

.ph-key-dates-box::-webkit-scrollbar-thumb {
    background: var(--c-gold-ring);
    border-radius: 2px;
}

.ph-key-dates-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.ph-key-dates-list::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.ph-key-date-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.ph-key-date-badge {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1.1;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.ph-key-date-badge .day {
    font-size: 0.95rem;
    font-family: var(--ff-display);
}

.ph-key-date-badge .month {
    font-size: 0.58rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.ph-key-date-badge.holiday {
    background: #fcd34d;
    color: #000;
}

.ph-key-date-badge.term-break {
    background: #86efac;
    color: #000;
}

.ph-key-date-badge.exam {
    border: 1px solid #ef4444;
    color: #ef4444;
    background: transparent;
}

.ph-key-date-badge.pd {
    background: #fdba74;
    color: #000;
}

.ph-key-date-badge.other {
    background: #93c5fd;
    color: #000;
}

.ph-key-date-text {
    font-size: 0.88rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

/* Right Column Card Container */
.ph-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ph-main-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Main Card Hero Header */
.ph-card-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 3rem 3.5rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ph-card-hero-left {
    flex: 1;
    padding-right: 3rem;
}

.ph-card-logo img {
    height: 48px;
    width: auto;
    margin-bottom: 1.5rem;
}

.ph-card-quote {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--c-gold);
}

.ph-card-quote::before {
    content: '“';
    position: absolute;
    left: 0.5rem;
    top: -0.5rem;
    font-family: var(--ff-serif);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--c-gold);
    opacity: 0.3;
}

.ph-card-quote p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-navy);
    line-height: 1.4;
    margin: 0;
}

.ph-card-quote span {
    display: block;
    font-size: 0.82rem;
    color: rgba(34, 47, 77, 0.6);
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ph-card-hero-right {
    width: 440px;
    height: 200px;
    position: relative;
    border-radius: 100px 24px 24px 100px / 50px 12px 12px 50px;
    overflow: hidden;
    box-shadow: -12px 0 25px rgba(0, 0, 0, 0.08);
}

.ph-card-hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Calendar Month Grids Layout */
.ph-months-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    padding: 2.5rem;
    background: #fdfdfd;
}

.ph-month-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.ph-month-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.ph-month-title {
    font-family: var(--ff-display);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    color: var(--c-white);
    background: #222f4d;
    /* Brand blue */
    padding: 0.4rem;
    border-radius: 4px;
    margin: 0;
    letter-spacing: 0.03em;
}

/* Calendar table structure */
.ph-cal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.72rem;
}

.ph-cal-table th {
    font-family: var(--ff-display);
    font-weight: 700;
    text-align: center;
    color: rgba(34, 47, 77, 0.5);
    padding-bottom: 0.35rem;
}

.ph-cal-table td {
    text-align: center;
    padding: 0.2rem 0;
    color: var(--c-navy);
}

.ph-day-cell {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.2s;
}

/* Calendar Legend/Status styling matching the image */
.ph-day-cell.holiday {
    background: #fcd34d;
    /* Yellow */
    color: #000000;
}

.ph-day-cell.term-break {
    background: #86efac;
    /* Green */
    color: #000000;
}

.ph-day-cell.exam {
    border: 1px solid #ef4444;
    /* Red border */
    color: #ef4444;
}

.ph-day-cell.pd {
    background: #fdba74;
    /* Orange/Yellow Training */
    color: #000000;
}

.ph-day-cell.other {
    background: #93c5fd;
    /* Blue Other */
    color: #000000;
}

.ph-day-cell.empty {
    opacity: 0;
}

/* Legend Footer */
.ph-card-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.5rem 3.5rem;
    background: #f7f8f9;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ph-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(34, 47, 77, 0.7);
}

.ph-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.ph-legend-color.c-holiday {
    background: #fcd34d;
}

.ph-legend-color.c-term-break {
    background: #86efac;
}

.ph-legend-color.c-exam {
    border: 1px solid #ef4444;
    background: transparent;
}

.ph-legend-color.c-pd {
    background: #fdba74;
}

.ph-legend-color.c-other {
    background: #93c5fd;
}

/* Main Card Footer Bar */
.ph-card-footer-bar {
    background: #222f4d;
    color: var(--c-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3.5rem;
    border-radius: 0 0 12px 12px;
}

.ph-card-footer-bar p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
}

.ph-footer-socials {
    display: flex;
    gap: 1rem;
}

.ph-footer-socials a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
    font-size: 0.95rem;
}

.ph-footer-socials a:hover {
    color: var(--c-gold);
}

/* Responsive Rules */
@media (max-width: 1300px) {
    .ph-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1200px) {
    .ph-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ph-left {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .ph-header-block {
        width: 100%;
        border-bottom: none;
        padding-bottom: 0;
    }

    .ph-features-list {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .ph-key-dates-box {
        width: 100%;
    }

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

    .ph-card-hero-right {
        width: 320px;
    }
}

@media (max-width: 991px) {
    .ph-months-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .ph-card-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 2rem;
    }

    .ph-card-hero-left {
        padding-right: 0;
    }

    .ph-card-hero-right {
        width: 100%;
        height: 180px;
        border-radius: 12px;
    }

    .ph-months-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 1.5rem;
    }

    .ph-card-legend {
        padding: 1.5rem 2rem;
        gap: 1rem 1.5rem;
    }

    .ph-card-footer-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 2rem;
        text-align: center;
    }
}

/* ============================================================
   ALUMNI REDESIGN PAGE STYLES
   ============================================================ */
.alumni-page-hero {
    background: var(--c-navy);
    color: #ffffff;
    padding: 140px 1.25rem 80px;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.alumni-hero-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.alumni-hero-text {
    max-width: 620px;
}

.alumni-hero-eyebrow {
    font-family: var(--ff-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 1rem;
    display: block;
}

.alumni-hero-title {
    font-family: var(--ff-display);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 2rem;
}

.alumni-hero-title em {
    font-style: normal;
    color: var(--c-gold);
}

.alumni-hero-desc {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--c-muted);
    margin-bottom: 2rem;
}

.alumni-hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alumni-hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1.33;
    border-radius: 0;
    overflow: hidden;
}
.alumni-hero-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 45px 15px var(--c-navy);
    background: linear-gradient(to top, var(--c-navy) 0%, transparent 40%),
                linear-gradient(to right, var(--c-navy) 0%, transparent 10%),
                linear-gradient(to left, var(--c-navy) 0%, transparent 10%),
                linear-gradient(to bottom, var(--c-navy) 0%, transparent 10%);
    pointer-events: none;
}
.alumni-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0.8;
}

.alumni-postit {
    position: absolute;
    right: -10px;
    bottom: -15px;
    background: #FFFEF0;
    padding: 1.5rem 1.8rem;
    border-radius: 2px;
    width: 250px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: rotate(-3deg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.alumni-postit::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 22px;
    background: rgba(254, 252, 232, 0.55);
    backdrop-filter: blur(2px);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.alumni-postit-quote {
    font-family: var(--ff-serif);
    font-size: 1.05rem;
    line-height: 1.5;
    color: #334155;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.alumni-postit-sig {
    font-family: 'Parabolica', cursive, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-gold);
    text-align: right;
}

.alumni-badge-seal {
    position: absolute;
    right: -30px;
    bottom: 95px;
    width: 85px;
    height: 85px;
    z-index: 12;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

/* Stats Ribbon */
.alumni-stats-ribbon {
    background: #111928;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.25rem 1.25rem;
    position: relative;
    z-index: 10;
}

.alumni-stats-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.alumni-stat-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.25rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.alumni-stat-item:last-child {
    border-right: none;
}

.alumni-stat-icon {
    font-size: 1.8rem;
    color: var(--c-gold);
    flex-shrink: 0;
}

.alumni-stat-info {
    display: flex;
    flex-direction: column;
}

.alumni-stat-info .n {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.alumni-stat-info .l {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--c-muted);
}

.alumni-stat-info .t-eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.2rem;
}

.alumni-stat-text {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.alumni-stat-subtext {
    font-size: 0.75rem;
    color: var(--c-muted);
    margin-top: 0.15rem;
}

/* Placements Section */
.alumni-shine-section {
    background: var(--c-navy);
    background: linear-gradient(180deg, #1c2740 0%, #151e33 100%);
    color: #ffffff;
    padding: 100px 2.5rem;
    position: relative;
}

.alumni-shine-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.alumni-shine-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.alumni-shine-title::before,
.alumni-shine-title::after {
    content: '';
    display: block;
    height: 1px;
    width: 60px;
    background: var(--c-gold);
}

.alumni-shine-subtitle {
    font-size: 1.1rem;
    color: var(--c-muted);
    max-width: 640px;
    margin: 0 auto;
}

.alumni-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.alumni-filter-btn {
    padding: 0.65rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
    backdrop-filter: blur(8px);
}

.alumni-filter-btn:hover {
    background: rgba(189, 163, 109, 0.18);
    border-color: var(--c-gold);
    color: #ffffff;
}

.alumni-filter-btn.active {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: var(--c-navy);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(189, 163, 109, 0.3);
}

/* Frameless Logo Grid */
.alumni-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem 1.5rem;
    max-width: 1320px;
    margin: 0 auto;
    align-items: center;
}

@media (max-width: 1200px) {
    .alumni-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem 1.25rem;
    }
}

@media (max-width: 992px) {
    .alumni-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .alumni-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem 1rem;
    }
}

@media (max-width: 420px) {
    .alumni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.alumni-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1rem 0.5rem;
    text-align: center;
    box-shadow: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.alumni-card:hover {
    transform: translateY(-5px);
    background: transparent;
    box-shadow: none;
    border-color: transparent;
}

.alumni-card-logo-container {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0.5rem;
}

.alumni-card-logo-container img {
    max-width: 90%;
    max-height: 75px;
    object-fit: contain;
    filter: grayscale(100%) invert(0.85) brightness(1.4) contrast(1.1);
    opacity: 0.85;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.alumni-card:hover .alumni-card-logo-container img {
    filter: none;
    mix-blend-mode: normal;
    opacity: 1;
    transform: scale(1.08);
}

/* Ensure text inside Majan & Nizwa logo assets is lightly visible in monochrome view */
.alumni-card img[src*="MUC-Logo"],
.alumni-card img[src*="Nizwa-logo"] {
    filter: grayscale(100%) brightness(1.8) contrast(1.2);
    opacity: 0.9;
}

.alumni-card:hover img[src*="MUC-Logo"],
.alumni-card:hover img[src*="Nizwa-logo"] {
    filter: none;
    opacity: 1;
}

.alumni-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0.6rem;
}

.alumni-card-name {
    font-family: var(--ff-display);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.2rem;
    line-height: 1.25;
    text-align: center;
    transition: color 0.3s ease;
}

.alumni-card:hover .alumni-card-name {
    color: #ffffff;
}

.alumni-card-country {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 0;
}

.alumni-card-meta {
    font-size: 0.78rem;
    color: var(--c-gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    opacity: 0.4;
    transition: opacity var(--dur) var(--ease);
}

.alumni-card:hover .alumni-card-meta {
    opacity: 1;
}

/* More universities card */
.alumni-card.more-card {
    background: transparent;
    border: 1px dashed rgba(189, 163, 109, 0.4);
    border-radius: 8px;
    cursor: default;
}

.alumni-card.more-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(189, 163, 109, 0.5);
}

.alumni-card-more-icon {
    font-size: 2.2rem;
    color: var(--c-gold);
    margin-bottom: 1.25rem;
}

/* Map Section */
.alumni-map-section {
    background: #1c2740;
    padding: 100px 2.5rem;
    color: #ffffff;
}

.alumni-map-header {
    text-align: center;
    margin-bottom: 4rem;
}

.alumni-map-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.alumni-map-title::before,
.alumni-map-title::after {
    content: '';
    display: block;
    height: 1px;
    width: 60px;
    background: var(--c-gold);
}

.alumni-map-subtitle {
    font-size: 1.05rem;
    color: var(--c-muted);
    max-width: 640px;
    margin: 0 auto;
}

.alumni-map-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    background: rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2);
}

.alumni-map-container svg {
    width: 100%;
    height: auto;
    display: block;
}

.alumni-map-container svg path {
    fill: rgba(255, 255, 255, 0.05);
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 0.5px;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.alumni-map-container svg path:hover,
.alumni-map-container svg path.highlighted {
    fill: rgba(212, 175, 55, 0.15);
    stroke: var(--c-gold);
    stroke-width: 1px;
}

.map-marker {
    cursor: pointer;
}

.map-marker-dot {
    fill: var(--c-gold);
    transition: transform var(--dur) var(--ease);
}

.map-marker:hover .map-marker-dot {
    transform: scale(1.3);
    fill: #ffffff;
}

.map-marker-pulse {
    fill: none;
    stroke: var(--c-gold);
    stroke-width: 1;
    transform-origin: center;
    animation: map-pulse 2.2s infinite ease-out;
}

@keyframes map-pulse {
    0% {
        r: 6px;
        opacity: 0.8;
        stroke-width: 2;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        r: 25px;
        opacity: 0;
        stroke-width: 0.5;
    }
}

/* Loading Indicator */
.map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    font-size: 1.2rem;
    color: var(--c-muted);
    gap: 1rem;
}

/* Dynamic Arcs from Muscat */
.alumni-map-arrow {
    stroke: var(--c-gold);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-arrow 2.5s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.85;
    fill: none;
}

@keyframes draw-arrow {
    to {
        stroke-dashoffset: 0;
    }
}

.alumni-map-tooltip {
    position: absolute;
    background: #ffffff;
    color: #222f4d;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.82rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translate(-50%, -105%);
    border-top: 3px solid var(--c-gold);
    min-width: 220px;
}

.alumni-map-tooltip.visible {
    opacity: 1;
}

.alumni-map-tooltip h5 {
    font-family: var(--ff-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #1e293b;
}

.alumni-map-tooltip ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alumni-map-tooltip li {
    font-size: 0.78rem;
    color: #475569;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.alumni-map-tooltip li:last-child {
    border-bottom: none;
}

/* Alumni Voices Section */
.alumni-voices-section {
    background: var(--c-navy);
    color: #ffffff;
    padding: 100px 1.25rem;
}

.alumni-voices-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.alumni-voices-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.alumni-voices-title::before,
.alumni-voices-title::after {
    content: '';
    display: block;
    height: 1px;
    width: 60px;
    background: var(--c-gold);
}

.alumni-voices-subtitle {
    font-size: 1.1rem;
    color: var(--c-muted);
    max-width: 640px;
    margin: 0 auto;
}

.alumni-voices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

.alumni-voice-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.alumni-voice-quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.2rem;
    color: rgba(189, 163, 109, 0.12);
}

.alumni-voice-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.alumni-voice-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
}

.alumni-voice-uni {
    font-family: var(--ff-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.alumni-voice-meta {
    font-size: 0.72rem;
    color: var(--c-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
}

/* Glassmorphic Association CTA Section */
.alumni-cta-section {
    background: #111928;
    padding: 100px 1.25rem;
    position: relative;
    overflow: hidden;
}

.alumni-cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    z-index: 1;
}

.alumni-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.alumni-cta-container {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(28, 39, 64, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 4rem 3.5rem;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 5;
}

.alumni-cta-container .t-eyebrow {
    margin-bottom: 1rem;
    display: block;
}

.alumni-cta-container h3 {
    font-family: var(--ff-display);
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.alumni-cta-container p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--c-muted);
    margin-bottom: 2rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.alumni-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--c-gold);
    color: var(--c-navy);
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--dur) var(--ease);
}

.alumni-cta-btn:hover {
    background: var(--c-gold-lt);
    box-shadow: 0 8px 25px rgba(189, 163, 109, 0.35);
    transform: translateY(-2px);
}

/* Modals */
.alumni-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
}

.alumni-modal.open {
    opacity: 1;
    pointer-events: all;
}

.alumni-modal-content {
    background: var(--c-navy-mid);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: min(550px, 92vw);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(20px);
    transition: transform var(--dur) var(--ease);
}

.alumni-modal.open .alumni-modal-content {
    transform: translateY(0);
}

.alumni-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.5rem;
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color var(--dur) var(--ease);
}

.alumni-modal-close:hover {
    color: #ffffff;
}

.alumni-modal-header {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.alumni-modal-logo {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.alumni-modal-logo svg {
    max-height: 70px;
    max-width: 100%;
}

.alumni-modal-logo img {
    max-height: 70px;
    width: auto;
}

.alumni-modal-title {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.alumni-modal-country {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.alumni-modal-body h6 {
    font-family: var(--ff-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.alumni-modal-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.alumni-modal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.alumni-modal-info-item {
    display: flex;
    flex-direction: column;
}

.alumni-modal-info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--c-muted);
    margin-bottom: 0.25rem;
}

.alumni-modal-info-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
}

.alumni-modal-courses-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.alumni-modal-course-tag {
    background: rgba(189, 163, 109, 0.1);
    color: #bda36d;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
}

.alumni-modal-quote-box {
    border-left: 3px solid var(--c-gold);
    padding-left: 1.25rem;
    font-style: italic;
}

.alumni-modal-quote {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.4rem;
}

.alumni-modal-quote-by {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsiveness overrides */
@media (max-width: 1200px) {
    .alumni-hero-container {
        gap: 2rem;
    }
}

@media (max-width: 991px) {
    .alumni-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .alumni-hero-text {
        max-width: 100%;
        margin: 0 auto;
    }

    .alumni-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .alumni-hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .alumni-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .alumni-stat-item:nth-child(2) {
        border-right: none;
    }

    .alumni-voices-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .alumni-page-hero {
        padding-top: 110px;
    }

    .alumni-hero-title {
        font-size: 2rem;
    }

    .alumni-stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .alumni-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 1.5rem;
    }

    .alumni-stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .alumni-voices-grid {
        grid-template-columns: 1fr;
    }

    .alumni-cta-container {
        padding: 2.5rem 1.5rem;
    }

    .alumni-cta-container h3 {
        font-size: 1.5rem;
    }

    .alumni-shine-title {
        font-size: 1.8rem;
    }

    .alumni-shine-title::before,
    .alumni-shine-title::after {
        width: 30px;
    }

    .alumni-postit {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 2rem auto 0;
        width: 100%;
        max-width: 320px;
        transform: rotate(-1deg);
    }

    .alumni-badge-seal {
        right: 10px;
        bottom: 10px;
        width: 75px;
        height: 75px;
    }
}

/* ================================================
   STUDENT REFERRAL PROGRAMME STYLES
================================================ */
.sr-main {
    background: var(--c-navy);
    color: #ffffff;
    min-height: 70vh;
}

.sr-section {
    padding: 80px 1.25rem;
}

.sr-container {
    max-width: 1280px;
    margin: 0 auto;
}
.sr-logo-wm {
    position: absolute;
    left: 40%;
    bottom: 1%;
    width: 10%;
    max-width: 320px;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.sr-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 992px) {
    .sr-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.sr-info {
    display: flex;
    flex-direction: column;
}

.sr-lead {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 600;
    color: var(--c-gold);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.sr-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
}

.sr-text strong {
    color: #ffffff;
    font-weight: 700;
}

.sr-steps-card {
    background: var(--c-navy-mid);
    border: 1px solid var(--c-border-g);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0 1.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sr-steps-title {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.sr-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.sr-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.sr-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--c-gold);
    color: var(--c-navy);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.sr-step-text strong {
    color: var(--c-gold-lt);
}

.sr-terms {
    font-size: 0.88rem;
    font-style: italic;
    color: var(--c-muted);
    margin: 0;
}

.sr-cta-wrap {
    margin-top: 1rem;
}

.sr-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-gold);
    color: var(--c-navy);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(189, 163, 109, 0.3);
    text-decoration: none;
}

.sr-cta-btn:hover {
    background: var(--c-gold-lt);
    color: var(--c-navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(189, 163, 109, 0.4);
}

/* Blended Background Image Card */
.sr-media-wrap {
    display: flex;
    height: 100%;
}

.sr-media-card {
    position: relative;
    width: 100%;
    min-height: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(189, 163, 109, 0.3);
}

.sr-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1);
    transition: transform 0.6s ease;
}

.sr-media-card:hover .sr-media-img {
    transform: scale(1.04);
}

.sr-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 39, 64, 0.2) 0%, rgba(21, 30, 51, 0.85) 100%);
}

.sr-media-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(28, 39, 64, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(189, 163, 109, 0.35);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sr-badge-num {
    font-family: var(--ff-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-gold);
}

.sr-badge-lbl {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Modal Popup Styles */
.sr-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sr-modal.active {
    opacity: 1;
    visibility: visible;
}

.sr-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
}

.sr-modal-dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    color: var(--c-navy);
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.sr-modal.active .sr-modal-dialog {
    transform: scale(1) translateY(0);
}

.sr-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.06);
    color: var(--c-navy);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.sr-modal-close:hover {
    background: var(--c-navy);
    color: #ffffff;
}

.sr-form-title {
    font-family: var(--ff-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 0.35rem;
}

.sr-form-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.75rem;
}

.sr-field {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sr-field label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sr-field input {
    padding: 0.85rem 1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--ff-sans);
    color: #0f172a;
    transition: all 0.25s ease;
    width: 100%;
}

.sr-field input:focus {
    outline: none;
    border-color: var(--c-gold);
    box-shadow: 0 0 0 3px rgba(189, 163, 109, 0.2);
}

.sr-submit-btn {
    width: 100%;
    padding: 0.95rem;
    background: var(--c-navy);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.sr-submit-btn:hover {
    background: var(--c-navy-lift);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 47, 77, 0.3);
}

@media (max-width: 640px) {
    .sr-section {
        padding: 50px 1.25rem;
    }
    
    .sr-modal-dialog {
        padding: 1.75rem 1.25rem;
    }
}

/* ================================================
   FLOATING SOCIALS (left side)
================================================ */
#floatSocials {
    position: fixed;
    left: 0.5rem;
    bottom: 2rem;
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    animation: floatSocialsIn 0.6s 0.8s both ease;
}

@keyframes floatSocialsIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.social-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1rem;
    text-decoration: none;
}

.social-float-btn:hover {
    transform: scale(1.1) translateY(-2px);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.social-float-btn-fb:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-float-btn-ig:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    border-color: transparent;
}

.social-float-btn-ln:hover {
    background: #0A66C2;
    border-color: #0A66C2;
}

.social-float-btn-x:hover {
    background: #000000;
    border-color: rgba(255,255,255,0.2);
}

.social-float-btn-yt:hover {
    background: #FF0000;
    border-color: #FF0000;
}

/* Hide floating socials on mobile screens to prevent overlapping content */
@media (max-width: 768px) {
    #floatSocials {
        display: none;
    }
}

/* ============================================================
   Consolidated styles from individual pages
   ============================================================ */

/* ---- Coming Soon Pages Common Styling ---- */
.cs-main {
    position: relative;
    overflow: hidden;
    padding-bottom: 5rem;
}
.cs-section {
    padding: 4.5rem 0 3rem;
    position: relative;
}
.cs-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}
.cs-logo-wm {
    position: absolute;
    top: 0;
    right: -4rem;
    width: 280px;
    opacity: 0.04;
    pointer-events: none;
    filter: brightness(0) invert(1);
}
.cs-badge-wrap {
    margin-bottom: 1.25rem;
}
.cs-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(189, 163, 109, 0.12);
    border: 1px solid rgba(189, 163, 109, 0.35);
    color: var(--c-gold);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.cs-notice-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(34, 47, 77, 0.85) 0%, rgba(20, 30, 52, 0.95) 100%);
    border: 1px solid rgba(189, 163, 109, 0.3);
    border-left: 4px solid var(--c-gold);
    border-radius: 8px;
    padding: 2rem 2.2rem;
    margin-top: 2.5rem;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}
.cs-notice-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(189, 163, 109, 0.15);
    color: var(--c-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.cs-notice-text h3 {
    font-family: var(--ff-display);
    font-size: 1.45rem;
    color: var(--c-white);
    margin: 0 0 0.35rem 0;
}
.cs-notice-text p {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    line-height: 1.6;
}
.cs-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
@media (max-width: 640px) {
    .cs-notice-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
}

/* ---- Newsletter Page CSS ---- */
.nl-main {
    position: relative;
    overflow: hidden;
}
.nl-section {
    padding: 4.5rem 0 3rem;
    position: relative;
}
.nl-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}
.nl-logo-wm {
    position: absolute;
    top: 1%;
    right: -4rem;
    width: 250px;
    opacity: 0.04;
    pointer-events: none;
    filter: brightness(0) invert(1);
}
.nl-logo2-wm {
    position: absolute;
    bottom: 5rem;
    right: 5%;
    width: 280px;
    opacity: 0.03;
    pointer-events: none;
    filter: brightness(0) invert(1);
}
.nl-badge-wrap {
    margin-bottom: 1.25rem;
}
.nl-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(189, 163, 109, 0.12);
    border: 1px solid rgba(189, 163, 109, 0.35);
    color: var(--c-gold);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.nl-notice-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(34, 47, 77, 0.85) 0%, rgba(20, 30, 52, 0.95) 100%);
    border: 1px solid rgba(189, 163, 109, 0.3);
    border-left: 4px solid var(--c-gold);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}
.nl-notice-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(189, 163, 109, 0.15);
    color: var(--c-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.nl-notice-text h3 {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    color: var(--c-white);
    margin: 0 0 0.3rem 0;
}
.nl-notice-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
}
.nl-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.nl-subtitle {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--c-white);
    margin-top: 0.3rem;
}
.nl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.nl-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.8rem 1.4rem;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.nl-card:hover {
    transform: translateY(-6px);
    border-color: rgba(189, 163, 109, 0.4);
    background: rgba(255, 255, 255, 0.06);
}
.nl-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(189, 163, 109, 0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}
.nl-card h4 {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    color: var(--c-white);
    margin: 0 0 0.6rem 0;
    font-weight: 600;
}
.nl-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}
.nl-subscribe-card {
    margin-top: 4.5rem;
    background: linear-gradient(135deg, rgba(34, 47, 77, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(189, 163, 109, 0.3);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.nl-sub-content {
    max-width: 680px;
    margin: 0 auto;
}
.nl-sub-content h3 {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--c-white);
    margin: 0.4rem 0 0.8rem;
}
.nl-sub-content p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
}
.nl-sub-form {
    margin-top: 1.5rem;
}
.nl-input-group {
    display: flex;
    gap: 0.75rem;
    max-width: 520px;
    margin: 0 auto;
}
.nl-input-group input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.25s ease;
}
.nl-input-group input:focus {
    border-color: var(--c-gold);
    background: rgba(255, 255, 255, 0.12);
}
.nl-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.nl-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-gold);
}
@media (max-width: 1024px) {
    .nl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .nl-notice-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }
    .nl-grid {
        grid-template-columns: 1fr;
    }
    .nl-input-group {
        flex-direction: column;
    }
    .nl-input-group button {
        width: 100%;
        justify-content: center;
    }
    .nl-subscribe-card {
        padding: 2rem 1.25rem;
    }
}

/* ---- Transport Page Custom Styles ---- */
.st-main {
    position: relative;
    overflow: hidden;
}
.st-section {
    padding: 4.5rem 0 3rem;
    position: relative;
}
.st-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}
.st-logo-wm {
    position: absolute;
    top: 1%;
    right: -4rem;
    width: 280px;
    opacity: 0.04;
    pointer-events: none;
    filter: brightness(0) invert(1);
}
.st-logo2-wm {
    position: absolute;
    bottom: 2rem;
    right: 3%;
    width: 260px;
    opacity: 0.03;
    pointer-events: none;
    filter: brightness(0) invert(1);
}
.st-badge-wrap {
    margin-bottom: 1.25rem;
}
.st-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(189, 163, 109, 0.12);
    border: 1px solid rgba(189, 163, 109, 0.35);
    color: var(--c-gold);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.st-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.st-feat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.8rem 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.st-feat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(189, 163, 109, 0.4);
    background: rgba(255, 255, 255, 0.05);
}
.st-feat-icon {
    width: 46px;
    height: 46px;
    background: rgba(189, 163, 109, 0.14);
    color: var(--c-gold);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.st-feat-card h3 {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    color: var(--c-white);
    margin: 0 0 0.5rem;
}
.st-feat-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}
.st-section-header {
    text-align: center;
    margin-bottom: 2rem;
}
.st-subtitle {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--c-white);
    margin-top: 0.3rem;
}
.st-zone-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}
.st-zcard {
    background: linear-gradient(145deg, rgba(34, 47, 77, 0.8) 0%, rgba(20, 30, 52, 0.9) 100%);
    border: 1px solid rgba(189, 163, 109, 0.25);
    border-radius: 8px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.st-zcard:hover {
    transform: translateY(-5px);
    border-color: var(--c-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.st-zcard-head {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
}
.st-zcard-tag {
    display: inline-block;
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-gold);
}
.st-zcard-sub {
    display: block;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.25rem;
    line-height: 1.3;
}
.st-zcard-prices {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.st-zp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.st-zp-lbl {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
}
.st-zp-val {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-white);
}
.st-zp-val small {
    font-size: 0.68rem;
    color: var(--c-gold);
}
.st-table-wrap {
    background: rgba(18, 27, 46, 0.85);
    border: 1px solid rgba(189, 163, 109, 0.25);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.st-table-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.st-tt-title h3 {
    font-family: var(--ff-display);
    font-size: 1.6rem;
    color: var(--c-white);
    margin: 0 0 0.3rem;
}
.st-tt-title p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}
.st-search-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.st-search-box {
    position: relative;
    min-width: 280px;
}
.st-search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}
.st-search-box input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: #fff;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.25s ease;
}
.st-search-box input:focus {
    border-color: var(--c-gold);
    background: rgba(255, 255, 255, 0.1);
}
.st-zone-filter select {
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: #fff;
    font-size: 0.88rem;
    outline: none;
    cursor: pointer;
}
.st-zone-filter select option {
    background: #1a2740;
    color: #fff;
}
.st-table-responsive {
    overflow-x: auto;
}
.st-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.st-table th, .st-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.st-table th {
    background: rgba(34, 47, 77, 0.8);
    color: var(--c-gold);
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}
.st-th-ar {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--ff-sans);
}
.st-td-zone {
    vertical-align: middle;
    text-align: center;
    background: rgba(255, 255, 255, 0.015);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.st-zone-badge {
    display: inline-block;
    background: rgba(189, 163, 109, 0.18);
    border: 1px solid rgba(189, 163, 109, 0.4);
    color: var(--c-gold);
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
}
.st-ar-text {
    font-family: system-ui, -apple-system, sans-serif;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    text-align: right;
}
.st-td-price {
    vertical-align: middle;
    text-align: center;
    font-family: var(--ff-display);
    font-size: 1.25rem;
    color: var(--c-white);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}
.st-td-price small {
    font-size: 0.75rem;
    color: var(--c-gold);
    display: inline-block;
    margin-left: 2px;
}
.st-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}
.st-no-results {
    text-align: center;
    padding: 3rem 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}
.st-no-results i {
    font-size: 2.5rem;
    color: var(--c-gold);
    margin-bottom: 1rem;
    display: block;
}
.st-cta-card {
    background: linear-gradient(135deg, rgba(34, 47, 77, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(189, 163, 109, 0.35);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.st-cta-content {
    max-width: 680px;
    position: relative;
    z-index: 2;
}
.st-cta-content h3 {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--c-white);
    margin: 0.3rem 0 0.8rem;
}
.st-cta-content p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.8rem;
}
.st-cta-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
@media (max-width: 1100px) {
    .st-zone-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .st-features-grid {
        grid-template-columns: 1fr;
    }
    .st-zone-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .st-table-top {
        flex-direction: column;
        align-items: stretch;
    }
    .st-search-controls {
        flex-direction: column;
    }
    .st-search-box {
        min-width: 100%;
    }
    .st-zone-filter select {
        width: 100%;
    }
}
@media (max-width: 600px) {
    .st-zone-cards-grid {
        grid-template-columns: 1fr;
    }
    .st-table-wrap {
        padding: 1.25rem 0.85rem;
    }
    .st-table th, .st-table td {
        padding: 0.75rem 0.6rem;
        font-size: 0.85rem;
    }
    .st-td-price {
        font-size: 1rem;
    }
    .st-cta-card {
        padding: 2rem 1.25rem;
    }
}

/* ---- Uniform Patterns CSS ---- */
.un-patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}
.un-pattern-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(189, 163, 109, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.un-pattern-card:hover {
    border-color: var(--c-gold);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(189, 163, 109, 0.1);
}
.un-pattern-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    background: #162035;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.un-pattern-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.un-pattern-card:hover .un-pattern-img-wrap img {
    transform: scale(1.12);
}
