/* ========================================================
   EPMCA ELEMENTOR ADDON - HERO SECTION STYLES
   Scoped directly to .epmca-hero-sec
   ======================================================== */

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

.epmca-hero-sec {
    position: relative;
    overflow: hidden;
    background-color: #081226;
    border-bottom: 1px solid #1e293b;
    padding: 40px 0 50px 0;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #f1f5f9;
	min-height: 90vh;
	display:flex;
	align-items: start;
}

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

/* Background Image */
.epmca-hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&auto=format&fit=crop&q=85');
	background-position: top center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.45;
    pointer-events: none;
}

/* Background Overlay */
.epmca-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 18, 38, 0.92) 0%, rgba(12, 38, 74, 0.82) 50%, rgba(5, 12, 24, 0.94) 100%);
    z-index: 1;
    pointer-events: none;
}

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

/* Grid Layout */
.epmca-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 50px;
    align-items:start;
    width: 100%;
}

/* Left Content Column */
.epmca-hero-left {
    position: relative;
    z-index: 2;
    min-width: 0;
    max-width: 100%;
}

/* Pill Badge */
.epmca-h3-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #34AAE6;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5.5px 14px;
    border-radius: 9999px;
    margin-bottom: 16px;
    line-height: 1;
    animation: epmcaFadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.epmca-h3-pill-badge .badge-icon,
.epmca-h3-pill-badge svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    display: inline-block;
}

/* Live Pulsing Dot */
.epmca-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: epmcaDotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px #10b981;
    margin-right: 4px;
    vertical-align: middle;
}

/* Tagline / Heading */
.epmca-hero-tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.16;
    letter-spacing: -0.03em;
    margin: 0 0 18px 0;
    animation: epmcaFadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.epmca-hero-tagline span.highlight {
    color: #34AAE6;
    background: linear-gradient(120deg, #34AAE6 0%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Description */
.epmca-hero-desc {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0 0 28px 0;
    max-width: 580px;
    font-weight: 400;
    animation: epmcaFadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.epmca-hero-desc p {
    margin: 0 0 14px 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.epmca-hero-desc p:last-child {
    margin-bottom: 0;
}

/* Metrics List */
.epmca-hero-metrics {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    animation: epmcaFadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.epmca-hero-metric-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #f1f5f9;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.epmca-hero-metric-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    border-color: #34AAE6;
}

.epmca-hero-metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #34AAE6;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.epmca-hero-metric-icon svg {
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
}

.epmca-hero-metric-icon i {
    font-size: 14px;
    color: inherit;
    line-height: 1;
    display: inline-block;
}

.epmca-hero-metric-item strong {
    font-weight: 800;
    color: #ffffff;
}

/* Right Column / Card */
.epmca-hero-right {
    position: relative;
    z-index: 2;
    min-width: 0;
    max-width: 100%;
}

.epmca-hero-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12);
    padding: 28px;
    box-sizing: border-box;
    color: #0f172a;
    animation: epmcaFadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* 2-Tab Navigation */
.epmca-hero-tabs-wrap {
    display: flex;
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 5px;
    gap: 5px;
    margin-bottom: 22px;
    box-sizing: border-box;
}

.epmca-hero-tab-btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none !important;
    outline: none !important;
    border-radius: 9px;
    white-space: nowrap;
    font-family: inherit;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
    line-height: 1.4;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
}

/* Prevent child elements from triggering jittery mouseenter/mouseleave */
.epmca-hero-tab-btn * {
    pointer-events: none;
}

/* Prevent any theme pseudo element interference */
.epmca-hero-tab-btn::before,
.epmca-hero-tab-btn::after {
    display: none !important;
    content: none !important;
}

/* Inactive Tab - Default (Transparent/light-gray bg, text #475569) */
.epmca-hero-tabs-wrap .epmca-hero-tab-btn:not(.active) {
    color: #475569 !important;
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    transform: none !important;
}

.epmca-hero-tabs-wrap .epmca-hero-tab-btn:not(.active) svg,
.epmca-hero-tabs-wrap .epmca-hero-tab-btn:not(.active) .tab-icon,
.epmca-hero-tabs-wrap .epmca-hero-tab-btn:not(.active) i {
    color: #475569 !important;
    fill: #475569;
    stroke: #475569;
}

.epmca-hero-tabs-wrap .epmca-hero-tab-btn:not(.active) svg[fill="none"] {
    fill: none !important;
}

/* Inactive Tab - Hover (Text turns dark black #0f172a, gentle light hover tint, no glitch) */
.epmca-hero-tabs-wrap .epmca-hero-tab-btn:hover:not(.active) {
    color: #0f172a !important;
    background-color: #e2e8f0 !important;
    background: #e2e8f0 !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    transform: none !important;
}

.epmca-hero-tabs-wrap .epmca-hero-tab-btn:hover:not(.active) svg,
.epmca-hero-tabs-wrap .epmca-hero-tab-btn:hover:not(.active) .tab-icon,
.epmca-hero-tabs-wrap .epmca-hero-tab-btn:hover:not(.active) i {
    color: #0f172a !important;
    fill: #0f172a;
    stroke: #0f172a;
}

.epmca-hero-tabs-wrap .epmca-hero-tab-btn:hover:not(.active) svg[fill="none"] {
    fill: none !important;
}

/* Active Tab - Always Blue #34AAE6 with White Text */
.epmca-hero-tabs-wrap .epmca-hero-tab-btn.active {
    background-color: #34AAE6 !important;
    background: #34AAE6 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 3px 10px rgba(52, 170, 230, 0.35) !important;
    transform: none !important;
}

.epmca-hero-tabs-wrap .epmca-hero-tab-btn.active svg,
.epmca-hero-tabs-wrap .epmca-hero-tab-btn.active .tab-icon,
.epmca-hero-tabs-wrap .epmca-hero-tab-btn.active i {
    color: #ffffff !important;
    fill: #ffffff;
    stroke: #ffffff;
}

.epmca-hero-tabs-wrap .epmca-hero-tab-btn.active svg[fill="none"] {
    fill: none !important;
}

.epmca-hero-tab-btn svg,
.epmca-hero-tab-btn .tab-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Tab Panes */
.epmca-hero-tab-pane {
    display: none;
}

.epmca-hero-tab-pane.active {
    display: block;
    animation: epmcaTabFadeIn 0.25s ease-in-out both;
}

@keyframes epmcaTabFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.epmca-hero-form-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 18px 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* Shortcode Content Area */
.epmca-hero-shortcode-wrap {
    min-height: 120px;
    position: relative;
}

/* Shortcode Placeholder Guide (Shown when shortcode is empty) */
.epmca-hero-shortcode-placeholder {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background-color: #f8fafc;
    color: #64748b;
    margin: 10px 0 16px 0;
}

.epmca-hero-shortcode-placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #e0f2fe;
    border-radius: 50%;
    color: #34AAE6;
    margin-bottom: 12px;
}

