/* ==========================================================================
   FILE SYSTEM CSS - DÙNG CHUNG CHO TOÀN HỆ THỐNG GLOBAL VIETRON (2026)
   ========================================================================== */

:root { 
    --primary-navy: #0f172a; 
    --eco-green: #16a34a; 
    --mint-light: #b2f2bb; 
    --white: #ffffff; 
    --accent-gold: #c5a059; 
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Montserrat', sans-serif; 
}

body { 
    background: linear-gradient(rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.92)), url('images/site-bg.jpg'); 
    background-attachment: fixed; 
    background-size: cover; 
    background-position: center; 
    color: #334155; 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
}

/* CSS ẨN THẺ H1 PHỤC VỤ SEO ĐỊNH DANH THƯƠNG HIỆU THỜI TRANG XANH */
.seo-hidden-h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

/* CẤU TRÚC KHUNG CHUNG */
.container { max-width: 1200px; margin: auto; padding: 0 20px; position: relative; }
section { padding: 40px 0 80px; }

/* ==========================================================================
   THANH HEADER - LOGO THU NHỎ & TÊN CÔNG TY ĐỔ BÓNG CAPS LOCK
   ========================================================================== */
header { 
    background: rgba(255,255,255,0.98); 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}
header .container { display: flex; justify-content: space-between; align-items: center; }

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px; /* Khoảng cách vừa vặn giữa logo và khối chữ */
    text-decoration: none;
}

.header-logo-img {
    height: 24px; /* Thu nhỏ tinh tế bằng chiều cao dòng chữ chính */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.15));
}

.company-name-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-title-main {
    font-size: 1.4rem;
    font-weight: 900; /* Siêu đậm */
    color: var(--primary-navy);
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase; /* Ép buộc CAPS LOCK */
    text-shadow: 1px 2px 4px rgba(15, 23, 42, 0.15); /* Hiệu ứng đổ bóng sang trọng */
}

