/* ============================================================================
   abujudom-footer.css — Premium Footer + FAB Overrides  (May 2026)
   ============================================================================ */

/* ---------- Follow Us — horizontal social strip under logo ---------- */
.aj-footer-follow {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.aj-footer-follow__title {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b !important;
    margin-bottom: 10px;
}
.aj-footer-follow__list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.aj-footer-follow__list li {
    margin: 0 !important;
    float: none !important;
}
.aj-footer-follow__list li a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    color: #475569 !important;
    float: none !important;
    line-height: normal !important;
    transition: all 220ms ease !important;
}
.aj-footer-follow__list li a:hover {
    background: var(--aj-primary, #b7cd27) !important;
    border-color: var(--aj-primary, #b7cd27) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(183, 205, 39, 0.25);
}
.aj-footer-follow__list li a img.aj-social-svg {
    width: 18px !important;
    height: 18px !important;
    transition: filter 220ms ease;
}
.aj-footer-follow__list li a:hover img.aj-social-svg {
    filter: brightness(0) invert(1) !important;
}

/* Dark mode follow-us */
body.aj-dark .aj-footer-follow {
    border-top-color: rgba(255, 255, 255, 0.08);
}
body.aj-dark .aj-footer-follow__title {
    color: #94a3b8 !important;
}
body.aj-dark .aj-footer-follow__list li a {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ---------- Floating Action Buttons (secondary-nav) — no white strip ---------- */
.secondary-nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
/* Individual FABs keep their own backgrounds */
.secondary-nav ul li a {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.10),
                0 1px 4px rgba(15, 23, 42, 0.06) !important;
    border-radius: 12px !important;
}
/* The SVG progress indicator also inherits the white background — remove it */
.secondary-nav .progress-indicator {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ---------- Scroll-to-top — match FAB style ---------- */
.to-top,
.to-top.color-bg {
    width: 46px !important;
    height: 46px !important;
    line-height: 46px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.10),
                0 1px 4px rgba(15, 23, 42, 0.06) !important;
    font-size: 16px;
    transition: transform 200ms ease, box-shadow 200ms ease,
                background 200ms ease, color 200ms ease !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 50;
}
.to-top:hover,
.to-top.color-bg:hover {
    transform: translateY(-2px) !important;
    background: var(--aj-primary, #b7cd27) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(183, 205, 39, 0.30),
                0 2px 6px rgba(183, 205, 39, 0.15) !important;
    border-color: var(--aj-primary, #b7cd27) !important;
}
/* Prevent overlap with footer */
.secondary-nav {
    bottom: 76px !important;
}
html[dir="rtl"] .to-top,
html[dir="rtl"] .to-top.color-bg {
    right: auto !important;
    left: 20px !important;
}

/* Dark mode FABs */
body.aj-dark .to-top,
body.aj-dark .to-top.color-bg {
    background: var(--aj-bg-card, #1e293b) !important;
    color: #e5e7eb !important;
    border-color: var(--aj-border, #334155) !important;
}

/* ---------- Mobile responsive ---------- */
@media (max-width: 767px) {
    .aj-footer-follow__list {
        justify-content: flex-start;
    }
    .aj-footer-follow__list li a {
        width: 38px !important;
        height: 38px !important;
    }
    .secondary-nav {
        right: 12px !important;
        bottom: 68px !important;
    }
    html[dir="rtl"] .secondary-nav {
        left: 12px !important;
    }
    .to-top,
    .to-top.color-bg {
        width: 42px !important;
        height: 42px !important;
        line-height: 42px !important;
        right: 12px !important;
        bottom: 14px !important;
    }
    html[dir="rtl"] .to-top,
    html[dir="rtl"] .to-top.color-bg {
        left: 12px !important;
    }
    .secondary-nav ul li a {
        width: 42px !important;
        height: 42px !important;
    }
}
