/* ======= Modern Footer ======= */
.footer-new {
    position: relative;
    color: #fff;
    background-image: linear-gradient(135deg, #002a5c, #001538);
    overflow: hidden;
}

.footer-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8Y2lyY2xlIG9wYWNpdHk9IjAuMDUiIGN4PSIxMCIgY3k9IjEwIiByPSI1Ii8+CiAgPGNpcmNsZSBvcGFjaXR5PSIwLjA1IiBjeD0iNTAiIGN5PSIxMCIgcj0iNSIvPgogIDxjaXJjbGUgb3BhY2l0eT0iMC4wNSIgY3g9IjkwIiBjeT0iMTAiIHI9IjUiLz4KICA8Y2lyY2xlIG9wYWNpdHk9IjAuMDUiIGN4PSIzMCIgY3k9IjMwIiByPSI1Ii8+CiAgPGNpcmNsZSBvcGFjaXR5PSIwLjA1IiBjeD0iNzAiIGN5PSIzMCIgcj0iNSIvPgogIDxjaXJjbGUgb3BhY2l0eT0iMC4wNSIgY3g9IjEwIiBjeT0iNTAiIHI9IjUiLz4KICA8Y2lyY2xlIG9wYWNpdHk9IjAuMDUiIGN4PSI1MCIgY3k9IjUwIiByPSI1Ii8+CiAgPGNpcmNsZSBvcGFjaXR5PSIwLjA1IiBjeD0iOTAiIGN5PSI1MCIgcj0iNSIvPgogIDxjaXJjbGUgb3BhY2l0eT0iMC4wNSIgY3g9IjMwIiBjeT0iNzAiIHI9IjUiLz4KICA8Y2lyY2xlIG9wYWNpdHk9IjAuMDUiIGN4PSI3MCIgY3k9IjcwIiByPSI1Ii8+CiAgPGNpcmNsZSBvcGFjaXR5PSIwLjA1IiBjeD0iMTAiIGN5PSI5MCIgcj0iNSIvPgogIDxjaXJjbGUgb3BhY2l0eT0iMC4wNSIgY3g9IjUwIiBjeT0iOTAiIHI9IjUiLz4KICA8Y2lyY2xlIG9wYWNpdHk9IjAuMDUiIGN4PSI5MCIgY3k9IjkwIiByPSI1Ii8+Cjwvc3ZnPg==');
    opacity: 0.8;
    pointer-events: none;
}

.footer-top {
    position: relative;
    padding: 80px 0 50px;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col {
    position: relative;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff5722, #ff9800);
    border-radius: 3px;
}

/* Company Info Column */
.footer-col.company-info {
    grid-column: 1 / 2;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    letter-spacing: 1px;
}

.footer-logo a span {
    color: #ff5722;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-social h5 {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0.8);
    z-index: -1;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-5px);
}

.social-icon:hover::before {
    opacity: 1;
    transform: scale(1);
}

.social-icon.zalo-icon {
    background-color: #fff;
    padding: 8px;
}

.social-icon.zalo-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Links Columns */
.footer-col.links,
.footer-col.services {
    grid-column: auto;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.footer-links a i {
    font-size: 0.75rem;
    margin-right: 8px;
    color: #ff5722;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Contact Column */
.footer-col.contact {
    grid-column: 4 / 5;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.icon-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #ff5722;
    transition: all 0.3s ease;
}

.contact-item:hover .icon-box {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: #fff;
    transform: rotate(360deg);
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

.contact-item p a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item p a:hover {
    color: #fff;
}

/* Partners Section */
.footer-middle {
    position: relative;
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.footer-middle h4 {
    text-align: center;
    margin-bottom: 25px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
}

.partners-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo {
    max-width: 90%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.2);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    background-color: rgba(0, 0, 0, 0.25);
    padding: 20px 0;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.copyright span {
    color: #ff5722;
    font-weight: 700;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-col.company-info {
        grid-column: 1 / 3;
    }
    
    .footer-col.links {
        grid-column: 1 / 2;
    }
    
    .footer-col.services {
        grid-column: 2 / 3;
    }
    
    .footer-col.contact {
        grid-column: 1 / 3;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 50px 0 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col.company-info,
    .footer-col.links,
    .footer-col.services,
    .footer-col.contact {
        grid-column: auto;
    }
    
    .partners-container {
        gap: 20px;
    }
    
    .partner-logo {
        flex: 1 0 100%;
        max-width: 100%;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}