/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-color: #FFD700;
    /* Golden Yellow */
    --secondary-color: #1A1A2E;
    /* Deep Navy */
    --accent-color: #FF6B35;
    /* Warm Orange */
    --background-color: #FFFDF4;
    /* Soft Cream */
    --text-color: #2D2D2D;
    /* Charcoal */
    --white: #FFFFFF;
    --gray-light: #F4F4F4;
    --gray-dark: #333333;

    /* Typography */
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Quicksand', sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 20px 40px rgba(255, 107, 53, 0.15);

    /* Border Radius - More organic feel */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-pill: 50px;
    --radius-blob: 60% 40% 55% 45% / 50% 60% 40% 50%;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.highlight {
    color: var(--accent-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-header {
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

/* ==========================================================================
   Buttons - Storybook Style
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #F4C400 100%);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #E85A28 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.5);
}

.w-100 {
    width: 100%;
}

/* ==========================================================================
   Header & Navigation - Storybook Style
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled .navbar {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.top-bar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2A2A4A 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.top-bar .contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar span {
    margin-right: 20px;
}

.top-bar a:hover {
    color: var(--primary-color);
}

.rating-badge {
    color: var(--primary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    background: var(--white);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    animation: logo-bounce 2s ease-in-out infinite;
}

@keyframes logo-bounce {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg) scaleX(-1);
    }

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

.comic-logo {
    font-family: 'Comic Sans MS', 'Comic Sans', cursive !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.8rem !important;
}

.logo-text {
    white-space: nowrap;
}

.pink {
    color: #db1885 !important;
}

.blue {
    color: #12b5d4 !important;
}

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

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--secondary-color);
    position: relative;
    padding: 6px 4px;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 20px;
    font-size: 0.95rem;
    border-radius: 50px;
}

/* Staff Login link — sleek, subtle pill */
.nav-staff-login {
    font-size: 0.95rem !important;
    color: var(--secondary-color) !important;
    background: rgba(26, 26, 46, 0.04);
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 50px;
    padding: 8px 20px !important;
    font-weight: 700 !important;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-staff-login:hover {
    background: rgba(26, 26, 46, 0.08);
    border-color: rgba(26, 26, 46, 0.15);
    transform: translateY(-2px);
    color: var(--primary-color) !important;
}

.nav-staff-login::after {
    display: none !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: var(--gray-light);
}

/* ==========================================================================
   Storybook Parallax Container - Reusable
   ========================================================================== */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg-element {
    position: absolute;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.1s ease-out;
    z-index: 0;
}

.parallax-blob {
    filter: blur(30px);
    opacity: 0.5;
    border-radius: 50%;
}

.parallax-float {
    transition: transform 0.15s ease-out;
}

/* ==========================================================================
   Hero Section - Immersive 3D Parallax
   ========================================================================== */
.hero {
    padding-top: 110px;
    padding-bottom: 60px;
    background: linear-gradient(160deg, var(--background-color) 0%, #FFF8E1 50%, #FFF5D1 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 10;
    perspective: 1000px;
    perspective-origin: center center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 4;
    transform-style: preserve-3d;
}

/* Deep background gradient blobs - slowest parallax */
.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
    transform-style: preserve-3d;
}

.hero-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
    transform-style: preserve-3d;
}

/* Blob base - controlled by JavaScript */
.blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    transform: translate3d(0px, 0px, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.25));
}

.blob::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.5) 0%, transparent 80%);
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.7) 0%, rgba(255, 224, 102, 0.4) 40%, transparent 70%);
    top: -200px;
    right: -150px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.6) 0%, rgba(255, 143, 90, 0.3) 40%, transparent 70%);
    bottom: 50px;
    /* Lifted up to avoid clashing with wave */
    left: -150px;
    opacity: 0.8;
}

/* Floating particles layer - controlled by JavaScript */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    will-change: transform;
}

.particle:nth-child(1) {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    top: 20%;
    left: 15%;
}

.particle:nth-child(2) {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    top: 60%;
    left: 80%;
}

.particle:nth-child(3) {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    top: 75%;
    left: 25%;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    top: 30%;
    left: 70%;
}

.particle:nth-child(5) {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    top: 85%;
    left: 60%;
}


/* Hero Text - Left Side */
.hero-text {
    z-index: 5;
    position: relative;
}

.hero-text::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -60px;
    width: 120px;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 5 L61 35 L97 35 L68 57 L79 91 L50 70 L21 91 L32 57 L3 35 L39 35 Z' fill='%23FFD700'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.6;
    filter: blur(2px);
    z-index: -1;
}

