/*
Theme Name: TBG Logistics Pro
Description: A modern, responsive WordPress theme for logistics companies with multi-language support
Version: 2.0
Author: TBG Logistics
*/

/* CSS Variables */
:root {
    /* Color Variables - Updated Palette */
    --rust: #ac532c;
    --pale-dogwood: #d2b3a7;
    --brown-sugar: #bc7b5f;
    --black-bean: #2e0505;
    
    /* Derived Colors */
    --primary-color: var(--black-bean);
    --primary-dark: #1a0303;
    --secondary-color: var(--rust);
    --accent-color: var(--brown-sugar);
    --text-dark: var(--black-bean);
    --text-light: var(--pale-dogwood);
    --text-white: #ffffff;
    --bg-light: var(--pale-dogwood);
    --bg-white: #ffffff;
    --border-color: var(--brown-sugar);
    --shadow-sm: 0 1px 2px 0 rgba(46, 5, 5, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(46, 5, 5, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(46, 5, 5, 0.1);
    
    /* Scroll-based Background Colors */
    --section-bg-1: #ffffff;
    --section-bg-2: rgba(210, 179, 167, 0.1);
    --section-bg-3: rgba(172, 83, 44, 0.05);
    --section-bg-4: rgba(188, 123, 95, 0.08);
    --section-bg-5: rgba(46, 5, 5, 0.02);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    
    /* Animation Durations */
    --animation-fast: 0.3s;
    --animation-normal: 0.6s;
    --animation-slow: 1s;
    --animation-float: 6s;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-tagline {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

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

.main-navigation a:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 2rem;
}

.language-toggle {
    background: linear-gradient(135deg, var(--rust) 0%, var(--brown-sugar) 100%);
    border: 2px solid var(--rust);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(172, 83, 44, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.language-toggle:hover {
    background: linear-gradient(135deg, var(--brown-sugar) 0%, var(--rust) 100%);
    border-color: var(--brown-sugar);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(172, 83, 44, 0.3);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border: 2px solid var(--rust);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
    backdrop-filter: blur(10px);
    z-index: 1001;
}

.language-switcher:hover .language-dropdown,
.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(172, 83, 44, 0.1);
    font-weight: 500;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: linear-gradient(135deg, var(--pale-dogwood) 0%, rgba(210, 179, 167, 0.3) 100%);
    color: var(--rust);
    transform: translateX(5px);
    padding-left: 1.5rem;
}

.lang-option span {
    font-size: 1.2rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Service Banner */
.service-banner {
    background: linear-gradient(135deg, var(--black-bean) 0%, var(--rust) 100%);
    color: var(--text-white);
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 80px;
}

.banner-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--black-bean) 0%, var(--rust) 50%, var(--brown-sugar) 100%);
}

.banner-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.banner-slide.prev {
    transform: translateX(-100%);
}

.slide-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.slide-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideInUp 0.8s ease-out;
}

.slide-content p {
    font-size: 1rem;
    opacity: 0.9;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--text-white);
    transform: scale(1.2);
}

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

/* Hero Section */
.hero-section {
    color: var(--text-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(46, 5, 5, 0.8) 0%, rgba(172, 83, 44, 0.6) 40%, rgba(0, 0, 0, 0.6) 100%),
        url('assets/img/heromain.jpg') center/cover no-repeat;
    animation: backgroundShift 15s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 5, 5, 0.7) 0%, rgba(172, 83, 44, 0.5) 100%);
    z-index: 2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px, 80px 80px;
    animation: particleFloat 25s ease-in-out infinite;
    z-index: 1;
}

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