.company-title-sub {
    font-size: 0.75rem;
    font-weight: 800; /* Đậm sắc nét */
    color: var(--eco-green);
    letter-spacing: 1px;
    margin-top: 3px;
    text-transform: uppercase; /* Ép buộc CAPS LOCK */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.back-home { color: var(--eco-green); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.back-home:hover { text-decoration: underline; }

/* TIÊU ĐỀ KHỐI NỘI DUNG SẢN XUẤT */
.section-title {
    text-align: center; font-size: 2.2rem; font-weight: 900; text-transform: uppercase; letter-spacing: 3px;
    padding: 24px 20px; margin: 40px 0; color: #ffffff; background-color: #0c4a6e; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%2338bdf8' fill-opacity='0.15'%3E%3Cpath d='M10 0C5 5 3 15 0 20v2c3-5 5-15 10-20h2zm20 0c5 5 3 15 0 20v2c3-5 5-15 10-20h2zM0 30c5 5 3 15 0 20v2c3-5 5-15 10-20h2zm40 0c5 5 3 15 0 20v2c3-5 5-15 10-20h2z'/%3E%3C/g%3E%3C/svg%3E");
    border-radius: 16px; text-shadow: 2px 2px 8px rgba(15, 23, 42, 0.3); border: 1px solid rgba(56, 189, 248, 0.2); transition: all 0.3s ease; cursor: default;
}
.section-title:hover { transform: translateY(-3px); background-color: #075985; box-shadow: 0 10px 25px rgba(12, 74, 110, 0.2); }

/* KHỐI HIỂN THỊ 3D CARD (TRANG CHỦ) */
.grid-3d { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; perspective: 1000px; }
.card-3d { background: var(--white); padding: 40px 30px; border-radius: 25px; text-align: center; transform-style: preserve-3d; box-shadow: 0 15px 35px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.05); height: 100%; }
.card-3d .img-box { width: 100%; height: 220px; background: #f1f5f9; border-radius: 15px; margin-bottom: 25px; overflow: hidden; transform: translateZ(30px); }
.card-3d .img-box img { width: 100%; height: 100%; object-fit: cover; }
.card-3d h3 { font-size: 1.5rem; margin: 20px 0; color: var(--primary-navy); transform: translateZ(50px); }
.card-3d p { font-size: 1rem; color: #64748b; transform: translateZ(40px); line-height: 1.6; }
.card-3d.eco-highlight { background: linear-gradient(145deg, #ffffff, #ecfdf5); border: 2px solid var(--eco-green); }

/* ==========================================================================
   TỐI ƯU HÓA PHÔNG CHỮ (TYPOGRAPHY) THEO TIÊU CHUẨN QUỐC TẾ
   ========================================================================== */
p {
    line-height: 1.75 !important; /* Tỷ lệ vàng cho khối chữ thoáng, dễ đọc */
    letter-spacing: 0.3px; 
    font-size: 1.02rem;
}
h2.section-title, 
.about-content h2, 
.product-row-content h2 {
    letter-spacing: 2.5px !important; 
    line-height: 1.3 !important;
}
h3, .card-3d h3 {
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    line-height: 1.4 !important;
}
.letter-text p {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.2rem !important; 
    line-height: 1.85 !important; 
    color: #1e293b !important; /* Màu xám Slate đậm cao cấp dịu mắt */
}
.slogan-eng {
    letter-spacing: 3px !important; 
    font-weight: 500 !important;
}
.detail-btn, 
.cta-btn, 
.cooperate-bottom-btn {
    letter-spacing: 1.5px !important; 
    font-weight: 700 !important;
}

/* ==========================================================================
   HIỆU ỨNG TƯƠNG TÁC ĐỘNG KHI DI CHUỘT (HOVER EFFECTS CHUYỂN ĐỘNG MƯỢT)
   ========================================================================== */
.card-3d, 
.card-3d .img-box img, 
.detail-btn, 
.cta-btn,
.cooperate-bottom-btn {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.card-3d:hover {
    transform: translateY(-12px) scale(1.02) !important; 
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12) !important; 
    border-color: var(--eco-green) !important; 
}
.card-3d:hover .img-box img {
    transform: scale(1.08); 
}
.detail-btn:hover {
    background-color: var(--eco-green) !important;
    border-color: var(--eco-green) !important;
    color: var(--white) !important;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.2);
    transform: translateY(-2px);
}
.cta-btn:hover,
.cooperate-bottom-btn:hover {
    background-color: var(--primary-navy) !important; 
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.25) !important;
}
.partner-item { transition: transform 0.3s ease; }
.partner-item:hover { transform: scale(1.1); }

/* ==========================================================================
   HỆ THỐNG ĐỒNG BỘ THƯƠNG HIỆU CHO TẤT CẢ CÁC TRANG PHỤ
   ========================================================================== */
.sub-page-banner {
    position: relative; height: 35vh; min-height: 260px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); overflow: hidden;
}
.sub-page-banner::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(22, 163, 74, 0.6)); z-index: 2;
}
.sub-banner-content { position: relative; z-index: 3; padding: 0 20px; }
.content-layout-rows { padding: 60px 0; display: flex; flex-direction: column; gap: 50px; }
.content-row-card { background: var(--white); border-radius: 24px; overflow: hidden; display: flex; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid #e2e8f0; }
.content-row-card:nth-child(even) { flex-direction: row-reverse; }
.content-row-media { flex: 1; min-height: 340px; overflow: hidden; }
.content-row-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.content-row-text { flex: 1.2; padding: 50px; display: flex; flex-direction: column; justify-content: center; }

.btn-brand-primary { display: inline-flex; align-items: center; gap: 10px; background-color: var(--eco-green); color: var(--white); padding: 14px 36px; font-weight: 700; border-radius: 50px; text-decoration: none; text-transform: uppercase; font-size: 0.95rem; box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25); }
.btn-brand-secondary { display: inline-flex; align-items: center; gap: 10px; background: none; border: 2px solid var(--primary-navy); color: var(--primary-navy); padding: 12px 32px; font-weight: 700; border-radius: 50px; text-decoration: none; text-transform: uppercase; font-size: 0.9rem; }

/* CHÂN TRANG FOOTER */
footer { background: var(--primary-navy); color: white; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 60px; }
.footer-logo { color: var(--eco-green); font-weight: 900; font-size: 1.4rem; margin-bottom: 25px; display: block; }
footer p { margin-bottom: 12px; opacity: 0.8; font-size: 0.95rem; display: flex; align-items: center; }
footer i { color: var(--eco-green); margin-right: 15px; width: 20px; }

/* ==========================================================================
   CẤU HÌNH TỐI ƯU HIỂN THỊ TRÊN DI ĐỘNG (RESPONSIVE CHUẨN)
   ========================================================================== */
@media (max-width: 768px) {
    body { background-size: auto; }
    section { padding: 30px 0 50px; }
    .container { padding: 0 15px; }

    /* Cấu hình Header thu nhỏ gọn gàng trên mobile */
    .logo-wrapper { gap: 8px; }
    .header-logo-img { height: 18px; }
    .company-title-main { font-size: 1.05rem; letter-spacing: 1px; text-shadow: 1px 1px 2px rgba(15, 23, 42, 0.15); }
    .company-title-sub { font-size: 0.58rem; letter-spacing: 0.5px; }

    /* Bẻ các khối lưới ngang thành khối dọc */
    .grid-3d { grid-template-columns: 1fr; gap: 25px; }
    .card-3d { padding: 30px 20px; }
    .card-3d .img-box { height: 180px; }
    .section-title { font-size: 1.6rem; padding: 16px 15px; margin: 25px 0; letter-spacing: 1.5px; }
    .hero h2 { font-size: 1.8rem; letter-spacing: 2px; }
    .slogan-eng { font-size: 1.1rem; }

    /* Cấu hình trang phụ trên di động */
    .sub-page-banner { height: 28vh; min-height: 200px; }
    .content-row-card, .content-row-card:nth-child(even) { flex-direction: column; }
    .content-row-media { min-height: 220px; }
    .content-row-text { padding: 30px 20px; }

    /* Cấu hình Footer trên di động */
    .footer-grid { grid-template-columns: 1fr; gap: 35px; text-align: left !important; }
    .footer-grid > div:last-child { text-align: left !important; }
    footer p { justify-content: flex-start !important; font-size: 0.9rem; }
    footer .footer-logo { margin-bottom: 15px; }
    footer div[style*="justify-content: flex-end"] { justify-content: flex-start !important; margin-top: 20px !important; }
}
/* ==========================================================================
   SỬA LỖI ĐÈ KÍCH THƯỚC LOGO ĐỐI TÁC - ÉP ĐỀU THEO CHUẨN YODY
   ========================================================================== */
.partner-list { 
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important; 
    gap: 45px !important; 
    flex-wrap: wrap !important; 
    padding: 30px 0 !important; 
}

.partner-item { 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
}

.partner-item img { 
    height: 32px !important; /* Ép chiều cao chuẩn theo logo Yody */
    width: auto !important; 
    max-width: 140px !important; 
    object-fit: contain !important; 
    opacity: 0.85 !important; 
    transition: all 0.3s ease !important; 
}

.partner-item:hover img { 
    transform: scale(1.08) !important; 
    opacity: 1 !important; 
}

/* Tối ưu riêng trên điện thoại */
@media (max-width: 768px) {
    .partner-list { gap: 25px !important; }
    .partner-item img { height: 25px !important; }
}
/* ==========================================================================
   TỐI ƯU HIỆU ỨNG THU GỌN THƯ NGỎ & THU NHỎ ẢNH BAN SÁNG LẬP BÊN PHẢI
   ========================================================================== */

/* Khung bọc phần giới thiệu */
.about-section {
    background: #fdfbf7;
    padding: 45px 40px;
    border-radius: 25px;
    margin-top: 40px;
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.06);
    border: 1px solid #f1e9db;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1.3; /* Cho phần chữ rộng rãi hơn */
}

