@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

body {
    font-family: 'Hanken Grotesk', sans-serif;
}

.carousel-track {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Utility for Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.icon-fill {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.premium-shadow {
    box-shadow: 0 20px 50px rgba(0, 33, 71, 0.06);
}

.btn-transition {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-transition:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 33, 71, 0.15);
}

.nav-link {
    display: inline-block;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #feb316;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* ── Enrollment Page ── */
.filled-icon {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

@keyframes subtle-slide {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.horizon-accent {
    background: linear-gradient(90deg, transparent, #feb316, transparent);
    background-size: 200% 100%;
    animation: subtle-slide 3s infinite linear;
}

/* ── Facilities Page ── */
.bg-grid-pattern {
    background-image:
        linear-gradient(to right, #e1e3e4 1px, transparent 1px),
        linear-gradient(to bottom, #e1e3e4 1px, transparent 1px);
    background-size: 24px 24px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 24px;
}

/* ── Hover underline (left-to-right gold line) ── */
.hover-underline {
    display: inline-block;
    position: relative;
    padding-bottom: 4px;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #feb316;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.hover-underline:hover::after,
.hover-underline.active::after {
    transform: scaleX(1);
}

/* ── Mobile Menu: Animated Dropdown ─────────────────────────────────────────── */
/*
 * Uses max-height + opacity + translateY so the drawer smoothly slides
 * down and fades in. `hidden` (display:none) can't be transitioned, so
 * we use overflow:hidden with max-height instead.
 */
.mobile-dropdown {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    /* Ease-out on open (feels snappy), ease-in on close (feels intentional) */
    transition:
        max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    /* Border only visible when open — avoids a stray line when closed */
    border-top: 1px solid transparent;
    background: white;
    width: 100%;
}

.mobile-dropdown.is-open {
    max-height: 400px;
    /* tall enough for all items; will never actually reach this */
    opacity: 1;
    transform: translateY(0);
    border-top-color: rgba(196, 198, 207, 0.4);
    /* outline-variant/40 */
}

/* ── Mobile Menu Button: Icon Crossfade ──────────────────────────────────────── */
/*
 * Two icon spans sit in the same button and absolutely overlap.
 * The menu icon fades out / scales down when open.
 * The close icon fades in / scales up when open.
 */
#mobile-menu-btn {
    position: relative;
}

.mobile-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    transition:
        opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Menu icon: visible by default, hidden when open */
.mobile-btn-icon:not(.mobile-btn-icon--close) {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Close icon: hidden by default */
.mobile-btn-icon--close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.7);
}

/* When the header has .menu-open, swap the icons */
header.menu-open .mobile-btn-icon:not(.mobile-btn-icon--close) {
    opacity: 0;
    transform: rotate(90deg) scale(0.7);
}

header.menu-open .mobile-btn-icon--close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ── Auto-hide Navbar on Scroll ──────────────────────────────────────────────── */
/*
 * .site-navbar — applied to the fixed header/nav on all pages.
 * Adds the transform transition that the JS scroll handler relies on.
 * We use a separate transition property so it doesn't conflict with
 * any existing 'transition-all' Tailwind utility.
 */
.site-navbar {
    transition:
        transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease;
}

/*
 * When .navbar-hidden is applied, the bar slides fully off the top edge.
 * translateY(-110%) ensures the drop-shadow is also hidden.
 */
.site-navbar.navbar-hidden {
    transform: translateY(-110%);
}

#pl-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: opacity .4s ease;
}

#pl-overlay.pl-hidden {
    opacity: 0;
    pointer-events: none;
}

#pl-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 40%, rgba(254, 179, 22, .07), transparent 55%), #fff;
}

.pl-grid {
    position: absolute;
    inset: -2px;
    background-image: linear-gradient(#002147 1px, transparent 1px), linear-gradient(90deg, #002147 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .055;
    animation: pl-driftGrid 18s linear infinite;
    mask-image: radial-gradient(ellipse at 50% 45%, black 35%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 45%, black 35%, transparent 78%);
}

@keyframes pl-driftGrid {
    from {
        background-position: 0 0
    }

    to {
        background-position: 42px 42px
    }
}

.pl-crop {
    position: absolute;
    width: 26px;
    height: 26px;
    border-color: rgba(254, 179, 22, .55);
    border-style: solid;
    opacity: 0;
    animation: pl-fadeCrop .6s ease-out forwards;
}

.pl-crop.tl {
    top: 34px;
    left: 34px;
    border-width: 2px 0 0 2px;
    animation-delay: .05s
}

.pl-crop.tr {
    top: 34px;
    right: 34px;
    border-width: 2px 2px 0 0;
    animation-delay: .1s
}

.pl-crop.bl {
    bottom: 34px;
    left: 34px;
    border-width: 0 0 2px 2px;
    animation-delay: .15s
}

.pl-crop.br {
    bottom: 34px;
    right: 34px;
    border-width: 0 2px 2px 0;
    animation-delay: .2s
}

@keyframes pl-fadeCrop {
    to {
        opacity: 1
    }
}

.pl-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform, opacity;
}

.pl-logo-wrap {
    position: relative;
    width: 260px;
    height: 260px;
}

@media(max-width:480px) {
    .pl-logo-wrap {
        width: 200px;
        height: 200px
    }
}

.pl-logo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    clip-path: inset(0 100% 0 0);
    animation: pl-reveal .7s cubic-bezier(.22, .8, .28, 1) .1s forwards, pl-glow 2s ease-in-out .82s infinite;
}

@keyframes pl-reveal {
    to {
        clip-path: inset(0 0% 0 0)
    }
}

@keyframes pl-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(254, 179, 22, .15))
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(254, 179, 22, .38))
    }
}

