/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* --- FOOTER 168 STYLES --- */
.footer-168-container {
    background-color: #021b42; /* Màu xanh đậm nền */
    color: #ffffff;
    position: relative;
    padding-bottom: 50px;
    margin-top: 50px; /* Tạo khoảng cách với nội dung trên */
}

/* Hiệu ứng sóng nước */
.footer-wave {
    position: absolute;
    top: -50px; /* Đẩy lên trên để khớp nền */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Bố cục nội dung */
.footer-content-168 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 0 20px;
    position: relative;
    z-index: 2;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px; /* Đảm bảo cột không bị quá nhỏ */
}

/* Typography & Titles */
.footer-col h3, 
.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.opening-hours h4 {
    font-size: 15px;
    margin-bottom: 5px;
    color: #aaddff; /* Màu xanh nhạt nhấn nhá */
}

.opening-hours p {
    font-size: 14px;
    margin: 3px 0;
    opacity: 0.9;
}

/* Cột Địa chỉ (Icon + Text) */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-list li i {
    color: #00c3ff; /* Màu xanh sáng icon */
    margin-right: 12px;
    margin-top: 4px; /* Căn chỉnh icon với dòng đầu tiên */
    font-size: 16px;
    min-width: 20px;
}

/* Cột Liên kết */
.footer-menu {
    list-style: none;
    padding: 0;
}

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

.footer-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    opacity: 0.9;
}

.footer-menu li a:hover {
    color: #00c3ff;
    padding-left: 5px; /* Hiệu ứng đẩy nhẹ khi hover */
}

/* Cột Newsletter (Form) */
.col-newsletter p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    position: relative;
    max-width: 100%;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
}

.newsletter-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background-color: #00c3ff; /* Màu nút xanh sáng */
    border: none;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    cursor: pointer;
    color: #fff;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background-color: #009acd;
}

/* RESPONSIVE (Cho điện thoại & Tablet) */
@media (max-width: 992px) {
    .footer-row {
        gap: 40px;
    }
    .footer-col {
        flex: 0 0 45%; /* Trên tablet chia 2 cột */
    }
}

@media (max-width: 600px) {
    .footer-col {
        flex: 0 0 100%; /* Trên mobile 1 cột */
        margin-bottom: 20px;
    }
    .footer-wave {
        display: none; /* Ẩn sóng trên mobile cho gọn nếu muốn */
    }
    .footer-168-container {
        padding-top: 40px;
        margin-top: 0;
    }
}
/*
Theme Name: OceanWP Child Theme
Version: 1.1 (Optimized)
*/

/* =========================================
   1. CÀI ĐẶT CHUNG & BIẾN MÀU (QUAN TRỌNG)
   ========================================= */
:root {
    --main-color: #021b42;      /* Xanh đậm thương hiệu */
    --accent-color: #00c3ff;    /* Xanh sáng (Icon, Button, Hover) */
    --text-color: #333333;      /* Màu chữ nội dung */
    --bg-light: #f4f8fb;        /* Màu nền xám xanh nhạt */
    --white: #ffffff;
}

/* Reset Box-sizing để layout không bị vỡ do padding */
.landing-168-wrapper,
.landing-168-wrapper * {
    box-sizing: border-box;
}

.landing-168-wrapper {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    width: 100%;
    overflow-x: hidden;
}

.container-168 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Các class tiện ích dùng chung */
.text-center { text-align: center; }
.section-168 { padding: 20px 0; }

.section-title {
    color: var(--main-color);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 25px;
}

