/* DevelopKids Website Styles */

/* ============================================
   Variables & Reset
   ============================================ */
:root {
    --primary-color: #4F46E5;
    --primary-light: #6366F1;
    --primary-dark: #4338CA;
    --secondary-color: #EC4899;
    --secondary-light: #F472B6;
    --accent-yellow: #FBBF24;
    --accent-green: #10B981;
    --accent-orange: #F97316;
    --accent-purple: #8B5CF6;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #EC4899 100%);
    --gradient-warm: linear-gradient(135deg, #F97316 0%, #FBBF24 100%);
    --gradient-cool: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    margin-top: 80px;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, #EEF2FF 0%, #FCE7F3 50%, #FEF3C7 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

.btn-full {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

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

.hero-image {
    position: relative;
    height: 500px;
}

.hero-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--gradient-cool);
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
}

.floating-element {
    position: absolute;
    font-size: 64px;
    animation: float 3s ease-in-out infinite;
}

.element-1 { top: 10%; left: 10%; animation-delay: 0s; }
.element-2 { top: 20%; right: 15%; animation-delay: 0.5s; }
.element-3 { top: 50%; left: 5%; animation-delay: 1s; }
.element-4 { top: 60%; right: 10%; animation-delay: 1.5s; }
.element-5 { bottom: 15%; left: 20%; animation-delay: 2s; }
.element-6 { bottom: 10%; right: 20%; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   Programs Section
   ============================================ */
.programs {
    background: var(--bg-light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.program-card.featured {
    border: 3px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.program-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.program-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.program-card > p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.program-features {
    list-style: none;
    margin-bottom: 24px;
}

.program-features li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 14px;
}

.program-age {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 32px;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 10px;
    display: none;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
    display: block;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    display: block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #9CA3AF;
    margin-top: 16px;
    line-height: 1.8;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9CA3AF;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-image {
        height: 350px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        justify-content: space-between;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}