: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: #fff;
    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; }

/* --- 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: white;
    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: white;
    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 --- */
.hero {
    position: relative;
    width: 100%;
    height: 90vh; /* Fixed height */
    overflow: hidden;
}

/* Slider Container */
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Individual Slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 5%;
    display: flex;
    align-items: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slide 1 Background (Girl in Red) */
#slide-1 {
    background-image: 
        linear-gradient(to right, #ffffff 45%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0) 100%),
        url('https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
}

/* Slide 2 Background (Children Painting) */
#slide-2 {
    background-image: 
        linear-gradient(to right, #ffffff 45%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0) 100%),
        url('https://images.unsplash.com/photo-1472162072942-cd5147eb3902?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
}

.hero-content {
     max-width: 50%;
    position: relative;
    z-index: 2;
    left: 10px;
}

/* Typography */
h2.hero-title {
    font-size: 3.5rem;
    color: var(--primary-blue);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

p.hero-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
}

/* Buttons */
.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(72, 52, 212, 0.3);
    border: 2px dashed white;
    outline: 2px solid var(--primary-blue);
    outline-offset: -4px;
}

.watch-video {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
}

.play-btn {
    width: 50px;
    height: 50px;
    background-color: #e3e6fc;
    border-radius: 50%;
    display: flex;
    z-index: 5;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }
.social-text { font-weight: 700; color: var(--text-dark); }

/* --- Floating Decorations (Icons) --- */
.decoration-icon {
    position: absolute;
    font-size: 4rem;
    z-index: 10;
}

/* 1. Sun: Top Left of Heading */
.sun-img {
    top: -60px;      /* Move up above the text */
    left: -80px;     /* Move left of the text */
    width: 100px;
    animation: spin-right 20s linear infinite;
}

/* 2. Star: Bottom Left near Buttons */
.star-img {
    top: 400px;
    bottom: 20px;    /* Align with bottom area */
    left: 190px;     /* Move left of the text */
    width: 120px;
    position: relative;
    animation: spin-left 25s linear infinite;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    border: 2px dashed white;
}
.arrow-left { left: 20px; }
.arrow-right { right: 20px; }

/* Floating Buttons (Bottom Left) */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
}
.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}
.btn-support { background-color: #1dd1a1; }
.btn-cart { background-color: #9cd666; }

/* Animations */
@keyframes spin-right { 100% { transform: rotate(360deg); } }
@keyframes spin-left { 100% { transform: rotate(-360deg); } }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .hero-content { max-width: 100%; text-align: center; margin-left: 0;
        padding-top: 60px; /* Space for sun on mobile */ }
    .hero-title { font-size: 2.5rem; }
    .cta-group, .social-proof { justify-content: center; }
    .nav-links { display: none; }
    .top-bar { flex-direction: column; }
    .sun-img {
        top: 0;
        left: 50%;
        animation: spin-right 20s linear infinite;
    }
    .star-img {
    top: 350px;
    bottom: 20px;    /* Align with bottom area */
    left: 100px;     /* Move left of the text */
    width: 90px;
    position: relative;
    z-index: 0;
    animation: spin-left 25s linear infinite;
}
    /* Typography */
h2.hero-title {
    font-size: 3rem;
    color: var(--primary-blue);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.slider-arrow{top: 90%; }
@keyframes spin-right { 100% { transform: rotate(360deg); } }
@keyframes spin-left { 100% { transform: rotate(-360deg); } }
}
    
    /* Make backgrounds darker on mobile for readability */
    #slide-1, #slide-2 {
        background-position: center;
        background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    }
    #slide-2 {
        background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('https://images.unsplash.com/photo-1472162072942-cd5147eb3902?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    }


/* --- STATS SECTION --- */

.stats-section {
    position: relative;
    width: 100%;
    margin-top: 0px; /* Space from section above */
    margin-bottom: 50px; /* Space from section below */
    z-index: 5;
    /* The beige background color */
    background-color: #fcf6e7; 
    /* The dotted pattern background */
    background-image: url(images/bg-pattren1.jpg);
    background-size: cover;
    padding: 60px 0; /* Space for content inside */
}

/* --- The Top Wave (Before Image) --- */
.stats-section::before {
    content: "";
    position: absolute;
    top: -10px; /* Pulls it up above the section */
    left: 0;
    width: 100%;
    height: 35px;
    /* Scalloped shape using radial gradients */
    background-image: url(images/shape-top.png);
    background-repeat: no-repeat;

}

/* --- The Bottom Wave (After Image) --- */
.stats-section::after {
    content: "";
    position: absolute;
    bottom: -20px; /* Pushes it down below the section */
    left: 0;
    width: 100%;
    height: 35px;
    /* Scalloped shape flipped */
    background-image:url(images/shape-bottom.png);
    background-repeat: no-repeat;
}

/* --- Content Styling --- */
.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
    padding: 0 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #2f3542;
    font-weight: 500;
    text-transform: capitalize;
}

/* Vertical Divider Lines */
.stat-divider {
    width: 1px;
    height: 80px;
    background-color: #000;
    opacity: 0.2;
}

/* --- Mobile Responsiveness (2x2 Grid) --- */
@media (max-width: 768px) {
    .stats-section {
        width: 100%;
        padding: 40px 0; /* Adjust padding for mobile */
    }

    .stats-container {
        /* Switch from Flex to Grid */
        display: grid;
        /* Create 2 Equal Columns */
        grid-template-columns: repeat(2, 1fr); 
        /* Spacing: 30px vertical, 10px horizontal */
        gap: 30px 10px; 
        padding: 0 15px;
    }
    
    /* HIDE the lines on mobile so they don't break the grid */
    .stat-divider {
        display: none;
    }
    
    .stat-item h3 {
        font-size: 2.5rem; /* Slightly smaller to fit side-by-side */
        margin-bottom: 5px;
    }

    .stat-item p {
        font-size: 0.9rem; /* Smaller text for better fit */
        line-height: 1.4;
    }
}

/* --- WELCOME SECTION --- */
.welcome-section {
    position: relative; /* Container for absolute animations */
    padding: 80px 5%;
    background-color: #fff;
    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;
}

/* Grid Layout for 4 Items */
.features-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Keeps text above the train */
}