.badge {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 107, 53, 0.2) 100%);
    color: var(--text-color); /*now text is set to black, for turning orange use this "--accent-color"*/
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 1rem;
    border: 2px solid rgba(255, 215, 0, 0.5);
    animation: pulse-glow 2.5s ease-in-out infinite;
    position: relative;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.4), 0 0 50px rgba(255, 215, 0, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 0 80px rgba(255, 215, 0, 0.3);
        transform: scale(1.03);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1.15;
    text-shadow: 2px 2px 0 rgba(255, 215, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    grid-column: 1;
    position: relative;
    z-index: 10;
}

/* Hero Image - Right Side - Immersive 3D Collage */
.hero-image {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 550px;
    overflow: visible;
    transform-style: preserve-3d;
}

/* Collage container with layered elements */
.collage-container {
    position: relative;
    width: 420px;
    height: 480px;
    padding: 80px;
    margin: -80px;
    overflow: visible;
    pointer-events: none;
    /* No preserve-3d here: it causes filter-atomization conflicts that
       push emojis behind blobs. Parallax depth comes from the JS speed
       differences, not CSS 3D stacking. */
    z-index: 3;
}

/* Collage blobs - stacked by CSS z-index inside the flat container */
.collage-blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    transform: translate3d(0px, 0px, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
    /* box-shadow instead of filter: drop-shadow (filter atomizes in preserve-3d) */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

.collage-blob::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 35%;
    height: 35%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4) 0%, transparent 75%);
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
}

.blob-accent {
    width: 340px;
    height: 360px;
    background: linear-gradient(145deg, var(--accent-color) 0%, #FF8F5A 60%, var(--primary-color) 100%);
    top: 50px;
    left: 30px;
    z-index: 1;
}

.blob-gold {
    width: 200px;
    height: 220px;
    background: linear-gradient(160deg, var(--primary-color) 0%, #FFE566 100%);
    top: -10px;
    right: 10px;
    z-index: 1;
    /* under blob-cream (z-index: 6) */
}

.blob-cream {
    width: 180px;
    height: 200px;
    background: linear-gradient(135deg, #FFF5D1 0%, #FFEDC2 100%);
    bottom: 60px;
    left: 10px;
    z-index: 1;
}

/* Main image container - stays centered, no Z axis */
.image-blob-container {
    position: absolute;
    width: 280px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    z-index: 5;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.image-blob {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #e8e8e8 0%, #f8f8f8 100%);
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 30px 60px rgba(255, 107, 53, 0.3),
        0 15px 30px rgba(0, 0, 0, 0.1);
    /* Fix for WebKit deployment rendering bug:
       forces GPU layer to respect border-radius clipping
       even when parent has will-change/transform */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    isolation: isolate;
}

.image-blob span {
    color: #999;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    padding: 20px;
}

.image-blob .bee-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Decorative floating elements - always on top of blobs via z-index */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
}

.decor-bee {
    position: absolute;
    font-size: 1.4rem;
    opacity: 1;
    will-change: transform;
    transform: scaleX(-1);
}

.flipped-emoji {
    display: inline-block;
    transform: scaleX(-1);
}

.decor-bee:nth-child(1) {
    top: 30px;
    left: 30px;
}

.decor-bee:nth-child(2) {
    bottom: 100px;
    right: 10px;
}

.decor-bee:nth-child(3) {
    top: 55%;
    left: 10px;
}

.decor-star {
    position: absolute;
    width: 22px;
    height: 22px;
    will-change: transform;
}

.decor-star svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
    filter: drop-shadow(0 3px 8px rgba(255, 215, 0, 0.5));
}

.decor-star:nth-child(4) {
    top: 120px;
    right: 50px;
}

.decor-star:nth-child(5) {
    bottom: 180px;
    left: 80px;
}

.decor-star:nth-child(6) {
    top: 220px;
    left: -15px;
}

.decor-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.7;
    will-change: transform;
}

.decor-dot:nth-child(7) {
    top: 180px;
    left: 35%;
}

.decor-dot:nth-child(8) {
    bottom: 230px;
    right: 28%;
}

.decor-dot:nth-child(9) {
    top: 65%;
    right: 5%;
}

.decor-heart {
    font-size: 1.1rem;
    color: var(--accent-color);
    opacity: 0.6;
    will-change: transform;
}

.decor-heart:nth-child(10) {
    top: 35%;
    right: -20px;
}

.decor-heart:nth-child(11) {
    bottom: 120px;
    left: 30px;
}

/* Wave Separator */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 3;
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-bottom .shape-fill {
    fill: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .collage-container {
        width: 380px;
        height: 440px;
    }

    .image-blob-container {
        width: 260px;
        height: 300px;
    }

    .hero h1 {
        font-size: 3.4rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 90px;
        padding-bottom: 40px;
        min-height: 90vh;
        display: flex;
        align-items: center;
        perspective: 800px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .hero p {
        max-width: 100%;
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .hero-text {
        order: 1;
    }

    .hero-buttons {
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        grid-column: unset;
        margin-bottom: 15px;
    }

    .hero-image {
        order: 2;
        min-height: 280px;
        display: flex;
        justify-content: center;
        overflow: visible;
    }

    .collage-container {
        width: 340px;
        height: 380px;
        padding: 60px;
        margin: -60px;
        overflow: visible;
    }

    .blob-accent {
        width: 240px;
        height: 260px;
        top: 30px;
        left: 20px;
    }

    .blob-gold {
        width: 140px;
        height: 160px;
        top: -5px;
        right: 5px;
    }

    .blob-cream {
        width: 120px;
        height: 140px;
        bottom: 40px;
        left: 5px;
    }

    .image-blob-container {
        width: 200px;
        height: 230px;
    }

    /* Scale down decorative elements for mobile */
    .decorative-elements {
        display: none;
        /* Hide on mobile for performance */
    }

    /* Disable heavy particle animations on mobile for performance */
    .hero-particles {
        display: none;
    }

    /* Reduce blob animation complexity on mobile */
    .blob-1,
    .blob-2 {
        animation: none;
    }

    .blob-accent,
    .blob-gold,
    .blob-cream {
        animation: none;
    }

    .hero-text::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .collage-container {
        width: 320px;
        height: 360px;
    }

    .blob-accent {
        width: 220px;
        height: 240px;
        top: 40px;
        left: 30px;
    }

    .blob-gold {
        width: 140px;
        height: 160px;
    }

    .blob-cream {
        width: 130px;
        height: 150px;
    }

    .image-blob-container {
        width: 190px;
        height: 220px;
    }

    .decor-bee {
        font-size: 1.2rem;
    }

    .decor-heart {
        font-size: 1.1rem;
    }

    .decor-star {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   Stats Section - Storybook Style
   ========================================================================== */
.stats-section {
    background-color: var(--white);
    padding: 60px 0;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.stats-grid::before {
    content: '🐝';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%) scaleX(-1);
    font-size: 2.5rem;
    background: var(--white);
    padding: 0 20px;
    border-radius: 50%;
}

.stat-card {
    text-align: center;
    padding: 20px 15px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
}

.stat-card:hover,
.stat-card.mobile-active {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.05));
}

.stat-card h3 {
    display: inline-block;
    font-size: 2.8rem;
    color: var(--accent-color);
    font-weight: 800;
}

.stat-card span {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 800;
}

.stat-card p {
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 5px;
    font-size: 1rem;
}

/* ==========================================================================
   About Section - Storybook Style
   ========================================================================== */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--background-color) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 50px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.about::after {
    content: '🐝';
    position: absolute;
    top: 80px;
    left: 30px;
    font-size: 4rem;
    opacity: 0.1;
    transform: scaleX(-1);
    animation: bee-float 4s ease-in-out infinite;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-real-image {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: -10px 20px 40px rgba(255, 107, 53, 0.3);
}

.about-real-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: 30px;
    bottom: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-blob);
    z-index: -1;
    opacity: 0.3;
}

.floating-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: linear-gradient(135deg, var(--white), var(--background-color));
    padding: 18px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float-badge 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes float-badge {

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

    50% {
        transform: translateY(-12px) rotate(2deg);
    }
}

.floating-badge .icon {
    font-size: 1.8rem;
}

.floating-badge p {
    margin: 0;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    position: relative;
}

.about-text h2::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -40px;
}

