/* =====================================================================
   BLITZ X SPORTS ACADEMY — Global Stylesheet (Phase 1 Frontend)
   Brand: Black #000 / Red #E10600 / White / Blue accent #00A8E8
   Fonts: Poppins (headings), Inter (body), Montserrat (labels)
   ===================================================================== */

:root {
    --bx-black: #0a0a0a;
    --bx-ink: #14161a;
    --bx-red: #e10600;            /* logo red — X & underline */
    --bx-red-dark: #b00500;
    --bx-blue: #00b8f0;           /* logo wing electric blue */
    --bx-blue-glow: #38d4ff;      /* bright cyan glow on the wing */
    --bx-white: #ffffff;
    --bx-gray: #f4f5f7;
    --bx-gray-2: #e9ecef;
    --bx-muted: #6b7280;
    --bx-line: rgba(0, 0, 0, .08);

    --bx-grad: linear-gradient(135deg, #e10600 0%, #ff3d00 100%);
    --bx-grad-dark: linear-gradient(135deg, #14161a 0%, #000 100%);
    --bx-grad-blue: linear-gradient(135deg, #38d4ff 0%, #0072ff 100%);

    --bx-shadow-sm: 0 4px 14px rgba(0, 0, 0, .08);
    --bx-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    --bx-shadow-red: 0 14px 30px rgba(225, 6, 0, .35);
    --bx-shadow-blue: 0 14px 30px rgba(0, 184, 240, .35);

    --bx-radius: 18px;
    --bx-radius-lg: 26px;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-label: 'Montserrat', sans-serif;
    --nav-h: 84px;
}

/* ------------------------------ Base ------------------------------ */
* { scroll-margin-top: var(--nav-h); }

html {
    scroll-behavior: smooth;
    overflow-x: clip; /* clip the root too: decorative blur blobs (right:-40px) escaped body's
                         clip to the html box and painted the white root bg as a right-edge strip.
                         clip (not hidden) keeps position:sticky working for the cine hero. */
}

body {
    font-family: var(--font-body);
    color: var(--bx-ink);
    background: var(--bx-white);
    overflow-x: clip; /* clip (not hidden) so position:sticky keeps working */
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4 {
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: -.02em;
}

a { text-decoration: none; transition: color .25s ease; }

img { max-width: 100%; }

.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
.bg-soft { background: var(--bx-gray); }
.bg-ink { background: var(--bx-grad-dark); color: #fff; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }

.text-red { color: var(--bx-red) !important; }
.text-blue { color: var(--bx-blue) !important; }

::selection { background: var(--bx-red); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: var(--bx-red); border-radius: 10px; }

/* --------------------------- Typography --------------------------- */
.eyebrow {
    font-family: var(--font-label);
    text-transform: uppercase;
    letter-spacing: .28em;
    font-weight: 700;
    font-size: .78rem;
    color: var(--bx-red);
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: '';
    width: 32px; height: 2px;
    background: var(--bx-red);
    display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: #fff; }
.eyebrow.light::before { background: #fff; }

.section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}
.section-title .hl { color: var(--bx-red); position: relative; }

.lead-muted { color: var(--bx-muted); font-size: 1.08rem; max-width: 640px; }
.center .lead-muted, .text-center .lead-muted { margin-left: auto; margin-right: auto; }

/* ---------------------------- Buttons ----------------------------- */
.btn { font-family: var(--font-label); font-weight: 700; letter-spacing: .02em; border-radius: 50px; padding: .85rem 1.8rem; transition: all .3s cubic-bezier(.2,.8,.2,1); border: 2px solid transparent; }
.btn:focus { box-shadow: none; }

.btn-bx {
    background: var(--bx-grad);
    color: #fff;
    box-shadow: var(--bx-shadow-red);
}
.btn-bx:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 38px rgba(225, 6, 0, .5); }

.btn-outline-bx { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-bx:hover { background: #fff; color: var(--bx-black); transform: translateY(-3px); }

.btn-dark-bx { background: var(--bx-ink); color: #fff; }
.btn-dark-bx:hover { background: #000; color: #fff; transform: translateY(-3px); }

.btn-ghost-dark { border-color: rgba(0,0,0,.18); color: var(--bx-ink); }
.btn-ghost-dark:hover { background: var(--bx-ink); color: #fff; }

.btn-lg { padding: 1.05rem 2.3rem; font-size: 1rem; }

/* --------------------------- Navbar ------------------------------ */
/* Solid white bar at all times — the brand logo is dark artwork, so a light
   navbar keeps it (and its red/blue) crisp on every page, including the dark hero. */
.navbar {
    padding: .65rem 0;
    transition: all .35s ease;
    background: #fff;
    box-shadow: 0 2px 18px rgba(0,0,0,.06);
}
.navbar.scrolled {
    background: #fff;
    padding: .45rem 0;
    box-shadow: 0 8px 26px rgba(0,0,0,.10);
}
.navbar-brand { display: flex; align-items: center; gap: .65rem; }
.navbar-brand .logo-img { height: 60px; width: auto; transition: height .3s ease; }
.navbar.scrolled .navbar-brand .logo-img { height: 50px; }

.navbar .nav-link {
    font-family: var(--font-label);
    font-weight: 600;
    color: var(--bx-ink) !important;
    margin: 0 .35rem;
    position: relative;
    padding: .5rem .2rem !important;
}
.navbar .nav-link::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 0; height: 2px; background: var(--bx-red);
    transition: width .3s ease;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--bx-red) !important; }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { width: 100%; }
.navbar-toggler { border: none; color: var(--bx-ink); font-size: 1.5rem; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        margin-top: .8rem;
        padding: 1rem 1.2rem;
        border-radius: 16px;
        box-shadow: var(--bx-shadow);
    }
    .navbar .nav-link { margin: .25rem 0; }
}

/* ---------------------------- Hero ------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: #000;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.08);
    animation: heroZoom 18s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1); } }

/* Parallax variant — pinned background (image stays fixed while content scrolls over it) */
.hero.has-parallax { min-height: 118vh; align-items: flex-start; }
.hero.has-parallax .hero-content { padding-top: 22vh; padding-bottom: 10vh; }
.hero.has-parallax .scroll-cue { bottom: auto; top: calc(100vh - 70px); }
.hero.has-parallax .hero-bg {
    left: 0; right: 0; top: -30%; bottom: auto; height: 160%;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    transform: translate3d(0,0,0);
    animation: none;
    will-change: transform;
}
.hero.has-parallax .hero-content { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
    .hero.has-parallax .hero-bg { top: 0; height: 100%; transform: none !important; }
    .hero.has-parallax .hero-content { transform: none !important; opacity: 1 !important; }
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(115deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.72) 42%, rgba(225,6,0,.35) 100%),
        linear-gradient(0deg, rgba(0,0,0,.85) 0%, transparent 55%);
}
.hero-content { position: relative; z-index: 3; padding-top: var(--nav-h); }
.hero .shape-blur { z-index: 2; }
.hero-float { animation: heroFloat 9s ease-in-out infinite; }
.hero-float-2 { animation: heroFloat 11s ease-in-out infinite reverse; }
@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(24px, -30px); }
}
.hero h1 {
    font-size: clamp(2.6rem, 6.4vw, 5.4rem);
    line-height: .98;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.hero h1 .stroke {
    -webkit-text-stroke: 2px #fff;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero .tagline {
    font-family: var(--font-label);
    font-weight: 700; letter-spacing: .04em;
    color: var(--bx-red);
    text-transform: uppercase;
    font-size: clamp(1rem, 2vw, 1.35rem);
}
.hero p.intro { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 540px; margin: 1.2rem 0 2rem; }

/* hero floating stats */
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 3rem; }
.hero-stats .stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.hero-stats .stat .num .text-red { color: var(--bx-red); }
.hero-stats .stat .lbl { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: rgba(255,255,255,.7); margin-top: .35rem; }

.scroll-cue {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    z-index: 4; color: rgba(255,255,255,.7); font-size: 1.4rem;
    animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(10px)} }

/* ============ Dynamic hero banner slider (admin-managed, image or video) ============ */
.bx-hero { position: relative; background: #000; }
.bx-hero-slide {
    position: relative;
    height: 56.25vw;       /* full-width 16:9 stage → a 16:9 video fills it with no bars and no crop */
    min-height: 560px;     /* floor on small/portrait screens */
    max-height: 1100px;    /* cap on very wide screens */
    display: flex; align-items: center; overflow: hidden; color: #fff; background: #000;
}
.bx-hero-media {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; background-size: cover; background-position: center;
    transform: scale(1.06); animation: heroZoom 16s ease-in-out infinite alternate;
}
.bx-hero-slide video.bx-hero-media { object-fit: cover; animation: none; transform: none; }
.bx-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(115deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,.55) 45%, rgba(225,6,0,.32) 100%),
        linear-gradient(0deg, rgba(0,0,0,.72) 0%, transparent 55%);
}
.bx-hero-content { position: relative; z-index: 2; padding-top: var(--nav-h); }
.bx-hero-content .tagline { font-family: var(--font-label); font-weight: 700; letter-spacing: .04em;
    color: var(--bx-red); text-transform: uppercase; font-size: clamp(.95rem, 1.8vw, 1.2rem); margin-bottom: .7rem; }
.bx-hero-content h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: .98; text-transform: uppercase; margin-bottom: 1rem; color: #fff; }
.bx-hero-content .intro { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 600px; margin: 0 0 1.8rem; }

.bx-hero-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4);
    background: rgba(0,0,0,.3); color: #fff; display: grid; place-items: center; font-size: 1.3rem;
    backdrop-filter: blur(4px); transition: all .3s ease; cursor: pointer;
}
.bx-hero-btn:hover { background: var(--bx-red); border-color: var(--bx-red); }
.bx-hero-btn.hero-prev { left: 24px; }
.bx-hero-btn.hero-next { right: 24px; }
.bx-hero .swiper-pagination { bottom: 58px; }
.bx-hero .swiper-pagination-bullet { background: #fff; opacity: .5; width: 10px; height: 10px; transition: all .3s ease; }
.bx-hero .swiper-pagination-bullet-active { background: var(--bx-red); opacity: 1; width: 26px; border-radius: 5px; }
.bx-hero .scroll-cue { bottom: 20px; }
@media (max-width: 575.98px) { .bx-hero-btn { display: none; } }

/* ============ 2-stage parallax hero (light: bg pan + footballer reveal) ============ */
.px-hero { position: relative; height: 240vh; background: #05070d; }
.px-stage {
    position: -webkit-sticky; position: sticky; top: 0;
    height: 100vh; min-height: 560px; overflow: hidden; color: #fff;
}
.px-bg {
    position: absolute; top: -6%; left: -3%; right: -3%; bottom: -6%;
    background-size: cover; background-position: center;
    transform: scale(1.06); will-change: transform;
}
.px-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(115deg, rgba(10,10,10,.93) 0%, rgba(10,10,10,.6) 44%, rgba(225,6,0,.32) 100%),
        linear-gradient(0deg, rgba(0,0,0,.82) 0%, transparent 56%);
}
.px-content { position: relative; z-index: 5; height: 100%; }

/* the two text panels stack & cross-fade in the same spot. Sized to fit fully under the
   fixed navbar within one screen so the headline never clips at the top. */
.px-copy { position: absolute; inset: 0; display: flex; align-items: center; padding-top: var(--nav-h); }
.px-copy-2 { opacity: 0; }                 /* JS fades this in on the 2nd scroll */
.px-copy h1 {
    font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: .98; text-transform: uppercase; margin-bottom: 1rem;
}
.px-copy h1 .stroke { -webkit-text-stroke: 2px #fff; -webkit-text-fill-color: transparent; color: transparent; }
.px-copy .tagline {
    font-family: var(--font-label); font-weight: 700; letter-spacing: .04em;
    color: var(--bx-red); text-transform: uppercase; font-size: clamp(.95rem, 1.8vw, 1.2rem); margin-bottom: .65rem;
}
.px-copy .intro { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 600px; margin: 0 0 1.8rem; }
.px-copy .hero-stats { margin-top: 1.7rem; gap: 1.9rem; }

/* footballer + the single football — start off to the right, glide in on the 2nd scroll */
.px-athlete, .px-ball { position: absolute; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.px-athlete {
    /* the cutout fills its PNG edge-to-edge, so a generous right margin + bottom-right anchor keep his
       whole shoulder/arm inside the banner and clear of the floating action buttons. */
    right: 9%; bottom: 0; height: 90%; width: auto; max-width: 52%;
    object-fit: contain; object-position: right bottom; z-index: 3;
    filter: drop-shadow(0 28px 50px rgba(0,0,0,.55));
}
.px-ball {                                 /* z-index above the footballer → sits at his striking foot */
    right: 40%; bottom: 14%; width: min(15vw, 188px); height: auto; z-index: 4;
    filter: drop-shadow(0 18px 32px rgba(0,0,0,.5));
}
@media (max-width: 1399.98px) { .px-athlete { right: 7%; max-width: 54%; } .px-ball { right: 38%; bottom: 15%; } }
@media (max-width: 1199.98px) { .px-athlete { right: 4%; max-width: 55%; } .px-ball { right: 40%; bottom: 16%; } }
/* tablet & mobile: text goes full-width, so show a clean text-only hero on the stadium
   image instead of overlapping/cropping the player */
@media (max-width: 991.98px) { .px-athlete, .px-ball { display: none; } }

/* shorter screens — trim stage-1 progressively so the headline never clips under the navbar */
@media (max-height: 820px) {
    .px-copy h1 { font-size: clamp(1.9rem, 4vw, 3.6rem); }
    .px-copy .intro { font-size: 1.02rem; margin-bottom: 1.2rem; }
    .px-copy .hero-stats { margin-top: 1.2rem; gap: 1.6rem; }
}
@media (max-height: 680px) {
    .px-copy h1 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); margin-bottom: .55rem; }
    .px-copy .tagline { margin-bottom: .4rem; font-size: .85rem; }
    .px-copy .intro { font-size: .95rem; margin-bottom: .9rem; max-width: 500px; }
    .px-copy .hero-stats { display: none; }   /* drop stats on very short viewports to keep the headline + CTA visible */
}

/* tiny stage indicator */
.px-progress { position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
    z-index: 6; display: flex; flex-direction: column; gap: 11px; }
.px-progress span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .35s ease; }
.px-progress span.active { background: var(--bx-red); transform: scale(1.4); box-shadow: 0 0 0 4px rgba(225,6,0,.2); }

