.footer {
    
    padding: 60px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
   
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #0118D8;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.5;
}

.footer-column ul li a:hover {
    color: #0118D8;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Footer Bottom Section */
.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

/* Social Media Icons */
.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    text-decoration: none;
    width: 40px;
    height: 40px;
    background-color: #666;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.facebook:hover {
    background-color: #1877f2;
}

.social-icon.youtube:hover {
    background-color: #ff0000;
}

.social-icon.instagram:hover {
    background-color: #e4405f;
}

.social-icon.tiktok:hover {
    background-color: #000000;
}

.social-icon.linkedin:hover {
    background-color: #0077b5;
}

/* Partner Logos */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 30px 0;
}

.partner-logo {
    height: 60px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* Copyright Section */
.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.copyright p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-btn {
    text-decoration: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    background-color: #dc3545;
}

.messenger-btn {
    background-color: #0084ff;
}

.zalo-btn {
    background-color: #0068ff;
    position: relative;
    overflow: hidden;
}

.zalo-btn img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  
    .footer-column h3 {
        font-size: 16px;
    }
    .partner-logos {
        flex-direction: column;
        gap: 20px;
    }

    .partner-logo {
        height: 50px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .social-media {
        gap: 15px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .partner-logo {
        height: 40px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background-color: #0118D8;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
    background-color: #004d99;
    transform: translateY(-3px);
}

.scroll-to-top.visible {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer {
        padding: 40px 0;
    }

    .zalo-btn img {
        width: 25px;
        height: 25px;
    }

    .floating-buttons {
        left: 10px;
        bottom: 10px;
        display: none;
    }

    .scroll-to-top {
        right: 15px;
        bottom: 75px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
