/* 导航 */
.header {
    width: 100%;
    height: 90rem;
    background: rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.scrolled {
    background: rgba(0,0,0,0.8);
}

.header-content {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content-left img {
    height: 50rem;
    display: block;
}

.header-content-right a.active {
    color: #4086FF;
    font-weight: bold;
}



.header-content-right ul {
    display: flex;
    align-items: center;
}

.header-content-right ul li {
    margin-left: 60rem;
}

.header-content-right ul li a {
    font-size: 20rem;
    color: #aecce9;
    /* transition: color 0.3s; */
}

.header-content-right ul li a:hover {
    color: #4086FF;
    font-weight: bold;
}

.header-content-right ul li a.contact-btn {
    display: inline-block;
    padding: 10rem 16rem;
    background: linear-gradient(to bottom, #1f6acc, #0d4b9f);
    color: #fff;
    border-radius: 4rem;
}

.header-content-right ul li a.contact-btn:hover {
    background: linear-gradient(to bottom, #307ce0, #165ab5);
}

/* 汉堡菜单按钮默认隐藏 */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30rem;
    height: 20rem;
    cursor: pointer;
    z-index: 101;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 3rem;
    background-color: #fff;
    border-radius: 2rem;
    transition: all 0.3s;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8rem, 8rem);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5rem, -5rem);
}

.header-content-right-mobile ul li {
    margin-left: 0;
    margin-bottom: 20rem;
}

.header-content-right-mobile ul li a {
    font-size: 24rem;
    color: #000;
}

.header-content-right-mobile ul li a:hover {
    color: #4086FF;
    font-weight: bold;
}

.header-content-right-mobile ul li a.contact-btn {
    display: inline-block;
    padding: 10rem 16rem;
    background: linear-gradient(to bottom, #1f6acc, #0d4b9f);
    color: #fff;
    border-radius: 4rem;
}

.header-content-right-mobile ul li a.contact-btn:hover {
    background: linear-gradient(to bottom, #307ce0, #165ab5);
}

.header-content-right-mobile {
    display: none;
    position: absolute;
    top: 90rem;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20rem;
    height: calc(100vh - 90rem);
}



/* 底部 */
.footer {
    background-color: #2b2e37;
    padding: 60rem 0 20rem;
    color: #8c93a1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40rem;
    border-bottom: 1px solid #3d404a;
}

.footer-left {
    /* width: 40%; */
}

.footer-logo {
    height: 50rem;
    margin-bottom: 20rem;
}

.footer-title-sub {
    margin-bottom: 10rem;
    color: #fff;
    font-size: 16rem;
}

.footer-desc {
    font-size: 16rem;
    line-height: 1.8;
    margin-bottom: 10rem;
}

.footer-mid {
    /* width: 30%; */
}

.footer-title {
    font-size: 18rem;
    color: #fff;
    margin-bottom: 20rem;
    font-weight: bold;
    height: 50rem;
}

.contact-info p {
    font-size: 16rem;
    margin-bottom: 10rem;
    line-height: 1.8;
    display: flex;
    align-items: center;
}

.footer-right {
    /* width: 30%; */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-right .footer-title {
    width: 100%;
    padding-right: 35rem;
}

.qr-codes {
    display: flex;
    gap: 20rem;
}

.qr-item {
    width: 140rem;
    height: 140rem;
    background: #fff;
    padding: 5rem;
}

.qr-item img {
    width: 100%;
    height: 100%;
}

.footer-copyright {
    text-align: center;
    padding-top: 20rem;
    font-size: 12rem;
    color: #666;
}

/* 移动端 */
@media screen and (max-width: 850px) {

    .header-content-right-mobile.active {
        display: flex;
    }
    
    .header-content-left img {
        height: 30rem;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .header-content-right ul {
        display: none;
        position: absolute;
        top: 60rem;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: flex-start;
        padding: 20rem 0;
    }
    
    .header-content-right ul.active {
        display: flex;
    }
    
    .header-content-right ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        padding: 15rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .header-content-right ul li:last-child {
        border-bottom: none;
    }
    
    .header-content-right ul li a {
        display: block;
        font-size: 16rem;
        color: #fff;
    }
    
    .header-content-right ul li a.contact-btn {
        display: inline-block;
        margin-top: 10rem;
    }

    /* 底部 */
    .footer {
        padding: 30rem 0 10rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-left, .footer-mid, .footer-right {
        width: 100%;
        margin-bottom: 30rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-right {
        align-items: center;
    }
    
    .footer-right .footer-title {
        text-align: center;
        padding-right: 0;
    }
    
    .footer-title {
        height: auto;
        margin-bottom: 10rem;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .qr-codes {
        justify-content: center;
    }
    
    .footer-copyright {
        font-size: 10rem;
        padding: 30rem 10rem;
    }
}
