@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   Premium Light Aquatic Base Parameters
   ========================================== */
html {
    background-color: #F8FAFC;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: transparent;
    color: #0F172A;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* ==========================================
   Fixed Aquatic Background Image Layer
   ========================================== */
#bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -30;
    pointer-events: none;
    background-image: url('../images/aquatic_layer.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    opacity: 0.35;
}

/* White veil overlay — softens background for text readability */
#bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -28;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(248, 250, 252, 0.10) 0%,
        rgba(248, 250, 252, 0.55) 35%,
        rgba(248, 250, 252, 0.70) 60%,
        rgba(248, 250, 252, 0.40) 100%
    );
}

/* Responsive: On mobile, show more of the illustration */
@media (max-width: 768px) {
    #bg-layer {
        background-size: 180% auto;
        background-position: top center;
        opacity: 0.28;
    }
    #bg-overlay {
        background: linear-gradient(
            180deg,
            rgba(248, 250, 252, 0.05) 0%,
            rgba(248, 250, 252, 0.50) 30%,
            rgba(248, 250, 252, 0.75) 55%,
            rgba(248, 250, 252, 0.45) 100%
        );
    }
}

/* Responsive: On large desktops, elegant subtle presence */
@media (min-width: 1440px) {
    #bg-layer {
        opacity: 0.30;
        background-position: center top;
    }
}

/* ==========================================
   HTML5 Water Particles Canvas Layer (Light Theme)
   ========================================== */
#water-bubbles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -20;
    pointer-events: none;
    background-color: transparent;
}

/* ==========================================
   Premium iOS Light-Glassmorphism Panels
   ========================================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(32px) saturate(195%);
    -webkit-backdrop-filter: blur(32px) saturate(195%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 
        inset 0 1px 0 0 rgba(255, 255, 255, 0.45),
        0 15px 45px -10px rgba(0, 102, 204, 0.08),
        0 8px 32px 0 rgba(15, 23, 42, 0.01);
}

.glass-navbar {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 30px rgba(0, 102, 204, 0.02);
}

.glass-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 8px 32px 0 rgba(15, 23, 42, 0.02),
        inset 0 1px 2px 0 rgba(255, 255, 255, 0.75);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.015);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 
        0 25px 50px -15px rgba(0, 102, 204, 0.16),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 102, 204, 0.35);
}

/* Aquatic Glow & Pulsating Ripples */
@keyframes aquatic-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35), 0 0 0 12px rgba(16, 185, 129, 0.2), 0 15px 30px rgba(16, 185, 129, 0.1);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0), 0 0 0 24px rgba(16, 185, 129, 0), 0 15px 30px rgba(16, 185, 129, 0.1);
    }
}

@keyframes brand-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.35), 0 0 0 12px rgba(0, 102, 204, 0.2), 0 15px 30px rgba(0, 102, 204, 0.15);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(0, 102, 204, 0), 0 0 0 24px rgba(0, 102, 204, 0), 0 15px 30px rgba(0, 102, 204, 0.15);
    }
}

#wa-floating-btn {
    animation: aquatic-ripple 2.5s infinite;
}

#chatbot-toggle {
    animation: brand-ripple 2.5s infinite;
}

.glass-input {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: #0F172A;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: #0066CC;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15);
    outline: none;
}

/* ==========================================
   Luxury Color Gradients & Glowing Buttons
   ========================================== */
.btn-primary {
    background: linear-gradient(135deg, #0066CC 0%, #004FA3 50%, #003366 100%);
    box-shadow: 0 4px 20px -3px rgba(0, 102, 204, 0.35);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -5px rgba(0, 102, 204, 0.55);
    filter: brightness(1.08);
}

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

/* ==========================================
   Drifting Ambient Background Blobs (Luxury Effect)
   ========================================== */
.aquatic-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -10;
    pointer-events: none;
    opacity: 0.6;
}

