:root {
    --primary-blue: #4834d4;
    --top-bar-blue: #ff4757;
    --text-dark: #2f3542;
    --text-light: #57606f;
    --sun-yellow: #f1c40f;
    --star-color: #ffda79;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    background-color: #fff0f3;
    overflow-x: hidden;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--top-bar-blue);
    color: white;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar i { margin-right: 8px; }


/* --- MOBILE TOP BAR (Hidden Button) --- */
@media (max-width: 768px) {
    
    .top-bar {
        flex-direction: column;
        padding: 5px 0; /* Minimal padding */
        gap: 2px; /* Tiny gap */
        font-size: 1rem; /* Small text */
        text-align: center;
    }

    /* 1. Phone and Address */
    .top-bar-left {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }

    /* 2. Opening Time */
    .top-bar-right {
        width: 100%;
        justify-content: center;
    }

    /* 3. HIDE THE BUTTON COMPLETELY */
    .top-bar > div:last-child {
        display: none;
    }
    
    /* Optional: Ensure icons are small */
    .top-bar i { font-size: 0.8rem; }
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background: #fff0f3;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text h1 {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.2;
}

.logo-text span {
    color: #ff4757;
    font-size: 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary-blue); }

/* Hamburger Button (Hidden on Desktop) */
.menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    font-size: 2rem;
    color: #5352ed; /* Blue color */
    cursor: pointer;
    z-index: 102; /* Ensures Button stays above menu */
}

