/* Mobile Footer Menu Styles */
.mobile-footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 11px;
    padding: 5px 8px;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.footer-menu-item:hover {
    color: #007cba;
    text-decoration: none;
}

.footer-menu-item i {
    font-size: 18px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.footer-menu-item:hover i {
    color: #007cba;
    transform: translateY(-2px);
}

.footer-menu-item span {
    font-weight: 500;
    line-height: 1.2;
}

/* Call Now button special styling */
.footer-menu-item.call-now {
    color: #fff;
    background: linear-gradient(135deg, #007cba, #005a87);
    border-radius: 8px;
    margin: 0 5px;
    padding: 8px 5px;
}

.footer-menu-item.call-now:hover {
    background: linear-gradient(135deg, #005a87, #003d5c);
    color: #fff;
    transform: translateY(-2px);
}

.footer-menu-item.call-now i {
    color: #fff;
}

/* Hide on desktop */
@media (min-width: 769px) {
    .mobile-footer-menu {
        display: none !important;
    }
}

/* Adjust for very small screens */
@media (max-width: 320px) {
    .footer-menu-item {
        font-size: 10px;
        padding: 4px 6px;
    }
    
    .footer-menu-item i {
        font-size: 16px;
    }
}

/* Safe area support for notched phones */
@supports (padding: max(0px)) {
    .mobile-footer-menu {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
}