/* 
 * Design System - Ngọc Minh Anh Beluga & Caviar
 * Light Theme - Natural, Fresh, Premium
 */

:root {
    /* Colors - Matching the uploaded LOGO */
    --bg-dark: #F9FAF8;
    --bg-card: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #475569;
    --accent-gold: #62B84D; /* Logo Leaf Green */
    --accent-gold-hover: #4D963C; /* Darker Green */
    --accent-emerald: #E03E2A; /* Logo Red/Orange */
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Spacing & Layout */
    --container-max: 1200px;
    --nav-width: 180px;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-blur: blur(12px);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --trans-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /* Dải gradient cố định toàn trang: Xanh lá → Vàng cam → Đỏ cam */
    background: linear-gradient(
        to bottom,
        #4a9e38 0%,
        #6db84d 8%,
        #9ec94a 18%,
        #c8d44a 28%,
        #d4a83a 38%,
        #d4813a 48%,
        #d45f30 58%,
        #d44828 68%,
        #c83820 78%,
        #b82e1a 88%,
        #a02415 100%
    );
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #0f172a;               /* Màu slate-900 sang trọng, uy tín */
    line-height: 1.35;            /* Đảm bảo khoảng cách dòng hợp lý, tránh chạm dấu tiếng Việt */
}

.section-title {
    font-family: var(--font-sans);
    font-size: 3.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-family: var(--font-sans);
    color: var(--accent-emerald); /* Đỏ cam - màu logo */
    text-transform: uppercase;
    letter-spacing: 0.15em;       /* Khoảng cách chữ rộng rãi cho chữ hoa dễ thở */
    font-size: 0.9rem;            /* Cân đối lại kích thước tinh tế hơn */
    font-weight: 700;
    line-height: 1.4;             /* Khoảng cách dòng cho các tiêu đề phụ đa dòng */
    margin-bottom: 0.6rem;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    padding-left: 200px; /* Make room for left sidebar on desktop */
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--accent-gold);
    color: #fff;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--trans-smooth);
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(182, 141, 64, 0.2);
}

.btn-outline, .btn-outline-small {
    display: inline-block;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: var(--trans-smooth);
    background: transparent;
    border-radius: 4px;
}

.btn-outline-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-outline:hover, .btn-outline-small:hover {
    background: var(--accent-gold);
    color: #fff;
}

.btn-text {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--trans-smooth);
}

.btn-text:hover {
    color: var(--accent-gold);
}