.about-text p {
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.mv-card {
    background: linear-gradient(145deg, var(--background-color), var(--white));
    padding: 30px 25px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.mv-card:nth-child(1) {
    background: rgba(255, 215, 0, 0.05);
}

.mv-card:nth-child(1) > i {
    color: var(--primary-color);
    background: rgba(255, 215, 0, 0.15);
}

.mv-card:hover,
.mv-card.mobile-active {
    transform: translateY(-5px) rotateX(2deg) rotateY(-2deg);
    box-shadow: var(--shadow-hover);
}

.mv-card:nth-child(2) {
    border-left-color: var(--accent-color);
    background: rgba(255, 107, 53, 0.03);
}

.mv-card:nth-child(2) > i {
    color: var(--accent-color);
    background: rgba(255, 107, 53, 0.1);
}

.mv-card:nth-child(3) {
    border-left-color: #22c55e;
    background: rgba(34, 197, 94, 0.03);
}

.mv-card:nth-child(3) > i {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
}

.mv-card > i {
    font-size: 1.4rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mv-card h4 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 800;
}

.mv-card p {
    font-size: 0.95rem;
    margin: 0;
}

.philosophy-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.philosophy-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.philosophy-list li i {
    color: #22c55e;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* ==========================================================================
   Features Section - Storybook Style
   ========================================================================== */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background-color) 0%, #FFF8E1 100%);
    position: relative;
    overflow: hidden;
}

/* Removed features::before to prevent sharp color stripes at the seam */

.features .section-header::before {
    content: '🌟';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
}

/* Shimmer underline on section heading */
.features-header-inner {
    display: inline-block;
    position: relative;
}
.features-header-inner::after {
    content: '';
    display: block;
    width: 70%;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% auto;
    animation: feat-shimmer 2.5s linear infinite;
}
@keyframes feat-shimmer {
    from { background-position: 0% center; }
    to   { background-position: 200% center; }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    justify-items: center;
    align-items: stretch;
}

/* ── Card Base ── */
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 28px 28px;
    max-width: 310px;
    width: 100%;
    min-height: 390px;
    height: 100%;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    perspective: 1000px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* Shine sweep on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transition: left 0.55s ease;
    pointer-events: none;
}
.feature-card:hover::after { left: 140%; }
.feature-card::before { display: none !important; }

