/* Carousel.css */
.carousel {
    position: relative;
    width: 80%;
    overflow: hidden;
    height: 500px; /* Set a fixed height or adjust as per your design */
}

.banner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
}

.left-arrow, .right-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}
