
/* 全局初始化 */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Microsoft YaHei",sans-serif;
}
/* 页眉外层容器 */
.header{
    width:100%;
    height:120px;
    background:#fff;
    border-bottom:1px solid #eee;
    display:flex;
    align-items:center;
    justify-content:center;
}
/* 内容固定宽度容器（控制整体居中，不贴边） */
.header-box{
    width:1200px;
    max-width:94%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
/* 左侧logo+公司名区域 */
.header-left{
    display:flex;
    align-items:center;
    gap:15px;
}
/* logo样式 */
.logo{
    width:80px;
    height:80px;
    object-fit:contain;
}
/* 公司名称 */
.company-name{
    font-size:36px;
    font-weight:bold;
    font-family:"华文行楷";
    color:#333;
    white-space:nowrap; /* 强制文字不换行 */
}
/* 右侧咨询热线区域 */
.header-right{
    display:flex;
    align-items:center;
    gap:12px;
    white-space:nowrap; /* 整体不换行 */
}
/* 电话图标 */
.phone-icon{
    font-size:32px;
    color:#333;
}
/* 热线文字区域 */
.phone-wrap{
    line-height:1.2;
    text-align:center;
}
/* 热线标题 */
.phone-txt{
    font-size:20px;
    color:#666;
}
/* 手机号 */
.phone-num{
    font-size:32px;
    font-weight:bold;
    color:#0066ff;
}

/* ========== 移动端关键适配：手机端强制一行 ========== */
@media (max-width:768px){
    .header{
        height:auto;
        padding:12px 0;
    }
    .header-box{
        flex-direction:row !important; /* 强制横向一行，不换行 */
        flex-wrap:nowrap; /* 禁止换行 */
        gap:10px;
    }
    /* 缩小logo */
    .logo{
        width:40px;
        height:40px;
    }
    /* 缩小公司名 */
    .company-name{
        font-size:15px;
    }
    /* 缩小电话图标 */
    .phone-icon{
        font-size:15px;
    }
    /* 缩小热线标题 */
    .phone-txt{
        font-size:10px;
    }
    /* 缩小手机号 */
    .phone-num{
        font-size:13px;
    }
    /* 缩小左右间距 */
    .header-left{
        gap:6px;
    }
    .header-right{
        gap:5px;
    }
}



/**
*首行导航栏
*/	
.run {
			background-color:#2b3f78;
			width:100%;
		}
        nav {
            background-color: #2b3f78;
			width:100%;
			margin: 0 auto;
			position: relative; /* 必须加 */
    		z-index: 9999;      /* 必须加，让导航永远在最上层 */         
		}

        nav ul {
            list-style-type: none;
            display: flex;
            justify-content: space-around;
            flex-wrap: nowrap; /*强制不换行*/
			font-size:24px;
			padding: 0;
			margin: 0;
        }

        nav ul li {
            flex: 1; /* 让所有 li 等分剩余空间，自动缩小 */
            min-width: 0; /* 允许内容被压缩 */
            text-align: center;
        }

        nav ul li a {
            display: block;
            color: white;
            text-align: center;
            padding: 14px 8px;
            text-decoration: none;
            white-space: nowrap; /* 文字不换行 */
            overflow: hidden; /* 防止文字溢出 */
        }

        nav ul li a:hover {
            background-color: #ddd;
            color: black;
        }
		
		/* 新增：下拉菜单容器样式 */
        .dropdown {
            position: relative;
        }
        .dropdown-content {
            display: none; /* 默认隐藏 */
            position: absolute;
            top: 100%; /* 紧贴导航栏下方 */
            left: 0;
            width: 100%; /* 宽度和导航栏li一致 */
            background-color: #2b3f78;
            z-index: 999999; /* 确保在最上层 */
        }
        .dropdown-content a {
            font-size: 1.2vw; /* 下拉菜单文字比导航栏小 */
            padding: 10px 4px; /* 内边距适配 */
			overflow: hidden;   
			text-overflow: ellipsis; /* 极端情况才显示省略号，一般不会触发 */
            white-space: nowrap;
            text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.1); /* 可选：分隔线 */
        }
        /* 鼠标悬浮显示下拉菜单 */
        .dropdown:hover .dropdown-content {
            display: block;
        }
        /* 下拉菜单hover效果 */
        .dropdown-content a:hover {
            background-color: #ddd;
            color: black;
        }

        /* 滑动效果的样式 */
       .slider {
            position: relative;
            height: 4px;
            background-color: white;
            transition: left 0.2s ease;
        }
        @media (max-width: 768px) {
          nav ul {
            font-size: 14px; /* 移动端缩小字体 */
          }
          nav ul li a {
            padding: 12px 4px; /* 进一步减小内边距 */
          }
		  /* 下拉菜单移动端文字大小 */
          .dropdown-content a {
            font-size: 1.0vw; /* 比导航栏文字小 */
            padding: 8px 3px;
          }
        }
        
        @media (max-width: 480px) {
          nav ul {
            font-size: 12px; /* 更小屏幕再缩小 */
          }
		  /* 下拉菜单超小屏文字大小 */
          .dropdown-content a {
            font-size: 0.9vw;
            padding: 6px 2px;
          }
        }

