/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #E63946;
    --primary-green: #90BE6D;
    --primary-blue: #4A90E2;
    --primary-yellow: #FFD23F;
    --primary-orange: #FF6B35;
    --purple: #9B59B6;
    --pink: #FF6B9D;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --border-color: #E0E0E0;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Header Styles */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--primary-yellow);
}

.header-top {
    padding: 20px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 100px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

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

.mobile-menu-toggle span {
    width: 30px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 3px;
    transition: 0.3s;
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 100%);
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 18px 25px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    font-family: 'Fredoka', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary-yellow);
    transition: width 0.3s;
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 100%;
}

.nav-menu > li > a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 320px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    list-style: none;
    padding: 12px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    border-radius: 15px;
    border-top: 5px solid var(--primary-yellow);
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    color: var(--text-dark);
    padding: 14px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    position: relative;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(255, 210, 63, 0.15) 0%, rgba(255, 107, 53, 0.1) 100%);
    color: var(--primary-red);
    padding-left: 30px;
    border-bottom-color: rgba(230, 57, 70, 0.1);
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-yellow);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

.resource-icon {
    font-size: 1.4em;
    display: inline-block;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.resource-text {
    flex: 1;
    line-height: 1.4;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 3;
    pointer-events: none;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, 
        #6B46C1 0%,
        rgba(107, 70, 193, 0.95) 25%,
        rgba(107, 70, 193, 0.8) 40%,
        rgba(107, 70, 193, 0.6) 55%,
        rgba(236, 72, 153, 0.5) 70%,
        rgba(236, 72, 153, 0.3) 85%,
        transparent 100%
    );
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 50%;
    margin: 0;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #6B46C1;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 30px;
    border: 2px solid rgba(107, 70, 193, 0.3);
    width: fit-content;
}

.badge-icon {
    font-size: 1.1em;
}

.hero-content-wrapper h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.95;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
}

.btn-tour {
    background: var(--white);
    color: #6B46C1;
    border: 2px solid #6B46C1;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
    font-family: 'Fredoka', sans-serif;
}

.btn-tour:hover {
    background: #6B46C1;
    color: var(--white);
    transform: translateX(5px);
}

.btn-arrow {
    font-size: 1.2em;
    transition: transform 0.3s;
}

.btn-tour:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-curriculum {
    background: #6B46C1;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    text-align: center;
    transition: all 0.3s;
    font-family: 'Fredoka', sans-serif;
}

.btn-curriculum:hover {
    background: var(--white);
    color: #6B46C1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.5em;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--white);
    top: 10%;
    left: 10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-yellow);
    top: 60%;
    right: 15%;
    animation-delay: -2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-orange);
    bottom: 20%;
    left: 20%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Fredoka', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Sections */
.section {
    padding: 100px 20px;
    position: relative;
}

.section:nth-child(even) {
    background: var(--light-bg);
}

.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 3em;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-red);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-orange));
    border-radius: 3px;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.page-header h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.5em;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-text p:first-child {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--primary-blue);
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
    border-radius: 30px;
    padding: 80px;
    text-align: center;
    font-size: 6em;
    box-shadow: var(--shadow-hover);
    transform: rotate(-5deg);
    transition: transform 0.3s;
}

.image-placeholder:hover {
    transform: rotate(0deg) scale(1.05);
}

.about-image-photo {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
    transform: rotate(-5deg);
    transition: transform 0.3s;
    display: block;
    object-fit: cover;
}

.about-image-photo:hover {
    transform: rotate(0deg) scale(1.05);
}

/* Programs Section */
.programs-section {
    background: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.program-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s;
    border: 4px solid transparent;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.program-card:hover::before {
    left: 100%;
}

.program-card:nth-child(1) {
    border-top-color: var(--primary-yellow);
}

.program-card:nth-child(2) {
    border-top-color: var(--primary-blue);
}

.program-card:nth-child(3) {
    border-top-color: var(--primary-green);
}

.program-card:nth-child(4) {
    border-top-color: var(--primary-orange);
}

.program-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-yellow);
}

.program-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

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

.program-card h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 600;
}

.program-card p {
    color: var(--text-light);
    font-size: 1.05em;
    line-height: 1.7;
}

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

.program-detail-card {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s;
    border-left: 6px solid var(--primary-yellow);
}

.program-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary-red);
}

.program-icon-large {
    font-size: 5em;
    margin-bottom: 25px;
    display: block;
}

.program-detail-card h2 {
    font-family: 'Fredoka', sans-serif;
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 2em;
}

.program-detail-card p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card,
.contact-form-card {
    background: var(--white);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    border-top: 6px solid var(--primary-yellow);
}

.contact-info-card h2,
.contact-form-card h2 {
    font-family: 'Fredoka', sans-serif;
    color: var(--primary-red);
    margin-bottom: 30px;
    font-size: 2.2em;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2.5em;
    margin-right: 20px;
    min-width: 60px;
}

.contact-item strong {
    display: block;
    font-family: 'Fredoka', sans-serif;
    color: var(--primary-red);
    margin-bottom: 8px;
    font-size: 1.2em;
}

.instagram-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.instagram-link:hover {
    color: #E4405F;
    transform: translateX(5px);
}

.instagram-link svg {
    transition: transform 0.3s;
}

.instagram-link:hover svg {
    transform: scale(1.2);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 3px solid var(--border-color);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 1em;
    transition: all 0.3s;
    background: var(--light-bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 210, 63, 0.2);
}