@media (prefers-reduced-motion: reduce) {
    /* no scroll story — show the first panel as a normal static hero */
    .px-hero { height: 100vh; }
    .px-stage { position: relative; height: 100vh; }
    .px-bg { transform: none; }
    .px-copy-2, .px-athlete, .px-ball, .px-progress { display: none; }
}

/* ================= Cinematic 3D parallax hero (tall scroll stage) ================= */
.cine-scroll { position: relative; height: 640vh; background: #04060c; }  /* taller = roomier, easier scroll */
.cine-stage {
    position: -webkit-sticky; position: sticky; top: 0;
    height: 100vh; min-height: 640px; overflow: hidden; color: #fff; isolation: isolate;
}
.cine-layer {
    position: absolute; top: -45%; left: -9%; width: 118%; height: 190%;
    background-size: cover; background-position: center;
    backface-visibility: hidden;
}
/* Only the layers JS actually animates get promoted — promoting the big blurred/gradient
   atmosphere layers permanently wasted GPU memory and caused compositor glitches. */
.cine-mid, .cine-particles { will-change: transform; }
.cine-bg { filter: blur(6px) brightness(.5) saturate(1.15); transform: scale(1.12); z-index: 1; }
.cine-mid { filter: brightness(.95) contrast(1.05); z-index: 2; }  /* the big, clear hero image */
/* main subject — real athlete cutout; hidden on load, fades in on scroll, floats on its own depth */
.cine-subject {
    position: absolute; right: 0; bottom: 2%; width: min(60vw, 900px); height: auto; z-index: 6;
    opacity: 0; will-change: transform, opacity; pointer-events: none;
    filter: drop-shadow(0 30px 55px rgba(0,0,0,.6)) drop-shadow(0 0 30px rgba(0,168,232,.18));
}
@media (max-width: 1199.98px) { .cine-subject { width: 66vw; right: -3%; } }
@media (max-width: 991.98px)  { .cine-subject { width: 78vw; right: -8%; bottom: 6%; } }
@media (max-width: 575.98px)  { .cine-subject { display: none; } }

/* football — comes in alone on the 3rd stage */
.cine-ball {
    position: absolute; right: 16%; top: 30%; width: min(32vw, 420px); height: auto; z-index: 6;
    opacity: 0; will-change: transform, opacity; pointer-events: none;
    filter: drop-shadow(0 26px 46px rgba(0,0,0,.6)) drop-shadow(0 0 36px rgba(56,212,255,.25));
}
@media (max-width: 991.98px) { .cine-ball { width: 50vw; right: 8%; top: 24%; } }
.cine-fog {
    /* plain opacity instead of mix-blend-mode:screen — screen blending forced a full
       re-composite of this full-screen layer on every scroll/mouse frame (main jank source).
       The result looks near-identical for these soft colored gradients. */
    z-index: 2; opacity: .6;
    background:
        radial-gradient(55% 50% at 28% 32%, rgba(56,212,255,.18), transparent 60%),
        radial-gradient(50% 45% at 78% 68%, rgba(225,6,0,.16), transparent 60%);
}
.cine-glow {
    position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: radial-gradient(46% 54% at 50% 40%, rgba(56,212,255,.16), transparent 70%);
}
.cine-scrim {
    position: absolute; inset: 0; z-index: 4; pointer-events: none;
    background:
        linear-gradient(115deg, rgba(4,6,12,.82) 0%, rgba(4,6,12,.4) 46%, rgba(4,6,12,.04) 78%),
        linear-gradient(0deg, rgba(4,6,12,.8) 0%, transparent 52%);
}
.cine-fore {
    z-index: 5; opacity: .7; filter: blur(16px);
    background:
        radial-gradient(20% 28% at 10% 94%, rgba(56,212,255,.55), transparent 70%),
        radial-gradient(24% 32% at 90% 98%, rgba(225,6,0,.55), transparent 72%);
}
.cine-particles { z-index: 7; pointer-events: none; }
.cine-dot { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(56,212,255,.7); opacity: .5; }
/* radial-gradient vignette — a 220px inset box-shadow is very expensive to paint and
   re-painted whenever the sticky stage repaints; this gradient looks the same for far less. */
.cine-vignette { position: absolute; inset: 0; z-index: 8; pointer-events: none;
    background: radial-gradient(120% 115% at 50% 48%, transparent 52%, rgba(0,0,0,.55) 82%, rgba(0,0,0,.9) 100%); }

/* scroll-reveal panels (text → images → CTA) */
.cine-panel {
    position: absolute; inset: 0; z-index: 9; display: flex; align-items: center;
    opacity: 0; transform: translateY(48px); pointer-events: none;
    transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.cine-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.cine-panel .container { padding-top: var(--nav-h); }

/* progress dots */
.cine-progress { position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
    z-index: 11; display: flex; flex-direction: column; gap: 12px; }
.cine-progress button { width: 11px; height: 11px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.35); padding: 0; cursor: pointer; transition: all .35s ease; }
.cine-progress button.active { background: var(--bx-red); transform: scale(1.45); box-shadow: 0 0 0 4px rgba(225,6,0,.2); }

.cine-hint { font-family: var(--font-label); font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 1.6rem; }
.cine-hint i { color: var(--bx-red); margin-right: .4rem; }
.cine-title-sm { font-size: clamp(2rem, 4.4vw, 3.4rem) !important; }

/* stage-2 image cards — big, full-height showcase that slides in as you scroll */
.hero-shots { display: flex; gap: 1.1rem; }
.hero-shots .shot { flex: 1; border-radius: var(--bx-radius); overflow: hidden; height: 64vh;
    box-shadow: var(--bx-shadow); transform: translateY(60px); opacity: 0;
    transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s ease; }
.hero-shots .shot img { width: 100%; height: 100%; object-fit: cover; }
.cine-panel.is-active .hero-shots .shot { transform: none; opacity: 1; }
.hero-shots .shot:nth-child(2) { transition-delay: .12s; margin-top: 3vh; }
.hero-shots .shot:nth-child(3) { transition-delay: .24s; }
@media (max-width: 991.98px) { .hero-shots .shot { height: 34vh; } .hero-shots .shot:nth-child(2){ margin-top: 0; } }

.cine-eyebrow { margin-bottom: 1.1rem; }
.cine-title {
    font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.3rem, 5.4vw, 4.7rem); line-height: .98; letter-spacing: -.02em; margin-bottom: 1rem;
}
.cine-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.cine-title .ln > span { display: block; }
.cine-title .stroke { -webkit-text-stroke: 2px #fff; -webkit-text-fill-color: transparent; color: transparent; }
.cine-sub { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 520px; margin-bottom: 1.6rem; }
.cine-cta .btn:hover { transform: translateY(-3px) scale(1.04); }
.cine-stats { margin-top: 1.8rem; gap: 1.8rem; }
.cine-stats .num { font-size: 2.1rem; }
@media (max-height: 820px) {
    .cine-eyebrow { margin-bottom: .7rem; }
    .cine-sub { font-size: 1rem; margin-bottom: 1.2rem; }
    .cine-stats { margin-top: 1.3rem; }
    .cine-stats .num { font-size: 1.8rem; }
}

/* Text entrance — pure CSS (fires on parse, never depends on the GSAP CDN, never stuck hidden) */
@keyframes cineRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes cineMask { from { transform: translateY(106%); } to { transform: translateY(0); } }
@keyframes cineFade { from { opacity: 0; } to { opacity: 1; } }
.cine-eyebrow { animation: cineRise .8s .15s both cubic-bezier(.2,.8,.2,1); }
.cine-title .ln > span { animation: cineMask .9s both cubic-bezier(.2,.8,.2,1); }
.cine-title .ln:nth-child(1) > span { animation-delay: .28s; }
.cine-title .ln:nth-child(2) > span { animation-delay: .42s; }
.cine-sub { animation: cineRise .8s .62s both cubic-bezier(.2,.8,.2,1); }
.cine-cta { animation: cineRise .8s .78s both cubic-bezier(.2,.8,.2,1); }
.cine-stats { animation: cineRise .8s .92s both cubic-bezier(.2,.8,.2,1); }
.cine-scrollcue { animation: cineFade 1s 1.1s both; }  /* opacity only — keeps translateX(-50%) centering */

.cine-scrollcue {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    z-index: 9; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5);
    border-radius: 16px; display: block;
}
.cine-scrollcue span {
    position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
    background: var(--bx-red); border-radius: 4px; animation: cueDrop 1.6s ease-in-out infinite;
}
@keyframes cueDrop { 0%,100%{ transform: translateY(0); opacity:1 } 60%{ transform: translateY(12px); opacity:.2 } }