/* Top Left Logo */
.top-logo {
    position: fixed;
    top: 30px;
    left: 40px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.top-logo.visible {
    opacity: 1;
    pointer-events: auto;
}

.top-logo img {
    height: 130px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Left Sidebar Navigation */
.side-nav {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.side-nav .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    list-style: none;
}

.side-nav .nav-links a {
    display: block;
    text-align: left;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    
    /* Premium Dark Glassmorphism Effect */
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: left center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.side-nav .nav-links a:hover {
    color: #ffffff;
    background: rgba(15, 23, 42, 0.9);
    transform: translateX(5px); /* Subtle shift */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.side-nav .nav-links a.active {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    transform: translateX(8px) scale(1.05); /* Subtle, professional */
}

/* Custom Gradient Theme Colors per Nav Button - Desktop Only */
@media (min-width: 993px) {
    /* 1. Trang chủ (Green) */
    .side-nav .nav-links li:nth-child(1) a {
        background: rgba(15, 23, 42, 0.75);
        color: #ffffff;
        border-left: 4px solid #4a9e38;
    }
    .side-nav .nav-links li:nth-child(1) a:hover {
        background: rgba(15, 23, 42, 0.9);
        color: #ffffff;
        border-left-color: #6db84d;
        transform: translateX(5px);
        box-shadow: 0 8px 25px rgba(74, 158, 56, 0.25);
    }
    .side-nav .nav-links li:nth-child(1) a.active {
        background: linear-gradient(135deg, rgba(74, 158, 56, 0.95), rgba(109, 184, 77, 0.95));
        border: 1px solid rgba(74, 158, 56, 0.3);
        border-top: 1px solid rgba(109, 184, 77, 0.4);
        border-left: 4px solid #4a9e38;
        box-shadow: 0 4px 15px rgba(74, 158, 56, 0.3);
    }

    /* 2. Câu chuyện (Yellow-Green) */
    .side-nav .nav-links li:nth-child(2) a {
        background: rgba(15, 23, 42, 0.75);
        color: #ffffff;
        border-left: 4px solid #9ec94a;
    }
    .side-nav .nav-links li:nth-child(2) a:hover {
        background: rgba(15, 23, 42, 0.9);
        color: #ffffff;
        border-left-color: #c8d44a;
        transform: translateX(5px);
        box-shadow: 0 8px 25px rgba(158, 201, 74, 0.25);
    }
    .side-nav .nav-links li:nth-child(2) a.active {
        background: linear-gradient(135deg, rgba(158, 201, 74, 0.95), rgba(200, 212, 74, 0.95));
        border: 1px solid rgba(158, 201, 74, 0.3);
        border-top: 1px solid rgba(200, 212, 74, 0.4);
        border-left: 4px solid #9ec94a;
        box-shadow: 0 4px 15px rgba(158, 201, 74, 0.3);
    }

    /* 3. Quy mô (Gold/Yellow) */
    .side-nav .nav-links li:nth-child(3) a {
        background: rgba(15, 23, 42, 0.75);
        color: #ffffff;
        border-left: 4px solid #d4a83a;
    }
    .side-nav .nav-links li:nth-child(3) a:hover {
        background: rgba(15, 23, 42, 0.9);
        color: #ffffff;
        border-left-color: #e5b94b;
        transform: translateX(5px);
        box-shadow: 0 8px 25px rgba(212, 168, 58, 0.25);
    }
    .side-nav .nav-links li:nth-child(3) a.active {
        background: linear-gradient(135deg, rgba(212, 168, 58, 0.95), rgba(212, 129, 58, 0.95));
        border: 1px solid rgba(212, 168, 58, 0.3);
        border-top: 1px solid rgba(212, 129, 58, 0.4);
        border-left: 4px solid #d4a83a;
        box-shadow: 0 4px 15px rgba(212, 168, 58, 0.3);
    }

    /* 4. Sản phẩm (Orange) */
    .side-nav .nav-links li:nth-child(4) a {
        background: rgba(15, 23, 42, 0.75);
        color: #ffffff;
        border-left: 4px solid #d45f30;
    }
    .side-nav .nav-links li:nth-child(4) a:hover {
        background: rgba(15, 23, 42, 0.9);
        color: #ffffff;
        border-left-color: #e57041;
        transform: translateX(5px);
        box-shadow: 0 8px 25px rgba(212, 95, 48, 0.25);
    }
    .side-nav .nav-links li:nth-child(4) a.active {
        background: linear-gradient(135deg, rgba(212, 95, 48, 0.95), rgba(212, 72, 40, 0.95));
        border: 1px solid rgba(212, 95, 48, 0.3);
        border-top: 1px solid rgba(212, 72, 40, 0.4);
        border-left: 4px solid #d45f30;
        box-shadow: 0 4px 15px rgba(212, 95, 48, 0.3);
    }

    /* 5. Giải pháp (Red-Orange) */
    .side-nav .nav-links li:nth-child(5) a {
        background: rgba(15, 23, 42, 0.75);
        color: #ffffff;
        border-left: 4px solid #c83820;
    }
    .side-nav .nav-links li:nth-child(5) a:hover {
        background: rgba(15, 23, 42, 0.9);
        color: #ffffff;
        border-left-color: #d94931;
        transform: translateX(5px);
        box-shadow: 0 8px 25px rgba(200, 56, 32, 0.25);
    }
    .side-nav .nav-links li:nth-child(5) a.active {
        background: linear-gradient(135deg, rgba(200, 56, 32, 0.95), rgba(184, 46, 26, 0.95));
        border: 1px solid rgba(200, 56, 32, 0.3);
        border-top: 1px solid rgba(184, 46, 26, 0.4);
        border-left: 4px solid #c83820;
        box-shadow: 0 4px 15px rgba(200, 56, 32, 0.3);
    }

    /* 6. Bài viết (Red) */
    .side-nav .nav-links li:nth-child(6) a {
        background: rgba(15, 23, 42, 0.75);
        color: #ffffff;
        border-left: 4px solid #a02415;
    }
    .side-nav .nav-links li:nth-child(6) a:hover {
        background: rgba(15, 23, 42, 0.9);
        color: #ffffff;
        border-left-color: #b13526;
        transform: translateX(5px);
        box-shadow: 0 8px 25px rgba(160, 36, 21, 0.25);
    }
    .side-nav .nav-links li:nth-child(6) a.active {
        background: linear-gradient(135deg, rgba(160, 36, 21, 0.95), rgba(128, 24, 12, 0.95));
        border: 1px solid rgba(160, 36, 21, 0.3);
        border-top: 1px solid rgba(128, 24, 12, 0.4);
        border-left: 4px solid #a02415;
        box-shadow: 0 4px 15px rgba(160, 36, 21, 0.3);
    }

    /* 7. Liên hệ (Dark Red) */
    .side-nav .nav-links li:nth-child(7) a {
        background: rgba(15, 23, 42, 0.75);
        color: #ffffff;
        border-left: 4px solid #80180c;
    }
    .side-nav .nav-links li:nth-child(7) a:hover {
        background: rgba(15, 23, 42, 0.9);
        color: #ffffff;
        border-left-color: #912519;
        transform: translateX(5px);
        box-shadow: 0 8px 25px rgba(128, 24, 12, 0.25);
    }
    .side-nav .nav-links li:nth-child(7) a.active {
        background: linear-gradient(135deg, rgba(128, 24, 12, 0.95), rgba(96, 16, 8, 0.95));
        border: 1px solid rgba(128, 24, 12, 0.3);
        border-top: 1px solid rgba(96, 16, 8, 0.4);
        border-left: 4px solid #80180c;
        box-shadow: 0 4px 15px rgba(128, 24, 12, 0.3);
    }
}

/* Hero Section */
.hero {
    width: 100%;
    aspect-ratio: 16 / 9; /* Luôn giữ đúng tỉ lệ video */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000000;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Container cùng tỉ lệ 16:9 → không cắt, không đen */
    z-index: 0;
}

/* Intro Section */
.intro {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.88);
    position: relative;
    z-index: 2;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    right: 40px;                    /* Di chuyển sang góc dưới bên phải để tránh phụ đề */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-indicator::after {
    content: 'CUỘN XUỐNG';
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse-text 2s infinite;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.mouse {
    width: 36px;
    height: 56px;
    border: 3px solid #FFFFFF;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.wheel {
    width: 6px;
    height: 12px;
    background: #FFFFFF;
    border-radius: 3px;
    margin-top: 10px;
    animation: scroll 1.5s infinite;
    box-shadow: 0 0 8px #FFFFFF;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

@keyframes pulse-text {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(5px); }
}

/* About Section */
.about {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.88);
    position: relative;
}

/* About Section — Vertical Layout */
.about-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Hình ảnh to phía trên */
.about-image-hero {
    position: relative;
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    margin-bottom: 3rem;
}

.about-image-hero img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.about-image-hero .experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 130px;
    height: 130px;
    padding: 1rem;
}

/* Văn bản giới thiệu */
.about-story {
    max-width: 820px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.about-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-story p strong {
    color: var(--text-main);
}

/* Trích dẫn nổi bật */
.about-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--accent-emerald);
    border-left: 4px solid var(--accent-emerald);
    padding: 0.75rem 1.5rem;
    margin: 1.5rem auto;
    max-width: 680px;
    text-align: left;
    border-radius: 0 8px 8px 0;
    background: rgba(5, 150, 105, 0.05);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.experience-badge .number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-emerald);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    color: var(--text-main);
}

/* Scale Section */
.scale {
    background: transparent;          /* Section trong suốt, dùng nền gradient toàn trang */
    position: relative;
    text-align: center;
    padding: 0;                        /* Không padding ngoài — content-overlay tự quản lý */
}

.scale-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 12px;
    transition: var(--trans-smooth);
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(224, 62, 42, 0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 4rem;
    color: var(--accent-emerald);
    margin-bottom: 1rem;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    color: var(--text-main);
    font-weight: 500;
}

/* === Quy Mô: Cert Photo === */
.scale-cert-photo {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.scale-cert-photo > img {
    width: 100%;
    height: auto;
    display: block;
}

/* === Overlay nằm phía trên ảnh (absolute, gradient trắng mờ ở trên cùng) === */
.scale-content-overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 5;
    padding: 3rem 0;
    /* Gradient mờ dần từ trên xuống, chiếm 45% chiều cao để đọc chữ, lộ rõ chứng nhận ở dưới */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.85) 45%,
        rgba(255, 255, 255, 0) 100%
    );
    text-align: center;
    line-height: 1.6;
}

