
.carousel-container {
    background: linear-gradient(120deg, #e8f5e9 0%, #2e7d3214 100%);
    padding: 32px 0 24px 0;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.07);
    border-radius: 18px;
    max-width: 900px;
    margin: 32px auto;
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.7s cubic-bezier(.77, 0, .18, 1);
    width: 100%;
    scroll-behavior: smooth;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .carousel-slide img {
        width: 90%;
        max-width: 420px;
        height: 180px;
        object-fit: cover;
        border-radius: 16px;
        box-shadow: 0 6px 24px rgba(46, 125, 50, 0.13);
        margin: 0 auto;
        border: 4px solid #c8e6c9;
        background: #fff;
        transition: transform 0.4s, box-shadow 0.4s;
    }

        .carousel-slide img:hover {
            transform: scale(1.04) rotate(-1deg);
            box-shadow: 0 12px 32px rgba(46, 125, 50, 0.18);
            border-color: #2e7d32;
        }

.carousel-caption {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 16px;
    color: #2e7d32;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #e8f5e9;
}

.carousel-desc {
    font-size: 1rem;
    margin-top: 6px;
    color: #555;
    line-height: 1.4;
    font-family: 'Montserrat', Arial, sans-serif;
    background: rgba(232,245,233,0.7);
    border-radius: 8px;
    padding: 6px 12px;
    display: inline-block;
}

.carousel-arrows {
    text-align: center;
    margin-top: 18px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-arrow {
    background: #2e7d32;
    color: #fff;
    border: none;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 18px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(46,125,50,0.10);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .carousel-arrow:hover {
        background: #1b5e20;
        transform: scale(1.08);
    }

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    gap: 8px;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #c8e6c9;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: 2px solid #e8f5e9;
}

    .carousel-dot.active {
        background: #2e7d32;
        transform: scale(1.2);
        border-color: #2e7d32;
    }
/* Add a subtle fade-in animation for slides */
@keyframes carouselFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-slide {
    animation: carouselFadeIn 0.7s;
}

@media (max-width: 900px) {
    .carousel-container {
        padding: 18px 0 10px 0;
        max-width: 98vw;
        border-radius: 12px;
    }

    .carousel-slide img {
        max-width: 320px;
        height: 120px;
    }

    .carousel-caption {
        font-size: 1rem;
    }

    .carousel-desc {
        font-size: 0.92rem;
    }

    .carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
        margin: 0 8px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 600px) {
    .carousel-container {
        padding: 10px 0 6px 0;
        border-radius: 8px;
    }

    .carousel-slide img {
        max-width: 98vw;
        width: 98vw;
        height: 80px;
    }

    .carousel-caption {
        font-size: 0.92rem;
    }

    .carousel-desc {
        font-size: 0.85rem;
        padding: 4px 6px;
    }

    .carousel-arrow {
        width: 26px;
        height: 26px;
        font-size: 1rem;
        margin: 0 2px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}