/*
 * The Little Play - Design System & Custom Stylesheet
 * Brand: The Little Play / A N Enterprises
 */

/* ----------------------------------------------------
   1. Design System & CSS Variables
   ---------------------------------------------------- */
:root {
    /* Color Palette - Replay India Inspired Branding */
    --primary: hsl(25, 100%, 56%);          /* Brand Orange (#FF7F21) */
    --primary-light: hsl(25, 100%, 64%);
    --primary-dark: hsl(25, 100%, 46%);
    --primary-glow: hsla(25, 100%, 56%, 0.15);
    
    --secondary: hsl(0, 0%, 7%);            /* Charcoal Black (#121212) */
    --secondary-light: hsl(0, 0%, 15%);
    --secondary-dark: hsl(0, 0%, 0%);
    --secondary-glow: hsla(0, 0%, 7%, 0.2);
    
    --accent-green: hsl(142, 72%, 29%);     /* Open Gym Fitness Accent */
    --accent-green-light: hsl(142, 68%, 45%);
    --accent-green-glow: hsla(142, 72%, 29%, 0.15);

    /* Neutral Colors */
    --bg-main: hsl(25, 20%, 98%);           /* Warm Off-white background */
    --bg-white: hsl(0, 0%, 100%);
    --bg-ice: hsl(25, 15%, 93%);
    --bg-slate: hsl(0, 0%, 15%);
    --bg-dark: hsl(0, 0%, 7%);
    --bg-dark-card: hsl(0, 0%, 11%);
    
    --text-main: hsl(0, 0%, 7%);            /* Replay India charcoal typography */
    --text-muted: hsl(0, 0%, 35%);
    --text-light: hsl(25, 20%, 96%);
    
    --border-color: hsl(25, 10%, 91%);
    --border-color-dark: hsl(0, 0%, 15%);
    
    /* Typography */
    --font-sans: 'Assistant', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 12px -2px rgba(18, 18, 18, 0.06), 0 2px 6px -1px rgba(18, 18, 18, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(18, 18, 18, 0.08), 0 8px 10px -6px rgba(18, 18, 18, 0.06);
    --shadow-xl: 0 20px 40px -15px rgba(18, 18, 18, 0.12);
    --shadow-primary: 0 10px 20px -5px hsla(25, 100%, 56%, 0.25);
    --shadow-secondary: 0 10px 20px -5px hsla(0, 0%, 7%, 0.25);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(12px);
    
    --glass-bg-dark: rgba(18, 18, 18, 0.85);
    --glass-border-dark: rgba(255, 255, 255, 0.08);

    /* Radii & Transitions (Highly Rounded corners matching Replay India) */
    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------
   2. Reset & General Elements
   ---------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

input, textarea, select, button {
    font-family: inherit;
}

/* Typography Presets */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p {
    color: var(--text-muted);
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Spacer */
.section {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}
.section-dark h2, .section-dark h3 {
    color: var(--text-light);
}

/* Section Header styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header .tagline {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 12px;
    display: inline-block;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
}

/* ----------------------------------------------------
   3. Buttons & UI Elements
   ---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -5px hsla(224, 86%, 46%, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -5px hsla(28, 98%, 51%, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-glass {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-color: var(--glass-border);
    color: var(--text-main);
}
.btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-white {
    background-color: white;
    color: var(--primary);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ----------------------------------------------------
   4. Header & Navigation & Top Bar
   ---------------------------------------------------- */
.top-bar {
    background-color: var(--secondary);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 38px;
}

.header-nav.scrolled .top-bar {
    height: 0;
    padding: 0;
    border-bottom: none;
    opacity: 0;
}

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

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info i {
    color: var(--primary);
}

.top-bar-socials {
    display: flex;
    gap: 15px;
}

.top-bar-socials a {
    color: var(--text-light);
    transition: var(--transition-fast);
}

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

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    .top-bar-container {
        justify-content: center;
    }
}

.header-nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 0;
    background-color: var(--bg-white) !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-nav.scrolled {
    background-color: var(--bg-white) !important;
    box-shadow: var(--shadow-md);
}

/* Dark layout navigation when on pages that require solid contrast header */
.header-nav.nav-solid {
    position: sticky;
    background-color: var(--bg-white) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    transition: padding 0.3s ease;
}

.header-nav.scrolled .nav-container {
    padding: 12px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 12px;
    align-items: center;
}

.nav-links a {
    font-size: 13.5px;
    font-weight: 700;
    color: white !important;
    padding: 8px 18px;
    border-radius: 25px;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Individual tab backgrounds matching Replay India color bar style */
.nav-links li:nth-child(1) a { background-color: #4fc3f7; } /* Home - Light Blue */
.nav-links li:nth-child(2) a { background-color: #ab47bc; } /* About - Purple */
.nav-links li:nth-child(3) a { background-color: #ec407a; } /* Products - Pink */
.nav-links li:nth-child(4) a { background-color: #ffd54f; color: #121212 !important; } /* Gallery - Yellow */
.nav-links li:nth-child(5) a { background-color: #ff9800; } /* Blogs - Orange */
.nav-links li:nth-child(6) a { background-color: #26a69a; } /* Contact - Teal */
.nav-links li:nth-child(7) a { 
    background-color: var(--primary) !important;
    color: white !important;
    box-shadow: var(--shadow-primary);
}

.nav-links a:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

.nav-links a.active {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4), 0 4px 8px rgba(0,0,0,0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* Mobile responsive hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 90px 24px 30px 24px !important;
        gap: 16px !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 20px !important;
        box-sizing: border-box !important;
    }
}

/* ----------------------------------------------------
   5. Hero Banner & Slider
   ---------------------------------------------------- */
.hero-slider {
    position: relative;
    height: 65vh;
    min-height: 450px;
    max-height: 600px;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Gradient Overlay */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.2) 100%);
    z-index: 2;
}

/* Video Background */
.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-content {
    position: relative;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    color: white;
}

.hero-text-box {
    max-width: 650px;
}

.hero-text-box h1 {
    color: white;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.hero-text-box p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-normal);
}

.dot.active {
    background-color: var(--secondary);
    width: 32px;
    border-radius: 6px;
}

/* ----------------------------------------------------
   6. Statistics Counter Section
   ---------------------------------------------------- */
.stats-bar {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 30px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 30;
    margin-top: -60px;
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--border-color);
}

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

.stat-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-num span {
    color: var(--secondary);
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -30px;
        padding: 20px;
        gap: 20px;
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
}

/* ----------------------------------------------------
   7. Category Grid Cards
   ---------------------------------------------------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-category {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.cat-img-box {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: var(--bg-ice);
}

.cat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.card-category:hover .cat-img-box img {
    transform: scale(1.08);
}

.cat-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cat-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
    transition: var(--transition-fast);
}

.card-category:hover .cat-content h3 {
    color: var(--primary);
}

.cat-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.cat-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-link span {
    transition: var(--transition-fast);
}

.card-category:hover .cat-link span {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------
   8. Product Showcase Grid
   ---------------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card-product {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-product:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-light);
}

.prod-img-box {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-ice);
}

.prod-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.card-product:hover .prod-img-box img {
    transform: scale(1.06);
}

.prod-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.prod-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prod-model {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.prod-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.prod-content p {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.4;
    flex-grow: 1;
}

.prod-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.prod-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.prod-more:hover {
    color: var(--primary);
}

.prod-quote-btn {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.prod-quote-btn:hover {
    color: var(--primary-light);
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------
   9. About Us Teaser Section
   ---------------------------------------------------- */
.about-teaser {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.about-teaser-content h2 {
    margin-bottom: 24px;
}

.about-teaser-content p {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.about-teaser-video {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 380px;
    background-color: var(--bg-slate);
}

.about-teaser-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .about-teaser {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-teaser-video {
        height: 300px;
    }
}

/* ----------------------------------------------------
   10. Why Choose Us Grid
   ---------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background-color: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.why-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-glow);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px auto;
}

.why-card:nth-child(even) .why-icon {
    background-color: var(--secondary-glow);
    color: var(--secondary);
}

.why-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------
   11. Masonry Photo Gallery (Filterable)
   ---------------------------------------------------- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.gallery-item-title {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    border-top: 1px solid var(--border-color);
    background-color: white;
}

@media (max-width: 900px) {
    .gallery-grid {
        column-count: 2;
    }
}
@media (max-width: 500px) {
    .gallery-grid {
        column-count: 1;
    }
}

/* ----------------------------------------------------
   12. Custom Lightbox styling
   ---------------------------------------------------- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-title {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

@media (max-width: 768px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-prev, .lightbox-next { font-size: 35px; }
}

/* ----------------------------------------------------
   13. Blog Grid & Article Styling
   ---------------------------------------------------- */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-blog {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-blog:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-img-box {
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-ice);
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.card-blog:hover .blog-img-box img {
    transform: scale(1.06);
}

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 16px;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.card-blog:hover .blog-content h3 {
    color: var(--primary);
}

.blog-content p {
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

@media (max-width: 900px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .blogs-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------
   14. Call to Action Banner
   ---------------------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* ----------------------------------------------------
   15. Contact Layout & Forms
   ---------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-info-panel {
    background-color: var(--primary-dark);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-info-panel h2 {
    color: white;
    margin-bottom: 24px;
}

.contact-info-panel p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    font-size: 20px;
    color: var(--secondary);
}

.contact-detail-text h4 {
    color: white;
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-detail-text p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.form-box {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-box h3 {
    margin-bottom: 24px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-main);
    border-radius: var(--radius-md);
    font-size: 15px;
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-light);
    background-color: white;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

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

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .input-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ----------------------------------------------------
   16. Modals (Request Quote popup)
   ---------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
}

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

.modal-container {
    background-color: white;
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background-color: var(--primary);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: white;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.modal-body {
    padding: 24px;
}

/* ----------------------------------------------------
   17. Footer styling
   ---------------------------------------------------- */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 20px 0;
    border-top: 1px solid var(--border-color-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 24px;
    font-size: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-col p {
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-logo {
    color: white;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary-light);
    opacity: 1;
    padding-left: 4px;
}

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

.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--bg-dark-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-fast);
    border: 1px solid var(--border-color-dark);
}

.social-icon:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color-dark);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-light);
    opacity: 0.7;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ----------------------------------------------------
   18. Product Details & About US layouts
   ---------------------------------------------------- */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image-box {
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-ice);
    border: 1px solid var(--border-color);
}

.main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-images {
    display: flex;
    gap: 12px;
    overflow-x: auto;
}

.thumb-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background-color: var(--bg-ice);
    transition: var(--transition-fast);
}

.thumb-image.active {
    border-color: var(--primary);
}

.thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.product-meta-row {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.product-meta-row span strong {
    color: var(--text-main);
}

.product-info .price-tag {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.product-description {
    font-size: 15px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.product-features-box {
    margin-bottom: 30px;
}

.product-features-box h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.product-features-list {
    list-style: none;
}

.product-features-list li {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 700;
}

/* Specifications Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.spec-table th,
.spec-table td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.spec-table th {
    background-color: var(--bg-ice);
    font-weight: 700;
    width: 35%;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------
   19. Blog Details Page
   ---------------------------------------------------- */
.blog-detail-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
}

.blog-post-body {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.blog-post-body img.featured {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.blog-post-body h1 {
    font-size: 30px;
    margin-bottom: 16px;
}

.blog-post-text {
    font-size: 16px;
    color: var(--text-main);
}

.blog-post-text h2 {
    font-size: 22px;
    margin: 30px 0 16px 0;
}

.blog-post-text h3 {
    font-size: 18px;
    margin: 24px 0 12px 0;
}

.blog-post-text p {
    margin-bottom: 20px;
    color: var(--text-main);
    opacity: 0.95;
    line-height: 1.7;
}

.blog-post-text ul,
.blog-post-text ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.blog-post-text li {
    margin-bottom: 8px;
}

.blog-post-text blockquote {
    border-left: 4px solid var(--secondary);
    padding: 10px 20px;
    background-color: var(--bg-main);
    font-style: italic;
    margin-bottom: 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
    padding-left: 10px;
}

.recent-post-list {
    list-style: none;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.recent-post-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h4 {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.recent-post-info span {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------
   20. Utility & Search Panels
   ---------------------------------------------------- */
.search-filter-panel {
    background-color: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    position: relative;
    min-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-main);
    border-radius: var(--radius-full);
    font-size: 14px;
    outline: none;
}

.search-box::before {
    content: '🔍';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.5;
}

.search-box input:focus {
    background-color: white;
    border-color: var(--primary-light);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
}

.sidebar-filters {
    background-color: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.sidebar-filters h3 {
    font-size: 16px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.filter-links-list {
    list-style: none;
}

.filter-links-list li {
    margin-bottom: 10px;
}

.filter-links-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
}

.filter-links-list a:hover,
.filter-links-list a.active {
    background-color: var(--primary-glow);
    color: var(--primary);
}

.filter-count {
    background-color: var(--bg-ice);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

@media (max-width: 768px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------
   21. Advanced Interactive Animations & Micro-effects
   ---------------------------------------------------- */

/* Floating badge/action micro-animation */
@keyframes microFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.whatsapp-floating {
    animation: microFloat 3s ease-in-out infinite;
}

/* Button pulsing glow effect */
@keyframes buttonPulse {
    0% { box-shadow: 0 0 0 0 hsla(28, 98%, 51%, 0.4); }
    70% { box-shadow: 0 0 0 12px hsla(28, 98%, 51%, 0); }
    100% { box-shadow: 0 0 0 0 hsla(28, 98%, 51%, 0); }
}

.btn-secondary {
    position: relative;
    z-index: 1;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: var(--radius-full);
    z-index: -1;
    animation: buttonPulse 2.5s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    border: 2px solid var(--secondary);
}

/* Premium Card Border Reveal & Soft Glow */
.card-product, .card-category, .why-card, .card-blog {
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card-product:hover, .card-category:hover, .why-card:hover, .card-blog:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--primary-light) !important;
    box-shadow: 0 20px 35px -10px var(--primary-glow), 
                0 10px 20px -15px rgba(0, 0, 0, 0.08),
                0 0 0 1px var(--primary-glow) !important;
}

/* Specific accent border glow for Open Gym card and secondary theme */
.card-product:nth-child(even):hover {
    border-color: var(--secondary-light) !important;
    box-shadow: 0 20px 35px -10px var(--secondary-glow), 
                0 10px 20px -15px rgba(0, 0, 0, 0.08),
                0 0 0 1px var(--secondary-glow) !important;
}

/* Image shine sweep effect on card hover */
.prod-img-box::after, .cat-img-box::after, .blog-img-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(-25deg);
    transition: 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    z-index: 2;
}

.card-product:hover .prod-img-box::after,
.card-category:hover .cat-img-box::after,
.card-blog:hover .blog-img-box::after {
    left: 125%;
    opacity: 1;
}

/* Slide-in reveal keyframe on page load */
@keyframes loadRevealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-bar {
    animation: loadRevealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stats counter numbers glow hover */
.stat-num {
    transition: var(--transition-normal);
}
.stat-num:hover {
    text-shadow: 0 0 15px rgba(30, 58, 138, 0.3);
    transform: scale(1.08);
}

/* Custom styles for Quill WYSIWYG HTML outputs in blog-details */
.blog-post-text p {
    margin-bottom: 20px !important;
    font-size: 15.5px !important;
    line-height: 1.8 !important;
    color: var(--text-main) !important;
    opacity: 0.9 !important;
}
.blog-post-text ul, .blog-post-text ol {
    margin-left: 24px !important;
    margin-bottom: 20px !important;
    padding-left: 0 !important;
}
.blog-post-text li {
    margin-bottom: 8px !important;
    font-size: 15px !important;
}
.blog-post-text h1, .blog-post-text h2, .blog-post-text h3, .blog-post-text h4 {
    margin-top: 30px !important;
    margin-bottom: 14px !important;
    color: var(--text-main) !important;
    font-weight: 700 !important;
}
.blog-post-text h2 { font-size: 22px !important; }
.blog-post-text h3 { font-size: 18px !important; }
.blog-post-text blockquote {
    border-left: 4px solid var(--secondary) !important;
    padding: 12px 24px !important;
    background-color: var(--bg-main) !important;
    font-style: italic !important;
    margin: 24px 0 !important;
    border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
}
.blog-post-text img {
    border-radius: var(--radius-md) !important;
    margin: 20px 0 !important;
    box-shadow: var(--shadow-md) !important;
}

/* Playful Kids Theme Additions (Replay India inspired) */

/* Cloud Waves */
.cloud-wave-top {
    height: 60px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'><path d='M0,60 C90,20 150,20 240,60 C330,20 390,20 480,60 C570,20 630,20 720,60 C810,20 870,20 960,60 C1050,20 1110,20 1200,60 C1290,20 1350,20 1440,60 L1440,100 L0,100 Z' fill='%23ffffff'/></svg>");
    background-size: 100% 60px;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    z-index: 5;
}

.cloud-wave-blue {
    height: 60px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'><path d='M0,60 C90,20 150,20 240,60 C330,20 390,20 480,60 C570,20 630,20 720,60 C810,20 870,20 960,60 C1050,20 1110,20 1200,60 C1290,20 1350,20 1440,60 L1440,100 L0,100 Z' fill='%232a5bc6'/></svg>");
    background-size: 100% 60px;
    background-repeat: no-repeat;
    margin-bottom: -1px;
    width: 100%;
    position: relative;
    z-index: 5;
}

.cloud-wave-pink {
    height: 60px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'><path d='M0,60 C90,20 150,20 240,60 C330,20 390,20 480,60 C570,20 630,20 720,60 C810,20 870,20 960,60 C1050,20 1110,20 1200,60 C1290,20 1350,20 1440,60 L1440,100 L0,100 Z' fill='%23e91e63'/></svg>");
    background-size: 100% 60px;
    background-repeat: no-repeat;
    margin-bottom: -1px;
    width: 100%;
    position: relative;
    z-index: 5;
}

/* Playful Titles */
.playful-title {
    font-size: clamp(2rem, 5vw, 3rem) !important;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.playful-title span {
    display: inline-block;
    transition: transform 0.3s ease;
}
.playful-title:hover span {
    transform: translateY(-5px) rotate(2deg);
}

.color-blue { color: #1e3a8a; }
.color-lightblue { color: #0284c7; }
.color-pink { color: #ec407a; }
.color-orange { color: #ff9800; }
.color-teal { color: #0d9488; }
.color-purple { color: #ab47bc; }
.color-yellow { color: #f59e0b; }

/* Arched Cards */
.age-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}
@media (max-width: 900px) {
    .age-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .age-grid {
        grid-template-columns: 1fr;
    }
}

.age-card {
    background-color: var(--bg-white);
    border-radius: 150px 150px 30px 30px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.age-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.age-img-box {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: 150px 150px 0 0;
}

.age-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.age-card:hover .age-img-box img {
    transform: scale(1.06);
}

.age-content {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.age-content h3 {
    font-size: 19px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.age-link {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    transition: var(--transition-fast);
}

.age-link:hover {
    color: var(--primary-dark);
}

/* Spinner Story Container */
.story-img-circle {
    width: 320px;
    height: 320px;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 12px solid #ffd54f !important;
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
    position: relative;
}
.story-img-circle img, .story-img-circle video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* Happy Clients section */
.clients-section {
    background-color: #2a5bc6;
    padding: 50px 0 70px 0;
    color: white;
}

.clients-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.clients-text h2 {
    color: white !important;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.clients-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.clients-logos {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.client-logo-card {
    background-color: white;
    padding: 12px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    min-width: 120px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Newsletter section */
.newsletter-section {
    background-color: #e91e63;
    padding: 60px 0 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section h2 {
    color: white !important;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
}
@media (max-width: 500px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.newsletter-input {
    flex-grow: 1;
    padding: 14px 22px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 15px;
    color: var(--text-main);
}

.newsletter-btn {
    background-color: #ffd54f;
    color: #121212;
    font-weight: 800;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition-normal);
}

.newsletter-btn:hover {
    background-color: #ffca28;
    transform: scale(1.05);
}

/* Sun & Stars */
.hero-sun {
    position: absolute;
    top: 60px;
    right: 8%;
    font-size: 50px;
    color: #ffd54f;
    animation: spinSlow 20s linear infinite;
    z-index: 1;
}

.hero-stars {
    position: absolute;
    top: 80px;
    left: 8%;
    font-size: 40px;
    color: #ffd54f;
    animation: pulseSlow 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes spinSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseSlow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Category grid adjustments */
.card-category {
    border-radius: 30px !important;
}

/* Blog grid adjustments */
.card-blog {
    border-radius: 30px !important;
}