/* Caption chân ảnh */
.scale-cert-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 10%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
    z-index: 5;
    line-height: 1.6;
}

.scale-cert-caption span {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* === Triết lý vận hành 4 yếu tố (Câu chuyện) === */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* 4 cột đều nhau — 1 hàng ngang */
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.philosophy-card {
    display: flex;
    flex-direction: column;        /* Xếp dọc: top header → desc */
    align-items: center;           /* Căn giữa theo chiều ngang */
    text-align: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 16px;
    padding: 1.3rem 1rem 1.2rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.35s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* Hàng trên: icon + rank + name căn giữa */
.philosophy-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.philosophy-icon {
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.philosophy-rank {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-emerald);
    line-height: 1.3;
}

.philosophy-name {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Mô tả nằm dưới, căn giữa */
.philosophy-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    text-align: center;
}

/* === Quy Mô: Stat Bar nằm dưới ảnh === */
.scale-stats-bar {
    background: rgba(255, 255, 255, 0.92);
    padding: 2rem 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.88);
}

.products-header {
    text-align: center;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--trans-smooth);
    box-shadow: var(--shadow-premium);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.product-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.badge-premium {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-gold);
    color: #fff;
    padding: 0.5rem 1.25rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 30px;
}

/* Nút ▶ Video trên ảnh sản phẩm */
.card-video-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    letter-spacing: 0.05em;
}

/* Badge "f Facebook" trên ảnh bài viết */
.fb-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: #1877F2;
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 18px;
    letter-spacing: 0.04em;
}

.product-info {
    padding: 3rem;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-emerald);
}

.product-info p {
    color: var(--text-muted);
}

