* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.swiper-pagination-bullet-active {
    background-color: #fff!important;
}

a {
    text-decoration: none;
    /* 去掉下划线 */
    color: inherit;
    /* 继承父元素的颜色 */
}

a:hover {
    color: inherit;
    text-decoration: none;
}
a:active {
     color: inherit;
    text-decoration: none;
}

/*body {*/
/*    overflow-y: hidden;*/
/*}*/

ul {
    list-style: none;
}

#section1 img,
#section3 img{
    width: 100%;
    /*height: 950px;*/
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}




/* 移除 Video.js 默认的边框 */

.video-js {
    border: none;
}

.video-js .vjs-control-bar {
    display: flex;
    visibility: visible;
    opacity: 1!;
    position: absolute;
    left: 0;
    bottom: 15%;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-js .vjs-big-play-button {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* 将按钮真正居中 */
    z-index: 10;
    /* 确保它在视频之上 */
    display: block;
    /* 确保按钮可见 */
}

#section3 .swiper-slide {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    /* flex-direction: column; */
    align-items: center;
}

#section3 .swiper-slide a {
    width: 100%;
    height: 100%;
    color: #666;
    cursor: pointer;
    display: block;
}

#section3 .swiper-slide a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持图片比例，裁剪超出部分 */
}

#section3 .swiper-slide a .cover {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 38%;
    background-image: linear-gradient(179deg, hsla(0, 0%, 93.3%, 0), #000);
}

#section3 .swiper-slide .txt-wrap {
    position: absolute;
    bottom: 10%;
    left: 12%;
}

#section3 .swiper-slide .txt-wrap .es-title {
    font-size: 18px;
    color: #fff;
}

#section3 .swiper-slide .txt-wrap .ch-title {
    font-weight: 700;
    color: #fff;
    line-height: 42px;
    letter-spacing: 1px;
    font-size: 30px;
}

#section3 .swiper-slide .txt-wrap .address {
    color: #fff;
    font-size: 16px;
}

#fullscreenModal .swiper-button-prev,
#section3 .swiper-button-prev {
    width: 182px;
    height: 21px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    background-image: url("../newhome_images/prev-big.png");
    transition: transform .3s ease;
}

#fullscreenModal .swiper-button-prev:hover,
#section3 .swiper-button-prev:hover {
    transform: translateX(-15px);
    /*  向左移动10px*/
}

#fullscreenModal .swiper-button-prev::after,
#section3 .swiper-button-prev::after {
    content: "";
}

#fullscreenModal .swiper-button-next,
#section3 .swiper-button-next {
    width: 182px;
    height: 21px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    background-image: url("../newhome_images/next-big.png");
    transition: transform .3s ease;
}

#fullscreenModal .swiper-button-next:hover,
#section3 .swiper-button-next:hover {
    transform: translateX(15px);
}

#fullscreenModal .swiper-button-next::after,
#section3 .swiper-button-next::after {
    content: "";
}


/* 第三屏全屏弹窗效果 */

.fullscreen-modal {
 
 
    width: 100%;
    height: 100%;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.close-btn {
    position: absolute;
    top: 65px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;
}

.fullscreen-modal .textBox {
    color: #333;
    width: 500px;

}

.fullscreen-modal .textBox .title1 {
    width: 130px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #060606;
    color: #fff;
    border-radius: 20px 20px 20px 0;
}

.fullscreen-modal .textBox .title2 {
    margin: 20px 0;
    font-size: 32px;
}

.fullscreen-modal .textBox .title3 {
    font-size: 48px;
}

.fullscreen-modal .textBox i {
    display: block;
    width: 60px;
    height: 2px;
    background-color: #333;
    margin-top: 24px;
    margin-bottom: 24px;
}

.fullscreen-modal .textBox p {
    line-height: 45px;
    font-size: 20px;
}

.fullscreen-modal .swiper-container {
    width: 100%;
    height: 100%;
    z-index: 100;
}

.fullscreen-modal .swiper-container .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 150px;
}

.fullscreen-modal .swiper-container .swiper-slide img {
    border-radius: 10px;
    width: 53%;
    height: auto;
    margin-left: 55px;
    object-fit: contain;
}


/* 第四屏 */

#section4 {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: url("../newhome_images/news-bg.jpg") no-repeat center top; */
    background-size: cover;
}

.news-container {
    max-width: 1400px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 70px;
    justify-content: center;
}

