/* ============================================================
   UV PLAY KIDS SCHOOL — GLOBAL DESIGN SYSTEM v3.0
   🎈 KIDS SCHOOL 3D THEME | Colorful | Playful | Premium
   Inspired by Kidzee with deep purple + yellow + blob shapes
   ============================================================ */

/* ===== GOOGLE FONTS — Fredoka + Nunito for kids feel ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Baloo+2:wght@400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* 🎨 Kids School Color Palette */
    --purple-deep: #2D1B69;
    /* Deep hero bg */
    --purple-dark: #3D2887;
    /* Navbar bg */
    --purple-mid: #5D3FD3;
    /* Active elements */
    --purple-bright: #7B52EF;
    /* Hover states */
    --purple-light: #E8E0FF;
    /* Light bg for sections */
    --purple-soft: #F0EBFF;
    /* Softest bg */

    --yellow-honey: #FFD700;
    /* Primary CTA gold */
    --yellow-warm: #FFC300;
    /* Buttons */
    --yellow-soft: #FFF3CD;
    /* Light sections */
    --yellow-shine: #FFEF8A;
    /* Highlights */

    --coral: #FF6B6B;
    /* Accent red-orange */
    --coral-light: #FFE4E4;
    /* Coral bg */
    --teal: #00BFA6;
    /* Fresh green-teal */
    --teal-light: #E0F7F4;
    /* Teal bg */
    --sky: #42A5F5;
    /* Sky blue accent */
    --sky-light: #E3F2FD;
    /* Sky bg */
    --orange: #FF8C42;
    /* Orange accent */
    --pink: #FF6EB4;
    /* Pink for fun */

    /* Compatibility aliases (old vars still work) */
    --blue-950: #1A0F3C;
    --blue-900: #2D1B69;
    --blue-800: #3D2887;
    --blue-700: #5D3FD3;
    --blue-600: #7B52EF;
    --gold-300: #FFEF8A;
    --gold-400: #FFD700;
    --gold-500: #FFC300;
    --gold-600: #E6AC00;
    --white: #ffffff;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --purple-400: #C4B5FD;
    --purple-500: #A78BFA;
    --purple-600: #7C3AED;
    --red-400: #FF6B6B;

    /* Glassmorphism */
    --glass-white: rgba(255, 255, 255, 0.07);
    --glass-white-hover: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-gold: rgba(255, 215, 0, 0.35);
    --glass-blur: blur(24px);

    /* 🔤 TYPOGRAPHY — Fredoka for headings, Nunito for body */
    --font-heading: 'Fredoka One', 'Baloo 2', cursive;
    --font-body: 'Nunito', 'Plus Jakarta Sans', sans-serif;
    --font-kids: 'Baloo 2', 'Nunito', sans-serif;

    /* Spacing */
    --section-py: 80px;
    --container-max: 1280px;
    --container-pad: 48px;
    --nav-h: 80px;

    /* 🔵 Radius — Very rounded for kids feel */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 40px;
    --radius-blob: 60% 40% 30% 70% / 60% 30% 70% 40%;
    --radius-full: 999px;

    /* 3D Shadows */
    --shadow-sm: 0 4px 16px rgba(45, 27, 105, 0.2);
    --shadow-md: 0 8px 32px rgba(45, 27, 105, 0.3);
    --shadow-lg: 0 20px 60px rgba(45, 27, 105, 0.4);
    --shadow-gold: 0 8px 32px rgba(255, 215, 0, 0.35);
    --shadow-purple: 0 8px 32px rgba(93, 63, 211, 0.4);
    --shadow-3d: 0 10px 0 rgba(0, 0, 0, 0.15), 0 16px 24px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* 🌈 Rich Gradients */
    --gradient-gold: linear-gradient(135deg, #FFD700, #FFC300, #FF8C42);
    --gradient-purple: linear-gradient(135deg, #2D1B69, #5D3FD3, #7B52EF);
    --gradient-hero: linear-gradient(135deg, #1A0F3C 0%, #2D1B69 50%, #3D2887 100%);
    --gradient-coral: linear-gradient(135deg, #FF6B6B, #FF8C42);
    --gradient-teal: linear-gradient(135deg, #00BFA6, #42A5F5);
    --gradient-rainbow: linear-gradient(135deg, #FF6B6B, #FF8C42, #FFD700, #00BFA6, #42A5F5, #7B52EF);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--purple-deep);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

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

ul {
    list-style: none;
}

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

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

input,
textarea,
select {
    font-family: var(--font-body);
    outline: none;
}

/* ===== CUSTOM CURSOR — Yellow for kids theme ===== */
.cursor-dot {
    width: 10px;
    height: 10px;
    background: var(--yellow-honey);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    transform: translate(-50%, -50%);
}

body.cursor-hovering .cursor-ring {
    width: 52px;
    height: 52px;
    border-color: var(--yellow-honey);
    background: rgba(255, 215, 0, 0.08);
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--purple-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99990;
    gap: 16px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    animation: pulse 1.5s ease-in-out infinite;
    border: 2px solid rgba(255, 215, 0, 0.4);
    padding: 8px;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 2px;
    animation: loadFill 1.8s ease-in-out forwards;
}

@keyframes loadFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* ===== NAVBAR — Deep Purple Kids Theme ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: var(--transition);
    background: rgba(45, 27, 105, 0.85);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(29, 16, 75, 0.97);
    backdrop-filter: blur(32px);
    border-bottom-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 8px 32px rgba(45, 27, 105, 0.5);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    border: 2.5px solid rgba(255, 215, 0, 0.5);
    padding: 3px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.nav-logo-img:hover {
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.4);
    transform: rotate(-5deg) scale(1.05);
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo-text .name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.nav-logo-text .tagline {
    font-size: 0.68rem;
    color: var(--yellow-honey);
    font-weight: 700;
    font-family: var(--font-body);
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: var(--yellow-honey);
    background: rgba(255, 215, 0, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--yellow-honey);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-nav-call {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    font-size: 0.82rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    transition: var(--transition);
    font-family: var(--font-heading);
    white-space: nowrap;
}

.btn-nav-call:hover {
    border-color: var(--yellow-honey);
    color: var(--yellow-honey);
}

.btn-nav-primary {
    padding: 11px 24px;
    font-size: 0.88rem;
    font-weight: 400;
    background: var(--gradient-gold);
    color: var(--purple-deep);
    border-radius: var(--radius-full);
    transition: var(--transition);
    font-family: var(--font-heading);
    box-shadow: 0 6px 0 rgba(180, 120, 0, 0.6), 0 8px 20px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.btn-nav-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 rgba(180, 120, 0, 0.6), 0 12px 28px rgba(255, 215, 0, 0.4);
}

.btn-nav-primary:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 rgba(180, 120, 0, 0.6);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Nav — Purple themed */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(29, 16, 75, 0.98);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    padding: 20px 24px 28px;
    z-index: 999;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
}

.nav-mobile.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.nav-mobile .nav-link {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.92rem;
}

/* ===== TICKER BAR — Yellow kids theme ===== */
.ticker-bar {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.15), rgba(255, 195, 0, 0.22), rgba(255, 215, 0, 0.15));
    border-top: 1px solid rgba(255, 215, 0, 0.25);
    border-bottom: 1px solid rgba(255, 215, 0, 0.25);
    overflow: hidden;
    height: 44px;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: flex;
    gap: 0;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-bar:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 36px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--yellow-honey);
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

.ticker-item::after {
    content: '🌟';
    margin-left: 28px;
    font-size: 0.75rem;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ===== SECTION SPACING ===== */
.section-py {
    padding: var(--section-py) 0;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 44px;
}

/* ===== SECTION EYEBROW — Yellow pill ===== */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.12);
    border: 1.5px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--yellow-honey);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-family: var(--font-body);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--white);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
    font-family: var(--font-body);
}

/* Rainbow gradient text for kids headings */
.gradient-text {
    background: linear-gradient(135deg, #FFD700, #FF8C42, #FF6EB4, #7B52EF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.display-md {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: var(--white);
}

.text-gold {
    color: var(--yellow-honey);
}

.text-xl {
    font-size: 1.1rem;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* ===== BUTTONS — 3D Kids Style ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    transition: all 0.2s var(--ease-bounce);
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
    padding: 14px 30px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

/* 3D Press Effect on all buttons */
.btn:active {
    transform: translateY(4px) !important;
}

.btn-primary {
    background: linear-gradient(180deg, #FFD700, #FFC300);
    color: var(--purple-deep);
    box-shadow: 0 6px 0 #B8860B, 0 8px 24px rgba(255, 215, 0, 0.35);
    font-weight: 800;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #B8860B, 0 12px 32px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 7px 0 rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--yellow-honey);
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 4px 0 rgba(180, 120, 0, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--yellow-honey);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(180, 120, 0, 0.3);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.82rem;
}

/* Ripple */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== GLASS CARD — Purple tinted for kids ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(24px);
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(93, 63, 211, 0.25);
}

/* ===== TAGS / BADGES — Brighter kids colors ===== */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    font-family: var(--font-body);
}

.tag-gold {
    background: rgba(255, 215, 0, 0.15);
    border: 1.5px solid rgba(255, 215, 0, 0.35);
    color: var(--yellow-honey);
}

.tag-purple {
    background: rgba(123, 82, 239, 0.15);
    border: 1.5px solid rgba(123, 82, 239, 0.35);
    color: #C4B5FD;
}

.tag-blue {
    background: rgba(66, 165, 245, 0.15);
    border: 1.5px solid rgba(66, 165, 245, 0.35);
    color: #93C5FD;
}

.tag-green {
    background: rgba(0, 191, 166, 0.15);
    border: 1.5px solid rgba(0, 191, 166, 0.35);
    color: #5EEAD4;
}

/* ===== DIVIDER ===== */
.divider-glow {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 16px 0;
}

/* ===== FLOATING ORBS — Kids Purple/Yellow/Coral ===== */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: floatOrb 14s ease-in-out infinite;
}

.orb-blue {
    background: radial-gradient(circle, rgba(93, 63, 211, 0.75), transparent);
}

.orb-gold {
    background: radial-gradient(circle, rgba(255, 195, 0, 0.55), transparent);
}

.orb-purple {
    background: radial-gradient(circle, rgba(123, 82, 239, 0.65), transparent);
}

.orb-coral {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.55), transparent);
}

