/* ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLING FOR TENGEN VIETNAM (tengenvietnam.com)
   ========================================================================== */

/* 1. IMPORT GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* 2. DESIGN TOKENS (VARIABLES) */
:root {
    /* Brand Colors */
    --color-primary: #1e9084;       /* Tengen Green */
    --color-primary-dark: #166f65;  /* Darker shade of Tengen Green */
    --color-primary-light: #e9f7f5; /* Very light green for highlights */
    --color-primary-rgb: 30, 144, 132;
    
    --color-secondary: #5e6e7d;     /* Tengen Lettering Gray */
    --color-secondary-light: #cbd5e1;
    
    /* Tech & Slate Colors */
    --color-dark: #0f172a;          /* Slate 900 */
    --color-dark-light: #1e293b;    /* Slate 800 */
    --color-dark-deep: #0b0f19;     /* Dark Tech Navy Background */
    --color-text-main: #334155;     /* Slate 700 */
    --color-text-muted: #64748b;    /* Slate 500 */
    --color-light: #f8fafc;         /* Slate 50 */
    --color-light-border: #e2e8f0;  /* Slate 200 */
    
    /* Accents */
    --color-accent-blue: #0ea5e9;   /* Cyan / Tech Blue */
    --color-accent-amber: #ea580c;  /* Orange/Amber for warning/alerts */
    
    --font-primary: 'Be Vietnam Pro', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout Details */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.07);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(30, 144, 132, 0.25);
    
    /* Transition speed */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* 3. BASE STYLING & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: #ffffff;
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Common Text Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-green {
    background: linear-gradient(135deg, #25ab9d 0%, #135c54 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 4. PREMIUM GLASSMORPHISM HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-light-border);
    box-shadow: var(--shadow-sm);
}

.header.scrolled-dark {
    height: 70px;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #166f65 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    font-weight: 800;
    color: #ffffff;
    font-size: 20px;
    font-family: var(--font-heading);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.header-dark .logo-text {
    color: #ffffff;
}

.logo-text span.sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-top: 2px;
    text-transform: uppercase;
}

.header-dark .logo-text span.sub {
    color: var(--color-secondary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-main);
    padding: 8px 0;
    position: relative;
}

.header-dark .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.header-dark.scrolled-dark .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}

.toggle-caret {
    font-size: 11px;
    margin-left: 4px;
    transition: var(--transition-smooth);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-sm);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1002;
}

.header-dark .dropdown-menu {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-main);
    transition: var(--transition-fast);
    text-align: left;
}

.header-dark .dropdown-menu li a {
    color: rgba(255, 255, 255, 0.8);
}

.dropdown-menu li a:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

.header-dark .dropdown-menu li a:hover {
    background-color: rgba(30, 144, 132, 0.15);
    color: var(--color-primary);
}

/* Hover behaviors for Desktop */
@media (min-width: 1201px) {
    .has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .has-dropdown:hover .toggle-caret {
        transform: rotate(180deg);
    }
}

/* Mega Menu Desktop Styling */
@media (min-width: 1201px) {
    .has-mega-menu {
        position: static !important;
    }
    
    .mega-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--color-light-border);
        border-bottom: 4px solid var(--color-primary);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        z-index: 1002;
        padding: 40px 0;
    }
    
    .header-dark .mega-menu {
        background: rgba(15, 23, 42, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .has-mega-menu:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .mega-menu-container {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 30px;
    }
    
    .mega-menu-col h4 {
        font-size: 14px;
        font-weight: 700;
        color: var(--color-dark);
        margin-bottom: 15px;
        font-family: var(--font-heading);
        border-bottom: 2px solid var(--color-primary-light);
        padding-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .header-dark .mega-menu-col h4 {
        color: #ffffff;
        border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    }
    
    .mega-menu-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mega-menu-col ul li {
        margin-bottom: 8px;
    }
    
    .mega-menu-col ul li a {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: var(--color-text-main);
        transition: var(--transition-fast);
        text-align: left;
    }
    
    .header-dark .mega-menu-col ul li a {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .mega-menu-col ul li a:hover {
        color: var(--color-primary);
        transform: translateX(4px);
    }
}


.btn-contact-header {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(30, 144, 132, 0.3);
    transition: var(--transition-smooth);
}

.btn-contact-header:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 144, 132, 0.4);
}

.nav-link,
.btn-contact-header {
    white-space: nowrap;
}

/* Intermediate Desktop Screen Optimization */
@media (max-width: 1366px) {
    .nav-menu {
        gap: 10px;
    }
    .nav-link {
        font-size: 13.5px;
    }
    .logo-text {
        font-size: 19px;
    }
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
    .btn-contact-header {
        padding: 8px 14px;
        font-size: 13px;
    }
    .nav-contact-icons {
        gap: 6px;
    }
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--color-dark);
    transition: var(--transition-smooth);
}