@media (max-width: 768px) {
    .cine-hero { perspective: none; }
    .cine-stats { gap: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cine-bg { transform: none; }
    .cine-scrollcue span { animation: none; }
    .cine-eyebrow, .cine-title .ln > span, .cine-sub, .cine-cta, .cine-stats, .cine-scrollcue { animation: none !important; }
    /* collapse the tall scroll stage into stacked, fully visible panels */
    .cine-scroll { height: auto; }
    .cine-stage { position: relative; height: auto; min-height: auto; padding: 12vh 0; }
    .cine-panel { position: relative; inset: auto; opacity: 1; transform: none; padding: 4vh 0; pointer-events: auto; }
    .hero-shots .shot { opacity: 1; transform: none; }
    .cine-progress, .cine-scrollcue { display: none; }
}

/* ============== Scroll-story hero (tall, 3 panels) ============== */
.hero-scroll { position: relative; height: 340vh; background: #000; }
.hero-stage {
    position: -webkit-sticky; position: sticky; top: 0;
    height: 100vh; overflow: hidden; min-height: 100vh;
}
.hero-stage .hero-bg {
    position: absolute; left: 0; right: 0; top: -22%; bottom: auto; height: 144%;
    background-size: cover; background-position: center;
    transform: translate3d(0,0,0); animation: none; will-change: transform;
}
.hero-stage h1.h-sm { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.hero-hint { font-family: var(--font-label); font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 1.6rem; }
.hero-hint i { color: var(--bx-red); margin-right: .4rem; }

/* panels cross-fade as you scroll */
.hero-panel {
    position: absolute; inset: 0; z-index: 3; display: flex; align-items: center;
    padding-top: var(--nav-h);
    opacity: 0; transform: translateY(48px); pointer-events: none;
    transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.hero-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }

/* progress dots */
.hero-progress { position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
    z-index: 6; display: flex; flex-direction: column; gap: 12px; }
.hero-progress button { width: 11px; height: 11px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.35); padding: 0; cursor: pointer; transition: all .35s ease; }
.hero-progress button.active { background: var(--bx-red); transform: scale(1.45); box-shadow: 0 0 0 4px rgba(225,6,0,.2); }

/* panel-2 image showcase */
.hero-shots { display: flex; gap: 1rem; }
.hero-shots .shot { flex: 1; border-radius: var(--bx-radius); overflow: hidden; aspect-ratio: 3/4;
    box-shadow: var(--bx-shadow); transform: translateY(40px); opacity: 0;
    transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s ease; }
.hero-shots .shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel.is-active .hero-shots .shot { transform: none; opacity: 1; }
.hero-shots .shot:nth-child(2) { transition-delay: .12s; }
.hero-shots .shot:nth-child(3) { transition-delay: .24s; }

@media (max-width: 768px) {
    .hero-scroll { height: 320vh; }
    .hero-progress { right: 14px; }
    .hero-shots { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-scroll { height: auto; }
    .hero-stage { position: relative; height: auto; padding: 14vh 0; }
    .hero-panel { position: relative; inset: auto; opacity: 1; transform: none; padding: 4vh 0; }
    .hero-shots .shot { opacity: 1; transform: none; }
    .hero-progress { display: none; }
}

/* page hero (inner pages) */
.page-hero {
    position: relative; padding: calc(var(--nav-h) + 70px) 0 70px;
    color: #fff; text-align: center; overflow: hidden; background: #000;
}
.page-hero .hero-bg { animation: none; transform: none; opacity: .5; }
/* parallax variant for inner page heroes — long panning image */
.page-hero.has-parallax .hero-bg {
    left: 0; right: 0; top: -30%; bottom: auto; height: 160%; opacity: .55;
    background-attachment: scroll; background-position: center; background-size: cover;
    transform: translate3d(0,0,0); animation: none; will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .page-hero.has-parallax .hero-bg { top: 0; height: 100%; transform: none !important; }
}

/* ------------------ Full-width parallax band -------------------- */
.parallax-band {
    position: relative; min-height: clamp(580px, 92vh, 920px); display: flex; align-items: center;
    color: #fff; overflow: hidden; background: #000; text-align: center;
}
.parallax-band .pb-bg {
    position: absolute; left: 0; right: 0; top: -30%; bottom: auto; height: 160%;
    background-size: cover; background-position: center;
    background-attachment: scroll;
    transform: translate3d(0,0,0); will-change: transform;
}
.parallax-band .pb-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,.62) 45%, rgba(225,6,0,.45) 100%);
}
.parallax-band .container { position: relative; z-index: 3; }
.parallax-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.parallax-band .pb-quote { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem,3.4vw,2.8rem); line-height: 1.12; text-transform: uppercase; }
.parallax-band .pb-quote .text-red { color: var(--bx-red); }
.pb-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; margin-top: 2.2rem; }
.pb-stats .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem,3.5vw,2.8rem); line-height: 1; }
.pb-stats .lbl { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: rgba(255,255,255,.75); margin-top: .4rem; }
@media (prefers-reduced-motion: reduce) {
    .parallax-band .pb-bg { top: 0; height: 100%; transform: none !important; }
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; position: relative; z-index: 2; }
.page-hero .breadcrumb-bx { position: relative; z-index: 2; font-family: var(--font-label); font-size: .85rem; color: rgba(255,255,255,.7); margin-top: .6rem; }
.page-hero .breadcrumb-bx a { color: #fff; }
.page-hero .breadcrumb-bx .sep { color: var(--bx-red); margin: 0 .5rem; }

/* --------------------------- Cards ------------------------------- */
.bx-card {
    background: #fff;
    border-radius: var(--bx-radius);
    box-shadow: var(--bx-shadow-sm);
    overflow: hidden;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
    height: 100%;
    border: 1px solid var(--bx-line);
}
.bx-card:hover { transform: translateY(-10px); box-shadow: var(--bx-shadow); }

/* Program card */
.program-card {
    position: relative; border-radius: var(--bx-radius); overflow: hidden;
    height: 100%; min-height: 260px; display: flex; flex-direction: column;
    justify-content: flex-end; padding: 1.6rem; color: #fff; isolation: isolate;
    box-shadow: var(--bx-shadow-sm);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.program-card::before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center;
    background-image: var(--img);
    transition: transform .6s ease;
}
.program-card::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(10,10,10,.05) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.92) 100%);
    transition: background .4s ease;
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--bx-shadow); }
.program-card:hover::before { transform: scale(1.1); }
.program-card:hover::after { background: linear-gradient(180deg, rgba(225,6,0,.25) 0%, rgba(10,10,10,.6) 55%, rgba(10,10,10,.95) 100%); }
.program-card .pc-icon {
    width: 50px; height: 50px; border-radius: 14px; background: var(--bx-grad);
    display: grid; place-items: center; font-size: 1.4rem; margin-bottom: auto;
    box-shadow: var(--bx-shadow-red);
}
.program-card h5 { color: #fff; margin: .9rem 0 .25rem; font-size: 1.18rem; }
.program-card p { color: rgba(255,255,255,.78); font-size: .9rem; margin: 0; }
.program-card .pc-link { font-family: var(--font-label); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-top: .8rem; opacity: 0; transform: translateY(8px); transition: all .35s ease; }
.program-card:hover .pc-link { opacity: 1; transform: translateY(0); }

/* simple icon feature card */
.feature-card {
    background: #fff; border-radius: var(--bx-radius); padding: 2.2rem 1.8rem; height: 100%;
    border: 1px solid var(--bx-line); transition: all .35s ease; position: relative; overflow: hidden;
}
.feature-card::after { content:''; position:absolute; left:0; top:0; height:4px; width:0; background: var(--bx-grad); transition: width .4s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--bx-shadow); }
.feature-card:hover::after { width: 100%; }
.feature-icon {
    width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
    font-size: 1.7rem; color: #fff; background: var(--bx-grad-dark); margin-bottom: 1.2rem; transition: all .35s ease;
}
.feature-card:hover .feature-icon { background: var(--bx-grad); box-shadow: var(--bx-shadow-red); transform: rotate(-6deg); }
.feature-card h5 { font-size: 1.15rem; margin-bottom: .5rem; }
.feature-card p { color: var(--bx-muted); font-size: .94rem; margin: 0; }