.orb-teal {
    background: radial-gradient(circle, rgba(0, 191, 166, 0.5), transparent);
}

@keyframes floatOrb {

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

    25% {
        transform: translate(30px, -40px) scale(1.06);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(15px, 30px) scale(1.03);
    }
}

/* ===== GRID BACKGROUND ===== */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ===== FLOAT ANIMATION — Bouncy for kids ===== */
@keyframes float {

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

    33% {
        transform: translateY(-14px) rotate(2deg);
    }

    66% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.9;
    }

    70% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes wiggle {

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

    15% {
        transform: rotate(-6deg);
    }

    30% {
        transform: rotate(5deg);
    }

    45% {
        transform: rotate(-4deg);
    }

    60% {
        transform: rotate(3deg);
    }

    75% {
        transform: rotate(-2deg);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-bounce-in {
    animation: bounceIn 0.8s var(--ease-bounce) forwards;
}

.animate-wiggle {
    animation: wiggle 1.5s ease-in-out infinite;
}

/* ===== WAVY SECTION DIVIDER ===== */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px;
}

.wave-divider svg {
    display: block;
}

.wave-top {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -2px;
}

/* ===== FLOATING KIDS ICONS ===== */
.kids-float-icon {
    position: absolute;
    font-size: 2rem;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    z-index: 1;
}

/* ===== BLOB SHAPE ===== */
.blob-img {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blobMorph 8s ease-in-out infinite;
    overflow: hidden;
}

@keyframes blobMorph {

    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% 50% 50% 50% / 50% 50% 50% 50%;
    }

    75% {
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    }
}