.pro {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center; /* 让图片在容器中水平+垂直居中 */
      background-color: #f5f5f5; /* 图片未占满的区域显示浅灰色背景（可选） */
	  overflow: hidden;   /* 强制隐藏所有溢出内容 */
	  /* 新增两行 */
  position: relative;
  z-index: 1; /* 比导航低 */
    }
    

    /* 核心：图片完整展示，自适应缩放 */
    .pro img {
      max-width: 100vw; /* 图片宽度不超过视口宽度 */
      max-height: 100vh; /* 图片高度不超过视口高度 */
      width: auto; /* 宽度随高度自适应 */
      height: auto; /* 高度随宽度自适应 */
      object-fit: contain; /* 强制完整展示，不裁剪（关键属性） */
      /* 新增两行 */
  position: relative;
  z-index: 1; /* 比导航低 */
    }      
        
/**
*当前位置
*/
.breadcrumb {
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
 .breadcrumb .container {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 15px;
            color: #666;
        }
        .breadcrumb a {
            color: var(--blue1);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .breadcrumb span {
            color: #333;
            font-weight: 500;
        }
        
        
/**
*关于我们
*/
.company-profile {
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
   /* 核心：清除浮动，强制在place下方，不挤到同一行 */
  clear: both;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 20px;
}
.profile-header {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            padding-bottom: 20px;
             
        }
        
        .profile-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #2196F3, #4CAF50);
            border-radius: 3px;
        }
        
        .en-title {
            font-size: 36px;
            color: #2196F3;
            font-weight: 700;
            letter-spacing: 2px;
            margin-bottom: 10px;
        }
        
        .cn-title {
            font-size: 28px;
            color: #2c3e50;
            font-weight: 600;
        }
        
        /* 内容区域 */
        .profile-content {
            background: #fff;
            border-radius: 12px;
            padding: 40px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            width: 80%;
		    margin: 0 auto;
        }
        
        .profile-content:hover {
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }
        
        /* 段落样式 */
        .profile-content p {
            font-size: 18px;
            color: #555;
            margin-bottom: 25px;
            text-align: justify;
            text-indent: 2em;
        }
        
        /* 强调文本样式 */
        .highlight {
            color: #2196F3;
            font-weight: 600;
        }
        
         
        /* 列表样式 */
        .feature-list {
            list-style: none;
            margin: 20px 0;
            padding-left: 20px;
        }
        
        .feature-list li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 12px;
            color: #555;
        }
        
        .feature-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #4CAF50;
            font-weight: bold;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .en-title {
                font-size: 28px;
            }
            
            .cn-title {
                font-size: 22px;
            }
            
            .profile-content {
                padding: 25px 20px;
            }
            
            .profile-content p {
                font-size: 20px;
            }
        }
        
.info-nav {
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 20px 0;
            border-bottom: 1px solid #eee;
            flex-wrap: wrap; /* 小屏幕自动换行 */
         }
        .info-item {
            display: flex;
            align-items: center;
            margin: 10px 20px;
            cursor: pointer; /* 鼠标悬浮显示指针，提升交互感 */
            transition: all 0.3s ease; /* 变色过渡动画，更丝滑 */
        }
        .info-icon {
            font-size: 42px;
            margin-right: 12px;
            color: #333; /* 默认图标颜色 */
            transition: color 0.3s ease; /* 图标变色过渡 */
        }
        .info-text {
            text-align: left;
        }
        .info-text h3 {
            font-size: 24px;
            color: #333; /* 默认中文标题颜色 */
            margin: 0 0 4px 0;
            transition: color 0.3s ease; /* 标题变色过渡 */
        }
        .info-text p {
            font-size: 24px;
            color: #333; /* 默认图标颜色 */
            margin: 0;
            transition: color 0.3s ease; /* 说明文字变色过渡 */
        }