/* ===================== CAROUSEL ===================== */
.product-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.product-carousel {
    flex: 1;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-slide {
    min-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

/* Card sản phẩm trong carousel */
.carousel-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 420px;
}

.carousel-card-img {
    height: 100%;
    min-height: 350px;
    overflow: hidden;
    position: relative;
}

.carousel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.carousel-card:hover .carousel-card-img img {
    transform: scale(1.04);
}

.carousel-card-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.carousel-card-body h3 {
    font-size: 1.8rem;
    color: var(--accent-emerald);
    margin-bottom: 0.5rem;
}

.carousel-card-body p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
    white-space: pre-line;
}

.carousel-card-body .card-price {
    font-weight: 600;
    color: var(--accent-gold);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.carousel-card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-main);
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.carousel-btn:hover {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dot.active {
    background: var(--accent-gold);
    transform: scale(1.3);
}

/* ===================== BLOG ===================== */
.blog {
    padding: 5rem 0;
    background: rgba(255,255,255,0.88);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.8rem;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-tag {
    background: rgba(98, 184, 77, 0.1);
    color: var(--accent-gold);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    line-height: 1.4;
}

.blog-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

/* ===================== MODAL ===================== */
.article-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.article-modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.article-modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    z-index: 1;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: sticky;
    top: 1rem;
    float: right;
    margin: 1rem 1rem 0 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.08);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text-main);
    transition: background 0.2s;
    z-index: 2;
}

.modal-close:hover { background: rgba(0,0,0,0.15); }

.modal-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.modal-body {
    padding: 2.5rem;
}

.modal-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--text-main);
}

.modal-text {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1.05rem;
}

.modal-text p { margin-bottom: 1.2rem; }

.modal-share {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-share p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}





/* Contact Section */
.contact {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.88);
}

/* Serif elegant header for contact section - Solution 2 */
.contact .section-title {
    font-family: var(--font-serif);
    color: #0b132b; /* Dark Navy */
    text-transform: none;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 0.8rem;
}

.contact .section-subtitle {
    font-family: var(--font-sans);
    color: #475569; /* Dark Gray */
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 0.6rem;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.contact-info {
    padding: 3rem 4rem;
    background: rgba(15, 23, 42, 0.01); /* Dark Navy tint, cực kỳ mờ */
}

/* ---- Clean Contact List - Solution 1 & 3 ---- */
.contact-info-wrap {
    padding: 0;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.clean-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem; /* Giải phóng không gian */
}

.clean-contact-list li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.04); /* Đường kẻ nét liền siêu nhạt */
    padding-bottom: 1.5rem;
}

.clean-contact-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.clean-contact-list .icon {
    font-size: 1.3rem;
    margin-top: 0;
    flex-shrink: 0;
}

.clean-contact-list .text-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left; /* Gióng thẳng lề trái tuyệt đối */
}

.clean-contact-list .label {
    font-weight: 700;
    color: #475569; /* Tiêu đề phụ: màu xám đậm */
    font-size: 12px; /* Tiêu đề phụ: in hoa, size nhỏ (12px), in đậm */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-align: left; /* Căn lề trái tuyệt đối */
}

.clean-contact-list .value {
    color: #1e293b; /* Nội dung: chữ thường, size to hơn (16px), màu xanh đen thẫm */
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    text-decoration: none;
    text-wrap: balance;
}

.clean-contact-list .badge {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}

/* Link liên kết trong phần thông tin */
.contact-link {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: none; /* Bỏ hẳn đường kẻ chấm đứt */
    text-wrap: balance;
}

.contact-link:hover {
    color: #1b4332; /* Xanh lá đậm trầm tĩnh */
    text-decoration: underline; /* Dùng gạch chân mặc định khi di chuột */
}

/* ---- Form Liên Hệ - Solution 4 ---- */
.contact-form {
    padding: 4rem;
    background: #fff;
}

.contact-form h3 {
    font-family: var(--font-serif); /* Font serif sang trọng */
    color: #0b132b;
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 1rem;
    background: #F9FAF8;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    border-radius: 5px; /* Bo góc nhẹ 5px thay vì bo tròn nhiều */
    transition: var(--trans-smooth);
}

.contact-form .btn-primary {
    background: #1b4332; /* Xanh lá đậm trầm tĩnh làm màu chủ đạo */
    color: #fff;
    border-radius: 5px; /* Bo góc nhẹ 5px */
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--trans-smooth);
}

.contact-form .btn-primary:hover {
    background: #123023; /* Đậm hơn khi di chuột */
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(27, 67, 50, 0.15);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-emerald);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(224, 62, 42, 0.1);
}

.w-100 {
    width: 100%;
}

/* Footer */
/* ===== Partners Section ===== */
.partners-section {
    padding: 3rem 0;
    background: rgba(255,255,255,0.88);
    overflow: hidden;
}

