/* =========================================
    1. BIẾN MÀU SẮC & CÀI ĐẶT CHUNG (ANTI-OVERFLOW)
========================================= */
:root {
    --primary-color: #00897B; 
    --primary-dark: #00695C;
    --primary-light: #E0F2F1;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #EAEAEA;
    --container-width: 1200px;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 12px 40px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 48px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    min-width: 0; 
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block; 
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* =========================================
    2. HEADER & NAVIGATION
========================================= */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 9999; 
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative; 
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    z-index: 1001; 
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 137, 123, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
    font-size: 15px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.btn-primary, .btn-outline {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 137, 123, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 137, 123, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.desktop-only {
    display: inline-flex;
}

/* =========================================
    3. HERO SECTION (WORLD-CLASS UPDATE)
========================================= */
.hero {
    padding: 120px 0 160px; 
    
    background: linear-gradient(180deg, #F4FBFB 0%, #E0F2F1 100%);
    
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1, .hero p, .hero-actions {
    opacity: 0; 
    animation: fadeUpReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 { animation-delay: 0.1s; }
.hero p { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.5s; }

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #111;
    letter-spacing: -1.5px;
}

.hero h1 span {
    background: linear-gradient(270deg, var(--primary-color), #00d2ff, var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlowFlow 5s ease infinite;
}

.hero p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto 45px auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
}

/* --- HIỆU ỨNG SÓNG LIỀN MẠCH Ở BOTTOM HERO --- */
.hero-shape-divider {
    position: absolute;
    bottom: -1px; 
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5; 
}

.hero-shape-divider svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px); 
    height: 70px;
    transform: rotateY(180deg); 
}

.hero-shape-divider .shape-fill {
    fill: #FFFFFF; 
}

/* =========================================
    4. STATS SECTION
========================================= */
.stats-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    
    border-radius: 24px;
    padding: 40px 20px; 
    margin-top: -60px; 
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 137, 123, 0.08);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    transition: var(--transition);
    border-radius: 16px;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 26px; 
    color: var(--primary-color);
    flex-shrink: 0;
    background: var(--primary-light);
    width: 54px; 
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.stat-info h3 {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.stat-info p {
    font-size: 13px; 
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

/* =========================================
    5. SERVICES SECTION (SWEEP REFLECTION)
========================================= */
.services-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%); 
    position: relative;
}

.section-header { margin-bottom: 60px; }

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 30px;
}

.service-card {
    width: calc(33.333% - 20px); 
    border-radius: 24px; 
    padding: 45px 35px;
    text-align: left; 
    border: 1px solid rgba(0, 137, 123, 0.1); 
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02); 
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: -150%; 
    width: 60%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.75s ease;
    z-index: 2;
    pointer-events: none;
}

.service-card:hover::before {
    left: 150%;
    transition: all 0.75s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 137, 123, 0.12); 
    border-color: rgba(0, 137, 123, 0.3);
    background: #ffffff;
}

.service-card .icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 16px; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 0 30px 0;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

.service-card:hover .icon {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.1) rotate(5deg); 
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
    letter-spacing: -0.5px;
}

.service-card p {
    font-size: 15px;
    color: #555;
    margin-bottom: 35px;
    line-height: 1.7;
    flex-grow: 1; 
}

.service-card a {
    align-self: flex-start; 
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card a:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* =========================================
    6. GIẢI PHÁP NỔI BẬT (SLIDER)
========================================= */
.featured-solutions {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.fs-layout {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 50px;
    align-items: center;
}

.fs-left p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 16px;
    line-height: 1.7;
}

.fs-right {
    position: relative;
    width: 100%;
}

.nav-arrow {
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    top: 50%;
    transform: translateY(-50%);
}

.nav-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
}

.nav-arrow.left { left: -22px; }
.nav-arrow.right { right: -22px; }

.swiper.fs-swiper {
    width: 100%;
    height: 100%;
    padding: 20px 0; 
    overflow: hidden;
}

.swiper-slide {
    height: auto; 
    display: flex;
}

.fs-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    background: var(--bg-white);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.fs-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateY(-8px); 
}

.fs-card img {
    width: 100%;
    aspect-ratio: 16/10; 
    object-fit: cover;
    background-color: #F0F4F8; 
    border-radius: 10px;
    margin-bottom: 24px;
}

.fs-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.fs-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1; 
}

.fs-card .link-primary {
    justify-content: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =========================================
    7. QUY TRÌNH TRIỂN KHAI 
========================================= */
.process-section { 
    padding: 100px 0; 
    background-color: var(--bg-white);
}

.process-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 40px; 
    box-shadow: var(--shadow-lg);
    max-width: 1100px; 
    margin: 0 auto;
}

.process-box .section-header { 
    margin-bottom: 50px; 
    text-align: center;
}

