/* ---------- 重置 ---------- */
*{box-sizing:border-box;margin:0;padding:0;font-family:"Microsoft YaHei",sans-serif}
a{color:inherit;text-decoration:none}

/* ---------- body 顶部留白，避免 fixed 遮挡内容 ---------- */
:root{
  --nav-h:0px;
  --brand:#003c8f;
  --brand-hover:#0054c6;
  --submenu-bg:#f5f7fa;
}
body{
  padding-top: var(--nav-h);
  background:#fff;
  color:#222;
}
ul li {
    list-style: none;
}

/* ---------- 内容示例样式（仅用于展示页面，不影响导航） ---------- */
.page-body{max-width:1200px;margin:26px auto;padding:20px;}
.section{padding:40px 0;border-bottom:1px solid #f0f0f0}
.section h2{margin-bottom:12px}
/* ====== Banner 区域 ====== */
.banner {
    position: relative;
    width: 100%;
    height: 850px;
    overflow: hidden;
    color: #fff;
}

/* ====== 背景图层（淡入淡出） ====== */
.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
}
.banner-slide.active {
    opacity: 1;
}

/* ====== 左侧渐变遮罩（EPRO 的关键） ====== */
.banner-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0));
    z-index: 5;
}

/* ====== 文本内容（独立动画层） ====== */
.banner-content_old {
    position: absolute;
    z-index: 10;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    overflow: hidden;
}
.banner-content {
     position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    
        z-index: 10;
    
        display: flex;
        align-items: center;
        justify-content: center;
    
        width: 100%;
        height: 100%;
    
        font-size: 48px;
        font-weight: bold;
}
.banner-title {
    font-size: 44px;
    font-weight: bold;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}
.banner-sub {
    font-size: 18px;
    line-height: 1.7em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

/* 激活时的动画效果 */
.banner-slide.active .banner-title {
    opacity: 1;
    transform: translateX(0);
}
.banner-slide.active .banner-sub {
    opacity: 1;
    transform: translateY(0);
}

/* ====== 按钮 ====== */
.banner-btn {
    margin-top: 25px;
    padding: 12px 26px;
    background: #0054c6;
    display: inline-block;
    color: #fff;
    border-radius: 4px;
    font-size: 15px;
}
.banner-btn:hover {
    background: #1b6eee;
}

/* ====== 圆点 ====== */
.banner-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 30;
}
.banner-dots span {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.55);
    border-radius: 50%;
    cursor: pointer;
}
.banner-dots span.active {
    background: #fff;
}

/* ====== 左右按钮 ====== */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 14px 18px;
    font-size: 26px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    z-index: 40;
    user-select: none;
}
.banner-arrow.left { left: 20px; }
.banner-arrow.right { right: 20px; }
.banner-arrow:hover { background: rgba(0,0,0,0.55); }

/* ====== 手机适配 ====== */
@media (max-width: 768px) {
    .banner { height: 340px; }
    .banner-content { width: 80%; left: 6%; }
    .banner-title { font-size: 28px; }
    .banner-sub { font-size: 15px; }
}



/* Footer 样式 */
.footer {
  background: #0f1b40;
  color: #d6d9e5;
  padding: 70px 20px 40px;
  font-family: "Microsoft YaHei", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}

/* Logo */
.footer-logo {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* 描述文字 */
.footer-desc {
  color: #b8bdd0;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* 菜单标题 */
.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

/* 菜单列表 */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #bfc5da;
  text-decoration: none;
  transition: .25s;
}

.footer-col ul li a:hover {
  color: #fff;
}

/* 社交图标：你可换成真实图标 */
.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
}

/* 底部备案 */
.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: #aab1c9;
  font-size: 14px;
}

.footer-bottom p {
  margin: 6px 0;
}

/* 手机端优化 */
@media (max-width: 600px) {
  .footer {
    padding: 50px 20px 30px;
  }
  .footer-logo {
    font-size: 28px;
  }
}

.btn-more-wrap {
    margin-top: 12px;
}

.btn-more {
    display: inline-block;
    padding: 6px 18px;
    font-size: 14px;
    border: 1px solid #0052d9;
    color: #0052d9;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-more:hover {
    background: #0052d9;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 82, 217, 0.15);
}
.news-more-center {
    text-align: center;
    margin-top: 20px;
	padding-bottom:20px ;
}



/* ======================= 手机端全面适配修复 ======================= */

/* 全局 container 自适应 */
.container {
    max-width: 1200px;
    width: 100%;
    padding: 0 16px;
}

/* 导航修复 */
@media(max-width: 768px){
    .navbar { padding: 0 14px; height: 58px; }
    .nav-menu { width: 100%; }
    .nav-menu > li > a { font-size: 15px; padding: 14px 20px; }
    .dropdown a { padding-left: 32px; }
}

/* Banner 手机优化 */
@media(max-width: 768px){
    .banner { height: 300px; }
    .banner-content { width: 88%; left: 5%; }
    .banner-title { font-size: 24px; line-height: 1.3; }
    .banner-sub { font-size: 14px; line-height: 1.5; }
    .banner-btn { padding: 10px 20px; font-size: 14px; }
}

