.slide-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    background: #7b7b7b;
}
.slide-container::before, .slide-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    z-index: 1;
    transition: background 0.5s ease-in-out;
}
.slide-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
}
.slide-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Adjust opacity as needed */
    z-index: 1; /* Ensure overlay is above the carousels */
    transition: background 0.5s ease-in-out;
    display: flex!important;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 1!important;
    height: calc(100vh - 120px);
}
.overlay-content {
    color: white;
    z-index: 2;
}
.overlay-title {
    font-size: 4rem;
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFFFFF;
}
.overlay-title .filled {
    color: #52cf1a;
    -webkit-text-stroke-width: 0;
}
.overlay-description {
    font-size: 1rem;
}
.carousel-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Create 5 equal columns */
    gap: 10px; /* Adjust the gap between images as needed */
    height: calc(100vh - 120px);
    overflow: hidden;
    position: relative;
}
.carousel-item {
    width: 100%;
    animation: scrollUp 30s linear infinite;
}
.carousel-image {
    width: 100%;
    height: 310px; /* Set a fixed height */
    border-radius: 20px;
    object-fit: cover;
}
@keyframes scrollUp {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(-200%);
    }
}
@media screen and (max-width: 992px) {
    .overlay-title {
        font-size: 3rem;
    }
    .overlay-description {
        font-size: 1rem;
    }
    .carousel-image {
        height: 140px;
    }
    .carousel-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

