/*
Theme Name: Kidzee Mathura Custom
Theme URI: https://kidzeemathura.com/
Author: Do Digitals
Author URI: https://dodigitals.org/
Description: High-performance custom WordPress theme developed for Kidzee Mathura by Do Digitals.
Version: 1.0.0
Text Domain: kidzeemathura
Tags: custom-theme, education, do-digitals
*/

/* ==========================================================================
   CSS Variables (Colors & Fonts)
   ========================================================================== */
:root {
    --primary-purple: #662D91;
    --secondary-yellow: #FFF200;
    --text-dark: #333333;
    --text-white: #FFFFFF;
    
    --font-heading: 'Fredoka One', cursive;
    --font-body: 'Montserrat', sans-serif;
}

/* Basic Reset & Setup */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--text-white);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-purple);
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
.site-header {
    background-color: var(--text-white);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(102, 45, 145, 0.08); /* Purple tint shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--secondary-yellow); /* Playful border */
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo .custom-logo {
    max-width: 220px;
    height: auto;
    display: block;
}

.text-logo {
    text-decoration: none;
    color: var(--primary-purple);
    font-family: var(--font-heading);
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.main-navigation a:hover {
    color: var(--primary-purple);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-yellow);
    transition: all 0.3s ease;
    border-radius: 5px;
}

.main-navigation a:hover::after {
    width: 100%;
    left: 0;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-yellow);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

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

.btn-secondary {
    background-color: var(--primary-purple);
    color: var(--text-white);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary-purple);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-purple);
    cursor: pointer;
}

/* ==========================================================================
   Advanced Hero Section & Slider Styles
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 100px 20px 150px;
    background: linear-gradient(135deg, #f8f0ff 0%, #fffee6 100%);
    overflow: hidden;
}

/* MAIN FIX: SIDE BY SIDE LAYOUT */
.hero-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

/* Left Side Banner Text */
.hero-content {
    flex: 1;
    padding-right: 50px;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    background-color: var(--secondary-yellow);
    color: var(--primary-purple);
    font-family: var(--font-heading);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 242, 0, 0.4);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--primary-purple);
    text-shadow: 2px 2px 0px rgba(255, 242, 0, 0.5);
    position: relative;
}

.hero-content h1::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: var(--secondary-yellow);
    border-radius: 50%;
    z-index: -1;
    top: -20px;
    left: -30px;
    opacity: 0.3;
}

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 242, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 242, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 242, 0, 0); }
}

/* --- Custom Slider Styles (Right Side) --- */
.hero-slider-wrapper {
    flex: 1;
    position: relative;
    max-width: 550px;
    margin: 0 auto;
    z-index: 5;
}

.custom-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/4;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
    box-shadow: 15px 15px 0px var(--secondary-yellow);
    border: 8px solid var(--primary-purple);
    transition: border-radius 0.5s ease;
    animation: blobMorph 8s ease-in-out infinite;
}

@keyframes blobMorph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-yellow);
    color: var(--primary-purple);
    border: 3px solid var(--primary-purple);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--primary-purple);
    color: var(--secondary-yellow);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: -25px; }
.next-btn { right: -25px; }

/* --- Wavy Bottom Divider --- */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: #FFFFFF;
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-slider-wrapper {
        margin-top: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-cta {
        display: none;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        background-color: var(--text-white);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h1::before { 
        left: 50%; 
        transform: translateX(-50%); 
    }

    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
}

/* ==========================================================================
   Global Section Utility Classes
   ========================================================================== */
.section-padding {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.bg-light-purple { background-color: rgba(102, 45, 145, 0.03); }

.section-subtitle {
    display: inline-block;
    color: var(--primary-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 14px;
    background-color: var(--secondary-yellow);
    padding: 5px 15px;
    border-radius: 20px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* ==========================================================================
   Premium About Section (Blob Image & 3D Elements)
   ========================================================================== */
.about-premium-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* --- Left Area (Image & Animations) --- */
.about-image-wrapper {
    flex: 1;
    position: relative;
    padding: 20px;
}

/* The Magic Image Blob Mask */
.blob-image-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    z-index: 2;
}

.about-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This creates the organic shape instead of a square */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blobMorph 8s ease-in-out infinite alternate;
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.5); /* Inner border */
    position: relative;
    z-index: 2;
}

/* Background Yellow/Purple Blob Shadow */
.blob-bg-shape {
    position: absolute;
    top: 15px;
    left: -15px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-yellow) 0%, #ffdb00 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    animation: blobMorph 10s ease-in-out infinite alternate-reverse;
}

