/* ================================================================
   Testimonial Card — Speech Bubble Style
   ================================================================ */

/* Force slider slide to respect card height */
.flickity-slider .nkd-testimonial-card,
.ux-slider .nkd-testimonial-card {
    width: 100% !important;
    height: auto !important;
}

.nkd-testimonial-card {
    display: flex;
    align-items: flex-s;
    gap: 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px !important;
}

.ss-why-choose .nkd-testimonial-card {
    height: 250px !important;

}

/* ── Photo wrapper — holds circle + accent ── */
.nkd-testimonial-card__photo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    z-index: 2;
    margin-right: -24px;
    margin-top: 50px;
}

.nkd-testimonial-card__photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(27, 58, 107, 0.18);
    position: relative;
    z-index: 2;
}

.nkd-testimonial-card__bubble {
    position: relative;
}

/* ── Orange accent shape behind photo ── */
.nkd-testimonial-card__accent {
    position: absolute;
    top: 12px;
    left: -100px;
    width: 180px;
    height: 140px;
    background: #E8891D;
    z-index: -1;
    border-radius: 6px;
    transform: rotate(342deg);
}

/* ── Speech bubble ── */
.nkd-testimonial-card__bubble .nkd-testimonial-card__content {
    position: relative;
    background: #1B3A6B !important;
    border-radius: 14px;
    padding: 28px 32px 28px 44px;
    flex: 1;
    min-height: 130px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Bubble tail pointing left */
.nkd-testimonial-card__tail {
    position: absolute;
    left: 40px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 14px solid #1B3A6B;
    transform: rotate(145deg);
}

.nkd-testimonial-card__name {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 0 12px !important;
    letter-spacing: 0.02em;
    line-height: 1.3 !important;
}

.nkd-testimonial-card__text {
    color: #C8D0DB !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nkd-testimonial-card {
        padding: 30px 15px 20px;
    }

    .nkd-testimonial-card__photo-wrap {
        width: 90px;
        height: 90px;
        margin-right: -16px;
    }

    .nkd-testimonial-card__photo {
        width: 90px;
        height: 90px;
        border-width: 3px;
    }

    .nkd-testimonial-card__accent {
        width: 75px;
        height: 100px;
        top: -8px;
        left: -8px;
    }

    .nkd-testimonial-card__bubble {
        border-radius: 12px;
        min-height: 100px;
    }

    .nkd-testimonial-card__name {
        font-size: 16px !important;
        margin: 0 0 8px !important;
    }

    .nkd-testimonial-card__text {
        font-size: 13px !important;
    }
}