.testimonials {
    position: relative;
    background-image: url('../assets/patterns/pattern.svg');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: inherit;
    width: 100%;
    height: 100%;
    background-color: var(--t-color);
    padding: 80px 0;
}

.testimonials::before {
    content: '';
    position: absolute;
    background-image: url('../assets/shapes/t-shape.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: inherit;
    width: 100%;
    height: 20%;
    top: 0;
    z-index: 0;
}

.testimonials::after {
    content: '';
    position: absolute;
    background-image: url('../assets/shapes/b-shape.svg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: inherit;
    width: 100%;
    height: 20%;
    bottom: 0;
    z-index: 0;
}

.testimonials-items {
    padding: 100px 0;
}

.testimonials-contents {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.testimonials-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonials-title h3 {
    color: var(--w-color) !important;
    font-size: 28px;
    font-weight: 700;
}

.testimonials-slider {
    width: 100%;
    overflow: hidden;
}

.testimonials-cards {
    align-items: stretch;
}

.testimonials-card {
    background: var(--w-color);
    padding: 15px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
}

.testimonials-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonials-card-image {
    line-height: 0;
    width: 120px;
    height: 120px;
}

.testimonials-card-image img {
    width: 100%;
}

.testimonials-card-name h3 {
    font-size: 22px;
    font-weight: 700;
}

.testimonials-card-image img {
    border-radius: 24px;
}

.testimonials-card-star {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--s-color);
    padding: 8px 12px;
    border-radius: 8px;
    width: fit-content;
}

.testimonials-card-star span {
    font-size: 16px;
    font-weight: 700;
}

.testimonials-card-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.testimonials-card-content p {
    font-size: 16px;
    line-height: 2;
}

.swiper-pagination {
    position: relative !important;
    margin-top: 30px;
}

.swiper-pagination-bullet-active {
    background-color: var(--w-color, #fff) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--w-color, #fff) !important;
    transform: scale(0.7);
}



.swiper-button-prev {
    background: var(--p-color);
    width: 70px;
    height: 70px;
    padding: 15px;
    border-radius: 50px;
}

.swiper-button-next {
    background: var(--p-color);
    width: 70px;
    height: 70px;
    padding: 15px;
    border-radius: 50px;
}

.swiper-button-next::after {
    font-size: 20px;
    font-weight: 700;
}

.swiper-button-prev::after {
    font-size: 20px;
    font-weight: 700;
}


.swiper-button-prev {
    left: -70px;
}

.swiper-button-next {
    right: -70px;
}

@media (max-width: 1400px) {
    .testimonials-items {
        padding: 50px 0 0px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

}

@media (max-width: 1200px) {
    .testimonials-title h3 {
        font-size: 26px;
    }
}

@media (max-width: 992px) {
    .testimonials::before {
        background-size: 1340px;
    }

    .testimonials-items {
        padding: 30px 0 10px;
    }

    .testimonials-title h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .testimonials-card-name h3 {
        font-size: 18px;
        font-weight: 700;
    }

    .testimonials-card-content p {
        font-size: 15px;
        line-height: 2;
    }

    .testimonials-card-items {
        display: flex;
        flex-direction: column;
    }

    .testimonials-card-star {
        padding: 4px 12px;
    }

    .testimonials {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {}

@media (max-width: 480px) {}

@media (max-width: 390px) {}