/*
Theme Name: Wootech Nội Thất Friendly
Theme URI: https://wootech.vn
Description: Child theme của Wootech dành riêng cho dự án Nội Thất Friendly
Author: Wootech Team
Author URI: https://wootech.vn
Template: wootech-theme
Version: 1.1.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wootech-noithatfriendly
*/

/* ==========================================================================
   GLOBAL & UTILITIES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Great+Vibes&family=Inter:wght@400;500;600&display=swap');

:root {
    --ntf-gold: #c6a87c;
    --ntf-gold-hover: #b09265;
    --ntf-dark: #1a1a1a;
    --ntf-text-light: #e5e7eb;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
}

.ntf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ntf-btn--gold {
    background-color: var(--ntf-gold);
    color: #ffffff;
    border: 1px solid var(--ntf-gold);
}

.ntf-btn--gold:hover {
    background-color: var(--ntf-gold-hover);
    border-color: var(--ntf-gold-hover);
    color: #ffffff;
}

.ntf-btn--outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid var(--ntf-gold);
}

.ntf-btn--outline:hover {
    background-color: var(--ntf-gold);
    color: #ffffff;
}

/* ==========================================================================
   WORKFLOW SECTION
   ========================================================================== */
.ntf-workflow {
    padding: 60px 0;
    background-color: #ffffff;
}

.ntf-workflow__header {
    text-align: center;
    margin-bottom: 40px;
}

.ntf-workflow__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}

.ntf-workflow__subtitle {
    color: #777;
    font-size: 1.1rem;
    margin: 0;
}

.ntf-workflow__row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 15px;
}

.ntf-workflow__step {
    flex: 1;
    min-width: 0;
}

.ntf-workflow__arrow {
    display: flex;
    align-items: center;
    color: var(--ntf-gold);
    font-size: 14px;
    opacity: 0.6;
}

.ntf-workflow__card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.ntf-workflow__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--ntf-gold);
}

.ntf-workflow__icon {
    font-size: 40px;
    color: var(--ntf-gold);
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.ntf-workflow__card:hover .ntf-workflow__icon {
    transform: scale(1.1);
}

.ntf-workflow__mobile-num {
    display: none;
}

.ntf-workflow__num {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}

.ntf-workflow__item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ntf-workflow__item-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Workflow */
@media (max-width: 991px) {
    .ntf-workflow__row {
        flex-direction: column;
        gap: 30px;
        max-width: 600px;
        margin: 0 auto;
    }

    .ntf-workflow__arrow {
        display: none;
    }

    .ntf-workflow__step {
        width: 100%;
    }

    .ntf-workflow__card {
        flex-direction: row;
        align-items: flex-start;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        text-align: left;
        gap: 20px;
    }

    .ntf-workflow__card:hover {
        transform: none;
        box-shadow: none;
        border-color: transparent;
    }

    .ntf-workflow__mobile-num {
        display: block;
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--ntf-gold);
        min-width: 25px;
        margin-top: 5px;
    }

    .ntf-workflow__icon {
        font-size: 32px;
        margin-bottom: 0;
        min-width: 40px;
        text-align: center;
    }

    .ntf-workflow__card:hover .ntf-workflow__icon {
        transform: none;
    }

    .ntf-workflow__num {
        display: none;
    }

    .ntf-workflow__content {
        flex: 1;
    }

    .ntf-workflow__item-title {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .ntf-workflow__item-desc {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.ntf-hero {
    position: relative;
    min-height: 85vh;
    /* Làm gọn Hero trên desktop */
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding-top: 195px; /* 100px nội dung + 95px bù body padding-top */
    padding-bottom: 40px;
    margin-top: -95px; /* Lấp đầy khoảng trắng của body padding-top */
}

.ntf-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.6) 40%, rgba(15, 15, 15, 0) 100%);
    z-index: 1;
}

.ntf-hero__content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.ntf-hero__left {
    max-width: 600px;
}

.ntf-hero__label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ntf-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.ntf-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 700;
}

.ntf-hero__subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 400;
}

.ntf-hero__desc {
    font-size: 1.15rem;
    color: #eeeeee;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 650px;
}

.ntf-hero__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.ntf-hero__features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: #eeeeee;
    display: flex;
    align-items: center;
}

.ntf-hero__features li svg {
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    color: var(--ntf-gold);
}

