/* =====================================
   JOLPORI MACH - TESTIMONIAL CAROUSEL
===================================== */

.jp-testimonials {
    --jp-primary: #087E8B;
    --jp-green: #168b45;
    --jp-star: #F5A623;

    width: 100%;
    padding: 35px 12px;
    font-family: inherit;
    overflow: hidden;
    box-sizing: border-box;
}

.jp-testimonials * {
    box-sizing: border-box;
}

/* Heading */

.jp-testimonials .jp-title {
    text-align: center;
    margin-bottom: 28px;
}

.jp-testimonials .jp-title h2 {
    color: var(--jp-primary);
    font-size: 27px;
    font-weight: 700;
    margin: 0 0 8px;
}

.jp-testimonials .jp-title p {
    color: #777;
    font-size: 14px;
    margin: 0;
}

/* Carousel */

.jp-carousel {
    max-width: 1150px;
    margin: auto;
    position: relative;
}

.jp-viewport {
    overflow: hidden;
    width: 100%;
    padding: 8px 2px 15px;
}

.jp-track {
    display: flex;
    gap: 18px;
    transition: transform .55s ease;
    will-change: transform;
}

/* Review Card */

.jp-slide {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
}

.jp-card {
    height: 100%;
    min-height: 235px;
    background: #fff;
    border: 1px solid #e8eeee;
    border-radius: 14px;
    padding: 23px 20px;
    box-shadow: 0 3px 14px rgba(0,0,0,.05);
    transition: .3s ease;
}

.jp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,.09);
}

/* Stars */

.jp-stars {
    color: var(--jp-star);
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 13px;
}

/* Review Text */

.jp-comment {
    color: #555;
    font-size: 14px;
    line-height: 1.9;
    margin: 0 0 20px;
    min-height: 78px;
}

/* Customer */

.jp-customer {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #eee;
    padding-top: 14px;
}

.jp-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e4f3f3;
    color: var(--jp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.jp-customer-name {
    color: #222;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.jp-verified {
    color: var(--jp-green);
    font-size: 11px;
}

/* Navigation Arrows
   (থিমের গ্রেডিয়েন্ট বাটন স্টাইল জোর করে বন্ধ করা হয়েছে) */

.jp-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    margin-top: 15px;
}

body .jp-testimonials .jp-nav .jp-arrow {
    -webkit-appearance: none;
    appearance: none;
    width: 38px;
    height: 38px;
    min-width: 38px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--jp-primary) !important;
    border-radius: 50% !important;
    background-image: none !important;
    background-color: #fff !important;
    color: var(--jp-primary) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-transform: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s, color .3s;
}

body .jp-testimonials .jp-nav .jp-arrow:hover,
body .jp-testimonials .jp-nav .jp-arrow:focus-visible {
    background-image: none !important;
    background-color: var(--jp-primary) !important;
    color: #fff !important;
}

/* Dots */

.jp-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
}

body .jp-testimonials .jp-dots .jp-dot {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 8px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: none !important;
    border-radius: 20px !important;
    background-image: none !important;
    background-color: #cbdada !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: width .3s, background-color .3s;
}

body .jp-testimonials .jp-dots .jp-dot.active {
    width: 23px;
    background-image: none !important;
    background-color: var(--jp-green) !important;
}

/* View More */

.jp-review-link {
    text-align: center;
    margin-top: 23px;
}

.jp-review-link a {
    display: inline-block;
    padding: 11px 24px;
    border-radius: 22px;
    background: var(--jp-green);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: .3s;
}

.jp-review-link a:hover {
    filter: brightness(.78);
    transform: translateY(-2px);
}

/* Tablet */

@media(max-width: 767px) {
    .jp-slide {
        flex-basis: calc((100% - 18px) / 2);
    }

    .jp-testimonials .jp-title h2 {
        font-size: 23px;
    }

    .jp-card {
        padding: 18px 15px;
    }
}

/* Mobile */

@media(max-width: 480px) {
    .jp-slide {
        flex-basis: 100%;
    }

    .jp-testimonials {
        padding: 25px 8px;
    }

    .jp-testimonials .jp-title h2 {
        font-size: 21px;
    }
}