/* 1. HIỆU ỨNG GIỚI HẠN HIỂN THỊ 1-2 DÒNG ĐẦU MƯỢT MÀ */
.about-text-collapse {
    max-height: 60px; /* Khống chế chiều cao tương đương 2 dòng chữ đầu */
    overflow: hidden;
    position: relative;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Tạo lớp mờ gradient ở đáy khi đang thu gọn để tạo hiệu ứng chữ mờ dần */
.about-text-collapse::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 30px;
    background: linear-gradient(rgba(253, 251, 247, 0), rgba(253, 251, 247, 1));
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Khi kích hoạt trạng thái xem đầy đủ */
.about-text-collapse.active {
    max-height: 800px; /* Mở rộng chiều cao thoải mái để hiện hết chữ */
}
.about-text-collapse.active::after {
    opacity: 0; /* Ẩn lớp mờ đi khi đã mở rộng */
}

.about-text-collapse p {
    margin-bottom: 16px;
}

/* 2. THU NHỎ KHUNG ẢNH BÊN PHẢI TINH TẾ */
.about-img-wrapper {
    flex: 0.7; /* Thu hẹp tỷ lệ chiếm dụng của khối ảnh */
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 320px; /* Khống chế tuyệt đối chiều ngang ảnh không bị quá to */
    height: 320px; /* Ép ảnh thành khối vuông tinh tế thay vì khối dọc to tướng */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cắt cúp ảnh thông minh không bị méo hình */
    display: block;
}

/* Định dạng nút Đọc tiếp */
.read-more-btn {
    background: none;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.read-more-btn:hover {
    background: var(--accent-gold);
    color: var(--white);
}

/* RESPONSIVE TRÊN ĐIỆN THOẠI */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column-reverse; /* Đẩy ảnh lên trên chữ khi xem bằng điện thoại */
        padding: 30px 20px;
        gap: 25px;
    }
    .about-img {
        max-width: 100%;
        height: 240px; /* Hạ chiều cao ảnh trên mobile cho gọn */
    }
}
/* ==========================================================================
   KHÔI PHỤC BANNER CHÍNH (HERO BANNER) CÓ ẢNH NỀN MỜ LÃNG MẠN
   ========================================================================== */