@keyframes backgroundShift {
    0%, 100% { 
        background-position: 0% 50%, 100% 50%, 50% 50%;
        opacity: 0.8;
    }
    50% { 
        background-position: 100% 50%, 0% 50%, 50% 100%;
        opacity: 1;
    }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg);
        opacity: 1;
    }
    75% { 
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.element:hover {
    transform: scale(1.2) translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.element.ship {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element.plane {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.element.truck {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.element.container {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rust) 0%, var(--brown-sugar) 100%);
    color: var(--text-white);
    border-color: var(--rust);
    box-shadow: 0 6px 20px rgba(172, 83, 44, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--brown-sugar) 0%, var(--rust) 100%);
    border-color: var(--brown-sugar);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(172, 83, 44, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--rust);
    border-color: var(--rust);
    box-shadow: 0 4px 15px rgba(172, 83, 44, 0.1);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--rust) 0%, var(--brown-sugar) 100%);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(172, 83, 44, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Section Styles */
.section-padding {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-section .section-title,
.services-section .section-subtitle {
    color: var(--text-white);
}

/* Services Section */
.services-section {
    background: url('assets/img/mainimg02.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 5, 5, 0.8) 0%, rgba(172, 83, 44, 0.7) 100%);
    opacity: 0.75;
    transition: opacity var(--animation-normal) ease;
    z-index: 0;
}

.services-section.scroll-active::before {
    opacity: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: none;
    animation: none;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--rust) 0%, var(--brown-sugar) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(172, 83, 44, 0.2);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(172, 83, 44, 0.3);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Expert Staff Section */
.expert-staff-section {
    background: var(--section-bg-2);
    position: relative;
    overflow: hidden;
}

.expert-staff-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--section-bg-3) 0%, var(--section-bg-4) 100%);
    opacity: 0;
    transition: opacity var(--animation-normal) ease;
    z-index: 0;
}

.expert-staff-section.scroll-active::before {
    opacity: 1;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.staff-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-100px);
}

.staff-card:nth-child(2) {
    transform: translateY(100px);
}

.staff-card:nth-child(3) {
    transform: translateX(100px);
}

.staff-card.scroll-active {
    opacity: 1;
    transform: translate(0, 0);
    transition: all var(--animation-normal) cubic-bezier(0.4, 0, 0.2, 1);
}

.staff-card:nth-child(1).scroll-active {
    transition-delay: 0s;
}

.staff-card:nth-child(2).scroll-active {
    transition-delay: 0.2s;
}

.staff-card:nth-child(3).scroll-active {
    transition-delay: 0.4s;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.staff-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--rust) 0%, var(--brown-sugar) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 6px 20px rgba(172, 83, 44, 0.2);
    transition: all 0.3s ease;
}

.staff-card:hover .staff-avatar {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(172, 83, 44, 0.3);
}

.language-flags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.flag {
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.flag:nth-child(2) {
    animation-delay: 0.5s;
}

.flag:nth-child(3) {
    animation-delay: 1s;
}

.staff-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.staff-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.staff-description {
    max-width: 800px;
    margin: 0 auto;
}

.staff-description p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Time and Cost Saving Section */
.time-cost-section {
    background: var(--section-bg-3);
    position: relative;
    overflow: hidden;
}

.time-cost-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--section-bg-4) 0%, var(--section-bg-5) 100%);
    opacity: 0;
    transition: opacity var(--animation-normal) ease;
    z-index: 0;
}

.time-cost-section.scroll-active::before {
    opacity: 1;
}

.savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.saving-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: scale(0.5) translateY(50px);
}

.saving-item.scroll-active {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: all var(--animation-normal) cubic-bezier(0.34, 1.56, 0.64, 1);
}

.saving-item:nth-child(1).scroll-active {
    transition-delay: 0s;
}

.saving-item:nth-child(2).scroll-active {
    transition-delay: 0.2s;
}

.saving-item:nth-child(3).scroll-active {
    transition-delay: 0.4s;
}

.saving-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.saving-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brown-sugar) 0%, var(--rust) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(188, 123, 95, 0.2);
    transition: all 0.3s ease;
}

.saving-item:hover .saving-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(188, 123, 95, 0.3);
}

.saving-icon svg {
    width: 30px;
    height: 30px;
}

.saving-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.saving-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--section-bg-4);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--section-bg-5) 0%, var(--section-bg-1) 100%);
    opacity: 0;
    transition: opacity var(--animation-normal) ease;
    z-index: 0;
}

.stats-section.scroll-active::before {
    opacity: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.scroll-active {
    opacity: 1;
    transform: translateY(0);
    transition: all var(--animation-normal) ease;
}

.stat-card:nth-child(1).scroll-active {
    transition-delay: 0s;
}

.stat-card:nth-child(2).scroll-active {
    transition-delay: 0.1s;
}

.stat-card:nth-child(3).scroll-active {
    transition-delay: 0.2s;
}

.stat-card:nth-child(4).scroll-active {
    transition-delay: 0.3s;
}

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

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--rust);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.stat-card:hover .stat-number {
    color: var(--brown-sugar);
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Client Logos / Partners Marquee */
.client-logos-section {
    background: var(--bg-white);
    padding: 2rem 0 3rem;
}

.client-logos-header {
    margin-bottom: 1.5rem;
}

.client-logos-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

.client-logos-marquee {
    position: relative;
    overflow: hidden;
}

.client-logos-track {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 3rem;
    animation: clientLogosScroll 25s linear infinite;
    will-change: transform;
}

.client-logos-section:hover .client-logos-track {
    animation-play-state: paused;
}

.client-logo-item {
    flex: 0 0 auto;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.client-logo-item img {
    max-height: 64px;
    width: auto;
}

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

.client-logo-item:hover img {
    filter: grayscale(0%);
}

@keyframes clientLogosScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Networks Section */
.networks-section {
    background: var(--section-bg-5);
    position: relative;
    overflow: hidden;
    
}

.networks-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--section-bg-1) 0%, var(--section-bg-2) 100%);
    opacity: 0;
    transition: opacity var(--animation-normal) ease;
    z-index: 0;
}

