/* Removed old commented block */
.testimonials-section {
    padding: 80px 0; /* vertical breathing room */
    background: #fff; /* keep clean white */
}
.testimonial-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px; /* consistent horizontal padding */
    box-sizing: border-box;
}
/* Adjust heading spacing */
.testimonial-heading {
    margin-bottom: 40px;
}
/* Ensure cards have equal gap and are not flush to edges */
.testimonial-track {
    gap: 24px;
}
/* Reduce space between cards and controls */
.testimonial-controls {
    margin-top: 28px;
}
/* Tablet & mobile adjustments remain as defined later */
    /* padding: 90px 20px;
    background: #f5f9ff;
    overflow: hidden;
    font-family: Arial, sans-serif;
} */

.testimonial-container {
    max-width: 1200px;
    margin: auto;
}

.testimonial-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.testimonial-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #b8860b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.testimonial-heading h2 {
    margin: 0 0 18px;
    color: #10365b;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.25;
}

.testimonial-heading h2 span {
    display: block;
    color: #ec2477;
}

.testimonial-heading > p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(16, 54, 91, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(16, 54, 91, 0.13);
}

.testimonial-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.testimonial-stars {
    color: #e5a500;
    font-size: 21px;
    letter-spacing: 3px;
}

.quote-icon {
    color: #ec2477;
    font-family: Georgia, serif;
    font-size: 55px;
    line-height: 1;
}

.testimonial-review {
    flex-grow: 1;
    margin: 0 0 28px;
    color: #526174;
    font-size: 15px;
    line-height: 1.85;
}

.testimonial-customer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #edf1f6;
}

.customer-image {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0ce72;
}

.customer-details h3 {
    margin: 0 0 5px;
    color: #10365b;
    font-size: 16px;
}

.customer-details p {
    margin: 0 0 5px;
    color: #7b8796;
    font-size: 12px;
}

.customer-service {
    color: #b8860b;
    font-size: 12px;
    font-weight: 600;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 35px;
}

.testimonial-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #ec2477;
    border-radius: 50%;
    background: #fff;
    color: #10365b;
    font-size: 21px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.testimonial-arrow:hover {
    background: #ec2477;
    color: #fff;
}

.testimonial-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.testimonial-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.testimonial-dot.active {
    width: 25px;
    border-radius: 10px;
    background: #ec2477;
}

.testimonial-arrow:focus-visible,
.testimonial-dot:focus-visible {
    outline: 3px solid #10365b;
    outline-offset: 3px;
} */

/* Tablet */
/* @media (max-width: 992px) {
    .testimonial-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .testimonial-card {
        padding: 24px;
    }
} */

/* Mobile carousel */
/* @media (max-width: 600px) {
    .testimonials-section {
        padding: 60px 16px;
    }

    .testimonial-heading {
        margin-bottom: 30px;
    }

    .testimonial-heading h2 {
        font-size: 30px;
    }

    .testimonial-track {
        display: flex;
        gap: 16px;
        transition: transform 0.4s ease;
        will-change: transform;
    }

    .testimonial-card {
        flex: 0 0 100%;
        width: 100%;
        box-sizing: border-box;
        padding: 24px;
    }

    .testimonial-review {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-card,
    .testimonial-track,
    .testimonial-arrow,
    .testimonial-dot {
        transition: none;
    }
} */


/* Testimonial carousel */
.testimonial-slider {
    width: 100%;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    align-items: stretch;
    gap: 25px;
    transition: transform 0.45s ease-in-out;
    will-change: transform;
}

/* .testimonial-card {
    flex: 0 0 calc((100% - 50px) / 3);
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(16, 54, 91, 0.07);
    transition: box-shadow 0.3s ease;
} */

.testimonial-card {
    flex: 0 0 calc((100% - 50px) / 3);
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(16, 54, 91, 0.07);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 18px 40px rgba(16, 54, 91, 0.13);
}

/* Keep customer details aligned at the bottom */
.testimonial-review {
    flex-grow: 1;
}

/* Carousel arrows */
.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 35px;
}

.testimonial-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #ec2477;
    border-radius: 50%;
    background: #fff;
    color: #10365b;
    font-size: 21px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.testimonial-arrow:hover {
    background: #ec2477;
    color: #fff;
}

.testimonial-arrow:focus-visible,
.testimonial-dot:focus-visible {
    outline: 3px solid #10365b;
    outline-offset: 3px;
}

/* Navigation dots */
.testimonial-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.testimonial-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.testimonial-dot.active {
    width: 25px;
    border-radius: 10px;
    background: #ec2477;
}

/* Tablet: 2 cards */
@media (max-width: 992px) {
    .testimonial-card {
        flex-basis: calc((100% - 25px) / 2);
    }
}

/* Mobile: 1 card */
@media (max-width: 600px) {
    .testimonial-track {
        gap: 16px;
    }

    .testimonial-card {
        flex-basis: 100%;
        padding: 24px;
    }

    .testimonial-controls {
        gap: 14px;
        margin-top: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-track,
    .testimonial-arrow,
    .testimonial-dot {
        transition: none;
    }
}