/* ==========================================
   GSAP Reveal Target Pre-states
   ========================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(35px);
}

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

/* ==========================================
   Preloader Loading Screen
   ========================================== */
#preloader {
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    background-color: #F8FAFC;
}

#preloader.omni-video-preloader {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#preloader.omni-video-preloader .backdrop-blur-2xl,
#preloader.omni-video-preloader .backdrop-blur-xl,
#preloader.omni-video-preloader [class*="backdrop-blur"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#preloader.omni-video-preloader .preloader-ambient,
body.has-video-preloader #aurora-bg,
body.has-video-preloader #water-bubbles-canvas,
body.has-hero-video #aurora-bg,
body.has-hero-video #water-bubbles-canvas {
    display: none !important;
}

#preloader.omni-video-preloader .preloader-card {
    background: rgba(5, 22, 38, 0.54) !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.omni-bg-video {
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: paint;
}

/* ==========================================
   Testimonial Glass Slider Custom CSS
   ========================================== */
.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: rgba(15, 23, 42, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-dot.active {
    width: 24px;
    background: #0066CC;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.4);
}

/* ==========================================
   Scrollbar Customization (Sleek Mac-style)
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 204, 0.15);
    border-radius: 99px;
    border: 2px solid #F8FAFC;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 102, 204, 0.45);
}

/* ==========================================
   Member Portal Specific Card Layout overrides
   ========================================== */
.member-card {
    border-radius: 1rem !important; /* rounded-2xl */
    border: 1px solid rgba(0, 102, 204, 0.10) !important; /* border tipis #0066CC 10% */
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 18px rgba(0, 102, 204, 0.04) !important; /* shadow halus */
    transition: all 0.3s ease !important;
}
.member-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(0, 102, 204, 0.08) !important;
}

/* ==========================================
   Premium Tactile Water Click Ripple Effect
   ========================================== */
.water-ripple {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2.5px solid rgba(0, 102, 204, 0.75); /* Tebalkan dan perjelas warna biru brand */
    background: radial-gradient(circle, rgba(0, 229, 255, 0.35) 0%, rgba(0, 102, 204, 0) 75%); /* Buat gradasi air lebih kontras */
    box-shadow: 
        0 0 20px rgba(0, 229, 255, 0.4), /* Efek neon glow luar */
        inset 0 0 15px rgba(0, 102, 204, 0.2); /* Riak bagian dalam */
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple-effect 0.9s cubic-bezier(0.1, 0.8, 0.25, 1) forwards; /* Gerakan riak lebih lembut lambat */
    z-index: 999999;
}

@keyframes ripple-effect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.85);
        opacity: 0;
    }
}

/* ==========================================
   Fluid Background Morphing Blob Animation
   ========================================== */
@keyframes morph-blob {
    0% {
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }
    34% {
        border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
    }
    67% {
        border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%;
    }
    100% {
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }
}

.animate-morph-blob {
    animation: morph-blob 12s ease-in-out infinite;
}

/* ==========================================
   Bespoke Roadmap Premium Containers
   ========================================== */
.roadmap-glass {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(28px);
    border: 2px solid rgba(0, 229, 255, 0.22);
    box-shadow: 
        0 30px 60px -15px rgba(0, 102, 204, 0.15),
        inset 0 1px 2px 0 rgba(255, 255, 255, 0.85);
}

.step-active-card {
    border-color: #0066CC !important;
    background: rgba(0, 102, 204, 0.04) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 102, 204, 0.08) !important;
}