.partners-marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-marquee {
    display: flex;
    width: 100%;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 0;
    animation: marquee-scroll 22s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;   /* Dừng khi hover */
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    border-right: 1px solid rgba(0,0,0,0.07);
    flex-shrink: 0;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.partner-logo-item img {
    height: 50px;
    max-width: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-logo-item:hover img {
    transform: scale(1.05);
}

.partner-logo-item:hover {
    filter: grayscale(0);
}

.partner-text-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.8;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-logo-item:hover .partner-text-logo {
    opacity: 1;
    transform: scale(1.05);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 3rem 0 1.5rem;
    color: rgba(255,255,255,0.85);
}

/* Kết nối xã hội */
.footer-social {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-social-title {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 1.4rem;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 80px;
}

.social-link svg {
    width: 28px;
    height: 28px;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.social-fb       { background: #1877F2; }
.social-zalo     { background: #0068FF; }
.social-tiktok   { background: #010101; }
.social-yt       { background: #FF0000; }
.social-shopee   { background: #EE4D2D; }
.social-email    { background: #34A853; }

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0 0 2rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    flex-wrap: wrap;
}

.footer-logo-wrap img {
    opacity: 0.9;
    filter: brightness(1.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ===== Floating Contact Plugin ===== */
.float-contact {
    position: fixed;
    left: 20px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.float-contact.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.float-contact-inner {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 1rem 0.65rem 0.75rem;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    max-width: 200px;
    overflow: hidden;
}

.float-btn:hover {
    transform: scale(1.05) translateX(4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

.float-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-btn-icon svg {
    width: 18px;
    height: 18px;
}

.float-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.float-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.85;
}

.float-number {
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
}

.float-phone     { background: linear-gradient(135deg, #22c55e, #16a34a); }
.float-messenger { background: linear-gradient(135deg, #0099ff, #a855f7); }
.float-zalo      { background: linear-gradient(135deg, #0068FF, #0050CC); }


/* Animations (Simplified to prevent visibility bugs) */
.fade-up, .slide-in-left, .slide-in-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible, .slide-in-left.visible, .slide-in-right.visible {
    opacity: 1;
    transform: none;
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================================
   RESPONSIVE - Tablet (max-width: 1200px)
   ========================================== */
@media (max-width: 1200px) {
    .container {
        padding-left: 180px;
    }
}

/* ==========================================
   RESPONSIVE - Tablet/Mobile (max-width: 992px)
   ========================================== */
@media (max-width: 992px) {
    /* Reset layout - no sidebar offset */
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Logo - smaller on tablet */
    .top-logo {
        top: 15px;
        left: 15px;
    }
    .top-logo img {
        height: 70px;
    }

    /* Sidebar -> Bottom Floating Bar */
    .side-nav {
        top: auto;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        max-width: 500px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        border: 1px solid rgba(255,255,255,0.6);
    }
    .side-nav .nav-links {
        flex-direction: row;
        justify-content: space-around;
        gap: 0;
        padding: 8px 6px;
    }
    .side-nav .nav-links a {
        font-size: 0.65rem;
        padding: 0.5rem 0.55rem;
        box-shadow: none;
        border: none;
        border-radius: 12px;
        letter-spacing: 0.5px;
        text-align: center;
        white-space: nowrap;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .side-nav .nav-links a:hover {
        transform: none;
        background: rgba(0,0,0,0.04);
    }
    .side-nav .nav-links a.active {
        transform: none;
        border: none;
        border-left: none;
    }
    .side-nav .nav-links li:nth-child(1) a.active {
        background: linear-gradient(135deg, rgba(74, 158, 56, 0.9), rgba(109, 184, 77, 0.95));
        box-shadow: 0 2px 8px rgba(74, 158, 56, 0.3);
    }
    .side-nav .nav-links li:nth-child(2) a.active {
        background: linear-gradient(135deg, rgba(158, 201, 74, 0.9), rgba(200, 212, 74, 0.95));
        box-shadow: 0 2px 8px rgba(158, 201, 74, 0.3);
    }
    .side-nav .nav-links li:nth-child(3) a.active {
        background: linear-gradient(135deg, rgba(212, 168, 58, 0.9), rgba(212, 129, 58, 0.95));
        box-shadow: 0 2px 8px rgba(212, 168, 58, 0.3);
    }
    .side-nav .nav-links li:nth-child(4) a.active {
        background: linear-gradient(135deg, rgba(212, 95, 48, 0.9), rgba(212, 72, 40, 0.95));
        box-shadow: 0 2px 8px rgba(212, 95, 48, 0.3);
    }
    .side-nav .nav-links li:nth-child(5) a.active {
        background: linear-gradient(135deg, rgba(200, 56, 32, 0.9), rgba(184, 46, 26, 0.95));
        box-shadow: 0 2px 8px rgba(200, 56, 32, 0.3);
    }
    .side-nav .nav-links li:nth-child(6) a.active {
        background: linear-gradient(135deg, rgba(160, 36, 21, 0.9), rgba(128, 24, 12, 0.95));
        box-shadow: 0 2px 8px rgba(160, 36, 21, 0.3);
    }
    .side-nav .nav-links li:nth-child(7) a.active {
        background: linear-gradient(135deg, rgba(128, 24, 12, 0.9), rgba(96, 16, 8, 0.95));
        box-shadow: 0 2px 8px rgba(128, 24, 12, 0.3);
    }

    /* Section titles */
    .section-title {
        font-size: 2.4rem;
        line-height: 1.25;
        letter-spacing: 0.04em;
    }

    /* About grid */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .experience-badge {
        right: 20px;
        bottom: -20px;
        width: 120px !important;
        height: 120px !important;
    }

    /* Scale stats & mobile flex stack for certificates */
    .scale-cert-photo {
        display: flex;
        flex-direction: column;
    }
    .scale-cert-photo > img {
        order: 2;
    }
    .scale-content-overlay {
        position: relative;
        order: 1;
        padding: 2.5rem 1.5rem;
        background: #ffffff;
    }
    .scale-cert-caption {
        position: relative;
        order: 3;
        background: rgba(0, 0, 0, 0.85);
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.4rem;
        font-size: 0.75rem;
    }
    .scale-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .scale-stats-bar {
        padding: 2rem 0;
    }
    .philosophy-grid {
        grid-template-columns: 1fr 1fr;  /* 2 cột trên phone cỡ trung */
    }

    /* Contact */
    .contact-box {
        grid-template-columns: 1fr;
    }
    .contact-info {
        padding: 2.5rem 2rem;
    }
    .contact-form {
        padding: 2.5rem 2rem;
    }
    .contact-list strong {
        min-width: auto;
        display: block;
        margin-bottom: 0.25rem;
    }

    /* Add bottom padding for bottom nav bar */
    .footer {
        padding-bottom: 5rem;
    }

    /* Responsive Carousel Product Cards */
    .carousel-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .carousel-card-img {
        min-height: 250px;
        height: 250px;
    }
    .carousel-card-body {
        padding: 2rem 1.5rem;
    }
    .carousel-card-body h3 {
        font-size: 1.4rem;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    #backToTop {
        bottom: 140px;
        right: 16px;
    }
    .float-contact {
        bottom: 140px;
        left: 16px;
    }
}

/* ==========================================
   RESPONSIVE - Phone (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {
    /* Logo even smaller */
    .top-logo img {
        height: 55px;
    }

    /* Section titles */
    .section-title {
        font-size: 2rem;
        line-height: 1.25;
        letter-spacing: 0.03em;
    }
    .section-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
        line-height: 1.4;
    }

    /* Intro section */
    .intro {
        padding: 4rem 0;
    }
    .intro .section-title {
        font-size: 2.5rem !important;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    /* About section */
    .about {
        padding: 5rem 0;
    }
    .philosophy-grid {
        grid-template-columns: 1fr 1fr;   /* 2 cột trên tablet */
    }

    /* Scale section */
    .scale {
        padding: 0;
    }
    .stat-card {
        padding: 2rem 1.5rem;
    }
    .stat-number {
        font-size: 3rem;
    }

    /* Products */
    .products {
        padding: 5rem 0;
    }
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .product-img {
        height: 250px;
    }
    .product-info {
        padding: 2rem;
    }
    .product-info h3 {
        font-size: 1.5rem;
    }

    /* Contact */
    .contact {
        padding: 4rem 0;
    }
    .contact-info, .contact-form {
        padding: 2rem 1.5rem;
    }
    .contact-list li {
        font-size: 0.95rem;
    }

    /* Scroll indicator */
    .scroll-indicator {
        bottom: 30px;
        right: 20px;
    }
    .mouse {
        width: 28px;
        height: 44px;
    }
    .scroll-indicator::after {
        font-size: 0.65rem;
    }

    /* Bottom nav bar */
    .side-nav {
        bottom: 10px;
        width: 98%;
    }
    .side-nav .nav-links {
        padding: 6px 4px;
    }
    .side-nav .nav-links a {
        font-size: 0.55rem;
        padding: 0.45rem 0.4rem;
        letter-spacing: 0;
    }
}

/* ==========================================
   RESPONSIVE - Small Phone (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .top-logo img {
        height: 45px;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        letter-spacing: 0.02em;
    }

    .intro .section-title {
        font-size: 2rem !important;
    }

    .about-grid {
        gap: 2rem;
    }

    .product-info {
        padding: 1.5rem;
    }

    .contact-info, .contact-form {
        padding: 1.5rem 1rem;
    }

    .side-nav .nav-links a {
        font-size: 0.5rem;
        padding: 0.4rem 0.3rem;
    }
}

/* ===== Back-to-Top Button ===== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 24px;
    z-index: 9998;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
}

#backToTop.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#backToTop:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.4);
    transform: translateY(-3px);
}

#backToTop svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

/* Custom Shipping Notice Badge */
.shipping-notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(98, 184, 77, 0.06);
    border: 1px dashed rgba(98, 184, 77, 0.25);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    margin-top: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.shipping-notice-badge:hover {
    background: rgba(98, 184, 77, 0.1);
    border-color: rgba(98, 184, 77, 0.4);
    transform: translateY(-1px);
}

.shipping-notice-badge .badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1b4332;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.shipping-notice-link {
    color: var(--accent-emerald);
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.shipping-notice-link:hover {
    color: var(--accent-gold-hover);
    opacity: 0.9;
}

/* ===== Shipping Calculator Section ===== */
.shipping-section {
    padding: 3rem 0; /* Giảm bớt khoảng cách theo feedback của user */
    position: relative;
    z-index: 10;
}

.shipping-calc {
    max-width: 650px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    position: relative;
}

.shipping-calc-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 1.25rem;
}

.shipping-logo {
    width: 50px;
    height: 50px;
    background: rgba(98, 184, 77, 0.1); /* Màu logo leaf green */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.shipping-logo svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.shipping-calc-header h3 {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.shipping-calc-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

.shipping-setup-notice {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #b45309;
    text-align: left;
}

.shipping-setup-notice a {
    color: #d97706;
    text-decoration: underline;
    font-weight: 600;
}

.shipping-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.shipping-from, .shipping-to, .shipping-weight-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.shipping-from label, .shipping-to label, .shipping-weight-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.shipping-address-box {
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.shipping-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: bold;
    margin: -0.25rem 0;
}

.shipping-to {
    position: relative;
}

.shipping-to input {
    width: 100%;
    padding: 1rem;
    background: #F9FAF8;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    border-radius: 8px;
    transition: var(--trans-smooth);
}

.shipping-to input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(98, 184, 77, 0.15);
}

.shipping-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 4px;
    display: none;
}

.suggestion-loading, .suggestion-item {
    padding: 0.88rem 1.25rem;
    font-size: 0.92rem;
}

.suggestion-loading {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

.suggestion-item {
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.2s ease;
    color: var(--text-main);
    text-align: left;
}

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

.suggestion-item:hover {
    background: #f1f5f9;
}

.shipping-weight-group select {
    width: 100%;
    padding: 1rem;
    background: #F9FAF8;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    border-radius: 8px;
    transition: var(--trans-smooth);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
}

.shipping-weight-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(98, 184, 77, 0.15);
}

.shipping-calc-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--trans-smooth);
    box-shadow: 0 4px 12px rgba(98, 184, 77, 0.2);
}

.shipping-calc-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(98, 184, 77, 0.35);
}

.shipping-calc-btn:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.shipping-calc-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.shipping-result {
    margin-top: 1.5rem;
}

.shipping-result-card {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
}

.shipping-result-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.shipping-result-service {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.shipping-result-fee {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-emerald); /* Dùng màu đỏ cam làm nổi bật phí */
}

.shipping-result-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 0.75rem;
}

.shipping-fallback {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 1.25rem;
}

.shipping-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.shipping-table th, .shipping-table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.shipping-table th {
    font-weight: 600;
    color: var(--text-main);
}

.shipping-table td {
    color: var(--text-muted);
}

.shipping-table tbody tr:last-child td {
    border-bottom: none;
}

.shipping-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: #b91c1c;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
}

.shipping-error a {
    color: #ef4444;
    font-weight: 600;
}

.shipping-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.shipping-note a {
    color: var(--accent-emerald);
    font-weight: 600;
}

/* Spinner */
.shipping-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: shipping-rotation 1s linear infinite;
}

@keyframes shipping-rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .shipping-calc {
        padding: 1.5rem;
    }
    .shipping-result-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ===== Auth & Profile Modal Styles ===== */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid rgba(0,0,0,0.06);
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.auth-tab-btn {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--trans-smooth);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.auth-tab-btn:hover {
    color: var(--accent-gold);
}

.auth-tab-btn.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.auth-form-view {
    display: none;
}

.auth-form-view.active {
    display: block;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: block;
}

.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 1rem;
    background: #F9FAF8;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    border-radius: 8px;
    transition: var(--trans-smooth);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(98, 184, 77, 0.15);
}

.auth-options a {
    text-decoration: none;
    transition: color 0.2s;
}

.auth-options a:hover {
    color: var(--accent-gold-hover) !important;
}

/* Profile styles */
.profile-avatar {
    box-shadow: 0 4px 12px rgba(98, 184, 77, 0.15);
    border: 2px solid rgba(98, 184, 77, 0.2) !important;
}

.profile-info-item {
    transition: background 0.2s;
}

.profile-info-item:hover {
    background: rgba(0, 0, 0, 0.01);
}

/* Orders List */
.order-history-card {
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-history-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
}

.order-history-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.order-history-card-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    background: rgba(98, 184, 77, 0.1);
    color: var(--accent-gold);
}

.order-history-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Top Auth Container */
.top-auth-container {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 1000;
}

.top-auth-container .auth-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    color: var(--text-main);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
}

.top-auth-container .auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #fff;
    border-color: var(--accent-gold);
    color: var(--accent-gold-hover);
}

@media (max-width: 992px) {
    .top-auth-container {
        top: 15px;
        right: 15px;
    }
    .top-auth-container .auth-btn {
        padding: 0.5rem 0.88rem;
        font-size: 0.75rem;
    }
}

/* Custom styling override for Cart badge in Top Auth Header */
.top-auth-container #cartCount {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: var(--accent-emerald) !important;
    color: #fff !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 50px !important;
    line-height: 1 !important;
    display: none;
    box-shadow: 0 2px 5px rgba(224, 62, 42, 0.4);
    animation: pulse 2s infinite;
    z-index: 10;
}

/* ============================================================
   BẢO VỆ BẢN QUYỀN HÌNH ẢNH & VIDEO + NÚT ÂM LƯỢNG
   ============================================================ */

/* Lớp phủ chặn tương tác chuột phải / kéo thả trực tiếp lên video hero */
.video-shield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Nằm trên video (z-index: 0) nhưng dưới các nội dung khác */
    background: transparent;
    pointer-events: auto; /* Kích hoạt nhận sự kiện chuột để bảo vệ */
}

/* Nút bật/tắt âm thanh tinh tế góc dưới bên phải */
.volume-toggle-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 0;
}

.volume-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.08);
}

.volume-toggle-btn:active {
    transform: scale(0.95);
}

.volume-toggle-btn svg {
    width: 20px;
    height: 20px;
    transition: color 0.3s ease;
}

/* Chống lưu kéo thả đối với mọi ảnh và video */
img, video {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Làm mờ hình ảnh và video khi mất tiêu điểm trình duyệt (chống chụp màn hình/quay phim bằng phần mềm ngoài) */
body.window-blurred img,
body.window-blurred video,
body.window-blurred iframe {
    filter: blur(25px) !important;
    pointer-events: none !important;
    transition: filter 0.15s ease-out;
}

/* ============================================================
   HỆ SINH THÁI TABS STYLING
   ============================================================ */
.ecosystem-tabs .tab-btn {
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.ecosystem-tabs .tab-btn:hover {
    border-color: var(--accent-emerald);
    color: var(--accent-emerald);
}

.ecosystem-tabs .tab-btn.active {
    background: var(--accent-emerald);
    border-color: var(--accent-emerald);
    color: #fff;
    box-shadow: 0 4px 15px rgba(98, 184, 77, 0.25);
}

.tab-pane {
    animation: tabFadeIn 0.5s ease;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Floating Shipping Button for Products page */
.shipping-float-btn {
    position: fixed;
    bottom: 30px;
    right: 24px;
    z-index: 9997;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.shipping-float-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(27, 67, 50, 0.35);
    background: linear-gradient(135deg, #2d6a4f, #1b4332);
    color: #fff;
}

@media (max-width: 768px) {
    .shipping-float-btn {
        bottom: 80px; /* Đặt phía trên thanh điều hướng dưới để tránh bị che */
        right: 16px;
        padding: 0.65rem 1.1rem;
        font-size: 0.82rem;
    }
}

/* ===== Solutions Section ===== */
.solutions {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 10;
}

.solutions-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.solutions-tabs {
    display: flex;
    gap: 1rem;
    background: rgba(27, 67, 50, 0.05);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(27, 67, 50, 0.08);
}

.sol-tab-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.sol-tab-btn.active {
    background: #1b4332; /* Xanh lá đậm trầm */
    color: #fff;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.2);
}

.solutions-content {
    display: none;
    animation: tabFadeIn 0.5s ease forwards;
}

.solutions-content.active {
    display: block;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 3.5rem;
    align-items: center;
}

.solutions-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--glass-border);
}

.sol-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.solutions-media:hover .sol-img {
    transform: scale(1.03);
}

.sol-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #1b4332;
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.solutions-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.sol-intro h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 0.8rem;
    line-height: 1.35;
}

.sol-intro p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.sol-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sol-checklist li {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 1.2rem;
}

.sol-checklist li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sol-block {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}

.sol-pain-row {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.sol-pain-badge {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
    flex-shrink: 0;
}

.sol-solution-row {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.sol-icon-container {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(27, 67, 50, 0.06);
    color: #1b4332;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sol-block:hover .sol-icon-container {
    background: #1b4332;
    color: #ffffff;
    transform: scale(1.06);
}

.sol-icon-svg {
    width: 18px;
    height: 18px;
    display: block;
}

.sol-detail {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pain-text {
    color: #64748b; /* Muted Slate */
    font-size: 0.9rem;
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.4);
    line-height: 1.4;
}

.solution-text {
    color: #1e293b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.solution-text strong {
    color: #1b4332; /* Highlight Green */
    font-weight: 700;
}

/* Responsive Solutions */
@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .sol-img {
        min-height: 300px;
        max-height: 350px;
    }
    .sol-tab-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}