.feature-card:hover,
.feature-card.mobile-active {
    transform: translateY(-12px);
}

/* ── Per-Card Accent Themes ── */
.feature-card:nth-child(1) {
    background: linear-gradient(150deg, #ffffff 0%, #fffef0 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.1);
}
.feature-card:nth-child(1):hover {
    box-shadow: 0 24px 50px rgba(255, 215, 0, 0.22);
    border-color: rgba(255, 215, 0, 0.6);
}
.feature-card:nth-child(1) .icon-wrap {
    background: linear-gradient(135deg, #FFD700, #FFE566);
}

.feature-card:nth-child(2) {
    background: linear-gradient(150deg, #ffffff 0%, #fff8f5 100%);
    border: 1.5px solid rgba(255, 107, 53, 0.25);
    box-shadow: 0 8px 28px rgba(255, 107, 53, 0.08);
}
.feature-card:nth-child(2):hover {
    box-shadow: 0 24px 50px rgba(255, 107, 53, 0.18);
    border-color: rgba(255, 107, 53, 0.45);
}
.feature-card:nth-child(2) .icon-wrap {
    background: linear-gradient(135deg, #FF6B35, #FF9A6C);
}

.feature-card:nth-child(3) {
    background: linear-gradient(150deg, #ffffff 0%, #f5fffc 100%);
    border: 1.5px solid rgba(34, 197, 94, 0.25);
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.08);
}
.feature-card:nth-child(3):hover {
    box-shadow: 0 24px 50px rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.45);
}
.feature-card:nth-child(3) .icon-wrap {
    background: linear-gradient(135deg, #22c55e, #4ade80);
}

.feature-card:nth-child(4) {
    background: linear-gradient(150deg, #ffffff 0%, #f7f5ff 100%);
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.07);
}
.feature-card:nth-child(4):hover {
    box-shadow: 0 24px 50px rgba(99, 102, 241, 0.16);
    border-color: rgba(99, 102, 241, 0.38);
}
.feature-card:nth-child(4) .icon-wrap {
    background: linear-gradient(135deg, #6366f1, #818cf8);
}

/* ── Icon Wrap Circle ── */
.icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
    font-size: 2.2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card:hover .icon-wrap {
    transform: scale(1.18) rotate(6deg);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--secondary-color);
    text-align: center;
    width: 100%;
}

.card-sub {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-top: 8px;
    line-height: 1.5;
}

/* ── Programme List Pills ── */
.programme-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.programme-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--secondary-color);
    text-align: left;
    transition: background 0.2s ease, transform 0.2s ease;
}
.programme-list li:hover {
    background: rgba(255, 215, 0, 0.22);
    transform: translateX(4px);
}
.programme-list li i {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Bullet Group ── */
.card-bullet-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 20px 0 0;
    gap: 10px;
}
.bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--secondary-color);
    text-align: left;
    transition: background 0.2s ease, transform 0.2s ease;
}
.bullet-item:hover {
    background: rgba(255, 107, 53, 0.22);
    transform: translateX(4px);
}
.feature-card:nth-child(3) .bullet-item {
    background: rgba(34, 197, 94, 0.1);
}
.feature-card:nth-child(3) .bullet-item:hover {
    background: rgba(34, 197, 94, 0.22);
}
.bullet-item i {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
}
.bullet-item span { text-align: left; }

/* ── XSEED Label Badge ── */
.xseed-label {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.05));
    border: 1.5px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: #16a34a;
    margin: 14px 0 4px;
}

/* ── Card Footer Text ── */
.card-footer-text {
    margin-top: auto !important;
    padding-top: 8px;
    width: 100%;
    text-align: center !important;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.95rem;
}
.card-footer-green {
    font-style: italic;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #16a34a !important;
    border-top: 1px dotted rgba(0, 0, 0, 0.08);
    padding-top: 14px !important;
}
.card-footer-indigo {
    color: #6366f1 !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    white-space: nowrap;
}

/* ── Infograph Image ── */
.infograph-container {
    margin: 10px -28px 8px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
    background: #fff;
    width: calc(100% + 56px);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    height: 290px;
}
.feature-card:hover .infograph-container {
    transform: scale(1.04);
}
.infograph-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
}


/* ==========================================================================
   Programmes Section - Storybook Style
   ========================================================================== */