/* --- BASE NAVIGATION (Desktop) --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background: #fff0f3;
    position: relative; /* Essential for mobile positioning */
    z-index: 1000;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-text h1 { color: #5352ed; font-weight: 800; font-size: 1.5rem; line-height: 1.2; }
.logo-text span { color: #ff4757; font-size: 1rem; }

/* Desktop Menu Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}
.nav-links a { text-decoration: none; color: #333; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; }

/* Hamburger Button (Hidden on Desktop) */
.menu-toggle { display: none; }

/* --- MOBILE RESPONSIVE (The Fix) --- */
@media (max-width: 768px) {
    
    /* 1. Show Button */
    .menu-toggle {
        display: block !important;
        font-size: 2rem;
        background: none;
        border: none;
        color: #5352ed;
        cursor: pointer;
    }

    /* 2. Hide Menu by default */
    .nav-links {
        display: none; /* Hard Hide */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        border-top: 2px solid #5352ed;
        z-index: 1000;
        padding-bottom: 20px;
    }

    /* 3. SHOW Menu when 'active' class is added */
    .nav-links.active {
        display: flex !important; /* Force Show */
    }

    /* Mobile Link Styles */
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: 15px; border-bottom: 1px solid #eee; }
}

/* --- FOOTER SECTION --- */
/* --- SITE FOOTER --- */
.site-footer {
    background-color: #dcf6fa; /* Light Blue Background */
    padding-top: 100px; /* Space for the brush border */
    padding-bottom: 0;
    position: relative;
    font-family: 'Poppins', sans-serif;
    margin-top: 50px;
}

/* Top Brush Border */
.site-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url('images/line-bg2.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    z-index: 1;
}

/* --- FOOTER CONTAINER (Layout Fix) --- */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 50px 15px;
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on mobile */
    justify-content: space-between;
    gap: 20px;
}

/* Column Sizing - Ensures 4 columns fit on desktop */
.footer-col {
    flex: 1;             /* Grow to fill space */
    min-width: 220px;    /* Minimum width before wrapping */
    margin-bottom: 30px;
}

/* Specific widths to match the design balance */
.about-col { flex: 1.2; } /* Logo column slightly wider */
.links-col { flex: 0.8; } /* Links column slightly narrower */
.posts-col { flex: 1.2; } /* Posts column wider */
.newsletter-col { flex: 1; }

/* --- LOGO SECTION --- */
.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    margin-bottom: 20px;
    display: inline-block;
}
.logo-icon { color: #f1c40f; margin-right: 5px; }
.logo-pink { color: #ff4757; }
.logo-blue { color: #5352ed; }

.about-col p {
    color: #57606f;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- HEADINGS --- */
.footer-col h4 {
    color: #5352ed;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
}

/* --- INFORMATION LINKS --- */
.footer-links {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two distinct columns */
    column-gap: 10px;
    row-gap: 10px;
}

.footer-links li a {
    text-decoration: none;
    color: #57606f;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

/* Blue Bullet Point */
.footer-links li a::before {
    content: "•";
    color: #5352ed;
    font-size: 1.5rem;
    margin-right: 8px;
    line-height: 0; /* Aligns dot vertically */
    position: relative;
    top: 1px;
}

.footer-links li a:hover { color: #ff4757; }

/* --- RECENT POSTS --- */
.footer-post {
    display: flex;
    align-items: center; /* Aligns image and text */
    margin-bottom: 20px;
}

.post-thumb img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
    background-color: #ddd; /* Fallback color if image breaks */
}

.post-details {
    flex: 1;
}

.post-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2f3542;
    text-decoration: none;
    margin-bottom: 5px;
    line-height: 1.3;
}

.post-title:hover { color: #ff4757; }

.post-meta {
    font-size: 0.75rem;
    color: #5352ed;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- NEWSLETTER (Pink Button Fix) --- */
.footer-form input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    margin-bottom: 10px; /* Space between input and button */
    font-size: 0.9rem;
    background-color: #ffffff;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.footer-form button {
    width: 100%;
    background-color: #ff4757; /* PINK COLOR (Fixed) */
    color: white;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.2);
}

.footer-form button:hover {
    background-color: #5352ed; /* Blue on hover */
}

/* --- FOOTER BOTTOM --- */
.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 25px 0;
    margin: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text p {
    color: #57606f;
    font-size: 0.9rem;
    margin: 0;
}

.footer-social a {
    color: #5352ed;
    font-size: 1.1rem;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-social a:hover { color: #ff4757; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column; /* Stack on tablet/mobile */
    }
    .footer-col {
        width: 100%;
        margin-bottom: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =========================================
   HERO SECTION STYLES
   ========================================= */
/* --- HERO SECTION BASE --- */
.hero {
    position: relative;
    width: 100%;
    height: 90vh; /* */
    overflow: hidden;
    background: #000; 
    border-radius: 0 0 50px 50px; /* */
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Individual Slide Grid Collage */
.slide {
    position: absolute;
    inset: 0;
    display: grid; 
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    opacity: 0;
    transition: opacity 1s ease-in-out; /* */
    z-index: 0;
}

.slide.active { 
    opacity: 1; 
    z-index: 1; 
}

/* Collage Images Styling */
.hero-collage {
    display: contents; /* Allows children to be part of the slide grid */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* */
}

/* Dark Overlay for Desktop Readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 2;
}

/* --- HERO CONTENT (DESKTOP) --- */
.hero-content {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 8%; /* */
    transform: translateY(-50%);
    max-width: 600px;
    color: #fff; 
}

.hero-title {
    font-size: 3.5rem; /* */
    font-weight: 800;
    color: #fff; 
    line-height: 1.1; /* */
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}

.hero-title span { 
    color: #ffcc00; /* Bright contrast color for Hindi/Highlight */
}

.hero-desc {
    font-size: 1.3rem;
    color: #f1f1f1;
    margin: 20px 0; /* */
    font-weight: 500;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
}

/* Buttons and Group */
.cta-group {
    display: flex;
    align-items: center;
    gap: 20px; /* */
}

.btn-primary {
    background-color: #4834d4; /* */
    color: white;
    padding: 12px 30px; /* */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: inline-block;
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* */
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(5px); /* */
    transition: 0.3s;
}

.arrow-left { left: 20px; } /* */
.arrow-right { right: 20px; } /* */

@media (max-width: 768px) {
    /* 1. Reset Hero to Full Height for the Overlay effect */
    .hero {
        height: 80vh !important; /* Adjust height as needed */
        display: block !important;
        border-radius: 0 0 30px 30px;
    }

    .slider-container {
        height: 100% !important;
        position: relative;
    }

    /* 2. Adjust Grid for Portrait Phone View */
    .slide {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(4, 1fr) !important;
        height: 100% !important;
        position: absolute;
    }

    /* 3. Enable the Dark Overlay (Crucial for white text visibility) */
    .hero-overlay {
        display: block !important;
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5) !important; /* Darkens images by 50% */
        z-index: 2;
    }

    /* 4. Overlap Content on top of Images */
    .hero-content {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important; /* Perfectly centers the text */
        width: 90% !important;
        max-width: 100% !important;
        padding: 0 !important;
        text-align: center;
        background: transparent !important; /* Remove white box */
        color: #ffffff !important; /* White text for dark overlay */
        z-index: 10;
    }

    /* 5. Mobile Typography visibility */
    .hero-title {
        color: #ffffff !important;
        font-size: 1.8rem !important;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.5) !important;
        margin-bottom: 10px;
    }

    .hero-title span {
        color: #ffcc00 !important; /* Bright Yellow for contrast */
    }

    .hero-desc {
        color: #f1f1f1 !important;
        font-size: 0.95rem !important;
        text-shadow: 1px 1px 5px rgba(0,0,0,0.5) !important;
    }

    /* 6. Buttons Styling */
    .cta-group {
        justify-content: center !important;
        margin-top: 20px;
    }

    .btn-primary {
        padding: 10px 25px !important;
        font-size: 0.9rem;
    }

    /* 7. Navigation Arrows positioning */
    .slider-arrow {
        top: 50% !important;
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.2) !important;
        color: #fff !important;
    }
    .arrow-left { left: 0px; } /* */
.arrow-right { right: 0px; } /* */
}


/* --- STATS SECTION BASE --- */
.stats-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background-color: #fffaf0; /* Light cream base */
    background-image: url('images/bg-pattren1.jpg');
    background-size: cover;
    z-index: 5;
    overflow: hidden;
}

/* Scalloped Waves (Top & Bottom) */
.stats-section::before, .stats-section::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 40px;
    background-repeat: repeat-x;
}

.stats-section::before {
    top: -5px;
    background-image: url('images/shape-top.png');
}

.stats-section::after {
    bottom: -5px;
    background-image: url('images/shape-bottom.png');
    transform: rotate(180deg);
}

/* --- THE CAROUSEL/GRID CONTAINER --- */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- INDIVIDUAL COLORFUL CARDS --- */
.stat-card {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    border-radius: 25px; /* Extra rounded for kids' theme */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255,255,255,0.5); /* Subtle glass border */
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.stat-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 5px;
    opacity: 0.9;
}

/* --- CARD COLORS --- */
.card-yellow { background-color: #ffeaa7; color: #d4a017; }
.card-pink   { background-color: #ff7675; color: #ffffff; }
.card-blue   { background-color: #74b9ff; color: #ffffff; }
.card-green  { background-color: #55efc4; color: #008080; }

/* Overriding description color for dark cards */
.card-pink p, .card-blue p { color: rgba(255,255,255,0.9); }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2x2 Grid */
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px 10px;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .stat-card p {
        font-size: 0.85rem;
    }
}

/* --- WELCOME SECTION --- */
.welcome-section {
    position: relative; /* Container for absolute animations */
    padding: 80px 5%;
    background-color: #fff0f3;
    overflow: hidden; /* Prevents scrollbar when train moves out */
    text-align: center;
}

/* Header Styling */
.welcome-header h2 {
    font-size: 2.5rem;
    color: #4834d4; /* Primary Blue */
    font-weight: 800;
    margin-bottom: 15px;
}

.welcome-header p {
    color: #57606f;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Base Feature Card */
.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 5px solid transparent;
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-10px); }

.icon-box img { width: 60px; height: 60px; margin-bottom: 20px; }

/* AUTOMATIC COLORING (No HTML changes needed) */
/* Card 1: Blue */
.feature-card:nth-child(1) { border-color: var(--color-blue); }
.feature-card:nth-child(1) .icon-box { background: #e7f1ff; border-radius: 50%; width: 90px; height: 90px; display:flex; align-items:center; justify-content:center; margin: 0 auto 20px auto; }

/* Card 2: Pink */
.feature-card:nth-child(2) { border-color: var(--color-pink); }
.feature-card:nth-child(2) .icon-box { background: #ffeaa7; border-radius: 50%; width: 90px; height: 90px; display:flex; align-items:center; justify-content:center; margin: 0 auto 20px auto; }

/* Card 3: Green */
.feature-card:nth-child(3) { border-color: var(--color-green); }
.feature-card:nth-child(3) .icon-box { background: #dff9fb; border-radius: 50%; width: 90px; height: 90px; display:flex; align-items:center; justify-content:center; margin: 0 auto 20px auto; }

/* Card 4: Yellow */
.feature-card:nth-child(4) { border-color: var(--color-yellow); }
.feature-card:nth-child(4) .icon-box { background: #ffcccc; border-radius: 50%; width: 90px; height: 90px; display:flex; align-items:center; justify-content:center; margin: 0 auto 20px auto; }

/* --- ANIMATIONS --- */

/* 1. Floating Cloud (Up & Down) */
.floating-cloud {
    position: absolute;
    top: 50px;
    right: 5%;
    width: 120px;
    opacity: 0.8;
    animation: float-cloud 3s ease-in-out infinite alternate;
}

@keyframes float-cloud {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30px); } /* Moves up 20px */
}

/* 2. Moving Train/Car (Left to Right) */
.train-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Height of track area */
    pointer-events: none;
    overflow: hidden;
}

.moving-train {
    position: absolute;
    bottom: 0;
    left: -200px; /* Start outside left screen */
    width: 150px; /* Adjust size of train */
    animation: drive-train 25s linear infinite;
}

@keyframes drive-train {
    0% { left: -250px; }
    100% { left: 100%; } /* Moves all the way to right end */
}

/* --- Mobile Responsive (Features 2x2 Grid) --- */
@media (max-width: 768px) {
    .features-grid {
        /* Switch to Grid Layout */
        display: grid;
        /* Create 2 Equal Columns */
        grid-template-columns: 1fr 1fr;
        /* Adjust spacing (Vertical Horizontal) */
        gap: 30px 10px;
        width: 100%;
        padding: 0 10px;
    }

    .feature-card {
        /* CRITICAL: Remove the desktop min-width so 2 items fit in one row */
        min-width: 0; 
    }

    /* Optional: Make icons slightly smaller on mobile to fit better */
    .icon-box img {
        width: 120px; 
    }

    .feature-card h3 {
        font-size: 0.9rem; /* Slightly smaller text */
        margin-top: 10px;
    }
    
    /* Keep your existing animations if needed */
    .welcome-header h2 { font-size: 2rem; }
    .floating-cloud { width: 80px; top: 40px; }
    .moving-train { width: 150px; animation: drive-train 15s linear infinite; }
}



/* --- DREAM SECTION --- */
.dream-section {
    background-color: #fff9e6; /* The Light Cream/Yellow Background */
    padding: 80px 10% 100px 10%; /* Extra padding at bottom for the train */
    position: relative;
    overflow: hidden; /* Keeps train inside */
}

.dream-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0px;
    position: relative;
    z-index: 2; /* Keeps content above the train */
}

/* 1. Left Text Column */
.dream-text {
    flex: 1;
    max-width: 500px;
}

.dream-text h2 {
    font-size: 2.5rem;
    color: #5352ed; /* Blue Heading */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
}

.dream-text p {
    color: #57606f;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 2. Center Bird Column */
.dream-bird {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dream-bird img {
    max-width: 100%;
    width: 280px; /* Adjust based on your bird size */
    height: auto;
}

/* 3. Right Cards Column */
.dream-cards-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 45px;
    max-width: 500px;
}

/* Common Card Styles */
.program-card {
    display: flex;
    align-items: flex-start; /* Aligns text to top */
    gap: 20px;
    padding:20px 25px;
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s ease;
}
.program-card:hover {
    transform: translateY(-5px);
}

/* The Starburst Images */
.card-badge-img {
    width: 90px; /* Size of the starburst image */
    height: 90px;
    object-fit: contain;
    flex-shrink: 0; /* Prevents image from squishing */
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.card-content h3 {
    font-family: 'Nunito', sans-serif; /* Or 'serif' if you want that exact look */
    font-size: 1.4rem;
    color: #2f3542;
    font-weight: 800;
    margin-bottom: 5px;
}

.card-content p {
    font-size: 0.9rem;
    color: #57606f;
    line-height: 1.4;
}

/* Specific Card Colors */
.yellow-card {
    background-color: #fcecb5; /* Matches the top card */
}

.pink-card {
    background-color: #ffb8b8; /* Matches the bottom card */
}

/* --- TRAIN ANIMATION --- */
.train-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    pointer-events: none;
    z-index: 1;
}

.moving-train1 {
    position: absolute;
    bottom: 0;
    left: -300px; /* Start off-screen */
    width: 200px;
    transform: scaleX(-1);
    animation: drive-train-reverse 25s linear infinite;
}

@keyframes drive-train-reverse {
    0% { 
        left: 100%; /* Start completely off-screen to the Right */
    }
    100% { 
        left: -300px; /* Drive completely off-screen to the Left */
    }
}

/* --- Mobile Responsive (2 Cards in a Row) --- */
@media (max-width: 768px) {
    
    /* 1. Layout Container */
    .dream-container {
        flex-direction: column; /* Text Top, Cards Bottom */
        gap: 30px;
        max-width: 100%;
        padding: 40px 0px;
    }

    /* 2. Text Section (Top) */
    .dream-text {
        text-align: left;
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    /* Center the button */
    .btn-primary { 
        margin: 20px auto 0 auto; 
        display: block;
        width: fit-content;
    }

    /* 3. CARDS SECTION (The 2x2 Row Fix) */
    .dream-cards-column {
        width: 100%;
        /* Switch to Grid to put them side-by-side */
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 Equal Columns */
        gap: 15px; /* Space between the two cards */
    }

    .program-card {
        /* Stack content internally (Icon Top, Text Bottom) */
        display: flex;
        flex-direction: column; 
        align-items: center;
        text-align: center;
        
        padding: 20px 15px;
        width: 100%; /* Fill the grid cell */
        min-height: 250px; /* Ensure equal height look */
    }

    /* 4. Icon & Text Adjustments for Small Size */
    .program-card img {
        width: 60px; /* Smaller icon to fit */
        height: auto;
        margin-bottom: 15px;
        margin-right: 0; /* Remove side margin */
    }

    .program-card h3 {
        font-size: 1rem; /* Smaller title */
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .program-card p {
        font-size: 0.85rem; /* Smaller text */
        line-height: 1.4;
    }

    /* Hide decorative elements */
    .dream-bird { display: none; }
    .moving-train1 { animation: drive-train-reverse 15s linear infinite; }
}


/* --- EDUCATION SECTION --- */
.education-section {
    /* The Brick Wall Background */
    background-image: url('images/photo_2026-02-05_15-16-09.jpg'); 
    background-size: cover;      /* Covers the whole area */
    background-position: center; /* Centers the wall pattern */
    background-repeat: no-repeat;
    
    padding: 60px 5%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.edu-container {
    display: flex;
    align-items: center; /* Vertically center the text and image */
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
}

/* 1. Left Text Column */
.edu-text {
    flex: 1; /* Takes up half the space */
    max-width: 550px;
}

.edu-text h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    color: #ffffff; /* The Primary Blue */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.edu-text p {
    font-family: 'Poppins', sans-serif;
    color: #ffffff; /* The Grey Text */
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 2. Right Image Column */
.edu-image {
    flex: 1; /* Takes up the other half */
    display: flex;
    justify-content: flex-end; /* Aligns image to the right */
}

.edu-image img {
    max-width: 100%;
    height: auto;
    /* Optional: Adds a slight shadow to pop off the wall */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); 
    border-radius: 10px; /* Optional: Softens corners */
}

/* --- Mobile Responsive --- */
@media (max-width: 900px) {
    .edu-container {
        flex-direction: column; /* Stack text on top of image */
        text-align: left;
        gap: 30px;
    }

    .edu-text {
        max-width: 100%;
    }

    .edu-text h2 {
        font-size: 2.2rem; /* Smaller font on mobile */
    }

    .edu-image {
        justify-content: center; /* Center image on mobile */
    }
}





/* --- TEACHERS SECTION --- */
.teachers-section {
    background-color: #fff9e6; /* Light Cream Background */
    padding: 80px 5%;
    position: relative;
    text-align: center;
}

.teacher-header {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.teacher-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    color: #5352ed;
    font-weight: 800;
    margin-bottom: 20px;
}

.teacher-header p {
    color: #57606f;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- DECORATIONS --- */
.teacher-cloud {
    position: absolute;
    top: 100px;
    left: 5%;
    width: 100px;
    animation: float-up-down 4s ease-in-out infinite;
}

.teacher-heli {
    position: absolute;
    top: 150px;
    right: 5%;
    width: 120px;
    animation: float-heli 3s ease-in-out infinite alternate;
}

@keyframes float-heli {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(5deg); }
}

/* --- TEACHER GRID --- */
.teacher-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.teacher-card {
    width: 260px; /* Fixed width for cards */
    position: relative;
    margin-bottom: 30px;
}

/* Image Area */
.teacher-image {
    width: 100%;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom Effect on Hover */
.teacher-card:hover .teacher-image img {
    transform: scale(1.1);
}

/* Social Overlay (Hidden by default) */
.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(83, 82, 237, 0.7); /* Blue overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.teacher-card:hover .social-overlay {
    opacity: 1;
}

.social-overlay a {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5352ed;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-overlay a:hover {
    transform: scale(1.1);
    color: #ff4757;
}

/* Name Tag Styling */
.teacher-info {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIi8+CjxjaXJjbGUgY3g9IjIiIGN5PSIyIiByPSIxIiBmaWxsPSJyZ2JhKDAsMCwwLDAuMDUpIi8+Cjwvc3ZnPg=='); /* Subtle pattern */
}

.teacher-info h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #2f3542;
    margin-bottom: 2px;
}

.teacher-info span {
    font-size: 0.9rem;
    color: #57606f;
    font-weight: 600;
}

/* Tag Colors */
.tag-white { background-color: #ffffff; }
.tag-pink  { background-color: #ffb8b8; }
.tag-green { background-color: #7bed9f; }
.tag-red   { background-color: #ff7675; }

/* --- Mobile Responsive (Teacher 2x2 Grid) --- */
@media (max-width: 768px) {
    .teacher-container {
        /* Switch to Grid Layout */
        display: grid;
        /* Create 2 Equal Columns */
        grid-template-columns: 1fr 1fr;
        /* Adjust spacing */
        gap: 30px 15px; 
        padding: 0 10px;
        width: 100%;
        justify-items: center; /* Center the cards in their grid cells */
    }

    /* Optional: Slightly reduce card size to fit 2 in a row */
    .teacher-card {
        width: 100%; 
        max-width: 180px; /* Prevent them from getting too big */
    }

    /* Hide background decorations on mobile */
    .teacher-cloud, .teacher-heli {
        display: none;
    }
}

/* --- TESTIMONIALS SECTION --- */
.testimonial-section {
    background-color: #fff0f3;
    padding: 80px 5%;
    position: relative;
    text-align: center;
}

.testi-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.testi-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    color: #5352ed;
    font-weight: 800;
    margin-bottom: 20px;
}

.testi-header p {
    color: #57606f;
    font-size: 1rem;
    line-height: 1.6;
}

/* Clouds */
.testi-cloud-left {
    position: absolute;
    top: 100px;
    left: 10%;
    width: 120px;
    animation: float-up-down 3s infinite alternate;
}

.testi-cloud-right {
    position: absolute;
    top: 80px;
    right: 10%;
    width: 120px;
    animation: float-up-down 4s infinite alternate-reverse;
}

/* --- MAIN CONTAINER --- */
.testi-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* Navigation Arrows */
.nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px dashed #5352ed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5352ed;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevents arrows from shrinking */
    z-index: 10;
}

.nav-arrow:hover {
    background-color: #5352ed;
    color: white;
    border-style: solid;
}

.next-arrow {
    border-color: #ff4757;
    color: #ff4757;
}

.next-arrow:hover {
    background-color: #ff4757;
    color: white;
}

/* --- SLIDER LOGIC --- */
.testimonial-slider {
    width: 100%;
    max-width: 800px;
    position: relative;
    min-height: 300px; /* Reserves space so page doesn't jump */
}

.testi-slide {
    display: none; /* Hidden by default */
    align-items: flex-start;
    gap: 30px;
    text-align: left;
    width: 100%;
}

.testi-slide.active {
    display: flex; /* Only show the active one */
    animation: fadeIn 0.8s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- CARD CONTENT --- */
.testi-image {
    flex-shrink: 0;
}

.testi-image img {
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testi-content {
    flex: 1;
}

.quote-icon {
    font-size: 3rem;
    color: #5352ed;
    margin-bottom: 20px;
    line-height: 1;
}

.review-text {
    font-size: 1rem;
    color: #57606f;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

/* Footer */
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.client-info h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    color: #2f3542;
    font-weight: 800;
}

.client-info span {
    font-size: 0.9rem;
    color: #57606f;
}

.review-stars {
    color: #f1c40f;
    font-size: 0.9rem;
}

/* --- Mobile Responsive --- */
@media (max-width: 900px) {
    .testi-slide, .testi-slide.active {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testi-image img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
    }

    .review-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-arrow {
        position: absolute;
        top: 20%; /* Move arrows near image on mobile */
    }
    .prev-arrow { left: 0; }
    .next-arrow { right: 0; }
    
    .testi-cloud-left, .testi-cloud-right { display: none; }
}


/* --- BLOG SECTION --- */
.blog-section {
    background-color: #fff0f3;
    padding: 80px 5% 10px 5%; /* Extra padding bottom for train */
    position: relative;
    text-align: center;
    overflow: hidden;
    

/* Header */
.blog-header {
    max-width: 700px;
    margin: 0 auto 10px auto;
}

.blog-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    color: #5352ed;
    font-weight: 800;
    margin-bottom: 20px;
}

.blog-header p {
    color: #57606f;
    font-size: 1rem;
    line-height: 1.6;
}

/* Cloud Decoration */
.blog-cloud {
    position: absolute;
    top: 150px;
    left: 5%;
    width: 100px;
    animation: float-up-down 3s infinite alternate;
}

/* --- BLOG GRID --- */
.blog-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-card {
    flex: 1;
    min-width: 300px; /* Ensures cards don't get too thin */
    max-width: 350px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

/* Image with "Badge/Wave" Shape */
.blog-image-wrapper {
    width: 100%;
    height: 250px;
    margin-bottom: 25px;
    overflow: hidden;
    /* This creates the 12-point seal/badge shape */
    clip-path: polygon(
        50% 0%, 80% 10%, 100% 35%, 100% 70%, 80% 90%, 
        50% 100%, 20% 90%, 0% 70%, 0% 35%, 20% 10%
    );
    transition: transform 0.3s ease;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card:hover .blog-image-wrapper {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Text Styling */
.blog-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    color: #2f3542;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.95rem;
    color: #57606f;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    font-size: 1rem;
    color: #5352ed;
    font-weight: 700;
    text-decoration: underline;
    text-transform: capitalize;
    transition: color 0.3s;
}

.read-more:hover {
    color: #ff4757;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-container {
        flex-direction: column;
        align-items: center;
    }
    .blog-cloud { display: none; }
}}


/* --- INNER PAGE BANNER (User Design) --- */

.dlab-bnr-inr {
    height: 400px; /* Adjust height as needed */
    padding-top: 100px;
    background-size: cover;
    background-position: center;
    background-size: auto;
    position: relative;
    align-items: center;
    width: 100%;
    z-index: 1;
    overflow: hidden; /* Keeps clouds inside */
}

.dlab-bnr-inr-entry {
    text-align: center;
    position: relative;
    z-index: 5; /* Keeps text above clouds */
    width: 100%;
}

/* Title Styling */
.dlab-bnr-inr h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 4rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 15px;
}

/* Breadcrumb Styling */
.breadcrumb-row ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255,255,255,0.1); /* Subtle transparent background */
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
}

.breadcrumb-row li {
    display: inline-block;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: capitalize;
}

.breadcrumb-row li a {
    color: #fff;
    text-decoration: none;
    margin-right: 5px;
}

.breadcrumb-row li a:hover {
    color: #f1c40f; /* Yellow hover */
}

/* Separator for breadcrumbs */
.breadcrumb-row li:not(:last-child)::after {
    content: "\f105"; /* FontAwesome Right Arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin: 0 10px;
    color: #fff;
}

/* --- CLOUD ANIMATIONS (From Your Code) --- */

/* Cloud Layer 1 */
.dlab-bnr-inr:after {
    content: "";
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    /* You must have this image in your images folder */
    background-image: url('images/bg-cloud1.png'); 
    background-repeat: repeat-x; 
    animation: scroll 40s infinite linear;
}

/* Cloud Layer 2 */
.dlab-bnr-inr:before {
    content: "";
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    /* You must have this image in your images folder */
    background-image: url('images/bg-cloud2.png');
    background-repeat: repeat-x;
    animation: scrollup 45s infinite linear;
}

/* --- THE KEYFRAMES (Required for movement) --- */

@keyframes scroll {
    0% { background-position: 0 bottom; }
    100% { background-position: 1200px bottom; }
}

@keyframes scrollup {
    0% { background-position: 0 bottom; }
    100% { background-position: -1500px bottom; } /* Moves in opposite direction */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dlab-bnr-inr {
        height: 300px;
    }
    .dlab-bnr-inr h1 {
        font-size: 2.5rem;
    }
}

/* --- WELCOME ACADEMY SECTION --- */
.welcome-academy-section {
    position: relative;
    padding: 60px 0% 0px 0%;
    background-color: #fff0f3;
    margin-bottom: -90px;
    /* The Dotted Line Background Image */
    background-image: url('images/line2.png'); 
    background-size: cover;
    background-position: center;
    
    overflow: hidden;
}

/* Header */
.welcome-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.welcome-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    color: #5352ed;
    font-weight: 800;
    margin-bottom: 20px;
}

.welcome-header p {
    color: #57606f;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- MAIN LAYOUT --- */
.welcome-container {
    display: flex;
    align-items: center; /* Vertically center everything */
    justify-content: space-between;
    max-width: 1300px;
    padding-left: 5%;
    padding-right: 5%;
    margin: 0 auto;
    gap: 30px;
}

/* Column Widths */
.welcome-col {
    flex: 1;
}

/* Center Image Column */
.center-col {
    text-align: center;
    flex: 1.2; /* Give image slightly more space */
}

.center-col img {
    max-width: 100%;
    height: auto;
}

/* --- FEATURE ITEMS --- */
.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px; /* Space between items */
    gap: 25px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

/* Text Styling */
.feature-text h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    color: #000;
    font-weight: 800;
    margin-bottom: 10px;
}

.feature-text p {
    font-size: 0.95rem;
    color: #747d8c;
    line-height: 1.6;
    margin: 0;
}

/* --- ICON WRAPPER (Badge + Icon) --- */
.icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevents badge from shrinking */
}

/* The Badge Image Background */
.badge-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

/* The White Icon on Top */
.icon-wrapper i {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    color: #ffffff;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

/* --- ALIGNMENT LOGIC --- */

/* Left Column: Text aligns Right */
.align-right {
    justify-content: flex-end; /* Push content towards center */
    text-align: right;
}

/* Right Column: Text aligns Left */
.align-left {
    justify-content: flex-start; /* Push content towards center */
    text-align: left;
}


/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    .welcome-container {
        flex-direction: column; /* Stack vertically */
        padding-bottom: 150px;
    }

    .center-col {
        order: -1; /* Move image to top (under header) */
        margin-bottom: 40px;
        width: 80%;
    }

    /* Reset alignments for mobile reading */
    .align-right, .align-left {
        justify-content: flex-start;
        text-align: left;
        flex-direction: row-reverse; /* Put icon on left for consistent look */
        justify-content: flex-end; /* Align icon to left side */
    }
    
    .feature-item {
        margin-bottom: 40px;
    }
}

/* --- CHILDREN BOX CONTAINER --- */
.children-box {
    position: relative;
    margin-top: 100px; /* Adjust this to pull them up over the section above */
    width: 100%;
    line-height: 0;
    z-index: 5;
    pointer-events: none; /* Allows clicks to pass through */
}

/* Common Image Styles */
.children-box img {
    width: 100%;
    min-width: 100%;
    height: auto;
    z-index: 2;
    display: block;
}

/* --- LAYER 1 (The Top Layer) --- */
.children-box .children-1 {
    position: absolute; /* Sits directly on top of the other image */
    top: 0;
    left: 0;
    width: 100%;
    /* Moves UP then DOWN */
    animation: jump .5s linear alternate infinite;
}

/* --- LAYER 2 (The Bottom Layer) --- */
.children-box .children-2 {
    position: relative; /* Takes up space in the layout */
    width: 100%;
    /* Moves DOWN then UP (Opposite) */
    animation: jump1 .5s linear alternate infinite;
}

/* --- ANIMATIONS (Using Transform for smooth performance) --- */

@keyframes jump {
    0%   { transform: translateY(-10px); }
    30%  { transform: translateY(-30px); }
    100% { transform: translateY(-50px); }
}

@keyframes jump1 {
    0%   { transform: translateY(-50px); }
    30%  { transform: translateY(-30px); }
    100% { transform: translateY(-10px); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .children-box {
        margin-top: -50px; /* Less overlap on mobile */
        margin-bottom: 50px;
    }
    
    /* Optional: Make animation smaller on mobile so it doesn't jump too much */
    @keyframes jump {
        0% { transform: translateY(-5px); }
        100% { transform: translateY(-20px); }
    }
    @keyframes jump1 {
        0% { transform: translateY(-20px); }
        100% { transform: translateY(-5px); }
    }
}


/* --- EDUCATION INTRO SECTION --- */
.edu-intro-section {
    position: relative;
    width: 100%;
    padding: 150px 5%; /* Large padding for spacing */
    
    /* The Main Background Image (Child) */
    background-image: url('images/photo_2026-02-05_15-16-41.jpg'); 
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 5;
    /* Optional: Adds a dark overlay so text pops */
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.3); 
}

/* --- THE TEXT CONTENT --- */
.edu-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.edu-intro-text {
    max-width: 600px; /* Limits text width */
}

.edu-intro-text h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3.5rem;
    color: #f1c40f; /* The Yellow Heading Color */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.edu-intro-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #ffffff; /* White text */
    line-height: 1.8;
}

/* --- TOP & BOTTOM BORDERS (Using Before/After) --- */

/* Top Brush Border */
.edu-intro-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Height of your border image */
    
    /* The White Brush Image */
    background-image: url('images/line-bg2.png'); 
    background-size: 100% 100%; /* Stretch to fill width */
    background-repeat: no-repeat;
    
    /* Flips image upside down for top edge if needed */
    transform: rotate(180deg); 
    z-index: 5;
}

/* Bottom Brush Border */
.edu-intro-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Height of your border image */
    
    /* The Same White Brush Image */
    background-image: url('images/line-bg2.png'); 
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .edu-intro-section {
        padding: 80px 5%;
        text-align: center; /* Center text on mobile */
    }

    .edu-intro-text {
        max-width: 100%;
    }

    .edu-intro-text h2 {
        font-size: 2.2rem;
    }
}

/* --- CONCEPT SECTION --- */
.concept-section {
    padding: 100px 5%;
    background-color: #fff0f3;
    /* Optional: Background Doodle Pattern */
    background-image: url('images/line2.png'); 
    background-size: cover;
}

.concept-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

/* --- LEFT COLUMN --- */
.concept-text {
    flex: 1;
    max-width: 550px;
}

.sub-title {
    color: #5352ed; /* Blue Title Part 1 */
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    margin: 0;
    line-height: 1.2;
}

.concept-text h2 {
    color: #5352ed; /* Blue Title Part 2 */
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    margin-bottom: 20px;
}

.desc-text {
    color: #57606f;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* --- YELLOW ACCORDION --- */

.concept-accordion {
    background-color: #fef200;
    border-radius: 20px;
    padding: 30px;
}

.acc-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 0; /* Removed bottom margin for smoother stack */
}

.acc-item:last-child {
    border-bottom: none;
}

.acc-header {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 15px 0; /* Moved padding here for better click area */
}

.acc-header span {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #2f3542;
    font-size: 1rem;
}

.icon-circle {
    width: 10px;
    height: 10px;
    background-color: #000;
    color: #fef200;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.3s ease; /* Smooth icon rotation option */
}

/* THE SMOOTH SLIDE MAGIC */
.acc-body {
    max-height: 0; /* Start hidden */
    overflow: hidden; /* Hide overflow content */
    transition: max-height 0.3s ease-out; /* Smooth slide animation */
    
    /* Font styles */
    font-size: 0.9rem;
    color: #2f3542;
    line-height: 1.5;
    padding-left: 40px; /* Keep indentation */
}

/* Optional: Slight rotation for the icon when active */
.acc-item.active .icon-circle {
    transform: rotate(180deg);
}

/* --- RIGHT COLUMN (IMAGE & REVEAL) --- */
.concept-image-wrapper {
    flex: 1;
    position: relative;
    height: 550px; /* Fixed height for the shape */
    
    /* THE ORGANIC BLOB SHAPE */
    /* Matches image_3eb2c6.jpg */
    border-radius: 30px 100px 30px 100px;
    overflow: hidden; /* Important for the curtain effect */
}

.concept-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 100px 30px 100px; /* Backup shape */
}

/* --- THE YELLOW SLIDE ANIMATION (The "Curtain") --- */
.yellow-curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fef200; /* Same yellow as accordion */
    z-index: 10;
    
    /* Animation: Wait 0.5s, then slide to the right */
    animation: curtain-slide 1.2s ease-in-out forwards;
    animation-delay: 0.5s;
}

@keyframes curtain-slide {
    0% {
        transform: translateX(0); /* Start covering image */
    }
    100% {
        transform: translateX(100%); /* Slide completely to right */
    }
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .concept-container {
        flex-direction: column;
    }
    .concept-image-wrapper {
        width: 100%;
        height: 350px;
    }
}

/* --- CALL TO ACTION SECTION --- */
.call-action-section {
    position: relative;
    width: 100%;
    padding: 120px 5%; /* Vertical spacing */
    text-align: center; /* Centers all text */
    
    /* The Background Image (Kid with Helmet) */
    background-image: url('images/photo_2026-02-05_15-17-32.jpg'); 
    background-attachment: fixed ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Optional: Dark overlay to make white text readable */
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.2);
}