.process-timeline {
    display: flex;
    flex-direction: row; 
    justify-content: space-between;
    align-items: flex-start; 
    gap: 15px; 
    position: relative; 
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 68px; 
    left: 5%;
    right: 5%;
    border-top: 2px dashed var(--primary-light);
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    gap: 12px;
    flex: 1; 
    position: relative;
    z-index: 1; 
}

.step-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-white); 
    border: 2px solid var(--primary-light); 
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-dark);
    transition: var(--transition);
    flex-shrink: 0;
}

.step-item:hover .step-icon {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 137, 123, 0.25);
}

.step-content {
    padding-top: 5px; 
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* =========================================
    8. DỰ ÁN NỔI BẬT (SWEEP REFLECTION)
========================================= */
.projects-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
    margin-bottom: 40px;
    text-align: left;
}

.project-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden; 
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0; left: -150%; 
    width: 60%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.75s ease;
    z-index: 2;
    pointer-events: none;
}

.project-card:hover::before {
    left: 150%;
    transition: all 0.75s ease;
}

.project-card:hover {
    box-shadow: 0 20px 40px rgba(0, 137, 123, 0.12);
    transform: translateY(-10px);
    border-color: rgba(0, 137, 123, 0.3);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #E2E8F0; 
    border-bottom: 1px solid var(--border-color);
    color: transparent;
}

.project-info { padding: 25px; position: relative; z-index: 1;}

.project-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.project-category {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    background: var(--bg-light);
    padding: 12px;
    border-radius: 8px;
}

.stat-block h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-block span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* =========================================
    9. SẢN PHẨM NỔI BẬT 
========================================= */
.products-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.product-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: transparent;
}

.product-img {
    width: 100%;
    height: 220px;
    background-color: #E2E8F0; 
    object-fit: cover;
    display: block;
}

.product-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.product-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-content .btn-outline {
    width: 100%;
    padding: 10px;
    font-size: 14px;
}

/* =========================================
    10. BẢNG GIÁ THIẾT KẾ WEBSITE 
========================================= */
.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.price-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.price-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.price-card .price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    width: 100%;
}

.price-card li {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
}

.price-card li i {
    color: var(--primary-color);
    margin-top: 4px;
}

.price-card .btn-primary, 
.price-card .btn-outline {
    width: 100%;
    margin-top: auto; 
}

/* =========================================
    11. WHY CHOOSE US & TESTIMONIALS 
========================================= */
.trust-testi-section {
    padding: 100px 0;
    background-color: var(--bg-white); 
}

.tt-layout {
    display: grid;
    grid-template-columns: 4fr 6fr; 
    gap: 40px;
    align-items: stretch;
}