.header-dark .mobile-menu-toggle span {
    background-color: #ffffff;
}

/* Mobile responsive menu */
@media (max-width: 1200px) {
    .header {
        background-color: #ffffff !important;
        box-shadow: var(--shadow-sm);
        border-bottom: 1px solid var(--color-light-border);
    }
    
    .header-dark {
        background-color: var(--color-dark-deep) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle.active span {
        background-color: var(--color-dark) !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--color-dark) !important;
        font-size: 18px;
        width: 100%;
        display: block;
    }
    
    .btn-contact-header {
        margin-top: 16px;
        width: 100%;
        text-align: center;
    }
    
    /* Hamburger animation to X */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Mobile responsive dropdowns */
    .has-dropdown {
        width: 100%;
    }
    
    .has-dropdown > .nav-link {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .has-dropdown .dropdown-menu {
        position: static;
        transform: none !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 0 0 15px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        display: none;
    }
    
    .has-dropdown.active-dropdown .dropdown-menu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        display: block;
    }
    
    .has-dropdown.active-dropdown .toggle-caret {
        transform: rotate(180deg);
    }
    
    .dropdown-menu li a {
        padding: 8px 10px;
        font-size: 15px;
        color: var(--color-text-muted) !important;
    }
    
    .dropdown-menu li a:hover {
        background: transparent;
        color: var(--color-primary) !important;
    }

    /* Mobile responsive Mega Menu */
    .has-mega-menu .mega-menu {
        position: static;
        transform: none !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 0 0 15px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        display: none;
    }
    
    .has-mega-menu.active-dropdown .mega-menu {
        max-height: 2000px;
        opacity: 1;
        visibility: visible;
        display: block;
    }
    
    .mega-menu-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 10px 0;
    }
    
    .mega-menu-col h4 {
        font-size: 14px;
        font-weight: 700;
        color: var(--color-dark);
        margin-bottom: 8px;
        font-family: var(--font-heading);
        text-transform: uppercase;
        border-bottom: 1px solid var(--color-light-border);
        padding-bottom: 4px;
    }
    
    .header-dark .mega-menu-col h4 {
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .mega-menu-col ul {
        list-style: none;
        padding: 0 0 0 10px;
    }
    
    .mega-menu-col ul li {
        margin-bottom: 6px;
    }
    
    .mega-menu-col ul li a {
        display: block;
        font-size: 14px;
        color: var(--color-text-muted) !important;
        padding: 4px 0;
    }
    
    .mega-menu-col ul li a:hover {
        color: var(--color-primary) !important;
    }
}

/* 5. HERO SECTION WITH GLOWING TECH GRADIENTS */
.hero {
    background-color: var(--color-dark-deep);
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 144, 132, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
}

.hero-content {
    color: var(--color-dark);
    z-index: 5;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(30, 144, 132, 0.08);
    border: 1px solid rgba(30, 144, 132, 0.2);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--color-dark);
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }
}

.hero-description {
    font-size: 18px;
    color: var(--color-text-main);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-actions {
    display: flex;
    gap: 16px;
}

@media (max-width: 992px) {
    .hero-actions {
        justify-content: center;
    }
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(30, 144, 132, 0.35);
    display: inline-block;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 144, 132, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.hero-slider-section .btn-secondary {
    color: var(--color-dark);
    border: 1.5px solid var(--color-secondary-light);
}

.hero-slider-section .btn-secondary:hover {
    background-color: rgba(30, 144, 132, 0.05);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* Hero graphic mockup */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    border-radius: var(--border-radius-lg);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7) 0%, rgba(241, 245, 249, 0.9) 100%);
    border: 1.5px solid rgba(30, 144, 132, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md), inset 0 0 40px rgba(30, 144, 132, 0.05);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.hero-svg-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

.hero-product-preview {
    z-index: 2;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    width: 88%;
    height: 88%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.hero-product-preview:hover {
    transform: scale(1.03);
}

.hero-product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(15, 23, 42, 0.08));
    transition: transform 0.5s ease;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* 6. CORE VALUE & INTRODUCTION */
.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-dark);
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }
}