/* --- TEXT STYLES --- */
.call-content {
    position: relative;
    z-index: 5; /* Ensures text sits above background */
    max-width: 800px;
    margin: 0 auto;
}

.call-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.call-action-section h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.phone-number {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fef200; /* The Bright Yellow Color */
    margin-bottom: 40px;
}

/* --- PINK BUTTON --- */
.btn-pink {
    display: inline-block;
    background-color: #ff4757; /* Hot Pink */
    color: white;
    padding: 15px 40px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px; /* Rounded pill shape */
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

.btn-pink:hover {
    background-color: #ffffff;
    color: #ff4757;
    transform: translateY(-3px);
}

/* --- BRUSH BORDERS (Top & Bottom) --- */

/* Top Brush */
.call-action-section::before {
    content: "";
    position: absolute;
    top: -1px; /* Slight overlap to prevent gaps */
    left: 0;
    width: 100%;
    height: 50px; /* Adjust based on your brush image height */
    
    background-image: url('images/line-bg2.png'); 
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: rotate(180deg); /* Flips it for top */
    z-index: 2;
}

/* Bottom Brush */
.call-action-section::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    
    background-image: url('images/line-bg2.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .call-action-section h2 {
        font-size: 2.5rem;
    }
    .phone-number {
        font-size: 2rem;
    }
}

