.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(98, 178, 41, 0.2) 100%);
}

.testimonials-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    flex-direction: row;
}

.testimonial-card {
    flex: 0 0 100%;
    min-width: 0;
    box-sizing: border-box;
    width: 100%;
}

@media (min-width: 640px) {
    .testimonial-card {
        flex: 0 0 50%;
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 33.333%;
        width: 33.333%;
    }
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(98, 178, 41, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-nav:hover {
    background: rgba(98, 178, 41, 1);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
    left: 10px;
}

.testimonial-nav.next {
    right: 10px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(98, 178, 41, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: #62B229;
    width: 30px;
    border-radius: 5px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease, filter 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item-large {
    grid-column: span 1;
}

@media (min-width: 640px) {
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}
