.tf-testimonial .item {
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: #fff;
    padding: 40px 80px 49px 70px;
}

.tf-testimonial {
    position: relative;
}

.tf-testimonial .icon {
    position: absolute;
    right: -9px;
    top: -23px;
    z-index: 5;
}

.tf-testimonial .icon-2 {
    position: absolute;
    bottom: -25px;
    left: -30px;
}


.tf-testimonial .name {
    color: #3056D3;
    font-family: 'Inter';
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    margin: 0;
}

.tf-testimonial .description {
    color: #637381;
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    margin-bottom: 20px;
}


.tf-testimonial .wrap-avatar {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tf-testimonial .wrap-avatar img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    max-width: 165px;
    border-radius: 50%;
}

.tf-testimonial .wrap-avatar .group-icon {
    position: relative;
    z-index: 1;
}

.tf-testimonial .testimonial-swiper-thumb {
    max-width: 255px;
    margin-left: 0;
    position: relative;
    margin-top: 39px;
    padding-top: 32px;
}

.tf-testimonial .testimonial-swiper-thumb::after {
    content: '';
    width: 49px;
    height: 4px;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--theme-primary-color);
}


.tf-testimonial.right .testimonial-swiper-thumb::after {
    left: auto;
    right: 0;
}

.tf-testimonial.center .testimonial-swiper-thumb::after {
    left: 50%;
    transform: translateX(-50%);
}



.swiper-pagination {
    bottom: -63px !important;
}

.swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: var(--theme-primary-color);
    margin: 0px 5px !important;
    position: relative;
    opacity: 1;
}

/* .swiper-pagination-bullet::before {
    content: '';
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);

} */

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--theme-primary-color);
    margin: 0px 10px !important;
    position: relative;
}

.swiper-pagination-bullet::before,
.swiper-pagination-bullet.swiper-pagination-bullet-active::before {
    content: '';
    width: 21px;
    height: 21px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--theme-primary-color);
    border-radius: 100px;

}

.swiper-pagination-bullet::before {
    border-color: transparent;
}

.tf-testimonial-box-category .item > * {
    position: relative;
    z-index: 5;
}

.tf-testimonial-box-category .item {
    padding: 30px 43px 20px 43px;
    background-color: #FFFFFF;
    border-radius: 15px;
    text-align: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    min-height: 315px;
    position: relative;
}

.tf-testimonial-box-category .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #488343;
    
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 0;
    border-radius: 15px;
}

.tf-testimonial-box-category .item:hover {
    position: relative;
    z-index: 5;
    color: #fff;
}


.tf-testimonial-box-category .item:hover::before {
    height: 100%;

}


.tf-testimonial-box-category  .swiper-pagination {
    bottom: -49px !important;
}

.tf-testimonial-box-category .item .wrap-avatar {
    width: 80px;
    height: 80px;
}

.tf-testimonial-box-category .swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.tf-testimonial-box-category .swiper-slide {
    text-align: center;
    font-size: 18px;
    height: calc((100% - 30px) / 2) !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tf-testimonial-box-category .swiper-slide .description {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    text-align: center;
}

.tf-testimonial-box-category .swiper-slide .description p {
    margin-bottom: 0;
}


/* .tf-testimonial-box-category .swiper-slide {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.tf-testimonial-box-category .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: calc((100% - 30px) / 2) !important;
    display: flex;
    justify-content: center;
    align-items: center;
} */


@media (max-width: 1600px) {}

@media only screen and (max-width: 991px) {}

@media only screen and (max-width: 767px) {
    .tf-testimonial .item {
        padding: 40px 20px;
        gap: 20px;
    }

}

@media only screen and (max-width: 500px) {
    .tf-testimonial .item {
        flex-direction: column;
    }
}

@media only screen and (max-width: 450px) {}