
.testimonial-carousel-wrapper {
    text-align: center;
}

.testimonial-carousel-wrapper h2 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6em;
    color: rgb(58, 56, 69);
}

.testimonial-carousel-wrapper p {
    font-size: 28px;
    font-weight: 600;
    color: rgb(58, 56, 69);
}

.testimonial-carousel {
    position: relative;
    width: 93%;
    height: 100%;
}

@media (max-width: 1024px) {
    .testimonial-carousel {
        width: 80%;
    }
}

.testimonial-carousel .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    transition: border 0.5s ease;
    background-color: #C69B7B1A;
    height: auto;
}

.testimonial-carousel .swiper-wrapper {
    padding-bottom: 40px;
}

.testimonial-carousel-wrapper .swiper-button-next,
.testimonial-carousel-wrapper .swiper-button-prev {
    z-index: 1000;
}

.testimonial-carousel-wrapper .swiper-pagination {
    z-index: 1;
}

.testimonial-carousel-wrapper .swiper-button-next:after, .testimonial-carousel-wrapper .swiper-button-prev:after {
    content: '' !important;
}

.testimonial-carousel-wrapper .swiper-button-next, .testimonial-carousel-wrapper .swiper-button-prev {
    background-color: transparent;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
    top: 60%;
}

.testimonial-carousel-wrapper .swiper-button-next:hover, .testimonial-carousel-wrapper .swiper-button-prev:hover {
    background-color: #826F66;
}

.testimonial-carousel-wrapper .swiper-button-next:before, .testimonial-carousel-wrapper .swiper-button-prev:before {
    content: '';
    width: 15px;
    height: 15px;
    mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" id="Outline" viewBox="0 0 24 24" width="512" height="512"%3E%3Cpath d="M7,24a1,1,0,0,1-.71-.29,1,1,0,0,1,0-1.42l8.17-8.17a3,3,0,0,0,0-4.24L6.29,1.71A1,1,0,0,1,7.71.29l8.17,8.17a5,5,0,0,1,0,7.08L7.71,23.71A1,1,0,0,1,7,24Z"%3E%3C/path%3E%3C/svg%3E') no-repeat center center;
    -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" id="Outline" viewBox="0 0 24 24" width="512" height="512"%3E%3Cpath d="M7,24a1,1,0,0,1-.71-.29,1,1,0,0,1,0-1.42l8.17-8.17a3,3,0,0,0,0-4.24L6.29,1.71A1,1,0,0,1,7.71.29l8.17,8.17a5,5,0,0,1,0,7.08L7.71,23.71A1,1,0,0,1,7,24Z"%3E%3C/path%3E%3C/svg%3E') no-repeat center center;
    mask-size: contain;
    background-color: #826F66;
    -webkit-mask-size: contain;
    transition: background-color 0.3s ease;
}

.testimonial-carousel-wrapper .swiper-button-next:hover:before,
.testimonial-carousel-wrapper .swiper-button-prev:hover:before {
    background-color: #fff;
}

.testimonial-carousel-wrapper .swiper-button-prev:before {
    transform: rotate(180deg);
}

.testimonial-carousel-wrapper .swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -4px;
}

.testimonial-carousel-wrapper .swiper-pagination-bullet {
    width: 8px;
    height: 5px;
    border-radius: 0;
    background-color: #F4F4F4;
    opacity: 1;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.testimonial-carousel-wrapper .swiper-pagination-bullet-active {
    background-color: #826F66;
    width: 20px;
}

.testimonial-carousel-wrapper .swiper-pagination-bullet:hover {
    background-color: #826F66;
}

.testimonial-carousel .card {
    border: none;
    border-radius: 0;
    background-color: transparent;
    height: 100%;
}

.testimonial-carousel .card .card-body {
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 25px;
}

.testimonial-carousel .card svg {
    fill: #826F66;
    width: 35px;
}

.testimonial-carousel .card .testimonial-text {
    font-size: 15px;
    font-weight: 500;
    color: rgb(58, 56, 69);
    line-height: 1.8em;
    margin-bottom: 16px;
}

.testimonial-carousel .card .testimonial-author {
    font-size: 15px;
    color: rgb(130, 111, 102);
    font-weight: 400;
    text-align: end;
    margin-bottom: 0;
}

.testimonial-carousel .card .testimonial-role {
    font-size: 14px;
    color: rgb(122, 122, 122);
    font-weight: 400;
    margin-bottom: 0;
}