.news-item {
    width: 500px;
    display: flex;
    flex-direction: column;
    margin: 10px 30px;
    /* 根据需要调整新闻项之间的间隙 */
}

.news-item img{
    width: 100%;
    height: 250px;
    border-radius: 10px;
}

.news-content {
    text-align: left;
    width: 80%;
    line-height: 30px;
}

.news-title {
    margin-top: 10px;
    text-align: left;
    font-size: 22px;
}

.news-summary {
    margin: 10px 0;
}


/* 导航栏 */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding: 10px 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,.3);
}
.navbar.bottomColor {
     border-bottom: 1px solid rgba(0,0,0,.3);
}

.navbar,
.navbar .navbar-logo,
.navbar .nav-menu li {
    color: #333;
    background-color: #fff;
}


/* 品牌logo */
.navbar .navbar-logo .whiteLogo{
    width: 160px;
}

.navbar .navbar-logo .blackLogo{
    display: block;
    width: 160px;
}
.navbar .navbar-logo .whiteLogo {
    display: none;
}


.navbar-logo {
    font-weight: bold;
    font-size: 24px;
    color: #fff;
}


/* 导航菜单 */

.nav-menu {
    flex-grow: 1;
    justify-content: center;
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-menu li {
    padding: 0 15px;
    color: #fff;
    font-size: 16px;
}

.nav-menu li a {
    position: relative;
    line-height: 33px;
    display: inline-block;
}

.nav-menu li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background-color: #fff;
    transition: left 0.4s ease, right 0.4s ease;
    width: 0;
}

.nav-menu li a:hover::before {
    left: 0;
    right: 0;
    width: auto;
}

.nav-menu li.active a::before {
    left: 0;
    right: 0;
    width: auto;
    background-color: white;
}


/* 导航图标 */

.navbar .nav-icons {
    display: flex;
}

.navbar .nav-icons li {
    margin-right: 15px;
}

.navbar .nav-icons li img {
    width: 30px;
    height: 30px;
}

.navbar .nav-menu li.changed {
    color: #333;
}

.navbar-logo.changed {
    color: #333;
}
.bottomColor {
    border-bottom: 1px solid rgba(0,0,0,.3);
}

.footer {
    padding: 60px 250px 20px;
    background-color: #F9F9F9;
}

.footer .topContent {
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    color: #333;
}

.footer .topContent .left ul {
    display: flex;
    justify-content: space-around;
    gap: 50px;
}

.footer .topContent .left ul li {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer .topContent .left ul li h3 {
    font-size: 22px;
}

.footer .topContent .imgwrap {
    display: flex;
}

.footer .topContent .imgwrap .img1 {
    margin-right: 15px;
}

.footer .topContent .imgwrap p {
    text-align: center;
}

.footer .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer .right h2 {
    font-size: 42px;
    color: #D51E40;
    margin: 15px 0;
}

.footer .right .iconBox {
    display: flex;
    gap: 50px;
}

.footer .right .iconBox img {
    width: 40px;
    height: 40px;
}

.footer .icon1box,
.footer .icon2box,
.footer .icon3box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.footer .right .icon-info {
    display: none;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translate(-50%);
    background-color: #fff;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 14px;
    padding: 15px;
}

.footer .right .icon3box .icon-info {
    bottom: -140px;
}

.footer .right .iconBox .icon3box .icon-info img {
    width: 100px;
    height: 100px;
}

.icon1box:hover .icon-info,
.icon2box:hover .icon-info,
.icon3box:hover .icon-info {
    display: block;
    /* 鼠标移入时显示提示框 */
}

.footer .middleContent {
    color: #b1b0b0;
    margin-top: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.footer .bottomContent {
    margin-top: 20px;
    color: #b1b0b0;
}

.mobileNav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
    z-index: 1000;
    background-color: #fff;
    width: 100%;
    height: 50px;
}

.mobileNav .logo {
    font-size: 24px;
}

.mobileNav .menu img {
    width: 26px;
    height: 15px;
}

.modal-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    padding: 16px 0;
    box-sizing: border-box;
    transition: left .2s ease-in-out;
    z-index: 1000;
}

.modal-nav .modal-nav-tit {
    text-align: center;
    padding-bottom: 30px;
}

.modal-nav .modal-nav-tit a {
    font-size: 24px;
}

.close {
    float: right;
    position: absolute;
    right: 16px;
    top: 16px;
}

