:root {
    --primary-color: #4CAF50;
    --secondary-color: #8e44ad;
    --accent-color: #c0c0c0;
    --background-color: #1a1a1a;
    --text-color: #333;
    --light-text-color: #f5f5f5;
    --border-radius: 4px;
    --transition-time: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PT Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo Black', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-time) ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 4rem 0;
    position: relative;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-time) ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    animation: underline-pulse 1.5s infinite;
}

@keyframes underline-pulse {
    0% {
        opacity: 0;
        transform: scaleX(0.3);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(0.3);
    }
}

.header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo img {
    height: auto;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-divider {
    margin-left: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.hero {
    padding-top: 6rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    padding-right: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    margin-bottom: 2rem;
}

.hero-btn {
    margin-top: 1rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    z-index: -1;
}

.hero-image-container {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.hero-image-container img {
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.diagonal-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: linear-gradient(45deg, transparent 50%, var(--background-color) 50%);
    background-size: 200px 200px;
}

.about {
    background-color: #f9f9f9;
    position: relative;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1.5;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 5px 5px 0px var(--primary-color);
}

.methodology {
    background-color: white;
    position: relative;
}

.timeline {
    margin: 3rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 2rem;
    top: 4rem;
    bottom: -2rem;
    width: 2px;
    background-color: var(--secondary-color);
}

.timeline-number {
    flex: 0 0 4rem;
    height: 4rem;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding-left: 2rem;
}

.nutrition-elements {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.pyramid, .nutrition-calendar {
    flex: 1;
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pyramid img, .nutrition-calendar img {
    margin: 1rem auto 2rem;
    border-radius: var(--border-radius);
}

.programs {
    background-color: #f9f9f9;
    position: relative;
}

.programs-content {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.program-card {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-time) ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.program-icon img {
    margin: 0 auto;
}

.program-btn {
    margin-top: 1.5rem;
}

.gallery {
    background-color: white;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    transition: transform var(--transition-time) ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: bold;
    text-align: center;
}

.testimonials {
    background-color: #f9f9f9;
    position: relative;
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.testimonial-card {
    display: flex;
    gap: 2rem;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-video {
    flex: 0 0 300px;
    position: relative;
}

.testimonial-video img {
    border-radius: var(--border-radius);
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: bold;
}

.testimonial-content {
    flex: 1;
}

.testimonial-name {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact {
    background-color: white;
}

.contact-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
}

.contact-email, .contact-hours {
    margin-top: 1rem;
}

.contact-email span, .contact-hours span {
    font-weight: bold;
    color: var(--secondary-color);
}

.contact-form-container {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: #f9f9f9;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-btn {
    margin-top: 1rem;
}

.footer {
    position: relative;
}

.footer-gradient {
    background: linear-gradient(135deg, var(--background-color) 0%, var(--primary-color) 100%);
    color: var(--light-text-color);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-logo p {
    margin-top: 1rem;
}

.footer-nav h4, .footer-policies h4, .footer-contact h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer-nav ul, .footer-policies ul {
    list-style: none;
}

.footer-nav li, .footer-policies li {
    margin-bottom: 0.8rem;
}

.footer-nav a, .footer-policies a {
    color: var(--light-text-color);
}

.footer-nav a:hover, .footer-policies a:hover {
    color: var(--accent-color);
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
    }
    
    .hero-image::before {
        display: none;
    }
    
    .about-content, .nutrition-elements, .programs-content {
        flex-direction: column;
    }
    
    .testimonial-card {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-video {
        flex: 0 0 auto;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-list {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item {
        margin: 0.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-divider {
        display: none;
    }
}

@media (max-width: 375px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item {
        margin: 0.3rem 0;
    }
    
    .hero-btn, .program-btn, .form-btn {
        width: 100%;
        text-align: center;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-number {
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        padding-left: 0;
    }
    
    .timeline-item:not(:last-child)::after {
        display: none;
    }
}