@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

:root {
    --green-primary: #2a9d58;
    --green-light: #66c18c;
    --green-dark: #156835;
    --red-primary: #e83a30;
    --red-light: #ff6b63;
    --red-dark: #b72219;
    --cream: #fcf9e9;
    --beige: #f0e9d3;
    --dark: #2d3a2d;
    --gray: #656565;
    --light-gray: #f1f1f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Comfortaa', cursive;
    color: var(--dark);
    background-color: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--red-primary);
    color: white;
    border: 2px solid var(--red-primary);
}

.btn-primary:hover {
    background-color: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-secondary {
    background-color: var(--green-primary);
    color: white;
    border: 2px solid var(--green-primary);
}

.btn-secondary:hover {
    background-color: var(--green-dark);
    border-color: var(--green-dark);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: relative;
    z-index: 100;
    background-color: var(--green-light);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.logo-container h1 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0;
}

.header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: repeating-linear-gradient(135deg, transparent, transparent 10px, rgba(255,255,255,0.1) 10px, rgba(255,255,255,0.1) 20px);
    z-index: -1;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 1.5rem;
}

.main-nav ul li a {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    display: flex;
    min-height: 90vh;
    background: linear-gradient(45deg, var(--green-light), var(--green-primary));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h10v10H0zm10 10h10v10H10z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    z-index: 1;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5% 5% 5% 10%;
    color: white;
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 70%;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 90%;
    height: auto;
    border-radius: 50% 10% / 10% 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-section {
    display: flex;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.about-diagonal {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10%;
    background-color: var(--red-primary);
    transform: skewX(-15deg);
    margin-left: -10%;
    margin-right: 10%;
}

.about-content {
    transform: skewX(15deg);
    color: white;
    max-width: 80%;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 80%;
    height: auto;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.programs-section {
    background-color: var(--beige);
    padding: 5% 5%;
    position: relative;
}

.hexagon-header {
    text-align: center;
    position: relative;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.hexagon-header::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: var(--green-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;
    opacity: 0.2;
}

.hexagon-header h2 {
    font-size: 2.5rem;
    color: var(--green-dark);
    position: relative;
    z-index: 1;
}

.hexagon-header p {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.programs-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.program-card {
    display: flex;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.program-card-alt {
    flex-direction: row-reverse;
}

.program-image {
    flex: 1;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.program-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-content h3 {
    color: var(--green-primary);
    font-size: 1.8rem;
}

.testimonials-section {
    padding: 5% 5%;
    background-color: var(--green-light);
    position: relative;
    color: white;
}

.testimonials-leaves {
    position: relative;
}

.testimonials-leaves::before,
.testimonials-leaves::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--green-dark);
    border-radius: 0 70% 0 70%;
    z-index: 0;
    opacity: 0.1;
}

.testimonials-leaves::before {
    top: -100px;
    left: -100px;
    transform: rotate(45deg);
}

.testimonials-leaves::after {
    bottom: -100px;
    right: -100px;
    transform: rotate(-135deg);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    width: calc(33.333% - 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid white;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    text-align: center;
}

.testimonial-text p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-text h4 {
    font-weight: 600;
    color: var(--beige);
}

.benefits-section {
    padding: 5% 5%;
    background-color: var(--cream);
    position: relative;
}

.benefits-circle {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-circle::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--red-light) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.3;
    border-radius: 50%;
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--red-primary);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.benefit-item {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
    color: var(--green-primary);
    margin-bottom: 1rem;
}

.contact-section {
    display: flex;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.contact-wave {
    flex: 2;
    position: relative;
    background-color: var(--red-primary);
    padding: 5%;
}

.contact-wave::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    bottom: 0;
    width: 100px;
    background-color: var(--red-primary);
    transform: skewX(-5deg);
}

.contact-content {
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section > p {
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-info > div {
    flex: 1;
}

.contact-form-container {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--dark);
    font-family: 'Comfortaa', cursive;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-image img {
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 5% 5% 2% 5%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-content > div {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-small {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    margin-bottom: 0.5rem;
}

.footer-nav h4,
.footer-programs h4,
.footer-contact h4,
.footer-policies h4 {
    color: var(--green-light);
    margin-bottom: 1.5rem;
}

.footer-nav ul li,
.footer-programs ul li,
.footer-policies ul li {
    margin-bottom: 0.7rem;
}

.footer-nav ul li a,
.footer-policies ul li a {
    transition: color 0.3s;
}

.footer-nav ul li a:hover,
.footer-policies ul li a:hover {
    color: var(--green-light);
}

.footer-contact p {
    margin-bottom: 0.7rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1200px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .testimonial {
        width: calc(50% - 2rem);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
    }
    
    .hero-content {
        padding: 5%;
        text-align: center;
    }
    
    .hero-content p {
        max-width: 100%;
    }
    
    .about-section {
        flex-direction: column;
    }
    
    .about-diagonal {
        margin: 0;
        transform: none;
        padding: 5%;
    }
    
    .about-content {
        transform: none;
        max-width: 100%;
    }
    
    .program-card,
    .program-card-alt {
        flex-direction: column;
    }
    
    .program-image {
        min-height: 250px;
    }
    
    .contact-section {
        flex-direction: column;
    }
    
    .contact-wave::before {
        display: none;
    }
    
    .contact-info {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--green-primary);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s;
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav ul li {
        margin: 1rem 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .testimonial {
        width: 100%;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .about-content h2,
    .hexagon-header h2,
    .testimonials-section h2,
    .benefits-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .footer-content > div {
        flex: 100%;
    }
}

@media (max-width: 375px) {
    .logo-container h1 {
        font-size: 1.5rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}