:root {
    --primary-color: #7ec845;
    --secondary-color: #3e5a33;
    --light-green: #a2d86b;
    --dark-green: #2a3c22;
    --background-color: #f8faf5;
    --text-color: #333333;
    --light-gray: #f1f1f1;
    --dark-gray: #555555;
    --white: #ffffff;
}

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Comfortaa', cursive;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 10px;
}

.logo h1 {
    font-size: 24px;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    position: relative;
    color: var(--dark-gray);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover:after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 0 0 50px 50px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: left;
    color: var(--white);
}

.hero-content h2:after {
    margin: 15px 0 0;
    background-color: var(--white);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding-bottom: 20px;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.program-card h3 {
    font-size: 22px;
    margin: 20px;
    color: var(--secondary-color);
}

.program-card p {
    padding: 0 20px;
    margin-bottom: 25px;
}

.program-card .btn {
    margin: 0 20px;
}

.benefits {
    background-color: var(--light-gray);
    border-radius: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.benefit-item {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light-green);
}

.testimonial-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.testimonial-card p {
    font-style: italic;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1.5;
}

.about-content h2 {
    text-align: left;
}

.about-content h2:after {
    margin: 15px 0 0;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact {
    background-color: var(--light-gray);
    border-radius: 50px 50px 0 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    margin: 10px 0;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}

.footer-nav h3,
.footer-policies h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-nav h3:after,
.footer-policies h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

.footer-nav ul li,
.footer-policies ul li {
    margin-bottom: 10px;
}

.footer-nav a:hover,
.footer-policies a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    h2 {
        font-size: 30px;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .program-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .about .container {
        flex-direction: column;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-content h2 {
        text-align: center;
    }

    .hero-content h2:after {
        margin: 15px auto 0;
    }

    .program-cards,
    .benefits-grid,
    .testimonial-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-nav h3:after,
    .footer-policies h3:after {
        margin: 10px auto 0;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 20px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        z-index: 99;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 26px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    section {
        padding: 50px 0;
    }
    
    .benefit-item,
    .testimonial-card,
    .contact-info,
    .contact-form {
        padding: 20px;
    }
}

.thankyou {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.thankyou h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.thankyou p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
}

.thankyou .btn {
    background-color: var(--white);
    color: var(--secondary-color);
    border-color: var(--white);
}

.thankyou .btn:hover {
    background-color: transparent;
    color: var(--white);
}

.policy-page {
    padding: 80px 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-header {
    margin-bottom: 40px;
    text-align: center;
}

.policy-header h1 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.policy-header p {
    color: var(--dark-gray);
}

.policy-content h2 {
    font-size: 24px;
    margin-top: 40px;
    text-align: left;
}

.policy-content h2:after {
    margin: 10px 0 0;
    width: 40px;
}

.policy-content h3 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.policy-content p,
.policy-content ul {
    margin-bottom: 15px;
}

.policy-content ul {
    list-style: disc;
    margin-left: 20px;
}

.policy-content ul li {
    margin-bottom: 8px;
}

.policy-content .date {
    font-style: italic;
    color: var(--dark-gray);
    margin-top: 40px;
}

.policy-content .btn {
    margin-top: 30px;
}

.privacy-policy .policy-header {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 20px;
}

.privacy-policy .policy-content h2 {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.cookies-policy .policy-container {
    border-top: 5px solid var(--light-green);
    border-bottom: 5px solid var(--light-green);
}

.cookies-policy .policy-content h2 {
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--light-green);
}

.cookies-policy .policy-content h2:after {
    display: none;
}

.terms-policy .policy-container {
    position: relative;
}

.terms-policy .policy-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px 20px 0 0;
}

.terms-policy .policy-header h1 {
    display: inline-block;
    padding: 0 20px 10px;
    border-bottom: 3px dashed var(--secondary-color);
}

.terms-policy .policy-content h2 {
    background-color: var(--light-gray);
    padding: 10px 15px;
    border-radius: 10px;
}

.terms-policy .policy-content h2:after {
    display: none;
}