/* Reset và Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Tông màu chủ đạo: đỏ cam ấm, hiện đại - màu phẳng không gradient */
    --primary-color: #d32f2f;      /* Đỏ chủ đạo */
    --secondary-color: #ff6f3c;    /* Cam đỏ */
    --accent-orange: #ff9800;      /* Cam vàng */
    --accent-red: #c62828;         /* Đỏ đậm */
    --dark-bg: #212121;            /* Nền tối */
    --dark-red: #1a1a1a;           /* Tối cho background */
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.logo-text:hover {
    transform: scale(1.05);
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-icon {
    font-size: 14px;
}

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

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
    transition: var(--transition);
    display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(211, 47, 47, 0.1);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 25px;
}

.btn-contact {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-contact:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-bg);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Grid pattern */
        linear-gradient(rgba(74, 144, 226, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 226, 0.1) 1px, transparent 1px),
        /* Hexagonal pattern */
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(102, 126, 234, 0.05) 35px, rgba(102, 126, 234, 0.05) 70px),
        /* Circuit lines */
        linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, transparent 50%),
        linear-gradient(225deg, rgba(240, 147, 251, 0.15) 0%, transparent 50%),
        /* Glowing orbs */
        radial-gradient(ellipse at 20% 30%, rgba(74, 144, 226, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(240, 147, 251, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    background-size: 
        100px 100px,
        100px 100px,
        140px 140px,
        100% 100%,
        100% 100%,
        800px 800px,
        800px 800px,
        600px 600px;
    background-position:
        0 0,
        0 0,
        0 0,
        0 0,
        0 0,
        0 0,
        100% 100%,
        50% 50%;
    animation: techBackground 15s ease infinite;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Data points */
        radial-gradient(circle at 15% 25%, rgba(74, 144, 226, 0.4) 2px, transparent 2px),
        radial-gradient(circle at 85% 75%, rgba(240, 147, 251, 0.4) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 30% 70%, rgba(74, 144, 226, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 70% 30%, rgba(240, 147, 251, 0.3) 1.5px, transparent 1.5px),
        /* Connecting lines effect */
        linear-gradient(135deg, transparent 48%, rgba(74, 144, 226, 0.2) 49%, rgba(74, 144, 226, 0.2) 51%, transparent 52%),
        linear-gradient(225deg, transparent 48%, rgba(240, 147, 251, 0.2) 49%, rgba(240, 147, 251, 0.2) 51%, transparent 52%);
    background-size:
        200px 200px,
        200px 200px,
        200px 200px,
        150px 150px,
        150px 150px,
        100% 100%,
        100% 100%;
    background-position:
        15% 25%,
        85% 75%,
        50% 50%,
        30% 70%,
        70% 30%,
        0 0,
        0 0;
    animation: techParticles 20s ease infinite;
    z-index: -1;
}

@keyframes techBackground {
    0%, 100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translateY(-20px) scale(1.02);
    }
}

@keyframes techParticles {
    0%, 100% {
        opacity: 0.8;
        transform: rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: rotate(180deg);
    }
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    z-index: 1;
    max-width: 800px;
    padding: 30px 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

a.btn {
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

a.btn-secondary {
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-icon {
    font-size: 18px;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff; /* Màu xanh dương */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-icon {
    font-size: 1.5rem;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.section-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Vision, Mission, Core Values Section */
.vision-mission-section {
    padding: 45px 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.vision-mission-section .section-title {
    margin-bottom: 30px;
    font-size: 1.75rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vision-mission-section .section-icon {
    font-size: 1.6rem;
    display: inline-block;
    animation: iconGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.4));
}

@keyframes iconGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.4));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.6));
    }
}

.values-wrapper {
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    border-radius: 12px;
    overflow: visible;
    box-shadow: none;
    background: transparent;
    transition: transform 0.4s ease-in-out;
}

.value-card {
    padding: 35px 28px;
    text-align: center;
    color: white;
    transition: var(--transition);
    position: relative;
    border-right: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
}

.value-card:hover {
    transform: translateY(-5px);
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.vision-card {
    background: var(--primary-color);
}

.mission-card {
    background: var(--secondary-color);
}

.values-card {
    background: var(--accent-orange);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.value-card:hover .card-icon {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.card-description {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* Carousel Navigation */
.mobile-only {
    display: none !important;
}

.carousel-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-nav.mobile-only {
    display: none !important;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

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

.carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-dots .dot:hover {
    background: var(--secondary-color);
    opacity: 0.7;
}

/* Products Section */
.products-section {
    padding: 45px 0;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.products-wrapper {
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transition: transform 0.4s ease-in-out;
}

.product-card,
.solution-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover,
.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(211, 47, 47, 0.2);
}

.product-image,
.solution-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--secondary-color);
}

.product-image img,
.solution-image img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img,
.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

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

.product-title,
.solution-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--text-dark);
    line-height: 1.3;
}

.product-description,
.solution-description {
    font-size: 0.95rem;
    color: #5a6c7d;
    margin: 0;
    line-height: 1.7;
    flex: 1;
}

/* Business Solutions Section */
.business-section {
    padding: 45px 0;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin-bottom: 35px;
    transition: var(--transition);
}

.featured-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.featured-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.featured-content {
    padding: 35px 40px;
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.3;
}

.featured-description {
    font-size: 1.05rem;
    color: #5a6c7d;
    line-height: 1.8;
}

.solutions-wrapper {
    position: relative;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transition: transform 0.4s ease-in-out;
}

.solution-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 50px 0 20px;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-color);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-column {
    position: relative;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-title .nav-icon {
    font-size: 1.1rem;
    display: inline-block;
}

.footer-about .footer-title {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.footer-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-top: 10px;
}

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

.footer-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

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

.footer-list a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-list a:hover::after {
    width: 100%;
}

.footer-contact .footer-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 5px;
}

.footer-contact .footer-list li span {
    font-size: 1.1rem;
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.contact-modal.active {
    display: flex;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10002;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-header {
    padding: 30px 35px 25px;
    border-bottom: 1px solid #e8e8e8;
    text-align: center;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
}

.contact-form {
    padding: 25px 35px 35px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    background: white;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

/* Inline validation states for contact form */


.field-error {
    margin-top: 3px;
    font-size: 0.78rem;
    color: #e63946;
    min-height: 16px;
    line-height: 1.4;
    display: block;
}

.form-status {
    margin-bottom: 15px;
    font-size: 0.9rem;
    border-radius: 6px;
    padding: 10px 14px;
    display: none;
}

.form-status.form-status-success {
    display: block;
    background: #e6f4ea;
    color: #137333;
    border: 1px solid #c1e3cf;
}

.form-status.form-status-error {
    display: block;
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c2c0;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 6px;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    flex: 1;
    line-height: 1.4;
}

.link-terms {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e8e8e8;
}

.btn-cancel,
.btn-submit {
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-cancel {
    background: #f5f5f5;
    color: var(--text-dark);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
}

/* About Us Section */
.about-section {
    padding: 45px 0;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 55px;
}

.about-icon {
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.about-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.about-intro {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-main {
    background: white;
}

.about-text {
    line-height: 1.8;
    color: #5a6c7d;
}

.content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.about-text > p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 28px;
    margin: 25px 0 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 27px;
    padding: 16px 18px 16px 40px;
    background: #fff7f7;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #5a6c7d;
    margin: 0;
    line-height: 1.7;
}

/* Vision & Mission Grid */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 35px 0;
}

.vm-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(74, 144, 226, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.15);
    border-color: rgba(211, 47, 47, 0.2);
}

.vm-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.vm-icon svg {
    width: 56px;
    height: 56px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.vm-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}

.vm-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.vm-card p {
    font-size: 0.98rem;
    color: #4a5568;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* Values List */
.values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.value-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.value-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.value-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-text p {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.achievement-card {
    background: var(--primary-color);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.achievement-label {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Floating Chat Button */
/* Floating Chat Container */
.floating-chat-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 0;
}

.floating-chat {
    position: relative;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 24px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
}

.floating-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
    background: #c62828;
}

.floating-chat:active {
    transform: translateY(0);
}

.floating-chat-container.expanded .floating-chat {
    background: #c62828;
}

.floating-chat-main-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.floating-chat-container.expanded .floating-chat-main-icon {
    transform: rotate(90deg);
}

.floating-chat-text {
    display: inline-block;
}

/* Ripple Effect - Đơn giản hóa */
.floating-chat-ripple {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(211, 47, 47, 0.12);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
    top: 50%;
    left: 50%;
    margin-top: -27px;
    margin-left: -27px;
}

.floating-chat-ripple.active {
    transform: scale(4);
    opacity: 0;
}

/* Floating Chat Buttons */
.floating-chat-buttons {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 3;
    pointer-events: none;
    margin-bottom: 8px;
}

.floating-chat-buttons.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.floating-chat-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    min-height: 50px;
}

.floating-chat-zalo {
    background: #0068ff;
    color: white;
}

.floating-chat-zalo:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 104, 255, 0.4);
}

.floating-chat-phone {
    background: #34c759;
    color: white;
}

.floating-chat-phone:hover {
    background: #28a745;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 199, 89, 0.4);
}

.floating-chat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.floating-chat-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.floating-chat-btn:hover .floating-chat-icon {
    background: rgba(255, 255, 255, 0.3);
}

.floating-chat-label {
    font-size: 15px;
    font-weight: 600;
}

/* Floating Chat Responsive */
@media (max-width: 768px) {
    .floating-chat-container {
        bottom: 20px;
        right: 16px;
    }
    
    .floating-chat {
        padding: 13px 20px;
        font-size: 14px;
        min-height: 50px;
        box-shadow: 0 4px 14px rgba(211, 47, 47, 0.3);
    }
    
    .floating-chat:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 18px rgba(211, 47, 47, 0.35);
    }
    
    .floating-chat-main-icon {
        width: 18px;
        height: 18px;
    }
    
    .floating-chat-buttons {
        bottom: 66px;
        gap: 10px;
    }
    
    .floating-chat-btn {
        padding: 12px 18px;
        font-size: 14px;
        min-height: 48px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }
    
    .floating-chat-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
    }
    
    .floating-chat-icon {
        width: 28px;
        height: 28px;
    }
    
    .floating-chat-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .floating-chat-label {
        font-size: 14px;
    }
    
    .floating-chat-ripple {
        width: 50px;
        height: 50px;
        margin-top: -25px;
        margin-left: -25px;
    }
    
    .floating-chat-ripple.active {
        transform: scale(3.5);
    }
}

@media (max-width: 480px) {
    .floating-chat-container {
        bottom: 16px;
        right: 12px;
    }
    
    .floating-chat {
        padding: 12px 18px;
        font-size: 13px;
        min-height: 46px;
    }
    
    .floating-chat-text {
        display: none;
    }
    
    .floating-chat-main-icon {
        width: 20px;
        height: 20px;
        margin: 0;
    }
    
    .floating-chat-buttons {
        bottom: 62px;
        gap: 8px;
    }
    
    .floating-chat-btn {
        padding: 11px 16px;
        min-height: 44px;
    }
    
    .floating-chat-label {
        font-size: 13px;
    }
}

/* Responsive Design - Tablet */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .values-grid,
    .products-grid,
    .solutions-grid,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        gap: 35px;
    }
    
    .footer {
        padding: 55px 0 20px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Contact Modal Tablet */
    .modal-content {
        max-width: 90%;
    }
    
    .checkbox-group {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* About Section Tablet */
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Product Detail Page Tablet */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    /* MA Consulting Tablet */
    .ma-selection-container {
        grid-template-columns: 1fr;
    }
    
    /* News Page Tablet */
    .featured-articles-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        max-height: none;
    }
    
    .featured-article-card.featured-main {
        grid-row: 1;
        grid-column: 1;
    }
    
    .featured-article-card:not(.featured-main) {
        grid-column: 1;
        grid-row: auto;
        flex-direction: column;
    }
    
    .featured-article-card:not(.featured-main) .article-image {
        width: 100%;
        height: 180px;
    }
    
    .featured-article-card:not(.featured-main) .article-content {
        width: 100%;
        padding: 15px;
    }
    
    .featured-article-card.featured-main .article-image {
        height: 220px;
    }
    
    .article-image {
        height: 180px;
    }
    
    .news-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #1a1a2e;
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        padding: 20px 0;
        z-index: 9999;
        overflow-y: auto;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-link {
        padding: 15px 20px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: relative;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-menu a {
        padding: 12px 32px;
        font-size: 13px;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        display: block;
        width: 100%;
    }
    
    .dropdown-menu a:hover {
        padding-left: 36px;
        border-left: none;
    }
    
    .dropdown-arrow {
        float: right;
        margin-top: 2px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Contact Modal Responsive */
    .modal-content {
        max-width: 100%;
        max-height: 95vh;
        margin: 10px;
        border-radius: 12px;
    }
    
    .modal-close {
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
    
    .modal-header {
        padding: 25px 20px 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }
    
    .modal-subtitle {
        font-size: 0.85rem;
    }
    
    .contact-form {
        padding: 20px 20px 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 12px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 9px 12px;
        font-size: 0.9rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .checkbox-label {
        padding: 5px;
        font-size: 0.85rem;
    }
    
    .form-actions {
        flex-direction: column-reverse;
        gap: 10px;
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .btn-contact {
        display: none;
    }
    
    .logo-text {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .hero {
        min-height: 80vh;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .values-wrapper {
        overflow: hidden;
        border-radius: 12px;
    }
    
    .values-grid {
        display: flex;
        grid-template-columns: none;
        gap: 20px;
        width: auto;
        transform: translateX(0);
        padding: 0 10px;
    }
    
    .value-card {
        /* Mỗi card chiếm full viewport trên mobile để khớp với JS (wrapperWidth) */
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        border-right: none;
        border-bottom: none;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }
    
    .value-card:last-child {
        border-bottom: none;
    }
    
    .mobile-only {
        display: flex !important;
    }
    
    .carousel-nav.mobile-only {
        display: flex !important;
    }
    
    .products-wrapper {
        overflow: hidden;
        border-radius: 16px;
    }
    
    .products-grid {
        display: flex;
        grid-template-columns: none;
        gap: 20px;
        width: calc(900% + 160px);
        transform: translateX(0);
        padding: 0 10px;
    }
    
    .product-card {
        flex: 0 0 calc(100% - 17.78px);
        width: calc(100% - 17.78px);
        min-width: calc(100% - 17.78px);
        border-radius: 16px;
    }
    
    .solutions-wrapper {
        overflow: hidden;
        border-radius: 16px;
    }
    
    .solutions-grid {
        display: flex;
        grid-template-columns: none;
        gap: 20px;
        width: calc(900% + 160px);
        transform: translateX(0);
        padding: 0 10px;
    }
    
    .solution-card {
        flex: 0 0 calc(100% - 17.78px);
        width: calc(100% - 17.78px);
        min-width: calc(100% - 17.78px);
        border-radius: 16px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .vision-mission-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
        gap: 10px;
    }
    
    .vision-mission-section .section-icon {
        font-size: 1.75rem;
    }
    
    .vision-mission-section {
        padding: 40px 0;
    }
    
    .products-section,
    .business-section {
        padding: 50px 0;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-content {
        padding: 25px;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer {
        padding: 45px 0 20px;
    }
    
    .footer-title {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }
    
    .footer-about .footer-title {
        font-size: 1.35rem;
    }
    
    .footer-list li {
        margin-bottom: 12px;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding-top: 30px;
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    .logo-text {
        font-size: 18px;
        letter-spacing: 0.5px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .card-icon {
        font-size: 3rem;
    }
    
    .value-card {
        padding: 35px 25px;
    }
    
    .vision-mission-section {
        padding: 35px 0;
    }
    
    .vision-mission-section .section-title {
        font-size: 1.375rem;
        margin-bottom: 25px;
        gap: 8px;
    }
    
    .vision-mission-section .section-icon {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }
    
    .card-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .product-image,
    .solution-image {
        height: 180px;
    }
    
    /* About Section Responsive */
    .about-section {
        padding: 35px 0;
    }
    
    .about-header {
        margin-bottom: 35px;
    }
    
    .about-title {
        font-size: 1.75rem;
    }
    
    .about-icon {
        font-size: 1.75rem;
    }
    
    .about-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .about-intro {
        font-size: 1rem;
    }
    
    .content-title {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .timeline {
        padding-left: 15px;
        margin: 25px 0;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 30px;
        margin-bottom: 25px;
    }
    
    .timeline-item::before {
        left: -15px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-year {
        font-size: 1.1rem;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .vm-card {
        padding: 25px 20px;
    }
    
    .vm-icon {
        font-size: 2.5rem;
    }
    
    .vm-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .component-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .component-group-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .section-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .values-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .value-item {
        padding: 18px;
    }
    
    .value-icon {
        font-size: 1.75rem;
    }
    
    .value-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .achievement-card {
        padding: 25px 15px;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
    
    .floating-chat {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        font-size: 12px;
    }
    
    /* Product Detail Page Mobile */
    .product-hero-section {
        padding: 80px 0 40px;
        margin-top: 60px;
    }
    
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-hero-title {
        font-size: 2rem;
    }
    
    .product-hero-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        padding-left: 40px;
    }
    
    .process-timeline::before {
        left: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        left: -60px;
    }
    
    .product-cta-section {
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* MA Consulting Mobile */
    .ma-selection-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ma-option-card {
        padding: 30px 20px;
    }
    
    .ma-icon {
        font-size: 3rem;
    }
    
    .ma-timeline {
        padding-left: 60px;
    }
    
    .ma-timeline::before {
        left: 25px;
    }
    
    .ma-step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        left: -65px;
    }
    
    .ma-step-content {
        padding: 20px;
    }
    
    /* News Page Mobile */
    .news-hero-title {
        font-size: 1.8rem;
    }
    
    .news-hero-subtitle {
        font-size: 1rem;
    }
    
    .news-section-title {
        font-size: 1.4rem;
    }
    
    .featured-articles-grid {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
    }
    
    .featured-article-card.featured-main {
        grid-row: 1;
    }
    
    .featured-article-card:not(.featured-main) {
        flex-direction: column;
    }
    
    .featured-article-card:not(.featured-main) .article-image {
        width: 100%;
        height: 180px;
    }
    
    .featured-article-card:not(.featured-main) .article-content {
        width: 100%;
        padding: 15px;
    }
    
    .featured-article-card.featured-main .article-image {
        height: 220px;
    }
    
    .news-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-article-card .article-content {
        padding: 20px;
    }
    
    .news-article-card .article-image {
        height: 180px;
    }
}

/* Product Detail Page Styles */
.product-hero-section {
    padding: 100px 0 60px;
    background: var(--primary-color);
    color: white;
    margin-top: 70px;
}

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

.product-hero-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.product-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-hero-text {
    padding: 20px 0;
}

.product-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.product-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
}

.product-detail-section {
    padding: 60px 0;
    background: #ffffff;
}

.product-main-content {
    max-width: 1000px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 35px 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.2);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
}

.benefits-list {
    margin: 35px 0;
}

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.benefit-text p {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 35px 0;
}

.application-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.application-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.application-card p {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}

.process-timeline {
    margin: 35px 0;
    position: relative;
    padding-left: 60px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.process-step {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    position: relative;
}

/* .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    
    position: absolute;
    left: -75px;
} */

.step-content {
    flex: 1;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}

.product-cta-section {
    padding: 60px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Make product card clickable */
.product-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Make solution card and featured card clickable */
.solution-card,
.featured-card {
    cursor: pointer;
}

a .solution-card,
a .featured-card {
    cursor: pointer;
}

/* MA Consulting Styles */
.ma-selection-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.ma-option-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(211, 47, 47, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ma-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.3);
}

.ma-option-card.active {
    border-color: var(--primary-color);
    background: rgba(211, 47, 47, 0.05);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.2);
}

.ma-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.ma-option-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.ma-option-card p {
    font-size: 1rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 25px;
}

.ma-select-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ma-select-btn:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.ma-timeline-container {
    margin: 50px 0;
    padding: 40px 0;
    border-top: 2px solid rgba(74, 144, 226, 0.1);
    border-bottom: 2px solid rgba(74, 144, 226, 0.1);
}

.ma-timeline {
    position: relative;
    padding-left: 80px;
    margin: 30px 0;
}

.ma-timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.ma-timeline-step {
    position: relative;
    margin-bottom: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ma-timeline-step:hover {
    transform: translateX(5px);
}

.ma-timeline-step.active {
    transform: translateX(10px);
}

.ma-timeline-step.active .ma-step-number {
    background: var(--primary-color);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
    transform: scale(1.1);
}

.ma-timeline-step.active .ma-step-content {
    background: rgba(211, 47, 47, 0.05);
    border-color: rgba(211, 47, 47, 0.3);
}

.ma-step-number {
    position: absolute;
    left: -75px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 2;
    transition: all 0.3s ease;
}

.ma-step-content {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
}

.ma-step-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.ma-step-content p {
    font-size: 1rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}

/* News Page Styles */
.news-hero-section {
    padding: 120px 0 60px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    margin-top: 70px; /* bù chiều cao header fixed để không bị che */
}

.news-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.news-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.news-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.news-articles-section {
    margin-bottom: 30px;
}

.news-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-section-title .section-icon {
    font-size: 1.5rem;
}

/* News Articles Grid - Clean & Professional */
.news-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}


/* News Article Card - Professional Design */
.news-article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(211, 47, 47, 0.15);
    border-color: rgba(211, 47, 47, 0.2);
}

/* Wrap link full card, bỏ gạch chân & màu mặc định */
.news-article-card .news-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.news-article-card .article-image,
.news-article-card .news-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--secondary-color);
}

.news-article-card .article-image img,
.news-article-card .news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-article-card:hover .article-image img,
.news-article-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-article-card .article-content,
.news-article-card .news-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}

/* News Article Card Styles - Professional */
.news-article-card .article-category,
.news-article-card .news-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(211, 47, 47, 0.08);
    border-radius: 6px;
    width: fit-content;
}

.news-article-card .article-title,
.news-article-card .news-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-article-card .article-excerpt,
.news-article-card .news-card-excerpt {
    font-size: 0.9rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-article-card .article-meta,
.news-article-card .news-card-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: #7a8a99;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: auto;
    align-items: center;
}

.news-article-card .article-date,
.news-article-card .article-views,
.news-article-card .news-date,
.news-article-card .news-views,
.news-article-card .news-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.news-article-card .news-card-footer {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #7a8a99;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.news-article-card .article-read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.news-article-card .article-read-more:hover {
    color: var(--accent-red);
    gap: 10px;
}

.news-article-card .article-read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.news-article-card .article-read-more:hover::after {
    transform: translateX(4px);
}

/* Remove old latest articles styles - using news-articles-grid now */

.news-load-more {
    text-align: center;
    margin-top: 40px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.product-card,
.solution-card,
.value-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Ecosystem Page Styles */
.ecosystem-hero-section {
    padding: 100px 0 50px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    margin-top: 70px;
}

.ecosystem-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.ecosystem-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.ecosystem-section {
    padding: 50px 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ecosystem-overview {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ecosystem-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ecosystem-intro {
    font-size: 1.05rem;
    color: #5a6c7d;
    line-height: 1.8;
    margin: 0;
}

.ecosystem-components-section {
    padding: 50px 0;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ecosystem-components {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ecosystem-component-group {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.component-group-header {
    text-align: center;
    margin-bottom: 30px;
}

.component-group-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.component-group-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.component-group-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.component-group-description {
    font-size: 1rem;
    color: #5a6c7d;
    margin: 0;
}

.component-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.component-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(211, 47, 47, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.component-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.15);
    border-color: rgba(211, 47, 47, 0.3);
}

.component-icon {
    font-size: 2.3rem;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.component-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.component-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.component-desc {
    font-size: 0.8rem;
    color: #5a6c7d;
    margin: 0;
    line-height: 1.4;
}

.ecosystem-process-section {
    padding: 50px 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ecosystem-process {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.process-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
    z-index: 1;
}

.process-step-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    z-index: 2;
}

.process-step-wrapper:last-child {
    margin-bottom: 0;
}

.process-step-wrapper.process-step-left {
    justify-content: flex-end;
    padding-right: calc(50% + 35px);
}

.process-step-wrapper.process-step-right {
    justify-content: flex-start;
    padding-left: calc(50% + 35px);
}

.process-step-card {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.process-step-left .process-step-card {
    border-left: 4px solid var(--primary-color);
}

.process-step-right .process-step-card {
    border-right: 4px solid var(--primary-color);
}

.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.15);
}

.process-step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    border: 4px solid white;
    z-index: 10;
    flex-shrink: 0;
}

.process-step-content {
    padding: 0;
}

.process-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.process-step-description {
    font-size: 0.9rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}

.ecosystem-benefits-section {
    padding: 50px 0;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ecosystem-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 2.8rem;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.benefit-description {
    font-size: 0.9rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
}

.ecosystem-cta-section {
    padding: 70px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.ecosystem-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.ecosystem-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.ecosystem-cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.7;
}

.ecosystem-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ecosystem-cta-buttons .btn {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
}

.ecosystem-cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.ecosystem-cta-buttons .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.ecosystem-cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.ecosystem-cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Ecosystem Page Responsive */
@media (max-width: 968px) {
    .ecosystem-hero-section {
        padding: 90px 0 45px;
    }
    
    .ecosystem-section {
        padding: 45px 0;
    }
    
    .ecosystem-components-section {
        padding: 45px 0;
    }
    
    .ecosystem-process-section {
        padding: 45px 0;
    }
    
    .ecosystem-benefits-section {
        padding: 45px 0;
    }
    
    .component-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .ecosystem-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .ecosystem-process {
        padding: 30px 0;
    }
    
    .process-step-wrapper {
        margin-bottom: 40px;
    }
    
    .process-step-wrapper.process-step-left,
    .process-step-wrapper.process-step-right {
        padding-left: calc(50% + 30px);
        padding-right: 15px;
        justify-content: flex-start;
    }
    
    .process-step-left .process-step-card,
    .process-step-right .process-step-card {
        border-left: 3px solid var(--primary-color);
        border-right: none;
        max-width: 100%;
        width: 100%;
    }
    
    .process-step-number {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ecosystem-components {
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .ecosystem-hero-section {
        padding: 80px 0 40px;
    }
    
    .ecosystem-section {
        padding: 40px 0;
    }
    
    .ecosystem-components-section {
        padding: 40px 0;
    }
    
    .ecosystem-process-section {
        padding: 40px 0;
    }
    
    .ecosystem-benefits-section {
        padding: 40px 0;
    }
    
    .ecosystem-cta-section {
        padding: 60px 0;
    }
    
    .ecosystem-hero-title {
        font-size: 2rem;
    }
    
    .ecosystem-hero-subtitle {
        font-size: 1rem;
    }
    
    .ecosystem-section-title {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    /* Ecosystem: mobile carousels for many items */
    .component-grid,
    .ecosystem-benefits-grid {
        display: flex;
        flex-direction: row;
        gap: 16px;
        overflow: hidden;
        transform: translateX(0);
    }
    
    .component-card,
    .benefit-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .ecosystem-process {
        padding: 25px 0;
        padding-left: 0;
        padding-right: 0;
    }
    
    .process-timeline-line {
        left: 25px;
        transform: none;
        width: 2px;
    }
    
    .process-step-wrapper {
        margin-bottom: 30px;
        flex-direction: row;
        align-items: flex-start;
        position: relative;
    }
    
    .process-step-wrapper.process-step-left,
    .process-step-wrapper.process-step-right {
        padding-left: 70px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .process-step-card {
        max-width: 100%;
        width: 100%;
        padding: 18px 20px;
        margin-left: 0;
        border-left: 3px solid var(--primary-color);
        border-right: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    
    .process-step-left .process-step-card,
    .process-step-right .process-step-card {
        border-left: 3px solid var(--primary-color);
        border-right: none;
    }
    
    .process-step-number {
        position: absolute;
        left: 25px;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border: 3px solid white;
        top: 0;
    }
    
    .process-step-title {
        font-size: 1rem;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    
    .process-step-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .ecosystem-components {
        gap: 30px;
    }
    
    .ecosystem-component-group {
        padding: 25px 18px;
    }
    
    .component-group-header {
        margin-bottom: 25px;
    }
    
    .component-card {
        padding: 18px;
    }
    
    .benefit-card {
        padding: 25px;
    }
    
    .benefit-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .process-step-card {
        padding: 22px;
    }
    
    .ecosystem-cta-title {
        font-size: 2rem;
    }
    
    .ecosystem-cta-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .ecosystem-cta-buttons {
        /* flex-direction: column; */
        align-items: stretch;
    }
    
    .ecosystem-cta-buttons .btn {
        width: 100%;
    }
}

/* Success Popup Styles */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-popup.active {
    opacity: 1;
    visibility: visible;
}

.success-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.success-popup-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.success-popup.active .success-popup-content {
    transform: scale(1) translateY(0);
}

.success-popup-icon {
    margin-bottom: 25px;
    animation: scaleIn 0.5s ease 0.2s both;
}

.success-popup-icon svg {
    display: inline-block;
    animation: checkmark 0.6s ease 0.3s both;
}

.success-popup-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    animation: fadeInUp 0.5s ease 0.4s both;
}

.success-popup-message {
    font-size: 1rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease 0.5s both;
}

.success-popup-button {
    padding: 12px 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease 0.6s both;
}

.success-popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
}

.success-popup-button:active {
    transform: translateY(0);
}

/* Success Popup Animations */
@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

/* Success Popup Responsive */
@media (max-width: 768px) {
    .success-popup-content {
        padding: 40px 30px;
        max-width: 90%;
    }
    
    .success-popup-title {
        font-size: 1.5rem;
    }
    
    .success-popup-message {
        font-size: 0.95rem;
    }
    
    .success-popup-button {
        padding: 12px 35px;
        width: 100%;
    }
}

/* News Detail Page Styles */
.news-detail-section {
    padding: 100px 0 60px;
    margin-top: 70px;
    background: #f8f9fa;
    min-height: calc(100vh - 70px);
}

/* News detail wrapper - using container for max-width control */

/* Loading State */
.news-detail-loading {
    text-align: center;
    padding: 80px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.news-detail-loading p {
    color: #7a8a99;
    font-size: 1.1rem;
}

/* Error State */
.news-detail-error {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.news-detail-error h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.news-detail-error p {
    color: #7a8a99;
    margin-bottom: 30px;
}

/* Article Styles */
.news-detail-article {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
}

/* Breadcrumb */
.news-breadcrumb,
.news-detail-breadcrumb {
    /* padding: 10px 20px; */
    border-bottom: 1px solid #e8ecef;
    font-size: 0.9rem;
}

.news-breadcrumb a,
.news-detail-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-breadcrumb a:hover,
.news-detail-breadcrumb a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #adb5bd;
}

.breadcrumb-current {
    color: #7a8a99;
}

/* Article Header */
.article-header,
.news-detail-header {
    padding: 10px 0px 10px;
}

.article-category,
.news-detail-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    background: rgba(211, 47, 47, 0.08);
    border-radius: 6px;
    /* margin-bottom: 20px; */
}

.article-title,
.news-detail-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 25px;
}

.article-meta,
.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid #e8ecef;
}

.article-date,
.article-author,
.article-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #7a8a99;
}

.news-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #7a8a99;
}

.meta-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--primary-color);
    opacity: 0.8;
}

.meta-label {
    font-weight: 500;
}

.meta-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* Article Image */
.article-image,
.news-detail-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: var(--secondary-color);
}

.article-image img,
.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Content */
.article-excerpt,
.news-detail-excerpt {
    font-size: 1.25rem;
    color: #5a6c7d;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.article-body,
.news-detail-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.article-body p,
.news-detail-body p {
    margin-bottom: 20px;
}

.article-body h2,
.news-detail-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8ecef;
}

.article-body h3,
.news-detail-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 25px 0 12px;
}

.article-body ul,
.article-body ol,
.news-detail-body ul,
.news-detail-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li,
.news-detail-body li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.news-detail-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 25px 0;
    background: #f8f9fa;
    font-style: italic;
    color: #5a6c7d;
}

.news-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

/* Article Footer */
.news-detail-footer {
    padding: 25px 30px;
    border-top: 1px solid #e8ecef;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-detail-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: var(--text-dark);
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.news-detail-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    color: var(--text-dark);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* Related Articles */
.news-detail-related,
.related-articles {
    margin-top: 40px;
}

.related-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-articles-wrapper {
    position: relative;
    width: 100%;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    transition: transform 0.4s ease;
    width: 100%;
}

.related-article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(211, 47, 47, 0.15);
}

/* Link bao toàn card, bỏ gạch chân */
.related-article-card .related-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.related-article-image,
.related-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--secondary-color);
}

.related-article-image img,
.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-card:hover .related-article-image img,
.related-article-card:hover .related-card-image img {
    transform: scale(1.1);
}

.related-article-content,
.related-card-content {
    padding: 20px;
}

.related-article-category,
.related-category {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.related-article-title,
.related-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px;
    line-height: 1.4;
}

.related-article-title a,
.related-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article-title a:hover,
.related-card-title a:hover {
    color: var(--primary-color);
}

.related-article-excerpt {
    font-size: 0.85rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-meta {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: #7a8a99;
    padding-top: 15px;
    border-top: 1px solid #e8ecef;
}

.no-related {
    text-align: center;
    color: #7a8a99;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-detail-section {
        padding: 80px 0 40px;
    }

    .news-detail-title {
        font-size: 1.6rem;
    }

    .news-detail-image {
        height: 280px;
    }


    .news-detail-meta {
        flex-direction: column;
        gap: 12px;
    }

    .news-detail-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-detail-share {
        width: 100%;
    }

    .share-btn {
        flex: 1;
        justify-content: center;
    }

    .related-articles-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    
    .related-articles-grid {
        display: flex;
        flex-direction: row;
        gap: 16px;
        transform: translateX(0);
        will-change: transform;
    }
    
    .related-article-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        flex-shrink: 0;
        flex-grow: 0;
        box-sizing: border-box;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .related-carousel-nav {
        margin-top: 20px;
    }

    .news-detail-excerpt {
        font-size: 1.1rem;
        padding: 15px;
    }

    .news-detail-body {
        font-size: 1rem;
    }
}

/* //////////////////////////// */
/*
 * CSS for Custom Layouts in News Detail
 * Bao gồm: 4-Column Grid (Features, Applications), Benefits List, và Workflow Steps
 * Vui lòng thêm nội dung này vào file CSS chính của bạn.
 */

/* =================================================
 * GLOBAL STYLES FOR ALL SECTIONS
 * ================================================= */
 .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff; /* Màu xanh dương */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* =================================================
 * 1. 4-COLUMN GRID (Features, Applications)
 * ================================================= */
 .features-section {
    padding: 40px 0;
    margin-top: 30px;
    background-color: #f9f9f9;
}

/* Default 4-column for Features section */
.features-section .grid-4-cols-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.applications-section {
    padding: 40px 0;
    margin-top: 30px;
    background-color: #f9f9f9;
}

/* Force 2 columns on desktop for Applications section */
.applications-section .grid-4-cols-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px; /* Giới hạn chiều rộng để 2 cột không quá rộng */
    margin: 0 auto; /* Căn giữa */
}

.grid-4-cols-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.grid-item .item-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 15px;
}

.grid-item .item-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.grid-item .item-content {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* =================================================
 * 2. BENEFITS LIST (Lợi ích cho doanh nghiệp)
 * ================================================= */
.benefits-section {
    padding: 40px 0;
    margin-top: 30px;
}

.benefits-list-wrapper {
    /* max-width: 800px;  */
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.benefit-icon-wrapper {
    flex-shrink: 0;
    margin-right: 15px;
    padding-top: 5px; /* Căn chỉnh icon với tiêu đề */
}

.benefit-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.benefit-content {
    flex-grow: 1;
}

.benefit-item .item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #007bff; /* Màu xanh dương cho tiêu đề */
    margin-bottom: 5px;
}

.benefit-item .item-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

/* =================================================
 * 3. WORKFLOW STEPS (Quy trình triển khai)
 * ================================================= */
.workflow-section {
    padding: 40px 0;
    margin-top: 30px;
    background-color: #f9f9f9;
}

.workflow-steps-wrapper {
    max-width: 700px; /* Giới hạn chiều rộng */
    margin: 0 auto;
    position: relative;
    padding-left: 21px; /* Khoảng trống cho đường kẻ và số bước */
}

/* Đường kẻ dọc */
.workflow-steps-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 2px;
    background-color: #ddd;
}

.workflow-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step-number-wrapper {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    position: absolute;
    left: -30px; /* Đặt số bước ra ngoài đường kẻ */
    top: 0;
    background-color: #f9f9f9; /* Màu nền của section */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.step-content {
    flex-grow: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-left: 30px; /* Khoảng cách từ đường kẻ */
}

.workflow-step .item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.workflow-step .item-content {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

/* =================================================
 * RESPONSIVE ADJUSTMENTS
 * ================================================= */

/* Tablet/Medium Screens (max-width: 992px) */
@media (max-width: 992px) {
    .grid-4-cols-wrapper {
        grid-template-columns: repeat(2, 1fr); /* 2 cột cho Features/Applications */
    }
    /* Applications (2-column default) -> 2 columns (giữ nguyên) */
    .applications-section .grid-4-cols-wrapper {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    .benefits-list-wrapper {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .workflow-steps-wrapper {
        max-width: 100%;
        padding-left: 10px;
    }
}

/* Mobile/Small Screens (max-width: 576px) */
@media (max-width: 576px) {
    .features-section .grid-4-cols-wrapper,
    .applications-section .grid-4-cols-wrapper {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .benefit-item {
        padding: 15px;
    }
    
    .workflow-steps-wrapper {
        padding-left: 10px;
    }
    
    .step-number-wrapper {
        left: -20px;
    }
    
    .step-content {
        margin-left: 20px;
    }
}
.solution-hero-section {
    padding: 80px 0;
    margin-top: 70px; /* Để tránh header cố định */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Màu nền như ảnh mẫu */
    color: white;
    overflow: hidden;
}

.solution-hero-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.solution-hero-wrapper .hero-image {
    flex: 1;
    max-width: 50%;
    position: relative;
}

.solution-hero-wrapper .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
}

.solution-hero-wrapper .hero-content {
    flex: 1;
    max-width: 50%;
    padding-left: 20px;
}

.hero-category {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.hero-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* =================================================
 * 3. SOLUTION CONTENT WRAPPER
 * ================================================= */
.solution-content-wrapper {
    padding: 50px 0;
}

.overview-section {
    /* max-width: 900px; */
    margin: 0 auto 50px;
    padding-top: 20px;
}

.overview-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    width: fit-content;
}

.overview-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: #007bff;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.overview-section .article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

/* =================================================
 * 4. RESPONSIVE DESIGN
 * ================================================= */

@media (max-width: 992px) {
    .solution-hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .solution-hero-wrapper .hero-image,
    .solution-hero-wrapper .hero-content {
        max-width: 100%;
        padding-left: 0;
    }
    
    .solution-hero-wrapper .hero-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .solution-hero-wrapper .hero-content {
        order: 2;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-excerpt {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .solution-hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .overview-title {
        font-size: 1.5rem;
    }
}

