*{ box-sizing: border-box; padding: 0px; margin: 0px;}
a{ color: #333;}
li{list-style: none;}
.img_wrap_43{ position: relative; padding-bottom: 75%;  overflow: hidden; text-align: left;  }
.img_wrap_43 img{width: 100%; height: 100%; position: absolute; object-fit:cover;transition: all 0.5s; }
.img_wrap_169{ position: relative; padding-bottom: 56.25%;  overflow: hidden; text-align: left;  }
.img_wrap_169 img{width: 100%; height: 100%; position: absolute; object-fit: cover;transition: all 1s; }
:root { --primary-color: rgb(59, 59, 149);   --secondary-color: rgb(255,59,14,0.7);--primary-color-09: rgba(59, 89, 149,0.9);}

html, body {
    min-width: 1440px;
    overflow-x: auto;
    background: #fff;
}
header{ position: fixed; top:0px; left: 50%; transform: translateX(-50%);  width: 100%; transition: height 0.3s ease, padding 0.3s ease; z-index: 1000;width: 100%; z-index: 20; background:#fff!important; box-shadow: 0 0 20px rgba(0,0,0,0.1); padding: 1rem; }
header.container-fluid .index-header,footer.container-fluid .row,.wrap{max-width: 1440px; margin: 0 auto;}
main.container-fluid .index-content,.submenu-dl{max-width: 1440px; margin: 0 auto; overflow: hidden;}
#logo img{ max-height: 66px;}
#logo_m{ display: none;}
#logo_m img{ max-height: 60px;}
#menu{ display: flex; }
#menu ul li {}
#menu ul li .menutitle{ display: block;  padding: 10px 20px; font-size: 1rem; color: #333; text-decoration: none;  }
#menu ul li .menutitle:hover{ color: var(--primary-color); }
#menu ul{ margin: 0px; }
#index-tel .tel{display: flex; justify-content: end;  text-align: right; align-items: center; font-size: 1rem; color: #333; text-indent: 2.6rem;}
#index-tel .tel span a{ margin-right: 5px;  font-size: 1rem; ; align-content: center; color:rgb(0, 123, 255); text-decoration: none; }
/*.submenu{ display: none; text-align: left; position: absolute; left: 0; overflow: hidden; border-top: 1px solid #ededed;  color: #333; top: 90px; width: 100%;height: auto; z-index: 9999;  background: #fff;  left: 50%; transform: translateX(-50%); border-bottom:4px solid var(--primary-color); }*/
/*.submenu-dl{ padding: 3% 1%; line-height: 30px; overflow: hidden;}*/
/*.submenu-dl .left{ width: 23%;  text-align: left;}*/
/*.submenu-dl .left h3{ font-size: 1.75rem;}*/
/*.submenu-dl .left p.title{ font-size: 1rem;}*/
/*.submenu-dl .left p.phone{ font-size: 1.5rem;  text-align: left; color: var(--primary-color); font-weight: bold; margin: 10px 0px;}*/
/*#menu .submenu .submenu-dl .left a{ padding: 8px 20px; background: var(--primary-color);  color: #fff;  font-size: 0.9rem; border-radius: 2px;text-decoration: none;  }*/
/*#menu .submenu .submenu-dl .left a:hover{ background: var(--primary-color-09) }*/
/*.submenu-dl .right{ flex: 1;  display: flex; justify-content: start; align-content: center; align-items: center; }*/
/*.submenu-dl .right a{ width: 25%; margin-right: 20px;  text-decoration: none; overflow: hidden;}*/
/*.submenu-dl .right a .img{width: 100%; height: 146px;  border-radius: 5px; display: block; overflow: hidden;}*/
/*.submenu-dl .right a img{width: 100%; height: 100%; object-fit: cover; border-radius: 5px; transition: all 1s }*/
/*.submenu-dl .right a h3{ font-size: 1rem; text-align: center; margin-top: 10px; color: #333; text-decoration: none; }*/
/*.submenu-dl .right a:hover h3{ color: var(--primary-color);}*/
/*.submenu-dl .right a:hover img{ transform: scale(1.1);}*/
/*滑动时header*/
.header_scroll{ padding: 10px 0px!important;}
.header_scroll #logo img{ transform: scale(0.95); transition: all 0.3s}
.header_scroll .tel{ padding: 0px 10px;}
.header_scroll{ padding-top: 0.5rem; padding-bottom: 0.5rem}
/** nav */
nav.container-fluid{padding: 0px; margin: 0px; }
nav{ padding: 0px; margin: 0px;  margin-top: 82px!important;}
nav .swiper-slide img{ width: 100%;}
nav .swiper-slide img {
    transform: scale(1.1);
    transition: transform 5s ease;
}
nav .swiper-slide-active img {
    transform: scale(1);
}

nav .swiper-button-next{ color: #ffffff; }
nav .swiper-button-prev{ color: #ffffff; }
nav .swiper-pagination .swiper-pagination-bullet{width: 30px; height: 8px; border-radius: 0px; background: #000; opacity: 0.4 }
nav .swiper-pagination .swiper-pagination-bullet-active{background: var(--primary-color); opacity: 1}
/**main**/
main{ }
main.container-fluid{width: 99%!important; padding: 0px 0.5%!important;}
/** section **/
.index-module{  text-align: center; padding: 1.5rem 0px;}
.index-module:nth-child(odd){ background: #f6f6f6}
.index-module:nth-child(even){ background: #fff}
/** index-title **/
.index-title{position: relative; line-height: 50px; font-size: 2.5rem; padding: 1rem 0px; }
b.text-color{ color:var(--primary-color)}
.index-title span{ display: block; font-size: 1rem; color: #666; line-height: 1.5rem; margin: 0.5rem 0px; }
.index-title:after{ content: ' '; position: absolute; bottom:0px; left: 50%; width: 100%; height: 13px; transform: translateX(-50%); color: #5c5ce0; background: url("../images/icon-title.png") no-repeat center;}
/** index-content **/
.index-content{ padding: 1rem 0px; flex-wrap: wrap;}
.index-content .index-cate ul li{ margin-bottom: 0.5rem; }
.index-content .index-cate ul li a{  padding: 0.5rem 1rem; border: 1px solid #d2d2d2; text-decoration: none; color: #333; font-size: 1rem; border-radius: 2px; transition: all 0.3s; }
.index-content .index-cate ul li a:hover{ background: var(--secondary-color); color: #fff;  border: 1px solid var(--secondary-color); }
/** index-product **/
.index-product a {display: block; background: #ffffff; text-align: left; color: #333; text-decoration: none;  transition: all 0.5s; margin-bottom: 1rem; overflow: hidden; }
.index-product a h3{  padding: 15px 10px; overflow: hidden; white-space: nowrap;  margin:0; text-overflow: ellipsis; font-size: 1rem; text-align: center; }
.index-product a p{ padding: 0px 10px 10px;  font-size: 0.8rem; text-align: right;}
.index-product a p i{ float: right; margin-left: 2px; color: #333; }
.index-product a:hover{ background: var(--primary-color); color: #ffffff;}
.index-product a:hover img{ transform: scale(1.1) }
.index-product a:hover p i{ color: #fff; }
.swiper-button{ margin-top: 1rem; }
.swiper-button ul{display: flex; justify-content: center; padding: 0px;}
.swiper-button ul li {list-style: none; margin-right: 5px;}
.swiper-button ul li a{ display: block;  width: 36px; height: 36px; text-align: center; line-height: 36px; color: #ffffff; background: #8a8a8a; }
.swiper-button ul li a i{display: inline-block; transition: all 0.3s;}
.swiper-button ul li a:hover{ background: #113485;}
.swiper-button ul li a:hover i{ transform: scale(1.5);}
/** index-case **/
.index-cases .case-button{ margin-top: 1rem; }
.index-cases .case-button ul{display: flex; justify-content: center; padding: 0px;}
.index-cases .case-button ul li {list-style: none; margin-right: 5px;}
.index-cases .case-button ul li a{ display: block;  width: 250px; height: 40px; text-align: center; text-decoration: none; line-height: 40px; color: #ffffff; background: var(--primary-color); border-radius: 10px; margin: 0 10px; }
.index-cases .case-button ul li:nth-child(2) a{  background: var(--secondary-color); }
.index-cases .case-button ul li a:hover{ background: rgba(0,0,0,0.5);}
/** about **/
.index-about .left{ width: 50%; text-align: left;}
.index-about .left h3 { font-size: 2.5rem; color: var(--primary-color); font-style: italic; text-transform: uppercase; position: relative;display: inline-block; padding-right: 10px; overflow: hidden; font-family: Arial, Helvetica, Verdana, 'Microsoft YaHei'; font-weight: bold;}
.index-about .left h3::before { content: ''; position: absolute; top: 0;  left: -100%; width: 100%;height: 100%; background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);animation: highlight 3s 100 linear;}
@keyframes highlight {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}
.index-about .left p{ margin: 10px 0px 30px 0px; color: #666; line-height: 30px;}
.index-about .left a{ display: inline-block; padding: 8px 50px; background:var(--primary-color); border-radius: 30px; color: #ffffff; text-decoration: none; cursor: pointer;  position: relative; transition: all 0.3s;}
.index-about .left a i{ margin-left: 10px;  font-size:1rem; }
.index-about .left a:hover{ font-size: 1.1rem; }
.index-about .left a::before{ content: ' '; position: absolute; top:0; left: -100%; width: 100%; height: 100%; background: linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);animation: highlight 1s 100 linear; animation-delay: 2s;}
.index-about .right{ width: 45%;  overflow: hidden; }
.index-about .right img{ width: 95%; height: 95%; box-shadow: 0px 0px 10px 2px #c1c1c1; transition: all 1s; }
.index-about .right img:hover{ transform: scale(1.1); cursor: pointer;}
/** index-news **/
.index-news{}
.index-news .index-content {
    display: flex;
    flex-wrap: wrap;
}
.index-news .right{ width: 100%; align-self: stretch; min-height: 100%;}
.index-news  p{ margin-bottom: 0;}
.index-news  ul{ padding: 0;}
.index-news  ul li a{ justify-content: center; align-content: center; justify-content: center; }
.index-news  li a{ display: flex; position: relative; padding: 20px 10px;  text-align: left; color: #333; text-decoration: none; background: #f6f6f6; margin: 1rem 0; border-radius: 8px; }
.index-news  li a .right {
    flex: 1;
    min-width: 0; /* 关键！允许内容收缩并触发省略 */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.index-news  li a h3{ font-size: 16px; font-size: 1.1rem; }
.index-news  li a .right p{ font-size: 14px; color: #666;     white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;}
.index-news  li a i{ display: block; font-size: 12px;  color: #999; font-style: normal;}
.index-news  li a:hover{ background: var(--primary-color); color: #fff;}
.index-news  li a:hover p,.index-news .right li a:hover i{color: #fff;}
.index-news .left {
    width: 250px; /* 更紧凑一点 */
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 20px;
}
.index-news  .left p {
    color: #dcdcdc !important;
    font-size: 40px !important;
    font-weight: bold;
    margin: 0;
    line-height: 1;
    text-align: right;
    margin-bottom: 5px;
}

.index-news .left span {
    color: #bdbdbd !important;
    font-size: 16px !important;
    line-height: 1;
    text-align: right;
}
/* case */
.gallery {
    display: flex;
    gap: 5px;
    transition: all 0.5s ease-in-out;
    min-height: 480px;
}

.gallery-item {
    flex: 1.5;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    min-height: 480px;
    max-height: 600px;
    transition: flex 0.5s ease-in-out;
}
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}
/* 默认中间项放大 */
.gallery-item.active {
    flex: 4;
}

/* 鼠标悬停时，当前项缓缓变大 */
.gallery-item:hover {
    flex: 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 2s ease-in-out; /* 变大动画更柔和 */
}

.gallery-item.active img {
    transform: scale(1.2);
}

/* 悬停时缓缓放大 */
.gallery-item:hover img {
    transform: scale(1.15); /* 稍微放大一点 */
}


.text-content {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 90%;
    color: white;
    padding: 20px 10px;
    margin: 0;
    text-align: left;
    transition: opacity 0.3s ease-in-out;
}

.gallery-item .title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.description {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* 悬停或默认 active 时，文字描述可见 */
.gallery-item:hover .description,
.gallery-item.active .description {
    opacity: 1;
}
/** footer **/
footer{ border-top: 1px solid #dddee0;  background: #242424;}
footer .top{ padding: 3% 0px;}
footer .row{}
footer .left{max-width: 25%;  overflow: hidden; color: #fff; opacity: 0.5}
footer .left img{ width: 100%; margin-bottom: 1rem;}
footer .left p{ font-size: 0.9rem; padding-left: 1rem; }
footer .left p a{ color: #fff; text-decoration: none; }
footer .left p.title{ font-size: 2rem; margin-bottom: 2rem; }
footer .middle{flex: 1;}
footer .middle ul a{ text-decoration: none;}
footer .middle a:hover{ color: #fff;opacity: 0.9!important;}
footer .middle a.title{  font-size: 1.2rem; color: #fff;  font-weight: 500;}
footer .middle a.title:after{ content: ' '; width: 2rem; height: 2px ;background: var(--primary-color); display: block; margin-top: 0.5rem; margin-bottom: 1.25rem;  transition: all .3s ease-in-out;}
footer .middle a.subtitle{ font-size: 0.9rem; color: #fff; opacity: .5;}
footer .middle a.title:hover:after{ width: 4rem; }
footer .right{width: 27%; display: flex; justify-content: center;}
footer .right .img-wrap{ margin-right: 5%;}
footer .right .img-wrap img{width: 120px; height: 120px; cursor: pointer;}
footer .right .img-wrap b{ color: #fff; display: block; text-align: center; margin-top: 0.5rem; font-weight: normal; font-size: 0.9rem; }
footer .bootom{display: flex; justify-content: center; align-items: center; border-top: 1px solid #dddee0; padding: .6rem 0px; font-size: 0.9rem; color: #333; background: #fff; }
footer .bootom a{ text-decoration: none; color: #333; margin-left: 1rem;}
footer div.bootom a.icp:hover{ opacity: 1!important;}
/**  sub-common **/
.subnav-content{ display: flex; flex-direction: column; justify-content: center; align-items: center; background: url("../images/sub-nav-bg.jpg") no-repeat center; background-size: cover; height: 400px; color: #fff; position: relative; }
.subnav-content h3{ font-size: 1.5rem; z-index: 1; margin-bottom: 0;}
.subnav-content h3::after{content: ''; display: block; width: 2rem; height: 2px; background: #999;  margin: 10px auto; transition: all 0.3s;z-index: 1; }
.subnav-content p{ font-size: 1rem;z-index: 1;}
.subnav-content:hover h3::after{ width: 4rem ;z-index: 1;}
.subnav-content i{ position: absolute; bottom: 10%; z-index: 1; animation: move 0.7s cubic-bezier(.435, 0.03, 0.45, 0.96) 0.2s infinite alternate; font-size: 1.8rem;}
@keyframes move {
    from {
        transform: translateY(0);
        opacity: 0;
    }
    to {
        transform: translateY(-20px);
        opacity: 1;
    }
}
.subnav-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}
.crumb-content{background: #eef2f5; }
.crumb-content .wrap{ display: flex; justify-content: space-between; align-items: center; font-size: 1rem; align-content: center; }
.crumb-content a{ text-decoration: none;color: #666;}
.crumb-content a:hover{ color: var(--primary-color);}
.crumb-content dl{display: flex; justify-content: center; align-items: center;  margin: 0;}
.crumb-content dl dt{ padding: 1rem 0px; }
.crumb-content dl dt a{ padding: 1rem 0; font-size: 0.9rem;  font-style: normal; color: #666;position: relative; font-weight: normal; }
.crumb-content dl dt:not(:last-child) a::after{ content: '>'; margin:0 10px; display: inline-block; }
.crumb-content dl a i{ color: #666; font-size: 1rem; margin-right: 5px;}
@media (max-width: 890px) {
    .crumb-content{ display: none;}
    .subnav-content{ height: 220px;}
}
/** subpage-common **/
.main-product{ background: #f9f9f9; }
.subpage-common{ padding: 1rem 0;}
.subpage-common .top{ background: #fff; padding: 1rem; }
.subpage-common .top .left{ width: 40%; margin-right: 3%;}
.subpage-common .top .right{ flex: 1; color: #333;}
.subpage-common .top .right h3{ font-size: 2rem; padding: 1rem 0; }
.subpage-common .top .right .title{ font-size: 1rem; color: var(--primary-color); padding: 0.5rem 0;  }
.subpage-common .top .right .keywords{ font-size: .9rem; color: #333; line-height: 1.5rem;}
.subpage-common .top .right .bj{ display: inline-block; padding: 0.8rem 4rem; background: var(--primary-color); color: #fff; text-decoration: none; border-radius: 5px;}
.subpage-common .top .right .bj:hover{ background: var(--primary-color-09)}
.subpage-common .top .right .zx{ display: inline-block; margin-left: 2rem; text-decoration: none;background-size: 45px; padding-left: 56px; font-size: 0.9rem; color: #333; line-height: 26px;}
.subpage-common .top .right .zx b{font-size: 2rem; font-family: Arial, Helvetica, Verdana, 'Microsoft YaHei'; color:var(--primary-color); }
.subpage-common .top .right .zx b i{ margin-right: 10px;  }
.subpage-common .bottom{ padding: 1rem 0px; background: #f9f9f9; }
.subpage-common .bottom .left{ width: 78%; background: #fff; }
.subpage-common .bottom .left .title{ background: #eef2f5; color: #fff;  }
.subpage-common .bottom .left .title a{ display: inline-block; padding: 0.8rem 2rem;  color: #333; font-size: 1.2rem; text-decoration: none; }
.subpage-common .bottom .left .title a.active,.subpage-common .bottom .left .title a:hover{  background: var(--primary-color); color: #fff; }
.subpage-common .bottom .left .content{ padding: 1rem; line-height: 1.8rem;}
.subpage-common .bottom .right{ width: 20%; }
.subpage-common .bottom .right .title{  background: var(--primary-color); padding: 0.8rem 2rem; color: #fff; font-size: 1.2rem;}
.subpage-common .bottom .right .title i{ margin-right: 0.5rem; }
.subpage-common .bottom .right_top .content{ background: #fff; padding: 1rem; }
.subpage-common .bottom .right_top .content ul{padding: 0; margin: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: start; }
.subpage-common .bottom .right_top .content ul li{ padding: 0; margin: 3px 0; display: block; width: 100%;}
.subpage-common .bottom .right_top .content ul li a{ display: block;  padding: 0.7rem; text-decoration: none; color: #333; background: #f9f9f9;}
.subpage-common .bottom .right_top .content ul li a:hover{ background: var(--primary-color); color: #fff;}
.subpage-common .bottom .right_top .content ul .custom-sub-category {
    max-height: 0px; /* 初始高度为0 */
    overflow: hidden; /* 隐藏内容 */
    margin-top: 5px;
    padding-left: 10px; /* 缩进效果 */
    transition: max-height 0.3s ease; /* 设置高度过渡动画 */
}

/* 鼠标悬停时展开子菜单 */
.subpage-common .bottom .right_top .content ul li:hover .custom-sub-category {
    max-height: 1000px; /* 设置一个足够大的值来允许展开 */
}
.subpage-common .bottom .right_top .content ul li:hover .custom-sub-category li a{ }
.subpage-common .bottom .right_top .content ul li:hover .custom-sub-category li a i{margin-right: 3px; color: var(--primary-color); font-weight: bold; }
.subpage-common .bottom .right_top .content ul li:hover .custom-sub-category li a:hover i{ color: #fff;}
.subpage-common .bottom .right_middle{}
.subpage-common .bottom .right_middle .title{  text-align: center; padding: 1rem; letter-spacing: 2px;}
.subpage-common .bottom .right_middle .title i{ display: block; font-style: normal; font-size: 1rem;}
.subpage-common .bottom .right_middle .content{ background: #fff; padding: 1rem 0.5rem;}
.subpage-common .bottom .right_middle .content p{ margin-bottom: 0.5rem; font-size: 0.9rem;}
.subpage-common .bottom .right_middle .content p.tel{ font-size: 0.8rem; }
.subpage-common .bottom .right_middle .content p.tel b{ font-size: 2rem;color: #595959; }
.page{
    width:100%;
    padding: 20px 0;
}
.pagination{
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination li{
    border: 1px solid #ddd;
    margin-left: 5px;
    cursor: pointer;
    line-height: 30px;
}
.pagination li.disabled span{
    display: none;
}
.pagination li a{
    display: block;
    padding: 0 10px;
    text-decoration: none;
    color: #333!important;
}
.pagination li.active,.pagination li a:hover{
    padding: 0 10px;
    background: var(--primary-color);
    color: #fff!important;
}
@media (max-width: 890px) {
    .subpage-common .bottom {padding: 0rem;}
    .subpage-common .bottom .left{ width: 100%;}
    .subpage-common .bottom > .right{display: none;}
    .main-product .subpage-common .top{ flex-direction: column;}
    .main-product .subpage-common .top .left{ width: 100%;}
    .main-product .subpage-common .top .right h3{padding-bottom: 0;}
    .main-product .subpage-common .top .right .title{padding-bottom: 0;}
    .main-product .subpage-common .top .right .bj{ display: none;}
    .main-product .subpage-common .top .right .zx{ margin-left: 0; }
    #news-list ul li a .left{ width: 30% !important;}
    #news-list ul li a .right h3{ font-size: 1rem!important;}
    #news-list ul li a .right{ padding: 1rem!important;}
    #news-list ul li a .right p.desc{display: none;}

}

/** product **/
#product-list{; margin: 0;padding: 0;  }
#product-list ul{display: flex; flex-wrap: wrap; justify-content:  space-between; align-items: center; margin: 0; padding: 0; gap: 10px;}
#product-list ul li{ list-style: none; flex: 0 1 calc(33.333% - 10px);  overflow: hidden; }
#product-list ul li a {display: block; background: #ffffff; text-align: left; color: #333; text-decoration: none; transition: all 0.5s;}
#product-list ul li a h3{  margin: 10px 10px;  line-height: 40px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 1rem; border-bottom: 1px dotted #999; text-align: left; }
#product-list ul li a p{ padding: 0px 10px 10px;  font-size: 0.8rem; text-align: right;}
#product-list ul li a p i{ float: right; margin-left: 2px; color: #333; }
#product-list ul li a:hover{ background: var(--primary-color); color: #ffffff;}
#product-list ul li a:hover img{ transform: scale(1.1) }
#product-list ul li a:hover p i{ color: #fff; }
/* 让空位留出来，避免填满 */
#product-list ul::after {
    content: "";
    flex: 0 1 calc(33.333% - 10px); /* 伪元素占位，避免最后一行居中 */
    visibility: hidden;
}
/** news **/
#news-list{margin: 0;padding: 0;  padding: 1rem; }
#news-list .left{ width: 250px; background: #f6f6f6; }
#news-list a:hover .left{ background: var(--primary-color); }
/** news-info **/
#news-info{margin: 0; padding: 4rem 2rem; }
#news-info h3{ text-align: center;  margin-bottom: 2rem;}
#news-info p.img{ text-align: center; max-width: 100%; height: auto;}
#news-info p.img img{ max-width: 100%;}
#news-info p.desc{ font-size: 0.8rem; line-height: 1.5rem; }
/** about **/
#about{margin: 0;padding: 0;  padding: 1rem; }
#about p.img{ text-align: center;  }
#about p.img img{ max-width: 100%; }
#about .desc{ padding:1rem;  line-height: 1.8rem; }
.company-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 8rem; /* 适当增加高度，确保不会太紧凑 */
}

.company-container h3 {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0.3rem 0;
    color: #444;
    line-height: 1.5;
}

.company-container h4 {
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.3rem 0;
    color: #555;
    letter-spacing: 0.1rem;
    line-height: 1.5;
}
#honor{ padding: 1rem;}
#honor h2{ padding: 1rem; text-align: center; color: #333; font-weight: bold;}
#honor .swiper-slide a{ background: #efefef;}
#honor .swiper-slide a img{ transition: all 3s; object-fit: contain;}
#honor .swiper-slide a:hover h3{ background: var(--primary-color)}
/** contact **/
#contact{margin: 0;padding: 0;  padding: 2rem 1rem; }
#contact .top{ display: flex; justify-content: end; align-items: center; }
#contact .top .left{color: #555; width: 55%; padding-left: 2rem; }
#contact .top .left img{ width: 150px; }
#contact .top h3{ font-weight: bold; color: #444;}
#contact .top h4{ font-size: 0.6rem; font-weight: bold; color: #444; margin-bottom: 2rem;}
#contact .top .right form{ display: flex; flex-direction: column; gap: 10px;}
#contact .top .right input{ padding: 0.6rem 0.8rem; border: 1px solid rgba(224, 224, 224, 1); font-size: 1rem; outline: none;  background: #f9f9f9; border-radius: 1px; color: #666;}
#contact .top .right textarea{ padding: 0.6rem 0.8rem; border: 1px solid rgba(224, 224, 224, 1); font-size: 1rem; height: 5rem;  outline: none;  background: #f9f9f9; border-radius: 1px; color: #666;}
#contact .top .right .name-tel{ display: flex; justify-content: space-between; align-content: center; align-content: center; gap: 1rem;  }
#contact .top .right .name-tel input{  width: 50%;  background: #f9f9f9;}
#contact .top .right .name-tel select{  width: 30%;  background: #f9f9f9; color: #666; }
#contact .top .right .captcha-img{ display: flex; justify-content: start; align-content: center; align-content: center; gap: 1rem;  }
#contact .top .right .captcha-img .img-wrap{ display: flex; justify-content: center; align-content: center; align-items: center; }
#contact .top .right .captcha-img img{ width: 100%; max-height: 2.5rem; vertical-align: middle; }
#contact .top .right #submit{ background: var(--primary-color); color: #fff;}
#contact .top .right #submit:hover{ background: var(--primary-color-09); color: #fff;}
#map{ background: palegoldenrod; width: 100%; height: 500px;}
    /**  tools **/
.global-right {
    position: fixed;
    right: 0px;
    width: 50px;
    background: black;
    z-index: 1000;
    top: 50%;
    display: none; /* 默认隐藏工具栏 */
    flex-direction: column;
    align-items: flex-end;
    transition: opacity 0.3s ease; /* 动画过渡 */
    opacity: 0; /* 默认透明 */
}

.global-right.visible {
    display: flex; /* 滚动时显示工具栏 */
    opacity: 1; /* 变为完全不透明 */
}


.global-right .item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 50px; /* 默认宽度 */
    height: 50px;
    background: #000;
    opacity: 0.8;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease; /* 保留动画效果 */
    font: 14px Arial, sans-serif;
    white-space: nowrap;
    border: 1px solid #333333;
}

.global-right .item svg {
    width: 50px; /* 固定图标宽度 */
    height: 30px; /* 固定图标高度 */
    flex-shrink: 0; /* 防止图标缩小 */
    margin-right: 10px; /* 图标与文字的间距 */
    transition: margin-right 0.3s ease; /* 动画过渡效果 */
}

.global-right .item span {
    opacity: 0; /* 默认隐藏文字 */
    display: inline-block; /* 保证文字占位 */
    transition: opacity 0.3s ease, transform 0.3s ease; /* 添加渐显与移动动画 */
    transform: translateX(-10px); /* 初始文字左移 */
    color: #fff;
}

.global-right .item:hover:not(:last-child) {
    background: #333; /* 悬停时更改背景色 */
    opacity: 1; /* 悬停时完全不透明 */
    width: auto; /* 宽度自适应文字长度 */
    padding-right: 10px; /* 添加右侧内边距 */
}

.global-right .item:last-child:hover,.global-right .item:nth-child(3):hover,.global-right .item:nth-child(5):hover{
    /* 如果需要，最后一个 item 的悬停样式可以单独定义 */
    background: #333; /* 保持背景色更改 */
    opacity: 1; /* 保持不透明 */
    width: 50px; /* 保持固定宽度 */
    padding-right: 0; /* 移除内边距 */
}

.global-right .item:hover span {
    opacity: 1; /* 文字渐显 */
    transform: translateX(0); /* 文字位置复位 */
}

.qr-popup {
    display: none;
    position: absolute;
    top: 50%;
    left: -122px;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    z-index: 2000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.qr-popup svg {
    width: 100px;
    height: 100px;
}

.qr-code:hover + .qr-popup {
    display: block;
}

.global-right .email:hover {
    background: #555;
}

.global-right .phone:hover {
    background: #777;
}



/* 子菜单样式 */
#menu li{ position: relative;}
.sub-menu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    /*background-color: rgba(0, 0, 0, 0.8); !* 透明黑色背景 *!*/
    background-color: rgba(255, 255, 255, 1); /* 透明黑色背景 */
    border-radius: 4px; /* 圆角效果 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* 阴影效果 */
    border-top:2px solid var(--primary-color);
    width: auto;
    z-index: 9999;
    margin:0;
    padding: 0;
    overflow: hidden;
}

/* 显示子菜单 */
#menu-ul li:hover .sub-menu {
    display: block;
}

/* 子菜单项样式 */
.sub-menu li {
    display: block;
    line-height: 40px;
    width: 100%;
    padding: 2px 0px!important;
    font-size: 14px;
    text-indent: 20px;
    border-bottom: 1px solid #f0f0f0; /* 子菜单项分隔线 */
}

.sub-menu li a {
    width: 100%!important;
    text-decoration: none;
    color: #3c3e46!important;
    line-height:30px;
    text-align: left!important;
    text-indent: 15px;

}

.sub-menu li a:hover {
    width: 100% !important;
    color: var(--primary-color)!important;
}
