@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #6a1b9a;
    --primary-light: #9c4dcc;
    --primary-dark: #38006b;
    --secondary: #e1bee7;
    --accent: #8e24aa;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background: #f8f8f8;
    --gray-light: #eeeeee;
    --gray: #dddddd;
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comfortaa', cursive;
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    margin-bottom: 2.5rem;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 4rem 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

header {
    background-color: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 60px;
    height: 60px;
}

.logo-container h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--primary);
    font-weight: 600;
    font-family: 'Comfortaa', cursive;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--text-light);
    padding: 0;
}

.hero-content {
    flex: 1;
    padding: 2rem 4rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero-content h2::after {
    display: none;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero-image img {
    max-height: 70vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    background-color: var(--text-light);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.about {
    background-color: var(--background);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.programs {
    background-color: var(--gray-light);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background-color: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary);
}

.program-card p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
}

.benefits {
    background-color: var(--background);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit {
    background-color: var(--text-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.benefit img {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.benefit h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit p {
    font-size: 0.95rem;
    text-align: left;
}

.testimonials {
    background-color: var(--gray-light);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--text-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid var(--primary-light);
}

.testimonial-card h3 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    position: relative;
}

.testimonial-card p::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -20px;
    left: -15px;
    color: var(--secondary);
    opacity: 0.5;
}

.contact {
    background-color: var(--background);
}

.contact-content {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3, .contact-form h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-family: 'Comfortaa', cursive;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-button {
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Comfortaa', cursive;
}

.submit-button:hover {
    background-color: var(--primary-dark);
}

footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-nav h4, .footer-contact h4, .footer-policies h4 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-nav h4::after, .footer-contact h4::after, .footer-policies h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    position: absolute;
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.footer-nav ul, .footer-policies ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a, .footer-policies a {
    color: var(--text-light);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover, .footer-policies a:hover {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding: 4rem 0;
    }

    .hero-content {
        padding: 2rem;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-content {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .logo-container h1 {
        font-size: 1.5rem;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 576px) {
    .logo {
        width: 40px;
        height: 40px;
    }

    .logo-container h1 {
        font-size: 1.2rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .program-cards, .benefits-container, .testimonial-cards {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 375px) {
    .logo-container {
        gap: 0.5rem;
    }

    .logo {
        width: 30px;
        height: 30px;
    }

    .logo-container h1 {
        font-size: 1rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 2rem 1rem;
    }

    .submit-button {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        width: 100%;
    }
}