.modal-nav .modal-nav-body {
    height: calc(100vh - 40px);
    overflow: auto;
    transition: display .2s ease-in-out;
}

.modal-nav .modal-nav-wrap {
    padding: 0 16px 3vh;
    border-bottom: 1px solid #dee2e6;
}

.modal-nav .modal-nav-wrap a {
    font-weight: 400;
    display: block;
    font-size: 22px;
    color: #000;
    letter-spacing: 1.57px;
    line-height: 1.9;
    margin-bottom: 10px;
}


/* 针对屏幕宽度在 768px 以下的设备（通常是手机） */

@media (max-width: 768px) {
    #fullpage {
        margin-top: 50px;
    }
    
    .navbar {
        display: none;
    }
  
    #section1 {
        height: 200px !important;
        /* 限制 section1 的高度 */
    }
    #section1 .fp-tableCell {
        height: 200px !important;
        /* 确保内层高度也同步 */
    }
    #section1 img {
        width: 100%;
        height: 200px;
    }
    #section2 {
        width: 100%;
        height: 200px!important;
        /* 限制 section2 的高度 */
    }
    #section2 .fp-tableCell {
        height: 100%;
        height: 200px!important;
    }
    #section2 video {
        height: auto;
        width: 100%;
    }
    #section2 .video-js {
        width: 100%;
        height: 100%;
    }
    #section3 .swiper-slide a img {
        width: 100%;
        height: auto;
    }
    #section3 .swiper-slide .txt-wrap {
        bottom: 3%;
    }
    #fullscreenModal .swiper-button-next,
    #section3 .swiper-button-next {
        width: 50px;
        height: 20px;
        background-position: right;
    }
    #fullscreenModal .swiper-button-prev,
    #section3 .swiper-button-prev {
        width: 50px;
        height: 20px;
        background-position: left;
    }
    #section4,
    #section4 .fp-tableCell {
        height: 100%!important;
    }

    .fullscreen-modal .swiper-container .swiper-slide {
        flex-direction: column;
    }
    .fullscreen-modal .swiper-container .swiper-slide img {
        width: 100%;
        height: 250px;
    }

    .fullscreen-modal .textBox .title2 {
        margin: 10px 0;
        font-size: 16px;
    }
    .fullscreen-modal .textBox .title3 {
        font-size: 24px;
    }
    .fullscreen-modal .textBox i {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .fullscreen-modal .textBox p {
        line-height: 25px;
        height: 225px;
    }
  /* 为模态框内容区域添加滚动条 */
    .fullscreen-modal .swiper-container {
        overflow-y: auto;
        /* 允许垂直滚动 */
    }
    .footer {
        padding: 0 15px;
    }
    .footer .topContent .left ul {
        gap: 20px;
    }
    .footer .topContent .left ul li {
        gap: 10px;
    }
    .footer .topContent .left ul li h3 {
        font-size: 16px;
    }
    .footer .middleContent {
        margin-top: 10px;
    }
    .footer hr {
        margin: 5px 0;
    }
    .news-title {
        font-size: 18px;
        line-height: 28px;
    }
    .news-content {
        line-height: 24px;
    }
    .footer .phone {
        overflow: hidden;
    }
    .footer .phone ul {
        float: left;
    }
    .footer .phone li .red {
        color: #D51E40;
    }
    .footer .phone li {
        margin: 10px 0;
    }
    .footer .phone .erweima {
        float: right;
        width: 120px;
        height: auto;
        margin-top: 10px;
        margin-right: 16px;
    }
    .footer .phone .erweima img {
        width: 100%;
        height: 100%;
    }
    .footer .phone .erweima p {
        text-align: center;
    }
    }


#section2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}


/* 视频播放器样式 */

#player {
    width: 100%;
    height: auto;
    max-height: 100%;
    max-width: 100%;
}

#section2 .playIcon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 100;
    transition: opacity 0.5s ease-out;
    /* 设置淡出过渡 */
    display: none;
}

#section2 .playIcon:hover {
    cursor: pointer;
}

.video-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 99;
    opacity: 1;
    /* 遮罩层初始是完全可见的 */
    transition: opacity 0.5s ease-out;
    /* 添加渐变消失效果 */
}


/* 点击时候 让playIcon消失 */

.playing .playIcon {
    opacity: 0;
}


/* 遮罩层消失后的状态，opacity 设置为0 */

.playing .video-container::after {
    opacity: 0;
}