/* pill chips for mode/activities */
.chip-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
    background: #fff; border: 1px solid var(--bx-line); border-radius: 50px;
    padding: .55rem 1.15rem; font-family: var(--font-label); font-weight: 600; font-size: .85rem;
    display: inline-flex; align-items: center; gap: .5rem; transition: all .3s ease; box-shadow: var(--bx-shadow-sm);
    color: var(--bx-ink); text-decoration: none; cursor: pointer;
}
a.chip:hover { color: #fff; }
.chip i { color: var(--bx-red); }
.chip:hover { background: var(--bx-ink); color: #fff; transform: translateY(-3px); }
.chip:hover i { color: #fff; }

/* --------------------------- Events ------------------------------ */
.event-card { background:#fff; border-radius: var(--bx-radius); overflow:hidden; box-shadow: var(--bx-shadow-sm); height:100%; transition: all .4s ease; border:1px solid var(--bx-line); }
.event-card:hover { transform: translateY(-8px); box-shadow: var(--bx-shadow); }
.event-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.event-media img { width:100%; height:100%; object-fit: cover; transition: transform .6s ease; }
.event-card:hover .event-media img { transform: scale(1.08); }
.event-date {
    position:absolute; top:14px; left:14px; background: var(--bx-grad); color:#fff;
    border-radius: 14px; text-align:center; padding:.5rem .8rem; line-height:1; box-shadow: var(--bx-shadow-red);
}
.event-date .d { font-family: var(--font-head); font-weight:800; font-size:1.4rem; }
.event-date .m { font-family: var(--font-label); font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; }
.event-tag { position:absolute; bottom:14px; left:14px; background: rgba(0,0,0,.7); color:#fff; backdrop-filter: blur(6px); font-family: var(--font-label); font-weight:600; font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; padding:.35rem .8rem; border-radius:50px; }
.event-body { padding: 1.4rem 1.5rem 1.6rem; }
.event-body h5 { font-size:1.18rem; margin-bottom:.6rem; }
.event-meta { display:flex; flex-wrap:wrap; gap:1rem; color: var(--bx-muted); font-size:.86rem; margin-bottom:1rem; }
.event-meta i { color: var(--bx-red); margin-right:.35rem; }

/* --------------------------- Counters ---------------------------- */
.stat-strip { background: var(--bx-grad-dark); color:#fff; position: relative; overflow:hidden; }
.stat-strip::before { content:''; position:absolute; inset:0; background-image: url('/images/pattern.svg'); opacity:.06; }
.counter-box { text-align:center; padding: 1rem; position: relative; z-index:2; }
.counter-box .ic { font-size: 2rem; color: var(--bx-red); margin-bottom:.6rem; }
.counter-box .num { font-family: var(--font-head); font-weight:800; font-size: clamp(2.4rem,4vw,3.4rem); line-height:1; }
.counter-box .lbl { font-family: var(--font-label); text-transform:uppercase; letter-spacing:.14em; font-size:.78rem; color: rgba(255,255,255,.72); margin-top:.5rem; }

/* achievement / trophy cards */
.achieve-card { background:#fff; border-radius: var(--bx-radius); padding: 1.8rem; height:100%; border:1px solid var(--bx-line); box-shadow: var(--bx-shadow-sm); transition: all .35s ease; display:flex; gap:1.1rem; align-items:flex-start; }
.achieve-card:hover { transform: translateY(-6px); box-shadow: var(--bx-shadow); }
.achieve-card .tro { width:56px; height:56px; border-radius:16px; background: linear-gradient(135deg,#ffd34d,#f5a623); color:#7a4b00; display:grid; place-items:center; font-size:1.5rem; flex-shrink:0; }
.achieve-card h6 { font-family: var(--font-head); font-weight:700; margin-bottom:.25rem; }
.achieve-card p { color: var(--bx-muted); font-size:.88rem; margin:0; }
.achieve-card .yr { font-family: var(--font-label); font-weight:700; font-size:.75rem; color: var(--bx-red); }

/* --------------------------- News ------------------------------- */
.news-ticker { background: var(--bx-red); color:#fff; overflow:hidden; display:flex; align-items:center; }
.news-ticker .nt-label { background:#000; color:#fff; font-family: var(--font-label); font-weight:700; text-transform:uppercase; letter-spacing:.1em; font-size:.78rem; padding:.7rem 1.1rem; white-space:nowrap; display:flex; align-items:center; gap:.5rem; flex-shrink:0; }
.news-ticker .nt-label .dot { width:8px; height:8px; background: var(--bx-red); border-radius:50%; animation: blink 1s infinite; }
@keyframes blink { 50%{ opacity:.2; } }
.nt-track-wrap { overflow:hidden; flex:1; }
.nt-track { display:flex; gap:3rem; white-space:nowrap; animation: ticker 30s linear infinite; font-family: var(--font-label); font-weight:600; font-size:.9rem; padding-left:1.5rem; }
.nt-track span i, .nt-track .nt-item i { margin-right:.4rem; }
.nt-track .nt-item { color:#fff; text-decoration:none; transition: opacity .2s ease; }
.nt-track .nt-item:hover { color:#fff; text-decoration:underline; opacity:.85; }
.news-ticker:hover .nt-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.news-card { background:#fff; border-radius: var(--bx-radius); overflow:hidden; box-shadow: var(--bx-shadow-sm); height:100%; transition: all .4s ease; border:1px solid var(--bx-line); }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--bx-shadow); }
.news-media { aspect-ratio: 16/10; overflow:hidden; position:relative; }
.news-media img { width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.news-card:hover .news-media img { transform: scale(1.08); }
.news-cat { position:absolute; top:12px; left:12px; background: var(--bx-grad); color:#fff; font-family: var(--font-label); font-weight:700; font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; padding:.3rem .7rem; border-radius:50px; }
.news-body { padding: 1.3rem 1.4rem 1.5rem; }
.news-body .date { font-family: var(--font-label); font-size:.76rem; color: var(--bx-muted); text-transform:uppercase; letter-spacing:.08em; }
.news-body h6 { font-family: var(--font-head); font-weight:700; font-size:1.05rem; margin:.5rem 0; line-height:1.35; }
.news-body p { color: var(--bx-muted); font-size:.88rem; margin:0 0 .6rem; }
.news-feature { position: relative; border-radius: var(--bx-radius-lg); overflow:hidden; min-height:420px; display:flex; flex-direction:column; justify-content:flex-end; padding:2rem; color:#fff; height:100%; }
.news-feature img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition: transform .6s ease; }
.news-feature::after { content:''; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, transparent 25%, rgba(10,10,10,.96) 95%); }
.news-feature:hover img { transform: scale(1.06); }
.news-feature h3 { color:#fff; font-size: clamp(1.4rem,2.4vw,2rem); }

/* --------------------------- About ------------------------------ */
.about-img-wrap { position: relative; }
.about-img-wrap .img-main { border-radius: var(--bx-radius-lg); box-shadow: var(--bx-shadow); width:100%; }
.about-img-wrap .img-badge {
    position:absolute; bottom:-26px; right:-12px; background: var(--bx-grad); color:#fff;
    border-radius: var(--bx-radius); padding:1.3rem 1.6rem; box-shadow: var(--bx-shadow-red); text-align:center;
}
.about-img-wrap .img-badge .n { font-family: var(--font-head); font-weight:800; font-size:2.2rem; line-height:1; }
.about-img-wrap .img-badge .t { font-family: var(--font-label); font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; }
.about-img-wrap .img-dots { position:absolute; top:-22px; left:-22px; width:110px; height:110px; background-image: radial-gradient(var(--bx-red) 2px, transparent 2px); background-size: 16px 16px; opacity:.5; z-index:-1; }

.tick-list { list-style:none; padding:0; margin: 1.5rem 0 0; }
.tick-list li { display:flex; gap:.8rem; align-items:flex-start; margin-bottom:.9rem; font-weight:500; }
.tick-list li i { color: var(--bx-red); margin-top:.2rem; font-size:1.1rem; }

/* vision / mission */
.vm-card { border-radius: var(--bx-radius-lg); padding: 2.4rem 2rem; height:100%; color:#fff; position:relative; overflow:hidden; isolation:isolate; transition: transform .4s ease; }
.vm-card:hover { transform: translateY(-8px); }
.vm-card::before { content:''; position:absolute; inset:0; z-index:-1; opacity:.9; }
.vm-card.v1::before { background: var(--bx-grad); }
.vm-card.v2::before { background: var(--bx-grad-dark); }
.vm-card.v3::before { background: var(--bx-grad-blue); }
.vm-card .vm-ic { width:64px; height:64px; border-radius:18px; background: rgba(255,255,255,.16); display:grid; place-items:center; font-size:1.7rem; margin-bottom:1.2rem; }
.vm-card h4 { color:#fff; margin-bottom:.7rem; }
.vm-card p { color: rgba(255,255,255,.88); margin:0; }
.vm-card .vm-watermark { position:absolute; right:-10px; bottom:-30px; font-size:8rem; opacity:.12; z-index:-1; }

/* --------------------------- Gallery ----------------------------- */
.gallery-filter { display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; margin-bottom:2.5rem; }
.gallery-filter button {
    font-family: var(--font-label); font-weight:600; font-size:.85rem; border:1px solid var(--bx-line);
    background:#fff; color: var(--bx-ink); padding:.55rem 1.3rem; border-radius:50px; transition: all .3s ease;
}
.gallery-filter button.active, .gallery-filter button:hover { background: var(--bx-grad); color:#fff; border-color: transparent; box-shadow: var(--bx-shadow-red); }

.gallery-grid { columns: 3; column-gap: 1rem; }
.gallery-grid .g-item { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--bx-radius); overflow:hidden; position:relative; display:block; }
.gallery-grid .g-item img { width:100%; display:block; transition: transform .6s ease; }
.gallery-grid .g-item::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(225,6,0,.75)); opacity:0; transition: opacity .35s ease; }
.gallery-grid .g-item .g-zoom { position:absolute; inset:0; display:grid; place-items:center; color:#fff; font-size:1.6rem; opacity:0; transform: scale(.7); transition: all .35s ease; z-index:2; }
.gallery-grid .g-item:hover img { transform: scale(1.08); }
.gallery-grid .g-item:hover::after { opacity:1; }
.gallery-grid .g-item:hover .g-zoom { opacity:1; transform: scale(1); }
.gallery-grid .g-item .g-cap { position:absolute; bottom:12px; left:14px; z-index:3; color:#fff; font-family: var(--font-label); font-weight:600; opacity:0; transform: translateY(8px); transition: all .35s ease; }
.gallery-grid .g-item:hover .g-cap { opacity:1; transform: translateY(0); }
@media (max-width: 991.98px){ .gallery-grid { columns:2; } }
@media (max-width: 575.98px){ .gallery-grid { columns:1; } }

.video-card { position:relative; border-radius: var(--bx-radius); overflow:hidden; display:block; aspect-ratio:16/9; }
.video-card img { width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.video-card::after { content:''; position:absolute; inset:0; background: rgba(10,10,10,.35); transition: background .35s ease; }
.video-card:hover img { transform: scale(1.07); }
.video-card:hover::after { background: rgba(225,6,0,.35); }
.video-card .play { position:absolute; inset:0; display:grid; place-items:center; z-index:2; }
.video-card .play span { width:74px; height:74px; border-radius:50%; background: var(--bx-grad); color:#fff; display:grid; place-items:center; font-size:1.5rem; box-shadow: var(--bx-shadow-red); transition: transform .35s ease; }
.video-card:hover .play span { transform: scale(1.12); }
.video-card .v-cap { position:absolute; bottom:0; left:0; right:0; z-index:3; padding:1.2rem; color:#fff; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-family: var(--font-head); font-weight:700; }

/* ------------------------ Testimonials --------------------------- */
.testi-card {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(16px); border-radius: var(--bx-radius-lg); padding: 2.2rem; height:100%; color:#fff;
    transition: all .4s ease;
}
.testi-card:hover { transform: translateY(-8px); border-color: rgba(225,6,0,.6); }
.testi-card .quote-ic { font-size:2.4rem; color: var(--bx-red); line-height:1; margin-bottom:.6rem; }
.testi-card p { color: rgba(255,255,255,.9); font-size:1rem; line-height:1.7; }
.testi-card .stars { color: #ffc107; margin: 1rem 0; letter-spacing:2px; }
.testi-head { display:flex; align-items:center; gap:.9rem; margin-top:1.2rem; }
.testi-head img { width:54px; height:54px; border-radius:50%; object-fit:cover; border:2px solid var(--bx-red); }
.testi-head .nm { font-family: var(--font-head); font-weight:700; }
.testi-head .rl { font-family: var(--font-label); font-size:.78rem; color: rgba(255,255,255,.65); text-transform:uppercase; letter-spacing:.08em; }

/* testimonial light variant for inner page */
.testi-card.light { background:#fff; border:1px solid var(--bx-line); color: var(--bx-ink); box-shadow: var(--bx-shadow-sm); }
.testi-card.light p { color: var(--bx-ink); }
.testi-card.light .nm { color: var(--bx-ink); }
.testi-card.light .rl { color: var(--bx-muted); }

/* --------------------------- CTA band ---------------------------- */
.cta-band { position: relative; overflow:hidden; background: var(--bx-grad); color:#fff; border-radius: var(--bx-radius-lg); padding: 3.5rem; }
.cta-band::after { content:'\f091'; font-family:'bootstrap-icons'; position:absolute; right:-20px; bottom:-40px; font-size:12rem; opacity:.12; }
.cta-band h2 { color:#fff; }

/* --------------------------- Team -------------------------------- */
.team-card { border-radius: var(--bx-radius); overflow:hidden; position:relative; box-shadow: var(--bx-shadow-sm); }
.team-card img { width:100%; aspect-ratio: 3/4; object-fit:cover; transition: transform .6s ease; }
.team-card:hover img { transform: scale(1.07); }
.team-info { position:absolute; left:0; right:0; bottom:0; padding:1.4rem; color:#fff; background: linear-gradient(transparent, rgba(10,10,10,.92)); }
.team-info h6 { font-family: var(--font-head); font-weight:700; color:#fff; margin-bottom:.1rem; }
.team-info span { font-family: var(--font-label); font-size:.78rem; color: var(--bx-red); text-transform:uppercase; letter-spacing:.08em; }
.team-social { position:absolute; top:14px; right:14px; display:flex; flex-direction:column; gap:.5rem; opacity:0; transform: translateX(12px); transition: all .35s ease; }
.team-card:hover .team-social { opacity:1; transform: translateX(0); }
.team-social a { width:36px; height:36px; border-radius:50%; background:#fff; color: var(--bx-ink); display:grid; place-items:center; transition: all .3s ease; }
.team-social a:hover { background: var(--bx-red); color:#fff; }

/* --------------------------- Contact ----------------------------- */
.contact-card { background:#fff; border-radius: var(--bx-radius); padding:1.7rem; border:1px solid var(--bx-line); box-shadow: var(--bx-shadow-sm); height:100%; transition: all .35s ease; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--bx-shadow); }
.contact-card .ci { width:56px; height:56px; border-radius:16px; background: var(--bx-grad); color:#fff; display:grid; place-items:center; font-size:1.4rem; margin-bottom:1rem; }
.contact-card h6 { font-family: var(--font-head); font-weight:700; margin-bottom:.3rem; }
.contact-card p, .contact-card a { color: var(--bx-muted); margin:0; }
.contact-card a:hover { color: var(--bx-red); }

.form-control, .form-select { border-radius: 12px; padding: .85rem 1rem; border: 1px solid var(--bx-line); background: var(--bx-gray); font-family: var(--font-body); }
.form-control:focus, .form-select:focus { border-color: var(--bx-red); box-shadow: 0 0 0 .2rem rgba(225,6,0,.12); background:#fff; }
.form-label { font-family: var(--font-label); font-weight:600; font-size:.85rem; }

.map-wrap { border-radius: var(--bx-radius); overflow:hidden; box-shadow: var(--bx-shadow-sm); line-height:0; }
.map-wrap iframe { width:100%; height:100%; min-height:380px; border:0; filter: grayscale(.3) contrast(1.05); }

/* --------------------------- Footer ------------------------------ */
/* Light footer so the dark brand logo reads cleanly. */
.footer { background: var(--bx-gray); color: var(--bx-muted); padding-top: 80px; position:relative; overflow:hidden; border-top:1px solid var(--bx-line); }
.footer::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background: var(--bx-grad); }
.footer .logo-img { height:118px; width:auto; margin-bottom:1.2rem; }
.footer h6 { color: var(--bx-ink); font-family: var(--font-head); font-weight:700; margin-bottom:1.3rem; font-size:1.05rem; position:relative; padding-bottom:.6rem; }
.footer h6::after { content:''; position:absolute; left:0; bottom:0; width:34px; height:2px; background: var(--bx-red); }
.footer a { color: var(--bx-muted); }
.footer a:hover { color: var(--bx-red); }
.footer .f-links { list-style:none; padding:0; margin:0; }
.footer .f-links li { margin-bottom:.7rem; }
.footer .f-links li a { display:inline-flex; align-items:center; gap:.5rem; transition: all .3s ease; }
.footer .f-links li a:hover { padding-left:.35rem; }
.footer .f-contact li { display:flex; gap:.7rem; margin-bottom:1rem; align-items:flex-start; }
.footer .f-contact li i { color: var(--bx-red); margin-top:.2rem; }
.footer .f-social { display:flex; gap:.6rem; margin-top:1.2rem; }
.footer .f-social a { width:42px; height:42px; border-radius:12px; background: #fff; border:1px solid var(--bx-line); display:grid; place-items:center; color: var(--bx-ink); transition: all .3s ease; }
.footer .f-social a:hover { background: var(--bx-red); border-color: var(--bx-red); color:#fff; transform: translateY(-4px); }
.footer .newsletter .form-control { background: #fff; border:1px solid var(--bx-line); color: var(--bx-ink); }
.footer .newsletter .form-control::placeholder { color: var(--bx-muted); }
.footer-bottom { border-top: 1px solid var(--bx-line); margin-top: 60px; padding: 24px 0; font-size:.86rem; }
/* the inline Bootstrap .text-white-50 utility would vanish on a light footer — force muted dark */
.footer .text-white-50 { color: var(--bx-muted) !important; }

/* --------------------- Floating contact -------------------------- */
.floating-contact { position: fixed; right: 20px; bottom: 24px; z-index: 1040; display:flex; flex-direction:column; gap:.8rem; }
.floating-contact a { width:56px; height:56px; border-radius:50%; display:grid; place-items:center; color:#fff; font-size:1.5rem; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .3s ease; position:relative; }
.floating-contact a:hover { transform: scale(1.12); color:#fff; }
.floating-contact .fc-wa { background:#25d366; }
.floating-contact .fc-call { background: var(--bx-grad); }
.floating-contact .fc-enq { background: var(--bx-ink); }
.floating-contact a::after { content:''; position:absolute; inset:0; border-radius:50%; border:2px solid currentColor; animation: pulse-ring 2s ease-out infinite; opacity:.6; }
@keyframes pulse-ring { 0%{ transform: scale(1); opacity:.6; } 100%{ transform: scale(1.6); opacity:0; } }
.floating-contact .fc-tip { position:absolute; right:70px; top:50%; transform: translateY(-50%) translateX(10px); background:#000; color:#fff; font-family: var(--font-label); font-size:.78rem; font-weight:600; padding:.4rem .8rem; border-radius:8px; white-space:nowrap; opacity:0; pointer-events:none; transition: all .3s ease; }
.floating-contact a:hover .fc-tip { opacity:1; transform: translateY(-50%) translateX(0); }

/* back to top */
.to-top { position: fixed; left: 20px; bottom: 24px; z-index:1039; width:48px; height:48px; border-radius:14px; background: var(--bx-ink); color:#fff; display:grid; place-items:center; opacity:0; pointer-events:none; transition: all .35s ease; border:none; }
.to-top.show { opacity:1; pointer-events:auto; }
.to-top:hover { background: var(--bx-red); transform: translateY(-4px); }

/* --------------------------- Utilities --------------------------- */
.divider-x { width:60px; height:4px; background: var(--bx-grad); border-radius:4px; }
.shape-blur { position:absolute; border-radius:50%; filter: blur(80px); opacity:.5; z-index:0; pointer-events:none; }
.shape-red { background: rgba(225,6,0,.4); }
.shape-blue { background: rgba(56,212,255,.38); }

.partner-strip { filter: grayscale(1) brightness(2); opacity:.65; transition: all .3s ease; }
.partner-strip:hover { filter: none; opacity:1; }

.hover-rise { transition: transform .35s ease; }
.hover-rise:hover { transform: translateY(-6px); }

/* AOS fallback (in case CDN blocked, content still visible) */
.no-aos [data-aos] { opacity:1 !important; transform:none !important; }

/* --------------------------- Founder section --------------------------- */
.founder-photo-wrap { position: relative; max-width: 370px; margin: 0 auto; }
.founder-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--bx-radius-lg); box-shadow: var(--bx-shadow); display: block; }
.founder-photo--placeholder { display: grid; place-items: center; background: var(--bx-grad-dark); color: rgba(255,255,255,.25); font-size: 6rem; }
.founder-photo-wrap::before { content: ''; position: absolute; left: -16px; bottom: -16px; width: 70%; height: 60%; border: 3px solid var(--bx-red); border-radius: var(--bx-radius-lg); z-index: -1; }
/* circular "Since YYYY" founding-year badge on the photo */
.founder-est-badge { position: absolute; top: -14px; right: -14px; width: 96px; height: 96px; border-radius: 50%;
    background: var(--bx-grad); color: #fff; display: grid; place-content: center; text-align: center;
    font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1; box-shadow: var(--bx-shadow-red); }
.founder-est-badge small { display: block; font-family: var(--font-label); font-weight: 600; font-size: .6rem;
    text-transform: uppercase; letter-spacing: .12em; opacity: .85; margin-bottom: .15rem; }

.founder-head { margin-top: 1.1rem; }
.founder-head .founder-name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; line-height: 1.1; }
.founder-head .founder-role { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--bx-red); margin-top: .25rem; }
.founder-est { display: inline-flex; align-items: center; gap: .5rem; margin: 1rem 0 .2rem; font-family: var(--font-label);
    font-size: .9rem; color: var(--bx-ink); background: var(--bx-gray); border-radius: 50px; padding: .5rem 1rem; }
.founder-est i { color: var(--bx-red); }
.founder-bio { font-size: 1.06rem; line-height: 1.85; color: var(--bx-muted); margin: 1.2rem 0 0; }
@media (max-width: 991.98px) { .founder-photo-wrap { margin-bottom: 1.5rem; } }

/* Achievement card → gallery link hint */
.achieve-card .achieve-link { display:inline-flex; align-items:center; gap:.25rem; margin-top:.6rem; font-family: var(--font-label); font-weight:700; font-size:.74rem; text-transform:uppercase; letter-spacing:.08em; color: var(--bx-red); transition: gap .25s ease; }
.achieve-card:hover .achieve-link { gap:.55rem; }
