body{
    margin: 0;
}
html{
    margin: 0;
    padding: 0;
    color: #333;
}
a{
    color: #333;
    text-decoration: none;
    font-weight: normal;
}
a:hover{
    color: #0580b7;
}
ul,li,dl,dd,dt{
    list-style: none;
    padding: 0;
}
img{
    max-width: 100%;
}
.bgcolor{
    background-color: #0580b7;
}

.ftcolor{
    color: #0580b7;
}
.topcontainer{
    font-size: .9rem;
}
.topcontainer i{
    font-size: 30px;
    color: #666;
    width: 15%;
}
.topcontainer span{
    color: #0580b7;;
}
.topcontxt{
    width: 85%;
}
.language img{
    width: 1.5rem;
}
.pcnav{
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}
.pcnav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.navinqiry a{
    color: #fff;
    display: block;
    border-radius: 2rem;
}
.pcnav ul{
    margin-bottom: 0;
    padding-left:0;
}
.pcnav ul li{
    float: left;
}
.pcnav ul li a{
    display: block;
    border-radius: 2rem;
    border: 2px solid rgba(255, 255, 255, 0);
    padding: .5rem 1.5rem;
}
.pcnav ul li a:hover, .pcnav .current-menu-item a ,.pcnav .current-menu-ancestor a{
        border: 2px solid #0580b7;
        color: #0580b7;
}
.nav .pcnav li ul li a{
    border: none;
    color: #333;
}

/* 确保父 li 相对定位 */
.pcnav ul li {
  float: left;
  position: relative;
}

/* 子菜单基础样式 */
.pcnav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* 悬停显示子菜单 */
.pcnav ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 子菜单项样式 */
.pcnav ul li ul li {
  float: none;
  width: 100%;
}

.pcnav ul li ul li a {
  display: block;
  padding: 8px 20px;
  border: none;
  border-radius: 0;
  white-space: nowrap;
  color: #333;
}

.pcnav ul li ul li a:hover {
  background-color: #f0f0f0;
  color: #0580b7;
  border: none;
}

/* mobile nav */
#mobileMenu .sub-menu {
  display: none !important;
  padding-left: 1rem;
  background-color: #f8f9fa;
}

#mobileMenu .sub-menu .menu-item a {
  padding: 0.5rem 1rem;
  display: block;
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
}

#mobileMenu .menu-item > a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #000;
}

/* 显示展开状态 */
#mobileMenu .submenu-open > .sub-menu {
  display: block !important;
}

/* 可选：点击状态箭头切换 */
#mobileMenu .submenu-toggle::after {
  content: ' +';
  float: right;
}

#mobileMenu .submenu-open > .submenu-toggle::after {
  content: ' −';
}





.bgicon{
    background-color: #efefef;
}
.cominf a{
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding:2rem 2.3rem;
    border-radius: 1rem;
}
.cominf a i{
    transition: color 0.3s ease;
    color: #333;
}
.cominf a:hover i{
    color: #0580b7;
}
.cominf h3{
    margin-bottom: 0;
}
.cominf p{
    color: #666;
    margin-top: 1rem;
    margin-bottom: 0;
}
.cominf span{
    text-align: center;
    color: #0580b7;
    font-size: 1.5rem;
}

.homeabout{
    background: url(images/abj.jpg) no-repeat center top fixed;
}

.viewmore{
    display: block;
    background-color: #fff;
    color: #0580b7;
    padding: .6rem 2rem;
    border-radius: 2rem;
}
.viewmore:hover{
    color: #fff;
    background: #0580b7;
}
.svimg img {
  transition: transform 0.3s ease;
}

.svimg:hover img {
  transform: translateY(-1rem);
}
.homeservice .cominf p{
    color: #aaa;
    font-size: .9rem;
}
.solution{
    font-size: .9rem;
}
.bj-hmpro{
    background-color: #f7f5f5;
}
.product-card-img{
    aspect-ratio: 1 / 1; /* 正方形，可改成 4/3 或 3/2 等比例 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
}
.newsimg {
  position: relative;
  display: inline-block;
}
.newsimg img {
  display: block;
  width: 100%;
  height: auto;
}

/* 圆形图标 */
.newsimgicon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-90%, -50%); /* 向左偏一点，制造“滑入”感觉 */
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 1;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 1.6rem;
  font-size: 1.3rem;
  border-radius: 50%;
}

.newsimg a:hover .newsimgicon {
  opacity: 1;
  transform: translate(-50%, -50%); /* 回归正常居中位置 */
  color: #333;
}

.newsdate{
    font-size: 1.2rem;
    transform: translateY(-60px); /* 初始往上偏移 */
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 1;
    color: #333;
}

