/* =========================================================
   COMPONENT: TESTIMONIALS SLIDER
   ========================================================= */
.about-testimonials {
    /* Scoped Variables */
    --testi-primary: #134e4a;
    --testi-accent: #eab308;
    --testi-text-main: #1d1d1f;
    --testi-text-muted: #86868b;
    --testi-ease: cubic-bezier(0.16, 1, 0.3, 1);

    padding: 120px 20px 80px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

.about-testimonials .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--testi-primary);
    font-weight: 700;
}

.testimonial-slider-wrapper {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr) 65px;
    gap: 20px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-center-wrap {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.testimonial-swiper {
    width: 100%;
    margin: 0 auto;
}

/* Content Styling */
.testimonial-single-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.testi-pic {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.testi-review {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--testi-text-main);
    font-style: italic;
}

.testi-date {
    font-size: 0.9rem;
    color: var(--testi-text-muted);
    margin-bottom: 15px;
}

.testi-stars {
    color: var(--testi-accent);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testi-meta h3 {
    font-weight: 700;
    color: var(--testi-primary);
    font-size: 1.1rem;
}

.testi-flag {
    width: 24px;
    margin-top: 5px;
}

/* Animated Counter */
.testimonial-counter {
    margin-top: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 50px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.testimonial-counter.animate {
    opacity: 0;
    transform: scale(0.9);
}

.testimonial-counter .current {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--testi-primary);
}

.testimonial-counter .divider {
    opacity: 0.3;
}

.testimonial-counter .total {
    opacity: 0.6;
    font-weight: 500;
}

/* Custom Navigation Arrows */
.custom-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--testi-ease);
    color: var(--testi-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
}

.custom-arrow svg {
    width: 24px;
    height: 24px;
}

.custom-arrow:hover {
    transform: scale(1.1);
    background: var(--testi-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(19, 78, 74, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-testimonials {
        padding: 100px 20px;
    }
}

@media (max-width: 768px) {
    .about-testimonials .section-title {
        font-size: 2.5rem;
    }
    .testimonial-slider-wrapper {
        grid-template-columns: 1fr;
    }
    .custom-arrow {
        display: none;
    }
}