

/* mobile menu section css */

/* =========================
   RESET (ASTRA SAFE)
   ========================= */
.headerb,
.footerb {
    all: unset;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

/* =========================
   REMOVE TOP GAP (IMPORTANT FIX)
   ========================= */
@media (max-width: 768px) {
    html, body {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Astra header spacing fix */
    .ast-primary-header-bar,
    .site-header,
    header {
        margin: 0 !important;
        padding-top: 0 !important;
    }
}

/* =========================
   HEADER (TOP BAR - NO GAP)
   ========================= */
.headerb {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100% !important;

    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;

    padding: 10px 12px !important;

    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(12px) !important;

    box-shadow: 0 2px 8px rgba(0,0,0,0.06);

    z-index: 99999 !important;
}

/* =========================
   FOOTER (BOTTOM NAV)
   ========================= */
.footerb {
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100% !important;

    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;

    gap: 6px;
    padding: 8px !important;

    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(12px) !important;

    box-shadow: 0 -3px 10px rgba(0,0,0,0.06);

    z-index: 99999 !important;
}

/* =========================
   NAV BUTTONS (WHITE CLEAN)
   ========================= */
.headerb a,
.footerb a {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 3px;

    font-size: 11px !important;
    font-weight: 500;

    color: #4b5563 !important;
    text-decoration: none !important;

    padding: 8px 6px !important;

    border-radius: 16px;

    /* CLEAN WHITE BUTTON */
    background: #ffffff;

    border: 1px solid rgba(0,0,0,0.08);

    box-shadow: 0 2px 6px rgba(0,0,0,0.05);

    transition: all 0.2s ease;
}

/* =========================
   ICON STYLE
   ========================= */
.headerb a i,
.footerb a i {
    font-size: 20px;
}

/* =========================
   ACTIVE TAB
   ========================= */
.headerb a.active,
.footerb a.active,
.footerb a.current-menu-item {
    color: #2563eb !important;

    background: #ffffff;

    border: 1.5px solid #2563eb;

    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* =========================
   HOVER
   ========================= */
.headerb a:hover,
.footerb a:hover {
    transform: translateY(-1px);
}

/* =========================
   CLICK EFFECT
   ========================= */
.headerb a:active,
.footerb a:active {
    transform: scale(0.92);
}

/* =========================
   MOBILE ONLY
   ========================= */
@media (min-width: 768px) {
    .headerb,
    .footerb {
        display: none !important;
    }
}

/* =========================
   FIX CONTENT OVERLAP
   ========================= */
@media (max-width: 768px) {
    body {
        padding-top: 55px !important;
        padding-bottom: 70px !important;
        background: #f9fafb;
    }
}