/* Content Block */
.content-block {
    background: var(--white);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin: 0 auto;
    border-top: 6px solid var(--primary-yellow);
}

.content-block h2 {
    font-family: 'Fredoka', sans-serif;
    color: var(--primary-red);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2.2em;
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block p {
    margin-bottom: 25px;
    font-size: 1.15em;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
}

.feature-list li {
    padding: 15px 0;
    padding-left: 50px;
    position: relative;
    font-size: 1.15em;
    border-bottom: 2px solid var(--light-bg);
    transition: all 0.3s;
}

.feature-list li:hover {
    padding-left: 60px;
    background: var(--light-bg);
    margin: 0 -20px;
    padding-left: 70px;
    padding-right: 20px;
    border-radius: 10px;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 15px;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.5em;
    background: var(--light-bg);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a252f 100%);
    color: var(--white);
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Fredoka', sans-serif;
    margin-bottom: 25px;
    color: var(--primary-yellow);
    font-size: 1.5em;
}

.footer-section h4 {
    font-size: 1.3em;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 5px 0;
}

.footer-section a:hover {
    color: var(--primary-yellow);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.footer-social {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.2);
}

.social-icon:hover {
    background: linear-gradient(135deg, #E4405F 0%, #F56040 50%, #FCAF45 100%);
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 5px 20px rgba(228, 64, 95, 0.4);
}

.instagram-icon svg {
    width: 24px;
    height: 24px;
}

/* Curriculum Introduction */
.curriculum-intro {
    max-width: 1000px;
    margin: 0 auto 60px;
    text-align: center;
}

.curriculum-intro p {
    font-size: 1.2em;
    color: var(--text-dark);
    line-height: 1.8;
    padding: 40px;
    background: var(--light-bg);
    border-radius: 15px;
    border-left: 5px solid var(--primary-blue);
}

/* Curriculum Overview Section */
.curriculum-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.curriculum-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
    border-top: 5px solid;
}

.curriculum-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.curriculum-approach {
    border-top-color: var(--purple);
}

.curriculum-foundation {
    border-top-color: var(--pink);
}

.curriculum-resources {
    border-top-color: var(--primary-blue);
}

.curriculum-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
}

.curriculum-box h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--text-dark);
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}

.curriculum-box p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05em;
}

/* Benefits Section */
.curriculum-benefits {
    background: var(--light-bg);
    padding: 50px 40px;
    border-radius: 20px;
    margin-bottom: 80px;
    border-left: 6px solid var(--primary-green);
}

.curriculum-benefits .section-title {
    margin-bottom: 30px;
    text-align: left;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    font-size: 1.15em;
    color: var(--text-dark);
    line-height: 1.6;
}

.check-icon {
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.3em;
    background: rgba(144, 190, 109, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Programs for Every Age Section */
.programs-age-section {
    margin-top: 60px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.age-programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.age-program-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-top: 6px solid;
}

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

.age-infants {
    border-top-color: var(--purple);
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, rgba(255, 107, 157, 0.1) 100%);
}

.age-toddlers {
    border-top-color: var(--pink);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(230, 57, 70, 0.1) 100%);
}

.age-preschool {
    border-top-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
}

.age-prek {
    border-top-color: var(--primary-green);
    background: linear-gradient(135deg, rgba(144, 190, 109, 0.1) 0%, rgba(255, 210, 63, 0.1) 100%);
}

.age-program-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    display: block;
}

.age-program-card h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--primary-red);
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.age-range {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.age-description {
    color: var(--text-dark);
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 25px;
}

.age-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.age-features li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-dark);
    font-size: 1em;
    line-height: 1.6;
}

.age-features .check-icon {
    width: 24px;
    height: 24px;
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu > li > a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        margin-top: 0;
        padding: 0;
        border-radius: 0;
        border-top: none;
        transition: opacity 0.3s, visibility 0.3s, max-height 0.3s, padding 0.3s;
    }
    
    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 1000px;
        padding: 12px 0;
    }
    
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        padding-left: 50px;
        color: var(--white);
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.15);
        color: var(--white);
    }
    
    .resource-icon {
        font-size: 1.3em;
    }

    .hero-content-wrapper {
        padding: 60px 30px;
        width: 100%;
        max-width: 100%;
    }

    .hero-content-wrapper h1 {
        font-size: 2.2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .hero-buttons {
        max-width: 100%;
        width: 100%;
    }

    .hero-gradient-overlay {
        background: linear-gradient(to bottom, 
            #6B46C1 0%,
            rgba(107, 70, 193, 0.9) 30%,
            rgba(107, 70, 193, 0.7) 60%,
            rgba(236, 72, 153, 0.5) 100%
        );
    }

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

    .section-title {
        font-size: 2.2em;
    }

    .page-header h1 {
        font-size: 2.2em;
    }

    .programs-grid,
    .programs-detailed {
        grid-template-columns: 1fr !important;
    }

    .curriculum-overview {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 60px 20px;
    }

    .content-block,
    .contact-info-card,
    .contact-form-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-height: 70px;
    }

    .hero-content-wrapper {
        padding: 40px 20px;
    }

    .hero-content-wrapper h1 {
        font-size: 1.8em;
    }


    .section-title {
        font-size: 1.8em;
    }

    .page-header h1 {
        font-size: 1.8em;
    }

    .program-card,
    .program-detail-card {
        padding: 30px 20px;
    }
}
