/* ========================================
   T2T VIETNAM - MAIN STYLESHEET
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    --primary: #2B4A8E;
    --primary-dark: #1E3A6E;
    --primary-light: #3D5FA0;
    --secondary: #E53935;
    --secondary-dark: #C62828;
    --secondary-light: #EF5350;
    --dark: #1a1a2e;
    --gray-dark: #333;
    --gray: #666;
    --gray-light: #999;
    --light: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* Disable AOS animations */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gray-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== UTILITIES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-gray {
    background: var(--light);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(229, 57, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(229, 57, 53, 0.5);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(43, 74, 142, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(43, 74, 142, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    color: var(--dark);
    margin-bottom: 20px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 16px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled,
.header.header-solid {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo-dark {
    display: none;
}

.header.scrolled .logo-light,
.header.header-solid .logo-light {
    display: none;
}

.header.scrolled .logo-dark,
.header.header-solid .logo-dark {
    display: block;
}

/* ========== NAVIGATION ========== */
.nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-link,
.header.header-solid .nav-link {
    color: var(--dark);
}

.header.scrolled .nav-link:hover,
.header.header-solid .nav-link:hover {
    background: var(--light);
    color: var(--primary);
}

.nav-link.active {
    color: var(--secondary);
}

/* Dropdown */
.nav-item.has-dropdown {
    position: relative;
}

.nav-link.has-dropdown::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
    transition: var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 25px;
    color: var(--gray-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 30px;
}

.dropdown-item i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
}

/* Nav CTA */
/* Language Dropdown */
.nav-lang {
    margin-left: 10px;
}

.lang-dropdown {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.header-solid .lang-btn {
    color: var(--dark);
    border-color: rgba(0, 0, 0, 0.2);
}

.header-solid .lang-btn:hover {
    background: var(--light);
    border-color: var(--primary);
    color: var(--primary);
}

.lang-btn .fa-chevron-down {
    font-size: 10px;
    transition: var(--transition);
}

.lang-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 140px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    margin-top: 10px;
    padding: 8px 0;
    z-index: 1000;
}

.lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    font-size: 14px;
    transition: var(--transition);
}

.lang-menu li a:hover,
.lang-menu li a.active {
    background: var(--light);
    color: var(--primary);
}

.nav-cta {
    margin-left: 10px;
}

.nav-cta .btn {
    padding: 10px 20px;
    font-size: 13px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.header.scrolled .mobile-toggle span,
.header.header-solid .mobile-toggle span {
    background: var(--dark);
}

/* ========== PAGE BANNER ========== */
.page-banner {
    background: var(--gradient-primary);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/work.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner-content {
    text-align: center;
    color: var(--white);
}

.page-banner h1 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: var(--secondary);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease-in-out, transform 6s ease-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--white);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(43, 74, 142, 0.7) 0%, rgba(30, 58, 110, 0.8) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--secondary);
}

.hero-title {
    font-size: clamp(36px, 6vw, 60px);
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--secondary);
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-number span {
    color: var(--secondary);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 8px;
}

/* ========== ABOUT SECTION ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.about-img-overlay {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.4);
}

.experience-badge .number {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--secondary);
}

.about-content > p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 16px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.value-item:hover .value-icon {
    background: var(--primary);
    color: var(--white);
}

.value-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.value-text p {
    font-size: 14px;
    color: var(--gray);
}

/* ========== FEATURES ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.values-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .values-grid-2col {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray);
    font-size: 15px;
}

/* ========== PRODUCTS ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(43, 74, 142, 0.9), transparent);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay a {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-content h3 a {
    color: var(--dark);
}

.product-content h3 a:hover {
    color: var(--primary);
}

.product-content p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 15px;
}

.product-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-link i {
    transition: var(--transition);
}

.product-link:hover {
    color: var(--secondary);
}

.product-link:hover i {
    transform: translateX(5px);
}

.product-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    box-shadow: var(--shadow-sm);
}

/* Product Detail Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-detail-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-detail-card:hover {
    box-shadow: var(--shadow);
}

.product-detail-card .product-img {
    height: 200px;
}

.product-detail-card .product-content {
    padding: 20px;
}

.product-detail-card .product-code {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-detail-card h4 {
    font-size: 16px;
    margin-bottom: 0;
}

/* ========== SERVICES ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid #eee;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Service Detail */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-img img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.service-detail-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.service-detail-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-features {
    margin: 25px 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--gray-dark);
}

.service-features li i {
    color: var(--secondary);
    font-size: 18px;
}

/* ========== PROCESS ========== */
.process {
    background: var(--gradient-primary);
}

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.process .section-title {
    color: var(--white);
}

.process .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.process-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.process-number span {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.process-item h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 10px;
}

.process-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ========== CLIENTS ========== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: center;
}

.client-logo {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    min-height: 100px;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.client-logo img {
    max-height: 70px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

/* ========== DOWNLOAD ========== */
.download-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 600px;
}

.download-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 25px;
    align-items: flex-start;
    transition: var(--transition);
}

@media (max-width: 576px) {
    .download-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 25px;
    }

    .download-icon {
        margin: 0 auto;
    }

    .download-content {
        width: 100%;
    }

    .download-info {
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-icon i {
    font-size: 36px;
    color: var(--white);
}

.download-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
}

.download-content > p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 15px;
}

