/* 头部导航 */

.header {
    position: relative;
    width: 100%;
    z-index: 100;
    height: 74px;
    box-sizing: border-box;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 0 310px; */
    margin: 0 auto;
    height: 100%;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
}

.header-nav {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-left: 60px;
}

.nav-item {
    font-family: 'PingFang SC';
    font-size: 14px;
    line-height: 1.4;
    color: #000000;
    text-decoration: none;
    position: relative;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 4px;
    background-color: #FF8F1F;
    border-radius: 6px;
}

.header-nav.active .nav-item.active::after {
    bottom: 0px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'PingFang SC';
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    color: #000000;
    position: relative;
}

.chevron-icon {
    width: 16px;
    height: 16px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 120px;
    z-index: 1000;
    display: none;
}

.language-dropdown.show {
    display: block;
}

.language-option {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: 'PingFang SC';
    font-size: 14px;
    line-height: 1.4;
}

.language-option:hover {
    background-color: #f5f5f5;
}

.language-option.active {
    font-weight: 500;
    color: #FF8F1F;
}

.login-btn {
    background-color: #FF8F1F;
    color: #FFFFFF;
    padding: 4px 20px;
    border-radius: 20px;
    font-family: 'PingFang SC';
    font-size: 14px;
    font-weight: 500;
    line-height: 2.5;
    letter-spacing: -0.74px;
    cursor: pointer;
}


/* 页脚 */

.footer {
    background-color: #1B1B1B;
    padding: 0 0 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.footer-logo {
    text-align: left;
    margin: 40px 0 60px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.footer-locations,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-location,
.footer-email,
.footer-phone {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-location img,
.footer-email img,
.footer-phone img {
    width: 20px;
    height: 20px;
}

.footer-location p,
.footer-email p,
.footer-phone p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-copyright {
    margin-top: 20px;
}


/* 响应式设计 */

@media (min-width: 1920px) {
    .header-container,
    .footer-container,
    .content-container {
        width: 1300px;
        margin: 0 auto;
    }
}

@media (min-width: 1440px) and (max-width: 1919px) {
    .header-container,
    .footer-container,
    .content-container {
        width: 1100px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .header-container,
    .footer-container,
    .content-container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .header-container,
    .footer-container,
    .content-container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .header-container,
    .footer-container,
    .content-container {
        width: 100%;
        padding: 0 20px;
    }
}