.ntf-hero__actions {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

/* --- STATS BAR --- */
.ntf-hero__stats-wrapper {
    position: relative;
    width: 100%;
    z-index: 2;
    margin-top: 40px;
}

.ntf-hero__stats {
    background: rgba(20, 20, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.ntf-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    padding: 20px 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ntf-stat-item:last-child {
    border-right: none;
}

.ntf-stat-icon {
    font-size: 2.5rem;
    color: var(--ntf-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ntf-stat-icon svg {
    width: 1em;
    height: 1em;
}

.ntf-stat-content {
    display: flex;
    flex-direction: column;
}

.ntf-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 4px;
}

.ntf-stat-text {
    font-size: 0.9rem;
    color: #cccccc;
}

/* ==========================================================================
   WHY CHOOSE SECTION
   ========================================================================== */
.ntf-why {
    padding: 60px 0;
    background-color: #ffffff;
}

.ntf-why__header {
    text-align: center;
    margin-bottom: 40px;
}

.ntf-why__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333333;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.ntf-why__subtitle {
    font-size: 1.05rem;
    color: #888888;
    max-width: 600px;
    margin: 0 auto;
}

.ntf-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ntf-why__item {
    background: #ffffff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ntf-why__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border-color: transparent;
}

.ntf-why__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ntf-gold);
    font-size: 2.5rem;
}

.ntf-why__icon svg {
    width: 1em;
    height: 1em;
}

.ntf-why__item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ntf-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ntf-why__item-desc {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.ntf-projects {
    padding: 100px 0;
    background-color: #141414;
    /* Nền tối */
    color: #ffffff;
}

.ntf-projects__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.ntf-projects__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.ntf-projects__subtitle {
    color: #aaaaaa;
    font-size: 1.05rem;
    margin: 0;
}

.ntf-projects__view-all {
    color: var(--ntf-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.ntf-projects__view-all:hover {
    color: #ffffff !important;
    border-bottom-color: #ffffff;
}


.ntf-projects__header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ntf-projects__nav {
    display: flex;
    gap: 10px;
}

.ntf-projects__nav .swiper-button-prev,
.ntf-projects__nav .swiper-button-next {
    position: static;
    width: 40px;
    height: 40px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s;
}

.ntf-projects__nav .swiper-button-prev:hover,
.ntf-projects__nav .swiper-button-next:hover {
    background-color: var(--ntf-gold);
    border-color: var(--ntf-gold);
}

.ntf-projects__nav .swiper-button-prev::after,
.ntf-projects__nav .swiper-button-next::after {
    font-size: 14px;
    font-weight: bold;
}

.ntf-projects-slider {
    padding: 10px 0;
    /* Padding để hover không bị cắt shadow */
    overflow: hidden;
}

.ntf-projects__item {
    background-color: #1d1d1d;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ntf-projects__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.ntf-projects__thumb {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}


.ntf-projects__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ntf-projects__item:hover .ntf-projects__thumb img {
    transform: scale(1.05);
}

.ntf-projects__cat {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--ntf-gold);
    color: #ffffff;
    padding: 6px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    border-top-right-radius: 4px;
}

.ntf-projects__info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ntf-projects__item-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ntf-projects__item-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.ntf-projects__item-title a:hover {
    color: var(--ntf-gold);
}

.ntf-projects__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
    font-size: 0.9rem;
    margin-top: auto;
}

.ntf-projects__meta-left {
    color: #888888;
}

.ntf-projects__readmore {
    color: var(--ntf-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.ntf-projects__readmore:hover {
    color: #ffffff;
}

/* --- Override Header Background For Inner Pages & Sticky State --- */
.site-header,
.site-header.is-sticky-visible {
    background-color: #111111 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.site-header .site-branding__name,
.site-header .nav-menu>li>a,
.site-header .header-search-icon,
.site-header .dark-mode-btn,
.site-header .menu-toggle,
.site-header .navbar-toggler,
.site-header.is-sticky-visible .site-branding__name,
.site-header.is-sticky-visible .nav-menu>li>a,
.site-header.is-sticky-visible .header-search-icon,
.site-header.is-sticky-visible .dark-mode-btn,
.site-header.is-sticky-visible .menu-toggle,
.site-header.is-sticky-visible .navbar-toggler {
    color: #ffffff !important;
}

/* Đổi màu icon Hamburger (3 gạch) sang trắng */
.site-header .nav-toggle__bar,
.site-header.is-sticky-visible .nav-toggle__bar {
    background-color: #ffffff !important;
}

/* Sửa lỗi hover nút Hamburger bị trắng toát */
.site-header .nav-toggle:hover,
.site-header .nav-toggle:focus {
    background-color: transparent !important;
}
.site-header .nav-toggle:hover .nav-toggle__bar,
.site-header .nav-toggle:focus .nav-toggle__bar {
    background-color: var(--ntf-gold) !important;
}


/* Sửa lỗi chữ trắng trên nền trắng ở Mobile Menu */
@media (max-width: 991px) {
    .site-header .nav-menu {
        background-color: #ffffff;
    }

    .site-header .nav-menu>li>a,
    .site-header.site-header--transparent .nav-menu>li>a {
        color: #111111 !important;
    }

    .site-header .nav-menu>li>a:hover,
    .site-header.site-header--transparent .nav-menu>li>a:hover {
        color: var(--ntf-gold) !important;
    }
}

.site-header .custom-logo,
.site-header.is-sticky-visible .custom-logo {
    filter: brightness(0) invert(1) !important;
}

.site-header .nav-menu>li>a:hover,
.site-header.is-sticky-visible .nav-menu>li>a:hover {
    color: var(--ntf-gold) !important;
}

/* ==========================================================================
   STICKY HEADER & TRANSPARENT (TỐI THƯỢNG)
   ========================================================================== */
/* Bắt buộc Header cố định ở trên cùng */
.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    max-width: 100% !important;
    z-index: 9999;
    background-color: #111111 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* Đệm nội dung xuống dưới để không bị lẹm do fixed header (chỉ áp dụng cho trang con) */
body:not(.home) {
    padding-top: 95px; /* Chiều cao tương đối của header khi có padding */
}

/* Trang chủ: Trong suốt và đè lên Banner */
body.home .site-header.site-header--transparent {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Trang chủ khi cuộn xuống: Nếu có is-sticky-visible hoặc is-scrolled thì chuyển sang đen và thu gọn lại */
body.home .site-header.site-header--transparent.is-sticky-visible,
body.home .site-header.site-header--transparent.is-scrolled {
    background-color: #111111 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Các trang con khi cuộn xuống cũng thu gọn lại */
.site-header.is-sticky-visible,
.site-header.is-scrolled {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Ẩn Header mượt mà khi cuộn xuống (chế độ scroll-up) */
.site-header.is-sticky-hidden {
    transform: translateY(-100%);
}

.site-header.site-header--transparent .site-branding__name,
.site-header.site-header--transparent .nav-menu>li>a,
.site-header.site-header--transparent .header-search-icon,
.site-header.site-header--transparent .dark-mode-btn {
    color: #ffffff !important;
}

.site-header.site-header--transparent .custom-logo {
    filter: brightness(0) invert(1) !important;
}

.site-header.site-header--transparent .btn-cta,
.site-header .btn-cta {
    background-color: var(--ntf-gold) !important;
    color: #ffffff !important;
    border-color: var(--ntf-gold) !important;
}

.site-header.site-header--transparent .btn-cta:hover,
.site-header .btn-cta:hover {
    background-color: var(--ntf-gold-hover) !important;
    border-color: var(--ntf-gold-hover) !important;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .ntf-hero__stats {
        flex-wrap: wrap;
    }

    .ntf-stat-item {
        flex-basis: 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ntf-why__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ntf-projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .ntf-hero__title {
        font-size: 3.5rem;
    }

    .ntf-hero__subtitle {
        font-size: 3.5rem;
    }
}

@media (max-width: 767px) {
    .ntf-hero {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        height: auto;
        min-height: auto;
        padding-top: 235px; /* 140px nội dung + 95px bù body padding-top */
        padding-bottom: 40px;
    }

    .ntf-hero__content,
    .ntf-hero__left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .ntf-hero__overlay {
        background: rgba(15, 15, 15, 0.85);
    }

    .ntf-hero__label {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .ntf-hero__title {
        font-size: 2.2rem;
        letter-spacing: 0px;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .ntf-hero__subtitle {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        margin-top: 0;
        line-height: 1.3;
    }

    .ntf-hero__desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .ntf-hero__features {
        margin: 0 0 1.5rem 0;
        display: block;
        text-align: left;
    }

    .ntf-hero__features li {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        justify-content: flex-start;
    }

    .ntf-hero__actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        /* Centered relative to parent */
        gap: 0.75rem;
        align-items: center;
    }

    .ntf-hero__actions .ntf-btn {
        display: flex;
        width: 100%;
        padding: 0.85rem 1rem;
        justify-content: center;
        text-align: center;
    }

    .ntf-hero__stats-wrapper {
        position: relative;
        bottom: auto;
        width: 100%;
        margin-top: 30px;
        padding: 0;
    }

    .ntf-hero__stats {
        flex-direction: column;
        border-radius: 8px;
    }

    .ntf-stat-item {
        flex-basis: auto;
        width: 100%;
        padding: 12px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ntf-stat-item:last-child {
        border-bottom: none;
    }

    .ntf-why {
        padding: 50px 0;
    }

    .ntf-why__header {
        margin-bottom: 30px;
    }

    .ntf-why__title {
        font-size: 1.75rem;
    }

    .ntf-why__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .ntf-why__item {
        padding: 25px 15px;
    }

    .ntf-why__icon svg,
    .ntf-why__icon i {
        width: 35px;
        height: 35px;
        font-size: 1.8rem;
    }

    .ntf-why__item-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .ntf-why__item-desc {
        font-size: 0.85rem;
    }

    .ntf-projects {
        padding: 50px 0;
    }

    .ntf-projects__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .ntf-projects__title {
        font-size: 1.75rem;
    }

    .ntf-projects__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ARCHIVE & TAXONOMY PROJECT
   ========================================================================== */
.ntf-page-header {
    position: relative;
    padding: 215px 0 80px; /* 120 + 95 = 215px */
    margin-top: -95px; /* Lấp đầy khoảng trắng của body padding-top */
    text-align: center;
    background-color: #141414;
    overflow: hidden;
}

.ntf-page-header__bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    filter: grayscale(100%);
}

.ntf-page-header__title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--ntf-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.ntf-page-header__desc {
    color: #cccccc;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.ntf-project-filter {
    list-style: none;
    padding: 0;
    margin: 50px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.ntf-project-filter li a {
    display: block;
    padding: 8px 25px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    color: #555555;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
}

.ntf-project-filter li a:hover,
.ntf-project-filter li a.active {
    background-color: var(--ntf-gold);
    color: #ffffff;
    border-color: var(--ntf-gold);
}

@media (max-width: 767px) {
    .ntf-project-filter {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        margin: 30px 0;
        scrollbar-width: none; /* Firefox */
        gap: 10px;
    }
    .ntf-project-filter::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    .ntf-project-filter li {
        flex-shrink: 0;
    }
}

.ntf-pagination {
    margin-top: 50px;
    text-align: center;
}

.ntf-pagination .page-numbers {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #e0e0e0;
    margin: 0 5px;
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.ntf-pagination .page-numbers.current,
.ntf-pagination .page-numbers:hover {
    background-color: var(--ntf-gold);
    color: #fff;
    border-color: var(--ntf-gold);
}

/* Khôi phục grid cho trang archive và các trang phụ (vì trang chủ đã dùng swiper) */
.ntf-projects__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ntf-archive-projects .ntf-projects__grid {
    grid-template-columns: repeat(3, 1fr);
    /* Archive để 3 cột to hơn */
}

/* ==========================================================================
   SINGLE PROJECT
   ========================================================================== */
.ntf-single-project__hero {
    position: relative;
    height: 60vh;
    min-height: 495px; /* 400 + 95 = 495px */
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
    padding-top: 95px; /* Bù khoảng kéo lên */
    margin-top: -95px; /* Lấp đầy khoảng trắng của body padding-top */
    background-size: cover;
    background-position: center;
}

.ntf-single-project__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.4) 100%);
}

.ntf-single-project__cat {
    display: inline-block;
    background: var(--ntf-gold);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
}

.ntf-single-project__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.ntf-single-project__meta-bar {
    background-color: #141414;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid #eeeeee;
}

.ntf-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ntf-meta-item {
    display: flex;
    flex-direction: column;
}

.ntf-meta-label {
    font-size: 0.8rem;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.ntf-meta-value {
    font-size: 1.1rem;
    color: var(--ntf-gold);
    font-weight: 600;
}

.ntf-single-project__content {
    background-color: #ffffff;
}

.ntf-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444444;
}

.ntf-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.ntf-single-project__cta {
    background-color: #f9f9f9;
    padding: 80px 0;
    border-top: 1px solid #eeeeee;
}

.ntf-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 15px;
}

.ntf-cta-desc {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* --- Responsive Single/Archive --- */
@media (max-width: 991px) {

    .ntf-archive-projects .ntf-projects__grid,
    .ntf-related-projects .ntf-projects__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .ntf-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .ntf-page-header__title {
        font-size: 2rem;
    }

    .ntf-archive-projects .ntf-projects__grid,
    .ntf-related-projects .ntf-projects__grid {
        grid-template-columns: 1fr !important;
    }

    .ntf-single-project__title {
        font-size: 1.8rem;
    }

    .ntf-meta-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .ntf-meta-item:first-child {
        grid-column: 1 / -1;
        margin-bottom: 5px;
    }

    .ntf-meta-label {
        font-size: 0.55rem;
        white-space: nowrap;
        letter-spacing: 0;
    }

    .ntf-meta-value {
        font-size: 0.85rem;
    }

    .ntf-gallery-title {
        font-size: 1.8rem !important;
    }

    .ntf-project-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .ntf-project-text-box {
        padding: 20px 15px !important;
    }

    .ntf-single-project__hero {
        height: 50vh;
    }
}

/* Đã xóa phần bắt buộc Header trong suốt theo yêu cầu */

/* Fix Z-index so text sits above overlay */
.ntf-single-project__hero-content,
.ntf-page-header .container {
    position: relative;
    z-index: 10;
}

/* ============================================================
   ARCHIVE PROJECT HEADER (DỰ ÁN NỔI BẬT)
   ============================================================ */
.ntf-archive-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 175px 0 80px 0; /* 80 + 95 = 175px */
    margin-top: -95px; /* Lấp đầy khoảng trắng của body padding-top */
    color: #fff;
}

.ntf-archive-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.85) 100%);
    z-index: 1;
}

.ntf-archive-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 10;
}

.ntf-archive-header__left {
    flex: 1;
    max-width: 600px;
}

.ntf-archive-header__title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff !important;
    text-transform: uppercase;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.ntf-archive-header__breadcrumb {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.ntf-archive-header__breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.ntf-archive-header__breadcrumb a:hover {
    color: var(--ntf-gold);
}

.ntf-archive-header__breadcrumb span {
    color: var(--ntf-gold);
}

.ntf-archive-header__desc {
    font-size: 1rem;
    color: #eee;
    line-height: 1.6;
}

.ntf-archive-header__right {
    flex: 1;
    max-width: 600px;
}

.ntf-archive-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ntf-archive-stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ntf-archive-stat-item .ntf-stat-icon {
    width: 40px;
    height: 40px;
    color: var(--ntf-gold);
    margin-bottom: 10px;
}

.ntf-archive-stat-item .ntf-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.ntf-archive-stat-item .ntf-stat-text {
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.3;
}

/* Responsive Archive Header */
@media (max-width: 991px) {
    .ntf-archive-header__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ntf-archive-header__right {
        max-width: 100%;
        width: 100%;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 575px) {
    .ntf-archive-header {
        padding: 145px 0 50px 0; /* 50 + 95 = 145px */
    }

    .ntf-archive-header__title {
        font-size: 2.2rem;
    }

    .ntf-archive-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
}

/* ============================================================
   TYPOGRAPHY IN PROJECT CONTENT (GIỚI HẠN SIZE THẺ H)
   ============================================================ */
.ntf-project-text h2 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

.ntf-project-text h3 {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    margin-top: 25px !important;
    margin-bottom: 15px !important;
}

.ntf-project-text h4,
.ntf-project-text h5,
.ntf-project-text h6 {
    font-size: 1.25rem !important;
    line-height: 1.5 !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}

@media (max-width: 767px) {
    .ntf-project-text h2 {
        font-size: 1.5rem !important;
    }

    .ntf-project-text h3 {
        font-size: 1.3rem !important;
    }

    .ntf-project-text h4,
    .ntf-project-text h5,
    .ntf-project-text h6 {
        font-size: 1.15rem !important;
    }
}

/* ============================================================
   ARCHIVE BLOG HEADER (Ẩn nhãn CHUYÊN MỤC đỏ)
   ============================================================ */
.archive-header__type {
    display: none !important;
}

/* Sửa lỗi hiển thị Thời gian đọc bị lệch icon SVG */
.post-meta__time,
.post-meta__author,
.post-meta__date {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.ntf-services {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.ntf-services__header {
    text-align: center;
    margin-bottom: 40px;
}

.ntf-services__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    text-transform: uppercase;
    font-weight: 700;
}

.ntf-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ntf-services__card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ntf-services__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ntf-services__thumb img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ntf-services__card:hover .ntf-services__thumb img {
    transform: scale(1.05);
}

.ntf-services__thumb {
    overflow: hidden;
}

.ntf-services__content {
    padding: 30px;
    text-align: center;
}

.ntf-services__item-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.ntf-services__item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.ntf-services__item-title a:hover {
    color: var(--ntf-gold);
}

.ntf-services__item-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.ntf-services__readmore {
    color: var(--ntf-gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.ntf-services__readmore:hover {
    color: #333;
}

/* ==========================================================================
   QUOTATION SECTION
   ========================================================================== */
.ntf-quotation {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.ntf-quotation__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.9);
}

.ntf-quotation__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.ntf-quotation__left {
    flex: 1;
    min-width: 300px;
}

.ntf-quotation__right {
    flex: 0 0 450px;
    max-width: 100%;
}

.ntf-quotation__title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.ntf-quotation__desc {
    color: #ddd;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.ntf-quotation__features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.ntf-quotation__feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ntf-quotation__feature-icon {
    font-size: 36px;
    color: var(--ntf-gold);
}

.ntf-quotation__feature-text strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.ntf-quotation__feature-text span {
    color: #aaa;
    font-size: 0.9rem;
}

.ntf-quotation__form-box {
    background: #2a2a2a;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ntf-quotation__form-box input,
.ntf-quotation__form-box select,
.ntf-quotation__form-box textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #444;
    background: #333;
    color: #fff;
    border-radius: 4px;
    font-family: inherit;
}

.ntf-quotation__form-box input:focus,
.ntf-quotation__form-box select:focus,
.ntf-quotation__form-box textarea:focus {
    border-color: var(--ntf-gold);
    outline: none;
}

.ntf-quotation__form-box input[type="submit"] {
    background: var(--ntf-gold);
    color: #fff;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 0;
}

.ntf-quotation__form-box input[type="submit"]:hover {
    background: #b58550;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.ntf-testimonials {
    padding: 60px 0;
    background: #fff;
    padding-bottom: 30px;
}

.ntf-testimonials__title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 40px;
}

.ntf-testi-slider .swiper-slide {
    height: auto;
    display: flex;
}

.ntf-testi-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ntf-testi-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.ntf-testi-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.ntf-testi-card__meta strong {
    display: block;
    color: #222;
    font-size: 1.1rem;
}

.ntf-testi-card__meta span {
    color: #777;
    font-size: 0.9rem;
}

.ntf-testi-card__content {
    flex-grow: 1;
}

.ntf-testi-card__content p {
    color: #555;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ntf-testi-card__stars {
    color: var(--ntf-gold);
    font-size: 14px;
}

.ntf-testi-slider {
    padding-bottom: 60px !important;
}

.ntf-testi-pagination {
    position: absolute;
    bottom: 10px !important;
    left: 0;
    width: 100%;
    text-align: center;
}

.ntf-testi-pagination .swiper-pagination-bullet-active {
    background: var(--ntf-gold);
}

/* ==========================================================================
   PARTNERS SECTION
   ========================================================================== */
.ntf-partners {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.ntf-partners__title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #333;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 40px;
}

.ntf-partners-slider .swiper-wrapper {
    transition-timing-function: linear !important;
}

.ntf-partners__item {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.ntf-partners__item img {
    max-height: 50px;
    max-width: 150px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.ntf-partners__item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

@media (max-width: 991px) {
    .ntf-quotation__right {
        flex: 1;
    }

    .ntf-quotation__title {
        font-size: 2rem;
    }
}

/* ============================================================
   POST CARD OVERRIDES (Bằng chiều cao, 1 chuyên mục)
   ============================================================ */
/* 1. Chỉ hiện 1 chuyên mục đầu tiên */
.post-card__categories .post-card__category:not(:first-child) {
    display: none !important;
}

/* 2. Đảm bảo các card cao bằng nhau và đẩy footer xuống đáy */
.post-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.post-card__content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.post-card__body {
    flex-grow: 1 !important;
}

/* ============================================================
   RESPONSIVE TYPOGRAPHY & SPACING CHO TRANG CHỦ
   ============================================================ */
/* Desktop Adjustments (Thu nhỏ bớt so với bản cũ) */
.ntf-workflow__title,
.ntf-why__title,
.ntf-projects__title,
.ntf-services__title,
.ntf-quotation__title,
.ntf-testimonials__title {
    font-size: 2rem;
    margin-bottom: 30px;
}

.ntf-partners__title {
    font-size: 1.75rem;
    margin-bottom: 30px;
}

/* Mobile Adjustments */
@media (max-width: 767px) {

    .ntf-workflow__title,
    .ntf-why__title,
    .ntf-projects__title,
    .ntf-services__title,
    .ntf-quotation__title,
    .ntf-testimonials__title,
    .ntf-about__title,
    .ntf-cta-form__title {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
    }

    .ntf-partners__title {
        font-size: 1.35rem !important;
        margin-bottom: 20px !important;
    }

    /* Thu gọn khoảng cách padding trên điện thoại */
    .ntf-workflow,
    .ntf-why,
    .ntf-projects,
    .ntf-services,
    .ntf-quotation,
    .ntf-testimonials,
    .ntf-partners,
    .ntf-about,
    .ntf-cta-form {
        padding: 40px 0 !important;
    }
}

/* ==========================================================================
   PAGE: GIỚI THIỆU TÙY BIẾN
   ========================================================================== */
.ntf-about {
    padding: 80px 0;
    background: #fff;
    color: #333;
}

.ntf-about__row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.ntf-about__left,
.ntf-about__right {
    flex: 1;
    min-width: 300px;
}

.ntf-about__label {
    color: var(--ntf-gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ntf-about__title {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.3;
}

.ntf-about__desc {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.ntf-about__features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.ntf-about__features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.ntf-about__features svg {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    color: var(--ntf-gold);
}

.ntf-about__image-wrapper {
    position: relative;
}

.ntf-about__image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.ntf-about__card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: #fff;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--ntf-gold);
    display: flex;
    flex-direction: column;
}

.ntf-about__card-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--ntf-gold);
    line-height: 1;
    margin-bottom: 5px;
}

.ntf-about__card-desc {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.4;
}

/* DỰ ÁN TIÊU BIỂU (NỀN TRẮNG) */
.ntf-projects.ntf-projects--light {
    background: #fff !important;
    padding: 80px 0;
}

.ntf-projects--light .ntf-projects__title {
    color: #111;
}

.ntf-projects--light .ntf-projects__subtitle {
    color: #666;
}

.ntf-projects--light .ntf-projects__item {
    background: #f9f9f9;
}

.ntf-projects--light .ntf-projects__item-title a {
    color: #111;
}

.ntf-projects--light .ntf-projects__item-title a:hover {
    color: var(--ntf-gold);
}

.ntf-projects--light .ntf-projects__item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.05);
}

.ntf-projects--light .ntf-projects__meta-left {
    color: #666;
}

.ntf-projects--light .ntf-projects__view-all {
    color: var(--ntf-gold);
    border-bottom-color: var(--ntf-gold);
}

.ntf-projects--light .ntf-projects__view-all:hover {
    color: #111 !important;
    border-bottom-color: #111;
}

.ntf-projects--light .ntf-projects__readmore:hover {
    color: #111 !important;
}

/* QUY TRÌNH (NỀN TỐI) */
.ntf-workflow.ntf-workflow--dark {
    background: #111;
    color: #fff;
    padding: 80px 0;
}

.ntf-workflow--dark .ntf-workflow__title,
.ntf-workflow--dark .ntf-workflow__subtitle {
    color: #fff;
}

.ntf-workflow--dark .ntf-workflow__item-title {
    color: #111;
}

.ntf-workflow--dark .ntf-workflow__item-desc {
    color: #666;
}

.ntf-workflow--dark .ntf-workflow__item-number {
    color: var(--ntf-gold);
    border-color: var(--ntf-gold);
}

/* LIÊN HỆ / FORM (CTA) */
.ntf-cta-form {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
}

.ntf-cta-form__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.85);
}

.ntf-cta-form__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.ntf-cta-form__left {
    flex: 1;
    min-width: 300px;
}

.ntf-cta-form__right {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.ntf-cta-form__title {
    font-size: 2.5rem;
    color: var(--ntf-gold);
    margin-bottom: 20px;
    line-height: 1.3;
}

.ntf-cta-form__desc {
    color: #ddd;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.ntf-cta-form__note {
    margin-top: 20px;
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ntf-cta-form__box {
    background: #fff;
    padding: 40px;
    border-radius: 4px;
}

.ntf-cta-form__box-title {
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 25px;
    text-align: center;
}

/* --- Contact Form 7 Styles --- */
.ntf-cta-form__box .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 15px;
}

.ntf-cta-form__box input[type="text"],
.ntf-cta-form__box input[type="email"],
.ntf-cta-form__box input[type="tel"],
.ntf-cta-form__box input[type="number"],
.ntf-cta-form__box select,
.ntf-cta-form__box textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 4px;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

.ntf-cta-form__box input:focus,
.ntf-cta-form__box select:focus,
.ntf-cta-form__box textarea:focus {
    border-color: var(--ntf-gold);
    outline: none;
    background: #fff;
}

.ntf-cta-form__box textarea {
    height: 100px;
    resize: vertical;
}

.ntf-cta-form__box .wpcf7-submit {
    width: 100%;
    background: var(--ntf-gold);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.ntf-cta-form__box .wpcf7-submit:hover {
    background: #111;
}

@media (max-width: 991px) {
    .ntf-about__card {
        bottom: -20px;
        left: 0;
    }

    .ntf-projects__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .ntf-projects__grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- TRỊ DỨT ĐIỂM LỖI TRÀN NGANG (OVERFLOW) TRÊN MOBILE --- */
html,
body {
    overflow-x: clip !important;
    width: 100vw !important;
    max-width: 100% !important;
}

.site-header {
    max-width: 100vw !important;
}

.swiper {
    overflow: hidden !important;
    width: 100%;
    max-width: 100vw;
}

#page,
.site-main {
    overflow-x: clip !important;
    width: 100%;
}

/* ==========================================================================
   FOOTER TÙY CHỈNH (NOITHAT FRIENDLY)
   ========================================================================== */
.footer-widgets {
    padding-top: 60px;
    padding-bottom: 20px;
}

.footer-widgets .widget-title,
.footer-widgets .footer-widget__title {
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 12px;
}

.footer-widgets .widget-title::after,
.footer-widgets .footer-widget__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--ntf-gold);
}

/* 1. Hồ sơ công ty */
.wt-company-profile-widget .wt-cpw-logo img {
    max-width: 180px;
    margin-bottom: 20px;
    /* Nếu logo up lên nền tối màu đen thì filter sang trắng */
    filter: brightness(0) invert(1);
}

.wt-company-profile-widget .wt-cpw-desc,
.wt-company-profile-widget .wt-cpw-desc p {
    color: #aaa !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    margin-bottom: 15px !important;
}

.wt-company-profile-widget .wt-cpw-tax {
    color: var(--ntf-gold) !important;
    font-size: 0.9rem !important;
}

/* 2. Danh sách Liên hệ */
.wt-contact-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wt-contact-widget-list .wt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.wt-contact-widget-list .wt-contact-icon {
    color: var(--ntf-gold);
    font-size: 1.1rem;
    margin-top: 3px;
}

.wt-contact-widget-list .wt-contact-text a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.wt-contact-widget-list .wt-contact-text a:hover {
    color: var(--ntf-gold);
}

/* 3. Mạng xã hội & Hình ảnh Facebook */
.wt-company-social-widget .wt-csw-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.wt-company-social-widget .wt-company-social-widget .wt-csw-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    /* Ép cứng màu trắng cho thẻ a */
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wt-company-social-widget .wt-csw-icon b {
    color: #fff !important;
}

.wt-company-social-widget .wt-csw-icon:hover {
    background-color: var(--ntf-gold);
    border-color: var(--ntf-gold);
    color: #111 !important;
    transform: translateY(-3px);
}

.wt-company-social-widget .wt-csw-icon:hover .wt-csw-zalo {
    color: #111 !important;
}

.wt-csw-zalo {
    font-family: Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    color: #fff !important;
    line-height: 1 !important;
    display: inline-block !important;
    transform: translateY(1px) !important;
    /* Đẩy nhẹ xuống tâm vòng tròn */
}

/* Ép ảnh Facebook Widget full width theo cột, bo góc đẹp và giãn đều */
.footer-widgets .widget {
    margin-bottom: 30px !important;
    /* Dãn đều các widget */
}

.footer-widgets .widget:last-child {
    margin-bottom: 0 !important;
}

.footer-widgets .widget_media_image img,
.footer-widgets .widget img,
.footer-widgets .widget iframe,
.footer-widgets .widget .fb-page {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    display: block !important;
    margin-bottom: 25px !important;
    /* Bất chấp nhét chung 1 khối vẫn bị đẩy xa nhau ra */
}

.footer-widgets .widget_media_image a:hover img {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 4. Menu Liên kết nhanh */
.footer-widgets .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widgets .menu li {
    margin-bottom: 12px;
}

.footer-widgets .menu li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-widgets .menu li a::before {
    content: '\f105';
    /* FontAwesome angle-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.8rem;
    color: var(--ntf-gold);
    transition: transform 0.3s;
}

.footer-widgets .menu li a:hover {
    color: var(--ntf-gold);
}

.footer-widgets .menu li a:hover::before {
    transform: translateX(3px);
}

/* 5. Dải Footer Dưới Cùng (Absolute Footer) */
.absolute-footer {
    background-color: #0a0a0a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    color: #888;
    font-size: 0.9rem;
}

.absolute-footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.absolute-footer a:hover {
    color: var(--ntf-gold);
}

@media (max-width: 767px) {
    .footer-widgets .col {
        margin-bottom: 40px;
    }

    .footer-widgets .col:last-child {
        margin-bottom: 0;
    }
}