a {
  text-decoration: none; /* 核心：取消下划线 */
}
        /* 核心：鼠标悬浮时变色 */
        .info-item:hover .info-icon,
        .info-item:hover .info-text h3,
        .info-item:hover .info-text p {
            color: #0099FF; /* 悬浮后统一颜色（可自定义） */
        }

        /* 响应式适配 */
        @media (max-width: 768px) {
            .info-nav {
                justify-content: flex-start;
            }
            .info-item {
                width: 50%;
            }
        }
        @media (max-width: 480px) {
            .info-item {
                width: 100%;
            }
        }




/* 四个标签按钮栏【带动画+图标新版】 */
       .tab-box{
            display:flex;
            width:100%;
            max-width:1000px;
            margin:50px auto;
            gap:10px;
            flex-wrap:wrap;
            padding:0 15px;
        }
        /* 改为a标签 保留所有样式 */
        .tab-item{
            flex:1;
            min-width:220px;
            text-align:center;
            padding:22px 15px;
            border:1px solid #b8d8ff;
            color:#0070dd;
            border-radius:8px;
            cursor:pointer;
            transition: all 0.3s ease;
            background:#ffffff;
            display:flex;
            flex-direction:column;
            align-items:center;
            justify-content:center;
            gap:10px;
            text-decoration: none; /* 去掉链接下划线 */
        }
        .tab-item:hover{
            transform: translateY(-3px);
            border-color:#0066ff;
            background:#f0f7ff;
            color:#0047aa;
            box-shadow:0 4px 12px rgba(160,200,255,0.3);
            text-decoration: none;
        }
        .tab-item i{
            font-size:28px;
            transition: color 0.3s ease;
        }
        .tab-item:hover i{
            color:#0066ff;
        }
        .tab-item b{
            font-size:18px;
            display:block;
            margin-bottom:4px;
        }
        .tab-item small{
            font-size:13px;
            opacity:0.8;
            text-transform:uppercase;
        }

        /* 移动端一行2个 */
        @media (max-width: 768px) {
            .tab-item{
                flex: 0 0 calc(50% - 5px);
                min-width: unset;
            }
            .tab-item b{font-size:16px;}
            .tab-item i{font-size:24px;}
        }
        @media (max-width: 400px) {
            .tab-item{padding:18px 10px;}
            .tab-item b{font-size:15px;}
            .tab-item small{font-size:11px;}
        }
        



/**
*厂区环境
*/

        .dody {
			width:100%;
 	background-color:#F8F8F8;
	float:left;
	margin-bottom:50px;
	margin-top:30px;
	position:relative;
            background-color: #F8F8F8;
             font-family: "Microsoft Yahei", sans-serif;
            color: #333;
        }
        .factory-section {
            max-width: 90%;
            margin: 0 auto;
            padding: 50px 20px;
        }
        .section-title {
            text-align: center;
            font-size: 36px;
            color: #000;
            margin-bottom: 40px;
        }
        .factory-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
        }
        .factory-card {
            width: calc(25% - 30px); /* 一行4张，自适应间距 */
            background-color: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .factory-card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }
        .card-content {
            padding: 15px;
        }
        .card-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .card-desc {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
        }
        .pagination {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
        }
        .page-btn {
            width: 80px;
            height: 40px;
            background-color: #ccc;
            border: none;
            border-radius: 4px;
            color: #333;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .page-btn:hover {
            background-color: #999;
            color: #fff;
        }
        .page-btn.prev {
            background-color: #6699cc;
            color: #fff;
        }
        .page-btn.prev:hover {
            background-color: #336699;
        }

        /* 响应式适配 */
        @media (max-width: 992px) {
            .factory-card {
                width: calc(50% - 30px);
            }
        }
        @media (max-width: 576px) {
            .factory-card {
                width: 100%;
            }
            .section-title {
                font-size: 28px;
            }
        }




