/* ===================================
   Global Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===================================
   Icon Styles
   =================================== */

/* SVG Icon Styles (Old - keeping for backward compatibility) */
svg {
    display: inline-block;
    vertical-align: middle;
}

svg use {
    pointer-events: none;
}

/* Ensure SVG icons inherit colors */
svg[style*="fill"] use,
svg use[style*="fill"] {
    fill: currentColor;
}

/* ===================================
   Professional Icon Color System
   Based on UI/UX Best Practices for B2B IT Services

   Note: SVG stroke="" in files, controlled by CSS stroke property
   =================================== */

/* Base: Set default stroke for all heroicons */
img[src*="heroicons/"] {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    stroke: #212529; /* Default dark gray */
}

/* Smooth transitions */
img[src*="heroicons/"] {
    transition: stroke 0.2s ease-in-out;
}

/* ===================================
   Primary Brand Icons (Professional Blue)
   Usage: Service cards, Product categories, Features
   Color: #0d6efd (Bootstrap Primary Blue)
   =================================== */
.service-icon img[src*="heroicons/"],
.partner-badge img[src*="heroicons/"],
.partner-certification img[src*="heroicons/"] {
    stroke: #0d6efd !important; /* Professional blue */
}

/* Service icon sizes */
.service-icon img[src*="heroicons/"] {
    width: 2.5rem;
    height: 2.5rem;
    transition: transform 0.3s ease, stroke 0.2s ease-in-out;
}

.service-icon img[src*="heroicons/"]:hover {
    transform: scale(1.05);
    stroke: #0a58ca !important; /* Darker blue on hover */
}

/* Partner badge sizes */
.partner-badge img[src*="heroicons/"],
.partner-certification img[src*="heroicons/"] {
    width: 2rem;
    height: 2rem;
    transition: stroke 0.2s ease-in-out;
}

.partner-badge img[src*="heroicons/"]:hover,
.partner-certification img[src*="heroicons/"]:hover {
    stroke: #0a58ca !important; /* Darker blue */
}

/* ===================================
   Secondary Icons (Professional Gray)
   Usage: Market stats, Office features, Statistics
   Color: #6c757d (Bootstrap Secondary Gray)
   =================================== */
.market-stats img[src*="heroicons/"],
.office-features img[src*="heroicons/"] {
    stroke: #6c757d !important; /* Professional gray */
    width: 1.8rem;
    height: 1.8rem;
    transition: stroke 0.2s ease-in-out;
}

.market-stats img[src*="heroicons/"]:hover,
.office-features img[src*="heroicons/"]:hover {
    stroke: #0d6efd !important; /* Blue on hover */
}

/* ===================================
   Accent Icons (Gold/Yellow for Trust & Authority)
   Usage: Awards, Certifications, Trust indicators
   Color: #ffc107 (Bootstrap Warning Gold)
   =================================== */
/* Applied via inline styles in HTML with style="stroke: #ffc107" */

/* ===================================
   Footer Contact Icons (High Contrast on Dark)
   Usage: Email, WhatsApp, Social links
   Color: #ffc107 (Gold - high contrast against dark footer)
   =================================== */
.footer-contact img[src*="heroicons/"] {
    stroke: #ffc107 !important; /* Gold for footer */
    width: 1em;
    height: 1em;
    vertical-align: middle;
    transition: stroke 0.2s ease-in-out;
}

.footer-contact img[src*="heroicons/"]:hover {
    stroke: #ffca2c !important; /* Lighter gold on hover */
}

/* ===================================
   Scroll to Top Button Icon
   Usage: Back to top navigation
   Color: White on blue background
   =================================== */
.scroll-to-top img[src*="heroicons/"] {
    width: 1em;
    height: 1em;
    stroke: #ffffff !important; /* White */
}

/* ===================================
   Accessibility: Focus States
   Keyboard navigation support (WCAG 2.1)
   =================================== */
img[src*="heroicons/"]:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ===================================
   Responsive Icon Sizing
   Mobile-first approach
   =================================== */
@media (max-width: 576px) {
    .service-icon img[src*="heroicons/"] {
        width: 2rem;
        height: 2rem;
    }

    .market-stats img[src*="heroicons/"],
    .office-features img[src*="heroicons/"] {
        width: 1.5rem;
        height: 1.5rem;
    }
}

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #dee2e6;
    --gradient-overlay: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(25, 135, 84, 0.85));
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   Container System
   =================================== */

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 1200px;
}

/* Narrow container for centered content */
.container-narrow {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 900px;
}

/* Wide container for full-bleed sections */
.container-wide {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 1400px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    gap: 0;
}

