/* Global reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties (Variables) for consistent theming */
:root {
    --bg: #fff8f0; /* Main background color - soft cream */
    --surface: #ffffff; /* Surface color for cards and sections */
    --text: #2e2c38; /* Primary text color */
    --muted: #6e6b7a; /* Muted text color */
    --primary: #ff9eb8; /* Primary color - soft pink */
    --primary-dark: #ff7a9c; /* Darker primary color */
    --secondary: #ffd36e; /* Secondary color - soft yellow */
    --accent: #7dd3fc; /* Accent color - light blue */
    --shadow: 0 25px 50px rgba(46, 44, 56, 0.08); /* Box shadow */
}

/* Body and global typography */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background: radial-gradient(circle at top left, rgba(255, 159, 184, 0.18), transparent 35%),
                radial-gradient(circle at bottom right, rgba(125, 211, 252, 0.18), transparent 30%),
                var(--bg);
    color: var(--text);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button, input, textarea, select {
    font: inherit;
}

/* Hero section styles */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 218, 255, 0.65) 0%, rgba(255, 247, 234, 0.65) 100%),
                url('hero-babies.jpg') center/cover no-repeat;
    background-blend-mode: multiply;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 235, 245, 0.4) 0%, rgba(255, 240, 225, 0.4) 100%);
    pointer-events: none;
    box-shadow: inset 0 0 80px rgba(255, 200, 230, 0.2);
}

.hero-content {
    position: relative;
    max-width: 900px;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: rgba(255, 160, 184, 0.2);
    color: #bf1453;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    color: #392f5a;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5), 0 4px 20px rgba(255, 200, 230, 0.3);
}

.hero p {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 680px;
    margin: 0 auto 30px;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.4);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ff7a9c);
    color: #fff;
    box-shadow: 0 18px 30px rgba(255, 122, 156, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--surface);
    color: #3c3450;
    border: 1px solid rgba(99, 64, 124, 0.14);
}

.btn-secondary:hover {
    background: #fff3d8;
}

/* Section and layout styles */
.section {
    padding: 80px 20px;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}

.section-heading span {
    font-weight: 700;
    color: #ff7a9c;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.8rem;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.3);
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    color: #392f5a;
    text-align: center;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.3);
}

/* Section-specific backgrounds */
.programs-section {
    background: linear-gradient(120deg, rgba(255, 250, 245, 0.9) 0%, rgba(255, 236, 210, 0.9) 100%);
}

.about-section {
    background: linear-gradient(120deg, rgba(255, 236, 210, 0.9) 0%, rgba(255, 250, 245, 0.9) 100%);
}

/* Grid layouts for content sections */
.about-grid,
.program-grid,
.schedule-grid,
.support-grid,
.contact-grid {
    display: grid;
    gap: 24px;
}

.about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
}

.feature-card,
.program-card,
.schedule-card,
.support-card,
.contact-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
    border-radius: 32px;
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(203, 158, 183, 0.16);
}

.feature-card h3,
.program-card h3,
.schedule-card h3,
.support-card h3,
.contact-card h3 {
    margin-bottom: 18px;
    color: #6d3d6b;
}

.feature-card p,
.program-card p,
.schedule-card p,
.support-card p,
.contact-card p {
    color: var(--muted);
}

.program-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
}

.schedule-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 40px;
}

.schedule-card {
    background: linear-gradient(180deg, #fffbef 0%, #fff1e4 100%);
}

.support-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 40px;
}

.enroll-section {
    background: linear-gradient(135deg, #fff3ed 0%, #fffbf6 100%);
}

.enroll-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.enroll-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.enroll-list {
    list-style: none;
    display: grid;
    gap: 12px;
    padding-left: 0;
}

.enroll-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
}

.enroll-list li::before {
    content: '🌟';
    position: absolute;
    left: 0;
    top: 0;
}

/* Enrollment form styles */
.enroll-form {
    background: var(--surface);
    border-radius: 32px;
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(181, 148, 190, 0.2);
    display: grid;
    gap: 18px;
}

.enroll-form label {
    display: grid;
    gap: 10px;
    font-weight: 600;
    color: #4a3854;
}

.enroll-form input,
.enroll-form textarea,
.enroll-form select {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(158, 137, 172, 0.25);
    border-radius: 18px;
    padding: 16px 18px;
    color: #4a3854;
}

.enroll-form input:focus,
.enroll-form textarea:focus,
.enroll-form select:focus {
    outline: 2px solid rgba(255, 158, 184, 0.35);
}

.contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 40px;
}

.contact-card {
    text-align: center;
}

.contact-card h3 {
    margin-bottom: 14px;
}

/* Footer styles */
.footer {
    text-align: center;
    padding: 32px 20px;
    color: #6e6b7a;
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.5);
}

@media (max-width: 720px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }
}

/* Responsive design - tablet and mobile */
@media (max-width: 1080px) {
    .about-grid,
    .program-grid,
    .schedule-grid,
    .support-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .enroll-container {
        grid-template-columns: 1fr;
    }
}

/* Mobile responsive design */
@media (max-width: 720px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section {
        padding: 60px 16px;
    }

    .about-grid,
    .program-grid,
    .schedule-grid,
    .support-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }
}
