.clients {
    position: relative;
    z-index: 100;
    /* height: 100vh; */
    width: 100vw;
}
.clients .titles .normal {
    color: var(--green);
    font-family: var(--font);
    font-size: var(--size-297);
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    margin: 0px auto var(--space-2xl) 30%;
}
.clients_swiper {
    width: 100%;
    /* overflow: hidden; */
}

.clients_swiper_track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: moving_swiper 45s linear infinite;
}

.clients_swiper_inner {
    display: flex;
    flex-shrink: 0;
    gap: var(--space-2xs);
    align-items: center;
    /* padding-right: var(--space-sm2); */
}

.clients_swiper img {
    display: block;
    width: 70px;
    height: 70px;
    object-fit: contain;
    cursor: pointer;
    /* transition: transform 0.3s ease; */
}
/* .clients_swiper:hover .clients_swiper_track {
    animation-play-state: paused;
} */
/* .clients_swiper img:hover {
    position: fixed;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
} */

@keyframes moving_swiper {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-33.3333%);
    }
}


.clients_hover_imgs a img {
    display: block;
    position: fixed;
    width: 100vw;
    height: 100vh;
    transform: translateY(100%);
    /* max-width: none;
    max-height: none; */
    /* top: 0; */
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    transition: transform 0.3s ease-in-out;
}
.clients_hover_imgs a img.show {
    /* display: block; */
    width: 100vw;
    height: 100vh;
    transform: translateY(0%);
    transition: transform 0.3s ease-in-out
}


.close_clients_btn {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: none;
    z-index: 1000000;
    cursor: pointer;
    width: 50px;
    height: 50px;
}
.close_clients_btn.show {
    display: block;
}
.close_clients_btn span.line {
    content: "";
    background: var(--white);
    display: block;
    width: 35px;
    height: 5px;
}
.close_clients_btn span.line:nth-child(1) {
    transform: rotate(45deg) translateY(12px) translateX(22px);
}
.close_clients_btn span.line:nth-child(2) {
    transform: rotate(-45deg) translateY(18px) translateX(-9px);
}


@media (max-width: 992px) {
.close_clients_btn {
    top: 15px;
    right: 15px;
    transform: translateY(0%);
}  
.close_clients_btn span.line {
    width: 25px;
    height: 3px;
}
.close_clients_btn span.line:nth-child(2) {
    transform: rotate(-45deg) translateY(20px) translateX(-10px);
}
}

@media screen and (max-width: 1200px) {
.clients .titles .normal {
    margin: 0px auto var(--space-2xl) auto;
    text-align: center;
}
}


/* CLIENTS GRID */
.clients_grid {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-4xl);
}
.clients_grid .titles .normal {
    color: var(--green);
    /* font-size: 4.5vw; */
    font-size: 3.6rem;
    font-style: normal;
    font-weight: 200;
    line-height: 1;
    text-align: center;
    margin: 0px 0 var(--space-2lg) 0%;
}
.clients_grid .tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: 40px;
}
.clients_grid .tab_title {
    cursor: pointer;
    padding: 8px 0px;
    margin: 0 16px;
    font-size: var(--size-24);
    /* border-bottom: 1px solid var(--grey); */
    margin: 0;
    position: relative;
    color: var(--grey-two);
    transition: .3s all ease-in-out;
}
.clients_grid .tab_title:first-of-type {
    margin-left: 0;
}
.clients_grid .tab_title.active {
    color: var(--white);
    border-color: var(--black);
    color: var(--white);
    border-bottom: 2px solid var(--white);
}
.clients_grid .tab_title:hover {
    color: var(--white);
    transition: .3s all ease-in-out;
}
.clients_grid .tab_title::after {
    content: "";
    background: var(--white);
    width: 0;
    height: 2px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0px;
    transition: .3s all ease-in-out;
}
.clients_grid .tab_title:hover::after {
    width: 100%;
    transition: .3s all ease-in-out;
}
.clients_grid .tab_title.active:hover::after {
    display: none;
}

.clients_grid .grid {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    grid-row-gap: var(--space-sm2);
}
.clients_grid .grid.active {
    display: grid;
}
.clients_grid .grid a {
    text-decoration: none;
    color: var(--grey-two);
    font-size: var(--size-16);
    text-transform: uppercase;
    font-family: sans-serif;
    font-weight: 300;
    position: relative;
    display: inline-flex;
    /* align-items: center;
    justify-content: center; */
}

.clients_grid .grid a .hover_circle path {
    fill: none;
    stroke: var(--grey-two);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}




@media (max-width: 1000px) {
    .clients_grid .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clients_grid .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients_grid .tabs {
        flex-direction: column;
        gap: 15px;
        height: 40px;
        overflow: scroll;
        margin-bottom: 30px;
    }
    .clients_grid .tabs::-webkit-scrollbar{display:none}
    .clients_grid .tab_title,
    .clients_grid .tab_title.active {
        width: fit-content;
    }
    .clients_grid .titles .normal {
        font-size: 10vw;
    }
}