/* 能力中心 */
@media(max-width: 768px){
    .ability-item { padding: 20px; flex-direction: row; gap: 14px; }
    .ability-img img { width: 60px; height: 60px; }
    .ability-text h3 { font-size: 18px; }
    .ability-text p { font-size: 14px; }
}

/* 解决方案 */
@media(max-width: 768px){
    .solution-item { padding: 14px 0; font-size: 14px; }
    .solution-detail img { border-radius: 10px; }
    .solution-detail { gap: 16px; }
}

/* 新闻中心 */
@media(max-width: 768px){
    .news-layout { gap: 20px; }
    .news-main-img { height: auto; border-radius: 10px; }
    .news-item { padding: 12px 0; }
    .news-item h4 { font-size: 15px; }
}

/* Footer */
@media(max-width: 768px){
    .footer-container { padding: 0 10px; gap: 28px; }
    .footer-logo { font-size: 26px; }
    .footer-col h4 { margin-bottom: 12px; }
}
/* ============================
   修复手机端下拉菜单无法展开
   ============================ */

@media (max-width: 768px) {

  /* dropdown 必须是 block，才能被 height 动画撑开 */
  .nav-menu .dropdown {
      display: block !important;
      overflow: hidden !important;
      height: 0 !important;
      background: #f5f7fa !important;
  }

  /* 当 JS 设置了实际高度后，能正常显示 */
  .nav-menu .dropdown a {
      display: block !important;
      padding: 12px 26px !important;
      color: #333 !important;
      border-top: 1px solid #e1e4e8 !important;
  }

  /* 一级菜单必须能点开，不被 mid_h.css 覆盖 */
  .nav-menu > li > a {
      color: #fff !important;
      padding: 14px 18px !important;
  }

  /* 菜单整体要竖排显示 */
  .nav-menu {
      display: none;
      flex-direction: column !important;
      align-items: flex-start !important;
      position: fixed !important;
      top: var(--nav-h) !important;
      left: 0;
      right: 0;
      background: var(--brand) !important;
      width: 100%;
      z-index: 999;
  }

  .nav-menu.open {
      display: flex !important;
  }
}
/*边距*/
	.pt5{
		padding-top:5px ;
	   }
	.p5 {
		padding: 5px;
	}
	.p10 {
		padding: 10px;
	}
	.p20 {
		padding: 20px;
	}
	.pt8{
		padding-top:8px ;
	   }
	.pt10{
		padding-top:10px ;
	   }
	.pt12{
		padding-top:12px ;
	   }
	.pt15{
		padding-top:15px ;
	   }
	.pt20{
		padding-top:20px ;
	   }
	.pt30{
		padding-top:40px ;
	   }
	.pt50{
		padding-top:50px ;
	   }
	.pt100{
		padding-top:100px ;
	   }
	.pt150{
		padding-top:150px ;
	   }
	.pt170{
		padding-top:170px ;
	   }
	.pt190{
		padding-top:190px ;
	   }
	.pt200{
		padding-top:200px ;
	   }
	.pt220{
		padding-top:220px ;
	   }
	.pl5{
	   	padding-left:5px ;
	      }
	.pl10{
	   	padding-left:10px ;
	      }
	.pl15{
	   	padding-left:15px ;
	      }
	.pl20{
		padding-left:20px ;
	   }
	.pl25{
		padding-left:25px ;
	   }
	.pl30{
		padding-left:30px ;
	   }
	.pl100{
		padding-left:100px ;
	   }
	.pr5{
	   	padding-right:5px ;
	    }
	.pr10{
	   	padding-right:10px ;
	    }
	.pr20{
	   	padding-right:20px ;
	    }
	.pr30{
	   	padding-right:30px ;
	    }
	.pl40{
	   	padding-left:40px ;
	    }
	.pr50{
	   	padding-right:50px ;
	    }
	.pb5{
	   	padding-bottom:5px ;
	    }
	.pb10{
	   	padding-bottom:10px ;
	    }
	.pb20{
	   	padding-bottom:20px ;
	    }
	.pb30{
	   	padding-bottom:30px ;
	    }
	.pb50{
	   	padding-bottom:50px ;
	    }
	.pb60{
	   	padding-bottom:60px ;
	    }
	.pb70{
	   	padding-bottom:70px ;
	    }
/*文字位置*/
.tal {
	 text-align: left;
	}
.tac {
		text-align: center;
	}
.tar {
		text-align: right;
	}
#backTop {
    position: fixed;
    right: 20px;          /* 贴右边 */
    top: 50%;             /* 垂直居中 */
    transform: translateY(-50%); /* 精准居中 */

    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    font-size: 20px;
    z-index: 999;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

#backTop.show {
    opacity: 1;
    pointer-events: auto;
}

#backTop:hover {
    background: rgba(0,0,0,0.8);
}


