

.our_clients .figure {
    top: -500px;
    right: 0;
}


.our_clients .cards {
    position: relative;
    row-gap: 30px;
    -webkit-column-gap: 18px;
       -moz-column-gap: 18px;
            column-gap: 18px;
    margin-bottom: 20px;
    z-index: 1;
}


.clients_card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    row-gap: 30px;
    width: calc(33.33% - 12px);
    min-height: 384px;
    background-color: var(--site-bg1);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px 20px;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    cursor: pointer;
}


.clients_card:hover {
    background: -o-linear-gradient(312deg, #F5F4FF 0%, #358dff42 53%, #fff 98%);
    background: linear-gradient(138deg, #F5F4FF 0%, #358dff42 53%, #fff 98%);
    border: none;
    -webkit-box-shadow: 0px 8px 11px 0px #00000040;
            box-shadow: 0px 8px 11px 0px #00000040;
}


.clients_card .img {
    max-width: 199px;
    max-height: 199px;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}


.clients_card .text {
    max-width: 256px;
    max-height: 0;
    text-align: center;
    line-height: 1.7;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    -webkit-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}


.clients_card:hover .text {
    opacity: 1;
    visibility: visible;
    max-height: 100%;
    /* max-height: unset; */
}


.clients_card:hover .img {
    max-height: 96px;
}


@media (max-width: 992px){


    .clients_card {
        width: calc(50% - 9px);
    }
}