.sub-title {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

/* =========================================
   2. HERO BANNER (BANNER CHÍNH)
   ========================================= */
.hero-section {
    position: relative;
    background: url('https://xuongnuocda.com/wp-content/uploads/2025/12/nha-may-san-xuat-nuoc-da-168_yyTfY0SS.webp') no-repeat center center;
    background-size: cover;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: left;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(2, 27, 66, 0.9) 0%, rgba(2, 27, 66, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.badge-top {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 0 0 20px 0;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
}

.text-highlight { color: var(--accent-color); }

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 35px;
    max-width: 600px;
    opacity: 0.9;
    color: var(--white);
}

/* Nút bấm Hero */
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.btn-hero-primary {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 195, 255, 0.3);
}

.btn-hero-primary:hover {
    background-color: #009acd;
    border-color: #009acd;
    transform: translateY(-3px);
    color: var(--white);
}

.btn-hero-outline {
    background-color: transparent;
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-hero-outline:hover {
    background-color: var(--white);
    color: var(--main-color);
    border-color: var(--white);
    transform: translateY(-3px);
}

.hero-wave {
    position: absolute; bottom: -1px; left: 0; width: 100%;
    line-height: 0; z-index: 3;
}
.hero-wave svg { display: block; width: 100%; height: auto; max-height: 100px; }


/* =========================================
   3. ABOUT SECTION (GIỚI THIỆU) - Flexbox
   ========================================= */
body .grid-2-col {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 auto !important;
    gap: 0 !important;
}

/* Cột Ảnh (45%) */
.about-image {
    position: relative;
    flex: 0 0 45% !important;
    z-index: 1;
}

.about-image img {
    width: 100%; height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    display: block; object-fit: cover;
}

/* Box Kinh nghiệm */
.experience-box {
    position: absolute;
    bottom: -30px; right: -20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(0, 195, 255, 0.4);
    border: 4px solid var(--white);
    z-index: 5;
}
.experience-box .number { display: block; font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 5px; }
.experience-box .text { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; }

/* Cột Nội dung (50%) */
.about-text {
    flex: 0 0 50% !important;
    padding-left: 30px;
}
.about-text p { color: #555; margin-bottom: 25px; font-size: 1.5rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 30px 0; }
.check-list li { margin-bottom: 15px; font-size: 1.3rem; color: var(--main-color); font-weight: 500; display: flex; align-items: center; }
.check-list i { color: var(--accent-color); margin-right: 12px; font-size: 1.2rem; }

.btn-text {
    color: var(--main-color); font-weight: 700; font-size: 1.8rem;
    text-decoration: none !important; border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-text:hover { color: var(--accent-color); gap: 12px; }


/* =========================================
   4. PRODUCT SECTION (SẢN PHẨM) - 2 Cột
   ========================================= */
.product-section { background-color: var(--bg-light); }

body .product-flex-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Card Sản phẩm: 48% width */
.product-card {
    flex: 0 0 48% !important; 
    max-width: 48% !important; width: 48% !important;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    margin: 0 0 30px 0 !important;
    display: flex; flex-direction: column;
}

.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 195, 255, 0.15); }

.prod-img { height: 250px; width: 100%; overflow: hidden; background-color: #eee; position: relative; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.product-card:hover .prod-img img { transform: scale(1.1); }

.prod-info { padding: 25px 20px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; align-items: center; }
.prod-info h3 { color: var(--main-color); margin: 0 0 10px 0; font-size: 1.9rem; font-weight: 700; }
.prod-info p { font-size: 1.3rem; color: #666; margin-bottom: 20px; flex-grow: 1; }

.btn-prod {
    display: inline-block; background-color: var(--main-color); color: var(--white);
    padding: 10px 25px; border-radius: 4px; text-decoration: none; font-weight: 600;
    font-size: 1.3rem; transition: background 0.3s; margin-top: auto;
}
.btn-prod:hover { background-color: var(--accent-color); }


/* =========================================
   5. FEATURES SECTION (TẠI SAO CHỌN) - 3 Cột
   ========================================= */
body .features-flex-container {
    display: flex !important; flex-wrap: wrap !important;
    justify-content: space-between !important;
    width: 100% !important; margin: 40px auto 0 auto !important;
    gap: 0 !important;
}

/* Feature Box: 31% width */
.feature-box {
    flex: 0 0 31% !important; max-width: 31% !important; width: 31% !important;
    background: var(--white); text-align: center; padding: 40px 25px;
    border: 1px solid #eee; border-radius: 10px; transition: all 0.3s ease;
    position: relative; top: 0;
}

.feature-box:hover { border-color: var(--accent-color); box-shadow: 0 15px 35px rgba(0,0,0,0.08); top: -5px; }
.icon-box { font-size: 3.5rem; color: var(--accent-color); margin-bottom: 25px; display: inline-block; transition: transform 0.3s; }
.feature-box:hover .icon-box { transform: scale(1.1) rotate(5deg); }
.feature-box h3 { color: var(--main-color); margin-bottom: 15px; font-size: 1.4rem; font-weight: 700; }


/* =========================================
   6. STATS & CTA (THỐNG KÊ & KÊU GỌI)
   ========================================= */
.stats-section {
    background-color: var(--main-color);
    padding: 60px 0; color: var(--white);
}

body .stats-flex-container {
    display: flex !important; flex-wrap: wrap !important;
    justify-content: space-between !important;
    width: 100% !important; margin: 0 auto !important; gap: 0 !important;
}

/* Stat Item: 25% width */
.stat-item {
    flex: 0 0 25% !important; max-width: 25% !important; width: 25% !important;
    text-align: center; padding: 10px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-item h2 { font-size: 3rem; color: var(--accent-color); margin: 0 0 5px 0; font-weight: 800; line-height: 1.2; }
.stat-item p { font-size: 1.1rem; color: var(--white); opacity: 0.9; margin: 0; font-weight: 500; }

/* CTA Section */
.cta-section {
    background: url('https://xuongnuocda.com/wp-content/uploads/2025/12/nha-may-san-xuat-nuoc-da-168_HFBGDQjw.webp') no-repeat center center;
    background-size: cover; padding: 80px 0; position: relative; text-align: center;
}
.cta-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.9); z-index: 1;
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { color: var(--main-color); font-size: 2.5rem; font-weight: 800; margin: 0 0 15px 0; text-transform: uppercase; }

/* Nút CTA đã FIX LỖI */
.btn-cta {
    display: inline-flex !important;
    align-items: center !important; justify-content: center !important;
    gap: 10px !important;
    background-color: var(--main-color) !important;
    color: var(--white) !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    font-weight: 700 !important; font-size: 1.2rem !important;
    text-decoration: none !important; border-bottom: none !important;
    border: 2px solid var(--main-color) !important;
    box-shadow: 0 5px 15px rgba(2, 27, 66, 0.2) !important;
    transition: all 0.3s ease !important; line-height: 1 !important;
}

.btn-cta:hover {
    background-color: var(--accent-color) !important;
    color: var(--main-color) !important;
    border-color: var(--white) !important;
    transform: translateY(-3px);
}
.btn-cta i { margin-right: 0 !important; font-size: 1.1em; }


/* =========================================
   7. FOOTER SECTION
   ========================================= */
.footer-168-container {
    background-color: var(--main-color);
    color: var(--white); position: relative;
    padding-bottom: 50px; margin-top: 50px;
}
.footer-wave { position: absolute; top: -50px; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.footer-wave svg { display: block; width: calc(100% + 1.3px); height: 60px; }

.footer-content-168 { max-width: 1200px; margin: 0 auto; padding: 40px 20px 0 20px; position: relative; z-index: 2; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-col { flex: 1; min-width: 250px; }
.footer-col h3, .footer-col h4 { color: var(--white); font-size: 18px; font-weight: 600; margin-bottom: 20px; margin-top: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; align-items: flex-start; margin-bottom: 15px; font-size: 14px; line-height: 1.5; }
.contact-list li i { color: var(--accent-color); margin-right: 12px; margin-top: 4px; font-size: 16px; min-width: 20px; }
.footer-menu li a { color: var(--white); text-decoration: none; transition: color 0.3s; opacity: 0.9; }
.footer-menu li a:hover { color: var(--accent-color); padding-left: 5px; }


/* =========================================
   8. RESPONSIVE (MOBILE & TABLET)
   ========================================= */

/* Tablet & Mobile Ngang (Dưới 992px) */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.8rem; }
    
    /* Về 1 cột dọc cho About và Features */
    body .grid-2-col { display: block !important; }
    .about-image { margin-bottom: 60px !important; }
    .about-text { padding-left: 0; }
    .experience-box { right: 50%; transform: translateX(50%); bottom: -60px; }
    
    .feature-box { flex: 0 0 100% !important; max-width: 100% !important; margin-bottom: 30px !important; }
    .stat-item { flex: 0 0 50% !important; max-width: 50% !important; border-right: none; margin-bottom: 30px; }
}

/* Mobile Dọc (Dưới 768px) */
@media (max-width: 768px) {
    .hero-section { height: auto; padding: 120px 0 100px 0; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-content h1 { font-size: 2rem; }
    .hero-buttons { justify-content: center; }
    
    /* Sản phẩm về 1 cột */
    .product-card { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
    
    /* Stats về 1 cột */
    .stat-item { flex: 0 0 100% !important; max-width: 100% !important; padding: 0; margin-bottom: 20px; }
    
    .btn-cta { width: 100%; padding: 15px 20px; font-size: 1rem; }
    .footer-col { flex: 0 0 100%; margin-bottom: 20px; }
    .footer-wave { display: none; }
}
/* =========================================
   CSS ĐỘC LẬP CHO TRANG GIỚI THIỆU (ABOUT US)
   SỬ DỤNG BIẾN MÀU GLOBAL: --main-color, --accent-color
   ========================================= */

/* Lấy biến màu từ file CSS chính (cần đảm bảo các biến đã được khai báo ở scope global) */
.gt-section {
    padding: 80px 0 !important;
    box-sizing: border-box;
}

.gt-section * { box-sizing: border-box; }

.gt-container {
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.gt-section-title {
    color: var(--main-color, #021b42); /* Dùng --main-color */
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 25px;
}
.gt-center-text { text-align: center; }


/* -----------------------------------------
   PHẦN 1: GIỚI THIỆU & STATS (gt-about-grid) - CHUYỂN SANG FLEXBOX
   ----------------------------------------- */
.gt-about-page-section {
    background-color: var(--white, #ffffff); /* Nền Section trắng */
}

/* CHUYỂN SANG FLEXBOX CHO TỈ LỆ CHÍNH XÁC */
.gt-about-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 0 !important;
    align-items: center;
}

/* Cột Text: 65% */
.gt-about-text {
    flex: 0 0 65% !important;
    max-width: 65% !important;
}

.gt-about-text p {
    color: var(--text-color, #333); /* Dùng --text-color */
    margin-bottom: 15px;
}

/* Cột Stat Box: 30% */
.gt-stat-box {
    flex: 0 0 30% !important;
    max-width: 30% !important;
    
    background: var(--bg-light, #f4f8fb); /* Đổi nền Stat Box sang màu sáng */
    padding: 35px 25px; /* Tăng padding */
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid var(--bg-light, #f4f8fb);
    
    /* Canh lề Stat Box đối diện với text */
    align-self: flex-start;
    margin-top: 50px; /* Đẩy Stat Box xuống để căn với giữa khối text */
}

.gt-stat-number {
    font-size: 3rem; /* To hơn */
    font-weight: 800;
    color: var(--main-color, #021b42); /* Dùng --main-color */
    margin: 0;
}

.gt-stat-desc {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

/* Danh sách sản phẩm (Đá mi, đá viên...) */
.gt-product-list {
    list-style: none;
    padding: 0;
    display: flex !important;
    flex-wrap: wrap;
    gap: 15px !important;
    margin-top: 15px;
    justify-content: flex-start !important;
}

.gt-product-list li {
    background: var(--bg-light, #f4f8fb); /* Dùng --bg-light */
    color: var(--main-color, #021b42); /* Dùng --main-color */
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}
.gt-product-list li i {
    color: var(--accent-color, #00c3ff); /* Dùng --accent-color */
    margin-right: 5px;
}


/* -----------------------------------------
   PHẦN 2: TẠI SAO CHỌN (gt-features-section)
   ----------------------------------------- */
.gt-features-section {
    background-color: var(--bg-light, #f4f8fb) !important; /* Dùng --bg-light */
}

.gt-features-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; /* Fix cứng 4 cột */
    gap: 30px !important;
    margin-top: 40px;
}

.gt-feature-card {
    background: var(--white, #ffffff);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    border-bottom: 4px solid var(--main-color, #021b42); /* Dùng --main-color */
}

.gt-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color, #00c3ff); /* Dùng --accent-color */
}

.gt-feature-icon {
    font-size: 3rem;
    color: var(--main-color, #021b42); /* Dùng --main-color */
    margin-bottom: 20px;
}

.gt-feature-card h3 {
    color: var(--main-color, #021b42); /* Dùng --main-color */
    font-size: 1.3rem;
    font-weight: 700;
}


/* -----------------------------------------
   PHẦN 3: SỨ MỆNH (gt-mission-section)
   ----------------------------------------- */
.gt-mission-section {
    background: url('https://xuongnuocda.com/wp-content/uploads/2025/12/nha-may-san-xuat-nuoc-da-168_HFBGDQjw.webp') no-repeat center center/cover;
    position: relative;
    padding: 0;
    color: var(--white, #ffffff);
}

.gt-mission-overlay {
    background: rgba(2, 27, 66, 0.85); /* Hardcode mờ màu main-color */
    padding: 80px 0;
    width: 100%;
    height: 100%;
}

.gt-mission-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.gt-white-text {
    color: var(--white, #ffffff) !important;
    font-weight: 800;
    font-size: 2rem;
}

.gt-mission-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--white, #ffffff);
    opacity: 0.9;
    margin-top: 20px;
}


/* -----------------------------------------
   RESPONSIVE
   ----------------------------------------- */
@media (max-width: 992px) {
    /* Giới thiệu & Stats về 1 cột trên Tablet */
    .gt-about-grid {
        display: block !important;
    }
    
    .gt-about-text {
        flex: unset !important;
        max-width: 100% !important;
    }
    
    .gt-stat-box {
        flex: unset !important;
        max-width: 400px !important; /* Giới hạn chiều rộng Stat Box trên mobile */
        margin: 30px auto 0 auto !important; /* Căn giữa và đẩy xuống */
    }
}

@media (max-width: 768px) {
    /* Features về 1 cột trên Mobile */
    .gt-features-grid {
        grid-template-columns: 1fr !important;
    }

    .gt-stat-box {
        margin-top: 30px;
    }

    .gt-white-text {
        font-size: 1.5rem;
    }
}
/* --- PHẦN 1: HERO/TITLE SECTION --- */
.contact-hero-section {
    background-color: var(--bg-light, #f4f8fb) !important; /* Dùng !important để đảm bảo màu nền */
    padding: 60px 0 !important;
    text-align: center;
    margin-bottom: 30px !important;
}

.contact-main-title {
    color: var(--main-color, #021b42);
    font-size: 3rem !important;
    font-weight: 900 !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
}

.contact-hero-desc {
    font-size: 1.1rem !important;
    color: #666;
    max-width: 700px;
    margin: 0 auto !important;
}

/* LƯU Ý: Cần đảm bảo các biến Global (ví dụ: --main-color, --bg-light) đã được định nghĩa ở cấp :root hoặc .contact-page-wrapper */

.contact-page-wrapper {
    color: var(--text-color, #333);
    line-height: 1.6;
    background-color: var(--white, #ffffff);
    padding-top: 50px; /* Khoảng cách với header */
    min-height: 80vh; /* Đảm bảo nội dung không quá ngắn */
}

.contact-page-wrapper * { box-sizing: border-box; }

.contact-container {
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 0 20px !important;
}
/* =========================================
   CSS ĐỘC LẬP CHO TRANG LIÊN HỆ (CONTACT PAGE)
   PHIÊN BẢN TỐI ƯU HÓA
   ========================================= */

/* LƯU Ý: Cần đảm bảo các biến Global (ví dụ: --main-color, --bg-light) đã được định nghĩa ở cấp :root hoặc .contact-page-wrapper */

.contact-page-wrapper {
    color: var(--text-color, #333);
    line-height: 1.6;
    background-color: var(--white, #ffffff);
    padding-top: 50px;
    min-height: 80vh;
}

.contact-page-wrapper * { box-sizing: border-box; }

.contact-container {
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Các tiêu đề chính */
.contact-section-title {
    color: var(--main-color, #021b42);
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin: 0 0 25px 0 !important;
}
.contact-center-text { text-align: center; }

/* --- PHẦN 1: HERO/TITLE SECTION --- */
.contact-hero-section {
    background-color: var(--bg-light, #f4f8fb) !important;
    padding: 60px 0 !important;
    text-align: center;
    margin-bottom: 30px !important;
}

.contact-main-title {
    color: var(--main-color, #021b42);
    font-size: 3rem !important;
    font-weight: 900 !important;
    margin: 0 0 15px 0 !important;
}

.contact-hero-desc {
    font-size: 1.1rem !important;
    color: #666;
    max-width: 700px;
    margin: 0 auto !important;
}

/* --- PHẦN 2: CONTENT SECTION (FORM & INFO) --- */
.contact-content-section {
    padding: 30px 0 80px 0 !important;
}

/* Bố cục 2 cột Form và Info - SỬ DỤNG FLEXBOX */
.contact-grid {
    display: flex !important;
    justify-content: space-between !important;
    align-items: stretch;
}

/* Card Thông tin (38%) */
.contact-info-card {
    flex: 0 0 38% !important;
    max-width: 38% !important;
    margin-bottom: 0 !important;
    background-color: var(--white, #ffffff);
    padding: 30px !important;
    border-radius: 10px;
    border: 1px solid var(--bg-light, #f4f8fb);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.contact-list-details { list-style: none; padding: 0 !important; }
.contact-list-details li { display: flex !important; align-items: flex-start !important; margin-bottom: 30px !important; }

.contact-list-details li i {
    color: var(--accent-color, #00c3ff);
    font-size: 1.5rem;
    margin-right: 20px !important;
    min-width: 30px;
    margin-top: 5px !important;
}

.contact-list-details h4 {
    color: var(--main-color, #021b42);
    font-size: 1.1rem !important;
    margin: 0 !important;
    line-height: 1.4;
}

.contact-list-details p,
.contact-list-details a {
    color: #666;
    font-size: 1rem !important;
    margin: 5px 0 0 0 !important;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-list-details a:hover { color: var(--accent-color, #00c3ff); }

.working-hours {
    font-weight: 600 !important;
    color: var(--main-color, #021b42);
    line-height: 1.6;
}
.mt-4 { margin-top: 40px !important; }

/* Form Liên Hệ (57%) */
.contact-form-card {
    flex: 0 0 57% !important;
    max-width: 57% !important;
    margin-bottom: 0 !important;
    background-color: var(--bg-light, #f4f8fb);
    padding: 30px !important;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px !important;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color, #00c3ff);
    outline: none;
}

.contact-submit-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: var(--main-color, #021b42);
    color: var(--white, #ffffff);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-submit-btn:hover {
    background-color: var(--accent-color, #00c3ff);
}

/* --- PHẦN 3: MAP SECTION --- */
.contact-map-section {
    padding-bottom: 80px !important;
}

.map-embed {
    margin-top: 30px !important;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    /* Tablet và Mobile: Chuyển về 1 cột */
    .contact-grid {
        display: block !important;
    }
    
    .contact-info-card,
    .contact-form-card {
        flex: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    .contact-main-title {
        font-size: 2.5rem !important;
    }
    
    /* Đảo thứ tự trên Mobile: Form lên trước Info */
    .contact-info-card { order: 2; }
    .contact-form-card { order: 1; }
}