/* ===== GRADIENT X ===== */
@keyframes gradient-x {

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

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

@keyframes pulse-dot {

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

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal="left"] {
    transform: translateX(-30px);
}

[data-reveal="right"] {
    transform: translateX(30px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

/* ===== STATS ROW ===== */
.stats-row {
    display: flex;
    align-items: stretch;
}

.stat-item {
    flex: 1;
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--glass-border);
    transition: var(--transition);
}

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

.stat-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    background: linear-gradient(135deg, var(--yellow-shine) 0%, var(--yellow-honey) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    width: 0;
    transition: width 1.2s ease;
}

/* ===== FORMS ===== */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: var(--transition);
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--yellow-honey);
    background: rgba(255, 215, 0, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-select {
    cursor: pointer;
}

.form-select option {
    background: var(--purple-dark);
    color: var(--white);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-submit {
    padding: 16px 32px;
    background: linear-gradient(180deg, #FFD700, #FFC300);
    color: var(--purple-deep);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 0 #B8860B, 0 8px 24px rgba(255, 215, 0, 0.35);
    letter-spacing: 0.3px;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #B8860B, 0 12px 36px rgba(255, 215, 0, 0.5);
}

/* ===== FAB CALL BUTTON ===== */
.fab-call {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: var(--radius-full);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.88rem;
}

.fab-call:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 48px rgba(37, 211, 102, 0.55);
}

.fab-icon {
    font-size: 1.1rem;
    animation: float 2s ease-in-out infinite;
}

.fab-text {
    color: var(--white);
}

/* ===== BACK TO TOP ===== */
.back-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 44px;
    height: 44px;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    z-index: 998;
    transition: var(--transition);
}

.back-top.visible {
    display: flex;
}

.back-top:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--yellow-honey);
    transform: translateY(-3px);
}

