/* Reset CSS */
.mobile-nav-hotline * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style cho hotline desktop */
.div_hotline_float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: none;
}

.div_hotline_float img {
    transition: transform 0.3s ease;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.div_hotline_float img:hover {
    transform: scale(1.05);
}

/* Style cho thanh điều hướng mobile */
.mobile-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    padding: 8px 0 12px;
    border-top: 1px solid #e0e0e0;
}

.mobile-navbar ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-navbar li {
    text-align: center;
    flex: 1;
    position: relative;
}

.mobile-navbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 5px 8px;
    font-size: 11px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 2px;
}

.mobile-navbar a:hover {
    color: #007bff;
    background: #f8f9fa;
}

.mobile-navbar .icon {
    font-size: 20px;
    margin-bottom: 4px;
    display: block;
}

/* Style cho menu dịch vụ */
.service-menu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    max-width: 90vw;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px 12px 0 0;
    display: none;
    flex-direction: column;
    padding: 0;
    max-height: 60vh;
    overflow-y: auto;
    z-index: 10000;
    border: 1px solid #e0e0e0;
}

.service-menu.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.service-menu a {
    padding: 14px 20px !important;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    font-size: 14px !important;
    flex-direction: row;
    transition: all 0.2s ease;
    margin: 0;
}

.service-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.service-menu a:first-child {
    border-radius: 12px 12px 0 0;
}

.service-menu a:hover {
    background: #007bff;
    color: white;
}

/* Overlay khi menu mở */
.service-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.service-menu-overlay.active {
    display: block;
}

/* Media queries */
@media (min-width: 769px) {
    .div_hotline_float {
        display: block;
    }
}

@media (max-width: 768px) {
    .mobile-navbar {
        display: block;
    }
    
    .service-menu {
        width: 95vw;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mobile-navbar a {
        font-size: 10px;
        padding: 4px 6px;
    }
    
    .mobile-navbar .icon {
        font-size: 18px;
    }
}

/* Responsive cho màn hình rất nhỏ */
@media (max-width: 360px) {
    .mobile-navbar a {
        font-size: 9px;
        padding: 3px 4px;
    }
    
    .mobile-navbar .icon {
        font-size: 16px;
    }
    
    .service-menu {
        width: 98vw;
    }
}

/* CSS cũ giữ nguyên... */

/* Icon styles */
.nav-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-bottom: 4px;
}

.service-item-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 10px;
}

/* Đảm bảo icon hiển thị đúng trong menu dịch vụ */
.service-menu a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
}

.service-menu a img {
    flex-shrink: 0;
}

/* Responsive cho icon */
@media (max-width: 768px) {
    .nav-icon {
        width: 22px;
        height: 22px;
    }
    
    .service-item-icon {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
}