.programmes {
    padding: 120px 0;
    background: linear-gradient(180deg, #E8F4F8 0%, #D4E8ED 50%, var(--background-color) 100%);
    position: relative;
    overflow: hidden;
}

/* Removed programmes::before to prevent sharp color stripes at the seam */

.programmes .section-header::before {
    content: '📚';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
}

.wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-top .shape-fill {
    fill: #FFF8E1;
}

.programmes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.programme-card {
    background: linear-gradient(145deg, var(--white), #FAFAFA);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: box-shadow var(--transition-smooth), filter var(--transition-smooth), translate var(--transition-smooth), transform 0.12s ease;
    overflow: hidden;
    border-top: 5px solid var(--primary-color);
}

.programme-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    transition: var(--transition-smooth);
}

.programme-card:hover,
.programme-card.mobile-active {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    filter: brightness(1.05);
    translate: 0 -8px;
}

.programme-card:hover::after,
.programme-card.mobile-active::after {
    transform: scale(2);
    opacity: 0.15;
}

.programme-card.special-card {
    border-top-color: var(--accent-color);
}

.programme-card.special-card::after {
    background: var(--accent-color);
}

.prog-age {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.1), rgba(255, 107, 53, 0.1));
    color: var(--secondary-color);
    font-weight: 700;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.programme-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.programme-card p {
    color: var(--gray-dark);
    line-height: 1.7;
}

.teaching-philosophy {
    display: flex;
    background: linear-gradient(145deg, var(--white), var(--background-color));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.phil-text {
    flex: 1;
    padding: 50px;
}

.phil-text h3 {
    font-size: 2.2rem;
    margin-bottom: 18px;
    position: relative;
}

.phil-text h3::before {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -10px;
    font-size: 1.5rem;
}

.phil-text>p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.phil-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
}

.phil-list i {
    color: var(--accent-color);
    margin-top: 4px;
    font-size: 1.1rem;
}

.phil-image {
    flex: 1;
    position: relative;
}

.phil-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
}

.phil-image .image-placeholder {
    height: 100%;
    border: none;
    border-radius: 0;
    min-height: 350px;
}

.programmes .wave-bottom .shape-fill {
    fill: var(--white);
}

/* ==========================================================================
   Founder Section - Storybook Style
   ========================================================================== */
.founder {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--background-color) 100%);
    position: relative;
    overflow: hidden;
}

.founder::before {
    content: '🎨';
    position: absolute;
    top: 50%;
    left: -50px;
    font-size: 300px;
    opacity: 0.02;
    pointer-events: none;
}

.founder-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 70px;
}

.founder-image-col {
    display: flex;
    justify-content: center;
    position: relative;
}

.founder-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
    background: var(--white);
    aspect-ratio: 4/5;
    max-width: 380px;
    width: 100%;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.founder-img-wrapper:hover {
    transform: scale(1.02) rotate(-1deg);
}

.founder-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-info-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.founder-badge {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border: 1.5px solid rgba(255, 107, 53, 0.2);
}

.founder-name-wrap {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 15px;
    margin-bottom: 25px;
}

.founder-name {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: var(--secondary-color);
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.qualification-pills .pill {
    background: var(--white);
    color: var(--gray-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.qualification-pills .pill:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.founder-lead {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.founder-message-text {
    font-size: 1.05rem;
    color: var(--gray-dark);
    line-height: 1.8;
}

.founder-message-text p {
    margin-bottom: 16px;
}

.founder-quote {
    position: relative;
    padding-left: 24px;
    border-left: 4px solid var(--accent-color);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-top: 25px;
}

.founder-awards-section {
    position: relative;
    padding-top: 40px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    width: 100%;
}

.awards-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.founder-awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.award-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 12px 35px rgba(26, 26, 46, 0.1),
        0 25px 55px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-top: 4px solid #16a34a;
    display: flex;
    flex-direction: column;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.award-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.07),
        0 25px 55px rgba(26, 26, 46, 0.18),
        0 40px 80px rgba(0, 0, 0, 0.09);
}

/* Unified Card Theme: Green (matching Curriculum Card) */
.award-image-container {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(34, 197, 94, 0.15) 100%);
}

.award-tag {
    color: #16a34a;
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}
.award-image-container {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.award-card:hover .award-image-container img {
    transform: scale(1.05);
}

.award-details {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid rgba(26, 26, 46, 0.07);
}

.award-tag {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 50px;
    padding: 4px 14px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.award-details h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 800;
}

.award-details p {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   Testimonials Section - Storybook Style
   ========================================================================== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background-color) 0%, #FFF8E1 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials .section-header::before {
    content: '💬';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: linear-gradient(145deg, var(--white), var(--background-color));
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition-smooth);
    border: 3px solid transparent;
}

.testimonial-card:hover,
.testimonial-card.mobile-active {
    translate: 0 -8px;
    rotate: -1deg;
    transform: rotateX(5deg) rotateY(-5deg);
    border-color: var(--primary-color) !important;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 100px;
    color: var(--primary-color);
    opacity: 0.15;
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
}


.stars {
    margin-bottom: 18px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.review {
    font-style: italic;
    margin-bottom: 22px;
    color: var(--gray-dark);
    line-height: 1.7;
    font-size: 1.02rem;
}

.reviewer strong {
    display: block;
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.reviewer span {
    font-size: 0.9rem;
    color: #888;
}

/* ==========================================================================
   Gallery Section - Storybook Style
   ========================================================================== */
.gallery {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--background-color) 100%);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.gallery-item:hover,
.gallery-item.mobile-active {
    scale: 1.03;
    rotate: -1deg;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35) !important;
}

