.testimonials {
    margin-top: 160px;
}

.testimonials .pre-header {
    color: var(--lgray-golor);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    text-transform: uppercase;
}

.testimonials h2 {
    text-align: center;
}

.testimonial-slider .splide__slide {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.testimonial-slider .testimonial-quote {
    max-width: 1440px;
    display: flex;
    gap: 30px;
}

.testimonial-slider .featured-image {
    flex-shrink: 0;
    width: 50%;
    border-radius: 25px;
}

.testimonial-slider .featured-image img {
    vertical-align: bottom;
    width: 100%;
}

.testimonial-slider {
    position: relative;
}

.testimonial-slider .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 78px;
    gap: 0;
}

.testimonial-slider .top-grouping {
    display: flex;
    gap: 22px;
    align-content: center;
    align-items: center;
}

.testimonial-slider .name {
    font-weight: 600;
}

.testimonial-slider .btn {
    margin-top: 46px;
}

.testimonial-slider .splide__arrows {
    position: relative;
    top: 56px;
    transform: translateX(9px);
    z-index: 1;
    display: flex;
    justify-content: space-between;
    width: 139px;
    padding: 10px 0;
    left: 50%;
}

.testimonial-slider .splide__arrow {
    background: #58C1D5;
    height: 48px;
    width: 48px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-slider .splide__arrow svg {
    fill: transparent;
}

.testimonial-slider .splide__arrow--next {
    margin-left: 10px;
    background-image: url('data:image/svg+xml,<svg width="48" height="49" viewBox="0 0 48 49" fill="none" xmlns="http://www.w3.org/2000/svg"><rect y="0.694824" width="48" height="48" rx="24" fill="%2358C1D5"/><path d="M28.5121 24.994L22.1371 31.369C21.6965 31.8097 20.984 31.8097 20.548 31.369L19.4887 30.3097C19.048 29.869 19.048 29.1565 19.4887 28.7206L24.0074 24.2019L19.4887 19.6831C19.048 19.2425 19.048 18.53 19.4887 18.094L20.5434 17.0253C20.984 16.5847 21.6965 16.5847 22.1324 17.0253L28.5074 23.4003C28.9527 23.8409 28.9527 24.5534 28.5121 24.994Z" fill="%23FDFDFD"/></svg>');
    color: transparent;
}

.testimonial-slider .splide__arrow--prev {
    margin-right: 10px;
    background-image: url('data:image/svg+xml,<svg width="48" height="49" viewBox="0 0 48 49" fill="none" xmlns="http://www.w3.org/2000/svg"><rect y="0.694824" width="48" height="48" rx="24" fill="%2358C1D5"/><path d="M18.4856 23.4003L24.8606 17.0253C25.3013 16.5847 26.0138 16.5847 26.4497 17.0253L27.5091 18.0847C27.9497 18.5253 27.9497 19.2378 27.5091 19.6737L22.995 24.1972L27.5138 28.7159C27.9544 29.1565 27.9544 29.869 27.5138 30.305L26.4544 31.369C26.0138 31.8097 25.3013 31.8097 24.8653 31.369L18.4903 24.994C18.045 24.5534 18.045 23.8409 18.4856 23.4003Z" fill="%23FDFDFD"/></svg>');
    color: transparent;
}

.testimonial-slider .featured-image {
    flex-shrink: 0;
}

.testimonial-slider .profile-image img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.testimonial-slider .profile-information {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-slider .quote {
    margin-top: 20px;
    font-style: italic;
}

@media (max-width: 991px) {
    .testimonial-slider .testimonial-quote {
        flex-direction: column-reverse;
    }
    .testimonial-slider .featured-image {
        width: 100%;
        overflow: hidden;
    }
    .testimonial-slider .content {
        padding-top: 0;
        gap: 0;
    }
}