/* 产品推荐*/
.product-recommend {
  padding: 60px 0;
  background-color: #f7f9fc;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}
.product-recommend .container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.sec-title {
  text-align: center;
  margin-bottom: 45px;
}
.sec-title h2 {
  font-size: 32px;
  color: #165dff;
  font-weight: 600;
  margin: 0 0 10px;
  position: relative;
}
.sec-title h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #165dff;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}
.sec-title p {
  font-size: 16px;
  color: #666;
  margin: 0;
}
/* 产品布局 - 放大间距 */
.product-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
/* 核心修改：产品卡片整体放大 */
.product-item {
  width: calc(25% - 15px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(22,93,255,0.15);
}
/* 核心修改：图片强制4:3比例（全端通用） */
.product-pic {
  width: 100%;
  /* 4:3标准比例，自动适配所有屏幕 */
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-item:hover .product-pic img {
  transform: scale(1.07);
}
/* 产品文字区域放大 */
.product-text {
  padding: 22px;
}
.product-text h3 {
  font-size: 18px;
  color: #333;
  margin: 0 0 10px;
  font-weight: 600;
}
.product-text p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin: 0 0 18px;
}
.product-link {
  display: inline-block;
  padding: 8px 20px;
  background: #165dff;
  color: #fff;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.product-link:hover {
  background: #0e4bdb;
}
/* 响应式适配 - 严格保持4:3图片 */
@media (max-width: 1200px) {
  .product-recommend .container { width: 96%; }
  .product-item { width: calc(50% - 10px); }
}
@media (max-width: 768px) {
  .product-wrap { flex-direction: column; align-items: center; }
  .product-item { width: 92%; }
}


/* 底栏整体 */
        footer{
            background-color:#33383f;
            color:#ffffff;
            padding:60px 80px 30px;
        }

        /* 上半部分：三栏信息区 */
        .foot-main{
            display:flex;
            justify-content:space-between;
            flex-wrap:wrap;
            gap:20px;
            margin-bottom:40px;
        }
        .foot-left,.foot-center,.foot-right{
            width:32%;
        }
        .foot-left h3,.foot-center h3,.foot-right h3{
            font-size:24px;
            margin-bottom:25px;
        }
        .foot-left p{
            font-size:16px;
            line-height:2.2;
            margin-bottom:8px;
        }
        .wechat-qrcode{
            margin-top:20px;
        }
        .wechat-qrcode img{
            width:100px;
            height:100px;
        }
        .wechat-qrcode span{
            display:block;
            font-size:14px;
            margin-top:8px;
        }
        .foot-center a{
            display:block;
            color:#fff;
            text-decoration:none;
            font-size:16px;
            line-height:2.2;
            margin-bottom:8px;
        }
        .foot-center a:hover{
            color:#a0cfff;
        }
        .foot-right a{
            display:block;
            color:#fff;
            text-decoration:none;
            font-size:16px;
            line-height:1.5;
            margin-bottom:8px;
        }
        .foot-right a:hover{
            color:#a0cfff;
        }

        /* ========== 版权区（你要的效果在这里） ========== */
        .foot-copyright{
            text-align:center;
            border-top:1px solid rgba(255,255,255,0.15);
            padding-top:25px;
            font-size:15px;
            line-height:2.2;
        }
        /* 所有链接默认：白色，无下划线 */
        .foot-copyright a{
            color:#ffffff !important;
            text-decoration:none !important;
            margin:0 6px;
            transition:all 0.3s;
        }
        /* 鼠标悬浮：浅蓝色 */
        .foot-copyright a:hover{
            color:#a0cfff !important;
        }
        .police-icon{
            width:18px;
            height:18px;
            vertical-align:middle;
            margin:0 4px;
        }

        /* ========== 移动端适配 ========== */
        @media (max-width:768px){
            footer{padding:30px 20px 20px;}
            .foot-main{flex-direction:column;}
            .foot-left,.foot-center,.foot-right{width:100%;margin-bottom:25px;}
            .foot-left h3,.foot-center h3,.foot-right h3{font-size:20px;margin-bottom:15px;}
            .wechat-qrcode img{width:80px;height:80px;}
            .foot-copyright{font-size:14px;line-height:2;}
        }