.our-successful-customers .container {
    max-width: var(--container-page);
}

.our-successful-customers.layout-v2,
.our-successful-customers.layout-v2_color {
    margin-bottom: 0;
    padding: 80px 0;
}

.our-successful-customers.layout-v2_color {
    background-color: var(--sc-bg-color, #EAF5FF);
}

.our-successful-customers.layout-v2 .title,
.our-successful-customers.layout-v2_color .title {
    font-weight: 800;
    font-size: 24px;
    line-height: 150%;
    text-align: center;
    text-transform: uppercase;
    color: #101827;
}

.certified-customer-list {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.our-successful-customers {
    overflow: hidden;
    max-width: 100% !important;
    margin-bottom: 64px;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    max-width: 100% !important;
}

.our-successful-customers.layout-v5 {
    margin-bottom: 0;
    min-height: 144px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.our-successful-customers.layout-v5 .marquee-slider {
    gap: 24px;
}

.our-successful-customers.layout-v3 {
    margin: 0;
    padding: 18px 0;
}

.our-successful-customers .title {
    text-align: center;
    margin: 0;
    margin-bottom: 24px;
    margin-top: -5px;
}

.our-successful-customers.layout-v4 .title,
.our-successful-customers.layout-v6 .title {
    font-size: 48px;
    line-height: 140%;
    color: #1A2632;
    margin-bottom: 32px;
    font-weight: 600;
}

.our-successful-customers .customer-logo-item {
    max-width: 103px;
    width: 100%;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 40px;
}

.our-successful-customers.layout-v5 .customer-logo-item {
    max-width: 145px;
    width: 100%;
    height: 90px;
    margin: 0;
}

.our-successful-customers.layout-v6 .customer-logo-item,
.our-successful-customers.layout-v3 .customer-logo-item {
    height: 90px;
}

.our-successful-customers.layout-v4 .customer-logo-item {
    height: 60px;
}

.our-successful-customers.layout-v5 .customer-logo-item img,
.our-successful-customers.layout-v6 .customer-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.certified-customer-images {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* Arranges all .image items in a single horizontal line */
    -ms-flex-negative: 0;
    flex-shrink: 0;
    /* Prevents the slider itself from shrinking */
    /* The width will be implicitly defined by its content (the doubled list of images) */
    -webkit-animation: marquee-scroll 25s linear infinite;
    animation: marquee-scroll 25s linear infinite;
    /* Adjust 25s to control speed */
    margin-top: 0;
    /* Resetting margin-top as it's on .certified-partner-list now */
}

@-webkit-keyframes marquee-scroll {
    0% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }

    100% {
        /* This moves the slider by the width of the *original* set of items.
           Since we duplicated the items, when it reaches -50% of its total width,
           the second (cloned) set of items is exactly at the start, creating a seamless loop. */
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@keyframes marquee-scroll {
    0% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }

    100% {
        /* This moves the slider by the width of the *original* set of items.
           Since we duplicated the items, when it reaches -50% of its total width,
           the second (cloned) set of items is exactly at the start, creating a seamless loop. */
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

.certified-customer-list[data-marquee-pause-on-hover="true"]:hover .certified-customer-images {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

@media only screen and (max-width: 991px) {
    .our-successful-customers .title {
        font-weight: 500;
        font-size: 14px;
        line-height: 160%;
        letter-spacing: -1%;
    }

    .our-successful-customers.layout-v4 .title,
    .our-successful-customers.layout-v6 .title {
        font-size: 24px;
    }

    .our-successful-customers.layout-v2 .title,
    .our-successful-customers.layout-v2_color .title {
        font-size: 24px;
    }

    .our-successful-customers .customer-logo-item {
        margin: 0 20px;
    }

    .our-successful-customers.layout-v2,
    .our-successful-customers.layout-v2_color {
        padding: 40px 0;
    }

}

/* Layout V4 & V6 - Marquee styles */
.our-successful-customers.layout-v6 {
    background-color: var(--sc-bg-color, #F6F6F7);
    padding-top: var(--sc-padding-top-desktop, 80px);
    padding-bottom: var(--sc-padding-bottom-desktop, 80px);
    margin-bottom: 0;
}

.our-successful-customers.layout-v4 {
    margin-bottom: 0;
    padding: 0;
}

.our-successful-customers.layout-v4 .certified-customer-images .customer-logo-item,
.our-successful-customers.layout-v4 .certified-customer-images-reverse .customer-logo-item,
.our-successful-customers.layout-v6 .certified-customer-images .customer-logo-item {
    width: 154px;
    max-width: 154px;
    flex-shrink: 0;
    margin: 0 10px;
}

.our-successful-customers.layout-v4 .certified-customer-images,
.our-successful-customers.layout-v4 .certified-customer-images-reverse,
.our-successful-customers.layout-v6 .certified-customer-images {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: max-content;
}

.our-successful-customers.layout-v4 .certified-customer-list,
.our-successful-customers.layout-v6 .certified-customer-list {
    margin-bottom: 20px;
}

.our-successful-customers.layout-v4 .certified-customer-list:last-child,
.our-successful-customers.layout-v6 .certified-customer-list:last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 991px) {

    .our-successful-customers.layout-v6 {
        padding-top: var(--sc-padding-top-mobile, var(--sc-padding-top-desktop, 40px));
        padding-bottom: var(--sc-padding-bottom-mobile, var(--sc-padding-bottom-desktop, 40px));
    }

    .our-successful-customers.layout-v4 {
        padding: 40px 0;
    }

    .our-successful-customers.layout-v4 .title {
        font-size: 24px;
        margin: 0;
    }


    .our-successful-customers.layout-v6 .title {
        font-size: var(--sz-heading-2-mobile);
    }

    .our-successful-customers.layout-v4 .certified-customer-images .customer-logo-item,
    .our-successful-customers.layout-v4 .certified-customer-images-reverse .customer-logo-item,
    .our-successful-customers.layout-v6 .certified-customer-images .customer-logo-item {
        width: 96px;
        max-width: 96px;
        margin: 0 10px;
    }

    .our-successful-customers.layout-v5 {
        min-height: 84px;
    }

    .our-successful-customers.layout-v5 .customer-logo-item {
        max-width: 96px;
        height: 60px;
        margin: 0;
    }

    .our-successful-customers.layout-v5 .customer-logo-item img {
        object-fit: contain;
        object-position: center;
    }
}

.our-successful-customers.has-border-top {
    border-top: 1.5px solid #F1F2F3;
}

.our-successful-customers.has-border-bottom {
    border-bottom: 1.5px solid #F1F2F3;
}