.tnc-hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: start;
    justify-content: center;
    overflow: hidden;
}

/* Lớp phủ màu tối phủ lên ảnh nền */
.tnc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Độ tối của ảnh nền */
    display: flex;
    align-items: center;
}

.tnc-hero-title {
    color: #ff9800; /* Màu cam chủ đạo */
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Thanh đứng màu trắng bên trái chữ */
.vertical-line {
    display: inline-block;
    width: 8px;
    height: 60px; /* Chiều cao thanh đứng */
    background-color: #ffffff;
    margin-right: 20px;
}

/* Responsive cho điện thoại */
@media (max-width: 768px) {
    .tnc-hero {
        /* height: 250px; */
    }
    .tnc-hero-title {
        font-size: 2.5rem;
    }
    .vertical-line {
        height: 40px;
        width: 5px;
    }
}




:root {
    --primary-color: #e67e22;
    --text-dark: #222222;
    --text-muted: #666666;
    --bg-light: #f9f9f9;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.tnc-solutions-container {
    margin: 60px auto;
    width: 100%;
    max-width: 1420px;
    padding: 0 3rem;
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

/* --- 1. Top Section - Vision --- */
.tnc-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.tnc-vision-img {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.tnc-vision-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.tnc-vision-img:hover img {
    transform: scale(1.03);
}

.tnc-vision-content h2 {
    color: var(--primary-color);
    font-size: var(--font-large);
    margin-bottom: 20px;
    font-weight: 700;
}

.tnc-vision-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: var(--font-small);
    margin-bottom: 24px;
    text-align: justify;
}

.tnc-vision-features {
    list-style: none;
    padding: 0;
}

.tnc-vision-features li {
    font-size: var(--font-small);
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.tnc-vision-features li strong {
    color: var(--primary-color);
    margin-right: 6px;
}

/* --- 2. Section Title --- */
.tnc-section-title {
    text-align: center;
    margin-bottom: 45px;
}

.tnc-section-title h2 {
    font-size: var(--font-medium);
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 1px;
}

.tnc-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* --- 3. Interactive Section (Grid) --- */
.tnc-interactive-grid {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 40px;
    align-items: stretch;
}

/* Left Menu List */
.tnc-tabs-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tnc-tab-item {
    position: relative;
    padding: 18px 0;
}

/* Line nằm giữa gap */
.tnc-tab-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.1);
}

.tnc-tab-item {
    background: none;
    border: none;
    text-align: left;
    padding: 18px 20px;
    font-size: var(--font-small);
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    width: 100%;
}

/* Hover & Active State */
.tnc-tab-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 3px;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: var(--transition-smooth);
}

.tnc-tab-item:hover {
    background-color: rgba(230, 126, 34, 0.04);
    color: var(--primary-color);
}

.tnc-tab-item.active {
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(230, 126, 34, 0.08);
}

.tnc-tab-item.active::before {
    transform: scaleY(1);
}

/* Right Image Container */
.tnc-preview-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
    background-color: #000;
}

/* Image Switch Animation */
.tnc-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.08);
    filter: blur(8px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                filter 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.tnc-preview-image.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 2;
}

/* Action Overlays */
.tnc-overlay-actions {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 140px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    z-index: 10;
    border-left: 1px solid rgba(255,255,255,0.08);
}

.tnc-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    padding: 20px 10px;
    text-align: center;
    font-size: 13.5px;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tnc-action-btn:last-child {
    border-bottom: none;
}

.tnc-action-btn span {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: var(--font-small);
}

.tnc-action-btn .arrow {
    font-size: var(--font-medium);
    transition: var(--transition-smooth);
}

.tnc-action-btn:hover {
    background: rgba(230, 126, 34, 0.25);
}

.tnc-action-btn:hover .arrow {
    transform: translateX(6px);
}

/* --- 4. Responsive Design --- */

/* =========================
   RESPONSIVE - GIẢI PHÁP
   Chỉ override responsive,
   class không có giữ nguyên
========================= */

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {

    .tnc-solutions-container {
        margin: 40px auto;
        padding: 0 1.5rem;
    }

    .tnc-section-title {
        margin-bottom: 24px;
    }

    .tnc-vision-grid {
        grid-template-columns: 1fr;
    }

    .tnc-section-title h2 {
        font-size: 22px;
        letter-spacing: 0.5px;
        padding-bottom: 10px;
    }

    .tnc-section-title h2::after {
        width: 48px;
        height: 2px;
    }

    /* Layout */
    .tnc-interactive-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Tabs */
    .tnc-tabs-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        overflow: visible;
        padding-bottom: 0;
    }

    /* Nếu có item thứ 5 thì cho span full */
    .tnc-tab-item:last-child:nth-child(odd) {
        grid-column: span 2;
    }

    .tnc-tab-item {
        width: 100%;
        min-width: unset;
        white-space: normal;
        text-align: center;
        padding: 14px 12px;
        border-radius: 14px;
        font-size: var(--font-small);
        line-height: 1.4;
        border: 1px solid #e7e7e7;
        background: #fff;
    }

    .tnc-tab-item::before {
        display: none;
    }

    .tnc-tab-item.active {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
    }

    /* Preview */
    .tnc-preview-container {
        min-height: unset;
        aspect-ratio: 4 / 5;
        border-radius: 20px;
        overflow: hidden;
    }

    .tnc-preview-image {
        position: absolute;
    }

    /* Overlay bottom */
    .tnc-overlay-actions {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 12px;
        top: auto;
        width: auto;
        height: auto;
        border-radius: 16px;
        overflow: hidden;
        flex-direction: row;
        background: rgba(15,15,15,0.72);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.08);
    }

    .tnc-action-btn {
        min-height: 58px;
        padding: 12px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        font-size: var(--font-small);
        border-right: 1px solid rgba(255,255,255,0.08);
        border-bottom: none;
    }

    .tnc-action-btn:last-child {
        border-right: none;
    }

    .tnc-action-btn span {
        margin-bottom: 0;
        font-size: var(--font-small);
        line-height: 1.3;
    }

    .tnc-action-btn .arrow {
        font-size: var(--font-small);
    }

    .tnc-action-btn:hover .arrow {
        transform: translateX(3px);
    }
}