/* Mobile Footer Styles */
@media (max-width: 768px) {
    .fooodis-footer {
        text-align: center;
        padding-top: 40px;
        padding-bottom: 40px;
        background-color: #1d2029; /* Exact dark background color from screenshot */
        min-height: 0; /* Fix for Firefox compatibility */
    }
    
    /* Hide the bubbles animation on mobile for cleaner look */
    .bubbles {
        display: none;
    }
    
    /* Footer container adjustments */
    .footer-container {
        padding: 0 20px;
        max-width: 100%;
        background-color: #1d2029; /* Exact dark background color from screenshot */
    }
    
    /* Toggle desktop/mobile elements */
    .desktop-only {
        display: none !important; /* Hide desktop elements */
    }
    
    .mobile-nav {
        display: block !important; /* Show mobile navigation */
        width: 100%;
    }
    
    /* Navigation menu - vertical stack */
    .footer-nav {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-nav-list {
        flex-direction: column !important;
        align-items: center;
        gap: 25px !important; /* Increased gap between menu items */
        padding: 0;
        margin: 0 0 30px 0;
        width: 100%;
        display: flex !important; /* Ensure the list is displayed */
    }
    
    .footer-nav-item {
        margin: 0;
        padding: 0;
        display: block !important; /* Ensure all items are displayed */
        width: 100%;
        text-align: center;
    }
    
    .footer-nav-item a {
        font-size: 20px !important; /* Larger font size to match source */
        font-weight: 400;
        color: #fff;
        text-decoration: none;
        padding: 5px 0;
        display: inline-block;
        letter-spacing: 0.5px; /* Slight letter spacing for better readability */
        opacity: 0.9;
        width: auto;
    }
    
    /* Highlight the active/current page */
    .footer-nav-item a.active,
    .footer-nav-item a:hover {
        color: #e3c878 !important; /* Gold/yellow color as shown in screenshot */
        opacity: 1;
    }
    
    /* Bottom section with logo and social icons */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }
    
    /* LogoLand section */
    .footer-powered-by {
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .logoland-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
    }
    
    .logoland-logo {
        width: 240px !important; /* Larger logo to match source */
        height: auto;
        margin: 0 0 20px 0;
    }
    
    .footer-powered-by p {
        font-size: 18px !important; /* Larger font size */
        color: #fff;
        margin: 10px 0 0 0;
        font-weight: 400;
        letter-spacing: 0.5px;
    }
    
    /* Social media icons */
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 30px 0;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .social-link:hover {
        background-color: #e3c878 !important; /* Gold/yellow color from screenshot */
        transform: translateY(-3px);
    }
    
    .social-link:hover i {
        color: #1d2029 !important; /* Exact dark background color from screenshot */
    }
    
    .social-link i {
        font-size: 22px;
        color: #fff;
        transition: color 0.3s ease;
    }
    
    /* Horizontal line separator */
    .footer-separator {
        width: 85%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.15);
        margin: 35px auto;
    }
    
    /* Back to top button */
    .back-to-top-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #1d2029; /* Dark background to match screenshot */
        border: 2px solid #e3c878; /* Yellow border to match screenshot */
        z-index: 100;
        transition: all 0.3s ease;
    }
    
    .back-to-top-button img {
        width: 20px;
        height: 20px;
        filter: invert(48%) sepia(80%) saturate(2476%) hue-rotate(190deg) brightness(90%) contrast(95%); /* Blue color for the arrow */
    }
    
    .back-to-top-button.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
