/* AOS Visibility Fail-safe: Ensure content is visible even if JS is deferred */
[data-aos] { opacity: 1 !important; transform: none !important; }
.aos-init [data-aos] { opacity: inherit !important; transform: inherit !important; }

/* Responsive Floating Footer Bar for Mobile & Tablets */

/* Base desktop state (hidden) */
.mobile-floating-footer {
    display: none;
}

/* Enabled strictly for Tablet & Mobile Viewports (< 992px) */
@media (max-width: 991.98px) {
    .mobile-floating-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9996; /* Keeps it overlaying body contents but behind the primary navigation menu overlays */
        background: rgba(26, 18, 11, 0.92); /* Deep premium bronze-black tone match */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(197, 160, 89, 0.3); /* Brand gold accent top border */
        padding: 12px 16px;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
        display: flex;
        gap: 12px;
        justify-content: space-between;
        align-items: center;
    }

    /* Bottom viewport buffer to prevent content overlay cutoff */
    body {
        padding-bottom: 75px !important;
    }

    /* Elevate Back-To-Top and WhatsApp chat buttons to prevent overlaps and keep them usable above the floating footer */
    .scroll-top.active {
        bottom: 80px !important;
    }
    .whatsapp-chat-button {
        bottom: 135px !important; /* Stacked elegantly above the back-to-top button */
    }

    /* Responsive Premium Button Components */
    .mobile-floating-footer .btn-floating {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 11px 8px;
        font-family: "Raleway", "Poppins", sans-serif;
        font-size: 0.82rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        text-align: center;
    }

    /* Visitor Button: Premium brand-tailored solid gold gradient */
    .mobile-floating-footer .visitor-btn {
        background: linear-gradient(135deg, #8C6A36 0%, #C5A059 100%);
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
        border: 1px solid rgba(197, 160, 89, 0.2);
    }

    .mobile-floating-footer .visitor-btn:active {
        transform: scale(0.97);
        filter: brightness(1.1);
    }

    /* Exhibitor Button: Sleek, high-contrast semi-transparent glass border */
    .mobile-floating-footer .exhibitor-btn {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .mobile-floating-footer .exhibitor-btn:active {
        background: rgba(255, 255, 255, 0.16);
        transform: scale(0.97);
    }
}
