
.carousel-container {
    max-width: 900px; /* Set the fixed width to 1000px */
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden; /* Hide the scroll bar initially */
}

.carousel {
    display: flex;
    gap: 10px;
    overflow-x: hidden; /* Hide the scroll by default */
    scroll-behavior: smooth;
    flex-wrap: nowrap;
    transition: overflow-x 0.3s ease; /* Smooth transition on hover */
}

.carousel img {
    width: calc(100% / 3 - 10px); /* Show 3 images at a time */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel img:hover {
    transform: scale(1.1);
}

.carousel-container:hover .carousel {
    overflow-x: auto; /* Show scroll when hovering over the carousel */
}

button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

/* Ensure logo visibility */
.logo-container {
    position: relative;
    z-index: 5; /* Ensure logo is above the background or image */
    padding-bottom: 20px; /* Add padding if needed to make the logo visible */
}

/* Modify the large image container */
.large-image-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 999; /* Ensure it is above other content */
}

.large-image-container img {
    max-width: 90%;
    max-height: 80%; /* Adjust to fit better in the container */
}

.large-image-container .close {
    position: absolute;
    bottom: 20px; /* Move close button to the bottom */
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10; /* Ensure close button appears above the image */
}
/* Optional: Hide scrollbars in Webkit browsers (Chrome, Safari) */
.carousel::-webkit-scrollbar {
    display: none;
}


.dots-container {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ed4b1d;
}