.section-description {
    color: var(--color-text-muted);
    font-size: 16px;
    margin-top: 16px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.intro-content p {
    color: var(--color-text-main);
    font-size: 17px;
    margin-bottom: 24px;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    background-color: var(--color-light);
    border: 1px solid var(--color-light-border);
    padding: 24px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 144, 132, 0.3);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-main);
    font-weight: 600;
}

.stat-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* 7. SOLUTIONS / AREAS SECTION */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

.solution-card {
    background: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-md);
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent-blue) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    transition: var(--transition-smooth);
}

.solution-card:hover .solution-icon-box {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: scale(1.05);
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.solution-card p {
    color: var(--color-text-muted);
    font-size: 15px;
    flex-grow: 1;
    margin-bottom: 24px;
}

.solution-link {
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.solution-link i {
    transition: var(--transition-smooth);
}

.solution-card:hover .solution-link i {
    transform: translateX(5px);
}

/* 8. PRODUCTS LIST & SHARP PRODUCT CARDS */
.bg-light-section {
    background-color: var(--color-light);
}

/* Filter controls style */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    color: var(--color-text-main);
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 14px;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(30, 144, 132, 0.25);
}

.search-bar-container {
    max-width: 500px;
    margin: -20px auto 48px;
    position: relative;
    box-shadow: var(--shadow-sm);
    border-radius: 100px;
    overflow: hidden;
    border: 1px solid var(--color-light-border);
}

.search-input {
    width: 100%;
    padding: 14px 24px;
    padding-right: 60px;
    background-color: #ffffff;
    font-size: 15px;
}

.search-btn {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50px;
    background-color: var(--color-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition-smooth);
}

.search-btn:hover {
    background-color: var(--color-primary-dark);
}

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 144, 132, 0.3);
}

.product-image-box {
    position: relative;
    padding: 24px;
    background-color: var(--color-light);
    aspect-ratio: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Fallback product graphic built with SVG if image lacks */
.product-image-fallback {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light-border);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-muted);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-model {
    font-size: 13px;
    color: var(--color-text-muted);
    font-family: monospace;
    background-color: var(--color-light);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
}

.product-desc-snippet {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--color-light-border);
    padding-top: 16px;
    margin-top: auto;
}

.product-price-contact {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent-amber);
}

.product-btn-detail {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-btn-detail:hover {
    color: var(--color-primary-dark);
}

/* Product grid empty state */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
    font-size: 18px;
}

/* 9. CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-method-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-method-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-method-info p {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.5;
}

.contact-form-box {
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
    .contact-form-box {
        padding: 24px;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background-color: var(--color-light);
    border: 1px solid var(--color-light-border);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--color-dark);
    transition: var(--transition-smooth);
}

.form-control:focus {
    background-color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 144, 132, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(30, 144, 132, 0.3);
}

.form-alert {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.form-alert.success {
    background-color: #def7ec;
    color: #03543f;
    border: 1px solid #bcf0da;
    display: block;
}

.form-alert.error {
    background-color: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #fabdbe;
    display: block;
}

/* Office branches visualization */
.branches-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.branch-card {
    flex: 1 1 500px;
    max-width: 585px;
    width: 100%;
    background-color: var(--color-light);
    border: 1px solid var(--color-light-border);
    padding: 30px;
    border-radius: var(--border-radius-md);
}

.branch-card h3 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

/* Map Iframe styling */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--color-light-border);
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 10. PREMIUM MODERN FOOTER */
.footer {
    background-color: var(--color-dark-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-brand-desc {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--color-primary);
    margin-top: 3px;
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* 11. PRODUCT DETAIL PAGE & MODAL VIEW */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 50px;
    align-items: start;
}

.detail-img-box {
    background-color: var(--color-light);
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-md);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1.1;
    position: sticky;
    top: 100px;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .detail-img-box {
        position: static;
    }
}