.feature-card {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-box img {
    width: 180px; /* Adjust based on your icon size */
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-box img {
    transform: scale(1.1); /* Slight zoom on hover */
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #2f3542;
    font-weight: 700;
    line-height: 1.4;
}

/* --- 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/wall-bg.png'); 
    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: #5352ed; /* The Primary Blue */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.edu-text p {
    font-family: 'Poppins', sans-serif;
    color: #57606f; /* 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 */
    }
}


/* --- GALLERY SECTION --- */
.gallery-section {
    position: relative;
    padding: 80px 5% 120px 5%; /* Extra bottom padding for train */
    background-color: #ffffff;
    /* Optional: Add your doodle pattern here if you have it */
    /* background-image: url('doodle-bg.png'); */
    /* background-size: cover; */
    overflow: hidden;
    text-align: center;
}

.gallery-header {
    max-width: 700px;
    margin: 0 auto 50px auto;
    position: relative;
    z-index: 2;
}

.gallery-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    color: #5352ed;
    font-weight: 800;
    margin-bottom: 20px;
}

.gallery-header p {
    color: #57606f;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- DECORATIONS --- */
.bike-boy {
    position: absolute;
    top: 50px;
    left: 2%;
    width: 150px; /* Adjust size */
    z-index: 1;
    /* Optional: Slight hover float */
    animation: float-bike 3s ease-in-out infinite alternate;
}

.yellow-cloud {
    position: absolute;
    top: 80px;
    right: 5%;
    width: 120px;
    z-index: 1;
    /* Up Down Animation */
    animation: float-up-down 3s ease-in-out infinite alternate;
}

@keyframes float-up-down {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

@keyframes float-bike {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(2deg); }
}

/* --- GALLERY GRID LAYOUT --- */
.gallery-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Left Column (1 Large Image) */
.gallery-left {
    flex: 4; /* Takes up 40% width */
    height: 400px; /* Fixed height for consistency */
}

.gallery-left img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

/* Right Column (4 Grid Images) */
.gallery-right {
    flex: 6; /* Takes up 60% width */
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    grid-template-rows: 1fr 1fr;    /* 2 Rows */
    gap: 10px;
    height: 400px;
}

.gallery-right img {
    width: 90%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

/* --- TRAIN ANIMATION (Left to Right) --- */
.gallery-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    pointer-events: none;
    z-index: 5;
}

.gallery-train {
    position: absolute;
    bottom: 0;
    left: -250px;
    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 --- */
@media (max-width: 900px) {
    .gallery-container {
        flex-direction: column;
        height: auto;
        align-items: center;
    }
    .gallery-left{
        display: none;
    }

    .gallery-left, .gallery-right {
        flex: auto;
        width: 100%;
        height: auto;
        align-items: center;
        justify-content: center;
    }
    
    .gallery-left { height: 300px; }
    
    .gallery-right {
        grid-template-columns: 1fr; /* Stack images on mobile */
    }

    .bike-boy { width: 100px; top: 10px; }
    .yellow-cloud { width: 80px; top: 30px; }
}


/* --- 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: #ffffff;
    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: #ffffff;
    padding: 80px 5% 80px 5%; /* Extra padding bottom for train */
    position: relative;
    text-align: center;
    overflow: hidden;
    

/* Header */
.blog-header {
    max-width: 700px;
    margin: 0 auto 60px 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: #ffffff;
    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/bg1.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: #ffffff;
    /* 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: 24px;
    height: 24px;
    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/bg6.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: #ffffff;
    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: #ffffff;
    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: #fff;
    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: #ffffff;
    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: #ffffff;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    
    /* --- THIS FIXES THE LAYOUT TO TOP-BOTTOM --- */
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    align-items: center;    /* Centers everything horizontally */
    gap: 50px;              /* Space between Text and Images */
}

/* Header Styling (Top Part) */
.gallery-header {
    text-align: center;     /* Centers text inside the header */
    max-width: 700px;       /* Keeps text from getting too wide */
}

.gallery-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    color: #5352ed;
    font-weight: 800;
    margin-bottom: 15px;
}

.gallery-header p {
    color: #57606f;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- GALLERY GRID (Bottom Part) --- */
.gallery-grid {
    width: 100%;            /* Ensure grid takes full width */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 30px;
}

/* --- GALLERY ITEM --- */
.gallery-item {
    position: relative;
    padding: 10px;
    border: 2px dashed #ff9f43; /* Pink Border */
    border-radius: 20px;
    cursor: pointer;
    background: #fff;
    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; /* Grey placeholder if image is missing */
}

.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;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    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;
}

@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 */
    }
}

/* --- CLASSES SECTION --- */
.classes-section {
    padding: 80px 5%;
    background-color: #ffffff;
}

.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: #ffffff;
}

.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; }
}