.download-info {
    list-style: none;
    margin-bottom: 20px;
}

.download-info li {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.download-info li i {
    color: var(--primary);
    margin-right: 10px;
    width: 16px;
}

/* ========== PRODUCT DETAIL ========== */
.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-main-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-code-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-detail-info h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.product-category {
    color: var(--gray);
    margin-bottom: 25px;
}

.product-category a {
    color: var(--primary);
}

.product-description,
.product-specs,
.product-features {
    margin-bottom: 25px;
}

.product-description h3,
.product-specs h3,
.product-features h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

.product-description p {
    color: var(--gray);
    line-height: 1.8;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table td {
    padding: 12px 0;
    color: var(--gray);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 40%;
}

.specs-table td i {
    color: var(--primary);
    margin-right: 10px;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 8px 0;
    color: var(--gray);
}

.product-features li i {
    color: var(--secondary);
    margin-right: 10px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

/* ========== ARTICLE DETAIL ========== */
.article-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    align-items: start;
}

.article-content {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.article-header {
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.article-meta span {
    color: var(--gray);
    font-size: 14px;
}

.article-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.article-header h1 {
    font-size: 28px;
    line-height: 1.4;
}

.article-featured-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-body {
    color: var(--gray);
    line-height: 1.9;
}

.article-body .lead {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 25px;
}

.article-body h2 {
    font-size: 22px;
    color: var(--dark);
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 15px;
}

.article-body ul,
.article-body ol {
    margin: 15px 0 15px 25px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-highlight {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

.article-highlight h4 {
    color: var(--dark);
    margin-bottom: 15px;
}

.article-highlight ul {
    margin: 0;
    list-style: none;
}

.article-highlight li {
    padding: 5px 0;
}

.article-body blockquote {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    font-size: 18px;
    font-style: italic;
}

.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags-label,
.share-label {
    color: var(--dark);
    font-weight: 600;
    margin-right: 10px;
}

.tag {
    display: inline-block;
    background: var(--light);
    color: var(--gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin: 5px 5px 5px 0;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
}

.article-share {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.twitter { background: #1da1f2; }

.share-btn:hover {
    transform: translateY(-3px);
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.related-post {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.related-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.related-post h4 {
    font-size: 14px;
    line-height: 1.4;
}

.related-post h4 a {
    color: var(--dark);
}

.related-post h4 a:hover {
    color: var(--primary);
}

.related-post .date {
    font-size: 12px;
    color: var(--gray);
}

.category-list {
    list-style: none;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--gray);
    display: flex;
    align-items: center;
}

.category-list a i {
    color: var(--primary);
    margin-right: 10px;
}

.category-list a:hover {
    color: var(--primary);
}

.sidebar-cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.sidebar-cta h3 {
    border-bottom-color: rgba(255,255,255,0.3);
}

.sidebar-cta p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.sidebar-cta .btn-block {
    width: 100%;
}

.sidebar-cta .hotline {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 700;
}

.sidebar-cta .hotline i {
    margin-right: 10px;
}

/* ========== CTA ========== */
.cta-box {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    color: var(--gray);
    font-size: 15px;
}

.contact-text a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Contact Form */
.contact-form {
    background: var(--light);
    padding: 50px;
    border-radius: 25px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(43, 74, 142, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(43, 74, 142, 0.4);
}

/* ========== NEWS ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.news-img {
    height: 220px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 12px;
}

.news-date i {
    color: var(--secondary);
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content h3 a {
    color: var(--dark);
}

.news-content h3 a:hover {
    color: var(--primary);
}

.news-content p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-link:hover {
    color: var(--secondary);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about img {
    height: 60px;
    margin-bottom: 25px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 15px;
}

.footer h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-contact-list i {
    color: var(--secondary);
    margin-top: 4px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom a img {
    height: 40px !important;
    width: auto;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-bottom a:hover img {
    opacity: 1;
}

.lang-switcher {
    display: flex;
    gap: 15px;
}

.lang-switcher a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--white);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(43, 74, 142, 0.4);
    z-index: 999;
    border: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ========== MAP ========== */
.map-container {
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--dark) !important;
        font-size: 16px;
        padding: 12px 20px;
    }

    .nav-link:hover {
        background: var(--light);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        display: none;
    }

    .nav-item.has-dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-lang {
        position: absolute;
        top: 20px;
        right: 70px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .about-grid,
    .service-detail {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-images {
        order: -1;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-grid::before {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: 30px;
    }

    .product-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-detail-gallery {
        max-width: 600px;
        margin: 0 auto;
    }

    .article-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        order: 2;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-box {
        padding: 50px 30px;
    }

    .contact-form {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .product-detail-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .page-banner {
        padding: 140px 0 60px;
    }

    .hero-nav {
        display: none;
    }

    .product-detail-info h2 {
        font-size: 26px;
    }

    .product-thumbnails {
        gap: 10px;
    }

    .thumbnail {
        width: 70px;
        height: 70px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .article-content h1 {
        font-size: 26px;
    }

    .article-meta {
        flex-wrap: wrap;
    }

    .share-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .product-code-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .specs-table td {
        padding: 12px 15px;
        font-size: 14px;
    }

    .product-features li {
        font-size: 14px;
    }

    .article-content {
        padding: 25px;
    }

    .article-body blockquote {
        padding: 20px;
        font-size: 16px;
    }

    .article-tags {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
