/* =========================
   ASTRA DROPDOWN MENU FIX
   ========================= */
.main-header-menu .sub-menu {
    min-width: 240px !important;
    width: auto !important;
}

.main-header-menu .sub-menu li a {
    display: block !important;
    white-space: nowrap !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

/* =========================
   GLOBAL MENU HOVER (NEON GREEN)
   EXCLUDES CTA BUTTON
   ========================= */
.main-header-menu > li:not(.menu-cta-button) > a:hover,
.main-header-menu > li:not(.menu-cta-button).current-menu-item > a,
.main-header-menu > li:not(.menu-cta-button).current_page_item > a,
.main-header-menu .sub-menu li a:hover {
    color: #19e234 !important;
    text-shadow: 0 0 6px rgba(25,226,52,0.6);
}

/* =========================
   MOBILE MENU COMPRESSION + HOVER
   ========================= */
@media (max-width: 768px) {

    .ast-header-break-point .main-header-menu .menu-item > a {
        padding: 7px 14px !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
    }

    .ast-header-break-point .main-header-menu li {
        margin: 0 !important;
    }

    .ast-mobile-popup-content {
        max-height: 80vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .ast-header-break-point .main-header-menu .sub-menu li a {
        padding: 7px 14px !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
    }

    /* Mobile hover (exclude CTA) */
    .ast-header-break-point .main-header-menu > li:not(.menu-cta-button) > a:hover,
    .ast-header-break-point .main-header-menu > li:not(.menu-cta-button).current-menu-item > a {
        color: #19e234 !important;
    }
}

/* =========================
   STICKY HEADER
   ========================= */
#masthead,
.ast-primary-header-bar {
    position: sticky;
    top: 0;
    z-index: 9999;
}

#masthead {
    width: 100%;
}

.ast-primary-header-bar {
    box-shadow: 0 2px 8px rgba(0,0,0,0.20);
}

/* =========================
   HEADER MENU - KEEP ONE ROW
   ========================= */
.main-header-bar-navigation,
.main-navigation,
.main-header-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.main-header-menu {
    justify-content: flex-end;
    width: 100%;
}

.main-header-menu > li {
    display: inline-flex;
    align-items: center;
    margin: 0 1px;
    white-space: nowrap;
}

.main-header-menu > li > a {
    font-size: 12px;
    padding-left: 8px;
    padding-right: 8px;
    white-space: nowrap;
    line-height: 1;
}

/* =========================
   CTA MENU ITEM (EXPAND EFFECT)
   ========================= */
.menu-cta-button {
    display: inline-flex !important;
    align-items: center;
    margin-left: 6px;
}

.menu-cta-button > a {
    background: #19e234;
    color: #000 !important;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px !important;
    border-radius: 999px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
}

/* Expand instead of glow */
.menu-cta-button > a:hover {
    transform: scale(1.08);
    background: #19e234;
    color: #000 !important;
}

/* =========================
   FOOTER CONTACT ALIGNMENT
   ========================= */
.footer-contact {
    text-align: right;
}

@media (max-width: 768px) {
    .footer-contact {
        text-align: center;
    }

    .footer-contact a {
        display: block;
        margin-bottom: 6px;
    }

    .footer-widget-area .widget:nth-child(3) {
        text-align: center !important;
    }

    .footer-widget-area .widget:nth-child(3) a {
        display: block;
        margin-bottom: 6px;
    }
}

/* =========================
   MENU DIVIDER
   ========================= */
.menu-divider > a {
    pointer-events: none !important;
    cursor: default !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    padding: 0 !important;
    margin: 8px 15px !important;
    height: 0 !important;
    background: transparent !important;
    border-top: 1px solid rgba(255,255,255,.18) !important;
}

.menu-divider > a::before,
.menu-divider > a::after {
    content: none !important;
}

/* =========================
   FOOTER LEGAL LINKS
   ========================= */
.footer-legal {
    color: #ffffff !important;
    text-decoration: none;
    white-space: nowrap;
}

.footer-legal:hover {
    color: #19e234 !important;
}