.review-full-popup {
    max-width: 500px;
    width: 90%;
    background-color: var(--bg-w);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    box-shadow: 0px 0px 100vw 100vw rgba(0, 0, 0, 0.38);
    border-radius: 20px;
    border: 2px solid var(--s-c);
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.6s ease-in-out;
    overflow: hidden;
}

.review-full-popup.active {
    clip-path: circle(150vmax at 50% 50%);
    pointer-events: auto;
}

.review-full-popup .review-content {
    font-size: 14px;
}

.review-full-popup .review-name {
    font-size: 14px;
    color: var(--s-c);
}

.review-full-popup .review-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--bg-w);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.399);
    border-radius: 100vh;
    transition: .4s;
    cursor: pointer;
}

.review-full-popup .review-close-btn:hover {
    background-color: var(--s-c);
}



.testimonialSwiper {
    padding-block: 50px !important;
}

.swiper-parent {
    width: 85%;
}

.swiper-slide .testimonial-slider-client {
    width: 70%;
    aspect-ratio: 1;
    border-radius: 100vh;
    background-image: var(--tes-img);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 3px solid var(--s-c);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.539);
    transition: .4s;
    cursor: pointer;
}

.swiper-slide .testimonial-slider-client:hover {
    scale: 1.2;
}

.swiper-slide-active .testimonial-slider-client {
    border: 3px solid var(--s-c);
    scale: 1.5;
}

.swiper-slide-active .testimonial-slider-client:hover {
    scale: 1.5;
}


#testimonials-sec .swiper-next-prev-wrapper {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-70%);
}


#testimonials-sec .swiper-next-prev-wrapper .swiper-button-next,
#testimonials-sec .swiper-next-prev-wrapper .swiper-button-prev {
    border-radius: 100vh;
    cursor: pointer;
}

#testimonials-sec .swiper-button-next::after,
#testimonials-sec .swiper-button-prev::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;

    -webkit-mask-image: url("../images/icons/testi-arrow.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    mask-image: url("../images/icons/testi-arrow.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;

    background-color: var(--s-c);
}

#testimonials-sec .swiper-button-next::after {
    transform: rotate(180deg);
}


#testimonials-sec .swiper-next-prev-wrapper .swiper-button-prev {
    transform: translateX(-60px);
}

#testimonials-sec .swiper-next-prev-wrapper .swiper-button-next {
    transform: translateX(60px);
}

#testimonials-sec .swiper-pagination-bullet {
    background-color: var(--s-c) !important;
    opacity: .5 !important;
    width: 12px;
    height: 12px;
    margin: 0 8px !important;
}

#testimonials-sec .swiper-pagination-bullet-active {
    background-color: var(--s-c) !important;
    opacity: 1 !important;
    transform: scale(1.4) !important;
}

.custom-pagination {
    width: 100%;
    margin-inline: auto !important;
    align-items: center !important;
}



.client-testimonial-details-wrapper {
    display: grid;
    width: 95%;
}

.client-testimonial-details-parent {
    grid-row: 1/2;
    grid-column: 1/2;
}

.client-testimonial-details-parent.show {
    animation: show .4s forwards ease-out;
}

.client-testimonial-details-parent.hide {
    animation: hide .4s forwards ease-out;
}


@keyframes hide {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-200%);
        opacity: 0;
    }
}

@keyframes show {
    0% {
        transform: translateY(-200%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.client-testimonial-details {
    box-shadow: 0px 0px 10px color-mix(in srgb, var(--s-c) 100%, rgb(0, 0, 0));
    border-radius: 100vh;
}

.client-testimonial-details::after {
    content: "";
    position: absolute;
    width: calc(100% + 15px);
    height: calc(100% + 15px);
    background-color: var(--s-c);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100vh;
    z-index: -1;
    clip-path: polygon(0% 100%, 25% 100%, 50% 0%, 0% 0%, 0% 100%);
}

.client-profile {
    flex-shrink: 0;
    width: 20%;
    aspect-ratio: 1;
    border-radius: 100vh;
    background-image: var(--tes-img);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 4px solid var(--s-c);
    box-shadow: 0px 0px 10px color-mix(in srgb, var(--s-c) 100%, rgb(0, 0, 0));
}

/* ratings */
.client-ratings {
    position: relative;
    width: 100px;
    height: 20px;
    scale: .9;
}

.client-ratings::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--ratings) * 20px);
    height: 20px;
    background-color: var(--s-c);
    -webkit-mask-image: url(../images/icons/f-star.svg);
    -webkit-mask-size: 20px;
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-position: left center;
    mask-image: url(../images/icons/f-star.svg);
    mask-size: 20px;
    mask-repeat: repeat-x;
    mask-position: left center;
}

