* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --dark-color: #1B1B1B;
    --light-gray: #F5F5F5;
    --text-color: #333333;
    --accent-green: #2E7D32;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', serif;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
#main-nav {
    background: var(--dark-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo span {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-groups {
    display: flex;
    gap: 3rem;
}

.nav-group h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.nav-group ul {
    list-style: none;
}

.nav-group a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-group a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(45deg, var(--dark-color), var(--accent-green));
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.cta-button:active {
    transform: scale(0.98);
}

.hero-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
}

.hero-image-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-img-1 {
    grid-column: span 2;
}

.hero-image-container:hover .hero-img {
    transform: scale(1.05);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* Section Waves */
.section-wave {
    position: relative;
    height: 80px;
    margin-top: -1px;
}

.section-wave svg {
    width: 100%;
    height: 100%;
}

.section-wave.reverse {
    transform: rotate(180deg);
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card svg {
    margin-bottom: 1.5rem;
}

/* Programs Section */
.programs-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.program-content {
    padding: 1.5rem;
}

/* Instructors Section */
.instructors-section {
    padding: 6rem 0;
    background: white;
}

.instructors-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.instructor-card {
    text-align: center;
}

.instructor-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1rem;
}

/* Recommendations Section */
.recommendations-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.infographic {
    margin-top: 3rem;
    text-align: center;
}

.infographic img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Locations Section */
.locations-section {
    padding: 6rem 0;
    background: white;
}

.locations-map {
    margin-top: 3rem;
    text-align: center;
}

.locations-map img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--dark-color);
    color: white;
}

.contact-section h2 {
    color: white;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
}

.submit-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--accent-green);
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-areas: 
        "block1 block2 block3"
        "block5 block4 .";
    gap: 3rem;
}

.footer-block-1 { grid-area: block1; }
.footer-block-2 { grid-area: block2; }
.footer-block-3 { grid-area: block3; }
.footer-block-4 { grid-area: block4; }
.footer-block-5 { grid-area: block5; }

.footer-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-content ul {
    list-style: none;
}

.footer-content li {
    margin-bottom: 0.5rem;
}

.footer-content a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-groups {
        gap: 2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-images {
        grid-template-columns: 1fr;
    }
    
    .hero-img-1 {
        grid-column: auto;
    }
    
    .benefits-grid,
    .programs-grid,
    .instructors-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-areas: 
            "block1 block2"
            "block3 block4"
            "block5 block5";
    }
}

@media (max-width: 768px) {
    #main-nav {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-groups {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-group {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .benefits-grid,
    .programs-grid,
    .instructors-gallery {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-areas: 
            "block1"
            "block2"
            "block3"
            "block4"
            "block5";
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .benefit-card,
    .program-content {
        padding: 1.5rem;
    }
    
    .contact-form {
        margin: 2rem auto 0;
    }
}

@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .benefit-card {
        padding: 1rem;
    }
    
    .program-content {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Special Hover Effects */
.cta-button:hover,
.submit-button:hover {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.nav-group a:hover,
.footer-content a:hover {
    padding-left: 5px;
    transition: all 0.3s ease;
}

.benefit-card:hover svg,
.program-card:hover,
.instructor-card:hover img {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Custom Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
}