/* Carrousel */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 20px auto;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.carousel-slides {
    position: relative;
    height: 320px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    visibility: hidden;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 30px;
    background: linear-gradient(135deg, #f0f4ea, #e8f5e9);
}

.carousel-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.carousel-content h3 {
    margin: 0 0 10px;
    font-size: 1.8rem;
}

.carousel-content h3 a {
    color: #2d6a4f;
    text-decoration: none;
}

.carousel-content p {
    color: #555;
    max-width: 80%;
    margin-bottom: 20px;
}

.carousel-btn {
    background: #2d6a4f;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.2s;
}

.carousel-btn:hover {
    background: #1b4d3e;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 10;
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: #2d6a4f;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-slides {
        height: 280px;
    }
    .carousel-content h3 {
        font-size: 1.4rem;
    }
    .carousel-content p {
        font-size: 0.9rem;
        max-width: 90%;
    }
}