.hero { 
    /* Chèn ảnh nền hero-bg.jpg kết hợp lớp phủ dải màu mờ mượt mà phủ lên trên */
    background: linear-gradient(rgba(11, 41, 24, 0.65), rgba(11, 41, 24, 0.65)), url('images/hero-bg.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    height: 65vh; /* Chiều cao chiếm 65% màn hình chuẩn thiết kế cũ */
    min-height: 400px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    color: var(--white); 
    position: relative;
    box-shadow: inset 0 -50px 50px rgba(0,0,0,0.2); /* Tạo độ sâu mờ ở đáy banner */
}

/* Cấu hình chữ tiêu đề lớn bên trong Banner */
.hero h2 { 
    font-size: 3.2rem !important; 
    letter-spacing: 4px !important; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    font-weight: 900 !important; 
    width: 100%; 
    color: var(--white) !important;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.4); /* Đổ bóng chữ sắc nét trên nền ảnh */
}

/* Cấu hình câu Slogan Tiếng Anh màu vàng Gold sang trọng */
.hero .slogan-eng { 
    font-size: 1.6rem !important; 
    font-style: italic; 
    color: var(--accent-gold) !important; 
    font-weight: 500 !important; 
    letter-spacing: 3px !important;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Tối ưu hiển thị thu nhỏ mượt mà cho Banner khi xem trên điện thoại (Mobile) */
@media (max-width: 768px) { 
    .hero {
        height: 45vh; /* Hạ bớt chiều cao trên mobile cho đỡ thô dọc */
        min-height: 280px;
    }
    .hero h2 { 
        font-size: 1.8rem !important; 
        letter-spacing: 2px !important;
        line-height: 1.3;
    } 
    .hero .slogan-eng { 
        font-size: 1.1rem !important; 
        letter-spacing: 1px !important;
    } 
}
/* ==========================================================================
   KHÔI PHỤC HÌNH NỀN MỜ (FOB-BG) VÀ PHONG CÁCH HIỂN THỊ CHUẨN THƯƠNG HIỆU
   ========================================================================== */

.fob-section { 
    /* Thiết lập hình nền fob-bg.jpg kết hợp lớp phủ dải màu mờ sang trọng */
    background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url('images/fob-bg.jpg') !important; 
    background-size: cover !important; 
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 50px 40px !important; 
    border-radius: 24px !important; 
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06) !important; 
    border: 1px solid #e2e8f0 !important;
    margin-top: 20px;
}

/* Tối ưu chữ mô tả dịch vụ trên nền ảnh mờ */
.fob-desc { 
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
    color: #334155 !important;
    margin-bottom: 35px !important; 
    text-align: justify !important;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500 !important;
}

/* ĐỒNG BỘ KHUNG BẢNG TRÊN NỀN ẢNH MỜ */
.fob-Table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    margin: 30px 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.fob-custom-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: rgba(255, 255, 255, 0.95) !important; /* Nền bảng mờ nhẹ tiệp màu với tổng thể */
}

