/* Footer Styles - LangMaster Design */

.site-footer {
    background: #2c2c2c !important;
    color: white !important;
    padding: 3rem 0 0 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
}

/* Force override any old contact-item styles in footer */
.site-footer .contact-item {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    text-align: left !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.footer-main {
    display: grid !important;
    grid-template-columns: 1fr 250px 1fr !important;
    gap: 3rem !important;
    margin-bottom: 2rem !important;
    padding-bottom: 2rem !important;
    border-bottom: 1px solid #444 !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Company Info Column */
.footer-company {
    max-width: 400px;
}

.company-logo {
    margin-bottom: 1rem;
}

.company-logo img {
    max-height: 80px;
    width: auto;
}

.company-logo h3 {
    color: #2E5C8A;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.company-tagline {
    margin-bottom: 1rem;
}

.company-tagline p {
    font-size: 1rem;
    font-weight: 600;
    color: #f0f0f0;
    margin: 0;
}

.company-description {
    margin-bottom: 1.5rem;
}

.company-description p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #444;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: #2E5C8A;
    transform: translateY(-2px);
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.youtube:hover {
    background: #ff0000;
}

.social-link.tiktok:hover {
    background: #000;
}

.social-link.zalo:hover {
    background: #0180c7;
}

/* Menu Column */
.footer-menu h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #2E5C8A;
}

/* Contact Info Column */
.footer-contact h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact .contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.5;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    text-align: left !important;
}

.footer-contact .contact-item i {
    color: #2E5C8A !important;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 16px;
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    display: inline !important;
}

.footer-contact .contact-item span {
    color: #ccc;
}

.footer-contact .contact-item a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-item a:hover {
    color: #2E5C8A;
}

/* Footer Bottom */
.footer-bottom {
    background: #1a1a1a;
    margin: 0;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-copyright {
    text-align: left;
}

.footer-copyright p {
    font-size: 0.8rem;
    color: #999;
    margin: 0.3rem 0;
    line-height: 1.4;
}

/* BCT Certification Logo */
.footer-certification {
    flex-shrink: 0;
}

.bct-logo {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.bct-logo:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 991px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer-company {
        max-width: none;
    }
    
    .footer-company h3,
    .footer-widget h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-company p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .social-links {
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .contact-item {
        justify-content: flex-start;
        text-align: left;
        max-width: 100%;
        margin: 0;
        font-size: 0.9rem;
    }
    
    .contact-item span {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    .footer-copyright {
        text-align: center;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        gap: 1.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
}