* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #1B1B1B;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --accent-hover: #45a049;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    margin-bottom: 1rem;
}

.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-item:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.hero {
    padding: 8rem 5% 4rem;
    background: linear-gradient(135deg, #f0f4f3, #e8f5e9);
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-button:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.2);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider.bottom {
    bottom: auto;
    top: 0;
    transform: rotate(180deg);
}

.benefits-section {
    padding: 6rem 5%;
    background-color: var(--light-gray);
    position: relative;
}

.benefits-section h2,
.programs-section h2,
.infographic-section h2,
.trainers-section h2,
.gallery-section h2,
.faq-section h2,
.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.programs-section {
    padding: 6rem 5%;
    background-color: #fff;
}

.programs-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background: var(--light-gray);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: scale(1.02);
}

.program-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-content {
    padding: 1.5rem;
}

.program-features {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.program-features span {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.infographic-section {
    padding: 6rem 5%;
    background: linear-gradient(45deg, #f0f4f3, #e8f5e9);
}

.infographic-container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.infographic-item {
    text-align: center;
}

.infographic-icon {
    margin-bottom: 1rem;
}

.infographic-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trainers-section {
    padding: 6rem 5%;
    background-color: #fff;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trainer-card {
    text-align: center;
}

.trainer-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-color);
}

.trainer-qualification {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-section {
    padding: 6rem 5%;
    background-color: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
}

.faq-section {
    padding: 6rem 5%;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #f0f4f3, #e8f5e9);
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.submit-button:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.2);
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-block {
    padding: 1rem;
}

.block-1 { grid-area: 1 / 1 / 2 / 2; }
.block-2 { grid-area: 2 / 1 / 3 / 2; }
.block-3 { grid-area: 3 / 1 / 4 / 2; }
.block-4 { grid-area: 4 / 1 / 5 / 2; }

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, auto);
    }
    
    .block-1 { grid-area: 1 / 1 / 2 / 3; }
    .block-2 { grid-area: 1 / 4 / 2 / 7; }
    .block-3 { grid-area: 2 / 2 / 3 / 4; }
    .block-4 { grid-area: 2 / 5 / 3 / 7; }
}

.footer h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer-cta {
    display: inline-block;
    margin-top: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .benefits-grid,
    .programs-container,
    .trainers-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .infographic-container {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .benefits-grid,
    .programs-container,
    .trainers-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 375px) {
    body {
        font-size: 16px;
    }
    
    .hero {
        padding: 6rem 5% 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .benefits-section,
    .programs-section,
    .infographic-section,
    .trainers-section,
    .gallery-section,
    .faq-section,
    .contact-section {
        padding: 3rem 5%;
    }
    
    .footer {
        padding: 2rem 5% 1rem;
    }
}