/* --- BLOG SECTION --- */
.blog-section {
    padding: 100px 5%;
    background-color: #fff0f3;
    text-align: center;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.section-header {
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    color: #5352ed;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: #57606f;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- BLOG ITEM STYLING --- */
.blog-item {
    text-align: left;
    /* Owl Carousel handles width, we just style the inside */
}

/* The Dashed Border Container */
.blog-image-box {
    position: relative;
    padding: 8px; /* Space between image and dashed line */
    
    /* THE PINK DASHED BORDER */
    border: 2px dashed #ff9f43; 
    
    border-radius: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.blog-image-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

/* Hover Effect */
.blog-item:hover .blog-image-box {
    border-color: #5352ed; /* Turns blue on hover */
}

/* Text Styling */
.blog-content h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #2f3542;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s;
}

.blog-item:hover .blog-content h3 {
    color: #ff4757;
}

.blog-content p {
    color: #747d8c;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: #2f3542;
    text-decoration: underline;
    font-size: 1rem;
    transition: color 0.3s;
}

.read-more:hover {
    color: #ff4757;
    text-decoration: none;
}


/* --- CONTACT INFO SECTION --- */
.contact-info-section {
    padding: 60px 5%;
    background-color: #fff0f3;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Optional subtle divider */
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Spreads items out evenly */
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

/* --- INFO BOX ITEM --- */
.info-box {
    display: flex;
    align-items: flex-start; /* Aligns icon with top of text */
    gap: 20px;
    flex: 1; /* Makes columns equal width */
    min-width: 280px; /* Prevents squishing on small screens */
}

/* --- ICONS --- */
.info-icon {
    font-size: 2.5rem; /* Size of the icon */
    line-height: 1;
    margin-top: 5px; /* Slight adjustment to align with text */
}

/* Specific Colors matching the image */
.icon-blue {
    color: #3498db; /* Light Blue */
}

.icon-green {
    color: #2ecc71; /* Green */
}

.icon-orange {
    color: #f39c12; /* Orange */
}

/* --- TEXT CONTENT --- */
.info-text h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #2f3542;
    margin-bottom: 8px;
}

.info-text p {
    color: #57606f;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0; /* Resets default paragraph margin */
    font-family: 'Poppins', sans-serif;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column; /* Stack items vertically on mobile */
        gap: 40px;
    }
    
    .info-box {
        width: 100%;
        border-bottom: 1px solid #f1f2f6; /* Divider between stacked items */
        padding-bottom: 20px;
    }
    
    .info-box:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* =========================================
   MAP SECTION STYLES
   ========================================= */
.map-section {
    position: relative;
    width: 100%;
    background-color: #eee;
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make iframe fill the container */
.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.map-container iframe:hover {
    filter: grayscale(0%);
}

/* Floating Address Card */
.map-address-card {
    position: absolute;
    top: 50%;
    left: 10%; 
    transform: translateY(-50%);
    background: #fff0f3;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-width: 350px;
    z-index: 10;
    border-left: 5px solid #f39c12; 
}

.map-address-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #000;
}

.map-address-card p {
    font-family: 'Roboto', sans-serif;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-directions {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: #f39c12;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-directions:hover {
    background-color: #333;
    color: #fff;
}

/* =========================================
   MAP RESPONSIVE (Max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    .map-container {
        height: auto; 
        flex-direction: column-reverse; 
    }

    .map-container iframe {
        height: 300px; 
    }

    .map-address-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        border-left: none;
        border-bottom: 5px solid #f39c12;
        text-align: center;
    }
}


/* --- CONTACT FORM SECTION --- */
.contact-form-section {
    padding: 80px 5%;
    background-color: #fff0f3;
    text-align: center;
}

.form-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* --- HEADER --- */
.contact-header {
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-header h2 {
    font-family: 'Nunito', sans-serif; /* Or your site's heading font */
    font-size: 3rem;
    color: #5352ed; /* The Blue Color */
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-header p {
    color: #57606f;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- FORM LAYOUT --- */
.main-form {
    width: 100%;
}

/* The Grid for the top 3 inputs */
.form-row {
    display: flex;
    gap: 30px; /* Space between inputs */
    margin-bottom: 30px;
}

/* Shared Input Styles */
.input-field, 
.textarea-field {
    width: 100%;
    background-color: #cceeff; /* The Light Blue Background color */
    border: none;
    border-radius: 5px; /* Subtle rounded corners */
    padding: 15px 20px;
    font-size: 0.95rem;
    color: #57606f;
    outline: none;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s;
}

/* Focus Effect */
.input-field:focus, 
.textarea-field:focus {
    background-color: #b3e0ff; /* Slightly darker blue on click */
}

/* Placeholder Text Color */
::placeholder {
    color: #7f8fa6;
    opacity: 1;
}

/* Textarea Specifics */
.textarea-field {
    min-height: 200px; /* Makes the box tall */
    resize: none; /* Disables resizing corner */
}

/* --- BUTTON (Optional) --- */
.form-btn-wrapper {
    margin-top: 30px;
    text-align: left; /* Or center if preferred */
}

.btn-submit {
    background-color: #ff4757; /* Pink Button */
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #5352ed;
    transform: translateY(-3px);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column; /* Stack inputs vertically on mobile */
        gap: 20px;
    }
    
    .contact-header h2 {
        font-size: 2.2rem;
    }
}


/* --- GALLERY SECTION --- */
.gallery-section {
    padding: 80px 5%;
    background-color: #fff0f3;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    align-items: center;    /* Centers everything horizontally */
    gap: 50px;              /* Space between Text and Images */
}

/* Header Styling */
.gallery-header {
    text-align: center;
    max-width: 700px;
}

.gallery-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    color: #5352ed;
    font-weight: 800;
    margin-bottom: 15px;
    margin-top: 0;
}

.gallery-header p {
    color: #57606f;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- GALLERY GRID --- */
.gallery-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 30px;
}

/* --- GALLERY ITEM --- */
.gallery-item {
    position: relative;
    padding: 10px;
    border: 2px dashed #ff9f43; /* Orange/Pink Border */
    border-radius: 20px;
    cursor: pointer;
    background: #fff0f3;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    background-color: #f0f0f0;
}

.gallery-item:hover {
    border-color: #5352ed;
    transform: translateY(-5px);
}

/* --- LIGHTBOX (Popup) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.caption {
    margin-top: 15px;
    color: white;
    font-size: 1.2rem;
    font-family: sans-serif;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Tablet */
    }
}
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 Column on Mobile */
    }
    .gallery-header h2 {
        font-size: 2rem;
    }
}

