body,
html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.section1{
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.page {
    transition: transform 0.5s ease;
    position: relative;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    color: white;
    display: flex;
    z-index: 1000;
    border-bottom: 1px solid #fff;
    background-color: #fff;
    height: 65px;
}



.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    position: absolute;
    left: 250px;
}

.navbar li {
    height: 60px;
    line-height: 60px;
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    color: black;
}


.navbar li.active:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 3px solid black;
    -webkit-transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
    bottom: 15px; /* 初始位置在导航栏下方 */

}

.section-bg {
    background-size: cover; /* 或者使用cover, contain等值 */
    background-repeat: no-repeat;
    background-position: center; /* 根据需要调整位置 */
}

.bg1 {
    background-image: url(../szyq_img/new/first_img.png);
    margin-top: 15px;
}

.bg2 {
    background-image: url(../szyq_img/new/qiyezhizi.png);
}

.bg3,.bg4,.bg5,.bg6,.bg7 {
    background-color: #fff;
}


.footer {
    background: #333333d1;
    height: 300px;
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    display: none;
    color: white;
}

.animate-in {
    opacity: 0;
    transform: translate(0, 50px);
    animation-name: fadeIn;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.animate-out {
    opacity: 1;
    transform: translate(0, 0);
    animation-name: fadeOut;
    animation-duration: 0.001s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes fadeIn1 {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(0, 50px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translate(0, 0);
    }
    to {
        opacity: 0;
        transform: translate(0, 50px);
    }
}

.contact-container {
    position: fixed;
    right: 5px;
    bottom: 20%;
    width: 350px;
}

.contact-container .open-contact {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #3598DC;
    color: white;
    text-align: center;
    line-height: 40px;
    font-size: 15px;
    cursor: pointer;
}

.contact-container form {
    background:rgba(238,238,238, 0.4);
    padding: 20px 30px;
    display: none;
}

.contact-container.open form {
    display: block;
}

.contact-container.open .open-contact {
    display: none;
}