.image-container {
    aspect-ratio: 16 / 7;
    /* height: 60vh; */
    /* min-height: 400px; */
    height: auto;
    max-height: 800px;
    width: 100%;
    overflow: hidden;
    /* position: relative; */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    /* transition: transform 0.5s ease-in-out; */
    transition: none !important;
}

/* Improved captions */
/* Caption styling */
.carousel-caption {
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 80%;
    background: rgba(231, 83, 14, 0.9);
    padding: 0.8rem 1.5rem !important;
    border-radius: 6px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 40px;
    /* Remove display classes from HTML and handle here */
    display: block !important; /* Force display on all screens */
}

.carousel-caption p {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.carousel-indicators {
    bottom: 10px;
}

@media (max-width: 768px) {
    .carousel-caption {
        bottom: 5px;
        padding: 0.6rem 1rem !important;
        max-width: 90%;
        min-height: auto;
    }
    
    .carousel-caption p {
        font-size: 0.95rem;
        white-space: normal;
        line-height: 1.2;
        display: block;
    }
    
    .carousel-indicators {
        bottom: 5px;
    }
}

/* Indicator styling */
/* .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    border: 2px solid #E7530E;
    background: transparent;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background: #E7530E;
    transform: scale(1.3);
} */

/* Control buttons */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.9;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.2);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(0,0,0,0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    width: 2.5rem;
    height: 2.5rem;
    transition: transform 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.2);
}