:root {
    --primary-color: #00573F;
    --secondary-color: #222;
    --accent-color: #A52A2A;
    --light-color: #f5f5f5;
    --dark-color: #111;
    --text-color: #333;
    --bg-color: #fff;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 20%;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 2rem;
    position: relative;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-primary:hover::before {
    transform: scale(1.2);
    opacity: 0;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:active::before {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.3;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.diagonal-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--light-color);
    transform: skewY(-3deg);
    transform-origin: bottom right;
    z-index: -1;
}

.diagonal-divider.reverse {
    transform: skewY(3deg);
    transform-origin: bottom left;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider path {
    fill: var(--light-color);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 60px;
    width: auto;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav li {
    margin-left: 2rem;
}

.desktop-nav a {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0.5rem;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.desktop-nav a.active {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
}

.mobile-nav-wrapper {
    display: none;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    min-height: 80vh;
    position: relative;
    background-color: #f9f9f9;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0, 87, 63, 0.1) 0%, rgba(0, 87, 63, 0.05) 100%);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-wave-divider {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-50%) rotate(-5deg);
    z-index: 0;
}

.hero-wave-divider svg {
    position: relative;
    display: block;
    width: calc(150% + 1.3px);
    height: 150px;
}

.hero-wave-divider path {
    fill: rgba(0, 87, 63, 0.1);
}

.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: var(--light-color);
}

.about-image {
    flex: 1;
    min-width: 300px;
    padding: 1rem;
}

.about-content {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.benefits {
    text-align: center;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-icon img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.infographic {
    margin-top: 4rem;
    padding: 2rem;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: var(--border-radius);
}

.infographic h3 {
    color: var(--light-color);
    margin-bottom: 2rem;
}

.infographic-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
}

.infographic-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.percent {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--light-color);
}

.classes {
    text-align: center;
    background-color: var(--bg-color);
}

.classes-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.class-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.class-item:nth-child(even) {
    flex-direction: row-reverse;
}

.class-image {
    flex: 1;
    min-width: 300px;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.class-content {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.testimonials {
    text-align: center;
    background-color: var(--light-color);
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial-item {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-color);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.gallery {
    text-align: center;
    background-color: var(--bg-color);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog {
    text-align: center;
    background-color: var(--light-color);
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.blog-item {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
    text-align: left;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

.partners {
    text-align: center;
    background-color: var(--bg-color);
}

.partners-map {
    margin-bottom: 2rem;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.partner-item {
    padding: 1rem 2rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.partner-item:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.contact {
    background-color: var(--light-color);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
}

.checkbox-label input {
    width: auto;
    margin-right: 10px;
}

footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 4rem 2rem 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-item h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-item h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-nav ul, .footer-links ul {
    list-style: none;
}

.footer-nav li, .footer-links li {
    margin-bottom: 0.5rem;
}

.footer-nav a, .footer-links a {
    color: #ddd;
    transition: var(--transition);
}

.footer-nav a:hover, .footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-policies a {
    color: #ddd;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav-wrapper {
        display: block;
    }
    
    #hamburger {
        display: none;
    }
    
    #hamburger + label {
        display: block;
        width: 30px;
        height: 25px;
        position: relative;
        cursor: pointer;
    }
    
    #hamburger + label span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background-color: var(--secondary-color);
        transition: var(--transition);
    }
    
    #hamburger + label span:nth-child(1) {
        top: 0;
    }
    
    #hamburger + label span:nth-child(2) {
        top: 10px;
    }
    
    #hamburger + label span:nth-child(3) {
        top: 20px;
    }
    
    #hamburger:checked + label span:nth-child(1) {
        transform: rotate(45deg);
        top: 10px;
    }
    
    #hamburger:checked + label span:nth-child(2) {
        opacity: 0;
    }
    
    #hamburger:checked + label span:nth-child(3) {
        transform: rotate(-45deg);
        top: 10px;
    }
    
    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        padding: 1rem;
        display: none;
    }
    
    #hamburger:checked ~ .mobile-nav {
        display: block;
    }
    
    .mobile-nav ul {
        list-style: none;
    }
    
    .mobile-nav li {
        margin-bottom: 0.8rem;
    }
    
    .mobile-nav a {
        color: var(--light-color);
        display: block;
        padding: 0.5rem;
        transition: var(--transition);
    }
    
    .mobile-nav a:hover {
        color: var(--accent-color);
        padding-left: 1rem;
    }
    
    .hero {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-image {
        order: 1;
    }
    
    .about-image, .about-content {
        flex: 100%;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-image {
        order: 2;
    }
    
    .class-item:nth-child(even) {
        flex-direction: column;
    }
    
    .class-item {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-policies {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .testimonial-item, .blog-item, .benefit-item {
        min-width: 100%;
    }
    
    .percent {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-item {
        text-align: center;
    }
    
    .footer-item h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}