.networks-section.scroll-active::before {
    opacity: 1;
}

.networks-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.networks-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.networks-brand-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Vietnam Map */
.vietnam-map {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all var(--animation-slow) ease;
}

.vietnam-map.scroll-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.map-container {
    position: relative;
    margin-bottom: 2rem;
}

.vietnam-svg {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.location-markers .marker {
    cursor: pointer;
    transition: all var(--animation-fast) ease;
    filter: drop-shadow(0 0 5px rgba(172, 83, 44, 0.3));
}

.location-markers .marker:hover {
    transform: scale(1.3);
    filter: drop-shadow(0 0 10px rgba(172, 83, 44, 0.6));
    animation: pulse var(--animation-fast) ease-in-out;
}

.location-markers .marker.scroll-active {
    animation: markerGlow 2s ease-in-out infinite;
}

.location-label {
    font-size: 12px;
    font-weight: 500;
    fill: var(--text-dark);
}

.connections line {
    stroke-dasharray: 5,5;
    animation: dash 2s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -10;
    }
}

.map-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color.noi-bai { background: var(--rust); }
.legend-color.hai-phong { background: var(--brown-sugar); }
.legend-color.ho-chi-minh { background: var(--black-bean); }
.legend-color.taipei { background: var(--pale-dogwood); }

/* About Section */
.about-section {
    background: var(--section-bg-1);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--section-bg-2) 0%, var(--section-bg-3) 100%);
    opacity: 0;
    transition: opacity var(--animation-normal) ease;
    z-index: 0;
}

.about-section.scroll-active::before {
    opacity: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all var(--animation-normal) ease;
}

.about-text.scroll-active {
    opacity: 1;
    transform: translateX(0);
}

.about-image {
    opacity: 0;
    transform: translateX(50px);
    transition: all var(--animation-normal) ease;
    transition-delay: 0.2s;
}

.about-image.scroll-active {
    opacity: 1;
    transform: translateX(0);
}

.about-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-image {
    position: relative;
}

.image-container.about-image-slider {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 300px;
}

.about-image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.about-image-slider img.active {
    opacity: 1;
}

/* Contact CTA Section */
.contact-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Categories */
.service-category {
    background: var(--bg-white);
}

.service-category:nth-child(even) {
    background: var(--bg-light);
}

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

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-white);
}

.category-icon svg {
    width: 40px;
    height: 40px;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.category-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-item .service-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.service-item .service-icon svg {
    width: 25px;
    height: 25px;
}

.service-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-white);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-slide-in {
    animation: slideInRight 1s ease-out 0.3s both;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 120px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
    }
    
    /* Language Switcher Mobile Styles */
    .language-switcher {
        margin-left: 1rem;
    }
    
    .language-toggle {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .language-dropdown {
        right: -1rem;
        min-width: 160px;
    }
    
    .lang-option {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .networks-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .network-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .map-legend {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .service-card,
    .service-item {
        padding: 1.5rem;
    }
    
    .network-stats,
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--border-radius); }
.rounded-full { border-radius: 50%; }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-accent { background-color: var(--accent-color); }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.text-dark { color: var(--text-dark); }
.text-light { color: var(--text-light); }
.text-white { color: var(--text-white); }

/* Enhanced Scroll Animations */
@keyframes markerGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(172, 83, 44, 0.3));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(172, 83, 44, 0.8));
        transform: scale(1.1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(172, 83, 44, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(172, 83, 44, 0.6);
    }
}

/* Parallax Background Animation */
@keyframes parallaxBackground {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-20px);
    }
}

/* Floating Elements Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

/* Count-up Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Reveal Animation */
@keyframes staggeredReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Background Transition Animation */
@keyframes backgroundTransition {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