.gallery-item:hover::before,
.gallery-item.mobile-active::before {
    opacity: 0;
}

.gallery-item .image-placeholder {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 0;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
}

.gallery .text-center {
    margin-top: 35px;
    position: relative;
    z-index: 1;
}

.gallery-video-wrapper {
    margin-top: 40px;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
    transition: var(--transition-smooth);
}

.gallery-video-wrapper:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.gallery-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Contact Section - Storybook Style
   ========================================================================== */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background-color) 0%, #FFF8E1 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    background: linear-gradient(145deg, var(--white), var(--background-color));
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.contact-form-container {
    flex: 3;
    padding: 55px;
}

.contact-form-container h2 {
    margin-bottom: 12px;
}

.contact-form-container h2::after {
    content: ' ✨';
}

.contact-form-container p {
    margin-bottom: 35px;
    color: var(--gray-dark);
}

.form-group {
    margin-bottom: 22px;
}

.form-row {
    display: flex;
    gap: 22px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

.contact-info-container {
    flex: 2;
    background: linear-gradient(145deg, var(--secondary-color) 0%, #2A2A4A 100%);
    color: var(--white);
    padding: 55px;
    position: relative;
    overflow: hidden;
}

.contact-info-container::before {
    content: '🐝';
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 200px;
    opacity: 0.05;
    transform: scaleX(-1);
}

.contact-info-container h3 {
    color: var(--primary-color);
    margin-bottom: 35px;
    font-size: 1.6rem;
}

.info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}

.info-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 4px;
}

.info-item h4 {
    color: var(--white);
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.info-item p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.info-item a {
    color: var(--white);
    transition: var(--transition-fast);
}

.info-item a:hover {
    color: var(--primary-color);
}

.map-container {
    margin-top: 35px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* ==========================================================================
   Footer - Storybook Style
   ========================================================================== */
.footer {
    background: linear-gradient(180deg, #111122 0%, #0A0A15 100%);
    color: var(--white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color), var(--accent-color));
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-col {
    flex: 1;
    min-width: 260px;
}

.brand-col h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-col p {
    color: #aaa;
    margin-bottom: 22px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition-smooth);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--secondary-color);
    transform: translateY(-5px) rotate(10deg);
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 22px;
    font-size: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-col p {
    color: #aaa;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-bottom {
    background: #050508;
    text-align: center;
    padding: 25px 20px;
    color: #666;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.crafted-by {
    margin-bottom: 8px;
}

.crafted-by a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.crafted-by a:hover {
    color: var(--accent-color);
}

/* Footer legal links (Privacy Policy) */
.footer-legal-links {
    margin-top: 10px;
}

.footer-legal-links a {
    color: rgba(255, 215, 0, 0.75);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.3px;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Privacy Policy consent checkbox in enquiry form */
.privacy-consent-group {
    margin-top: 4px;
    margin-bottom: 4px;
}

.privacy-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.93rem;
    color: var(--gray-dark);
    line-height: 1.55;
    font-weight: 600;
}

.privacy-consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--accent-color);
    cursor: pointer;
    margin-top: 2px;
    border-radius: 4px;
}

.privacy-consent-label a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s;
}

.privacy-consent-label a:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   WhatsApp Floating Button - Storybook Style
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition-smooth);
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
}

/* ==========================================================================
   Gyroscope Floating Button
   ========================================================================== */
.gyro-float {
    position: fixed;
    bottom: 115px;
    right: 35px;
    background: linear-gradient(135deg, var(--accent-color), #ff4e00);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    z-index: 100;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: none;
}

.gyro-float i {
    font-size: 1.2rem;
}

.gyro-float.active {
    background: linear-gradient(135deg, #2A2A4A, var(--secondary-color));
    box-shadow: 0 6px 20px rgba(42, 42, 74, 0.4);
}

.gyro-float:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   Storybook Floating Decorations - Global
   ========================================================================== */
.storybook-float {
    position: fixed;
    pointer-events: none;
    z-index: 50;
    opacity: 1;
    transition: transform 0.3s ease-out;
}

.storybook-float.bee-1 {
    top: 20%;
    left: 5%;
    font-size: 2rem;
    transform: scaleX(-1);
    animation: float-bee-1 8s ease-in-out infinite;
}

.storybook-float.star-1 {
    top: 40%;
    right: 8%;
    font-size: 1.5rem;
    animation: float-star-1 10s ease-in-out infinite;
}

.storybook-float.bee-2 {
    bottom: 25%;
    left: 3%;
    font-size: 1.8rem;
    transform: scaleX(-1);
    animation: float-bee-2 12s ease-in-out infinite;
}

.storybook-float.heart-1 {
    bottom: 15%;
    right: 5%;
    font-size: 1.5rem;
    animation: float-heart-1 9s ease-in-out infinite;
}

@keyframes float-bee-1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-10deg) scaleX(-1);
    }

    25% {
        transform: translate(20px, -30px) rotate(10deg) scaleX(-1);
    }

    50% {
        transform: translate(10px, -15px) rotate(-5deg) scaleX(-1);
    }

    75% {
        transform: translate(30px, -25px) rotate(15deg) scaleX(-1);
    }
}

