/* ============================================
   SHANGHAI ANZI TRANS HOMEPAGE - STYLESHEET
   ============================================ */

/* ----- CSS VARIABLES & RESET ----- */
:root {
    --dark-navy: #0a1628;
    --navy: #0f1b2e;
    --accent-blue: #2563eb;
    --accent-hover: #1d4ed8;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --off-white: #f8fafc;
    --border-light: #e2e8f0;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    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;
    padding: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid var(--navy);
    border-radius: 50%;
}

.logo-icon::after {
    content: 'A';
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    position: relative;
    z-index: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span:first-child {
    font-size: 15px;
    font-weight: 600;
    margin-top: 2%;
    letter-spacing: 2px;
    color: var(--text-gray);
    text-transform: uppercase;
}

.logo-text span:last-child {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

.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 {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--white) !important;
    padding: 7px 26px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-large {
    padding: 14px 32px;
    font-size: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--navy);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    height: 300px;
    margin-bottom: -40px;
    display: flex;
    background: var(--dark-navy);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-container {
    height: 300px;
    margin-bottom: -40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 600px;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 600px;
    max-width: 1200px;
    padding: 100px 0;
    margin-left: 50px;
    
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}

.hero-slider{
    width:100%;
    max-width:600px;
    height:100vh;
    overflow:hidden;
    position:relative;
}

.slider{
    display:flex;
    width:100%;
    height:100%;
    transition:transform 1s ease-in-out;
}

.slide{
    width:100%;
    height:100%;
    flex-shrink:0;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position: center;
}

#gb img{
    margin-left: 5px;
    object-position: right;
}

#gb1 img{
    height: 90%;
    object-position: center;
}

#tcom img{
    height: 90%;
    object-position: right;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--dark-navy) 35%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   OUR STORY SECTION
   ============================================ */
.our-story {
    padding: 100px;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.story-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

.story-images {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    height: 380px;
}

.story-img-main {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.story-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-img-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.story-img-small {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
}

.story-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 60px;
    margin-top: 60px;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    font-size: 32px;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

/* ============================================
   OUR VALUES SECTION
   ============================================ */
.our-values {
    padding: 80px;
    background: var(--dark-navy);
}

.values-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.value-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.value-text p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================================
   GLOBAL TEAM SECTION
   ============================================ */
.global-team {
    padding: 100px;
    background: var(--off-white);
    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.06;
}

.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(--text-dark);
    margin-bottom: 20px;
}

.team-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 400px;
}

.team-map {
    position: relative;
    height: 400px;
}

.team-member {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--white);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: var(--transition);
    cursor: pointer;
}

.team-member:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px;
    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-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-navy);
    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-navy);
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 24px;
        }

        .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; }

/* ============================================
   ACTIVE NAV UNDERLINE FIX
   ============================================ */

.nav-links a.active {
    position: relative;
    padding-bottom: 28px;
    margin-bottom: -28px;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 2px 2px 0 0;
    display: block;
}

/* ============================================
   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);
}