.epmca-hero-shortcode-placeholder-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.epmca-hero-shortcode-placeholder h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.epmca-hero-shortcode-placeholder p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.epmca-hero-shortcode-placeholder code {
    background-color: #e2e8f0;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 11.5px;
    color: #0369a1;
    display: inline-block;
}

/* Form Styles for inserted shortcodes (Default neat styling for CF7/WPForms/GravityForms) */
.epmca-hero-shortcode-wrap form {
    margin: 0;
}

.epmca-hero-shortcode-wrap input[type="text"],
.epmca-hero-shortcode-wrap input[type="email"],
.epmca-hero-shortcode-wrap input[type="tel"],
.epmca-hero-shortcode-wrap input[type="number"],
.epmca-hero-shortcode-wrap select,
.epmca-hero-shortcode-wrap textarea {
    width: 100%;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 500;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    box-sizing: border-box;
    margin-bottom: 12px;
    font-family: inherit;
}

.epmca-hero-shortcode-wrap input:focus,
.epmca-hero-shortcode-wrap select:focus,
.epmca-hero-shortcode-wrap textarea:focus {
    border-color: #34AAE6;
    box-shadow: 0 0 0 3.5px rgba(52, 170, 230, 0.16);
}

.epmca-hero-shortcode-wrap input[type="submit"],
.epmca-hero-shortcode-wrap button[type="submit"] {
    width: 100%;
    background-color: #34AAE6;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13.5px 20px;
    border-radius: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(52, 170, 230, 0.35);
    margin-top: 6px;
    margin-bottom: 14px;
}

.epmca-hero-shortcode-wrap input[type="submit"]:hover,
.epmca-hero-shortcode-wrap button[type="submit"]:hover {
    background-color: #2695cf;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(52, 170, 230, 0.45);
}

/* Bottom Advisory Strip */
.epmca-hero-card-advisory {
    background-color: #f0f9ff;
    border: 1.5px solid #cae8fa;
    border-radius: 12px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.epmca-hero-card-advisory-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
}

.epmca-hero-card-advisory-text svg,
.epmca-hero-card-advisory-text .advisory-icon {
    width: 14px;
    height: 14px;
    stroke: #34AAE6;
    fill: #34AAE6;
    flex-shrink: 0;
}

.epmca-hero-card-advisory-btn {
    background-color: #34AAE6;
    color: #ffffff;
    padding: 7px 15px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(52, 170, 230, 0.25);
    border: none;
    outline: none;
    cursor: pointer;
}

.epmca-hero-card-advisory-btn:hover {
    background-color: #2695cf;
    transform: translateY(-1px);
    color: #ffffff;
}

.epmca-hero-card-advisory-btn svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
}

/* Animations */
@keyframes epmcaDotPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes epmcaFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes epmcaFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .epmca-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    
    .epmca-hero-desc {
        max-width: 100%;
    }
}

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

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

    .epmca-h3-pill-badge {
        max-width: 100%;
        white-space: normal;
        line-height: 1.4;
        height: auto;
        border-radius: 16px;
    }

    .epmca-hero-tagline {
        font-size: clamp(1.85rem, 6.5vw, 2.5rem);
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .epmca-hero-card {
        padding: 20px 16px;
        max-width: 100%;
    }

    .epmca-hero-tabs-wrap {
        flex-wrap: wrap;
        gap: 6px;
    }

    .epmca-hero-tab-btn {
        white-space: normal;
        font-size: 13px;
        padding: 10px 12px;
        text-align: center;
    }

    .epmca-hero-card-advisory {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .epmca-hero-card-advisory-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .epmca-hero-tabs-wrap {
        flex-direction: column;
    }

    .epmca-hero-tab-btn {
        width: 100%;
    }

    .epmca-hero-card {
        padding: 18px 14px;
    }
}