.detail-name {
    font-size: 32px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.detail-category {
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    margin-bottom: 12px;
}

.detail-model {
    font-family: monospace;
    font-size: 14px;
    background-color: var(--color-light);
    color: var(--color-dark);
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid var(--color-light-border);
}

.detail-section-title {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid var(--color-light-border);
    padding-bottom: 8px;
    margin: 32px 0 16px;
    position: relative;
}

.detail-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--color-primary);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.specs-table tr {
    border-bottom: 1px solid var(--color-light-border);
}

.specs-table th, .specs-table td {
    padding: 12px 16px;
    text-align: left;
}

.specs-table th {
    background-color: var(--color-light);
    color: var(--color-dark);
    font-weight: 600;
    width: 40%;
}

.specs-table td {
    color: var(--color-text-main);
}

.detail-description {
    color: var(--color-text-main);
    line-height: 1.7;
    font-size: 16px;
}

.product-cta-card {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #e9f7f5 100%);
    border: 1px solid rgba(30, 144, 132, 0.15);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.product-cta-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 144, 132, 0.25);
}

.product-cta-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.product-cta-indicator {
    width: 6px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 3px;
}

.product-cta-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
}

.product-cta-desc {
    font-size: 13.5px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.detail-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 210px;
    min-width: 210px;
    max-width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 12px rgba(30, 144, 132, 0.25);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 132, 0.35);
    color: #ffffff;
}

.btn-cta-zalo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 210px;
    min-width: 210px;
    max-width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0068ff 0%, #0056d6 100%);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.2);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-cta-zalo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.35);
    color: #ffffff;
}

.product-documents-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.document-download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #f1f5f9;
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-sm);
    color: var(--color-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.document-download-link:hover {
    border-color: var(--color-primary);
    background-color: rgba(30, 144, 132, 0.04);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
    .document-download-link {
        width: 100%;
        justify-content: center;
    }
}


/* 12. ADMIN INTERFACE SYSTEM */
.admin-login-body {
    background-color: var(--color-dark-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.admin-login-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
}

.admin-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent-blue) 100%);
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.admin-login-title {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.admin-login-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

/* Admin Dashboard layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--color-light);
}

.admin-sidebar {
    width: 260px;
    background-color: var(--color-dark);
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 24px 0;
}

.admin-sidebar-logo {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
}

.admin-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
}

.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: var(--transition-fast);
}

.admin-menu-link:hover, .admin-menu-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}

.admin-menu-link.active {
    background-color: var(--color-primary);
    color: #ffffff;
}

.admin-menu-link.logout {
    color: #f87171;
}

.admin-menu-link.logout:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

.admin-menu-separator {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

.admin-content {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto;
}

@media (max-width: 992px) {
    .admin-layout {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        height: auto;
        padding: 16px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }
    .admin-sidebar-logo {
        padding: 0;
        margin-bottom: 0;
        border-bottom: none;
    }
    .admin-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
    }
    .admin-menu li {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
    }
    .admin-menu-separator {
        margin-top: 0;
        border-top: none;
        padding-top: 0;
    }
    .admin-menu-link {
        padding: 8px 12px;
        font-size: 14px;
    }
    .admin-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .admin-sidebar {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .admin-sidebar-logo {
        margin-bottom: 4px;
    }
    .admin-menu {
        width: 100%;
        justify-content: center;
    }
}

.admin-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-light-border);
    padding-bottom: 20px;
}

.admin-page-title {
    font-size: 28px;
    font-family: var(--font-heading);
}

/* Admin Dashboard Table */
.admin-table-card {
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-table-container {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-light-border);
    font-size: 15px;
}

.admin-table th {
    background-color: var(--color-light);
    color: var(--color-dark);
    font-weight: 700;
}

.admin-table tbody tr:hover {
    background-color: #f8fafc;
}

.admin-table-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background-color: var(--color-light);
    border-radius: 4px;
    border: 1px solid var(--color-light-border);
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.btn-action.edit {
    background-color: #3b82f6;
}

.btn-action.edit:hover {
    background-color: #2563eb;
}

.btn-action.delete {
    background-color: #ef4444;
}

.btn-action.delete:hover {
    background-color: #dc2626;
}

/* Admin Form layout */
.admin-form-card {
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-md);
    padding: 40px;
    width: 100%;
    max-width: 1200px;
    box-shadow: var(--shadow-sm);
}

