:root {
    --primary-blue: #0057b8;
    --primary-yellow: #ffd700;
    --light-blue: #88c4ff;
    --dark-blue: #003a75;
    --light-yellow: #ffe566;
    --dark-yellow: #c7a800;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
    --background-alt: #e6f0ff;
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Comfortaa', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    color: var(--primary-blue);
}

h2:after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary-yellow);
    margin: 0.8rem auto;
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--dark-blue);
}

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-blue);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.btn-primary:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(100, 100);
        opacity: 0;
    }
}

.btn-contact {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: var(--transition);
}

.btn-contact:hover {
    background-color: var(--dark-yellow);
    color: var(--text-dark);
    transform: scale(1.05);
}

.header {
    background-color: var(--primary-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    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;
}

.logo {
    color: var(--text-light);
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.logo p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--primary-yellow);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-light);
    font-weight: bold;
    position: relative;
}

.nav-links a:not(.btn-contact)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-contact):hover::after {
    width: 100%;
}

.hero {
    position: relative;
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-blue) 100%);
    color: var(--text-light);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    text-align: left;
    margin-bottom: 1.5rem;
}

.hero-content h2:after {
    margin: 0.8rem 0;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: rotate(0);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
    transform-origin: center;
    animation: wave-animation 20s ease-in-out infinite alternate;
}

.wave-divider path {
    fill: var(--background-light);
}

.wave-divider-alt svg {
    transform: rotate(180deg);
}

.wave-divider-alt path {
    fill: var(--background-alt);
}

@keyframes wave-animation {
    0% { transform: translateX(0); }
    50% { transform: translateX(-2%); }
    100% { transform: translateX(0); }
}

.programs {
    padding: 4rem 0 6rem;
    position: relative;
    background-color: var(--background-light);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.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;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.program-card h3 {
    color: var(--primary-blue);
    padding: 1rem 1rem 0.5rem;
}

.program-card p {
    padding: 0 1rem 1.5rem;
}

.benefits {
    padding: 4rem 0 6rem;
    position: relative;
    background-color: var(--background-alt);
}

.benefits-flex {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.benefits-content {
    flex: 3;
}

.benefits-image {
    flex: 2;
}

.benefits-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.benefits-image img:hover {
    transform: scale(1.02);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary-yellow);
}

.benefits-list li:hover {
    transform: translateX(5px);
}

.benefits-list h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.testimonials {
    padding: 4rem 0 6rem;
    position: relative;
    background-color: var(--background-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-yellow);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-content h4 {
    color: var(--primary-blue);
    font-weight: bold;
}

.contact {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

.contact-flex {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.email-link {
    display: inline-block;
    font-weight: bold;
    color: var(--primary-blue);
    margin-top: 0.5rem;
    transition: var(--transition);
    text-decoration: underline;
}

.email-link:hover {
    color: var(--dark-blue);
    transform: translateX(5px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.2);
}

.footer {
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.footer h4 {
    color: var(--primary-yellow);
    margin-bottom: 1.2rem;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-yellow);
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.7rem;
}

.footer a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-content h2 {
        text-align: center;
    }
    
    .hero-content h2:after {
        margin: 0.8rem auto;
    }
    
    .benefits-flex {
        flex-direction: column;
    }
    
    .contact-flex {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .nav-toggle-label {
        display: block;
        margin-right: 1rem;
    }
    
    .nav-toggle-label span, 
    .nav-toggle-label span::before, 
    .nav-toggle-label span::after {
        display: block;
        background: var(--text-light);
        height: 2px;
        width: 2rem;
        border-radius: 2px;
        position: relative;
    }
    
    .nav-toggle-label span::before, 
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
        transition: var(--transition);
    }
    
    .nav-toggle-label span::before {
        bottom: 7px;
    }
    
    .nav-toggle-label span::after {
        top: 7px;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        bottom: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: var(--primary-blue);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        margin: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-toggle:checked ~ .nav-links {
        height: auto;
        padding: 1rem 0;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .program-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 375px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .hero {
        padding: 3rem 0 5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
    }
}