/* ============================================
   KV CLEANING GROUP
   CLIENT LOGO AUTOMATIC INFINITE SLIDER
============================================ */

/* MAIN SECTION */

.client-logo-section {
    position: relative;
    width: 100%;
    padding: 70px 0;
    background: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}

/* SECTION HEADING */

.client-logo-heading {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto 65px;
    padding: 0 20px;
    text-align: center;
    box-sizing: border-box;
}

/* BLUE SECTION TAG */

.client-logo-heading .section-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 22px;

    background: #077cea;
    color: #ffffff;

    border-radius: 50px;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

/* MAIN HEADING */

.client-logo-heading h2 {
    margin: 0 0 22px;
    padding: 0;

    color: #111111;
    background: transparent;

    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;

    text-align: center;
}

/* DESCRIPTION */

.client-logo-heading p {
    max-width: 1000px;
    margin: 0 auto;

    color: #666666;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;

    text-align: center;
}

/* ============================================
   SLIDER VIEWPORT
============================================ */

.client-logo-marquee {
    position: relative;
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 5px 0 15px;

    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;

    scrollbar-width: none;

    box-sizing: border-box;
}

/* HIDE SCROLLBAR */

.client-logo-marquee::-webkit-scrollbar {
    display: none !important;
    width: 0;
    height: 0;
}

/* ============================================
   AUTOMATIC MOVING TRACK
============================================ */

.client-logo-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;

    width: max-content !important;
    min-width: max-content !important;

    margin: 0 !important;
    padding: 0 !important;

    animation: kvClientLogoScroll 30s linear infinite !important;

    animation-play-state: running !important;

    will-change: transform;
    backface-visibility: hidden;
}

/* ============================================
   LOGO GROUP
============================================ */

.client-logo-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;

    flex: 0 0 auto !important;

    gap: 24px !important;
    padding-right: 24px !important;

    margin: 0 !important;

    box-sizing: border-box;
}

/* ============================================
   LOGO CARD
============================================ */

.client-logo-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 245px !important;

    width: 245px !important;
    min-width: 245px !important;
    max-width: 245px !important;

    height: 135px !important;
    min-height: 135px !important;

    margin: 0 !important;
    padding: 20px !important;

    box-sizing: border-box;

    background: #dcefff !important;

    border: 1px solid #dcefff !important;
    border-radius: 17px !important;

    box-shadow: 0 8px 22px rgba(22, 100, 192, 0.07);

    overflow: hidden;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

/* ============================================
   LOGO IMAGE
============================================ */

.client-logo-card img {
    display: block !important;

    width: auto !important;
    max-width: 170px !important;

    height: auto !important;
    max-height: 75px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    border: none !important;
    box-shadow: none !important;

    flex-shrink: 0;
}

/* CARD HOVER */

.client-logo-card:hover {
    background: #d4eaff !important;
    box-shadow: 0 12px 28px rgba(22, 100, 192, 0.13);
}

/* ============================================
   AUTOMATIC RIGHT TO LEFT ANIMATION
============================================ */

@keyframes kvClientLogoScroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ANIMATION SHOULD CONTINUE ON HOVER */

.client-logo-marquee:hover .client-logo-track {
    animation-play-state: running !important;
}

/* ============================================
   LARGE TABLET - 1199px
============================================ */

@media screen and (max-width: 1199px) {

    .client-logo-section {
        padding: 60px 0;
    }

    .client-logo-heading {
        margin-bottom: 55px;
    }

    .client-logo-heading h2 {
        font-size: 32px;
    }

    .client-logo-heading p {
        font-size: 17px;
    }

    .client-logo-group {
        gap: 22px !important;
        padding-right: 22px !important;
    }

    .client-logo-card {
        flex-basis: 220px !important;
        width: 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;

        height: 120px !important;
        min-height: 120px !important;

        padding: 18px !important;
    }

    .client-logo-card img {
        max-width: 155px !important;
        max-height: 70px !important;
    }
}

/* ============================================
   TABLET - 991px
============================================ */

@media screen and (max-width: 991px) {

    .client-logo-section {
        padding: 55px 0;
    }

    .client-logo-heading {
        margin-bottom: 45px;
    }

    .client-logo-heading h2 {
        font-size: 30px;
    }

    .client-logo-heading p {
        font-size: 16px;
        line-height: 1.8;
    }

    .client-logo-track {
        animation-duration: 27s !important;
    }

    .client-logo-group {
        gap: 20px !important;
        padding-right: 20px !important;
    }

    .client-logo-card {
        flex-basis: 200px !important;

        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;

        height: 110px !important;
        min-height: 110px !important;

        padding: 16px !important;
        border-radius: 15px !important;
    }

    .client-logo-card img {
        max-width: 145px !important;
        max-height: 65px !important;
    }
}

/* ============================================
   MOBILE - 767px
============================================ */

@media screen and (max-width: 767px) {

    .client-logo-section {
        padding: 45px 0;
    }

    .client-logo-heading {
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .client-logo-heading .section-tag {
        font-size: 13px;
        padding: 8px 18px;
        margin-bottom: 15px;
    }

    .client-logo-heading h2 {
        font-size: 26px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .client-logo-heading p {
        font-size: 15px;
        line-height: 1.7;
    }

    .client-logo-track {
        animation-duration: 24s !important;
    }

    .client-logo-group {
        gap: 15px !important;
        padding-right: 15px !important;
    }

    .client-logo-card {
        flex-basis: 160px !important;

        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;

        height: 95px !important;
        min-height: 95px !important;

        padding: 12px !important;
        border-radius: 13px !important;
    }

    .client-logo-card img {
        max-width: 120px !important;
        max-height: 55px !important;
    }
}

/* ============================================
   SMALL MOBILE - 480px
============================================ */

@media screen and (max-width: 480px) {

    .client-logo-section {
        padding: 35px 0;
    }

    .client-logo-heading {
        margin-bottom: 30px;
    }

    .client-logo-heading h2 {
        font-size: 23px;
    }

    .client-logo-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .client-logo-track {
        animation-duration: 22s !important;
    }

    .client-logo-group {
        gap: 12px !important;
        padding-right: 12px !important;
    }

    .client-logo-card {
        flex-basis: 140px !important;

        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;

        height: 82px !important;
        min-height: 82px !important;

        padding: 10px !important;
        border-radius: 12px !important;
    }

    .client-logo-card img {
        max-width: 105px !important;
        max-height: 45px !important;
    }
}

/* ============================================
   END CLIENT LOGO SLIDER CSS
============================================ */