/* ==========================================
   Premium AI Chatbot Styling Overrides
   ========================================== */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes chat-bubble-in {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-bubble-anim {
    animation: chat-bubble-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.chatbot-chip {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-chip:hover {
    transform: translateY(-1.5px) scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.06);
}

.chatbot-chip:active {
    transform: translateY(0) scale(1);
}

/* ==========================================
   Swiper Testimonial Carousel Overrides
   ========================================== */
.testimonial-swiper {
    overflow: visible !important;
    padding-bottom: 3rem !important;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.testimonial-swiper:active {
    cursor: grabbing;
}

.testimonial-swiper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.testimonial-swiper,
.testimonial-swiper * {
    -webkit-user-drag: none;
}

.testimonial-swiper img {
    pointer-events: none;
    user-select: none;
}

.testimonial-swiper .swiper-pagination {
    bottom: 0 !important;
}

.testimonial-swiper .swiper-pagination-bullet {
    background: #0066CC !important;
    opacity: 0.3;
    width: 8px !important;
    height: 8px !important;
    transition: all 0.3s ease;
}

.testimonial-swiper .swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* ==========================================
   Animate morph-blob
   ========================================== */
@keyframes morph-blob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 30% 40% 60% 50%; }
    75% { border-radius: 40% 50% 60% 30% / 60% 30% 50% 40%; }
}

.animate-morph-blob {
    animation: morph-blob 12s ease-in-out infinite;
}

/* ==========================================================================
   ░░ OMNIAQUATIC HOMEPAGE v2 — IMMERSIVE PARALLAX UPGRADE ░░
   Premium display typography, living aurora backdrop, 3D tilt cards,
   gradient section blending. All additive, brand-coherent (blue/cyan/peach).
   ========================================================================== */

/* ---- Premium display typography ------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Clash Display', 'Sora', 'Outfit', sans-serif;
    letter-spacing: -0.025em;
}
.font-display { font-family: 'Clash Display', 'Sora', 'Outfit', sans-serif; }
.font-grotesk { font-family: 'Space Grotesk', 'Outfit', sans-serif; }

/* ---- Softer tinted base (no flat clinical white) -------------------------- */
#bg-overlay {
    background: linear-gradient(
        180deg,
        rgba(224, 242, 254, 0.45) 0%,
        rgba(240, 249, 255, 0.55) 30%,
        rgba(248, 250, 252, 0.50) 60%,
        rgba(255, 241, 234, 0.40) 100%
    );
}

/* ---- Living Aurora Gradient Mesh (global parallax backdrop) --------------- */
#aurora-bg {
    position: fixed;
    inset: 0;
    z-index: -25;
    pointer-events: none;
    overflow: hidden;
}
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.42;
    will-change: transform;
    transform: translateZ(0);          /* promote to its own GPU layer = cheap motion */
    backface-visibility: hidden;
}
.aurora-1 {
    width: 42vw; height: 42vw;
    top: -8vw; left: -6vw;
    background: radial-gradient(circle at 35% 35%, rgba(0,194,224,0.50), rgba(0,102,204,0) 70%);
}
.aurora-2 {
    width: 38vw; height: 38vw;
    top: 20vh; right: -10vw;
    background: radial-gradient(circle at 50% 50%, rgba(0,102,204,0.38), rgba(0,102,204,0) 70%);
}
.aurora-3 {
    width: 34vw; height: 34vw;
    bottom: -8vw; left: 14vw;
    background: radial-gradient(circle at 50% 50%, rgba(0,139,155,0.28), rgba(0,139,155,0) 70%);
}
.aurora-4 {
    width: 28vw; height: 28vw;
    bottom: 8vh; right: 20vw;
    background: radial-gradient(circle at 50% 50%, rgba(56,189,248,0.24), rgba(56,189,248,0) 70%);
}
@media (max-width: 768px) {
    /* On mobile keep only a couple of light blobs, no motion = smooth scroll */
    .aurora-blob { opacity: 0.32; filter: blur(50px); animation: none !important; }
    .aurora-1 { width: 80vw; height: 80vw; }
    .aurora-2 { width: 70vw; height: 70vw; }
    .aurora-3, .aurora-4 { display: none; }
}

/* ---- Top scroll progress bar --------------------------------------------- */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    z-index: 9998;
    background: linear-gradient(90deg, #0066CC, #00E5FF 50%, #FF6B35);
    box-shadow: 0 0 12px rgba(0,229,255,0.6);
    transition: width 0.1s linear;
}

