/**
 * Global Modern Footer Stylesheet for Finding Homecare
 * 
 * Applies the Deep Luxury Navy theme (#0A1128) seamlessly across ALL footers on the entire website:
 * - Homepage (Page 18)
 * - Modern Landing Page (/homenew/)
 * - Theme Builder Footer (Template 64)
 * - All Subpages (About, Services, Contact, FAQs, Blogs, Single Posts, etc.)
 */

:root {
    --e-global-color-bb890b8: #0A1128 !important; /* Overrides kit Dak BG 2 */
    --fhc-footer-bg: #0A1128;
    --fhc-footer-border: rgba(255, 255, 255, 0.08);
    --fhc-footer-heading: #FFFFFF;
    --fhc-footer-text: #CBD5E1;
    --fhc-footer-muted: #94A3B8;
    --fhc-footer-pink: #E76BC1;
}

/* ==========================================================================
   1. GLOBAL FOOTER CONTAINER & BACKGROUND (#0A1128)
   ========================================================================== */
footer.elementor-location-footer,
footer[data-elementor-type="footer"],
footer.site-footer,
.elementor-64,
.elementor-64 .elementor-element-efbc8af,
.elementor-18 .elementor-element.elementor-element-2d7055ff,
.elementor-element-2d7055ff,
.elementor-element-697d74e,
.elementor-element-d959807,
.elementor-element-0a2016d,
.elementor-element-85cc5bd,
.elementor-element-efbc8af,
.elementor-top-section:has(.elementor-element-ddc51cd),
.elementor-top-section:has(.elementor-element-12611ec3),
.elementor-top-section:has(.elementor-element-bc7235),
.elementor-top-section:has(.elementor-element-7e04caaf) {
    background-color: #0A1128 !important;
    background: #0A1128 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 55px !important;
    position: relative !important;
    transition: background-color 0.3s ease !important;
}

/* Neutralize motion effects background overlay if present */
.elementor-element-2d7055ff:not(.elementor-motion-effects-element-type-background),
.elementor-element-2d7055ff > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-element-efbc8af:not(.elementor-motion-effects-element-type-background),
.elementor-element-efbc8af > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-element-697d74e > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-element-d959807 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-element-0a2016d > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-element-85cc5bd > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #0A1128 !important;
    background: #0A1128 !important;
}

/* ==========================================================================
   2. FOOTER COLUMN HEADINGS (Support, Quick Links, Get In Touch)
   ========================================================================== */
footer.elementor-location-footer .elementor-heading-title,
footer[data-elementor-type="footer"] .elementor-heading-title,
.elementor-64 .elementor-heading-title,
.elementor-element-2d7055ff .elementor-heading-title,
.elementor-element-697d74e .elementor-heading-title,
.elementor-element-d959807 .elementor-heading-title,
.elementor-element-0a2016d .elementor-heading-title,
.elementor-element-85cc5bd .elementor-heading-title,
.elementor-element-efbc8af .elementor-heading-title,
.elementor-element-45867386 .elementor-heading-title,
.elementor-element-52a093eb .elementor-heading-title,
.elementor-element-11ffa1aa .elementor-heading-title {
    color: #FFFFFF !important;
    font-family: 'Open Sans', -apple-system, sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 16px !important;
}

/* ==========================================================================
   3. LOGO & BRAND SUBTITLE
   ========================================================================== */
.elementor-element-2e5cd838,
.elementor-element-2d7055ff .elementor-widget-text-editor,
.elementor-element-efbc8af .elementor-widget-text-editor,
.elementor-element-697d74e .elementor-widget-text-editor,
.elementor-element-d959807 .elementor-widget-text-editor,
.elementor-element-0a2016d .elementor-widget-text-editor,
.elementor-element-85cc5bd .elementor-widget-text-editor {
    color: #94A3B8 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-top: 12px !important;
}

/* High-res uncropped logo display in footer */
footer.elementor-location-footer .elementor-widget-image img,
footer[data-elementor-type="footer"] .elementor-widget-image img,
.elementor-element-2d7055ff .elementor-widget-image img,
.elementor-element-efbc8af .elementor-widget-image img,
.elementor-element-51411149 img {
    height: 48px !important;
    width: auto !important;
    max-width: 240px !important;
    object-fit: contain !important;
    display: block !important;
}

