/* Smooth Carousel Transitions */

/* Container for carousel items */
.carousel-container {
    position: relative;
    width: 100%;
    min-height: 280px;
}

/* Individual carousel items */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Active carousel item */
.carousel-item.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    position: relative;
}

/* Fade out animation for leaving items */
.carousel-item.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

/* Ensure smooth height transitions */
.carousel-wrapper {
    transition: height 0.5s ease;
}

