/* ==========================================================================
   CSS CHO FOOTER MẪU 3 (assets/footer-style.css)
   ========================================================================== */

.t-footer-3 {
    background-color: var(--t-secondary-color);
    color: var(--t-light-color);
    position: relative;
    overflow: hidden;
    /* Chứa các decoration */
    font-family: inherit;
    /* Kế thừa font từ body */
}

.t-footer-3 a {
    /* Reset màu link mặc định */
    color: inherit;
}

/* --- Footer Menu Bar --- */
.t-footer-3-menu {
    background-color: var(--t-secondary-color);
    padding: 15px 0;
    /* Giảm padding */
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--t-primary-color);
}

.t-footer-3-menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    /* Giảm gap */
    list-style: none;
    margin: 0;
    padding: 0;
    /* Reset list */
}

.t-footer-3-menu ul li a {
    color: var(--t-light-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    /* Giảm font size */
    letter-spacing: 0.8px;
    transition: var(--t-transition);
    padding-bottom: 3px;
    /* Padding cho border */
    border-bottom: 2px solid transparent;
    /* Border ẩn */
}

.t-footer-3-menu ul li a:hover,
.t-footer-3-menu ul li.current-menu-item>a {
    /* Style cho trang hiện tại */
    color: var(--t-light-color);
    border-bottom-color: var(--t-light-color);
    /* Hiện border khi hover/active */
}

/* --- Footer Main Content --- */
.t-footer-3-main {
    padding: 40px 0 30px;
    /* Giảm padding */
    text-align: center;
    position: relative;
    /* Đảm bảo nội dung trên decoration */
    z-index: 2;
}

.t-footer-3-container {
    /* Container chung cho footer 3 */
    width: 100%;
    max-width: 1140px;
    /* Giảm max-width chút */
    margin: 0 auto;
    padding: 0 15px;
    /* Padding ngang */
    box-sizing: border-box;
}

.t-footer-3-logo {
    margin-bottom: 15px;
}

.t-footer-3-logo h2 {
    color: var(--t-primary-color);
    font-size: 3.5rem;
    /* Chỉnh size */
    margin-bottom: 5px;
    font-weight: 700;
}

.t-footer-3-logo p {
    color: var(--t-grey-color);
    font-weight: 400;
    /* Đổi lại font weight */
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.t-footer-3-info {
    /* Phần bao quanh about và contact grid */
}

.t-footer-3-about {
    max-width: 650px;
    /* Giảm max-width */
    margin: 0 auto 25px;
    /* Tăng margin bottom */
    line-height: 1.6;
    font-size: 0.95rem;
    /* Chỉnh size */
    color: var(--t-grey-dark);
    opacity: 0.9;
}

.t-footer-3-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    /* Grid linh hoạt */
    gap: 20px;
    /* Tăng gap */
    margin-bottom: 30px;
    max-width: 900px;
    /* Giới hạn chiều rộng lưới */
    margin-left: auto;
    margin-right: auto;
}

.t-footer-3-contact-item {
    display: flex;
    align-items: flex-start;
    /* Căn icon với dòng đầu text */
    text-align: left;
    padding: 15px;
    /* Tăng padding */
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.05);
    /* Nền đậm hơn chút */
    transition: var(--t-transition);
}

.t-footer-3-contact-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    /* Hiệu ứng nhẹ */
}

.t-footer-3-icon {
    flex-shrink: 0;
    width: 40px;
    /* Tăng size icon wrapper */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--t-primary-color);
    color: var(--t-light-color);
    border-radius: 50%;
    margin-right: 15px;
    /* Tăng khoảng cách */
    font-size: 18px;
    /* Size icon bên trong */
}

.t-footer-3-text h4 {
    color: var(--t-primary-light);
    margin-bottom: 4px;
    font-size: 1rem;
    /* Tăng size heading */
    font-weight: 500;
}

.t-footer-3-text p,
.t-footer-3-text p a {
    /* Style chung cho text và link */
    color: var(--t-grey-color);
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
    /* Chống tràn chữ dài */
}

.t-footer-3-text p a:hover {
    color: var(--t-primary-light);
    text-decoration: underline;
}

.t-footer-3-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    /* Tăng gap */
}

.t-footer-3-social-icon {
    width: 36px;
    /* Tăng size icon social */
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--t-primary-dark);
    color: var(--t-light-color);
    border-radius: 50%;
    transition: var(--t-transition);
    font-size: 16px;
    /* Size icon bên trong */
}

.t-footer-3-social-icon:hover {
    background-color: var(--t-primary-color);
    transform: translateY(-3px) rotate(10deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Footer Copyright --- */
.t-footer-3-copyright {
    background-color: rgba(0, 0, 0, 0.15);
    /* Nền đậm hơn */
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    /* Giảm font */
    color: var(--t-grey-dark);
    position: relative;
    /* Đảm bảo trên decoration */
    z-index: 2;
}

.t-footer-3-copyright p {
    margin: 0;
}

/* --- Decorative Elements --- */
.t-footer-3-decoration {
    position: absolute;
    z-index: 1;
    /* Nằm dưới nội dung */
    opacity: 0.04;
    /* Mờ hơn nữa */
    border-radius: 50%;
    background-color: var(--t-primary-light);
}

.t-footer-3-decoration-1 {
    top: 10%;
    left: -100px;
    width: 220px;
    height: 220px;
}

.t-footer-3-decoration-2 {
    bottom: 5%;
    right: -120px;
    width: 280px;
    height: 280px;
}

/* --- Responsive for Footer 3 --- */
@media (max-width: 768px) {
    .t-footer-3-main {
        padding: 30px 0 20px;
    }

    .t-footer-3-about {
        font-size: 0.9rem;
        max-width: 90%;
    }

    .t-footer-3-contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 25px;
    }

    .t-footer-3-text h4 {
        font-size: 0.95rem;
    }

    .t-footer-3-text p,
    .t-footer-3-text p a {
        font-size: 0.9rem;
    }

    .t-footer-3-decoration {
        display: none;
    }

    /* Ẩn decoration trên mobile */
    .t-footer-3-copyright {
        font-size: 12px;
    }
}

/* ==========================================================================
   Kết thúc CSS cho Footer Mẫu 3
   ========================================================================== */