/* Organic Morphing Animation */
@keyframes blobMorph {
    0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 50% 50% 30% 70% / 40% 40% 60% 60%; }
}

/* The Floating Badge */
.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 0px;
    background-color: var(--primary-purple);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 6px solid #fff;
    box-shadow: 0 10px 25px rgba(102, 45, 145, 0.3);
    z-index: 5;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-num {
    color: var(--secondary-yellow);
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.badge-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.bounce-anim {
    animation: slightBounce 3s ease-in-out infinite alternate;
}

@keyframes slightBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* Decorative SVG */
.about-deco-star {
    position: absolute;
    top: 20px;
    left: 10px;
    z-index: 5;
    opacity: 0.8;
}

.float-anim {
    animation: floatSpin 6s linear infinite;
}

@keyframes floatSpin {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* --- Right Area (Content) --- */
.about-content-premium {
    flex: 1.2;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.6;
}

.normal-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Premium Tick List */
.about-tick-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.about-tick-list li {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tick-icon {
    width: 30px;
    height: 30px;
    background-color: var(--secondary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(255, 242, 0, 0.4);
}

.tick-icon svg {
    /* Fill color is set in inline SVG, making it white */
    width: 18px;
    height: 18px;
}

/* Playful 3D Button */
.btn-3d-playful {
    padding: 15px 35px;
    font-size: 1.15rem;
    border: 3px solid var(--primary-purple);
    box-shadow: 6px 6px 0px var(--secondary-yellow);
    transition: all 0.2s;
    display: inline-block;
}

.btn-3d-playful:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0px var(--secondary-yellow);
    background-color: var(--text-white);
    color: var(--primary-purple);
}

/* ==========================================================================
   Responsive About Section
   ========================================================================== */
@media (max-width: 992px) {
    .about-premium-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .about-tick-list li {
        justify-content: center; /* Center list on tablet/mobile */
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
        right: 10%;
    }
    
    .badge-num { font-size: 1.5rem; }
    .badge-text { font-size: 0.8rem; }
}

@media (max-width: 576px) {
    .experience-badge {
        right: 0;
        bottom: 10px;
        width: 100px;
        height: 100px;
        border-width: 4px;
    }
    
    .badge-num { font-size: 1.2rem; }
    .badge-text { font-size: 0.7rem; }
    
    .lead-text { font-size: 1.1rem; }
}
/* ==========================================================================
   Premium Why Choose Us (Staggered Grid)
   ========================================================================== */
.wcu-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 40px 30px; /* High vertical gap for floating icons */
    margin-top: 50px;
    padding: 20px 10px 50px; /* Padding to fit shadows and stagger */
}

/* The Premium Card Base */
.wcu-card {
    border-radius: 20px;
    padding: 45px 25px 30px; /* Extra top padding for the floating icon */
    text-align: center;
    position: relative;
    border: 3px solid var(--primary-purple);
    box-shadow: 6px 6px 0px rgba(102, 45, 145, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* --- The Staggered "Zig-Zag" Layout --- */
/* Pushes the middle cards (2nd and 5th) down to create a wave/stagger pattern */
.wcu-card:nth-child(2),
.wcu-card:nth-child(5) {
    transform: translateY(30px);
}

/* Color Themes */
.bg-white-card { background-color: #fff; }
.bg-purple-card { background-color: #f7f0fc; border-color: #d1b3eb; }
.bg-yellow-card { background-color: #fffde6; border-color: #e6ce00; }

/* The Floating SVG Icon */
.wcu-icon-float {
    width: 75px;
    height: 75px;
    background-color: var(--text-white);
    border: 3px solid var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -35px; /* Pops exactly half out of the top border */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Custom icon bg colors to match cards */
.bg-purple-card .wcu-icon-float { background-color: var(--primary-purple); border-color: #fff; }
.bg-yellow-card .wcu-icon-float { background-color: var(--secondary-yellow); }

.wcu-card h3 {
    color: var(--primary-purple);
    font-size: 1.35rem;
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.wcu-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Magical Hover Effects --- */
.wcu-card:hover {
    transform: translateY(-10px) !important; /* Forces up even if it was staggered down */
    box-shadow: 12px 12px 0px var(--secondary-yellow);
    z-index: 5;
    background-color: #fff;
    border-color: var(--primary-purple);
}

.wcu-card:hover .wcu-icon-float {
    transform: translateX(-50%) translateY(-10px) scale(1.1); /* Jumps up further */
}

/* ==========================================================================
   Responsive WCU Grid
   ========================================================================== */
@media (max-width: 992px) {
    .wcu-premium-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }
    
    /* Remove 3-column stagger, add 2-column stagger (even cards pushed down) */
    .wcu-card:nth-child(2),
    .wcu-card:nth-child(5) { transform: translateY(0); }
    
    .wcu-card:nth-child(even) { transform: translateY(25px); }
}

@media (max-width: 768px) {
    .wcu-premium-grid {
        grid-template-columns: 1fr; /* 1 column for mobile */
        gap: 50px;
        padding: 20px 10px;
    }
    
    /* Remove all stagger for mobile */
    .wcu-card:nth-child(even),
    .wcu-card:nth-child(odd) { transform: translateY(0); }
    
    .wcu-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 6px 6px 0px var(--secondary-yellow);
    }
}
/* ==========================================================================
   Premium Programs Grid (3D Folders)
   ========================================================================== */
.programs-premium-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 Grid for Desktop */
    gap: 50px;
    margin-top: 60px;
    padding: 15px; /* So shadows don't get cut off */
}

/* The Main Card Container */
.program-card-3d {
    background-color: var(--text-white);
    border: 4px solid var(--primary-purple);
    border-radius: 25px;
    padding: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* Alternate Solid Shadows */
.card-yellow-shadow {
    box-shadow: 12px 12px 0px var(--secondary-yellow);
}
.card-purple-shadow {
    box-shadow: 12px 12px 0px rgba(102, 45, 145, 0.2);
}

/* Pop-out Hover Effect */
.program-card-3d:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 5;
}

.card-yellow-shadow:hover { box-shadow: 18px 18px 0px var(--secondary-yellow); }
.card-purple-shadow:hover { box-shadow: 18px 18px 0px rgba(102, 45, 145, 0.3); }

/* The Floating Age Badge */
.age-badge-float {
    position: absolute;
    top: -22px;
    right: 30px;
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    border: 3px solid var(--primary-purple);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.age-badge-float.bg-yellow {
    background-color: var(--secondary-yellow);
    color: var(--primary-purple);
}

.age-badge-float.bg-purple {
    background-color: var(--primary-purple);
    color: var(--secondary-yellow);
}

/* Header Flex (Icon + Title) */
.prog-header-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.prog-icon {
    width: 65px;
    height: 65px;
    background-color: #f7f0fc;
    border: 2px dashed var(--primary-purple);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    transition: transform 0.3s ease;
}

.program-card-3d:hover .prog-icon {
    transform: rotate(-10deg) scale(1.1);
    background-color: var(--secondary-yellow);
}

.prog-header-flex h3 {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--primary-purple);
    margin: 0;
}

.prog-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px dashed #eee;
}

/* Focus Areas Area */
.prog-focus h4 {
    color: var(--primary-purple);
    font-size: 1.15rem;
    margin-bottom: 15px;
}

/* Custom Star Bullet Points */
.star-list-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Puts bullets in 2 columns */
    gap: 12px;
}

.star-list-container ul li {
    font-size: 1rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.star-list-container ul li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    /* Golden Star SVG embedded as bullet */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%23FFF200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23662D91' stroke-width='2' d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
    background-size: cover;
}

/* ==========================================================================
   Responsive Programs Grid
   ========================================================================== */
@media (max-width: 992px) {
    .programs-premium-grid {
        grid-template-columns: 1fr; /* 1 column on tablets and mobile */
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .star-list-container ul {
        grid-template-columns: 1fr; /* 1 column for bullets on very small screens */
    }
    
    .prog-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .age-badge-float {
        right: 20px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Learning Flashcards (Methodology)
   ========================================================================== */
.methodology-flashcard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
    padding: 10px;
}

/* The Flashcard Design */
.learning-flashcard {
    border: 3px solid var(--primary-purple);
    border-radius: 20px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Very bouncy transition */
    box-shadow: 6px 6px 0px rgba(102, 45, 145, 0.1);
    position: relative;
    z-index: 1;
}

/* Color Themes for Flashcards */
.learning-flashcard.card-white {
    background-color: var(--text-white);
}

.learning-flashcard.card-yellow {
    background-color: #fffde6;
    border-color: #e6ce00;
}

.learning-flashcard.card-purple {
    background-color: #f7f0fc;
    border-color: #d1b3eb;
}

/* SVG Icon Circle Wrapper */
.icon-bubble {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-purple);
    border: 2px dashed var(--secondary-yellow);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.learning-flashcard.card-purple .icon-bubble {
    color: var(--secondary-yellow);
    background-color: var(--primary-purple);
    border-color: #fff;
}

.learning-flashcard h4 {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--primary-purple);
    margin-bottom: 12px;
}

.learning-flashcard p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* --- The Tilt Hover Effect --- */
.learning-flashcard:hover {
    transform: translateY(-10px) rotate(3deg); /* Lifts up and tilts slightly */
    box-shadow: 12px 12px 0px var(--secondary-yellow); /* Heavy playful shadow */
    z-index: 5; /* Brings hovered card to front */
}

/* Alternate tilt for variety */
.learning-flashcard:nth-child(even):hover {
    transform: translateY(-10px) rotate(-3deg);
    box-shadow: -12px 12px 0px var(--secondary-yellow);
}

.learning-flashcard:hover .icon-bubble {
    transform: scale(1.1);
}

/* ==========================================================================
   Responsive Flashcard Grid
   ========================================================================== */
@media (max-width: 992px) {
    .methodology-flashcard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .methodology-flashcard-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 5px;
    }
    
    .learning-flashcard:hover {
        transform: translateY(-5px) rotate(1deg); /* Less tilt on mobile */
        box-shadow: 6px 6px 0px var(--secondary-yellow);
    }
    
    .learning-flashcard:nth-child(even):hover {
        transform: translateY(-5px) rotate(-1deg);
        box-shadow: -6px 6px 0px var(--secondary-yellow);
    }
}
/* ==========================================================================
   Premium Facilities Grid (Neobrutalism 3D Offset Style)
   ========================================================================== */
.facilities-premium-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding: 10px; /* Space for shadow */
}

/* The 3D Offset Card */
.fac-card-3d {
    background: var(--text-white);
    border: 3px solid var(--primary-purple);
    border-radius: 20px;
    padding: 35px 20px;
    transition: all 0.2s ease-out; /* Fast transition for tactile feel */
    box-shadow: 8px 8px 0px var(--secondary-yellow); /* Solid Pop-out shadow */
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The Tactile Button Press Effect */
.fac-card-3d:hover {
    transform: translate(5px, 5px); /* Moves down and right */
    box-shadow: 3px 3px 0px var(--secondary-yellow); /* Shadow shrinks */
    background-color: #fdfaf5;
}

/* SVG Icon Background Wrappers */
.fac-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.fac-card-3d:hover .fac-icon-wrapper {
    transform: scale(1.15) rotate(-5deg); /* Playful icon bounce */
}

.bg-purple-light {
    background-color: #e6dbf5;
}

.bg-yellow-light {
    background-color: #fffde6;
}

.fac-card-3d h4 {
    color: var(--primary-purple);
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.fac-card-3d p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Responsive Facilities Grid
   ========================================================================== */
@media (max-width: 992px) {
    .facilities-premium-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .facilities-premium-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 5px;
    }
    
    /* Adjust hover effect for mobile */
    .fac-card-3d:hover {
        transform: translate(3px, 3px);
        box-shadow: 5px 5px 0px var(--secondary-yellow);
    }
}

/* ==========================================================================
   Magic Blobs (Organic Floating Shapes)
   ========================================================================== */
.blob-activities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Base Blob Styling */
.magic-blob {
    aspect-ratio: 1 / 1; /* Makes them perfectly square/round */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    
    /* THE MAGIC: Organic border radius that creates a soft, irregular shape */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    
    /* Continuous morphing animation */
    animation: jellyMorph 8s ease-in-out infinite alternate;
}

/* Inner content alignment */
.blob-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.blob-inner h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.3;
}

/* --- Blob Colors & Shadows --- */
.blob-purple h4{
	color: var(--secondary-yellow);
}
.blob-purple {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #8738bd 100%);
    color: var(--secondary-yellow);
    box-shadow: 0 15px 35px rgba(102, 45, 145, 0.25);
}

.blob-yellow {
    background: linear-gradient(135deg, var(--secondary-yellow) 0%, #ffe400 100%);
    color: var(--primary-purple);
    box-shadow: 0 15px 35px rgba(255, 242, 0, 0.3);
}

.blob-white {
    background: #fff;
    color: var(--primary-purple);
    border: 3px dashed var(--primary-purple);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* --- Hover Effect (Blobs pop up and round out) --- */
.magic-blob:hover {
    transform: translateY(-15px) scale(1.05);
    border-radius: 50% !important; /* Turns into a perfect circle on hover */
    animation-play-state: paused; /* Stops morphing when hovered */
}

/* Increase shadow on hover */
.blob-purple:hover { box-shadow: 0 25px 45px rgba(102, 45, 145, 0.4); }
.blob-yellow:hover { box-shadow: 0 25px 45px rgba(255, 242, 0, 0.5); }
.blob-white:hover { box-shadow: 0 25px 45px rgba(102, 45, 145, 0.15); border-style: solid; }

/* --- Continuous Morphing Animation --- */
@keyframes jellyMorph {
    0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translateY(0); }
    33%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translateY(-5px); }
    66%  { border-radius: 50% 50% 30% 70% / 40% 40% 60% 60%; transform: translateY(5px); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translateY(0); }
}

/* Out of sync animations so they look natural like water/bubbles */
.delay-1 { animation-delay: 0s; }
.delay-2 { animation-delay: -2s; }
.delay-3 { animation-delay: -4s; }
.delay-4 { animation-delay: -6s; }

/* ==========================================================================
   Responsive Blob Grid
   ========================================================================== */
@media (max-width: 992px) {
    .blob-activities-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .blob-activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }
    
    .blob-inner svg {
        width: 35px;
        height: 35px;
    }
    
    .blob-inner h4 {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Premium Admission Timeline (With Custom SVGs)
   ========================================================================== */
.admission-section {
    background-color: #fff; /* Clean base color */
    position: relative;
    overflow: hidden;
}

.process-path-wrapper {
    position: relative;
    margin-top: 70px;
    padding-bottom: 30px;
}

/* Moving Dashed Line */
.process-path-wrapper::before {
    content: '';
    position: absolute;
    top: 90px; /* Adjusted down for new card layout */
    left: 5%;
    width: 90%;
    height: 6px;
    background-image: linear-gradient(to right, var(--secondary-yellow) 50%, transparent 50%);
    background-size: 25px 100%;
    z-index: 1;
    border-radius: 10px;
    animation: pathMove 1.5s linear infinite reverse;
}

@keyframes pathMove {
    0% { background-position: 50px 0; }
    100% { background-position: 0px 0; }
}

.process-steps-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    position: relative;
    z-index: 2;
}

/* Premium Card Design */
.step-card-premium {
    background: #fff;
    border: 3px solid #eee;
    border-radius: 25px;
    padding: 40px 20px 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    margin-top: 20px;
}

/* Staggered Zig-Zag */
.step-card-premium:nth-child(even) {
    transform: translateY(40px);
}

/* 3D Glow & Pop-out Hover Effect */
.step-card-premium:hover {
    transform: translateY(-10px) scale(1.05) !important;
    border-color: var(--primary-purple);
    box-shadow: 0 15px 35px rgba(102, 45, 145, 0.15);
    background-color: #fff;
}

/* The Bouncing Number Badge */
.step-number-bounce {
    width: 50px;
    height: 50px;
    background: var(--primary-purple);
    color: var(--secondary-yellow);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(102, 45, 145, 0.2);
    animation: stepBounce 2.5s infinite alternate ease-in-out;
    z-index: 5;
}

.step-card-premium:nth-child(even) .step-number-bounce {
    background: var(--secondary-yellow);
    color: var(--primary-purple);
    animation-delay: 1.2s;
}

@keyframes stepBounce {
    0% { top: -25px; }
    100% { top: -35px; }
}

/* --- SVG Icon Wrapper Styling --- */
.icon-circle {
    width: 85px;
    height: 85px;
    background: #fdfaf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    border: 2px dashed var(--secondary-yellow);
}

.step-card-premium:hover .icon-circle {
    background: #f5f0fa;
    transform: rotate(10deg) scale(1.1);
    border-style: solid;
    border-color: var(--primary-purple);
}

.step-card-premium h4 {
    color: var(--primary-purple);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.step-card-premium p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .process-steps-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    .process-path-wrapper::before { display: none; }
    
    .step-card-premium:nth-child(even) { transform: translateY(0); }
}

@media (max-width: 768px) {
    .process-steps-premium { grid-template-columns: 1fr; gap: 40px; }
    .step-card-premium:hover { transform: translateY(-5px) scale(1.02) !important; }
}
/* ==========================================================================
   Playful Testimonials Section
   ========================================================================== */
.testimonials-section {
    position: relative;
    background-color: #fcf9ff;
    overflow: hidden;
}

/* Playful Polka Dot Background */
.testi-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--secondary-yellow) 10%, transparent 10%);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 5;
}

.playful-slider-container {
    max-width: 850px;
    margin: 40px auto 0;
    overflow: hidden;
    padding: 20px 0;
}

.testi-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); /* Playful bouncy slide */
    will-change: transform;
}

