#brands-carousels {
    padding: 80px 0;
    background-color: #FFFFFF;
}

#brands-carousels .container {
    /* width: 1352px; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
}

#left-carousel {
    background-color: #1D2224;
    width: 100%;
    max-width: 49%;
    padding: 20px 0;
    border-radius: 20px;
}
#right-carousel {
    background-color: #E9F0FF;
    width: 100%;
    max-width: 49%;
    padding: 20px 0;
    border-radius: 20px;
}

.carousel-head {
    display: flex;
    padding: 0 40px;
    gap: 16px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 24px 0;
}

.carousel-head .title {
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    text-align: left;
}

#left-carousel .carousel-head .title {
    color: #FFFFFF;
}

#right-carousel .carousel-head .title {
    color: #1D2224;
}

.carousel-slide {
    width: 100%;
}

.scroll {
    position: relative;
    /* width: 100vw; */
    overflow: hidden;
    z-index: 1;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    position: relative;
    perspective: 1000px;
}

.m-scroll {
    /* overflow: hidden; */
    height: 100%;
    max-height: 56px;
    white-space: nowrap;
    animation: scrollText 14s infinite linear;
    margin: 0;
    font-size: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* width: 250%; */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    position: relative;
    perspective: 1000px;
}

.slide {
    display: inline-block;
    margin: 0 15px;
    padding: 0;
    color: white;
}
.slide img {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    position: relative;
    perspective: 1000px;
}

@keyframes scrollText {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (max-width: 1080px) {
    #brands-carousels .container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    #right-carousel,
    #left-carousel {
        max-width: 644px;
        width: 100%;
    }
}
@media (max-width: 1080px) {
    #brands-carousels {
        padding: 60px 0;
    }
}
@media (max-width: 560px) {
    .carousel-head {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
}