.specs-input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.btn-icon {
    background-color: var(--color-light-border);
    color: var(--color-dark);
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-icon.danger {
    background-color: #fee2e2;
    color: #ef4444;
}

.btn-icon:hover {
    filter: brightness(0.95);
}

/* Back button in admin */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 24px;
}

.btn-back:hover {
    color: var(--color-dark);
}

/* ==========================================================================
   8. HERO BANNER SLIDER DYNAMIC
   ========================================================================== */
.hero-slider-section {
    position: relative;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 50%, #e0f2fe 100%);
    min-height: 70vh;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--color-light-border);
}

.hero-slider {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 70vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
    padding-top: 80px; /* Chừa khoảng trống cho header */
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    position: relative; /* Đặt là relative để giữ chiều cao trong layout */
}

/* Slide backgrounds & gradients */
.slide::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 144, 132, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.slide::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.slide:nth-child(2)::before {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}

.slide:nth-child(3)::before {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Slider dots điều hướng */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.slider-dot:hover {
    background-color: rgba(15, 23, 42, 0.35);
}

.slider-dot.active {
    background-color: var(--color-primary);
    width: 30px;
    border-radius: 6px;
    border-color: rgba(15, 23, 42, 0.05);
}

/* Hiệu ứng hoạt ảnh xuất hiện chữ trong slide */
.slide.active .hero-tag {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}
.slide.active .hero-title {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}
.slide.active .hero-description {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}
.slide.active .hero-actions {
    animation: fadeInUp 0.6s ease-out 0.8s both;
}
.slide.active .hero-image-wrapper {
    animation: fadeInScale 0.8s ease-out 0.3s both;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .hero-slider-section, .hero-slider, .slide {
        min-height: auto;
        height: auto;
        padding-bottom: 80px;
    }
    .slider-dots {
        bottom: 20px;
    }
}

/* ==========================================================================
   9. PRODUCT CATEGORIES SHOWCASE
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    background: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent-blue) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-card:hover::before {
    opacity: 1;
}

.category-img-box {
    width: 140px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
    background-color: transparent;
}

.category-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img-box img {
    transform: scale(1.08);
}

.category-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.category-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
    line-height: 1.5;
}

.category-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.category-card:hover .category-link {
    color: var(--color-primary-dark);
    transform: translateX(4px);
}

/* ==========================================================================
   10. SOLUTIONS GRID 4 COLUMNS
   ========================================================================== */
.solutions-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .solutions-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .solutions-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   11. PRODUCTS CATALOG SIDEBAR & ACCORDION
   ========================================================================== */
.products-catalog-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 32px;
    margin-top: 30px;
    align-items: start;
}

.products-sidebar {
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 110px;
    z-index: 10;
    transition: var(--transition-smooth);
}

