/* style.css - CORRECTED VERSION */
:root {
    --primary: #563cab;
    --secondary: #fee500;
    --dark: #333;
    --light: #f7f9fc;
    --accent: #ff6f61;
    --footer-bg: #222;
    --contact-bg: #000;
    --card-blue: #64cae1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

body {
    display: flex;
    flex-direction: column;
    background: #fff; /* Ensure white background */
}

/* Container */
.container {
    width: min(1450px, 90%);
    margin: 0 auto;
    padding: 0 1rem;
}

.center {
    text-align: center;
}

/* ===== HEADER ===== */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}
.logo b {
    color: var(--accent);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--primary);
    color: #fff;
    padding: 4rem 0;
    display: block;
    visibility: visible;
    opacity: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* HERO IMAGE - IMPORTANT FIXES */
.hero-image {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    object-fit: cover; /* Changed from contain */
}

.hero-actions {
    margin-top: 30px;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
    padding: 0.6rem 1.4rem;
}

.btn.primary:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,111,97,0.3);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

.btn.full {
    width: 100%;
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
}

.section.light {
    background: var(--card-blue);
}

.section-label {
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.2em;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    color: #69b2b0;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-grid img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    margin: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checklist i {
    color: var(--primary);
    margin-top: 0.25rem;
}

/* ===== CARDS SECTION ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: linear-gradient(135deg, #ffffff 0%, #6f52c8 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card h3 {
    margin: 1rem 0;
    color: var(--dark);
}

/* ===== FEATURES BANNER - FIXED IMAGE DISPLAY ===== */
.bannerCard {
    position: relative;
    background-image: url('../images/kidsPlaying.png'); /* Double-check this filename */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 4rem 2rem;
    min-height: 420px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Debug overlay - shows if image loads */
.bannerCard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: rgba(0, 0, 0, 0.3); /* Dark overlay for readability */
    background: transparent;
    z-index: 1;
}

/* Ensure features container is visible */
.features {
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.features h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.features p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 5rem 0;
    background: var(--contact-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: #fff;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
}

.contact-details i {
    color: var(--accent);
    font-size: 1.1rem;
}

.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(86,60,171,0.15);
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
   /* display: inline-flex; */
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.social-icons a:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

hr {
    background-color: #f5f5f5;
    height: 1px;
    border: none;
    margin: 2rem 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-image {
    text-align: center;
}

.footer-image img {
    width: 25%;
    max-width: 160px;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
    /* Header & Navigation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0;
        display: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .desktop-cta {
        display: none;
    }

    .mobile-cta {
        margin-top: 1rem;
    }

    /* Hero Section */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-image {
        margin-top: 2rem;
        order: 2;
    }

    .hero-image img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-text {
        order: 1;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Grid Layouts */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details li {
        justify-content: center;
    }

    /* Banner Card */
    .bannerCard {
        padding: 2rem 1.5rem;
        min-height: 350px;
    }
    
    .features {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }

    .footer-image img {
        max-width: 120px;
        margin: 0 auto;
    }

    .social-icons i {
        font-size: 1.5rem;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-image img {
        max-width: 400px;
    }
    
    .features h3 {
        font-size: 1.5rem;
    }
    
    .features p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .section {
        padding: 3rem 0;
    }

    .contact-section {
        padding: 3rem 0;
    }
    
    .hero-image img {
        max-width: 320px;
    }
    
    .bannerCard {
        min-height: 300px;
        padding: 1.5rem 1rem;
    }
    
    .features {
        padding: 1rem;
    }
    
    .features h3 {
        font-size: 1.3rem;
    }
}