/* 顶部导航栏样式 */

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    width: 94%;
    margin: 0 auto;
}

.nav-left {
    flex: 1;
}

.nav-center {
    flex: 0 0 auto;
}

.nav-center .logo {
    background: #e63939;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    height: 80px;

}

.logo-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: block;
}

.nav-link:hover {
    color: #ff4444;
}

.nav-link.active {
    color: #fff;
    font-weight: 600;
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    /* transform: translateX(-50%); */
    width: 30px;
    height: 2px;
    background: #ff4444;
    border-radius: 1px;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.7);
    /* backdrop-filter: blur(10px); */
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 2px 20px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    color: #eb3e3e;

}

.nav-tools {
    display: flex;
    align-items: center;
    gap: 25px;
}

.search-icon,
.language-selector,
.location-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-icon:hover,
.language-selector:hover,
.location-icon:hover {
    color: #ff4444;
}

.search-icon i,
.language-selector i,
.location-icon i {
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    margin-left: 20px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 搜索遮罩层 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 搜索弹出层 */
.search-modal {
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    /* backdrop-filter: blur(10px); */
    z-index: 2000;
    padding: 120px 40px 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-modal.active {
    top: 80px;
}

.search-modal-content {
    background: transparent;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.search-box-large {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #b1b1b1;
    padding: 0;
    width: 100%;
}

.search-icon-large {
    padding: 20px 25px 20px 0px;
    color: #bbbbbb;
    font-size: 20px;
}

.search-input-large {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    padding: 20px 0;
    font-size: 18px;
}

.search-input-large::placeholder {
    color: #bbbbbb;
}

.search-btn-large {
    border: none;
    color: #bbbbbb;
    padding: 20px 0 30px 20px;
    cursor: pointer;
    font-size: 18px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.search-btn-large:hover {
    color: #fff;
    transform: translateY(-1px);
}



/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff4444;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.back-to-top:hover {
    background: #e63939;
    transform: translateY(-3px);
}

.back-to-top i {
    transform: rotate(180deg);
}

/* 顶部横幅区域 */
.laboratory-hero {
    position: relative;
    overflow: hidden;
}

.hero-background {
    width: 100%;

}

.hero-bg-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-content .container {
    margin-top: 10px;
}

/* 左侧文字内容 */
.hero-text {
    color: #fff;
}

.hero-title-en {
    font-family: 'TwCenMTCondensed', sans-serif;
    font-size: 200px;
    line-height: 160px;
}

.hero-title-main {
    font-family: 'TwCenMTCondensed', sans-serif;
    font-size: 200px;
    line-height: 160px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-title-main::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: -4px;
    bottom: 6px;
    width: 46px;
    height: 44px;
    background: #ff4444;
    margin-right: 20px;
    display: inline-block;
}

.hero-subtitle {
    font-size: 44px;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .hero-title-en {
        font-size: 160px;
        line-height: 120px;
    }

    .hero-title-main {
        font-size: 160px;
        line-height: 120px;
    }

    .hero-title-main::before {
        width: 32px;
        height: 28px;
        left: -2px;
        bottom: 4px;
    }

    .hero-subtitle {
        font-size: 32px;
    }
}

@media (max-width: 1560px) {
    .nav-container {
        padding: 0 20px;
        width: 96%;
    }

    .nav-left {
        flex: 0.8;
    }

    .nav-center {
        flex: 0 0 auto;
        z-index: 10;
        position: relative;
    }

    .nav-right {
        flex: 0.8;
        justify-content: flex-end;
    }

    .main-nav .nav-list {
        gap: 20px;
    }

    .nav-list .nav-item {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }

    .main-nav .nav-list {
        gap: 25px;
    }

    .nav-tools {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .nav-tools {
        display: none;
    }

    .search-modal-content {
        padding: 0 20px;
    }


}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-center .logo {
        padding: 12px 16px;
    }

    .logo-text {
        font-size: 16px;
    }

    .search-modal {
        padding: 100px 20px 40px;
    }
}

/* 页脚样式 */
.footer {
    background: #000;
    color: #fff;
    padding: 0px 0 20px;
    position: relative;
}



.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand {
    margin-right: 60px;
}

.footer-logo {
    background: #e71438;
    width: 270px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    width: 216px;
}


.footer-nav {
    margin-top: 90px;
    display: flex;
    justify-content: flex-end;
    gap: 60px;
    flex: 1;
}

.nav-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.nav-column ul {
    list-style: none;
}

.nav-column li {
    margin-bottom: 8px;
}

.nav-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-column a:hover {
    color: #fff;
}



.footer-contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 32px 16px 28px;
    gap: 40px;
    position: absolute;
    bottom: 40px;
    left: 196px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.contact-label:hover+.footer-contact-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.foot-contact-item {
    display: flex;
    gap: 12px;
}

.foot-contact-item:first-child {
    margin-bottom: 20px;
}

.foot-contact-item i {
    color: #000;
    font-size: 20px;
}

.contact-text p {
    color: #000;
    margin: 0;
    font-size: 14px;
}

.hotline-number {
    color: #e63939 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 40px;
}

.social-icons img {
    display: block;
    width: 24px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.05);
}


.contact-label {
    color: #fff;
    font-size: 14px;
    margin-left: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-label:hover {
    color: #e63939;
}

.region-selector {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 20px;
}

.region-selector i {
    font-size: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    letter-spacing: 1px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 0;
}

.back-to-top a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.back-to-top a:hover {
    color: #fff;
}

@media (min-width: 1560px) {
    .footer .container {
        width: 1535px;
    }

    .main-nav .nav-list {
        gap: 50px;
    }
}