.sidebar-menu-title {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.sidebar-menu-title h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.sidebar-item-header {
    display: flex;
    align-items: center;
    padding: 14px 0;
    position: relative;
}

.sidebar-arrow {
    cursor: pointer;
    padding: 4px 8px;
    margin-right: 6px;
    color: var(--color-text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-item.expanded > .sidebar-item-header > .sidebar-arrow {
    transform: rotate(90deg);
    color: var(--color-primary);
}

.sidebar-category-link {
    color: var(--color-text-main);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-smooth);
    flex-grow: 1;
}

.sidebar-category-link:hover,
.sidebar-item.active > .sidebar-item-header > .sidebar-category-link {
    color: var(--color-primary);
}

/* Sub-menu accordion styling */
.sidebar-sub-menu {
    list-style: none;
    padding: 0 0 14px 28px;
    margin: 0;
    display: none;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.sidebar-item.expanded > .sidebar-sub-menu {
    display: block;
}

.sidebar-sub-item {
    margin-bottom: 10px;
}

.sidebar-sub-item:last-child {
    margin-bottom: 0;
}

.sidebar-sub-link {
    color: var(--color-text-muted);
    font-size: 13.5px;
    transition: var(--transition-smooth);
    display: block;
    position: relative;
    padding-left: 14px;
    line-height: 1.4;
}

.sidebar-sub-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.sidebar-sub-link:hover,
.sidebar-sub-item.active > .sidebar-sub-link {
    color: var(--color-primary);
    font-weight: 600;
}

.sidebar-sub-link:hover::before,
.sidebar-sub-item.active > .sidebar-sub-link::before {
    background-color: var(--color-primary);
    width: 6px;
    height: 6px;
}

/* Active filter banner */
.active-filter-banner {
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-md);
    padding: 16px 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.active-filter-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.active-filter-title {
    font-size: 14px;
    color: var(--color-text-muted);
}

.active-filter-text {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-dark);
}

.product-count-badge {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
}

/* Mobile responsive filters */
.sidebar-toggle-btn {
    display: none;
    width: 100%;
    padding: 14px;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(30, 144, 132, 0.2);
    transition: var(--transition-smooth);
}

.sidebar-toggle-btn:hover {
    background-color: var(--color-primary-dark);
}

/* Customize products grid size inside layout */
.products-main-content .products-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
    .products-main-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .products-catalog-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar-toggle-btn {
        display: flex;
    }
    
    .products-sidebar {
        display: none;
        position: static;
        margin-bottom: 24px;
        box-shadow: var(--shadow-md);
    }
    
    .products-sidebar.mobile-show {
        display: block;
        animation: slideDown 0.3s ease-out forwards;
    }
    
    .products-main-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-main-content .products-grid {
        grid-template-columns: 1fr;
    }
    
    .active-filter-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
    
    .product-count-badge {
        align-self: flex-end;
    }
}

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

/* ==========================================================================
   12. CATEGORY LANDING PAGE
   ========================================================================== */

/* Trạng thái Dual-State của trang sản phẩm */
#products-catalog.show-landing-view .category-landing-section {
    display: block;
}
#products-catalog.show-landing-view .products-catalog-layout {
    display: none;
}
#products-catalog.show-landing-view .sidebar-toggle-btn {
    display: none !important;
}

#products-catalog:not(.show-landing-view) .category-landing-section {
    display: none;
}
#products-catalog:not(.show-landing-view) .products-catalog-layout {
    display: grid;
}

/* Kiểu dáng cho Category Landing Grid */
.category-landing-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.category-landing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    grid-auto-rows: 240px;
}

/* Các thẻ danh mục */
.category-landing-card {
    background: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
    overflow: hidden;
    position: relative;
}

.category-landing-card .category-landing-img {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff;
}

.category-landing-card .category-landing-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-landing-card .category-landing-info {
    width: 100%;
    margin-top: 12px;
}

.category-landing-card .category-landing-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.category-landing-card .category-landing-info .en-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: capitalize;
}

/* Ô dọc lớn chiếm 2 dòng */
.category-landing-card.card-featured {
    grid-row: span 2;
    grid-column: span 1;
    min-height: 510px;
}

.category-landing-card.card-featured .category-landing-img {
    height: 380px;
}

/* Hover Effects */
.category-landing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.category-landing-card:hover .category-landing-info h3 {
    color: var(--color-primary);
}

.category-landing-card:hover .category-landing-img img {
    transform: scale(1.06);
}

/* Responsive */
@media (max-width: 992px) {
    .category-landing-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
        gap: 20px;
    }
    
    .category-landing-card.card-featured {
        grid-row: span 1;
        grid-column: span 2;
        min-height: auto;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    
    .category-landing-card.card-featured .category-landing-img {
        height: 140px;
        width: 50%;
    }
    
    .category-landing-card.card-featured .category-landing-info {
        width: 50%;
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .category-landing-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }
    
    .category-landing-card.card-featured {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .category-landing-card.card-featured .category-landing-img {
        height: 180px;
        width: 100%;
    }
    
    .category-landing-card.card-featured .category-landing-info {
        width: 100%;
    }

    .category-landing-card {
        height: auto;
        min-height: 240px;
        padding: 20px;
    }
}

/* ==========================================================================
   12. SOLUTIONS CATEGORIES & DETAIL LAYOUTS
   ========================================================================== */
.solutions-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .solutions-category-grid {
        grid-template-columns: 1fr;
    }
}