/* ==========================================================================
   4. NAVIGATION & QUICK LINKS (Crisp, High-Contrast Text + Pink Hover)
   ========================================================================== */
footer.elementor-location-footer .elementor-icon-list-item a,
footer[data-elementor-type="footer"] .elementor-icon-list-item a,
.elementor-64 .elementor-icon-list-item a,
.elementor-element-2d7055ff .elementor-icon-list-item a,
.elementor-element-697d74e .elementor-icon-list-item a,
.elementor-element-d959807 .elementor-icon-list-item a,
.elementor-element-0a2016d .elementor-icon-list-item a,
.elementor-element-85cc5bd .elementor-icon-list-item a,
.elementor-element-efbc8af .elementor-icon-list-item a,
footer.elementor-location-footer .elementor-icon-list-text,
footer[data-elementor-type="footer"] .elementor-icon-list-text,
.elementor-64 .elementor-icon-list-text,
.elementor-element-2d7055ff .elementor-icon-list-text,
.elementor-element-697d74e .elementor-icon-list-text,
.elementor-element-d959807 .elementor-icon-list-text,
.elementor-element-0a2016d .elementor-icon-list-text,
.elementor-element-85cc5bd .elementor-icon-list-text,
.elementor-element-efbc8af .elementor-icon-list-text {
    color: #CBD5E1 !important;
    font-family: 'Open Sans', -apple-system, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    transition: all 0.22s ease !important;
    text-decoration: none !important;
}

/* Link Hover State */
footer.elementor-location-footer .elementor-icon-list-item a:hover,
footer[data-elementor-type="footer"] .elementor-icon-list-item a:hover,
.elementor-64 .elementor-icon-list-item a:hover,
.elementor-element-2d7055ff .elementor-icon-list-item a:hover,
.elementor-element-697d74e .elementor-icon-list-item a:hover,
.elementor-element-d959807 .elementor-icon-list-item a:hover,
.elementor-element-0a2016d .elementor-icon-list-item a:hover,
.elementor-element-85cc5bd .elementor-icon-list-item a:hover,
.elementor-element-efbc8af .elementor-icon-list-item a:hover,
footer.elementor-location-footer .elementor-icon-list-item a:hover .elementor-icon-list-text,
footer[data-elementor-type="footer"] .elementor-icon-list-item a:hover .elementor-icon-list-text,
.elementor-64 .elementor-icon-list-item a:hover .elementor-icon-list-text,
.elementor-element-2d7055ff .elementor-icon-list-item a:hover .elementor-icon-list-text,
.elementor-element-697d74e .elementor-icon-list-item a:hover .elementor-icon-list-text,
.elementor-element-d959807 .elementor-icon-list-item a:hover .elementor-icon-list-text,
.elementor-element-0a2016d .elementor-icon-list-item a:hover .elementor-icon-list-text,
.elementor-element-85cc5bd .elementor-icon-list-item a:hover .elementor-icon-list-text,
.elementor-element-efbc8af .elementor-icon-list-item a:hover .elementor-icon-list-text {
    color: #E76BC1 !important;
    padding-left: 3px !important;
}

/* ==========================================================================
   5. CONTACT INFO ICONS (Pink Brand Accent)
   ========================================================================== */