.pl-scan {
    position: absolute;
    top: 6%;
    bottom: 6%;
    width: 3px;
    left: 0%;
    background: linear-gradient(180deg, transparent, #c98a1e 15%, #feb316 50%, #c98a1e 85%, transparent);
    box-shadow: 0 0 14px 3px rgba(254, 179, 22, .9);
    opacity: 0;
    animation: pl-scan .7s cubic-bezier(.22, .8, .28, 1) .1s forwards;
}

@keyframes pl-scan {
    0% {
        left: 0%;
        opacity: 1
    }

    92% {
        opacity: 1
    }

    100% {
        left: 100%;
        opacity: 0
    }
}

#pl-stage.diving .pl-content {
    animation: pl-diveZoom .85s cubic-bezier(.55, 0, 1, .45) forwards;
}

@keyframes pl-diveZoom {
    0% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        opacity: 1
    }

    100% {
        transform: scale(28);
        opacity: 0
    }
}

#pl-stage.diving .pl-grid {
    animation: pl-gridPull .85s ease-in forwards;
}

@keyframes pl-gridPull {
    to {
        transform: scale(5);
        opacity: 0
    }
}

#pl-stage.diving .pl-crop {
    animation: pl-cropOut .3s ease-in forwards;
}

@keyframes pl-cropOut {
    to {
        opacity: 0
    }
}

.pl-flash {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

#pl-stage.diving .pl-flash {
    animation: pl-flashIn .85s ease-in forwards;
}

@keyframes pl-flashIn {
    0% {
        opacity: 0
    }

    65% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@media(prefers-reduced-motion:reduce) {

    .pl-logo-img,
    .pl-scan,
    .pl-grid,
    .pl-crop {
        animation-duration: .01s !important;
        animation-iteration-count: 1 !important
    }

    .pl-logo-img {
        clip-path: inset(0 0 0 0)
    }

    #pl-stage.diving .pl-content,
    #pl-stage.diving .pl-grid {
        animation-duration: .01s !important
    }
}

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

:root {
    --navy: #002147;
    --navy2: #003166;
    --gold: #feb316;
    --gold2: #ffc933;
    --txt: #1e293b;
    --txt-muted: #64748b;
    --border: #e2e8f0;
    --bg: #f1f5f9;
    --card: #ffffff;
    --radius-card: 20px;
    --radius-pill: 999px;
    --sh-sm: 0 1px 4px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
    --sh-md: 0 8px 24px rgba(0, 0, 0, .10), 0 2px 8px rgba(0, 0, 0, .06);
    --sh-lg: 0 20px 48px rgba(0, 0, 0, .14), 0 6px 16px rgba(0, 0, 0, .08);
    --ease: .28s cubic-bezier(.22, 1, .36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Hanken Grotesk", sans-serif;
    background: var(--bg);
    color: var(--txt);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* â”€â”€ NAV â”€â”€ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 80px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 33, 71, .07);
}

