@font-face {
    font-family: 'star';
    src: url('../../font/star.eot');
    src: url('../../font/star.eot?#iefix') format('embedded-opentype'),
        url('../../font/star.woff') format('woff'),
        url('../../font/star.ttf') format('truetype'),
        url('../../font/star.svg#star') format('svg');
    font-weight: normal;
    font-style: normal;
}

.tf-testimonial.left {
    text-align: left;
}

.tf-testimonial.center {
    text-align: center;
}

.tf-testimonial.right {
    text-align: right;
}

.tf-testimonial.center .testimonial-swiper-thumb {
    margin-left: auto;
}

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

.tf-testimonial .rating {
    margin-bottom: 15px;
}

.tf-testimonial .testimonial-star-rating {
    overflow: hidden;
    position: relative;
    line-height: 1;
    font-size: 20px;
    font-family: star;
    color: #FFB321;
    letter-spacing: 4px;
}

.tf-testimonial .testimonial-star-rating::before {
    content: "\73\73\73\73\73";
}

.tf-testimonial .testimonial-star-rating span {
    overflow: hidden;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
}

.tf-testimonial .testimonial-star-rating span::before {
    content: "\53\53\53\53\53";
}



.tf-testimonial {
    position: relative;
}

.tf-testimonial .wrap-image {
    position: relative;
}


.tf-testimonial .heading {
    color: #24272C;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;   
    margin-bottom: 12px;   
}

.tf-testimonial .subheading {
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    color: #5F615E;
    margin-bottom: 32px;
}

.tf-testimonial .testimonial-item {
    text-align: center;
}

.tf-testimonial.left .testimonial-item {
    text-align: left;
}

.tf-testimonial.center .testimonial-item {
    text-align: center;
}

.tf-testimonial.right .testimonial-item {
    text-align: right;
}

.tf-testimonial .avatar {
    margin-bottom: 13px;
}

.tf-testimonial .testimonial-item .wrap-image {
    width: 39%;
    padding-right: 115px;
}

.tf-testimonial .testimonial-item .wrap-image img {
    border-radius: 12px;
}

.tf-testimonial .testimonial-item .wrap-content {
    width: 61%;
    padding-left: 5px;
}

.tf-testimonial .wrap-content {
    position: relative;
}

.tf-testimonial .name {
    color: #24272C;
    font-size: 20px;
    font-weight: 600;
    line-height: 25.2px;  
    margin-bottom: 3px; 
}

.tf-testimonial .position {
    color: #5F615E;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
}

.tf-testimonial .description {
    color: #5F615E;
    font-size: 24px;
    font-weight: 400;
    line-height: 30.24px;  
    position: relative;
    margin-bottom: 30px;
}


.tf-testimonial .avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.tf-testimonial .swiper-slide-thumb-active .avatar img {
    border-color: var(--theme-primary-color);
}



.tf-testimonial .testimonial-swiper-thumb  {
    max-width: 204px;   
    position: relative;
    margin: 0;
}

.tf-testimonial .testimonial-swiper-thumb .avatar {
    position: relative;
}

.tf-testimonial .testimonial-swiper-thumb .avatar::after {
    content: '';
    background: #fff;
    opacity: 50%;
    position: absolute;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    left: 0;
    top: 0;
}

.tf-testimonial .testimonial-swiper-thumb .swiper-slide-thumb-active .avatar::after {
    opacity: 0;
}

.tf-testimonial .testimonial-swiper-thumb .swiper-slide {
    cursor: pointer;
}


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

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

.tf-testimonial .swiper-button-next,
.tf-testimonial .swiper-button-prev {
    width: 58px;
    height: 58px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #24272C;
    opacity: 1;
    border: 1px solid #EDEDED;
    box-shadow: none;
    border-radius: 50%;
    -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: 100;
    top: 35px;
}

.tf-testimonial.style2 .swiper-button-next,
.tf-testimonial.style2 .swiper-button-prev {
    top: auto;
    bottom: -106px;
    left: 50%;
    transform: translateX(calc(-50% + 96px));
}

.tf-testimonial.style2 .swiper-button-prev {
    transform: translateX(calc(-50% - 96px));
}

.tf-testimonial.style2 .swiper-button-disabled {
    opacity: 0;
    visibility: hidden;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    width: 24px;
}

.tf-testimonial  .swiper-button-prev {
    left: -220px;
}