/* ===== FOOTER — Deep purple kids theme ===== */
.footer {
    background: linear-gradient(180deg, #120a35 0%, #0e0820 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.12);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-glow-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
    pointer-events: none;
}

.footer::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 60, 220, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 52px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

/* Brand column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-logo-wrap:hover {
    opacity: 0.85;
    transform: translateX(2px);
}

.footer-brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: contain;
    margin-bottom: 14px;
    border: 2.5px solid rgba(255, 215, 0, 0.4);
    padding: 4px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-brand-tag {
    font-size: 0.78rem;
    color: var(--yellow-honey);
    font-weight: 800;
    margin-bottom: 14px;
}

.footer-brand-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.85;
    margin-bottom: 20px;
}

/* Footer contact links (phone / whatsapp) */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-contact-link:hover {
    color: var(--yellow-honey);
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateX(3px);
}

.footer-wa-link {
    color: #4ade80;
}

.footer-wa-link:hover {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.06);
    border-color: rgba(74, 222, 128, 0.2);
}

.fc-icon {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-3px) rotate(-5deg);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

/* Nav columns */
.footer-nav-col {
    display: flex;
    flex-direction: column;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links a {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 8px;
    text-decoration: none;
}

.footer-links a span {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--yellow-honey);
    background: rgba(255, 215, 0, 0.06);
    padding-left: 12px;
}

/* Visit col */
.footer-visit {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-visit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fv-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.8;
}

.footer-visit-item p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    font-weight: 600;
}

.footer-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--yellow-honey), #e8960f);
    color: #05112e;
    font-weight: 800;
    font-size: 0.88rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.25);
    font-family: var(--font-heading);
}

.footer-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
}

/* Footer bottom bar */
.footer-bottom-bar {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
    font-weight: 600;
}

/* ===== PUBVANCE BRANDING ===== */
.pubvance-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.38);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.pubvance-brand:hover {
    color: var(--yellow-honey);
    background: rgba(255, 215, 0, 0.06);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.12);
}

.pubvance-heart {
    font-size: 0.75rem;
    animation: heartbeat 2s ease-in-out infinite;
}

.pubvance-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.82rem;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s;
}

.pubvance-arrow {
    font-size: 0.72rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s;
}

.pubvance-brand:hover .pubvance-arrow {
    opacity: 1;
    transform: translateX(0);
}

@keyframes heartbeat {

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

    20% {
        transform: scale(1.3);
    }

    40% {
        transform: scale(1);
    }

    60% {
        transform: scale(1.15);
    }

    80% {
        transform: scale(1);
    }
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 9, 23, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    position: relative;
    animation: modalIn 0.4s var(--ease-spring);
}

@keyframes modalIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--white);
}

.modal-box h3 {
    color: var(--white);
}

.text-gold {
    color: var(--gold-400);
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--blue-950);
    z-index: 99980;
    pointer-events: none;
    opacity: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root {
        --section-py: 70px;
        --container-pad: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 56px;
        --container-pad: 20px;
        --nav-h: 68px;
    }

    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .stats-row {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 calc(50% - 1px);
        border-bottom: 1px solid var(--glass-border);
    }

    .stat-item:nth-child(even) {
        border-right: none;
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .fab-call {
        bottom: 16px;
        right: 16px;
        padding: 12px 18px;
    }

    .back-top {
        bottom: 16px;
        left: 16px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-py: 48px;
        --container-pad: 16px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

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