.site-nav-inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo img {
    height: 108px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #44474e;
    text-decoration: none;
    transition: color var(--ease);
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--ease);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--navy);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-enroll {
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--ease);
}

.nav-enroll:hover {
    background: var(--navy2);
    box-shadow: 0 6px 20px rgba(0, 33, 71, .30);
    transform: translateY(-1px);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
    padding: 4px;
}

.mobile-nav {
    display: none;
    position: fixed;
    inset-y: 0;
    left: 0;
    width: 288px;
    background: #fff;
    z-index: 60;
    box-shadow: 4px 0 32px rgba(0, 33, 71, .15);
    flex-direction: column;
    padding: 28px;
    transform: translateX(-100%);
    transition: transform var(--ease);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    color: #44474e;
    text-decoration: none;
    transition: all var(--ease);
    margin-bottom: 4px;
}

.mobile-nav-links a:hover {
    background: #f1f5f9;
    color: var(--navy);
}

/* â”€â”€ HERO â”€â”€ */
.hero {
    background: var(--navy);
    color: #fff;
    padding: 120px 40px 100px;
    position: relative;
    overflow: hidden;
    margin-top: 96px;
}

.hero-bg-circle1 {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254, 179, 22, .15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-bg-circle2 {
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, .12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 80px;
}

.hero-left {}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(254, 179, 22, .12);
    border: 1px solid rgba(254, 179, 22, .28);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
    margin-bottom: 20px;
}

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

.hero-sub {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .65);
    max-width: 500px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .04em;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--ease);
}

.btn-gold:hover {
    background: var(--gold2);
    box-shadow: 0 8px 28px rgba(254, 179, 22, .40);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
    border-radius: var(--radius-pill);
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, .2);
    transition: all var(--ease);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .2);
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
}

.stat-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    padding: 24px 36px;
    text-align: center;
    backdrop-filter: blur(12px);
    min-width: 160px;
    transition: all 0.28s cubic-bezier(.22, 1, .36, 1);
}

.stat-card:hover {
    background: rgba(255, 255, 255, .13);
    border-color: rgba(254, 179, 22, .35);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

.stat-card-num {
    font-size: 42px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -.02em;
}

.stat-card-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-top: 8px;
}

.hero-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), #fff 50%, var(--gold));
    opacity: .4;
}

/* ── HERO CANVAS (particle network) ── */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

/* ── HERO FLOATING ORBS ── */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(1px);
}

.hero-orb--1 {
    width: 8px; height: 8px;
    background: var(--gold);
    top: 22%; left: 15%;
    box-shadow: 0 0 16px 4px rgba(254,179,22,.5);
    animation: orbFloat1 9s ease-in-out infinite;
}
.hero-orb--2 {
    width: 5px; height: 5px;
    background: #6eb4ff;
    top: 55%; left: 28%;
    box-shadow: 0 0 12px 3px rgba(110,180,255,.45);
    animation: orbFloat2 13s ease-in-out infinite;
}
.hero-orb--3 {
    width: 10px; height: 10px;
    background: var(--gold);
    top: 35%; left: 60%;
    box-shadow: 0 0 20px 5px rgba(254,179,22,.4);
    animation: orbFloat3 11s ease-in-out infinite;
}
.hero-orb--4 {
    width: 6px; height: 6px;
    background: #a78bfa;
    top: 70%; left: 72%;
    box-shadow: 0 0 14px 3px rgba(167,139,250,.45);
    animation: orbFloat4 15s ease-in-out infinite;
}
.hero-orb--5 {
    width: 4px; height: 4px;
    background: #fff;
    top: 20%; left: 82%;
    box-shadow: 0 0 10px 3px rgba(255,255,255,.35);
    animation: orbFloat5 8s ease-in-out infinite;
}
.hero-orb--6 {
    width: 7px; height: 7px;
    background: var(--gold);
    top: 80%; left: 45%;
    box-shadow: 0 0 18px 4px rgba(254,179,22,.4);
    animation: orbFloat6 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%,100% { transform: translate(0,0); }
    25%      { transform: translate(28px,-40px); }
    50%      { transform: translate(-18px,-70px); }
    75%      { transform: translate(40px,-30px); }
}
@keyframes orbFloat2 {
    0%,100% { transform: translate(0,0); }
    33%     { transform: translate(-35px,50px); }
    66%     { transform: translate(50px,20px); }
}
@keyframes orbFloat3 {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(-60px,40px) scale(1.3); }
}
@keyframes orbFloat4 {
    0%,100% { transform: translate(0,0); }
    30%     { transform: translate(40px,-55px); }
    60%     { transform: translate(-30px,-20px); }
}
@keyframes orbFloat5 {
    0%,100% { transform: translate(0,0); opacity:.8; }
    50%     { transform: translate(-50px,60px); opacity:.3; }
}
@keyframes orbFloat6 {
    0%,100% { transform: translate(0,0); }
    40%     { transform: translate(55px,-35px); }
    80%     { transform: translate(-25px,-60px); }
}

