/* ============================================
   SHANGHAI ANZI TRANS - STYLESHEET
   ============================================ */

/* ----- CSS RESET & BASE STYLES ----- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a5f;
    --accent-blue: #2563eb;
    --light-blue: #3b82f6;
    --dark-bg: #0f172a;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --off-white: #f8fafc;
    --border-light: #e2e8f0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
}

.logo-icon::after {
    content: 'A';
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span:first-child {
    font-size: 15px;
    font-weight: 600;
    margin-top: 3%;
    margin-bottom: -5%;
    letter-spacing: 2px;
    color: var(--text-gray);
    text-transform: uppercase;
}

.logo-text span:last-child {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 2px 2px 0 0;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown i {
    font-size: 10px;
}

/* Services Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.nav-dropdown .dropdown-menu li {
    width: 100%;
}

.nav-dropdown .dropdown-menu li a {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown .dropdown-menu li a:hover {
    color: var(--accent-blue);
    background: #f5f5f5;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 50%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 24px;
}

.hero-content {
    max-width: 560px;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--accent-blue);
}

.hero-desc {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 6px;
    font-weight: 500;
}

/* Hero Image Area */
.hero-image-wrapper {
    position: relative;
    height: 520px;
}

.hero-image-main {
    position: absolute;
    right: -60px;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    right: -60px;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30,58,95,0.65) 0%, rgba(37,99,235,0.45) 100%);
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 15% 100%);
    border-radius: 20px 0 0 20px;
}

.hero-logo-badge {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    z-index: 10;
}

.hero-logo-badge .logo-icon {
    width: 64px;
    height: 64px;
    border-width: 3px;
}

.hero-logo-badge .logo-icon::before {
    width: 40px;
    height: 40px;
    border-width: 3px;
}

.hero-logo-badge .logo-icon::after {
    font-size: 24px;
}

/* ============================================
   OUR STORY SECTION
   ============================================ */
.our-story {
    padding: 100px 0;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.story-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-images {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    height: 400px;
}

.story-img-main {
    grid-row: span 2;
    border-radius: 16px;
    overflow: hidden;
}

.story-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-img-small {
    border-radius: 12px;
    overflow: hidden;
}

.story-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   OUR VALUES SECTION
   ============================================ */
.our-values {
    padding: 80px 0;
    background: var(--off-white);
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--white);
    padding: 40px 28px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 24px;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ============================================
   GLOBAL TEAM SECTION
   ============================================ */
.global-team {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.global-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/World_map_-_low_resolution.svg/1200px-World_map_-_low_resolution.svg.png') center/contain no-repeat;
    opacity: 0.08;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.team-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.team-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 400px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-bg);
    border-color: var(--white);
}

.team-map {
    position: relative;
    height: 400px;
}

.team-member {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--white);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: var(--transition);
    cursor: pointer;
}

.team-member:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Position team members on the map */
.team-member:nth-child(1) { top: 20%; left: 15%; }
.team-member:nth-child(2) { top: 10%; left: 45%; }
.team-member:nth-child(3) { top: 35%; left: 65%; }
.team-member:nth-child(4) { top: 15%; left: 80%; }
.team-member:nth-child(5) { top: 60%; left: 25%; }
.team-member:nth-child(6) { top: 55%; left: 55%; }
.team-member:nth-child(7) { top: 70%; left: 75%; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: var(--white);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 440px;
}

.cta-banner {
    padding: 60px 0;
    background: var(--off-white);
}

.cta-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-banner-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cta-banner-text p {
    font-size: 15px;
    color: var(--text-gray);
}

.cta-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-bg);
    padding: 80px 40px;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    border-color: var(--white);
}

.footer-brand .logo-icon::before {
    border-color: var(--white);
}

.footer-brand .logo-icon::after {
    color: var(--white);
}

.footer-brand .logo-text span:first-child {
    color: var(--text-light);
}

.footer-brand .logo-text span:last-child {
    color: var(--white);
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-contact ul li i {
    color: var(--accent-blue);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
}

/* ----- Footer Bottom Bar ----- */
        .footer-bottom {
            background: var(--dark-bg);
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 24px 0;
        }

        .footer-bottom-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .footer-bottom p {
            font-size: 13px;
            color: var(--text-light);
        }

        .footer-bottom-links {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .footer-bottom-links a {
            font-size: 13px;
            color: var(--text-light);
            transition: var(--transition);
        }

        .footer-bottom-links a:hover {
            color: var(--white);
        }

        .footer-bottom-links span {
            color: rgba(255,255,255,0.2);
        }


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }



   
/* ============================================
   LANGUAGE SWITCHER
============================================ */

.lang-switcher {
    position: relative;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.lang-switcher-btn:hover {
    background: var(--off-white);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.lang-switcher-btn i:first-child {
    color: var(--accent-blue);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1001;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    white-space: nowrap;
}

.lang-dropdown li a:hover {
    background: var(--off-white);
    color: var(--accent-blue);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lang-switcher {
        display: none;
    }
}