.testi-slide {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.testi-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- The Speech Bubble --- */
.speech-bubble {
    background-color: var(--text-white);
    border: 4px solid var(--primary-purple);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    box-shadow: 12px 12px 0px var(--secondary-yellow); /* Solid Pop-out shadow */
    margin-bottom: 30px;
}

/* The Bubble Pointer (Triangle pointing down) */
.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: var(--primary-purple) transparent transparent transparent;
    display: block;
    width: 0;
}

/* Inner white triangle for the pointer */
.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    display: block;
    width: 0;
    z-index: 1;
}

.quote-mark {
    font-size: 70px;
    color: var(--secondary-yellow);
    line-height: 0;
    position: absolute;
    top: 40px;
    left: 20px;
    font-family: serif;
    opacity: 0.5;
}

.speech-bubble p {
    font-size: 1.25rem;
    font-family: var(--font-heading); /* Fun font for reviews */
    color: var(--primary-purple);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* --- Parent Info Area --- */
.parent-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.parent-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    border: 3px solid var(--primary-purple);
    box-shadow: 4px 4px 0px rgba(102, 45, 145, 0.2);
    background-color: #fff;
    z-index: 5;
}

.color-purple { background-color: #e6dbf5; }
.color-yellow { background-color: #fffde6; }
.color-white { background-color: #f0f0f0; }

.p-details h4 {
    margin: 5px 0 0 0;
    font-size: 1.3rem;
    color: var(--primary-purple);
}

.p-details span {
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
}

/* --- Controls --- */
.playful-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.play-btn {
    background-color: var(--secondary-yellow);
    border: 3px solid var(--primary-purple);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--primary-purple); /* Playful solid shadow */
    transition: all 0.1s;
}

.play-btn:active {
    transform: translate(4px, 4px); /* Button presses down */
    box-shadow: 0px 0px 0px var(--primary-purple);
}

.play-dots {
    display: flex;
    gap: 12px;
}

.play-dots .dot {
    width: 14px;
    height: 14px;
    background-color: #ddd;
    border: 2px solid #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.play-dots .dot.active {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: scale(1.4);
}
/* Container ko bada kiya taaki 2 slides fit aayein */
.playful-slider-container {
    max-width: 1100px; /* 850px se bada kar diya */
    margin: 40px auto 0;
    overflow: hidden;
    padding: 20px 0;
}

/* 2 Slides on Desktop (50% width) */
.testi-slide {
    min-width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
}

/* Speech bubble ki height equal rakhne ke liye */
.testi-content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.speech-bubble {
    background-color: var(--text-white);
    border: 4px solid var(--primary-purple);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    box-shadow: 12px 12px 0px var(--secondary-yellow);
    margin-bottom: 30px;
    flex-grow: 1; /* Ye bubble ko barabar stretch karega */
}

/* Mobile Devices par wapas 1 slide dikhegi */
@media (max-width: 768px) {
    .testi-slide {
        min-width: 100%;
    }
}

/* ==========================================================================
   Upgraded Premium FAQ Section
   ========================================================================== */
.faq-section {
    background-color: #fdfaf5; /* Very soft warm background for contrast */
    position: relative;
	padding-bottom:150px;
}

.faq-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* Left Sticky Title */
.faq-title-area {
    flex: 1;
    position: sticky;
    top: 100px; /* Stays on screen while user scrolls FAQs */
}

.faq-title-area p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-top: 15px;
}

/* Right Accordion Cards */
.faq-accordion {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border-left: 6px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 12px 35px rgba(102, 45, 145, 0.1);
    transform: translateX(5px); /* Smooth slide right on hover */
}

.card-border-yellow { border-color: var(--secondary-yellow); }
.card-border-purple { border-color: var(--primary-purple); }

.faq-question {
    padding: 25px;
    margin: 0;
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary-purple);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    transition: color 0.3s ease;
}

