/* ===================================
   CLIENT BRAND LOGO SLIDER
=================================== */

.client-section {
    padding: 75px 0;
    background: #ffffff;
    overflow: hidden;
}

/* HEADING */

.client-heading {
    max-width: 700px;
    margin: 0 auto 45px;
}

.client-tag {
    display: inline-block;
    background: #fff0f1;
    color: #f15a24;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.client-heading h2 {
    color: #17243a;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.client-heading h2 span {
    color: #f15a24;
}

.client-heading p {
    color: #737b88;
    font-size: 15px;
    line-height: 1.8;
}

/* SLIDER */

.client-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
}

/* LEFT RIGHT FADE EFFECT */

.client-slider::before,
.client-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.client-slider::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.client-slider::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

/* TRACK */

.client-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clientScroll 30s linear infinite;
}

.client-slider:hover .client-track {
    animation-play-state: paused;
}

/* LOGO BOX */

.client-logo {
    width: 190px;
    height: 110px;
    margin: 0 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.35s ease;
}

.client-logo img {
    max-width: 100%;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;

    filter: none;
    opacity: 1;

    transition: all 0.35s ease;
}

.client-logo:hover {
    border-color: #e63946;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.client-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.08);
}

/* INFINITE ANIMATION */

@keyframes clientScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* BOTTOM TEXT */

.client-bottom-text {
    margin-top: 30px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.client-bottom-text i {
    color: #e63946;
    font-size: 17px;
    margin-right: 5px;
}

/* TABLET */

@media (max-width: 991px) {

    .client-section {
        padding: 60px 0;
    }

    .client-heading h2 {
        font-size: 32px;
    }

    .client-logo {
        width: 165px;
        height: 100px;
        margin: 0 12px;
    }

    .client-logo img {
        max-height: 58px;
    }
}

/* MOBILE */

@media (max-width: 576px) {

    .client-section {
        padding: 50px 0;
    }

    .client-heading {
        margin-bottom: 25px;
    }

    .client-heading h2 {
        font-size: 27px;
    }

    .client-heading p {
        font-size: 13px;
        padding: 0 10px;
    }

    .client-logo {
        width: 140px;
        height: 85px;
        margin: 0 8px;
        padding: 15px;
    }

    .client-logo img {
        max-height: 50px;
    }

    .client-slider::before,
    .client-slider::after {
        width: 35px;
    }

    .client-bottom-text {
        font-size: 12px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .client-track {
        animation: none;
    }
}