.solutions-category-card {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.solutions-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.solutions-card-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

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

.solutions-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 45%, rgba(15, 23, 42, 0.15) 100%);
    transition: background 0.4s ease;
}

.solutions-card-content {
    position: relative;
    z-index: 2;
    padding: 30px 40px 40px;
    color: #ffffff;
    width: 100%;
}

.solutions-card-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.solutions-card-en-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 6px;
    width: fit-content;
}

.solutions-card-desc {
    font-size: 14px;
    color: var(--color-secondary-light);
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    height: 0;
    overflow: hidden;
}

.solutions-category-card:hover .solutions-card-desc {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-bottom: 20px;
}

.solutions-card-btn {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.solutions-category-card:hover .solutions-card-btn {
    color: var(--color-primary);
}

/* Sub Solutions Grid */
.sub-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .sub-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sub-solutions-grid {
        grid-template-columns: 1fr;
    }
}

.sub-solution-card {
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sub-solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.sub-solution-img-box {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.sub-solution-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sub-solution-card:hover .sub-solution-img-box img {
    transform: scale(1.05);
}

.sub-solution-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sub-solution-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.sub-solution-info h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 4px;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.sub-solution-en-title {
    font-size: 13px;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 12px;
    display: block;
}

.sub-solution-info p {
    font-size: 14px;
    color: var(--color-text-main);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-sub-solution {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.sub-solution-card:hover .btn-sub-solution {
    color: var(--color-primary-dark);
    transform: translateX(4px);
}

/* Solutions Detail Page Layout */
.solutions-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .solutions-detail-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.solutions-main-article {
    background-color: #ffffff;
}

.solutions-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.solutions-content-rich {
    color: var(--color-text-main);
    font-size: 16px;
    line-height: 1.8;
}

.solutions-content-rich p {
    margin-bottom: 20px;
}

.solutions-content-rich h2, 
.solutions-content-rich h3, 
.solutions-content-rich h4 {
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    margin-top: 35px;
    margin-bottom: 15px;
}

.solutions-content-rich h2 { font-size: 26px; }
.solutions-content-rich h3 { font-size: 22px; }

.solutions-content-rich img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    margin: 25px auto;
    display: block;
    box-shadow: var(--shadow-sm);
}

.solutions-content-rich ul, 
.solutions-content-rich ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.solutions-content-rich li {
    margin-bottom: 8px;
}

/* Sidebar Widgets for Solutions */
.sidebar-widget {
    background: #ffffff;
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    border: 1px solid var(--color-light-border);
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-dark);
    font-family: var(--font-heading);
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-list li {
    border-bottom: 1px dashed var(--color-light-border);
    padding-bottom: 10px;
}

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

.widget-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-main);
    font-size: 14.5px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.widget-link:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.widget-link i {
    font-size: 11px;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.widget-link:hover i {
    color: var(--color-primary);
    transform: translateX(2px);
}

/* CTA Widget */
.cta-widget {
    position: relative;
    overflow: hidden;
}

.widget-cta-card {
    position: relative;
    z-index: 2;
}

.widget-cta-card .accent-bar {
    position: absolute;
    top: -24px;
    left: -24px;
    right: -24px;
    height: 4px;
    background-color: var(--color-primary);
}

.widget-cta-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.widget-cta-card p {
    font-size: 13.5px;
    color: var(--color-text-main);
    line-height: 1.6;
    margin-bottom: 20px;
}

.widget-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-cta-buttons .btn-cta-primary,
.widget-cta-buttons .btn-cta-zalo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.widget-cta-buttons .btn-cta-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.widget-cta-buttons .btn-cta-primary:hover {
    background-color: var(--color-primary-dark);
}

.widget-cta-buttons .btn-cta-zalo {
    background-color: #0068ff;
    color: #ffffff;
}

.widget-cta-buttons .btn-cta-zalo:hover {
    background-color: #0050c7;
}

/* ==========================================================================
   NAVIGATION CONTACT ICONS STYLING (CALL & ZALO)
   ========================================================================== */
.nav-contact-icons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}
.btn-contact-icon.btn-phone {
    background: #1cb30b;
    color: #ffffff;
    animation: btn-phone-ripple 2s infinite;
}
.btn-contact-icon.btn-phone i {
    font-size: 16px;
    animation: header-phone-wiggle 2.5s ease infinite;
}
.btn-contact-icon.btn-phone:hover {
    transform: scale(1.1);
    background: #149007;
}
.btn-contact-icon.btn-zalo {
    background: #0068ff;
    color: #ffffff;
    animation: btn-zalo-ripple 2s infinite;
    padding: 0;
}
.btn-contact-icon.btn-zalo svg {
    width: 26px;
    height: 26px;
    display: block;
}
.btn-contact-icon.btn-zalo:hover {
    transform: scale(1.1);
    background: #0056d6;
}

/* Pulsing Ripples (Waving effect matching image reference) */
@keyframes btn-phone-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(28, 179, 11, 0.6), 0 0 0 0 rgba(28, 179, 11, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(28, 179, 11, 0.4), 0 0 0 12px rgba(28, 179, 11, 0.2);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(28, 179, 11, 0), 0 0 0 20px rgba(28, 179, 11, 0);
    }
}
@keyframes btn-zalo-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.6), 0 0 0 0 rgba(0, 104, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(0, 104, 255, 0.4), 0 0 0 12px rgba(0, 104, 255, 0.2);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(0, 104, 255, 0), 0 0 0 20px rgba(0, 104, 255, 0);
    }
}

