.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.carousel-item {
    flex: 0 0 calc(100% / 3); /* Default to 3 visible items */
    transition: transform 0.6s ease;
    transform: scale(1);
    padding: 10px;
    will-change: transform;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    backface-visibility: hidden;
}

/* .carousel-item.active {
    transform: scale(1.2);
    z-index: 1;
} */

/* Responsive styles */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(100% / 2); /* 2 visible items */
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 100%; /* 1 visible item */
    }

    .carousel-item img {
        /* height: 200px */
        height: 200px
    }
}
