:root {
    --primary-color: #00796b;
    --secondary-color: #a24936;
    --text-color: #333;
    --light-text: #f5f5f5;
    --background-color: #ffffff;
    --light-background: #f5f5f5;
    --dark-background: #1a2421;
    --accent-color: #4db6ac;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

.btn-primary:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--light-text);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateX(5px);
}

section {
    padding: 5rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    position: relative;
}

.divider::before, .divider::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 15px;
    background-color: var(--primary-color);
}

.divider::before {
    left: -20px;
}

.divider::after {
    right: -20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: var(--dark-background);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
}

.logo-container h1 {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 0;
}

.navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.navigation a {
    color: var(--light-text);
    display: flex;
    align-items: center;
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.navigation a:hover::after {
    width: 100%;
}

.nav-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--dark-background) 0%, var(--primary-color) 100%);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    z-index: 2;
    position: relative;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    max-width: 90%;
    border-radius: 50% 30% 45% 25%;
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    width: 100%;
    height: 120px;
}

.about-section {
    background-color: var(--light-background);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transform: perspective(1000px) rotateY(5deg);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.programs-section {
    background-color: var(--background-color);
    position: relative;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(-45deg, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
    z-index: 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.program-card {
    background-color: var(--light-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefits-section {
    background-color: var(--dark-background);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.benefits-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(77, 182, 172, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.benefits-section .section-header h2,
.benefits-section .benefit-item h3 {
    color: var(--light-text);
}

.benefits-infographic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.benefit-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonials-section {
    background-color: var(--light-background);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-image: repeating-linear-gradient(45deg, rgba(0, 121, 107, 0.05) 0px, rgba(0, 121, 107, 0.05) 10px, transparent 10px, transparent 20px);
    z-index: 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.testimonial-content {
    padding: 2rem;
}

.testimonial-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: var(--secondary-color);
    font-family: serif;
    line-height: 1;
}

.nutrition-section {
    background-color: var(--background-color);
    position: relative;
}

.nutrition-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(circle, rgba(162, 73, 54, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.nutrition-calendar {
    background-color: var(--light-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: bold;
    text-align: center;
    padding: 1rem 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(3, auto);
}

.calendar-item {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 120px;
    transition: var(--transition);
}

.calendar-item:hover {
    background-color: rgba(0, 121, 107, 0.05);
}

.calendar-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.calendar-item p {
    font-size: 0.9rem;
}

.gallery-section {
    background-color: var(--light-background);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
    filter: grayscale(20%);
}

.gallery-image:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
    box-shadow: var(--box-shadow);
}

.timeline-section {
    background-color: var(--background-color);
    position: relative;
}

.timeline-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background-image: linear-gradient(0deg, rgba(0, 121, 107, 0.05) 0%, transparent 100%);
    z-index: 0;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    z-index: 2;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-weight: bold;
    z-index: 3;
}

.timeline-content {
    background-color: var(--light-background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-section {
    background-color: var(--light-background);
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-email h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-form-container {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 121, 107, 0.2);
}

.footer {
    background-color: var(--dark-background);
    color: var(--light-text);
    padding: 4rem 2rem 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.footer h4 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul,
.footer-policies ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a,
.footer-policies a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-policies a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 0.8rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 0.8rem;
    flex-grow: 1;
    border: none;
    border-radius: var(--border-radius);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 2rem;
    }
    
    .hero-content {
        order: 2;
        padding: 2rem 2rem 6rem;
    }
    
    .hero-image-container {
        order: 1;
        margin-top: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0 0 0 70px;
        text-align: left;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
    }
}

@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    .navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .navigation a {
        font-size: 0.9rem;
        padding: 0.3rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-header,
    .calendar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .calendar-header span:nth-child(n+4) {
        display: none;
    }
    
    .calendar-item:nth-child(n+13) {
        display: none;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 3rem 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .programs-grid,
    .benefits-infographic,
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .calendar-header,
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calendar-header span:nth-child(n+3) {
        display: none;
    }
    
    .calendar-item:nth-child(n+9) {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 375px) {
    .header {
        padding: 0.8rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-container h1 {
        font-size: 1.2rem;
    }
    
    .navigation ul {
        gap: 0.5rem;
    }
    
    .navigation a {
        font-size: 0.8rem;
        padding: 0.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}