/* ---- Gradient text helpers ----------------------------------------------- */
/* Deeper stops = clearly readable on light backgrounds */
.text-gradient-brand {
    background: linear-gradient(120deg, #00489B 0%, #0066CC 50%, #0093C4 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.text-gradient-warm {
    background: linear-gradient(120deg, #004FA3 0%, #0072CE 45%, #00A6CC 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.text-gradient-animated {
    background: linear-gradient(120deg, #00489B, #0072CE, #0093C4, #00489B);
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: gradient-x 8s ease infinite;
}

/* ---- Eyebrow / kicker pill ----------------------------------------------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.28em;
    padding: 0.45rem 1rem; border-radius: 999px;
    color: #0066CC;
    background: linear-gradient(135deg, rgba(0,102,204,0.10), rgba(0,229,255,0.10));
    border: 1px solid rgba(0,102,204,0.18);
    backdrop-filter: blur(6px);
}

/* ---- 3D Tilt + Spotlight Cards ------------------------------------------- */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease, border-color 0.45s ease;
    will-change: transform;
    position: relative;
}
.tilt-card > * { transform: translateZ(0); }
.tilt-card .tilt-pop { transform: translateZ(40px); transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); }

/* Cursor-following spotlight glow */
.spotlight-card {
    position: relative;
    overflow: hidden;
}
.spotlight-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
                rgba(0,229,255,0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > h2, .spotlight-card > h3, .spotlight-card > h4,
.spotlight-card > p, .spotlight-card > a, .spotlight-card > span,
.spotlight-card > div { position: relative; z-index: 3; }

/* Diagonal shine sweep on hover */
.shine {
    position: relative;
    overflow: hidden;
}
.shine::after {
    content: '';
    position: absolute;
    top: -120%; left: -60%;
    width: 50%; height: 320%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: rotate(18deg);
    transition: left 0.7s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
    z-index: 2;
}
.shine:hover::after { left: 140%; }

/* Animated gradient border wrapper */
.gradient-border {
    position: relative;
    border-radius: 1.5rem;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
}
.gradient-border::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(130deg, rgba(0,102,204,0.7), rgba(0,229,255,0.5), rgba(255,107,53,0.6));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    background-size: 200% 200%;
    animation: gradient-x 6s ease infinite;
    pointer-events: none;
}

/* ---- Cohesive AQUA section system (no clashing hues, clearly stepped) ----- */
/* Light aqua tier */
.section-soft {
    position: relative;
    background:
        radial-gradient(120% 90% at 12% 0%, rgba(0,194,224,0.10), transparent 55%),
        linear-gradient(180deg, #eaf6ff 0%, #def0fb 100%);
}
/* Deeper aqua tier — visibly different from .section-soft, still same family */
.section-mist {
    position: relative;
    background:
        radial-gradient(100% 80% at 85% 5%, rgba(0,102,204,0.12), transparent 60%),
        linear-gradient(180deg, #d9eefb 0%, #cbe7f8 100%);
}
/* Glossy top sheen for premium glass feel on light sections */
.section-soft::before,
.section-mist::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 180px;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0));
    pointer-events: none;
    z-index: 0;
}
.section-soft > *, .section-mist > * { position: relative; z-index: 1; }
.blend-top { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%); mask-image: linear-gradient(180deg, transparent 0, #000 7%); }

/* ---- Reveal-mask: SAFE version (text always visible even if JS/GSAP fails) - */
.reveal-mask { overflow: visible; }

/* ---- Extra gloss for glass cards (more reflective, premium) --------------- */
.glass-card, .glass-panel {
    background-image: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.18));
}
.glass-card::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 32%);
    pointer-events: none;
    opacity: 0.7;
    z-index: 0;
}
.glass-card { position: relative; }

