﻿/*=========================================
                CLIENTS
==========================================*/

.clients {
    padding: 110px 0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

    .clients::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(200,155,60,.05);
        top: -180px;
        right: -180px;
    }

    .clients::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(8,17,31,.03);
        bottom: -120px;
        left: -120px;
    }

/*=========================================
                SWIPER
==========================================*/

.clientsSwiper {
    margin-top: 70px;
    overflow: hidden;
    padding: 20px 0;
}

.swiper-wrapper {
    transition-timing-function: linear !important;
}

.swiper-slide {
    width: auto !important;
}
/*=========================================
                CARD
==========================================*/

.client-card {
    width: 250px;
    height: 210px;
    background: #fff;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 18px 45px rgba(0,0,0,.05);
    transition: .35s;
    overflow: hidden;
    position: relative;
    text-align: center;
}

    .client-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg,#D8AF58,#B88628);
        transform: scaleX(0);
        transition: .35s;
    }

    .client-card::after {
        content: "";
        position: absolute;
        top: -120%;
        left: -40%;
        width: 55%;
        height: 260%;
        background: rgba(255,255,255,.30);
        transform: rotate(25deg);
        transition: .8s;
    }

    .client-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 65px rgba(0,0,0,.10);
    }

        .client-card:hover::before {
            transform: scaleX(1);
        }

        .client-card:hover::after {
            left: 160%;
        }

    /*=========================================
                IMAGE
==========================================*/

    .client-card img {
        width: 150px;
        height: 90px;
        object-fit: contain;
        margin-bottom: 18px;
        transition: .4s;
        filter: grayscale(20%);
    }

    .client-card:hover img {
        transform: scale(1.08);
        filter: grayscale(0%);
    }

/*=========================================
            CLIENT NAME
==========================================*/

.client-name {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #08111F;
    line-height: 1.6;
    transition: .35s;
}

.client-card:hover .client-name {
    color: #C89B3C;
}
@media(max-width:992px) {

    .client-card {
        width: 190px;
        height: 180px;
    }

        .client-card img {
            width: 120px;
            height: 70px;
        }

    .client-name {
        font-size: 15px;
    }
}

@media(max-width:576px) {

    .clients {
        padding: 80px 0;
    }

    .client-card {
        width: 160px;
        height: 165px;
    }

        .client-card img {
            width: 100px;
            height: 60px;
        }

    .client-name {
        font-size: 14px;
    }
}