.fob-custom-table th {
    background-color: var(--primary-navy) !important;
    color: var(--white) !important;
    padding: 20px 24px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.fob-custom-table td {
    padding: 18px 24px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-size: 1.05rem !important;
}

/* Cột danh mục (Trái) */
.table-label {
    font-weight: 700 !important;
    color: #1e293b !important;
    width: 30%;
    background-color: rgba(248, 250, 252, 0.8) !important;
}

/* Các dòng trọng tâm được phủ lớp màu sinh thái đặc trưng */
.highlight-row {
    background-color: rgba(240, 253, 244, 0.85) !important;
}
.highlight-row .table-label {
    color: var(--eco-green) !important;
    background-color: rgba(232, 245, 233, 0.9) !important;
}

/* HIỂN THỊ NÚT BẤM TO LỚN PHÁT SÓNG (SUPER CTA) */
.super-cta-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 15px !important;
    background-color: var(--eco-green) !important;
    color: var(--white) !important;
    text-decoration: none !important;
    padding: 22px 65px !important; /* Ép nút to lớn bứt phá */
    font-size: 1.3rem !important;
    font-weight: 900 !important;
    border-radius: 100px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: hidden !important;
}

/* Vòng sóng lan tỏa liên tục kích thích thị giác */
.super-cta-btn::after {
    content: '' !important;
    position: absolute !important;
    width: 100%; height: 100%;
    top: 0; left: 0;
    border-radius: 100px !important;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6) !important;
    animation: pulseWave 2s infinite !important;
}

.super-cta-btn:hover {
    background-color: var(--primary-navy) !important;
    transform: translateY(-6px) scale(1.04) !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35) !important;
}

/* TOÀN BỘ HOẠT ẢNH HOẠT ĐỘNG */
@keyframes pulseWave {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ĐẢM BẢO HIỂN THỊ ĐẸP MẮT TRÊN ĐIỆN THOẠI */
@media (max-width: 768px) {
    .fob-section { padding: 30px 15px !important; }
    .table-label { width: 40%; }
    .super-cta-btn {
        padding: 16px 20px !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        justify-content: center !important;
        letter-spacing: 1px !important;
    }
}
/* ==========================================================================
   CẤU HÌNH HỆ THỐNG NÚT LIÊN HỆ DỌC GÓC MÀN HÌNH (ZALO & CALL HOTLINE)
   ========================================================================== */
.quick-contact-box {
    position: fixed;
    bottom: 30px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999; /* Đảm bảo nút luôn nổi lên trên tất cả các thành phần */
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Định dạng riêng cho nút Zalo thương hiệu */
.zalo-btn {
    background-color: #0068ff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.zalo-badge {
    background: #ffffff;
    color: #0068ff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif !important;
}

/* Định dạng riêng cho nút Gọi điện trực tiếp */
.phone-btn {
    background-color: #ef4444;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.phone-btn i {
    font-size: 1rem;
    animation: phoneShake 0.5s infinite alternate; /* Hiệu ứng rung nhẹ chiếc điện thoại */
}

/* Hiệu ứng di chuột vào nút liên hệ */
.quick-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Hoạt ảnh rung nhẹ cho nút Gọi điện kích thích hành động */
@keyframes phoneShake {
    0% { transform: rotate(0); }
    100% { transform: rotate(15deg); }
}

/* TỐI ƯU GIAO DIỆN NÚT TRÊN ĐIỆN THOẠI DI ĐỘNG (MOBILE) */
@media (max-width: 768px) {
    .quick-contact-box {
        bottom: 20px;
        right: 15px;
        gap: 10px;
    }
    .quick-btn span {
        display: none; /* Trên mobile ẩn chữ đi chỉ để lại icon hình tròn cho gọn trang */
    }
    .quick-btn {
        padding: 14px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    .zalo-badge {
        width: 24px;
        height: 24px;
        font-size: 0.95rem;
    }
}
/* --- CSS CHO BỘ CHỌN NGÔN NGỮ --- */
.header-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 10px 0;
}

.language-selector {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    user-select: none;
    z-index: 1000;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-current:hover {
    border-color: var(--eco-green, #2e7d32);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.lang-current img, .lang-dropdown img {
    width: 20px;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lang-chevron {
    font-size: 0.75rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

/* Menu thả xuống */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    width: 140px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    transition: background 0.2s ease;
}

.lang-dropdown li:hover {
    background: #f8fafc;
    color: var(--eco-green, #2e7d32);
}

/* Đảo chiều mũi tên khi mở menu */
.lang-current.active .lang-chevron {
    transform: rotate(180deg);
}

/* Tối ưu hiển thị trên Mobile */
@media (max-width: 576px) {
    .header-flex-container {
        flex-direction: column;
        gap: 12px;
    }
    .language-selector {
        align-self: flex-end; /* Đẩy sang bên phải màn hình trên mobile */
    }
}