/* ==========================================================================
   TESTIMONIALS SLIDER SECTION (4 DESKTOP, 3 TABLET, 1 MOBILE)
   ========================================================================== */

.testimonials-slider-section {
    background-color: #FFFFFF !important;
    position: relative;
    padding-top: 85px;
    padding-bottom: 85px;
}

.testi-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#E2E8F0 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    opacity: 0.5;
    pointer-events: none;
}

.testi-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 380px;
    background: radial-gradient(circle, rgba(242, 121, 21, 0.08) 0%, rgba(2, 132, 199, 0.04) 55%, transparent 80%);
    filter: blur(110px);
    pointer-events: none;
}

.testi-main-heading {
    color: #000B33 !important;
    font-size: clamp(1.85rem, 2.8vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.testi-carousel-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 15px 0 25px;
    user-select: none;
    touch-action: pan-y;
}

.testi-carousel-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.3, 1);
    will-change: transform;
}

/* ==========================================================================
   EXACT RESPONSIVE CARD WIDTHS:
   - Desktop (>= 1200px): 4 cards (25% each)
   - Tablet / Laptop (768px - 1199px): 3 cards (33.333% each)
   - Mobile (< 768px): 1 card (100% each)
   ========================================================================== */
.testi-carousel-card {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
    box-sizing: border-box;
}

@media (max-width: 1199.98px) {
    .testi-carousel-card {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 767.98px) {
    .testi-carousel-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 4px;
    }
}

/* Review Box Styling */
.testi-card-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 26px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 11, 51, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.testi-card-box:hover {
    border-color: #F27915;
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(242, 121, 21, 0.12), 0 4px 12px rgba(0, 11, 51, 0.04);
}

.testi-badge-google {
    font-size: 0.72rem;
    font-weight: 700;
    color: #059669;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    padding: 2px 8px;
    border-radius: 20px;
}

.testi-comment {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 20px;
    font-style: normal;
}

.testi-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testi-user-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #000B33;
    line-height: 1.25;
}

.testi-user-role {
    font-size: 0.78rem;
    line-height: 1.2;
}

/* Dots */
.testi-slider-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
}

.testi-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #CBD5E1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testi-dot.active {
    width: 24px;
    border-radius: 10px;
    background-color: #F27915;
}