/* ========================================================
   EPMCA ELEMENTOR ADDON - TESTIMONIALS SECTION STYLES
   Scoped directly to .epmca-testimonials-sec
   ======================================================== */

.elementor-widget-epmca-testimonials-section,
.elementor-widget-epmca-testimonials-section .elementor-widget-container {
    width: 100%;
}

.epmca-testimonials-sec {
    padding: 88px 0;
    background-color: #ffffff;
/*     border-bottom: 1px solid #e2e8f0; */
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
}

.epmca-testimonials-sec *,
.epmca-testimonials-sec *::before,
.epmca-testimonials-sec *::after {
    box-sizing: border-box;
}

.epmca-testimonials-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.epmca-testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
    flex-wrap: wrap;
    gap: 20px;
}

.epmca-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.epmca-google-badge .stars {
    display: inline-flex;
    gap: 2px;
    color: #f59e0b;
}

.epmca-google-badge svg {
    width: 13px;
    height: 13px;
    fill: #f59e0b;
    stroke: #f59e0b;
}

.epmca-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.epmca-review-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.epmca-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.epmca-review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.epmca-review-stars svg {
    width: 15px;
    height: 15px;
    fill: #f59e0b;
    stroke: #f59e0b;
}

.epmca-review-quote {
    font-size: 14px;
    color: #334155;
    line-height: 1.65;
    font-style: italic;
    margin: 0 0 22px 0;
    flex: 1;
}

.epmca-review-author-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.epmca-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34AAE6 0%, #5cc2f2 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.epmca-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.epmca-review-author-info {
    display: flex;
    flex-direction: column;
}

.epmca-review-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.epmca-review-role {
    font-size: 12px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 992px) {
    .epmca-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .epmca-testimonials-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .epmca-testimonials-sec {
        padding: 50px 0;
    }

    .epmca-testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 28px;
    }

    .epmca-google-badge {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .epmca-reviews-grid {
        grid-template-columns: 1fr;
    }
}