footer.elementor-location-footer .elementor-icon-list-icon svg,
footer.elementor-location-footer .elementor-icon-list-icon i,
footer[data-elementor-type="footer"] .elementor-icon-list-icon svg,
footer[data-elementor-type="footer"] .elementor-icon-list-icon i,
.elementor-64 .elementor-icon-list-icon svg,
.elementor-64 .elementor-icon-list-icon i,
.elementor-element-2d7055ff .elementor-icon-list-icon svg,
.elementor-element-2d7055ff .elementor-icon-list-icon i,
.elementor-element-697d74e .elementor-icon-list-icon svg,
.elementor-element-697d74e .elementor-icon-list-icon i,
.elementor-element-d959807 .elementor-icon-list-icon svg,
.elementor-element-d959807 .elementor-icon-list-icon i,
.elementor-element-0a2016d .elementor-icon-list-icon svg,
.elementor-element-0a2016d .elementor-icon-list-icon i,
.elementor-element-85cc5bd .elementor-icon-list-icon svg,
.elementor-element-85cc5bd .elementor-icon-list-icon i,
.elementor-element-efbc8af .elementor-icon-list-icon svg,
.elementor-element-efbc8af .elementor-icon-list-icon i {
    fill: #E76BC1 !important;
    color: #E76BC1 !important;
    transition: transform 0.2s ease !important;
}

/* ==========================================================================
   6. INNER DIVIDER LINES & SEPARATORS
   ========================================================================== */
.elementor-element-ddc51cd,
footer.elementor-location-footer .elementor-inner-section:first-child,
footer[data-elementor-type="footer"] .elementor-inner-section:first-child,
.elementor-element-2d7055ff .elementor-inner-section:first-child,
.elementor-element-697d74e .elementor-inner-section:first-child,
.elementor-element-d959807 .elementor-inner-section:first-child,
.elementor-element-0a2016d .elementor-inner-section:first-child,
.elementor-element-85cc5bd .elementor-inner-section:first-child,
.elementor-element-efbc8af .elementor-inner-section:first-child {
    border-style: solid !important;
    border-width: 0 0 1px 0 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 30px !important;
}

/* ==========================================================================
   7. BOTTOM COPYRIGHT BAR & SOCIAL MEDIA ICONS
   ========================================================================== */
.elementor-element-bc7235 .elementor-heading-title,
.elementor-element-3278b11 .elementor-heading-title,
footer.elementor-location-footer .elementor-element-d54b687 .elementor-heading-title,
footer[data-elementor-type="footer"] .elementor-element-d54b687 .elementor-heading-title {
    color: #64748B !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
}