@keyframes header-phone-wiggle {
    0%, 100% { transform: rotate(0); }
    5%, 15%, 25% { transform: rotate(-12deg); }
    10%, 20%, 30% { transform: rotate(12deg); }
    35% { transform: rotate(0); }
}

/* Responsive Mobile Layout adjustment for Contact Icons */
@media (max-width: 1200px) {
    .nav-contact-icons {
        width: 100%;
        justify-content: center;
        gap: 20px;
        margin-top: 8px;
    }
}

/* ==========================================================================
   FLOATING BOTTOM-OF-SCREEN CONTACT WIDGETS (HOTLINE & ZALO)
   ========================================================================== */
.floating-contact-widgets {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
}
.floating-widget {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.floating-widget.widget-phone {
    background: #1cb30b;
    animation: floating-phone-ripple 2s infinite;
}
.floating-widget.widget-phone i {
    font-size: 20px;
    animation: floating-phone-wiggle 2.5s ease infinite;
}
.floating-widget.widget-phone:hover {
    transform: scale(1.1);
    background: #149007;
}
.floating-widget.widget-zalo {
    background: #0068ff;
    animation: floating-zalo-ripple 2s infinite;
    padding: 0;
}
.floating-widget.widget-zalo svg {
    width: 32px;
    height: 32px;
    display: block;
}
.floating-widget.widget-zalo:hover {
    transform: scale(1.1);
    background: #0056d6;
}

/* Ripples for Floating Buttons */
@keyframes floating-phone-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(28, 179, 11, 0.6), 0 0 0 0 rgba(28, 179, 11, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(28, 179, 11, 0.4), 0 0 0 16px rgba(28, 179, 11, 0.2);
    }
    100% {
        box-shadow: 0 0 0 16px rgba(28, 179, 11, 0) , 0 0 0 28px rgba(28, 179, 11, 0);
    }
}
@keyframes floating-zalo-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.6), 0 0 0 0 rgba(0, 104, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 104, 255, 0.4), 0 0 0 16px rgba(0, 104, 255, 0.2);
    }
    100% {
        box-shadow: 0 0 0 16px rgba(0, 104, 255, 0), 0 0 0 28px rgba(0, 104, 255, 0);
    }
}
@keyframes floating-phone-wiggle {
    0%, 100% { transform: rotate(0); }
    5%, 15%, 25% { transform: rotate(-12deg); }
    10%, 20%, 30% { transform: rotate(12deg); }
    35% { transform: rotate(0); }
}

/* Mobile responsive optimization for Floating Buttons */
@media (max-width: 768px) {
    .floating-contact-widgets {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    .floating-widget {
        width: 44px;
        height: 44px;
    }
    .floating-widget.widget-zalo svg {
        width: 28px;
        height: 28px;
    }
    .floating-widget.widget-phone i {
        font-size: 18px;
    }
}