/* ---- Water splash droplets (cursor) -------------------------------------- */
.splash-drop {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.95), rgba(0,194,224,0.85) 45%, rgba(0,102,204,0.65) 100%);
    box-shadow: 0 2px 8px rgba(0,102,204,0.35), inset 0 1px 2px rgba(255,255,255,0.8);
    pointer-events: none;
    z-index: 999998;
    will-change: transform, opacity;
}
.splash-core {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0,194,224,0.7);
    background: radial-gradient(circle, rgba(0,229,255,0.30) 0%, rgba(0,102,204,0) 70%);
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%,-50%) scale(0);
    animation: splash-core 0.7s cubic-bezier(0.1,0.8,0.25,1) forwards;
}
@keyframes splash-core {
    0% { transform: translate(-50%,-50%) scale(0); opacity: 0.9; }
    100% { transform: translate(-50%,-50%) scale(1.6); opacity: 0; }
}

/* ---- Marquee trust strip ------------------------------------------------- */
.marquee { display: flex; overflow: hidden; gap: 3rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3rem; flex-shrink: 0; min-width: 100%; animation: marquee-scroll 28s linear infinite; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---- Magnetic button ----------------------------------------------------- */
.magnetic { transition: transform 0.25s cubic-bezier(0.16,1,0.3,1); will-change: transform; }

/* ---- Mobile-only program carousel ---------------------------------------- */
.program-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1.75rem;
}

.program-carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(0, 102, 204, 0.28);
    border: 0;
    padding: 0;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.program-carousel-dot.active {
    width: 1.35rem;
    background: #0066CC;
}

/* Chrome / Webkit Autofill Theme Fix */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-text-fill-color: #0f172a !important;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

html.dark input:-webkit-autofill,
html.dark input:-webkit-autofill:hover,
html.dark input:-webkit-autofill:focus,
html.dark input:-webkit-autofill:active,
html.dark textarea:-webkit-autofill,
html.dark select:-webkit-autofill,
html[data-theme="dark"] input:-webkit-autofill,
html[data-theme="dark"] input:-webkit-autofill:hover,
html[data-theme="dark"] input:-webkit-autofill:focus,
html[data-theme="dark"] input:-webkit-autofill:active,
html[data-theme="dark"] textarea:-webkit-autofill,
html[data-theme="dark"] select:-webkit-autofill,
.login-input:-webkit-autofill,
.login-input:-webkit-autofill:hover,
.login-input:-webkit-autofill:focus,
.login-input:-webkit-autofill:active,
.bg-slate-900 input:-webkit-autofill,
.bg-slate-950 input:-webkit-autofill,
.dark input:-webkit-autofill {
    -webkit-text-fill-color: #f8fafc !important;
    -webkit-box-shadow: 0 0 0px 1000px #0f172a inset !important;
    caret-color: #f8fafc !important;
}



.program-description-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px) {
    .program-mobile-carousel {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 8vw;
        padding: 0 8vw 1rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .program-mobile-carousel::-webkit-scrollbar {
        display: none;
    }

    .program-carousel-card {
        flex: 0 0 88vw;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        min-height: 25.5rem;
    }
}

/* ---- Clip-mask reveal for headings --------------------------------------- */
.reveal-mask { overflow: hidden; }
.reveal-mask > * { display: inline-block; }

/* ---- Bullet / divider shimmer -------------------------------------------- */
.shimmer-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,102,204,0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

/* ---- Responsive type scaling --------------------------------------------- */
.display-hero { font-size: clamp(2.4rem, 7vw, 4.75rem); line-height: 1.04; }
.display-section { font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1.08; }
@media (max-width: 480px) {
    .display-hero { font-size: clamp(2.1rem, 9vw, 3rem); }
}

/* ---- Accessibility: respect reduced motion ------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .aurora-blob, .animate-morph-blob, .text-gradient-animated, .gradient-border::before,
    .marquee__track, .shimmer-line, #wa-floating-btn, #chatbot-toggle {
        animation: none !important;
    }
    .tilt-card { transform: none !important; }
    html.lenis { scroll-behavior: auto; }
}