@keyframes float-star-1 {

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

    50% {
        transform: translate(-15px, 20px) rotate(180deg);
    }
}

@keyframes float-bee-2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(5deg) scaleX(-1);
    }

    33% {
        transform: translate(-25px, 15px) rotate(-10deg) scaleX(-1);
    }

    66% {
        transform: translate(15px, -20px) rotate(8deg) scaleX(-1);
    }
}

@keyframes float-heart-1 {

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

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1150px) {
    .top-bar {
        display: none;
    }
    .nav-links,
    .nav-cta {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .teaching-philosophy {
        flex-direction: column;
    }

    .phil-text {
        padding: 35px;
    }

    .phil-image .image-placeholder {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .comic-logo {
        font-size: 1.55rem !important;
        letter-spacing: 1px;
    }

    .logo {
        flex-shrink: 1;
        min-width: 0;
    }

    .navbar {
        padding: 10px 15px;
    }

    .about, .features, .programmes, .founder, .testimonials, .gallery, .contact, .faq-section {
        padding: 50px 0;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 90px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

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

    .about-container {
        flex-direction: column;
    }

    .about-image {
        order: -1;
        width: 100%;
        margin-bottom: 30px;
    }

    .about-real-image {
        height: 250px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .founder-profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .founder-name {
        font-size: 1.6rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .founder-name-wrap {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .qualification-pills {
        flex-wrap: wrap;
        gap: 5px;
        flex: 1;
        min-width: 0;
    }

    .qualification-pills .pill {
        font-size: 0.68rem;
        padding: 3px 9px;
        white-space: nowrap;
    }

    .founder-awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-form-container {
        padding: 35px 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .storybook-float {
        display: none;
    }

    .whatsapp-float {
        bottom: 90px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .gyro-float {
        bottom: 30px;
        right: 20px;
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .gyro-float i {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    /* Navbar: tighten container padding on very small screens */
    .container {
        padding: 0 15px;
    }

    .comic-logo {
        font-size: 1.3rem !important;
        letter-spacing: 0.5px;
    }

    .logo-icon img {
        height: 32px !important;
        width: 32px !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

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

    .programme-card {
        padding: 25px;
    }

    .adm-content h2 {
        font-size: 2rem;
    }
}

/* Mobile Menu Active State */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    gap: 18px;
    border-radius: 0 0 20px 20px;
}

.nav-links.active a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.nav-links.active a::after {
    display: none;
}

/* ==========================================================================
   Parallax Scroll Effects - Global
   ========================================================================== */
[data-parallax] {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* ==========================================================================
   Buttery Alternating Slide-In Card Animation
   ========================================================================== */

/* Base state: before card is revealed */
.slide-from-left,
.slide-from-right {
    opacity: 0;
    will-change: transform, opacity;
    /* Buttery easing: slow start, smooth overshoot settle */
    transition:
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-from-left {
    transform: translateX(-120px) translateY(-80px);
}

.slide-from-right {
    transform: translateX(120px) translateY(-80px);
}

/* Revealed state: card snaps smoothly into place */
.slide-from-left.slide-in,
.slide-from-right.slide-in {
    opacity: 1;
    transform: translateX(0);
}

/* Floating element parallax */
.floating-parallax {
    animation: gentle-float 6s ease-in-out infinite;
}

@keyframes gentle-float {

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

    50% {
        transform: translateY(-20px);
    }
}

/* ==========================================================================
   Mobile Performance Optimizations
   ========================================================================== */
@media (max-width: 768px) {

    /* Remove GPU-heavy blur filters from moving 3D elements */
    .blob::after,
    .collage-blob::after,
    .hero-text::before {
        display: none !important;
        filter: none !important;
    }

    /* Remove heavy box-shadows inside preserve-3d layers */
    .collage-blob {
        box-shadow: none !important;
    }

    .image-blob {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    }
}

/* ==========================================================================
   Mobile Pure CSS Scroll Animations (Slide Up)
   ========================================================================== */
@media (max-width: 768px) {

    .mobile-slide-left,
    .mobile-slide-right {
        opacity: 0;
    }

    .mobile-slide-left.in-view {
        animation: mobileSlideLeftAnim 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    }

    .mobile-slide-right.in-view {
        animation: mobileSlideRightAnim 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    }

    @keyframes mobileSlideLeftAnim {
        0% {
            opacity: 0;
            transform: translate3d(-60px, 40px, 0);
        }

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

    @keyframes mobileSlideRightAnim {
        0% {
            opacity: 0;
            transform: translate3d(60px, 40px, 0);
        }

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

/* ==========================================================================
   Enquiry Success Modal
   ========================================================================== */

.eq-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: eqOverlayIn 0.3s ease;
}

@keyframes eqOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.eq-modal-overlay.eq-modal-exit {
    animation: eqOverlayOut 0.35s ease forwards;
}

@keyframes eqOverlayOut {
    to {
        opacity: 0;
    }
}

.eq-modal {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem 2rem 2rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.04);
    animation: eqModalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes eqModalIn {
    from {
        opacity: 0;
        transform: scale(0.78) translateY(24px);
    }

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

.eq-modal-exit .eq-modal {
    animation: eqModalOut 0.3s ease forwards;
}

@keyframes eqModalOut {
    to {
        opacity: 0;
        transform: scale(0.88) translateY(16px);
    }
}

/* Confetti dots */
.eq-confetti {
    position: absolute;
    top: -8px;
    left: var(--x, 50%);
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--c, #fbbf24);
    animation: eqConfettiFall 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--d, 0s) both;
    pointer-events: none;
}

@keyframes eqConfettiFall {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(180px) rotate(720deg) scale(0.4);
        opacity: 0;
    }
}

/* Animated check icon */
.eq-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
}

.eq-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    animation: eqRingPulse 2s ease-in-out infinite;
}

@keyframes eqRingPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
    }
}

.eq-check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #16a34a;
    line-height: 80px;
    animation: eqCheckBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes eqCheckBounce {
    from {
        opacity: 0;
        transform: scale(0.3) rotate(-20deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Text */
.eq-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.4rem;
    line-height: 1.25;
}

.eq-sub {
    font-size: 0.97rem;
    color: #475569;
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

/* Detail rows */
.eq-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    text-align: left;
}

.eq-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
}

.eq-detail-row i {
    color: var(--primary, #f59e0b);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.eq-detail-row a {
    color: var(--primary, #f59e0b);
    text-decoration: none;
}

.eq-detail-row strong {
    color: #1e293b;
}

/* Action buttons */
.eq-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.eq-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    border: none;
    font-family: inherit;
}

.eq-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

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

.eq-btn-wa {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.eq-btn-wa:hover {
    background: #22be5c;
    color: #fff;
}

.eq-btn-close {
    background: #f1f5f9;
    color: #475569;
}

.eq-btn-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* ==========================================================================
   Enquiry Error Toast
   ========================================================================== */

.eq-error-toast {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #1e293b;
    color: #f8fafc;
    border-left: 4px solid #ef4444;
    border-radius: 12px;
    padding: 0.85rem 1.1rem 0.85rem 1rem;
    font-size: 0.92rem;
    font-weight: 500;
    max-width: min(480px, calc(100vw - 2rem));
    width: max-content;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: eqToastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1.45;
}

@keyframes eqToastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.eq-error-toast i.fa-circle-exclamation {
    color: #ef4444;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.eq-error-toast button {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.1rem 0.2rem;
    margin-left: 0.25rem;
    flex-shrink: 0;
    transition: color 0.15s;
}

.eq-error-toast button:hover {
    color: #f8fafc;
}

@media (max-width: 480px) {
    .eq-modal {
        padding: 2rem 1.25rem 1.5rem;
        border-radius: 20px;
    }

    .eq-title {
        font-size: 1.3rem;
    }

    .eq-actions {
        flex-direction: column;
    }

    .eq-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   FAQ Section — button + div with .open class smooth CSS animation
   ========================================================================== */

.faq-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--background-color) 100%);
    position: relative;
    overflow: hidden;
}

.faq-section .section-header {
    margin-bottom: 3rem;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 880px;
    margin: 0 auto;
}

/* FAQ item card */
.faq-item {
    background: linear-gradient(145deg, var(--white), #fafafa);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: box-shadow var(--transition-smooth);
    border-left: 4px solid transparent;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-item.open {
    border-left-color: var(--primary-color);
}

/* Clickable title bar (button) */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 22px 28px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    background: none;
    border: none;
    text-align: left;
    transition: color var(--transition-smooth);
}

.faq-question::after {
    content: '›';
    display: inline-block;
    font-size: 1.6rem;
    color: var(--accent-color);
    transition: transform 0.35s ease;
    line-height: 1;
    margin-left: 18px;
    flex-shrink: 0;
}

.faq-item.open>.faq-question::after {
    transform: rotate(90deg);
}

.faq-question:hover,
.faq-question:focus {
    color: var(--accent-color);
    outline: none;
}

.faq-question:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent-color);
}

/* Answer panel */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 28px;
    transition:
        max-height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.35s ease,
        padding 0.35s ease;
}

.faq-answer p {
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    padding-bottom: 22px;
}

/* When open — expand smoothly */
.faq-item.open>.faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0 80px;
    }

    .faq-question {
        padding: 18px 22px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 22px;
    }

    .faq-item.open>.faq-answer {
        padding-top: 2px;
    }
}