/* ── HERO FLOATING RINGS ── */
.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(254,179,22,.18);
    pointer-events: none;
    z-index: 0;
}

.hero-ring--1 {
    width: 220px; height: 220px;
    top: -60px; right: 38%;
    animation: ringDrift1 18s linear infinite;
}
.hero-ring--2 {
    width: 130px; height: 130px;
    bottom: 10%; left: 8%;
    border-color: rgba(110,180,255,.15);
    animation: ringDrift2 24s linear infinite;
}
.hero-ring--3 {
    width: 80px; height: 80px;
    top: 30%; right: 10%;
    border-color: rgba(167,139,250,.2);
    animation: ringDrift3 14s linear infinite;
}

@keyframes ringDrift1 {
    0%   { transform: translate(0,0) rotate(0deg); opacity:.6; }
    50%  { transform: translate(-30px,40px) rotate(180deg); opacity:.25; }
    100% { transform: translate(0,0) rotate(360deg); opacity:.6; }
}
@keyframes ringDrift2 {
    0%   { transform: translate(0,0) scale(1); opacity:.5; }
    50%  { transform: translate(50px,-30px) scale(1.2); opacity:.2; }
    100% { transform: translate(0,0) scale(1); opacity:.5; }
}
@keyframes ringDrift3 {
    0%   { transform: translate(0,0) rotate(0deg); }
    100% { transform: translate(-40px,60px) rotate(360deg); }
}

/* â”€â”€ CAT STRIP â”€â”€ */
.cat-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    overflow: hidden;
}

.cat-strip-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cat-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--ease);
    flex: 1;
    min-width: 160px;
    background: var(--bg);
    border: 1.5px solid var(--border);
}

.cat-chip:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
}

.cat-chip-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cat-chip-icon .material-symbols-outlined {
    font-size: 22px;
}

.cat-chip-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--txt);
    line-height: 1.2;
}

.cat-chip-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--txt-muted);
}

/* â”€â”€ FILTER BAR â”€â”€ */
.filter-section {
    position: sticky;
    top: 96px;
    z-index: 40;
    background: rgba(241, 245, 249, .97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.filter-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.fp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--txt-muted);
    transition: all var(--ease);
    white-space: nowrap;
    outline: none;
    box-shadow: var(--sh-sm);
}

.fp:hover {
    border-color: #94a3b8;
    color: var(--navy);
    background: #f8fafc;
    box-shadow: var(--sh-md);
    transform: translateY(-1px);
}

.fp:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.fp.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    box-shadow: 0 4px 16px rgba(0, 33, 71, .25);
}

.fp.active:hover {
    background: var(--navy2);
}

.fp-icon {
    font-size: 15px;
    line-height: 1;
}

.fp-badge {
    min-width: 20px;
    height: 19px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fp:not(.active) .fp-badge {
    background: rgba(0, 33, 71, .08);
    color: var(--navy);
}

.fp.active .fp-badge {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.search-wrap {
    position: relative;
}

.search-input {
    height: 38px;
    padding: 0 14px 0 36px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    background: #fff;
    color: var(--txt);
    outline: none;
    transition: all var(--ease);
    width: 200px;
}

.search-input:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(0, 33, 71, .08);
    width: 240px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
}

/* â”€â”€ COURSES â”€â”€ */
.courses-section {
    flex: 1;
    padding: 48px 40px 100px;
    isolation: isolate;
    position: relative;
    z-index: 0;
}

.courses-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.courses-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.courses-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
}

