/* ═══════════════════════════════════════════════
   Elementor Testimonial Widget
   ═══════════════════════════════════════════════ */

.etw-slider-wrap {
    border: 0px 1px 0 1px solid #7c3aed;
    background-color: #f5f0e8;
    padding: 32px 120px 70px !important;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

/* ── Header row ── */
.etw-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.etw-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a1a;
}

.etw-diamond {
    color: #A27B50;
    font-size: 9px;
}

.etw-counter {
    font-size: 13px;
    color: #555;
    letter-spacing: 0.05em;
}

.etw-nav {
    display: flex;
    gap: 8px;
}

.etw-nav button {
    width: 38px;
    height: 38px;
    border: 1px solid #ccc;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    line-height: 1;
}

.etw-nav button:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* ── Slides ── */
.etw-slides {
    position: relative;
}

.etw-slide {
    display: none;
}

.etw-slide.etw-active {
    display: block;
}

/* Desktop: image left, content right */
.etw-slide-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

/* ── Image ── */
.etw-image-wrap {
    flex-shrink: 0;
    width: 140px;
    height: 160px;
    overflow: hidden;
}

.etw-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.etw-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
    font-weight: 700;
}

/* ── Content ── */
.etw-content {
    flex: 1;
    min-width: 0;
}

.etw-quote-mark {
    font-size: 56px;
    line-height: 0.6;
    color: #1a1a1a;
    font-family: Georgia, serif;
    margin-bottom: 12px;
    margin-left: -4px;
}

.etw-quote-text {
    font-size: clamp(20px, 2.8vw, 32px);
    font-weight: 500;
    line-height: 1.35;
    color: #1a1a1a;
    margin: 0 0 28px;
}

.etw-quote-text p {
    margin: 0;
	width:60%;
	
}

/* ── Client meta row ── */
.etw-client-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* Desktop: no inline image in meta (image is in slide-inner) */
.etw-client-meta-image {
    display: none;
}

.etw-client-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.etw-client-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.etw-client-designation {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #555;
    text-transform: uppercase;
}

/* ── Google score ── */
.etw-google-score {
    display: flex;
    align-items: center;
    gap: 6px;
}

.etw-google-icon {
    display: flex;
    align-items: center;
}

.etw-score-text {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1a1a;
}

/* ═══════════════════════════════════════════════
   FAQ Accordion Widget
   ═══════════════════════════════════════════════ */

.etw-faq-wrap {
    background-color: #f5f0e8;
    overflow: hidden;
}

.etw-faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #d4cfc6;
    overflow: hidden;
}

.etw-faq-item {
    border-top: 1px solid #d4cfc6;
}

.etw-faq-header {
    display: flex;
    align-items: center;
    width: 100%;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 22px 0 !important;
    cursor: pointer;
    text-align: left;
    gap: 20px;
    color: inherit !important;
    box-shadow: none !important;
    outline: none;
    text-decoration: none !important;
    overflow: hidden;
}

button.etw-faq-header,
button.etw-faq-header:link,
button.etw-faq-header:visited,
button.etw-faq-header:hover,
button.etw-faq-header:focus,
button.etw-faq-header:active,
.etw-faq-item button.etw-faq-header,
.etw-faq-item button.etw-faq-header:hover,
.etw-faq-wrap button:hover,
.etw-faq-wrap button:focus {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: inherit !important;
    box-shadow: none !important;
    border: none !important;
    text-decoration: none !important;
}

.etw-faq-header:hover .etw-faq-question {
    opacity: 0.75;
}

.etw-faq-num {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    min-width: 24px;
    font-variant-numeric: tabular-nums;
    align-self: flex-start;
    padding-top: 2px;
}

.etw-faq-question {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.4;
    transition: opacity 0.15s;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.etw-faq-icon {
    flex-shrink: 0;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    padding-left: 16px;
    align-self: flex-start;
    padding-top: 2px;
}

.etw-faq-icon svg {
    display: block;
}

/* Body / answer */
.etw-faq-body {
    padding: 0 0 20px 48px;
}

.etw-faq-body[hidden] {
    display: none;
}

.etw-faq-answer {
    font-size: 13px;
    line-height: 1.65;
    color: #555;
    max-width: 560px;
}

.etw-faq-answer p {
    margin: 0;
}

/* ═══════════════════════════════════════════════
   MOBILE — max-width: 600px
   ═══════════════════════════════════════════════ */

@media (max-width: 600px) {

    /* ── Testimonial mobile ── */
    .etw-slider-wrap {
        padding: 20px 18px 24px;
        border-width: 1px;
    }

    /* Header: label left, nav right — hide counter */
    .etw-slider-header {
        margin-bottom: 20px;
    }

    .etw-counter {
        display: none;
    }

    /* Slide inner: content on top, image+name row below */
    .etw-slide-inner {
        flex-direction: column;
        gap: 0;
    }

    /* Hide the standalone image block on mobile */
    .etw-slide-inner > .etw-image-wrap {
        display: none;
    }

    /* Quote fills full width */
    .etw-content {
        width: 100%;
    }

    .etw-quote-mark {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .etw-quote-text {
        font-size: 20px;
        line-height: 1.35;
        margin-bottom: 24px;
    }

    /* Client meta: show small inline image + info side by side */
    .etw-client-meta {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 12px;
        border-top: 1px solid #d4cfc6;
        padding-top: 16px;
        margin-top: 4px;
    }

    /* Small avatar shown in meta row on mobile */
    .etw-client-meta-image {
        display: block;
        flex-shrink: 0;
        width: 56px;
        height: 64px;
        overflow: hidden;
    }

    .etw-client-meta-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .etw-client-info {
        flex: 1;
        min-width: 0;
    }

    .etw-client-name {
        font-size: 13px;
    }

    .etw-client-designation {
        font-size: 9px;
        white-space: normal;
        word-break: break-word;
    }

    /* Hide Google score on mobile */
    .etw-google-score {
        display: none;
    }

    /* ── FAQ mobile ── */
    .etw-faq-header {
        gap: 10px;
        padding: 16px 0;
        align-items: flex-start;
    }

    .etw-faq-num {
        font-size: 12px;
        min-width: 20px;
        padding-top: 2px;
    }

    .etw-faq-question {
        font-size: 13px;
        line-height: 1.45;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .etw-faq-icon {
        padding-left: 8px;
        padding-top: 2px;
    }

    .etw-faq-body {
        padding: 0 0 14px 30px;
    }

    .etw-faq-answer {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* Tablet tweak */
@media (min-width: 601px) and (max-width: 900px) {
    .etw-quote-text {
        font-size: 20px;
    }

    .etw-image-wrap {
        width: 110px;
        height: 126px;
    }
}
