/*==================================================
    FLOATING HELP WIDGET STYLES (DEFINITIVE & ROCK SOLID)
==================================================*/

.help_section {
    position: fixed !important;
    bottom: 30px !important;
    left: 30px !important;
    z-index: 99990 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    min-width: 90px !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    pointer-events: auto !important;
}

/* Actions List Container - Hidden when closed so zero phantom hover area */
.help_section .help_list {
    display: none !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(12px) scale(0.94) !important;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
}

/* Open State for Help List (Controlled ONLY by .is-open class, NEVER by CSS :hover) */
.help_section.is-open .help_list,
.help_section.active .help_list {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

/* Individual Action Items */
.help_section .help_item {
    position: relative !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background-color: #241434 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(36, 20, 52, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1),
                background-color 0.2s ease,
                box-shadow 0.2s ease !important;
}

.help_section .help_item:hover,
.help_section .help_item:focus-visible {
    transform: translateY(-2px) scale(1.08) !important;
    outline: none !important;
}

/* Phone Call Action Item */
.help_section .icon-call {
    color: #e267e8 !important;
}

.help_section .icon-call:hover,
.help_section .icon-call:focus-visible {
    background-color: #2e1a42 !important;
    box-shadow: 0 6px 20px rgba(226, 103, 232, 0.35), 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}

.help_section .phone_icon_svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    fill: none !important;
    transition: transform 0.2s ease !important;
}

.help_section .icon-call:hover .phone_icon_svg {
    transform: rotate(10deg) !important;
}

/* WhatsApp Action Item */
.help_section .icon-whatsapp {
    color: #25D366 !important;
}

.help_section .icon-whatsapp:hover,
.help_section .icon-whatsapp:focus-visible {
    background-color: #2e1a42 !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}

.help_section .whatsapp_icon_svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
    transition: transform 0.2s ease !important;
}

.help_section .icon-whatsapp:hover .whatsapp_icon_svg {
    transform: scale(1.06) !important;
}

/* Main Toggle Container */
.help_section .help_icon {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
}

/* Main Toggle Button (Collapsed State) */
.help_section .help_toggle_link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 22px !important;
    background-color: #241434 !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(36, 20, 52, 0.38), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.help_section .help_toggle_link:hover,
.help_section .help_toggle_link:focus-visible {
    background-color: #311b46 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 22px rgba(36, 20, 52, 0.48), 0 3px 8px rgba(0, 0, 0, 0.2) !important;
    outline: none !important;
}

/* Help Label (Visible when closed) */
.help_section .help_label_text {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

/* Close Label (Hidden when closed) */
.help_section .help_close_text {
    display: none !important;
}

/* Open State: Morph to 48px Circular Button showing "X" (ONLY via .is-open class) */
.help_section.is-open .help_toggle_link,
.help_section.active .help_toggle_link {
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background-color: #241434 !important;
    box-shadow: 0 4px 18px rgba(36, 20, 52, 0.42), 0 2px 6px rgba(0, 0, 0, 0.18) !important;
}

.help_section.is-open .help_label_text,
.help_section.active .help_label_text {
    display: none !important;
}

.help_section.is-open .help_close_text,
.help_section.active .help_close_text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    color: #ffffff !important;
}

.help_section .help_close_svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff !important;
}

.help_section.is-open .help_toggle_link:hover,
.help_section.active .help_toggle_link:hover {
    transform: translateY(-2px) scale(1.05) !important;
    background-color: #311b46 !important;
}

/* Mobile Screens */
@media (max-width: 576px) {
    .help_section {
        bottom: 90px !important;
        right: 18px !important;
        min-width: 80px !important;
    }

    .help_section .help_toggle_link {
        min-height: 40px !important;
        padding: 0 18px !important;
    }

    .help_section .help_label_text {
        font-size: 13px !important;
    }

    .help_section.is-open .help_toggle_link,
    .help_section.active .help_toggle_link {
        width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
    }

    .help_section .help_item {
        width: 44px !important;
        height: 44px !important;
    }

    .help_section .help_list {
        gap: 10px !important;
        margin-bottom: 10px !important;
    }

    .help_section .phone_icon_svg {
        width: 18px !important;
        height: 18px !important;
    }

    .help_section .whatsapp_icon_svg {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 1000px) {
    .help_section {
        bottom: 90px !important;
        right: 18px !important;
        min-width: 80px !important;
    }}

/*==================================================
    CALL POPUP MODAL STYLES
==================================================*/
.help_call_modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.help_call_modal.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Semi-transparent Backdrop */
.help_call_modal .help_modal_backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
}

/* Popup Card */
.help_call_modal .help_modal_card {
    position: relative !important;
    z-index: 2 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28) !important;
    padding: 38px 44px 42px !important;
    max-width: 440px !important;
    width: calc(100% - 36px) !important;
    text-align: center !important;
    transform: scale(0.92) translateY(12px) !important;
    transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
}

.help_call_modal.is-active .help_modal_card {
    transform: scale(1) translateY(0) !important;
}

/* Close Button (X) */
.help_call_modal .help_modal_close {
    position: absolute !important;
    top: 14px !important;
    right: 18px !important;
    background: transparent !important;
    border: none !important;
    font-size: 26px !important;
    line-height: 1 !important;
    color: #444444 !important;
    cursor: pointer !important;
    padding: 4px !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.help_call_modal .help_modal_close:hover {
    color: #000000 !important;
    transform: scale(1.18) !important;
}

/* Heading: Talk to our experts at */
.help_call_modal .help_modal_title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #111111 !important;
    margin: 0 0 22px 0 !important;
    letter-spacing: 0.2px !important;
}

/* Phone Link (Purple icon + number) */
.help_call_modal .help_modal_phone_link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    color: #8e44ec !important;
    font-size: 23px !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.5px !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.help_call_modal .help_modal_phone_link:hover {
    opacity: 0.85 !important;
    transform: scale(1.03) !important;
    color: #7829db !important;
}

.help_call_modal .help_modal_phone_svg {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    fill: #8e44ec !important;
    transition: transform 0.2s ease !important;
}

.help_call_modal .help_modal_phone_link:hover .help_modal_phone_svg {
    transform: rotate(10deg) !important;
}

@media (max-width: 576px) {
    .help_call_modal .help_modal_card {
        padding: 30px 24px 34px !important;
    }

    .help_call_modal .help_modal_title {
        font-size: 18px !important;
        margin-bottom: 18px !important;
    }

    .help_call_modal .help_modal_phone_link {
        font-size: 19px !important;
        gap: 10px !important;
    }

    .help_call_modal .help_modal_phone_svg {
        width: 22px !important;
        height: 22px !important;
    }
}
