/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
    font-size: 0.16rem; /* Base font size: 16px if 1rem=100px */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px; /* Support 4K nicely by allowing wide width */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.logo img {
    height: 48px;
    /* If the logo is white, invert it to black for white background */
    /* Adjust this filter based on actual logo color. Assuming white logo on white bg needs inversion. */
    filter: none;
}

.main-nav {
    flex: 1;
    margin-left: 40px;
}

.main-nav > ul {
    display: flex;
    gap: 30px;
}

.pc-nav {
    position: static;
    left: auto;
    transform: none;
    margin-left: 40px;
    flex: 1;
}
.pc-nav > ul {
    justify-content: flex-start;
}

.main-nav > ul > li {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
}

.main-nav > ul > li > a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding: 0 10px;
}

.main-nav > ul > li.active > a,
.main-nav > ul > li > a.active {
    color: #0056b3;
}

.main-nav > ul > li:hover > a {
    color: #0056b3; /* Brand Blue */
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #f0f0f0; /* Gray background as requested */
    min-width: 200px;
    padding: 10px 0;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 4px 4px;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: #666;
    font-size: 14px;
    white-space: normal;
}

.dropdown a:hover {
    background: #e0e0e0;
    color: #0056b3;
}

.pc-nav .has-dropdown {
    position: relative;
}
.pc-nav .has-dropdown .dropdown {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: none;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease;
    min-width: 240px;
    white-space: nowrap;
    gap: 24px;
    flex-wrap: nowrap;
    align-items: center;
}
.pc-nav .has-dropdown:hover .dropdown {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.pc-nav .dropdown a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    color: #333;
    background: transparent;
    position: relative;
    transition: color .3s ease, background .3s ease, transform .3s ease, opacity .3s ease;
    transform: translateY(8px);
    opacity: 0;
    font-size: 14px;
}
.pc-nav .has-dropdown:hover .dropdown a {
    transform: translateY(0);
    opacity: 1;
}
.pc-nav .dropdown a.active {
    color: #0056b3;
    background: rgba(16,114,224,0.08);
}
.pc-nav .dropdown a.active::after {
    width: 80%;
    left: 10%;
}
.pc-nav .dropdown a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: #1072e0;
    transition: width .3s ease, left .3s ease;
}
.pc-nav .dropdown a:hover {
    color: #0056b3;
    background: rgba(16,114,224,0.08);
}
.pc-nav .dropdown a:hover::after {
    width: 80%;
    left: 10%;
}
.pc-nav .dropdown a:nth-child(1) { transition-delay: 0ms; }
.pc-nav .dropdown a:nth-child(2) { transition-delay: 40ms; }
.pc-nav .dropdown a:nth-child(3) { transition-delay: 80ms; }
.pc-nav .dropdown a:nth-child(4) { transition-delay: 120ms; }
.pc-nav .dropdown a:nth-child(5) { transition-delay: 160ms; }
.pc-nav .dropdown a:nth-child(6) { transition-delay: 200ms; }
.pc-nav .dropdown a:nth-child(7) { transition-delay: 240ms; }
.pc-nav .dropdown a:nth-child(8) { transition-delay: 280ms; }
.pc-nav .dropdown a:nth-child(9) { transition-delay: 320ms; }
.pc-nav .dropdown a:nth-child(10) { transition-delay: 360ms; }

/* Align the Service and Contact dropdowns with the Logo */
.pc-nav > ul > li:nth-child(2).has-dropdown {
    position: static;
}

.pc-nav > ul > li:nth-child(2).has-dropdown .dropdown {
    left: 0;
    transform: translateY(10px);
}

.pc-nav > ul > li:nth-child(2).has-dropdown:hover .dropdown {
    transform: translateY(0);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.14rem;
}

.lang-switch button,
.lang-switch a {
    border: none;
    background: none;
    cursor: pointer;
    color: #999;
    padding: 2px 5px;
    text-decoration: none;
}

