/* ============================================
   CSS FOOTER
   ============================================ */
.ce-footer {
    background: var(--primary-color);
    color: var(--white);
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 48px;
    /* Increased size */
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    display: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--spacing-xl);
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 700;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    font-size: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    color: white;
    gap: 10px;
}

.contact-info li a {
    color: white;
    text-decoration: none;
    transition: var(--transition-normal);
}

.contact-info li a:hover {
    text-decoration: underline;
}

.contact-info li i {
    color: white;
    opacity: 0.4;
    margin-top: 5px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    font-size: 16px;
}

.social-links a:hover {
    background: #444db0;
    color: var(--white);
}

.copyright {
    background-color: #e9ecef;
    padding: 20px 0;
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive cho Footer */
@media (max-width: 575px) {
    .ce-footer {
        padding-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    /* Cột đầu tiên (Logo) chiếm full width */
    .footer-col:nth-child(1) {
        grid-column: 1 / -1;
    }

    /* Cột 2 và 3 nằm ngang tự nhiên (mỗi cột 1fr) */
    /* .footer-col:nth-child(2) và :nth-child(3) không cần CSS thêm */

    /* Cột cuối cùng (Liên hệ) chiếm full width */
    .footer-col:nth-child(4) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }

    /* Cột đầu tiên (Logo) chiếm full width */
    .footer-col:nth-child(1) {
        grid-column: 1 / -1;
    }

    /* Cột 2, 3, 4 (Liên Kết Nhanh, Giới Thiệu, Liên Hệ) nằm ngang tự nhiên */
}

/* ============================================
   KẾT THÚC CSS FOOTER
   ============================================ */