/* Row with gap for modern spacing */
.row-gap {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.col-lg-12,
.col-lg-6,
.col-lg-4,
.col-md-6 {
    position: relative;
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.text-center {
    text-align: center !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.ms-auto {
    margin-left: auto !important;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
}

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

.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
    color: #fff;
}

.navbar-nav {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.nav-item {
    margin-left: 0;
}

.navbar-collapse {
    display: none;
}

.navbar-collapse.show {
    display: block;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #fff;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon::after {
    bottom: 0;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.3333%;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-lg-12 {
        flex: 0 0 auto;
        width: 100%;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        align-items: center;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    padding: 1rem 0;
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    margin: 0;
}

/* Logo Image Styles */
.logo-image {
    max-width: 240px;
    height: auto;
    display: block;
}

/* Responsive logo sizing */
@media (max-width: 767px) {
    .logo-image {
        max-width: 192px;
    }
}

@media (max-width: 575px) {
    .logo-image {
        max-width: 168px;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 767.98px) {
    #mainNav .navbar-nav {
        display: none;
    }

    #mainNav .navbar-toggler {
        display: none;
    }
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/hero-background.svg') center/cover no-repeat;
    text-align: center;
    color: white;
    padding-top: 140px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title-cn {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-title-en {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-divider {
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-text-cn,
.hero-text-en {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-text-en {
    opacity: 0.9;
    font-size: 1.1rem;
}

.hero-btn {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: var(--accent-color);
    border: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
    background: #e6a800;
}

/* ===================================
   Section Titles
   =================================== */

.section-title {
    margin-bottom: 4rem;
}

.title-cn {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.title-en {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* ===================================
   Services Section
   =================================== */

.services-section {
    padding: 6rem 0;
    background: var(--light-color);
}

/* ===================================
   Partner Card (Special Highlight)
   =================================== */

.partner-card {
    position: relative;
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(13, 110, 253, 0.3);
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(13, 110, 253, 0.4);
}

.partner-badge {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffc107;
}

.partner-content {
    flex: 1;
    min-width: 0;
}

.partner-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.partner-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.95;
    margin-top: 0.5rem;
}

.partner-description {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.partner-text-en,
.partner-text-cn {
    margin: 0;
    line-height: 1.6;
}

.partner-text-en {
    font-size: 1rem;
    opacity: 0.95;
}

.partner-text-cn {
    font-size: 0.95rem;
    opacity: 0.85;
}

.partner-certification {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    color: #ffc107;
}

.certification-badge {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 2px solid rgba(13, 110, 253, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    fill: white;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-title-cn {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.service-title-en {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-text-cn,
.service-text-en {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.service-text-en {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===================================
   Market Section
   =================================== */

.market-section {
    padding: 6rem 0;
    background: white;
}

.market-content {
    padding: 1.5rem;
}

.market-text-cn,
.market-text-en {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.market-text-en {
    font-size: 1rem;
    opacity: 0.95;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary-color), #1976d2);
    color: white;
}

.stat-item svg {
    width: 2rem;
    height: 2rem;
    fill: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item:hover svg {
    fill: white;
}

.stat-item span {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.stat-item small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.market-image {
    max-width: 90%;
    margin: 0 auto;
}

.market-image img {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
}

.market-image img:hover {
    transform: scale(1.02);
}

/* ===================================
   Office Section
   =================================== */

.office-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.office-content {
    padding: 1.5rem;
}

.office-text-cn,
.office-text-en {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.office-text-en {
    font-size: 1rem;
    opacity: 0.95;
}

.office-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-item svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    display: block;
}

.office-image {
    max-width: 90%;
    margin: 0 auto;
}

.office-image img {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
}

.office-image img:hover {
    transform: scale(1.02);
}

/* ===================================
   Image Carousel
   =================================== */

.image-carousel {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.carousel-slides {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 宽高比 */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: #ffc107;
    border-color: #ffc107;
    width: 32px;
    border-radius: 6px;
}

/* ===================================
   Products Section
   =================================== */

.products-section {
    padding: 6rem 0;
    background: white;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.product-info {
    padding: 1rem;
    text-align: center;
}

.product-name {
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    font-size: 0.95rem;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #1976d2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: white;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-brand-cn {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand-en {
    display: block;
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 400;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: white;
}

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

.social-icon:hover svg {
    fill: white;
}

.footer-divider {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* ===================================
   Scroll to Top Button
   =================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: white;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #1976d2;
    transform: translateY(-5px);
}

.scroll-to-top:hover svg {
    fill: white;
}

/* ===================================
   Animations
   =================================== */

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

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 991px) {
    .container,
    .container-narrow,
    .container-wide {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .partner-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .partner-badge {
        width: 70px;
        height: 70px;
    }

    .partner-title {
        font-size: 1.3rem;
    }

    .partner-certification {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .market-image,
    .office-image {
        max-width: 85%;
    }

    .hero-title-cn {
        font-size: 2.5rem;
    }

    .hero-title-en {
        font-size: 1.5rem;
    }

    .hero-text-cn,
    .hero-text-en {
        font-size: 1rem;
    }

    .market-stats,
    .office-features {
        grid-template-columns: 1fr;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .title-cn {
        font-size: 2rem;
    }

    .title-en {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .container,
    .container-narrow,
    .container-wide {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .partner-card {
        padding: 1.75rem 1.25rem;
        gap: 1.25rem;
    }

    .partner-badge {
        width: 60px;
        height: 60px;
    }

    .partner-badge svg {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }

    .partner-title {
        font-size: 1.15rem;
    }

    .partner-text-en {
        font-size: 0.95rem;
    }

    .partner-text-cn {
        font-size: 0.9rem;
    }

    .partner-certification {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }

    .partner-certification svg {
        width: 2rem !important;
        height: 2rem !important;
    }

    .certification-badge {
        font-size: 0.8rem;
    }

    .market-image,
    .office-image {
        max-width: 100%;
    }

    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-title-cn {
        font-size: 2rem;
    }

    .hero-title-en {
        font-size: 1.2rem;
    }

    .hero-text-cn,
    .hero-text-en {
        font-size: 0.95rem;
    }

    .services-section,
    .market-section,
    .office-section,
    .products-section,
    .contact-section {
        padding: 4rem 0;
    }

    .service-card {
        padding: 1.5rem 1.25rem;
    }

    .market-content,
    .office-content {
        padding: 1.25rem;
    }

    .contact-info {
        padding: 1.5rem 1.25rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 575px) {
    .hero-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .market-stats {
        gap: 1rem;
    }

    .office-features {
        grid-template-columns: 1fr;
    }
}
