/********************************************************************************/ /* categories */

.cat {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding-bottom: 64px;
}






.cat .section-head {
    padding-top: 160px;
}


.cat-items-wrapper .col-12 {
    padding: 10px;
    z-index: 2;
}

.cat-item {
    background-color: var(--gray_color);
    min-height: 243px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
    display: block;
}

.cat-item * {
    transition: all .3s ease;
}

.cat-item .cat-title {
    font-size: 20px;
    line-height: 32px;
    font-weight: bold;
    color: var(--primary_color);
    margin: 0;
    padding: 16px 21px 20px 60px;
    position: relative;
}

.cat-item .cat-title:before {
    content: " ";
    width: 5px;
    height: 32px;
    border-radius: 100px 0 0 100px;
    background: var(--secondary_color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cat-item i {
    width: 40px;
    height: 40px;
    background: var(--secondary_color);
    color: var(--bg_color);
    border-radius: 100%;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 16px;
    top: 16px;
}

.cat-item .cat-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--dark_gray_color);
    line-height: 1.5;
    padding: 20px 20px 20px 84px;
}

.cat-item .cat-img {
    background: var(--primary_color);
    width: 155px;
    height: 155px;
    border-radius: 100%;
    position: absolute;
    left: -43px;
    bottom: -55px;
    overflow: hidden;
}

.cat-item .cat-img:before {
    content: " ";
    background: url(../img/logo-vector.svg);
    position: absolute;
    right: -21px;
    top: 43px;
    width: 104px;
    height: 65px;
    background-size: contain;
    transform: scaleX(-1);
}

.cat-item .cat-img img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    position: absolute;
    right: 40px;
    top: 26px;
}

.cat-item:hover {
    background: var(--primary_color);
}

.cat-item:hover .cat-text,
.cat-item:hover .cat-title {
    color: var(--bg_color);
}

.cat-item:hover .cat-img:before {
    transform: scale3d(-4, 4, 1);
    top: 0;
    right: 0;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.cat-item:hover .cat-img {
    /*background: #F6F8FE1A;*/
    width: 211px;
    height: 211px;
    border-radius: 100%;
    position: absolute;
    left: -71px;
    bottom: -83px;
}

.cat-item:hover .cat-img img {
    right: 54px;
    top: 46px;
}

.cat-items-wrapper .col-12:nth-child(2n) .cat-item {
    background: #ffffff;
    border: 1px solid var(--primary_color);
}

.cat-items-wrapper .col-12:nth-child(2n) .cat-item i {
    background: var(--primary_color);
}

.cat-items-wrapper .col-12:nth-child(2n) .cat-item:hover i {
    background: var(--secondary_color);
}

.cat-items-wrapper .col-12:nth-child(2n) .cat-item .cat-title {
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.cat-items-wrapper .col-12:nth-child(2n) .cat-item:hover {
    background: var(--primary_color);
}

.cat-items-wrapper .col-12:nth-child(2n) .cat-item .cat-img,
.cat-items-wrapper .col-12:nth-child(2n) .cat-item .cat-text,
.cat-items-wrapper .col-12:nth-child(2n) .cat-item .cat-title:before {
    display: none;
}

.cat-items-wrapper {
    position: relative;
    z-index: 2;
}

.cat-items-wrapper:before {
    content: " ";
    background-color: var(--secondary_color);
    -webkit-mask-image: url("../img/wave-2.svg");
    mask-image: url("../img/wave-2.svg");
    width: 78px;
    height: 101px;
    position: absolute;
    top: -60px;
    left: 24%;
    box-shadow: 0 4px 26px 0 color-mix(in srgb, var(--secondary_color) 36%, transparent);
    z-index: 1;
}

.cat-items-wrapper:after {
    content: " ";
    background-color: var(--primary_color);
    -webkit-mask-image: url("../img/wave.svg");
    mask-image: url("../img/wave.svg");
    width: 71px;
    height: 86px;
    position: absolute;
    right: 25px;
    bottom: -50px;
    box-shadow: 0 4px 26px 0 color-mix(in srgb, var(--primary_color) 36%, transparent);
    z-index: 1;
}
.cat .section-head-btns-wrap .swiper-button-prev,
.cat .section-head-btns-wrap .swiper-button-next{
    left: unset;
    right: unset;
}
@media (max-width: 991px) {
    .cat .swiper-wrapper {
        margin-bottom: 32px;
    }
    .cat .section-head > .section-title-wrap {
        margin: 0 0 0 auto;
    }
}
@media (max-width: 767px) {

    .cat {
        padding-bottom: 0;
    }

    .cat .section-head {
        padding-top: 120px;
    }

}
