/* Banner Styling */
.banner {
    position: relative;
    width: 100%;
    min-height: 300px; /* Set minimum height */
	max-height: 300px;
    height: auto; /* Allow height to adjust based on content */
    overflow: hidden;
}

/* Carousel Container */
.carousel {
    display: flex;
    height: 100%; /* Full height for banner */
}

.carousel-images {
    display: flex;
    height: 100%; /* Ensures full height for images */
}

/* Carousel Item Styling */
.carousel-item {
    display: block;
    width: 100%;
    min-width: 100%;
    height: 100%; /* Full height for each slide */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1; /* Make the active slide visible */
    z-index: 2;
}

.carousel-item:not(.active) {
    opacity: 0;
    z-index: 1;
}

/* Carousel Dots */
.carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
    z-index: 3;
}

.dot {
    height: 18px;
    width: 18px;
    margin: 0 6px;
    background-color: black;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: goldenrod;
}

/* Responsive Banner and Carousel Styling */
@media (max-width: 1600px) {
    .banner {
        min-height: 250px; /* Reduced height for tablets */
    }

    .carousel-item {
        background-position: center; /* Adjust image position */
    }

    .dot {
        height: 14px;
        width: 14px;
    }
}

/* Responsive Banner and Carousel Styling */
@media (max-width: 1024px) {
    .banner {
        min-height: 200px; /* Reduced height for tablets */
    }

    .carousel-item {
        background-position: center; /* Adjust image position */
    }

    .dot {
        height: 14px;
        width: 14px;
    }
}

@media (max-width: 768px) {
    .banner {
        min-height: 150px; /* Smaller banner on smaller screens */
    }

    .carousel-item {
        background-position: center;
    }

    .dot {
        height: 12px;
        width: 12px;
    }
}

@media (max-width: 480px) {
    .banner {
        min-height: 100px; /* Minimum banner height for mobile */
    }

    .carousel-item {
        background-position: center;
    }

    .dot {
        height: 10px;
        width: 10px;
    }
}