.tf-testimonial  .swiper-button-next {
    right: -220px;
}


.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--theme-primary-color);
    color: #fff;
}

.swiper-button-disabled {
    opacity: 0;
    visibility: hidden;
}

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

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #E4E4E4;
    margin: 0 !important;
    margin-right: 16px !important;
    position: relative;
    opacity: 1;
}

.swiper-pagination-bullet:last-child {
    margin-right: 0 !important;
}

.swiper-pagination-bullet::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 1px solid transparent;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--theme-primary-color);
}

.swiper-pagination-bullet.swiper-pagination-bullet-active::before {
    border: 1px solid var(--theme-primary-color);
}

.tf-testimonial.style1 .rating {
    margin-top: 39px;
    margin-bottom: 15px;
}





/* Style 2 */

.tf-testimonial.style2 .swiper-slide {
    border: 1px solid #DCA54626;
    border-radius: 20px;
    background: #FDF8F1;
    padding: 23px 24px;
    position: relative;
    text-align: center;
}

.tf-testimonial.style2 .avatar {
    margin-bottom: 14px;
}

.tf-testimonial.style2 .avatar img {
    width: 90px;
    height: 90px;
    border: none;
}

.tf-testimonial.style2 .rating {
    margin-bottom: 21px;
}

.tf-testimonial.style2 .name {
    font-family: 'Lexend';
    font-size: 18px;
    font-weight: 600;
    line-height: 25.2px; 
    margin-bottom: 2px;
}

.tf-testimonial.style2 .position {
    font-family: 'Lexend';
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #5C6368;
    margin-bottom: 0;
}

.tf-testimonial.style2 .description {
    font-family: 'Lexend';
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    color: #5C5E61;
    margin-bottom: 18px;
}

.tf-testimonial.style2 .testimonial-star-rating {
    overflow: hidden;
    position: relative;
    line-height: 1;
    font-size: 11px;
    font-family: star;
    color: #FFA800;
    letter-spacing: 6px;
}

/* Style 3 */

.tf-testimonial.style3 {
    padding-bottom: 106px;
}

.tf-testimonial.style3 .swiper-pagination {
    bottom: 19px !important;
}

.tf-testimonial.style3 .testimonial-swiper-slider5 {
    overflow: visible;
}

.tf-testimonial.style3 .swiper-slide {
    opacity: 0.4;
}

.tf-testimonial.style3 .swiper-slide .description {
    font-size: 18px;
    font-weight: 400;
    line-height: 22.68px;
}


.tf-testimonial.style3 .swiper-slide.swiper-slide-active  {
    opacity: 1;
}

.tf-testimonial.style3 .swiper-slide.swiper-slide-active .description {
    font-size: 24px;
    font-weight: 400;
    line-height: 30.24px;
}

.tf-testimonial.style3 .swiper-button-next, 
.tf-testimonial.style3 .swiper-button-prev {
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(calc(-50% + 96px));
}

.tf-testimonial.style3 .swiper-button-prev {
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(calc(-50% - 96px));
}

/* Style 4 */

.tf-testimonial.style4 .heading {
    margin-top: 22px;
    margin-bottom: 30px;
}

.tf-testimonial.style4 .wrap-content {
    padding-bottom: 65px;
}

/* Style 5 */

.testimonial-swiper-card {
    width: calc(100% - 64px);
    margin-left: 0%;
    overflow: visible;
}

.tf-testimonial.style5 {
    overflow: hidden;
}
.testimonial-swiper-card .swiper-slide .image {
    position: relative;
}


.testimonial-swiper-card .wrap-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(100% - 16px);
    margin: 8px;
    background: #fff;
    border-radius: 16px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(60px);
    -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;
}   

.testimonial-swiper-card .swiper-slide.swiper-slide-active .wrap-content {
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
}

.testimonial-swiper-card .swiper-slide .image img {
    border-radius: 16px;
}


@media (max-width: 1200px) {
 

 
}

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

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


    .tf-testimonial.style1 .testimonial-item .wrap-image,
    .tf-testimonial .testimonial-item .wrap-image,
    .tf-testimonial .testimonial-item .wrap-content {
        width: 100%;
        padding-right: 0;
    }


    .tf-testimonial.style2 .swiper-button-next, .tf-testimonial.style2 .swiper-button-prev {
        display: none;
    }

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

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

}

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