/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/

.testimonials-one {
    background: linear-gradient(180deg, #f5f9fd 0%, #eef4fb 100%);
    padding-top: 110px;
    padding-bottom: 110px;
}

.testimonials-one__single {
    margin-bottom: 32px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonials-one__stars {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    margin-bottom: 22px;
    gap: 5px;
}

.testimonials-one__stars i {
    font-size: 17px;
    color: #f6a704;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.testimonials-one__content {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 58%, #f8fbff 100%);
    border: 1px solid #dbe7f2;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    padding: 44px 36px 34px;
    margin-bottom: 28px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 14px 28px rgba(15, 23, 42, 0.07),
        0 4px 12px rgba(15, 23, 42, 0.04);
    -webkit-transition: transform .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s ease, border-color .28s ease;
    transition: transform .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s ease, border-color .28s ease;
    will-change: transform;
}

.testimonials-one__single:hover .testimonials-one__content {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    border-color: #cfe0ee;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 22px 40px rgba(15, 23, 42, 0.11),
        0 6px 16px rgba(64, 185, 235, 0.10);
}

.testimonials-one__content::before {
    content: "\201C";
    position: absolute;
    top: 18px;
    left: 18px;
    right: auto;
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: 1;
    color: rgba(200, 155, 60, 0.22);
    pointer-events: none;
}

.testimonials-one__content::after {
    content:"";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 18px solid #f8fbff;
    border-right: 14px solid transparent;
    border-left: 14px solid transparent;
    bottom: -17px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.testimonials-one__content p {
    margin: 0;
    font-size: 18px;
    color: #495a6b;
    font-weight: 500;
    line-height: 1.8;
    position: relative;
    height: 165px;
    overflow: hidden;
    text-align: left;
}

.testimonials-one__info img {
    border-radius: 50%;
}

.testimonials-one__info h3 {
    font-family: var(--thm-font);
    color: var(--thm-black);
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1em;
    margin-top: 4px;
}

.testimonials-one__info p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #7c8ca0;
}

.testimonials-one__carousel .owl-item img {
    width: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}


.testimonials-one__carousel .owl-nav button.owl-next,
.testimonials-one__carousel .owl-nav button.owl-prev {
    font-size: 20px;
    color: var(--thm-black);
    font-weight: 500;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}
.testimonials-one__carousel .owl-nav button.owl-prev {
    margin-right: 15px;
}
.testimonials-one__carousel .owl-nav button.owl-next:hover,
.testimonials-one__carousel .owl-nav button.owl-prev:hover {
    color: var(--thm-secondary);
    background-color: transparent;
}

@media(max-width: 767px) {
    .testimonials-one {
        padding-top: 84px;
        padding-bottom: 84px;
    }

    .testimonials-one__single {
        height: 100%;
    }

    .testimonials-one__content {
        padding: 36px 26px 28px;
        min-height: 250px;
    }

    .testimonials-one__content p {
        height: 134px;
        max-height: 134px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        text-overflow: ellipsis;
    }
}

@media(max-width: 375px) {
    .testimonials-one__content {
        padding: 34px 24px 26px;
        min-height: 242px;
    }

    .testimonials-one__content p {
        height: 126px;
        max-height: 126px;
    }
}
