.testimonials-page {
    padding: 90px 0 80px;
    background: linear-gradient(180deg, #f5f7fb 0%, #eef4ff 100%);
}

.testimonials-heading {
    text-align: center;
    margin-bottom: 36px;
}

.testimonials-heading .section-tag {
    display: inline-block;
    margin-bottom: 12px;
}

.testimonials-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: #082753;
    font-weight: 700;
}

.testimonials-slider-wrapper {
    max-width: 980px;
    margin: 0 auto;
}

.testimonials-slider {
    position: relative;
    min-height: 420px;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: testimonialFade 0.45s ease;
}

@keyframes testimonialFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(8, 39, 83, 0.08);
    border-radius: 28px;
    padding: 38px 34px 26px;
    box-shadow: 0 18px 45px rgba(15, 44, 86, 0.12);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote-top,
.testimonial-quote-bottom {
    width: 32px;
    height: 32px;
    display: block;
    opacity: 0.9;
}

.testimonial-quote-top {
    margin-bottom: 18px;
}

.testimonial-quote-bottom {
    margin-left: auto;
    margin-top: 18px;
}

.testimonial-card p {
    margin: 0;
    color: #12315f;
    font-size: 1.08rem;
    line-height: 1.9;
    font-weight: 500;
    text-align: justify;
    padding: 0 56px;
}

.testimonial-footer {
    margin-top: 22px;
    text-align: center;
}

.testimonial-card h3 {
    margin: 0 0 8px;
    color: #082753;
    font-size: 1.3rem;
    font-weight: 700;
}

.testimonial-card span {
    color: #4d5a70;
    font-size: 0.96rem;
    line-height: 1.6;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 12px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(8, 39, 83, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    width: 42px;
    border-radius: 999px;
    background: #082753;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
}

.testimonial-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #082753;
    box-shadow: 0 10px 22px rgba(8, 39, 83, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-btn i {
    font-size: 1rem;
}

.testimonial-btn:hover,
.testimonial-btn:focus-visible {
    background: #082753;
    color: #fff;
    transform: translateY(-1px);
    outline: none;
}

@media (max-width: 767px) {
    .testimonials-page {
        padding: 70px 0 60px;
    }

    .testimonials-heading {
        margin-bottom: 24px;
    }

    .testimonial-card {
        padding: 28px 22px 22px;
        min-height: 300px;
    }

    .testimonial-card p {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .testimonial-controls {
        gap: 12px;
        margin-top: 24px;
    }

    .testimonial-btn {
        width: 46px;
        height: 46px;
    }
}