* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #006400;
    --secondary-color: #800020;
    --light-color: #f5f5f5;
    --dark-color: #222222;
    --text-color: #333333;
    --background-color: #ffffff;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'PT Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo Black', sans-serif;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 1rem auto;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.wave-divider {
    position: relative;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 110px;
}

.wave-divider path {
    fill: var(--light-color);
}

.wave-divider.inverted {
    transform: rotate(0);
}

.zigzag-divider {
    position: relative;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.zigzag-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.zigzag-divider path {
    fill: var(--light-color);
}

.zigzag-divider.reversed {
    transform: rotate(180deg);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    border: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn:hover {
    border-radius: calc(var(--border-radius) * 2);
}

.primary-btn:hover {
    background-color: #005000;
    color: white;
    box-shadow: 0 0 15px rgba(0, 100, 0, 0.4);
}

.secondary-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 1rem;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

.hamburger-menu {
    position: relative;
}

.menu-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    transition: all var(--transition-speed);
}

.menu-items {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: 250px;
    padding: 1rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed);
    z-index: 1000;
}

.hamburger-menu:hover .menu-items {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-items li {
    padding: 0.5rem 1.5rem;
    transition: background-color var(--transition-speed);
}

.menu-items li:hover {
    background-color: rgba(0, 100, 0, 0.1);
}

.menu-items a {
    color: var(--text-color);
    display: block;
    width: 100%;
}

.menu-items a:hover {
    color: var(--primary-color);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.hero-diagonal {
    display: flex;
    position: relative;
    min-height: calc(100vh - 190px);
}

.hero-diagonal::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('images/texture-bg.webp') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    clip-path: polygon(0 0, 85% 0, 70% 100%, 0 100%);
}

.hero-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero-content h2:after {
    margin: 1rem 0;
}

.hero-content p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

section {
    position: relative;
}

section:nth-child(odd) {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition-speed);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.benefits-content {
    display: flex;
    gap: 3rem;
}

.benefits-image {
    flex: 1;
    text-align: center;
}

.benefits-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.benefits-list {
    flex: 1;
}

.benefit-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform var(--transition-speed);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    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::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 30px;
    height: 4px;
    background-color: var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
}

.partners-map {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.partners-map img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.partner-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition-speed);
}

.partner-item:hover {
    transform: translateY(-5px);
}

.contact-content {
    display: flex;
    gap: 3rem;
}

.contact-text {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    transition: border-color var(--transition-speed);
}

input:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-right: 0.5rem;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-logo {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-links {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    display: flex;
    gap: 1.5rem;
}

.footer-nav-secondary {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
    display: flex;
    gap: 1.5rem;
}

.footer-copyright {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
    color: white;
    opacity: 0.8;
    transition: opacity var(--transition-speed);
}

footer a:hover {
    opacity: 1;
    color: white;
}

@media (max-width: 992px) {
    .hero-diagonal {
        flex-direction: column;
    }

    .hero-content {
        clip-path: none;
        padding: 3rem 2rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .about-content,
    .benefits-content,
    .contact-content {
        flex-direction: column;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 50px);
        left: 50px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -30px;
        right: auto;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-logo,
    .footer-links,
    .footer-nav,
    .footer-nav-secondary {
        grid-column: 1;
    }

    .footer-logo {
        grid-row: 1;
    }

    .footer-links {
        grid-row: 2;
        justify-content: flex-start;
        flex-direction: column;
    }

    .footer-nav {
        grid-row: 3;
        flex-direction: column;
    }

    .footer-nav-secondary {
        grid-row: 4;
        flex-direction: column;
    }

    .footer-copyright {
        grid-row: 5;
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 3rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .partners-list {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .header-container {
        padding: 0.8rem 1rem;
    }

    .logo img {
        height: 40px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }
}