.lang-switch button.active,
.lang-switch a.active {
    color: #333;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh; /* Adjust as needed */
    width: 100%;
    overflow: hidden;
    margin-top: 80px; /* Offset fixed header */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* Overlay to make text readable */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 0.64rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 0.24rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.about-hero {
    margin-top: 80px;
    width: 100%;
    height: 618px;
    position: relative;
    overflow: hidden;
    /* background-image removed for video background */
    color: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    padding-top: 180px;
}
.about-hero-inner {
    padding: 0;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
}
.about-hero-text h1 {
    font-size: 0.6rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}
.about-hero-text p {
    font-size: 0.22rem;
    opacity: 0.95;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}

.about-intro-section {
    padding: 60px 5%;
    background: #fff;
}
.about-intro-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 40px;
}
.about-intro-text p {
    font-size: 0.16rem;
    color: #555;
    margin-bottom: 16px;
}
.about-intro-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.event-image {
    margin-top: 15px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 6 / 4;
    cursor: pointer;
}

.event-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-image:hover img {
    transform: scale(1.1);
}

.intro-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.intro-card h3 {
    font-size: 0.2rem;
    margin-bottom: 12px;
}
.intro-card ul li {
    font-size: 0.16rem;
    color: #555;
    line-height: 1.7;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
}
.intro-section {
    background: transparent;
}
.intro-section-main {
    padding-right: 10px;
}
.intro-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
}
.intro-main-media img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}
.intro-main-text {
    display: flex;
    flex-direction: column;
}
.intro-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.intro-heading-logo img {
    display: block;
    height: 40px;
    width: auto;
}
.intro-heading-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.intro-heading-title {
    font-size: 0.24rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.intro-heading-subtitle {
    font-size: 0.16rem;
    color: #888;
}
.intro-heading-small .intro-heading-title {
    font-size: 0.2rem;
}
.intro-subsection + .intro-subsection {
    margin-top: 16px;
}
.intro-subtitle {
    font-size: 0.18rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.intro-text {
    font-size: 0.16rem;
    color: #555;
    margin-bottom: 8px;
}
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}
.feature-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px 20px 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
.feature-icon {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.feature-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.feature-box h4 {
    font-size: 0.18rem;
    margin-bottom: 8px;
}
.divider-line {
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0056b3, #1072e0);
    margin-bottom: 12px;
}
.feature-list li {
    font-size: 0.16rem;
    color: #555;
    line-height: 1.7;
}
.scope-boxes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.scope-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 18px 18px 20px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.scope-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    background: #ffffff;
}
.scope-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.scope-icon img,
.scope-icon svg {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.scope-box-title {
    font-size: 0.18rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 6px;
}
.scope-box-content {
    font-size: 0.16rem;
    color: #555;
    text-align: center;
}
.intro-section-video {
    grid-column: 1 / -1;
    margin-top: 10px;
}
.intro-video {
    width: 100%;
    max-width: 960px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    display: block;
    margin: 0 auto;
}

/* New Timeline Layout */
.timeline-section {
    padding: 60px 5%;
    background: #f9f9f9;
    overflow: hidden;
}

.timeline-container-v2 {
    /* Inherit width from container, no extra max-width needed if container handles it */
    width: 100%;
    margin: 0 auto;
    /* Remove padding to align with other container children like section-title */
    padding: 0; 
    position: relative;
}

.timeline-display-area {
    display: flex;
    overflow-x: auto;
    min-height: 450px;
    margin-bottom: 40px;
    scroll-behavior: smooth;
    /* Removed scroll-snap to allow free flow spacing, or keep it if "close together" still means per-page but closer? 
       User said "tighten spacing", usually implies seeing next year partially or just less gap.
       But "content closely together" suggests reducing the 100% width of each slide.
    */
    gap: 40px; /* Add gap between years */
    padding-right: 50%; /* Allow scrolling to the last item comfortably */
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.timeline-display-area::-webkit-scrollbar {
    display: none;
}

.year-slide {
    flex: 0 0 auto; /* Change from 100% to auto to fit content width */
    width: auto;    /* Let content define width */
    min-width: 300px; /* Minimum width to ensure readability */
    opacity: 1;
    margin-right: 20px; /* Spacing between years */
}

/* 
.year-slide.active {
   No longer needed for layout, but handled via scroll
}
*/

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.year-big-title {
    font-size: 0.8rem; /* 80px if root is 100px */
    font-weight: 300;
    color: #333;
    margin-bottom: 40px;
    line-height: 1;
}

.events-horizontal-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.events-horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.event-item {
    flex: 0 0 300px;
    border-top: 1px solid #ccc;
    padding-top: 20px;
    transition: border-color 0.3s;
}

.event-item:hover {
    border-color: #0056b3;
}

.event-month {
    display: block;
    font-size: 0.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.event-info h4 {
    font-size: 0.18rem;
    color: #0056b3;
    margin-bottom: 10px;
    line-height: 1.4;
}

.event-info p {
    font-size: 0.14rem;
    color: #666;
    line-height: 1.6;
}

/* Timeline Navigation */
.timeline-nav-bar {
    position: relative;
    padding-top: 20px;
    margin-top: 20px;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.nav-years {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.nav-year-item {
    position: relative;
    font-size: 0.14rem;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
    padding-top: 15px;
}

.nav-year-item::before {
    content: '';
    position: absolute;
    top: -3px; /* Center on line */
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    background: #ccc;
    border-radius: 50%;
    transition: all 0.3s;
}

.nav-year-item:hover {
    color: #0056b3;
}

.nav-year-item:hover::before {
    background: #0056b3;
}

.nav-year-item.active {
    color: #0056b3;
    font-size: 0.18rem;
    font-weight: 700;
    transform: translateY(-5px);
}

.nav-year-item.active::before {
    background: #0056b3;
    width: 12px;
    height: 12px;
    top: -6px;
    animation: pulseHalo 1.5s infinite;
}

@keyframes pulseHalo {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 86, 179, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 86, 179, 0);
    }
}

@media (max-width: 768px) {
    .timeline-display-area {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: visible;
        padding-right: 0;
        min-height: auto;
        margin-bottom: 20px;
        gap: 0;
    }

    .year-slide {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
    }

    .year-big-title {
        font-size: 0.5rem;
        margin-bottom: 15px;
        padding-left: 25px;
        color: #0056b3;
        font-weight: 700;
        position: relative;
    }

    /* Year dot */
    .year-big-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 12px;
        height: 12px;
        background: #0056b3;
        border-radius: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .events-horizontal-scroll {
        flex-direction: column;
        gap: 0;
        padding-bottom: 40px;
        border-left: 2px solid #e0e0e0;
        margin-left: 5px;
        padding-left: 25px;
    }

    .event-item {
        flex: 0 0 auto;
        width: 100%;
        border-top: none;
        border-left: none;
        padding-top: 0;
        padding-left: 0;
        margin-bottom: 30px;
        position: relative;
    }
    
    .event-item:last-child {
        margin-bottom: 0;
    }

    /* Event dot on the line */
    .event-item::before {
        content: '';
        position: absolute;
        left: -30px; /* Calculated -29px, using -30px for visual check */
        top: 6px;
        width: 10px;
        height: 10px;
        background: #fff;
        border: 2px solid #0056b3;
        border-radius: 50%;
        z-index: 2;
    }

    .timeline-nav-bar {
        display: none;
    }
}

.about-partners-section {
    padding: 60px 5%;
    background: #fff;
}
.about-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 24px;
}
.about-partner-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.partner-logo-box {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.partner-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.about-partner-card p {
    font-size: 0.16rem;
    color: #555;
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.headline-section {
    height: 618px; /* Set fixed height */
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff; /* Removed background image, set to white */
    text-align: center;
    position: relative;
}
.headline-section h1 {
    font-size: 0.56rem;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #333; /* Changed to dark color */
}
.headline-section p {
    font-size: 0.2rem;
    color: #666; /* Changed to dark grey */
    opacity: 1;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto 16px;
}

/* Principles Layout */
.principles-box {
    max-width: 1300px;
    margin: 0 auto 16px;
    text-align: center;
}
.principles-title {
    font-size: 0.22rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.principles-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 0;
}
.principles-list span {
    font-size: 0.2rem;
    color: #666;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.principles-list span:not(:last-child)::after {
    content: "·";
    margin: 0 15px;
    color: #999;
    font-weight: bold;
}

.culture-headline {
    margin-top: 80px;
    width: 100%;
    background: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/fuwubg/culture.png") center center/cover no-repeat;
    align-items: flex-start;
    padding-top: 180px;
    box-sizing: border-box;
}
.culture-headline .container {
    padding: 0;
    max-width: 960px;
    text-align: left;
}
.culture-headline h1,
.culture-headline p {
    color: #fff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}
.culture-headline h1 {
    font-size: 0.6rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}
.culture-headline p {
    font-size: 0.22rem;
    opacity: 0.95;
}

.join-headline {
    margin-top: 80px;
    width: 100%;
    background: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/fuwubg/join.png") center center/cover no-repeat;
    align-items: flex-start;
    padding-top: 180px;
    box-sizing: border-box;
}
.join-headline .container {
    padding: 0;
    max-width: 960px;
    text-align: left;
}
.join-headline h1,
.join-headline p {
    color: #fff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}
.join-headline h1 {
    font-size: 0.6rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}
.join-headline p {
    font-size: 0.22rem;
    opacity: 0.95;
}

.contact-headline {
    margin-top: 80px;
    width: 100%;
    background: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/fuwubg/contact.png") center center/cover no-repeat;
    align-items: flex-start;
    padding-top: 180px;
    box-sizing: border-box;
}
.contact-headline .container {
    padding: 0;
    max-width: 960px;
    text-align: left;
}
.contact-headline h1,
.contact-headline p {
    color: #fff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}
.contact-headline h1 {
    font-size: 0.6rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}
.contact-headline p {
    font-size: 0.22rem;
    opacity: 0.95;
}

.service-headline {
    margin-top: 80px;
    width: 100%;
    background-position: center center;
    background-size: cover;
    align-items: flex-start;
    padding-top: 180px;
    box-sizing: border-box;
}
.service-headline .container {
    padding: 0;
    max-width: 1200px;
    text-align: left;
}
.service-headline h1,
.service-headline p {
    color: #fff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}
.service-headline h1 {
    font-size: 0.6rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}
.service-headline p {
    font-size: 0.22rem;
    opacity: 0.95;
}
.service-headline-shipping {
    background-image: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/fuwubg/sea-service.png");
}
.service-headline-air {
    background-image: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/fuwubg/air-service.png");
}
.service-headline-land {
    background-image: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/fuwubg/land-service.png");
}
.service-headline-na {
    background-image: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/fuwubg/north-america-port.png");
}
.service-headline-vt {
    background-image: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/fuwubg/vietnam-thailand-port.png");
}
.service-headline-soc {
    background-image: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/fuwubg/soc-box.png");
}
.service-headline-added {
    background-image: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/fuwubg/value-added-service.png");
}

.contact-section {
    padding: 60px 5% 80px;
    background: #f5f7fb;
}
.contact-header {
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
}
.contact-header h2 {
    font-size: 0.32rem;
    margin-bottom: 10px;
}
.contact-header p {
    font-size: 0.18rem;
    color: #555;
}
.contact-filter {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.contact-filter button {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #cbd5f5;
    background: #fff;
    color: #4a5568;
    font-size: 0.16rem;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.contact-filter button:hover {
    transform: translateY(-1px);
    border-color: #9fb4f5;
}
.contact-filter button.active {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}
.contact-card {
    flex: 0 0 calc(33.333% - 20px);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
    border-color: rgba(0, 86, 179, 0.4);
}
.contact-card-toggle {
    width: 100%;
    border: none;
    background: transparent;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.contact-card-main {
    text-align: left;
}
.contact-card-title {
    font-size: 0.19rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.contact-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.14rem;
    color: #666;
    min-height: 0.48rem;
}
.contact-card-meta span {
    display: block;
    width: 100%;
    padding: 2px 0;
}
.contact-meta {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 0;
}
.contact-meta-tel::before,
.contact-meta-mail::before {
    content: "";
    position: static;
    margin-right: 6px;
    transform: none;
    font-size: 0.18rem;
    color: #0056b3;
}
.contact-meta-tel::before {
    content: "☎";
}
.contact-meta-mail::before {
    content: "✉";
}
.contact-card-arrow span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #0056b3;
    border-bottom: 2px solid #0056b3;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}
.contact-card.open .contact-card-arrow span {
    transform: rotate(225deg);
}
.contact-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid #e2e8f0;
}
.contact-card.open .contact-card-body {
    max-height: 800px;
}
.contact-row {
    padding: 12px 18px 14px;
    display: flex;
    gap: 0;
    align-items: flex-start;
    font-size: 0.16rem;
    color: #555;
}
.contact-label {
    min-width: 48px;
    color: #718096;
}
.contact-value {
    flex: 1;
}
.contact-label-address {
    position: relative;
    padding-left: 0;
    display: inline-flex;
    align-items: flex-start;
    min-width: auto;
}
.contact-label-address::before {
    content: "📍";
    position: static;
    margin-right: 6px;
    transform: none;
    font-size: 0.18rem;
    color: #0056b3;
}

@media (max-width: 1200px) {
    .contact-card {
        flex: 1 1 calc(50% - 20px);
    }
}

.service-page {
    padding: 60px 5% 80px;
    background: #f5f7fb;
}
.service-block {
    background: #fff;
    border-radius: 16px;
    padding: 32px 32px 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.service-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 86, 179, 0.08), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.service-block:hover::before {
    opacity: 1;
}
.service-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.service-logo img {
    height: 40px;
}
.service-logo-text {
    font-size: 0.18rem;
    color: #0056b3;
    font-weight: 600;
}
.service-intro-text p {
    font-size: 0.16rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 10px;
}
.service-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}
.service-layout-media {
    flex: 1 1 45%;
    min-height: 220px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}
.service-image {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.6s ease, transform-origin 0.6s ease;
}
.service-layout-media:hover .service-image {
    transform: scale(1.06);
    transform-origin: center center;
}
.service-image-shipping {
    background-image: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/service-sea.png");
}
.service-image-land {
    background-image: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/service-land.jpg");
}
.service-image-na {
    background-image: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/service-north-america.png");
}
.service-image-soc {
    background-image: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/service-soc.png");
}
.service-layout-text {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-layout-text h3 {
    font-size: 0.26rem;
    margin-bottom: 12px;
    color: #1f2933;
}
.service-layout-text p {
    font-size: 0.16rem;
    color: #444;
    line-height: 1.9;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}
.service-card-icon {
    text-align: center;
    margin-bottom: 16px;
}
.service-card-icon img {
    max-height: 60px;
}
.service-card h3 {
    font-size: 0.22rem;
    margin-bottom: 8px;
    text-align: center;
    color: #1f2933;
}
.service-card p {
    font-size: 0.16rem;
    color: #444;
    line-height: 1.8;
}
@media (max-width: 767px) {
    .service-block {
        padding: 24px 20px;
    }
    .service-layout {
        flex-direction: column;
    }
    .service-layout-media,
    .service-layout-text {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 5% 60px;
    }
    .contact-header {
        text-align: left;
    }
    .contact-card {
        flex: 1 1 100%;
    }
    .contact-card-toggle {
        align-items: flex-start;
        gap: 12px;
    }
}

/* Services Section */
.services-section {
    width: 100%;
    height: 600px; /* Reduced from 900px */
    background: #000;
    overflow: hidden;
}

.h_pro {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.h_pro .list {
  width: 16.66%; /* 100% / 6 items roughly, but JS handles hover expansion. Start small. */
  /* Actually reference says width: 50% but that's likely for a 2-item slide. 
     Here we have 7 items. They should share the space. 
     If one is 37%, others share the rest (63%). 
     63 / 6 = 10.5%.
  */
  flex: 1;
  height: 100%;
  position: relative;
  transition: all 0.5s;
  overflow: hidden;
}

@media (min-width: 768px) {
  .h_pro .list.on {
    flex: 0 0 37%; /* Expanded width */
  }
  .h_pro .list.on .txt {
    background: rgba(0, 0, 0, 0);
    padding: 0 1.4rem 1.04rem;
    align-items: flex-start;
  }
  .h_pro .list.on .txt h3 {
    margin-bottom: 0.15rem;
  }
  .h_pro .list.on .txt .g_p {
    margin-bottom: 0.42rem;
    height: auto;
    opacity: 1;
  }
  .h_pro .list.on .txt .pub_a {
    height: 0.5rem;
    opacity: 1;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .h_pro .list.on .txt {
    padding: 0 0.4rem 1.22rem;
  }
}

.h_pro .list .img {
  width: 100%;
  height: 100%;
}

.h_pro .list .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h_pro .list .txt {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  padding-bottom: 1.22rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: #fff;
  transition: all 0.5s;
}

.h_pro .list .txt h3 {
  white-space: normal;
  font-size: 0.3rem;
  font-weight: bold;
  transition: all 0.5s;
  line-height: 1.3;
}

.h_pro .list.on .txt h3 br {
    display: none;
}

.h_pro .list .txt .g_p {
  width: 3.24rem;
  height: 0;
  opacity: 0;
  transition: all 0.5s;
  overflow: hidden;
}

.h_pro .list .txt .g_p p {
    font-size: 0.16rem;
    color: #fff;
}

.h_pro .list .txt .pub_a {
  height: 0;
  opacity: 0;
  transition: all 0.5s;
  flex-shrink: 0;
  overflow: hidden;
}

.h_pro .list .txt .pub_a p {
    font-size: 0.14rem;
    border: 1px solid #fff;
    padding: 0.05rem 0.2rem;
    border-radius: 0.2rem;
    display: inline-block;
}

/* Tracking Section */
.tracking-section {
    padding: 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.tracking-box {
    background: #fff;
    padding: 20px 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.tracking-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
}

.tracking-logo {
    height: 30px;
    margin-bottom: 0;
    filter: invert(1) brightness(0);
}

.tracking-header h2 {
    font-size: 0.2rem;
    color: #0056b3;
    margin: 0;
}

.tracking-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
}

.form-group {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group label {
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 0.14rem;
}

.form-group input {
    width: 180px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.14rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #0056b3;
    outline: none;
}

.form-check {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.form-check input {
    margin-right: 5px;
}

.login-btn {
    width: auto;
    padding: 8px 25px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.16rem;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #2980b9;
}

/* Partners Section */
.partners-section {
    padding: 60px 5%;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.section-title h2 {
    font-size: 0.32rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0056b3;
}

.partners-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
    /* Removed gap here to control spacing via groups */
}

.marquee-group {
    display: flex;
    gap: 30px;
    padding-right: 30px; /* Ensure space after last item matches gap */
    flex-shrink: 0;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    width: 280px;
    height: 140px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    transition: all 0.4s ease;
    font-size: 0.16rem;
    background: #fff;
    padding: 20px;
    cursor: pointer;
    flex-shrink: 0; /* Prevent shrinking in flex container */
}

.partner-logo a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* filter: grayscale(100%); Removed to make colorful by default */
    /* opacity: 0.7; Removed to make colorful by default */
    transition: all 0.4s ease;
}

.partner-logo:hover {
    border-color: #0056b3;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 2;
}

.partner-logo:hover img {
    /* filter: grayscale(0%); Default is already colorful */
    /* opacity: 1; Default is already 1 */
    transform: scale(1.05);
}

/* Culture Section */
.culture-section {
    padding: 60px 5%;
    background: #f9f9f9;
}

.more-link {
    font-size: 0.14rem;
    color: #666;
    transition: color 0.3s;
}

.more-link:hover {
    color: #0056b3;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.culture-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    cursor: pointer;
}

.culture-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.culture-item .img-box {
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 4;
    overflow: hidden;
}

.culture-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.culture-item:hover img {
    transform: scale(1.1);
}

.culture-item .culture-info {
    padding: 25px;
    position: relative;
    background: #fff;
}

.culture-item h3 {
    font-size: 0.2rem;
    margin-bottom: 10px;
    color: #333;
    transition: color 0.3s;
}

.culture-item:hover h3 {
    color: #0056b3;
}

.culture-item p {
    color: #666;
    font-size: 0.14rem;
    line-height: 1.6;
}

.showcase-section {
    padding: 60px 5% 80px;
    background: #fff;
}
.showcase-section .container + .container {
    margin-top: 50px;
}
.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
}
.showcase-title h2 {
    font-size: 0.32rem;
    color: #0056b3;
}
.showcase-title p {
    font-size: 0.16rem;
    color: #666;
    margin-top: 8px;
}
.showcase-controls {
    display: flex;
    gap: 10px;
}
.showcase-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
.showcase-nav span {
    width: 10px;
    height: 10px;
    border-top: 2px solid #0056b3;
    border-right: 2px solid #0056b3;
}
.showcase-nav.prev span {
    transform: rotate(-135deg);
}
.showcase-nav.next span {
    transform: rotate(45deg);
}
.showcase-nav:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}
.showcase-nav:hover span {
    border-color: #fff;
}
.showcase-slider {
    overflow: hidden;
}
.showcase-track {
    display: flex;
    transition: transform 0.6s ease;
}
.showcase-page {
    flex: 0 0 100%;
}
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.showcase-grid-dense {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}
.showcase-item {
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}
.showcase-img {
    width: 100%;
    aspect-ratio: 6 / 4;
    overflow: hidden;
}
.showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}
.showcase-item:hover .showcase-img img {
    transform: scale(1.05);
}
.showcase-text {
    padding: 18px 18px 20px;
}
.showcase-text h3 {
    font-size: 0.18rem;
    margin-bottom: 8px;
    color: #333;
}
.showcase-text p {
    font-size: 0.16rem;
    color: #555;
    line-height: 1.7;
}
.showcase-meta {
    margin-top: 8px;
    font-size: 0.14rem;
    color: #0056b3;
}

.join-section {
    padding: 60px 5% 80px;
    background: #fff;
}
.join-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}
.join-intro-image {
    width: 100%;
    border-radius: 16px;
    background: url("https://zehong-zehongwl.oss-cn-shanghai.aliyuncs.com/images/join.png") center center/cover no-repeat;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    aspect-ratio: 6 / 4;
}
.join-intro-text h2 {
    font-size: 0.32rem;
    margin-bottom: 12px;
}
.join-intro-text p {
    font-size: 0.18rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}
.join-intro-meta {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.join-meta-item {
    padding: 10px 14px;
    border-radius: 10px;
    background: #f5f7fb;
    border: 1px solid rgba(0, 86, 179, 0.08);
}
.join-meta-label {
    display: block;
    font-size: 0.14rem;
    color: #666;
    margin-bottom: 4px;
}
.join-meta-value {
    font-size: 0.16rem;
    color: #0056b3;
}
.join-jobs {
    margin-top: 10px;
}
.join-jobs-header h2 {
    font-size: 0.3rem;
    margin-bottom: 6px;
}
.join-jobs-header p {
    font-size: 0.16rem;
    color: #666;
}
.join-job {
    margin-top: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.join-job:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.15);
    border-color: rgba(0, 86, 179, 0.4);
}
.join-job-toggle {
    width: 100%;
    border: none;
    background: transparent;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.join-job-main {
    text-align: left;
}
.join-job-title {
    font-size: 0.2rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.join-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.14rem;
    color: #666;
}
.join-job-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f5f7fb;
}
.join-job-arrow span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #0056b3;
    border-bottom: 2px solid #0056b3;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}
.join-job.open .join-job-arrow span {
    transform: rotate(225deg);
}
.join-job-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid #e2e8f0;
}
.join-job.open .join-job-body {
    max-height: 1000px;
}
.join-job-block {
    padding: 16px 20px 6px;
}
.join-job-block h3 {
    font-size: 0.18rem;
    margin-bottom: 8px;
}
.join-job-block ul {
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 0.16rem;
    color: #555;
    line-height: 1.8;
}
.join-job-block li {
    list-style: decimal;
}
.join-footer {
    margin-top: 26px;
    padding: 16px 20px;
    border-radius: 12px;
    background: #f0f5ff;
    border: 1px dashed #99b3e6;
    font-size: 0.16rem;
    color: #333;
}
.join-footer span {
    color: #0056b3;
    font-weight: 600;
}

/* Footer */
footer {
    background: #165ea5;
    color: #fff;
    padding-top: 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid #ffffff;
}

.footer-left {
    width: 30%;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Ensure white logo */
}

.contact-info p {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 0.14rem;
}

.footer-center {
    width: 10%;
    display: flex;
    justify-content: center;
}

.wechat-qr-footer img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.wechat-qr-footer p {
    color: #fff;
    font-size: 0.14rem;
    text-align: center;
}

.footer-right {
    width: 55%;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.link-title {
    display: block;
    font-size: 0.16rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.sub-links a {
    display: block;
    color: #ffffff;
    font-size: 0.14rem;
    margin-bottom: 10px;
}

.sub-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 20px 0;
    font-size: 0.12rem;
    color: #ffffff;
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
}

.legal-links a {
    margin-left: 20px;
    color: #ffffff;
}

.legal-links a:hover {
    color: #fff;
}

/* Floating Buttons (Pop Style) */
.pop {
  position: fixed;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
}
.pop.pop2 {
  display: none;
}
.pop.pop2 .pop_a {
  background: #f7f7f7;
}
.pop.pop2 .pop_a.pop_a2 {
  display: none;
}
.pop.pop2 .pop_a .pop_a_box .pop_a_img svg path {
  fill: #7f7f7f;
}
.pop .pop_a {
  display: block;
  cursor: pointer;
  width: 0.88rem;
  height: 0.88rem;
  margin-bottom: 2px;
  border-radius: 4px;
  transition: all 0.3s;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.05);
}
@media (max-width: 1580px) {
  .pop .pop_a {
    width: 1rem;
    height: 1rem;
  }
}
.pop .pop_a.pop_a2 {
  position: absolute;
  bottom: calc(-0.88rem - 2px);
  left: 0;
  display: block;
}
@media (max-width: 1580px) {
  .pop .pop_a.pop_a2 {
    bottom: calc(-1rem - 2px);
  }
}
.pop .pop_a.pop_a2 .pop_a_box .pop_a_img svg {
  height: 30px;
}
@media (max-width: 1580px) {
  .pop .pop_a.pop_a2 .pop_a_box .pop_a_img svg {
    height: 22px;
  }
}

.pop .pop_a.on {
  background: #1072e0;
}
.pop .pop_a.on .pop_a_box .pop_a_img svg path {
  fill: #fff;
}
.pop .pop_a .pop_a_box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pop .pop_a .pop_a_box .pop_a_img {
  width: 50%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pop .pop_a .pop_a_box .pop_a_img svg {
  width: 100%;
  height: auto;
}
.pop .pop_a .pop_a_box .pop_a_img svg path {
  transition: all 0.3s;
  fill: #fff;
}
.pop .pop_a .pop_a_box .pop_text {
  overflow: hidden;
  display: none;
}
.pop .pop_a .pop_a_box .pop_text p {
  color: #fff;
}
@media screen and (max-width: 1580px) {
  .pop .pop_a .pop_a_box .pop_text p {
    font-size: 12px;
  }
}

/* WeChat Popup Styles */
.wechat-pop {
    position: relative;
    /* Ensure it's above other elements if needed */
}

.wechat-qr {
    position: absolute;
    right: 120%; /* Show to the left of the button */
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: none; /* Hidden by default */
    text-align: center;
    width: 150px;
    z-index: 100;
}

.wechat-qr img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 5px;
}

.wechat-qr p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Show QR code on hover */
.wechat-pop:hover .wechat-qr {
    display: block;
}

.wechat-pop.open .wechat-qr {
    display: block;
}

/* Arrow for the popup */
.wechat-qr::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; /* Hidden on PC */
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    transition: 0.3s;
}

.mobile-nav {
    display: none; /* Hide mobile nav on PC */
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

@media (min-width: 2000px) {
    /* 4K Optimization */
    .container {
        max-width: 1600px;
    }
    
    .hero-content h1 {
        font-size: 0.8rem;
    }
    
    .service-item h3 {
        font-size: 0.32rem;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.image-modal.show {
    display: flex;
}

.image-modal .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.4s;
}

@keyframes zoom {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.image-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.image-modal .close-modal:hover,
.image-modal .close-modal:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .image-modal .close-modal {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

.mobile-break { display: none; }
