/* Common CSS - Header and Footer Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimHei", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    min-width: 1300px;
    /* Ensure horizontal scroll if window is smaller */
}

.container {
    width: 1300px;
    margin: 0 auto;
    padding: 0;
}

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-width: 1300px;
}

.header-container {
    min-width: 1300px;
    max-width: 1615px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-section {
    display: flex;
    align-items: center;
    width: 328px;
    height: 45px;
}

.logo {
    width: 328px;
    height: 45px;
    cursor: pointer;
}
.logo:hover{
    opacity: 0.8;
}
.nav-menu {
    display: flex;
    gap: 70px;
    align-items: center;
    box-sizing: border-box;
}

.nav-link {
    height: 80px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    transition: color 0.3s;
    position: relative;
    line-height: 80px;
    display: inline-block;
    /* white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; */
    /* 确保正确的包含块 */
}

.nav-link a {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    color: #333;
    font-size: 18px;
}

.nav-link:hover .nav-link-a {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-active .nav-link-a {
    color: rgba(1, 92, 171, 1);
    font-weight: 700;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2563eb;
}

.nav-link:hover .nav-link-children {
    display: block;
}

.nav-link-children {
    position: absolute;
    padding: 20px 40px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 1);
    top: calc(100%);
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 1000;
}

.nav-link-children .nav-link-children-link {
    display: block;
    white-space: nowrap;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 19.8px;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

.nav-link-children .nav-link-children-link:hover {
    color: rgba(23, 93, 173, 1);
}

.nav-link-children .nav-link-children-link:last-child {
    margin-bottom: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 26.4px;
    color: rgba(56, 56, 56, 1);
}
.header-phone img{
    width: 27px;
    height: 27px;
    margin-right: 12px;
}
.header-lang a{
    display: none;
}
.header-lang .header-lang-show{
    display: block;
}
.header-lang img{
    cursor: pointer;
    width: 25px;
    height: 25px;
}
.header-lang img:hover{
    opacity: 0.8;
}

/* Footer Styles */
.footer {
    background-color: rgba(40, 80, 123, 1);
    color: #fff;
    padding: 60px 0 20px;
    width: 100%;
    min-width: 1300px;
    padding-bottom: 0;
}

.footer-container {
    width: 1300px;
    margin: 0 auto;
    padding: 0;
    /* margin-bottom: 40px;
     */
     margin-bottom: 67px;
     position: relative;
}

.footer-top{
    display: flex;
    padding-bottom: 29px;
    border-bottom: 1px solid rgba(255, 255, 255, 1);
    margin-bottom: 37px;
}

.footer-logo-section {
     width: 328px;
     height: 45px;
     margin-right: 162px;
     flex-shrink: 0;
}
.footer-logo-section img{
    width: 100%;
    height: 100%;
}


.footer-company-name {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.footer-contact {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-icon {
    font-size: 32px !important;
    text-align: center;
}

.contact-text {
    margin-top: 20px;
   font-size: 15px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 19.8px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-middle {
    flex: 2;
    display: flex;
    gap: 40px;
    justify-content: space-around;
    
}

.footer-nav-column {
    flex: 1;
}

.footer-nav-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.footer-nav-list li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    text-align: center;
}

.footer-nav-list li a:hover {
    color: #fff;
}


.footer-bottom {
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 18.48px;
    color: rgba(255, 255, 255, 0.5);

}
.footer-er{
    position: absolute;
    right: 0;
    bottom: 0px;
    display: flex;
    gap: 50px;
}
.footer-er-item{
    width: 46px;
    height: 46px;
    position: relative;
    cursor: pointer;
}
.footer-er-item img{
    width: 100%;
    height: 100%;
}
.footer-er-item-active{
    display: none;
}
.footer-er-item:hover .footer-er-item-img{
    display: none;
}
.footer-er-item:hover .footer-er-item-active{
    display: block;
}
.footer-er-item:hover .footer-er-item-qr{
    display: block;
}
.footer-er-item-qr{
    position: absolute;
    bottom: calc(100%);
    left: 50%;
    transform: translateX(-50%);
    display: none;
}
.footer-er-item-qr img{
    width: 92px;
    height: 92px;
}
#translate{
    display: none;
}