/* ========================================================
   EPMCA ELEMENTOR ADDON - SERVICES SECTION STYLES
   Scoped directly to .epmca-services-sec
   ======================================================== */

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

.epmca-services-sec {
/*     padding: 88px 0; */
/*     background: linear-gradient(180deg, #f8fafc 0%, #edf4fa 100%); */
/*     border-bottom: 1px solid #e2e8f0; */
/*     position: relative; */
    box-sizing: border-box;
/*     width: 100vw !important; */
/*     left: 50% !important; */
/*     right: 50% !important; */
/*     margin-left: -50vw !important; */
/*     margin-right: -50vw !important; */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
}

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

.epmca-services-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Header Row */
.epmca-services-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 24px;
}

.epmca-services-main-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: #0284c7;
    margin: 8px 0 10px 0;
    line-height: 1.3;
}

/* Advisory Desk Strip */
.epmca-services-advisory-strip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.epmca-services-advisory-strip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 170, 230, 0.15);
    border-color: #34AAE6;
}

.epmca-services-advisory-icon {
    width: 22px;
    height: 22px;
    color: #34AAE6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.epmca-services-advisory-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.epmca-services-advisory-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.epmca-services-advisory-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.epmca-services-advisory-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    color: #0284c7;
}

/* Trust Highlights Row */
.epmca-services-trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.epmca-services-trust-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.epmca-services-trust-card:hover {
    border-color: #34AAE6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 170, 230, 0.1);
}

.epmca-services-trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(52, 170, 230, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #34AAE6;
}

.epmca-services-trust-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.epmca-services-trust-icon i {
    font-size: 16px;
}

.epmca-services-trust-text {
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
}

/* Services 3-Cards Grid */
.epmca-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.epmca-service-card {
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    height: 100%;
}

.epmca-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(52, 170, 230, 0.12);
    border-color: #cbd5e1;
}

.epmca-service-card.featured {
    border: 2px solid #34AAE6;
    box-shadow: 0 10px 28px rgba(52, 170, 230, 0.16);
}

.epmca-service-top-ribbon {
    background: linear-gradient(90deg, #34AAE6 0%, #0284c7 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 9px 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.epmca-service-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.epmca-service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.epmca-service-card:hover .epmca-service-card-img {
    transform: scale(1.06);
}

.epmca-service-card-pill-top {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #0f172a;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 5px 12px;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.epmca-service-card-body {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.epmca-service-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.epmca-service-card-text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.epmca-service-checklist {
    margin: 0 0 22px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.epmca-service-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    color: #1e293b;
    font-weight: 550;
    line-height: 1.4;
}

.epmca-service-checklist li svg {
    width: 15px;
    height: 15px;
    stroke: #34AAE6;
    flex-shrink: 0;
    margin-top: 2px;
}

.epmca-service-card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.epmca-service-card-btn {
    width: 100%;
    box-sizing: border-box;
    background-color: #f0f7fd;
    border: 1.5px solid #cce5f8;
    color: #0284c7;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 14px;
    border-radius: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.22s ease;
    text-align: center;
}

.epmca-service-card-btn:hover {
    background-color: #34AAE6;
    border-color: #34AAE6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 170, 230, 0.28);
    text-decoration: none;
}

.epmca-service-card-btn.primary {
    background: linear-gradient(135deg, #34AAE6 0%, #0284c7 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(52, 170, 230, 0.35);
}

.epmca-service-card-btn.primary:hover {
    background: linear-gradient(135deg, #2899d4 0%, #0369a1 100%);
    box-shadow: 0 6px 20px rgba(52, 170, 230, 0.45);
    color: #ffffff;
}

.epmca-service-card-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.epmca-service-card-btn:hover svg {
    transform: translateX(3px);
}

/* Secondary Button: View full details */
.epmca-services-sec .epmca-service-card-details-btn,
.epmca-service-card-details-btn {
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1.5px solid #dbeafe;
    color: #0284c7;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 16px;
    border-radius: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.22s ease;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.epmca-services-sec .epmca-service-card-details-btn:hover,
.epmca-service-card-details-btn:hover {
    background-color: #f0f7fd;
    border-color: #34AAE6;
    color: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(52, 170, 230, 0.18);
    text-decoration: none;
}

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

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

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

    .epmca-services-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .epmca-services-advisory-strip {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

    .epmca-services-trust-row,
    .epmca-services-grid {
        grid-template-columns: 1fr;
    }
}