.trust-box {
    background-color: var(--bg-white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.trust-feature-item { text-align: left; display: flex; flex-direction: column; align-items: flex-start;}

.tf-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    color: var(--primary-color);
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.trust-feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.trust-feature-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.testi-panel { position: relative; }

.testi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px; 
}

.testi-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testi-card:hover {
    box-shadow: var(--shadow-md);
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testi-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-text {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.author-info h5 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.stars {
    color: #FFC107;
    font-size: 14px;
    margin-top: 5px;
}

.cta-card {
    background-color: var(--primary-color); 
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    grid-column: span 2;
}

.cta-card * { position: relative; z-index: 1; }

.cta-card h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 12px;
    font-weight: 800;
}

.cta-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-card .cta-buttons {
    display: flex;
    gap: 15px;
}

.cta-card .btn-white {
    background: white;
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    transition: var(--transition);
}

.cta-card .btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.cta-card .btn-outline-white {
    background: transparent;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid white;
    transition: var(--transition);
}

.cta-card .btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
}

/* =========================================
    12. FOOTER
========================================= */
.site-footer {
    background-color: #111;
    padding: 80px 0 30px 0;
    color: white;
}

.footer-top {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr 1.5fr 2fr 2.5fr; 
    gap: 40px;
    margin-bottom: 60px;
}

.site-footer .logo {
    color: white;
}

.site-footer .logo-icon {
    background: white;
    color: var(--primary-color);
}

.footer-col h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-col p, .footer-col a, .footer-col li {
    font-size: 14px;
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-col a:hover { color: white; }
.footer-col ul { list-style: none; }

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    background: #222;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 15px;
    border: 1px solid #333;
    background: #222;
    color: white;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 14px;
}

.newsletter-form input::placeholder { color: #777; }

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #777;
}

/* =========================================
    RESPONSIVE TỐI ƯU HOÁ (CHỐNG TRÀN LAYOUT & MENU)
========================================= */
@media (max-width: 1200px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-card { grid-column: span 1; }
    .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .services-grid { gap: 20px; }
    .service-card { width: calc(50% - 10px); } 
    
    .fs-layout, .tt-layout { grid-template-columns: 1fr; text-align: center; }
    .fs-left p { max-width: 600px; margin: 0 auto 30px auto; }
    
    .trust-box { padding: 40px; }
    .trust-feature-item { align-items: center; text-align: center; }
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 50px; }
    
    .products-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .logo {
        flex-grow: 1; 
    }
    
    .mobile-menu-btn { 
        display: flex; 
        align-items: center;
        justify-content: center;
        margin-left: auto; 
    }
    
    .desktop-only { display: none; }
    
    .nav-links { 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%; 
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 0;
        box-shadow: 0 15px 25px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    .nav-links.active { max-height: 500px; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 16px 25px; 
        border-bottom: 1px solid var(--border-color);
    }
    
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 38px; }
    .hero-actions { flex-direction: column; width: 100%; gap: 15px;}
    .hero-actions button { width: 100%; }
    
    .section-title { font-size: 28px; }
    
    .services-section, .featured-solutions, .process-section, .projects-section, .trust-testi-section, .products-section, .pricing-section { padding: 60px 0; }

    .stats-container { 
        margin-top: -20px; 
        padding: 30px 20px; 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
    }
    .stat-item { 
        flex-direction: column; 
        text-align: center; 
        gap: 10px; 
    }
    .stat-item:nth-child(5) { 
        grid-column: span 2;
    } 
    
    .services-grid { flex-direction: column; align-items: center; }
    .service-card { width: 100%; max-width: 480px; }
    
    .nav-arrow.left { top: auto; bottom: -20px; left: calc(50% - 55px); transform: none; }
    .nav-arrow.right { top: auto; bottom: -20px; right: calc(50% - 55px); transform: none; }
    .swiper.fs-swiper { padding-bottom: 60px; }

    .process-box { padding: 40px 25px; border-radius: 20px; }
    
    .process-timeline { 
        flex-direction: column; 
        gap: 35px; 
    }
    
    .process-timeline::before {
        display: none; 
    }
    
    .step-item { gap: 10px; }
    .step-icon { 
        width: 60px; 
        height: 60px; 
        font-size: 20px; 
    }
    .step-content h4 { font-size: 18px; margin-bottom: 6px; }
    
    .trust-features { grid-template-columns: 1fr; }
    .cta-card .cta-buttons { flex-direction: column; }
    
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .contact-list li, .footer-socials { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .footer-bottom-links { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }

    .products-grid, .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .navbar { height: 70px; }
    .logo { font-size: 18px; gap: 8px; }
    .logo-icon { width: 34px; height: 34px; font-size: 18px; }

    .hero h1 { font-size: 32px; }
    .section-title { font-size: 24px; }

    .projects-grid { grid-template-columns: 1fr; }

    .newsletter-form { flex-direction: column; gap: 10px; }
    .newsletter-form input { border-radius: 8px; width: 100%; text-align: center; }
    .newsletter-form button { border-radius: 8px; width: 100%; padding: 14px; }
}

/* =========================================
    13. HIỆU ỨNG CHUYỂN ĐỘNG (ANIMATIONS) KEYFRAMES
========================================= */

@keyframes fadeUpReveal {
    0% { opacity: 0; transform: translateY(40px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes textGlowFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

:root {
    --spring-easing: cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--spring-easing);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.price-card:nth-child(2) {
    position: relative;
    animation: glowPulse 3s infinite alternate;
}
@keyframes glowPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 137, 123, 0.4); }
    100% { box-shadow: 0 0 20px 10px rgba(0, 137, 123, 0); }
}

.btn-primary, .btn-outline {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary::after, .btn-outline::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 0%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: height 0.4s var(--spring-easing);
    z-index: -1;
    border-radius: 50px;
}
.btn-outline::after { background-color: var(--primary-color); }
.btn-primary:hover::after, .btn-outline:hover::after { height: 100%; }
.btn-outline:hover { color: white; }

.btn-primary i, .btn-outline i, .link-primary i {
    transition: transform 0.3s var(--spring-easing);
}
.btn-primary:hover i, .btn-outline:hover i, .link-primary:hover i {
    transform: translateX(5px);
}

#hero-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; 
    pointer-events: none; 
}

@media (hover: hover) {
    .product-card, .price-card, .step-item {
        transition: transform 0.5s var(--spring-easing), box-shadow 0.5s var(--spring-easing);
    }
    .product-card:hover, .price-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 50px rgba(0,137,123,0.15);
    }
    
    .hero .container { position: relative; z-index: 1; }
}

/* =========================================
    FIX 100%: CHO PHÉP HIỂN THỊ HẠT TRÊN MOBILE
========================================= */
@media (hover: none) {
    #hero-particles { 
        display: block; /* Bật lại hiển thị trên mobile */
    }
    
    .hero {
        background: #FFFFFF;
        position: relative;
        overflow: hidden;
        z-index: 1; 
    }
    
    .hero .container {
        position: relative;
        z-index: 2; 
    }

    .service-card:active, .product-card:active, .price-card:active, .project-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
}