@import url('https://fonts.googleapis.com/css2?family=Basier+Circle:wght@400;500;600;700&display=swap');

/* ==========================================
   VES TESTIMONIALS SECTION
   Full Width Section
   Maximum Content Width: 1430px
   Responsive + Smooth Slow Slider
========================================== */

/* ===== RESET ===== */
.ves-testimonials-section,
.ves-testimonials-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== MAIN SECTION: FULL WIDTH ===== */
.ves-testimonials-section {
    --card-w: min(78vw, 260px);
    --card-gap: 14px;
    --avatar: 60px;
    --quote-w: 90px;
    --label-size: 17px;
    --title-size: 28px;
    --name-size: 13px;
    --company-size: 10px;
    --text-size: 11.5px;
    --side-pad: 16px;

    position: relative;
    width: 100vw;
    max-width: 100%;
    margin-left: calc(50% - 50vw);
    padding: 48px 0;
    background: transparent;
    overflow: hidden;
    font-family: "Basier Circle", Arial, sans-serif;
}

/* ===== INNER CONTENT: MAX-WIDTH 1430PX ===== */
.ves-testimonials-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1430px;
    margin-left: auto;
    margin-right: auto;

    display: flex;
    flex-direction: column;
    gap: 28px;

    padding: 0 var(--side-pad);
}

/* ===== HEADING ===== */
.ves-testimonials-intro {
    text-align: center;
}

.ves-quote-img {
    display: block;
    width: var(--quote-w);
    height: auto;
    margin: 0 auto 6px;

    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.ves-testimonials-label {
    display: block;
    font-size: var(--label-size);
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 2px;
}

.ves-testimonials-intro h2 {
    font-size: var(--title-size);
    font-weight: 600;
    line-height: 1.15;
    color: #e6202b;
}

/* ===== SLIDER VIEWPORT ===== */
.ves-testimonials-slider {
    position: relative;
    z-index: 1;

    width: 100%;
    min-width: 0;

    overflow: hidden;
    padding: 12px 0 16px;

    cursor: grab;
    user-select: none;
    -webkit-user-select: none;

    touch-action: pan-y;
}

.ves-testimonials-slider.is-dragging {
    cursor: grabbing;
}

/* ===== SLIDER TRACK ===== */
.ves-testimonials-track {
    display: flex;
    align-items: stretch;
    gap: var(--card-gap);

    width: max-content;

    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* ===== TESTIMONIAL CARD ===== */
.ves-testimonial-card {
    position: relative;

    flex: 0 0 var(--card-w);
    width: var(--card-w);
    height: auto;

    padding: 34px 16px 18px;
    border-radius: 6px;

    background: #ffffff;
    text-align: center;

    pointer-events: none;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* ===== STAR RATING ===== */
.ves-testimonial-stars {
    position: absolute;
    top: 10px;
    right: 10px;

    font-size: 18px;
    line-height: 1;
    letter-spacing: 1px;

    color: #f5b400;
    white-space: nowrap;
}

/* ===== CLIENT IMAGE ===== */
.ves-client-image {
    width: var(--avatar);
    height: var(--avatar);

    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;

    background: #e6e6e6;
}

.ves-client-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

/* ===== CLIENT NAME ===== */
.ves-testimonial-card h3 {
    font-size: var(--name-size);
    font-weight: 600;
    line-height: 1.25;

    color: #111111;
    margin-bottom: 4px;
}

/* ===== CLIENT COMPANY ===== */
.ves-client-company {
    display: block;

    font-size: var(--company-size);
    line-height: 1.3;

    color: #ff7c84;
    margin-bottom: 12px;
}

/* ===== TESTIMONIAL TEXT ===== */
.ves-testimonial-card p {
    max-width: 96%;
    margin: 0 auto;

    font-size: var(--text-size);
    line-height: 1.5;

    color: #333333;
    overflow-wrap: anywhere;
}

/* ==========================================
   TABLET
========================================== */
@media (min-width: 640px) {
    .ves-testimonials-section {
        --card-w: 270px;
        --avatar: 66px;
        --quote-w: 110px;
        --label-size: 19px;
        --title-size: 34px;
        --name-size: 14px;
        --company-size: 11px;
        --text-size: 12.5px;
        --side-pad: 24px;

        padding: 56px 0;
    }
}

/* ==========================================
   DESKTOP / LAPTOP
   Heading Left + Slider Right
========================================== */
@media (min-width: 900px) {
    .ves-testimonials-section {
        --card-w: clamp(240px, 22vw, 290px);
        --card-gap: 16px;
        --avatar: clamp(60px, 5vw, 70px);
        --quote-w: clamp(80px, 7vw, 120px);
        --label-size: clamp(18px, 1.5vw, 22px);
        --title-size: clamp(30px, 2.8vw, 40px);
        --name-size: clamp(13px, 1vw, 15px);
        --company-size: clamp(10px, 0.8vw, 12px);
        --text-size: clamp(12px, 0.95vw, 14px);
        --side-pad: 24px;

        padding: clamp(56px, 6vw, 80px) 0;
    }

    .ves-testimonials-inner {
        width: 100%;
        max-width: 1430px;
        margin-left: auto;
        margin-right: auto;

        flex-direction: row;
        align-items: center;
        gap: 0;

        /* Equal left and right spacing */
        padding: 0 clamp(0px, 4vw, 0px);
    }

    .ves-testimonials-intro {
        flex: 0 0 auto;
        width: auto;

        text-align: left;

        padding-right: clamp(20px, 2.4vw, 40px);
    }

    .ves-quote-img {
        margin: 0 0 6px 0;
    }

    .ves-testimonials-intro h2 {
        white-space: nowrap;
    }

    .ves-testimonials-slider {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;

        margin-left: clamp(8px, 1.2vw, 20px);
    }
}

/* ==========================================
   LARGE DESKTOP
========================================== */
@media (min-width: 1600px) {
    .ves-testimonials-section {
        --card-w: 300px;
        --quote-w: 130px;
        --title-size: 40px;
        --label-size: 22px;
    }
}

/* ==========================================
   REDUCED MOTION ACCESSIBILITY
========================================== */
@media (prefers-reduced-motion: reduce) {
    .ves-testimonials-track {
        transform: none !important;
        will-change: auto;
    }
}