.client-ratings::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: calc(5 * 20px);
    height: 20px;
    background-color: var(--s-c);
    -webkit-mask-image: url(../images/icons/out-star.svg);
    -webkit-mask-size: 20px;
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-position: left center;
    mask-image: url(../images/icons/out-star.svg);
    mask-size: 20px;
    mask-repeat: repeat-x;
    mask-position: left center;
}

.client-ratings-wrapper {
    position: absolute;
    background-color: rgb(255, 255, 255);
    z-index: 1;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.318);
    border-radius: 100vh;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
}

.slider-number {
    position: absolute;
    width: max-content;
    width: 30px;
    height: 30px;
    background-color: var(--s-c);
    border-radius: 100vh;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(50%);
    z-index: 2;
    box-shadow: 0px 0px 10px color-mix(in srgb, var(--s-c) 70%, rgb(255, 255, 255));
    font-size: 14px;
}

#testimonials-sec .client-testimonial-details-wrapper .client-details .review-name {
    font-size: 18px !important;
}

#testimonials-sec .client-testimonial-details-wrapper .client-details .review-content {
    font-size: 12px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

#testimonials-sec .client-testimonial-details-wrapper .client-details .read-more {
    font-size: 10px;
    color: var(--s-c);
    margin-left: auto;
    cursor: pointer;
    transition: .4s;
    font-weight: 600;
}

#testimonials-sec .client-testimonial-details-wrapper .client-details .read-more:hover {
    color: var(--p-c);
}

@media (width < 1500px) {
    .swiper-parent {
        width: 70%;
        margin-left: 60px;
    }

    @keyframes hide {
        0% {
            transform: translateX(0);
            opacity: 1;
        }

        100% {
            transform: translateX(-200%);
            opacity: 0;
        }
    }

    @keyframes show {
        0% {
            transform: translateX(200%);
            opacity: 0;
        }

        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
}

@media (width < 1200px) {
    .swiper-parent {
        width: 40%;
        margin-inline: auto;
    }
}

@media (width < 998px) {
    .swiper-parent {
        width: 50%;
    }
}

@media (width < 768px) {
    .swiper-parent {
        width: 60%;
    }
}

@media (width < 550px) {
    .swiper-parent {
        width: 80%;
    }

    .client-testimonial-details {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        border-top-left-radius: 100vh !important;
        border-top-right-radius: 100vh !important;
        border-radius: 10px;
        padding-block: 30px;
    }

    .client-testimonial-details::after {
        border-top-left-radius: 100vh !important;
        border-top-right-radius: 100vh !important;
        border-radius: 10px;
    }


    #testimonials-sec .client-testimonial-details-wrapper .client-details {
        padding-inline: 0px;

    }

    #testimonials-sec .client-testimonial-details-wrapper .client-details p {
        font-size: 10px !important;
    }

    .swiper-slide .testimonial-slider-client {
        width: 80%;
        border: 3px solid var(--bg-b-2);
    }

    .swiper-slide-active .testimonial-slider-client {
        border: 3px solid var(--s-c);
        scale: 1.5;
    }

    #testimonials-sec .swiper-next-prev-wrapper .mask-item {
        width: 3rem;
    }

    #testimonials-sec .swiper-next-prev-wrapper .next-prev.prev {
        transform: translateX(-60px);
    }

    #testimonials-sec .swiper-next-prev-wrapper .next-prev.next {
        transform: translateX(60px);
    }

    .slider-number {
        position: absolute;
        width: max-content;
        width: 30px;
        height: 30px;
        background-color: var(--s-c);
        border-radius: 100vh;
        top: auto;
        bottom: 0;
        right: 0;
        transform: translateY(50%) translateX(50%);
        z-index: 2;
        box-shadow: 0px 0px 10px color-mix(in srgb, var(--s-c) 70%, rgb(255, 255, 255));
    }
}

@media (width < 450px) {
    .swiper-slide .testimonial-slider-client {
        border: 2px solid var(--bg-b-2);
    }

    .swiper-slide-active .testimonial-slider-client {
        border: 2px solid var(--s-c);
    }
}