/* Reset */
.banner-section {
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    width: 100%;
    height: 60vh; /* Set fixed height */
    overflow: hidden;
}

/* Shared Carousel Structure */
.carousel,
.carousel-inner,
.carousel-item,
.banner-slide {
    height: 100%;
}

.banner-slide {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align content box to the right */
}

.banner-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Content Box */
.content-box {
    position: relative;
    z-index: 3;
    color: white;
    text-align: right;
    margin-right: 450px;
    max-width: 400px;
}

.content-box h2 {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.know-more-btn {
    font-weight: bold;
    background-color: #fff;
    color: #d1343c;
    padding: 12px 25px;
    border: none;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 3px;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
}

.know-more-btn:hover {
    background-color: #f8f9fa;
    color: #d1343c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Mobile Controls Always Visible */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    z-index: 4;
    transition: opacity 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 25px;
    height: 25px;
    background-size: contain;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 10px;
    z-index: 4;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid white;
    background-color: transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #FFFF;
    opacity: 1;
    border-color: #d1343c;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .content-box {
        text-align: center;
        margin: 0 auto;
        max-width: 90%;
    }
    .content-box h2 {
        font-size: 28px;
    }
    .know-more-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Animation */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}
.banner-slide img {
    transition: transform 8s ease-out;
}
.carousel-item.active .banner-slide img {
    transform: scale(1.05);
}
