/* Testimoni — What they said */
.testi-section {
    position: relative;
    padding: 32px 0 36px;
    background: #f8f4ed;
    overflow: hidden;
}

.testi-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 42%, rgba(244, 160, 32, 0.07) 0 120px, transparent 121px),
        radial-gradient(circle at 82% 58%, rgba(10, 107, 90, 0.06) 0 160px, transparent 161px),
        repeating-radial-gradient(circle at 50% 50%, transparent 0 38px, rgba(210, 190, 160, 0.14) 39px 40px, transparent 41px 78px);
    opacity: 0.9;
}

.testi-section .container {
    position: relative;
    z-index: 1;
}

.testi-heading {
    text-align: center;
    margin-bottom: 20px;
}

.testi-quote-icon {
    display: block;
    color: #f4a020;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -6px;
    margin-bottom: 4px;
    font-family: Georgia, serif;
}

.testi-heading h2 {
    color: #0a6b5a;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.testi-carousel-wrap {
    overflow: hidden;
    padding: 4px 0 6px;
}

.testi-carousel {
    display: flex;
    gap: 24px;
    transition: transform 0.7s ease;
    will-change: transform;
}

.testi-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 280px;
    background: #fff;
    border-radius: 6px;
    padding: 18px 20px 16px;
    box-shadow: 0 6px 20px rgba(10, 61, 107, 0.07);
    border: 1px solid rgba(10, 107, 90, 0.08);
}

.testi-card-text {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 12px;
    max-height: 96px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.testi-card-name {
    color: #0a6b5a;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    text-transform: capitalize;
}

.testi-card-stars {
    color: #f4a020;
    font-size: 14px;
    letter-spacing: 2px;
}

.testi-card-stars .fa-star-o {
    color: #e2c9a0;
}

.testi-progress {
    width: 180px;
    height: 5px;
    margin: 14px auto 0;
    background: rgba(10, 107, 90, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.testi-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #f4a020, #ff8c00);
    border-radius: 999px;
    transition: width 0.15s linear;
}

@media (max-width: 991px) {
    .testi-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 575px) {
    .testi-section {
        padding: 24px 0 28px;
    }

    .testi-card {
        flex: 0 0 88%;
        min-width: 260px;
    }

    .testi-heading h2 {
        font-size: 22px;
    }
}
