/* public/css/banner.css */
#carouselExampleCaptions {
    height: 40vh; 
    max-height: 400px; 
    background: #000;
    display: block;
    width: 100%;
}

#carouselExampleCaptions .carousel-inner {
    height: 100%; 
    position: relative; 
    overflow: hidden;
}

#carouselExampleCaptions .carousel-item {
    height: 100%; 
    position: relative; 
    overflow: hidden;
    background: #000;
}

#carouselExampleCaptions .carousel-item img {
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#carouselExampleCaptions .carousel-item::before {
    content: ''; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.2); 
    position: absolute; 
    left: 0; 
    top: 0; 
    z-index: 1;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-control-prev,
.carousel-control-next {
    width: 45px;
}

@media (max-width: 768px) {
    #carouselExampleCaptions .carousel-item img {
        height: 100%;
        width: auto !important;
        max-width: unset;
    }
}