.newsimg a:hover .newsdate {
    transform: translateY(0); /* 回归原位 */
    opacity: 1;
}
.news p{
    font-size: .9rem;
    color: #aaa;
}
.morebtn a{
    display: inline-block;
    padding: .8rem 2.5rem;
    border: 1px solid #0580b7;
    border-radius: 2rem;
    transition: color 0.4s ease;
}
.morebtn a:hover {
  background: #0580b7;
  transition: all 0.4s ease;
  z-index: 0;
  color: #fff;
}
.footer{
    background-color: #222;
    color: #999;
}
.footer ul{
    padding-left: 15px;
}
.footer ul li{
    list-style-type: disc;
    padding: .3rem 0;
}
.footer a{
    color: #999;
}
.footlogo{
    display: flex;
    align-items: center;   /* 垂直居中 */
    justify-content: center; /* 水平居中（可选） */
}
.ftcon i{
    color: #0580b7;
    font-size: 1.5rem;
}
.footer a:hover{
    color: #0580b7;
}
.copyright{
    border-top: #333 solid 1px;
}

.sidebar-banner{
    background: url(images/bannerny.jpg) no-repeat;
}
.sidebar-banner a{
    color: #fff;
}
.procate li a{
    padding: .6rem;
    width: 100%;
    display: block;
}
.procate li a:hover ,.procate-active a{
    background-color: #eee;
    color: #0580b7;
}
.mobprolist .dropdown .btn,.mobprolist .dropdown .btn:hover{
    width: 100%;
    padding: 1.5rem;
    background-color: rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important;
    text-align: left;
    color: #666;
}

.mobprolist .dropdown-toggle::after{
    float: right;
    margin-top: 8px;
}
.mobprolist .dropdown-menu{
    width: 100%;
}


.pageprolst a {
    position: relative;
    display: block;
    padding-top: 5px; /* 给上方横线一点空间 */
    text-decoration: none;
}

/* 初始横线（透明，从中间开始宽度为 0） */
.pageprolst a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #0580b7;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

/* 悬停后横线向左右扩展 */
.pageprolst a:hover::before {
    width: 100%;
}

.proimg {
    aspect-ratio: 1 / 1; /* 正方形，可改成 4/3 或 3/2 等比例 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}


.pageprolst a h3{
    font-size: .9rem;
    font-weight: normal;
}

.page-contact .cominf a i{
    color: #0580b7;
}

/* 产品多图 */
      /* 主容器 */
        .prod-gallery {
            max-width: 1000px;
            margin: 0 auto;
            background-color: white;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        }
        
        /* 大图展示区域 */
        .prod-gallery-main {
            position: relative;
            width: 100%;
            /* height: 500px; */
            margin-bottom: 20px;
            overflow: hidden;
            border-radius: 8px;
            background-color: #f9f9f9;
            cursor: zoom-in;
        }
        
        .prod-gallery-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        
        .prod-gallery-zoom {
            position: absolute;
            width: 150px;
            height: 150px;
            border: 2px solid rgba(255,255,255,0.8);
            border-radius: 50%;
            background-color: rgba(255,255,255,0.1);
            pointer-events: none;
            display: none;
            box-shadow: 0 0 10px rgba(0,0,0,0.2);
        }
        
        /* 缩略图容器 */
        .prod-gallery-thumbs {
            position: relative;
            width: 100%;
            overflow: hidden;
            padding: 0 50px; /* 为左右按钮预留空间 */
        }
        
        .prod-gallery-thumbs-scroll {
            display: flex;
            width: auto; /* 确保内容决定宽度 */
            transition: transform 0.3s ease;
            padding: 10px 0;
        }
        
        .prod-gallery-thumb {
            flex: 0 0 auto; /* 防止缩略图被压缩 */
            width: 80px;
            height: 80px;
            margin: 0 8px;
            cursor: pointer;
            border-radius: 4px;
            overflow: hidden;
            opacity: 0.7;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        
        .prod-gallery-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        .prod-gallery-thumb:hover, .prod-gallery-thumb.active {
            opacity: 1;
            transform: scale(1.05);
            border-color: #2c3e50;
        }
        
        /* 滑动控制按钮 */
        .prod-gallery-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: rgba(255,255,255,0.9);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 18px;
            color: #333;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            transition: all 0.2s ease;
            z-index: 10;
            padding: 0;
            /* 确保按钮可点击 */
            -webkit-appearance: none;
            appearance: none;
        }
        
        .prod-gallery-btn:hover {
            background-color: white;
            transform: translateY(-50%) scale(1.1);
        }
        
        .prod-gallery-btn.prev {
            left: 10px;
        }
        
        .prod-gallery-btn.next {
            right: 10px;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .prod-gallery-main {
                height: 350px;
            }
            
            .prod-gallery-thumb {
                width: 100px;
                height: 80px;
            }
            
            .prod-gallery-zoom {
                width: 120px;
                height: 120px;
            }
        }
        
        @media (max-width: 480px) {
            .prod-gallery-main {
                height: 250px;
            }
            
            .prod-gallery-thumb {
                width: 80px;
                height: 60px;
                margin: 0 5px;
            }
            
            .prod-gallery-zoom {
                width: 100px;
                height: 100px;
            }
            
            .prod-gallery-btn {
                width: 30px;
                height: 30px;
                font-size: 14px;
            }
            
            .prod-gallery-thumbs {
                padding: 0 40px;
            }
        }