:root {
    --primary-color: #0a5432;
    --secondary-color: #212121;
    --accent-color: #a3080c;
    --light-accent: #e8d7ba;
    --bg-color: #f9f9f9;
    --text-color: #333;
    --light-text: #f9f9f9;
    --border-color: #e0e0e0;
    --heading-font: 'Josefin Sans', sans-serif;
    --body-font: 'Karla', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--bg-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--heading-font);
    position: relative;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: var(--transition);
}

.btn:hover::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.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-text);
    transform: translateY(-2px);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 180px;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-item {
    position: relative;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -5px;
    right: -5px;
    bottom: -15px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.3;
}

.nav-item a {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--secondary-color);
    padding: 5px;
}

.nav-item a:hover {
    color: var(--accent-color);
}

.mobile-menu-wrapper {
    display: none;
}

.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-wrapper {
    display: none;
}

.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-button {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: none;
}

.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu-icon {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
    content: '';
    left: 0;
}

.mobile-menu-icon::before {
    top: -10px;
}

.mobile-menu-icon::after {
    bottom: -10px;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    padding: 20px;
    border-radius: 0 0 10px 10px;
}

.nav-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-item-mobile a {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
    padding: 5px 0;
}

.nav-item-mobile.active a {
    color: var(--accent-color);
}

.hero-section {
    background: linear-gradient(135deg, var(--light-accent) 0%, var(--bg-color) 100%);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M50 30C39 30 30 39 30 50s9 20 20 20 20-9 20-20-9-20-20-20zm0 30c-5.5 0-10-4.5-10-10s4.5-10 10-10 10 4.5 10 10-4.5 10-10 10z" fill="%230a5432" fill-opacity="0.05"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

.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: 70px;
}

.wave-divider path {
    fill: var(--bg-color);
}

.wave-divider.inverse path {
    fill: var(--light-accent);
}

.about-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.zigzag-divider {
    height: 50px;
    background: linear-gradient(-45deg, var(--bg-color) 25%, transparent 25%), 
                linear-gradient(45deg, var(--bg-color) 25%, transparent 25%);
    background-size: 50px 50px;
    background-color: var(--light-accent);
    margin-top: 50px;
}

.services-section {
    padding: 100px 0;
    background-color: var(--light-accent);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.diagonal-divider {
    position: relative;
    height: 100px;
    margin-top: 50px;
}

.diagonal-divider::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--bg-color);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.timeline-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 30px);
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.gallery-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.partners-section {
    padding: 100px 0;
    background-color: var(--light-accent);
    position: relative;
}

.partners-map {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: white;
    padding: 30px;
}

.partners-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.partners-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.partners-legend-marker {
    display: block;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.testimonials-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 5px solid var(--light-accent);
}

.testimonial-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info a {
    color: var(--accent-color);
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--body-font);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 84, 50, 0.1);
}

.footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-logo p {
    margin-top: 15px;
    opacity: 0.8;
}

.footer h3 {
    font-size: 1.3rem;
    color: var(--light-accent);
    margin-bottom: 20px;
    position: relative;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer a:hover {
    opacity: 1;
    color: var(--light-accent);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.6;
}

@media screen and (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .hero-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-marker {
        left: 40px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        left: 0;
        margin-left: 80px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-wrapper {
        display: block;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .mobile-menu-checkbox:checked ~ .nav-mobile {
        display: block;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-button .mobile-menu-icon {
        background-color: transparent;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-button .mobile-menu-icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-button .mobile-menu-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .services-grid,
    .gallery-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .about-text h3,
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}