/* --- CLASSES SECTION --- */
.classes-section {
    padding: 80px 5%;
    background-color: #fff0f3;
}

.classes-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns Layout */
    gap: 30px;
}

/* --- THE CARD --- */
.class-card {
    border: 2px dashed #ff9f43; /* The Pink/Orange Dashed Border */
    border-radius: 20px;
    padding: 15px; /* Space inside the dashed line */
    background: #fff;
    transition: transform 0.3s ease;
}

.class-card:hover {
    border-color: #5352ed; /* Turns Blue on Hover */
    transform: translateY(-5px);
}

/* --- IMAGE AREA --- */
.class-img-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.class-img-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px; /* Rounded corners for image */
    display: block;
}

/* Yellow Time Badge */
.class-time {
    position: absolute;
    bottom: -15px; /* Overlaps bottom of image */
    left: 50%;
    transform: translateX(-50%); /* Centers it */
    background-color: #fef200; /* Bright Yellow */
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 20px;
    white-space: nowrap;
    font-family: 'Nunito', sans-serif;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* --- TEXT CONTENT --- */
.class-content {
    text-align: left;
    padding: 10px 5px;
    margin-bottom: 10px;
}

.class-content h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    color: #ff4757; /* Pink Title */
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.class-content p {
    color: #57606f;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- BOTTOM STATS BAR --- */
.class-stats {
    display: flex;
    justify-content: space-between;
    gap: 5px; /* Small gap between colored boxes */
}

.stat-box {
    flex: 1; /* Equal width */
    text-align: center;
    padding: 10px 5px;
    border-radius: 8px;
    color: white;
}

/* Colors for Stats */
.stat-blue { background-color: #56ccf2; }   /* Light Blue */
.stat-green { background-color: #2ecc71; }  /* Green */
.stat-orange { background-color: #f39c12; } /* Orange */

.stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 2px;
}

.stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .classes-container {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Tablet */
    }
}

@media (max-width: 768px) {
    .classes-container {
        grid-template-columns: 1fr; /* 1 Column on Mobile */
    }
}

/* =========================================
   1. HERO SECTION (Pink Gradient & Clouds)
   ========================================= */
.dlab-bnr-inr1 {
    height: 500px;
    padding-top: 100px;
    /* Pink Gradient Background */
    background-image: linear-gradient(rgba(237, 90, 176, 0.8), rgba(237, 90, 176, 0.8)), url('images/pattern.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dlab-bnr-inr-entry1 {
    text-align: center;
    position: relative;
    z-index: 5;
    width: 100%;
}

.dlab-bnr-inr1 h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 3.5rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Breadcrumbs */
.breadcrumb-row1 ul {
    list-style: none;
    padding: 10px 25px;
    margin: 0;
    background: rgba(255,255,255,0.1);
    display: inline-block;
    border-radius: 50px;
}

.breadcrumb-row1 li {
    display: inline-block;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.breadcrumb-row1 li a {
    color: #fff;
    text-decoration: none;
    margin-right: 5px;
}

.breadcrumb-row1 li:not(:last-child)::after {
    content: "\f105"; /* FontAwesome Arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin: 0 10px;
}

/* Cloud Animations */
.dlab-bnr-inr1:after,
.dlab-bnr-inr1:before {
    content: "";
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-repeat: repeat-x;
}

.dlab-bnr-inr1:after {
    background-image: url('images/bg-cloud1.png'); /* Ensure this image exists */
    animation: scroll 40s infinite linear;
}

.dlab-bnr-inr1:before {
    background-image: url('images/bg-cloud2.png'); /* Ensure this image exists */
    animation: scrollup 45s infinite linear;
}

@keyframes scroll { 0% { background-position: 0 bottom; } 100% { background-position: 1200px bottom; } }
@keyframes scrollup { 0% { background-position: 0 bottom; } 100% { background-position: -1500px bottom; } }

/* =========================================
   2. BLOG GRID DESIGN (Yellow Cards)
   ========================================= */
.blog-grid-section {
    padding: 80px 5%;
    background-color: #fff0f3;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: #fff;
}

.blog-card:hover { transform: translateY(-10px); }

.blog-img { height: 250px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }

/* Yellow Content Box */
.blog-body {
    background-color: #fef200; /* Bright Yellow */
    padding: 30px;
    text-align: left;
}

.blog-body h3 a {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #2f3542;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s;
}
.blog-body h3 a:hover { color: #ff4757; }

.blog-meta {
    font-size: 0.8rem;
    color: #5352ed;
    font-weight: 700;
    margin: 15px 0;
    display: flex;
    gap: 15px;
}

.blog-body p { color: #57606f; font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; }

/* Black Button */
.read-more-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.3s;
}
.read-more-btn:hover { background-color: #ff4757; }

/* =========================================
   3. BLOG DETAIL PAGE DESIGN
   ========================================= */
.single-post-wrapper { max-width: 800px; margin: 60px auto; }
.post-thumbnail img { width: 100%; border-radius: 20px; margin-bottom: 30px; }
.post-meta-top { margin-bottom: 20px; color: #888; font-weight: 600; }
.post-meta-top span { margin-right: 20px; }
.post-content h2 { font-family: 'Nunito', sans-serif; font-size: 2rem; color: #2f3542; margin-bottom: 20px; }
.post-content p { font-size: 1.05rem; line-height: 1.8; color: #57606f; margin-bottom: 20px; }

blockquote {
    background: #fef200;
    padding: 30px;
    border-left: 5px solid #000;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 700;
    color: #2f3542;
    margin: 30px 0;
    border-radius: 10px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .dlab-bnr-inr1 { height: 300px; }
    .dlab-bnr-inr1 h1 { font-size: 2.5rem; }
    .blog-grid { grid-template-columns: 1fr; }
}

/* --- POPUP FORM STYLES --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.popup-content.form-popup {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px; /* Compact width for forms */
    position: relative;
    border-top: 5px solid #5352ed; /* Blue top border */
    box-shadow: 0 20px 25px rgba(0,0,0,0.2);
    animation: popupFadeIn 0.5s ease-out;
}

.popup-header {
    text-align: center;
    margin-bottom: 20px;
}
.popup-header h3 {
    color: #2f3542;
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}
.popup-header p {
    color: #ff4757;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Input Fields */
.popup-form .form-group {
    margin-bottom: 15px;
}

.popup-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #f1f2f6;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.popup-form input:focus {
    border-color: #5352ed; /* Blue border on focus */
    background-color: #fcf6e7; /* Light beige focus background */
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #5352ed;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}
.submit-btn:hover {
    background-color: #ff4757; /* Changes to Pink on hover */
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #a4b0be;
    cursor: pointer;
}
.close-btn:hover { color: #ff4757; }

/* Animation */
@keyframes popupFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}



/* --- PARENT JOURNEY SECTION --- */
.journey-section {
    padding: 80px 0;
    background-color: #fff0f3;
    text-align: center;
    position: relative;
}

.journey-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.journey-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2f3542;
    margin-bottom: 10px;
}
.journey-header .highlight-text { color: #5352ed; }
.journey-subtitle {
    color: #747d8c;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

/* Timeline Container */
.journey-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 20px;
    margin-bottom: 50px;
}

/* Dotted Line Connector (Desktop) */
.journey-steps::before {
    content: "";
    position: absolute;
    top: 50px; 
    left: 60px;
    right: 60px;
    height: 3px;
    /* Dotted line styling */
    background-image: linear-gradient(to right, #ccc 40%, rgba(255,255,255,0) 0%);
    background-position: bottom;
    background-size: 15px 3px;
    background-repeat: repeat-x;
    z-index: 0;
}

/* Step Card */
.step-card {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Icons (Pastel Colors) */
.step-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Pastel Color Variations */
.pastel-blue   { background-color: #e3f2fd; color: #1e88e5; }
.pastel-pink   { background-color: #fce4ec; color: #e91e63; }
.pastel-yellow { background-color: #fff9c4; color: #fbc02d; }
.pastel-purple { background-color: #f3e5f5; color: #8e24aa; }
.pastel-green  { background-color: #e8f5e9; color: #43a047; }

.step-card:hover .step-icon {
    transform: translateY(-10px);
}

/* Number Badge */
.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background-color: #5352ed;
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
}

/* Text */
.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2f3542;
    margin-bottom: 10px;
}
.step-card p {
    font-size: 0.9rem;
    color: #747d8c;
    line-height: 1.5;
    padding: 0 10px;
}

/* CTA Button Area */
.journey-cta {
    margin-top: 40px;
}
.journey-cta .btn-primary {
    background-color: #ff4757;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}
.journey-cta .btn-primary:hover {
    background-color: #5352ed;
    transform: translateY(-3px);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .journey-steps {
        flex-direction: column; /* Vertical Stack */
        gap: 40px;
    }
    
    /* Hide horizontal line */
    .journey-steps::before { display: none; }

    /* Add vertical connecting line instead */
    .journey-steps {
        position: relative;
    }
    /* Creates a vertical line down the middle */
    .journey-steps::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background-color: #f1f1f1;
        z-index: 0;
        transform: translateX(-50%);
    }

    .step-card {
        background: white;
        padding: 10px;
        /* Ensure card sits on top of the vertical line */
        z-index: 1; 
    }
}



/* --- FOUNDER SECTION --- */
.founder-section {
    padding: 80px 0;
    background-color: #fcf6e7; /* Light beige/yellow background */
}

.founder-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Image Styling */
.founder-image {
    flex: 1;
    position: relative;
}

.founder-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 15px 15px 0px #ff4757; /* Offset pink border effect */
    border: 5px solid white;
}

/* Text Styling */
.founder-text {
    flex: 1.5;
}

.founder-text h4 {
    color: #5352ed;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 25px;
    font-family: 'Nunito', sans-serif;
}

.founder-text blockquote {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: #2f3542;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 20px 0;
}

.founder-text .highlight {
    color: #ff4757;
    font-weight: 700;
}

.founder-sign p {
    font-weight: 800;
    font-size: 1.1rem;
    color: #2f3542;
}


/* --- CAROUSEL LAYOUT --- */
.testimonial-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 50px; /* Space for arrows */
}

.carousel-viewport {
    overflow: hidden; /* Hides the cards outside the frame */
}

.carousel-track {
    display: flex;
    gap: 20px; /* Space between cards */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 14px); /* Show 3 cards on desktop */
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* --- NAVIGATION ARROWS --- */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #4834d4;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.nav-arrow:hover { background: #ff4757; }
.prev-btn { left: 0; }
.next-btn { right: 0; }

/* --- CARD MEDIA COLORS --- */
.bg-peach { background-color: #fff4d1; }
.bg-mint  { background-color: #55efc4; }
.bg-cyan  { background-color: #81ecec; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .testimonial-card { flex: 0 0 calc(50% - 10px); } /* 2 cards */
}

@media (max-width: 768px) {
    .testimonial-carousel-wrapper { padding: 0 10px; }
    .testimonial-card { flex: 0 0 100%; } /* 1 card */
    .nav-arrow { width: 35px; height: 35px; font-size: 0.8rem; }
}

.review-media {
    height: 220px; /* Fixed height for consistency */
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.review-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This prevents the image from looking squashed */
}

.play-btn-circle {
    position: absolute;
    z-index: 5;
    background: #ff4757;
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* --- FIXED VIDEO MODAL (ORIGINAL SIZE) --- */
#videoModal {
    display: none; /* Hidden by default */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9); /* Dark backdrop */
    z-index: 9999 !important; 
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.video-container {
    position: relative;
    /* Use 'fit-content' so the box only as large as the video file */
    width: fit-content;
    max-width: 95%; /* Safety margin for mobile */
    max-height: 90vh; /* Safety margin for height */
    background: #000;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.video-container video {
    /* Use 'block' and 'auto' to maintain original aspect ratio */
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh; /* Prevents vertical cutting on phones */
    object-fit: contain; /* Ensures no part of the frame is clipped */
}

/* Close Button Positioning */
#videoModal .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}



/* --- GALLERY TABS STYLING --- */
.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    border: none;
    background-color: white; /* Clean white background */
    padding: 10px 25px;
    border-radius: 30px; /* Pill shape */
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #57606f;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05); /* Soft shadow */
    transition: 0.3s;
    border: 2px solid transparent;
}

/* Hover State */
.filter-btn:hover {
    color: #5352ed;
    background-color: #f1f2f6;
}

/* ACTIVE STATE (The selected tab) */
.filter-btn.active {
    background-color: #5352ed; /* Blue Background */
    color: white;
    box-shadow: 0 5px 15px rgba(83, 82, 237, 0.4);
}

/* --- ANIMATION FOR FILTERING --- */
/* Class to hide items */
.gallery-item.hide {
    display: none; 
}
/* Class to show items with animation */
.gallery-item.show {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ... Keep the Lightbox CSS from the previous response ... */

/* --- LIGHTBOX (POPUP) STYLES --- */
.lightbox {
    display: none; /* Hidden */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content-wrapper {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

/* The Image inside Lightbox */
.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
    border: 2px solid white;
}

/* The Video inside Lightbox */
.lightbox-video {
    width: 800px;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
    outline: none;
}

/* Caption */
#lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.2rem;
    font-family: 'Nunito', sans-serif;
}

/* Close Button */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.close-lightbox:hover { color: #ff4757; }


/* --- BLOG SECTION STYLES --- */
.blog-section {
    padding: 80px 0;
    background-color: #fff0f3;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header is reused from previous sections, but ensuring styles here */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: 'Nunito', sans-serif; font-size: 2.5rem; font-weight: 800; color: #2f3542; margin-bottom: 10px; }
.section-header p { color: #747d8c; }

/* Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 30px;
    margin-bottom: 50px;
}

/* Card Styling */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden; /* Keeps image corners rounded */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f1f1f1;
}

.blog-card:hover {
    transform: translateY(-10px); /* Lifts up on hover */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Image Area */
.blog-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.1); /* Zoom effect */
}

/* Date Badge */
.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ff4757;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
}

/* Content Area */
.blog-content {
    padding: 25px;
    text-align: left;
}

.blog-cat {
    color: #5352ed;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #2f3542;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #747d8c;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Read More Link */
.read-more {
    text-decoration: none;
    color: #2f3542;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #ff4757;
    gap: 10px; /* Moves arrow slightly */
}

/* CTA Wrapper */
.blog-cta-wrapper {
    text-align: center;
    margin-top: 20px;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- ABOUT SECTION STYLES --- */
.about-section {
    padding: 80px 0;
    background-color: #fff0f3;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- PART 1: INTRO SPLIT LAYOUT --- */
.about-intro {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px; /* Space between Intro and Philosophy */
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 #fcf6e7; /* Offset Beige Shadow */
    border: 3px solid #f1f1f1;
}

/* Typography */
.sub-heading {
    color: #ff4757;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.about-text h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2f3542;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    font-family: 'Poppins', sans-serif;
    color: #57606f;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* Founder Quote Box inside About */
.founder-quote-box {
    background: #f1f2f6;
    padding: 20px;
    border-left: 5px solid #5352ed;
    border-radius: 0 10px 10px 0;
    margin-top: 20px;
}

.founder-quote-box i {
    color: #5352ed;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.founder-quote-box p {
    font-style: italic;
    font-weight: 600;
    color: #2f3542;
    margin-bottom: 5px;
}

.founder-quote-box span {
    font-size: 0.9rem;
    color: #ff4757;
    font-weight: 700;
}

/* --- PART 2: PHILOSOPHY GRID --- */
.philosophy-section {
    text-align: center;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 30px;
    margin-top: 40px;
}

/* Philosophy Cards */
.philosophy-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-bottom: 5px solid transparent; /* Prepare for colored border */
}

.philosophy-card:hover {
    transform: translateY(-10px);
}

/* Icon Styling */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
}

.philosophy-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #2f3542;
}

.philosophy-card p {
    font-size: 0.95rem;
    color: #747d8c;
    line-height: 1.5;
}

/* Specific Card Colors */
/* Blue Card */
.card-blue { border-bottom-color: #5352ed; }
.card-blue .icon-circle { background-color: #5352ed; box-shadow: 0 10px 20px rgba(83, 82, 237, 0.3); }

/* Yellow Card */
.card-yellow { border-bottom-color: #fbc531; }
.card-yellow .icon-circle { background-color: #fbc531; box-shadow: 0 10px 20px rgba(251, 197, 49, 0.3); }

/* Pink Card */
.card-pink { border-bottom-color: #ff4757; }
.card-pink .icon-circle { background-color: #ff4757; box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3); }


/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    /* Stack Intro */
    .about-intro {
        flex-direction: column;
        text-align: center; /* Center text on mobile */
        gap: 30px;
    }

    .about-image img {
        box-shadow: 10px 10px 0 #fcf6e7; /* Smaller shadow on mobile */
    }

    /* Stack Philosophy Grid */
    .philosophy-grid {
        grid-template-columns: 1fr; /* 1 Column */
        gap: 20px;
    }

    .founder-quote-box {
        text-align: left; /* Keep quote left-aligned even if rest is centered */
    }
}


/* --- CLASSES SECTION FIXED --- */
.classes-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    overflow: hidden; /* Prevents overflow issues */
}

.classes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
    /* CRITICAL FIX: Forces vertical layout, stops side-by-side squishing */
    display: block !important; 
    width: 100%;
}

/* --- PART 1: CORE PROGRAMS --- */
.section-header {
    margin-bottom: 50px;
}

.program-grid {
    display: grid;
    /* Forces 3 equal columns */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-bottom: 80px;
    width: 100%;
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); /* Soft shadow */
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column; /* Ensures content stacks inside card */
}

.program-card:hover {
    transform: translateY(-10px);
}

/* Header Colors */
.card-top {
    padding: 30px 20px;
    color: white;
    text-align: center;
}
.color-blue { background: #5352ed; }
.color-pink { background: #ff4757; }
.color-yellow { background: #ffa502; }

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.2);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
}

.card-top h3 {
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

.age-badge {
    background: rgba(0,0,0,0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 10px;
}

/* Card Content */
.card-body {
    padding: 25px;
    text-align: left;
    flex: 1; /* Pushes button to bottom */
    display: flex;
    flex-direction: column;
}

.program-desc {
    color: #57606f;
    margin-bottom: 20px;
    line-height: 1.5;
}

.program-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    flex: 1;
}

.program-features li {
    margin-bottom: 8px;
    color: #2f3542;
    font-size: 0.9rem;
}
.program-features i { color: #2ed573; margin-right: 8px; }

.btn-program {
    text-align: center;
    background: #f1f2f6;
    color: #2f3542;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}
.btn-program:hover {
    background: #2f3542;
    color: white;
}

/* --- PART 2: HOBBY CLASSES --- */
.hobby-section {
    padding-top: 40px;
    border-top: 2px dashed #ddd; /* Divider line */
    width: 100%;
}

.hobby-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.hobby-item {
    background: white;
    width: 150px;
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid transparent;
}

.hobby-item:hover {
    transform: translateY(-5px);
    border-color: #5352ed;
    box-shadow: 0 10px 20px rgba(83, 82, 237, 0.15);
}

.hobby-icon {
    font-size: 2rem;
    color: #5352ed;
    margin-bottom: 15px;
}

.hobby-item h4 {
    margin: 0;
    font-size: 1rem;
    color: #2f3542;
    font-weight: 700;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .program-grid {
        grid-template-columns: 1fr; /* Stack cards vertically on phone */
        max-width: 400px; /* Limit width for nice look */
        margin-left: auto;
        margin-right: auto;
    }

    .hobby-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 items per row on phone */
    }
    .hobby-item { width: 100%; }
}


/* --- PAGE HEADER BANNER --- */
.page-header-banner {
    background: #f1f2f6;
    padding: 60px 0;
    text-align: center;
    border-bottom: 5px solid #5352ed;
}

.banner-content h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    color: #5352ed;
    font-weight: 800;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 1.2rem;
    color: #747d8c;
}

/* --- INFO SECTION (Age, Docs, Batches) --- */
.info-section {
    padding: 80px 0;
    background-color: #fff0f3;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Info Card */
.info-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.info-card:hover { transform: translateY(-5px); }

/* Header Colors */
.info-header {
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}
.info-header i { font-size: 1.5rem; }
.info-header h3 { margin: 0; font-family: 'Nunito', sans-serif; font-size: 1.3rem; }

.color-blue { background: #5352ed; }
.color-pink { background: #ff4757; }
.color-yellow { background: #ffa502; }

/* Body Content */
.info-body { padding: 25px; }

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    color: #2f3542;
    font-size: 0.95rem;
}
.info-list li:last-child { border-bottom: none; }

/* Checkmark List for Docs */
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list i { color: #2ed573; }

/* Batch Styling */
.batch-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #5352ed;
}

.batch-box h4 { margin: 0 0 5px 0; color: #2f3542; }
.batch-box p { margin: 0 0 10px 0; color: #57606f; font-size: 0.9rem; }

.status {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
}
.status.open { background: #dff9fb; color: #22a6b3; }
.status.closed { background: #ffdd59; color: #e58e26; }

/* --- CTA SECTION --- */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(47, 53, 66, 0.9), rgba(47, 53, 66, 0.9)), url('images/bg-pattern.jpg');
    background-size: cover;
    text-align: center;
    color: white;
}

.cta-content h2 { font-family: 'Nunito', sans-serif; font-size: 2.5rem; margin-bottom: 10px; }
.cta-content p { font-size: 1.1rem; margin-bottom: 30px; color: #dfe4ea; }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-3px); }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .info-container {
        grid-template-columns: 1fr; /* Stack Cards */
    }
    
    .journey-steps {
        flex-direction: column; /* Re-apply stacked timeline from before */
        gap: 40px;
    }
    .journey-steps::before { display: none; } /* Hide horizontal line */
}


/* --- ADMISSION FORM SECTION --- */
.admission-form-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.form-container {
    max-width: 800px; /* Limits width for better readability */
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-top: 5px solid #5352ed; /* Blue accent top */
}

/* Header */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}
.form-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 2rem;
    color: #2f3542;
    margin-bottom: 10px;
}
.form-header p { color: #747d8c; }

/* Grid Layout for Inputs */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1; /* Makes both inputs equal width */
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

/* Labels & Inputs */
.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2f3542;
    margin-bottom: 8px;
}

.required { color: #ff4757; }

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #f1f2f6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: 0.3s;
    background: #fdfdfd;
}

/* Focus Effect */
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #5352ed;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(83, 82, 237, 0.1);
}

/* Submit Button */
.btn-submit-form {
    width: 100%;
    padding: 15px;
    background-color: #ff4757;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

.btn-submit-form:hover {
    background-color: #5352ed;
    transform: translateY(-3px);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .form-container {
        padding: 20px;
        width: 90%; /* Fit screen better on mobile */
    }

    .form-row {
        flex-direction: column; /* Stack inputs vertically */
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
}


/* --- GALLERY PAGE BANNER --- */
/* (Reusing the header style from Admissions page for consistency) */
.page-header-banner {
    background: #f1f2f6;
    padding: 60px 0;
    text-align: center;
    border-bottom: 5px solid #5352ed;
}

.banner-content h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    color: #5352ed;
    font-weight: 800;
}
.banner-content p { color: #747d8c; font-size: 1.2rem; }


/* --- GALLERY GRID SECTION --- */
.gallery-page-section {
    padding: 60px 0;
    background-color: #fff0f3;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Filter Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    border: none;
    background-color: #f1f2f6;
    padding: 10px 25px;
    border-radius: 30px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #57606f;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #5352ed;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(83, 82, 237, 0.3);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    /* Responsive: Auto-fit columns, minimum 300px wide */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Image Card */
.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Zoom Effect */
}

/* Overlay with Text */
.gallery-item .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(83, 82, 237, 0.8); /* Blue Tint */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s ease;
}

.gallery-item:hover .overlay { opacity: 1; }

.overlay i { font-size: 2rem; margin-bottom: 10px; }
.overlay span { font-weight: 700; font-size: 1.1rem; }

/* Animation for Filtering */
.gallery-item.hide { display: none; }
.gallery-item.show { animation: fadeIn 0.5s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* View More Button Container */
.gallery-view-more {
    text-align: center;
    margin-top: 50px;
    width: 100%;
}

/* Ensure the button matches your theme */
.gallery-view-more .btn-primary {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
}
/* --- LIGHTBOX (Popup) STYLES --- */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}



.lightbox-content-wrapper {
    text-align: center;
    max-width: 90%;
    max-height: 90%;
}

#lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
    border: 3px solid white;
}



#lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.2rem;
    font-family: 'Nunito', sans-serif;
}

.close-lightbox {
    position: absolute;
    top: 20px; right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
.close-lightbox:hover { color: #ff4757; }


/* --- CONTACT PAGE STYLES --- */

.contact-page-section {
    padding: 80px 0;
    background-color: #fff0f3;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 50px;
}

/* --- LEFT: INFO GRID (PASTEL CARDS) --- */
.contact-info-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 Grid */
    gap: 20px;
}

.contact-card {
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
}

/* Pastel Color Classes */
.bg-pastel-peach  { background-color: #ffeaa7; color: #d35400; } /* Adjusted to Warm Yellow/Peach */
.bg-pastel-green  { background-color: #55efc4; color: #00b894; } /* Mint Green */
.bg-pastel-blue   { background-color: #74b9ff; color: #0984e3; } /* Sky Blue */
.bg-pastel-yellow { background-color: #fef200; color: #b79900; } /* Bright Yellow */

/* Specific adjustment for text readability on pastels */
.contact-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #2f3542;
}

.contact-card p {
    font-size: 0.9rem;
    color: #2f3542;
    margin-bottom: 10px;
    opacity: 0.8;
}

.contact-link {
    font-weight: 700;
    text-decoration: none;
    color: #2f3542;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    transition: 0.3s;
}
.contact-link:hover { border-bottom-color: #2f3542; }

.icon-box {
    font-size: 2rem;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.4);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

/* --- RIGHT: CONTACT FORM --- */
.contact-form-wrapper {
    flex: 1.2;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.form-title h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    color: #2f3542;
    margin-bottom: 5px;
}
.form-title p { color: #747d8c; margin-bottom: 30px; }

/* Reuse form styles from previous Admissions step, or define here */
.contact-form-wrapper .form-group { margin-bottom: 20px; }
.contact-form-wrapper label {
    display: block;
    font-weight: 700;
    color: #2f3542;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    border-color: #5352ed;
    background: #fff;
}

.btn-send {
    background-color: #5352ed;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-send:hover {
    background-color: #ff4757;
    transform: translateY(-3px);
}

/* --- CONTACT INFO GRID (Centered & 2 per row) --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Forces exactly 2 columns */
    gap: 20px;
    max-width: 800px; /* Limits width to keep them centered and neat */
    margin: 0 auto;   /* Centers the whole grid block */
    justify-content: center;
}

/* --- MAP SECTION --- */
.map-section {
    line-height: 0; /* Removes gap at bottom of iframe */
    margin-bottom: -5px; /* Ensures it touches footer */
    filter: grayscale(20%); /* Optional: makes map look cleaner */
    transition: 0.5s;
}
.map-section:hover { filter: grayscale(0%); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column-reverse; /* Form on top, Info below on mobile */
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
    }
}


/* =========================================
   WHY CHOOSE US SECTION
   ========================================= */
.why-choose-section {
    padding: 80px 5%;
    background-color: #fdfdfd; /* Very light gray/white */
    text-align: center;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styling */
.sub-heading {
    color: var(--color-pink);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.section-header .highlight-text {
    color: var(--color-blue);
}

.section-header p {
    color: #747d8c;
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}

/* Grid Layout */
.why-grid {
    display: grid;
    /* Responsive Grid: Fits as many as possible */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Card Styling */
.why-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 5px solid transparent; /* Colored border on bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Icons */
.why-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: transform 0.3s;
}

.why-card:hover .why-icon {
    transform: rotate(10deg) scale(1.1);
}

/* Typography */
.why-card h3 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.why-card p {
    color: #57606f;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- INDIVIDUAL CARD COLORS --- */

/* Blue Card */
.card-blue { border-bottom-color: var(--color-blue); }
.card-blue .why-icon { background-color: #e7f1ff; color: var(--color-blue); }

/* Pink Card */
.card-pink { border-bottom-color: var(--color-pink); }
.card-pink .why-icon { background-color: #ffeaa7; color: var(--color-pink); }

/* Yellow Card */
.card-yellow { border-bottom-color: var(--color-yellow); }
.card-yellow .why-icon { background-color: #fff9c4; color: var(--color-yellow); }

/* Green Card */
.card-green { border-bottom-color: var(--color-green); }
.card-green .why-icon { background-color: #e8f5e9; color: var(--color-green); }

/* Purple Card */
.card-purple { border-bottom-color: #9c27b0; }
.card-purple .why-icon { background-color: #f3e5f5; color: #9c27b0; }

/* Mobile Adjustment */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        max-width: 400px;
        margin: 0 auto;
    }
}


/* =========================================
   SCHEDULE SECTION STYLES
   ========================================= */
.schedule-section {
    padding: 80px 5%;
    background-color: #fff0f3; /* Light Cream Background */
    position: relative;
    overflow: hidden;
}

/* Background Animations */
.floating-sun {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 80px;
    animation: spinSun 20s linear infinite;
    opacity: 0.8;
}

.floating-cloud-bg {
    position: absolute;
    top: 150px;
    left: -50px;
    width: 120px;
    animation: floatCloud 25s linear infinite;
    opacity: 0.6;
}

@keyframes spinSun { 100% { transform: rotate(360deg); } }
@keyframes floatCloud { 
    0% { transform: translateX(0); } 
    50% { transform: translateX(50px); } 
    100% { transform: translateX(0); } 
}

.schedule-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px; /* Space between Weekday and Weekend sections */
    position: relative;
    z-index: 2;
}

/* --- WEEKDAY TIMELINE --- */
.daily-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Responsive Row */
    gap: 20px;
    position: relative;
}

/* Connecting Line (Desktop) */
.daily-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: #e1e1e1;
    z-index: 0;
    border-radius: 4px;
    display: none; /* Hidden on mobile, shown on desktop via media query */
}

.timeline-item {
    background: white;
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
    border-top: 5px solid transparent;
}

.timeline-item:hover {
    transform: translateY(-10px);
}

.time-badge {
    display: inline-block;
    background: #2f3542;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.timeline-content .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 15px auto;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-item h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.4;
}

/* --- FIXED TIMELINE COLORS (Using Direct Hex Codes) --- */

/* 1. Welcome (Blue) */
.item-blue { border-top-color: #5352ed; }
.item-blue .icon-box { background-color: #5352ed; color: white; }

/* 2. Circle Time (Pink) */
.item-pink { border-top-color: #ff4757; }
.item-pink .icon-box { background-color: #ff4757; color: white; }

/* 3. Art & Craft (Yellow) */
.item-yellow { border-top-color: #ffa502; }
.item-yellow .icon-box { background-color: #ffa502; color: white; }

/* 4. Snack Time (Green) */
.item-green { border-top-color: #2ed573; }
.item-green .icon-box { background-color: #2ed573; color: white; }

/* 5. Outdoor Play (Purple) - Already Working */
.item-purple { border-top-color: #9c27b0; }
.item-purple .icon-box { background-color: #9c27b0; color: white; }

/* 6. Story Time (Orange) - Already Working */
.item-orange { border-top-color: #e67e22; }
.item-orange .icon-box { background-color: #e67e22; color: white; }

/* Force Icon Visibility */
.timeline-content .icon-box i {
    display: inline-block;
    color: white !important; /* Forces icon to be white */
    z-index: 5;
}


/* --- WEEKEND HOBBY GRID --- */
.hobby-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.hobby-card {
    background: white;
    width: 200px;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 2px solid transparent;
}

.hobby-card:hover {
    transform: scale(1.05) rotate(2deg); /* Fun tilt effect */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.hobby-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: 0.3s;
}

.hobby-card:hover .hobby-icon {
    transform: scale(1.2);
}

.hobby-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.hobby-card p {
    font-size: 0.9rem;
    color: #747d8c;
    line-height: 1.4;
}

/* Hobby Specific Colors */
.hobby-dance { border-color: #ff9ff3; }
.hobby-dance .hobby-icon { color: #ff9ff3; }

.hobby-art { border-color: #54a0ff; }
.hobby-art .hobby-icon { color: #54a0ff; }

.hobby-music { border-color: #feca57; }
.hobby-music .hobby-icon { color: #feca57; }

.hobby-skate { border-color: #ff6b6b; }
.hobby-skate .hobby-icon { color: #ff6b6b; }

.hobby-abacus { border-color: #1dd1a1; }
.hobby-abacus .hobby-icon { color: #1dd1a1; }


/* --- RESPONSIVE ADJUSTMENTS --- */
@media (min-width: 900px) {
    /* Show connecting line only on large screens */
    .daily-timeline::before {
        display: block;
    }
}

@media (max-width: 768px) {
    .daily-timeline {
        grid-template-columns: 1fr; /* Vertical Stack */
        max-width: 400px;
        margin: 0 auto;
    }

    .daily-timeline::before {
        display: none; /* Hide line on mobile */
    }

    /* Create vertical line for mobile instead */
    .daily-timeline {
        border-left: 3px solid #e1e1e1;
        padding-left: 20px;
        margin-left: 20px;
    }

    .timeline-item {
        margin-bottom: 20px;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .timeline-item .icon-box {
        margin: 0; /* Reset auto margin */
        width: 50px; height: 50px; font-size: 1.5rem;
    }
    
    .time-badge {
        position: absolute;
        top: -10px; right: 10px;
    }

    .hobby-grid-container {
        display: grid; /* Switch to Grid for better alignment */
        grid-template-columns: repeat(2, 1fr); /* 2 Equal Columns */
        gap: 10px; /* Space between cards */
        padding: 0 10px;
    }

    .hobby-card {
        width: 100%; /* Make card fill the grid column */
        padding: 20px 10px; /* Smaller padding inside */
        min-height: 180px; /* Ensure consistent height */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hobby-icon {
        font-size: 2rem; /* Smaller icon */
        margin-bottom: 10px;
    }

    .hobby-card h3 {
        font-size: 1rem; /* Smaller Title */
        margin-bottom: 5px;
    }

    .hobby-card p {
        font-size: 0.8rem; /* Smaller text */
        line-height: 1.2;
    }

}


/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Official WhatsApp Green */
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9000; /* Stays above sections but below your video modal */
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #fff;
}

/* Tooltip Text (Optional) */
.whatsapp-float .tooltip-text {
    visibility: hidden;
    width: 100px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    right: 120%;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-float .tooltip-text {
        display: none; /* Hide tooltip on small mobile screens */
    }
}