footer.elementor-location-footer .elementor-social-icon,
footer[data-elementor-type="footer"] .elementor-social-icon,
.elementor-64 .elementor-social-icon,
.elementor-element-2d7055ff .elementor-social-icon,
.elementor-element-697d74e .elementor-social-icon,
.elementor-element-d959807 .elementor-social-icon,
.elementor-element-0a2016d .elementor-social-icon,
.elementor-element-85cc5bd .elementor-social-icon,
.elementor-element-efbc8af .elementor-social-icon,
.elementor-element-3278b11 .elementor-social-icon {
    background: rgba(255, 255, 255, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    border-radius: 50% !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

footer.elementor-location-footer .elementor-social-icon:hover,
footer[data-elementor-type="footer"] .elementor-social-icon:hover,
.elementor-64 .elementor-social-icon:hover,
.elementor-element-2d7055ff .elementor-social-icon:hover,
.elementor-element-697d74e .elementor-social-icon:hover,
.elementor-element-d959807 .elementor-social-icon:hover,
.elementor-element-0a2016d .elementor-social-icon:hover,
.elementor-element-85cc5bd .elementor-social-icon:hover,
.elementor-element-efbc8af .elementor-social-icon:hover,
.elementor-element-3278b11 .elementor-social-icon:hover {
    background: #E76BC1 !important;
    background-color: #E76BC1 !important;
    border-color: #E76BC1 !important;
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(231, 107, 193, 0.4) !important;
}

footer.elementor-location-footer .elementor-social-icon svg,
footer.elementor-location-footer .elementor-social-icon i,
footer[data-elementor-type="footer"] .elementor-social-icon svg,
footer[data-elementor-type="footer"] .elementor-social-icon i,
.elementor-element-2d7055ff .elementor-social-icon svg,
.elementor-element-2d7055ff .elementor-social-icon i {
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   8. FOOTER NEWSLETTER SUBSCRIPTION SECTION
   ========================================================================== */
footer.elementor-location-footer:has(.fhc-footer-newsletter),
footer[data-elementor-type="footer"]:has(.fhc-footer-newsletter),
.elementor-64:has(.fhc-footer-newsletter) {
    padding-top: 0 !important;
}

.fhc-footer-newsletter {
    display: none !important;
    position: relative;
    width: 100%;
    background-color: #0A1128 !important;
    background: #0A1128 !important;
    padding: 55px 24px 45px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box !important;
    z-index: 10;
}

.fhc-newsletter-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.fhc-nl-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: 9999px;
    background: rgba(231, 107, 193, 0.12);
    border: 1px solid rgba(231, 107, 193, 0.32);
    color: #E76BC1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-family: 'Open Sans', -apple-system, sans-serif;
}

.fhc-nl-title {
    color: #FFFFFF !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 10px !important;
    font-family: 'Open Sans', -apple-system, sans-serif !important;
}

.fhc-nl-desc {
    color: #94A3B8 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    max-width: 580px !important;
    margin: 0 auto 28px !important;
    font-family: 'Open Sans', sans-serif !important;
}

.fhc-nl-form {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
}

.fhc-nl-input-group {
    display: flex;
    align-items: center;
    position: relative;
    background: #111B38;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.fhc-nl-input-group:focus-within {
    border-color: #E76BC1;
    box-shadow: 0 0 0 3px rgba(231, 107, 193, 0.3), 0 12px 32px rgba(0, 0, 0, 0.45);
    background: #131F42;
}

.fhc-nl-icon-wrap {
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.fhc-nl-input-group:focus-within .fhc-nl-icon-wrap {
    color: #E76BC1;
}

.fhc-nl-input {
    flex: 1 1 auto;
    min-width: 0;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-family: 'Open Sans', -apple-system, sans-serif !important;
    padding: 11px 4px !important;
    line-height: 1.5 !important;
}

.fhc-nl-input:focus {
    background: transparent !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    color: #FFFFFF !important;
}

.fhc-nl-input::placeholder {
    color: #64748B !important;
    opacity: 1 !important;
}

.fhc-nl-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #E76BC1 0%, #D84BAE 100%) !important;
    color: #FFFFFF !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    font-family: 'Open Sans', -apple-system, sans-serif !important;
    padding: 13px 26px !important;
    border-radius: 9999px !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 16px rgba(231, 107, 193, 0.4) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fhc-nl-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 22px rgba(231, 107, 193, 0.65) !important;
    background: linear-gradient(135deg, #F075CA 0%, #E052B6 100%) !important;
}

.fhc-nl-btn:active {
    transform: translateY(0) !important;
}

.fhc-nl-btn.is-loading {
    opacity: 0.8 !important;
    cursor: wait !important;
}

.fhc-nl-btn-arrow {
    transition: transform 0.22s ease;
}

.fhc-nl-btn:hover .fhc-nl-btn-arrow {
    transform: translateX(3px);
}

.fhc-nl-feedback {
    margin-top: 14px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    display: none;
    animation: fhcFadeIn 0.25s ease-out;
}

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

.fhc-nl-feedback.fhc-nl-success {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: #34d399 !important;
    display: block !important;
}

.fhc-nl-feedback.fhc-nl-error {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #f87171 !important;
    display: block !important;
}

.fhc-nl-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 14px 0 0 !important;
    color: #64748B !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-family: 'Open Sans', sans-serif !important;
}

.fhc-nl-privacy svg {
    flex-shrink: 0;
    stroke: #64748B;
}

/* Responsive Breakpoint for Mobile Newsletter */
@media (max-width: 640px) {
    .fhc-footer-newsletter {
        padding: 40px 16px 36px !important;
    }
    .fhc-nl-title {
        font-size: 23px !important;
    }
    .fhc-nl-desc {
        font-size: 14px !important;
        margin-bottom: 22px !important;
    }
    .fhc-nl-input-group {
        flex-direction: column;
        border-radius: 16px;
        padding: 10px;
        gap: 8px;
    }
    .fhc-nl-icon-wrap {
        display: none;
    }
    .fhc-nl-input {
        width: 100% !important;
        text-align: center !important;
        padding: 10px !important;
    }
    .fhc-nl-btn {
        width: 100% !important;
        padding: 13px 20px !important;
    }
}
