.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden; /* Prevents overflow of images */
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; /* Ensure the slide width is 100% */
}

.carousel-slide img {
    width: 100%; /* Makes sure images take up 100% width of their container */
    flex-shrink: 0; /* Prevents images from shrinking */
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .carousel-slide img {
        width: 100%; /* Viewport width for mobile devices */
        overflow: hidden;
    }
}



.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