.courses-count {
    font-size: 13px;
    color: var(--txt-muted);
    font-weight: 600;
    background: #fff;
    border: 1.5px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

/* â”€â”€ GRID â”€â”€ */
#courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* â”€â”€ CARD â”€â”€ */
.cc {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    cursor: default;
    outline: none;
    transition: all var(--ease);
    box-shadow: var(--sh-sm);
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.cc:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-8px);
    border-color: transparent;
    z-index: 1;
}

.cc:focus-within {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Card header â€” taller with diagonal stripe overlay */
.cc-header {
    padding: 28px 28px 24px;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cc-header::after {
    content: '';
    position: absolute;
    bottom: -28px;
    right: -28px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}

.cc-header::before {
    content: '';
    position: absolute;
    bottom: 12px;
    right: 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.cc-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.cc-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, .7);
    font-variant-numeric: tabular-nums;
    background: rgba(0, 0, 0, .18);
    padding: 4px 10px;
    border-radius: 8px;
    line-height: 1.4;
}

.cc-big-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, .22);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .2);
}

.cc-big-icon .material-symbols-outlined {
    font-size: 28px;
    color: #fff;
}

.cc-header-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    letter-spacing: -.01em;
    margin-top: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card body */
.cc-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.cc-desc {
    font-size: 13.5px;
    color: var(--txt-muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.cc-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.cc-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--txt-muted);
}

.cc-meta-item .material-symbols-outlined {
    font-size: 14px;
}

.cc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.cc-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}

.cc-enroll {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: var(--navy);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--ease);
    flex-shrink: 0;
}

.cc-enroll:hover {
    background: #feb316;
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(254, 179, 22, .35);
    transform: translateY(-1px);
}

.cc-enroll .material-symbols-outlined {
    font-size: 15px;
    transition: transform var(--ease);
}

.cc-enroll:hover .material-symbols-outlined {
    transform: translateX(3px);
}

.cc.hidden-card {
    display: none !important;
}

/* â”€â”€ EMPTY â”€â”€ */
#empty-state {
    display: none;
    text-align: center;
    padding: 80px 20px;
}

#empty-state.visible {
    display: block;
}

.empty-icon {
    font-size: 64px;
    color: #cbd5e1;
}

.empty-text {
    margin-top: 16px;
    font-size: 16px;
    color: #94a3b8;
    font-weight: 600;
}

/* â”€â”€ CTA â”€â”€ */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #001430 100%);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254, 179, 22, .12) 0%, transparent 70%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, .1) 0%, transparent 70%);
}

.cta-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -.02em;
}

.cta-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, .60);
    line-height: 1.6;
}

/* â”€â”€ FOOTER â”€â”€ */
footer {
    background: #001430;
    color: #fff;
    padding: 80px 40px 40px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, .45);
    line-height: 1.75;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ease);
    border: 1px solid rgba(255, 255, 255, .1);
}

.footer-socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-socials img {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: .03em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a,
.footer-col ul li {
    font-size: 14px;
    color: rgba(255, 255, 255, .45);
    text-decoration: none;
    transition: color var(--ease);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding-top: 32px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .25);
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media(max-width:1200px) {
    #courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:900px) {
    #courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .hero-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 96px 24px 64px;
    }

    .filter-inner,
    .courses-section,
    .cta-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .courses-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .cat-strip-inner {
        padding: 0 24px;
    }

    .nav-links,
    .nav-enroll {
        display: none !important;
    }

    .nav-hamburger {
        display: flex;
    }

    .site-nav-inner {
        padding: 0 24px;
    }

    .mobile-nav {
        display: flex;
    }

    .search-input {
        width: 160px;
    }

    .search-input:focus {
        width: 180px;
    }
}

@media(max-width:580px) {
    #courses-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .filter-pills {
        gap: 6px;
    }

    .fp-label {
        display: none;
    }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.cc {
    animation: fadeUp .45s var(--ease) both;
}