.infinite-carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    min-width: 20%;
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px;
}
.carousel-slide img {
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #0e3a70;
    border: none;
    font-size: 50px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
    display: none;
}
.carousel-btn.show {
    display: block;
}
.carousel-btn:hover {
    opacity: 0.7;
}
.carousel-btn.prev {
    left: 10px;
}
.carousel-btn.next {
    right: 10px;
}
.carousel-dots {
    display: none;
}
.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}
.carousel-dot.active {
    background: #333;
}
.carousel-dot:hover {
    background: #666;
}

/* Desktop: hide arrows */
@media (min-width: 768px) {
    .carousel-btn {
        display: none !important;
    }
}

/* Tablet: 2 images */
@media (max-width: 767px) {
    .carousel-slide {
        min-width: 50%;
        flex: 0 0 50%;
    }
}
/* Mobile: 1 image */
@media (max-width: 480px) {
    .carousel-slide {
        min-width: 100%;
        flex: 0 0 100%;
    }
}