/* Bouncy Plus/Cross Icon */
.toggle-icon {
    width: 35px;
    height: 35px;
    background-color: #f5f0fa;
    color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Bounce effect */
}

/* Active State for JS toggle */
.faq-item.active .toggle-icon {
    transform: rotate(135deg); /* Turns ✚ into ✘ playfully */
    background-color: var(--primary-purple);
    color: var(--secondary-yellow);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    background-color: #fff;
}

.faq-answer p {
    margin: 0;
    padding: 0 25px 25px 25px;
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Expands smoothly */
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .faq-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .faq-title-area {
        position: relative;
        top: 0;
        text-align: center;
    }
}
/* ==========================================================================
   Creative Footer Styles
   ========================================================================== */
.site-footer {
    position: relative;
    background-color: var(--primary-purple);
    color: var(--text-white);
    margin-top: 100px;
}

/* Playful Wave at the top of footer */
.footer-wave-top {
    position: absolute;
    top: -59px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

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

.footer-wave-top .shape-fill {
    fill: var(--primary-purple);
}

.footer-main-content {
    padding: 0 20px 0px;
}

/* Floating CTA Box */
.footer-cta-box {
    background: linear-gradient(135deg, var(--secondary-yellow) 0%, #ffe400 100%);
    padding: 30px 40px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-100px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border: 4px dashed var(--primary-purple);
}

.cta-text h3 {
    color: var(--primary-purple);
    font-size: 1.8rem;
    margin: 0 0 5px 0;
}

.cta-text p {
    color: #333;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer Grid Setup */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-top: 10px;
	transform: translateY(-50px);
}

.footer-widget h3 {
    color: var(--secondary-yellow);
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-brand {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-family: var(--font-heading);
    color: var(--text-white);
}

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

.about-widget p {
    color: #e6dbf5;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Bouncy Social Buttons */
.playful-socials {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background-color: var(--secondary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn:hover {
    transform: translateY(-10px) scale(1.1);
    background-color: #fff;
}

/* Fun Links */
.fun-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fun-links li {
    margin-bottom: 15px;
}

.fun-links a {
    color: #e6dbf5;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fun-links a:hover {
    color: var(--secondary-yellow);
    transform: translateX(10px);
}

/* Contact Card Styling */
.contact-card {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-yellow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.c-icon {
    font-size: 1.2rem;
}

.contact-item p {
    margin: 0;
    color: #e6dbf5;
    line-height: 1.5;
}

.contact-item a {
    color: var(--secondary-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Footer Bottom Area */
.footer-bottom {
    background-color: #4a1f6a;
    padding: 20px 0;
    font-size: 0.95rem;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-flex p {
    margin: 0;
    color: #c9b1de;
}

.credit-text {
    font-family: var(--font-body);
}

.developer-link {
    color: var(--secondary-yellow);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.3s;
}

.developer-link:hover {
    background-color: var(--secondary-yellow);
    color: var(--primary-purple);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-cta-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .playful-socials {
        justify-content: center;
    }
    
    .fun-links a {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }
    
    .bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
/* ==========================================================================
   Custom Modal / Popup Form Styles
   ========================================================================== */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(102, 45, 145, 0.85); /* Dark Purple blur overlay */
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.custom-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--text-white);
    padding: 40px;
    border-radius: 25px;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(-50px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 5px solid var(--secondary-yellow);
}

.custom-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    color: #ccc;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-purple);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-purple);
}

.modal-header p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.enquiry-form .form-group {
    margin-bottom: 15px;
}

.enquiry-form input,
.enquiry-form select {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
    background-color: #fcfcfc;
}

.enquiry-form input:focus,
.enquiry-form select:focus {
    border-color: var(--primary-purple);
    background-color: #fff;
}

.full-width {
    width: 100%;
    border: none;
    margin-top: 10px;
    font-size: 1.1rem;
    padding: 15px;
}
/* ==========================================================================
   Animated Wave CSS
   ========================================================================== */
.footer-wave-top {
    position: absolute;
    top: -59px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-animation {
    display: block;
    width: 100%;
    height: 60px;
    margin: 0;
}

/* Keyframes for smooth wave motion */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

/* ==========================================================================
   Social Icons CSS Fix
   ========================================================================== */
.social-btn {
    width: 45px;
    height: 45px;
    background-color: var(--secondary-yellow);
    color: var(--primary-purple); /* Icon color set to purple */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn:hover {
    transform: translateY(-10px) scale(1.1);
    background-color: #fff;
    color: var(--primary-purple);
}