/* Footer Styles */
.footer {
    background-color: #004aad;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-top {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-hotline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-hotline-icon {
    font-size: 20px;
}

.footer-hotline-text {
    font-weight: bold;
    font-size: 14px;
}

.footer-hotline-number {
    font-weight: bold;
    font-size: 18px;
    margin-top: 5px;
}

.footer-consultation-btn {
    background-color: #f8f9fa;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-consultation-btn:hover {
    background-color: #e9ecef;
}

.footer-main {
    padding: 40px 0;
}

.footer-column h5 {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-column p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-column .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column .footer-links li {
    margin-bottom: 8px;
}

.footer-column .footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column .footer-links a:hover {
    color: #fdd800;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



.footer-qr-code {
    margin-bottom: 20px;
}

.footer-qr-code img {
    max-width: 100%;
    width: 220px;
    height: auto;
    border: 2px solid white;
    border-radius: 8px;
}

.footer-app-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-app-button {
    background-color: #000;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.footer-app-button:hover {
    background-color: #333;
    color: white;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    font-size: 14px;
}

.footer-scroll-top {
    background-color: #1877f2;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.2s ease;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    opacity: 0;
}

.footer-scroll-top:hover {
    background-color: #166fe5;
}

.footer-scroll-top.is-visible {
    display: flex;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-hotline {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-main {
        padding: 30px 0 0 0;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .footer-social-icons {
        justify-content: center;
        gap: 10px;
    }
    
    .footer-social-icon {
        width: 45px;
        height: 45px;
    }
    
    .footer-app-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-scroll-top {
        margin-top: 15px;
    }
    .footer-top {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-social-icons {
        gap: 10px;
    }
    
    .footer-social-icon {
        width: 40px;
        height: 40px;
    }
}
