.container {
    width: min(100% - 3.2rem, 120rem);
    margin-inline: auto;
}

.grid {
    display: grid;
    gap: 3rem;
}

section {
    padding: 10rem 0;
}

.hero {
    min-height: calc(100vh - 7.2rem);
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 247, 241, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.main-nav {
    padding: 2.4rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 8rem 0;
}

.about {
    background: var(--color-background);
    position: relative;
    z-index: 1;
}

.about-grid {
    display: flex;
    gap: 8rem;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-image-slideshow {
    flex: 1;
}

@media (max-width: 1024px) {
    .about-grid {
        flex-direction: column;
        gap: 6rem;
    }
    
    .about-content, 
    .about-image-slideshow {
        width: 100%;
    }
    
    .about-image-slideshow {
        height: 40rem;
    }

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

.programs {
    background: var(--color-mint);
    position: relative;
    overflow: hidden;
    padding: 12rem 0;
}

.programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, white);
    opacity: 0.4;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    position: relative;
    margin-top: 6rem;
}

.testimonials {
    background: var(--color-sand);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, white);
    opacity: 0.4;
}

.testimonials-grid {
    gap: 4rem;
    position: relative;
}

.contact {
    background: var(--color-background);
}

.cta-banner {
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
}

.grid-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr));
}

@media (max-width: 768px) {
    section {
        padding: 6rem 0;
    }
    
    .container {
        width: min(100% - 2.4rem, 120rem);
    }
    
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 6rem 0;
    }
    
    .grid {
        gap: 2.4rem;
    }
    
    .about-grid {
        gap: 4rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 3.2rem;
        margin-top: 3.2rem;
    }

    .testimonials-grid {
        gap: 3.2rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 4.8rem 0;
    }
    
    .container {
        width: min(100% - 2rem, 120rem);
    }
    
    .hero-content {
        padding: 4rem 0;
    }
    
    .grid {
        gap: 2rem;
    }
    
    .about-grid {
        gap: 3.2rem;
    }

    .about-image-slideshow {
        height: 32rem;
    }
} 