/* CSS Document */

/* ---------- header ---------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 100;
  transition: all 0.3s ease-in-out;
	border-top: 3px solid var(--yellow);
	
}
#header:after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.9);
  content: "";
}

.header-logo {
  position: absolute;
  top: 0;
  left: 0;
  height: 99px;
  
}
.header-logo a {
  display: block;
  padding: 50px 20px 0;
}
.header-logo a img {
  width: 260px;          /* 修改logo宽度 */
  transform: translateY(-50%);
}

/* navigation */
#header-nav-wrap {
  text-align: center;
}


.header-bar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
}
.header-search {
  float: left;
  padding: 30px;
	display: none ;
  height: 40px;
  border-left: 0px solid rgba(255,255,255,.2);
}
.header-search .search-btn {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url("../images/search-ico.png") no-repeat center;
}
.header-tel {
  float: left;
  position: relative;
  padding: 30px 40px 30px 70px;
  height: 40px;
  border-left: 0px solid rgba(255,255,255,.2);
 font-weight: 500;
  font-size: 32px;
	font-weight: 600;
  color:var(--blue);
  line-height: 40px;
}
.header-tel .tel-ico {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 100%;
  background: url("../images/tel-ico.png") no-repeat center #fff;
}

/* navigation */
#header-nav-wrap {
  text-align: center;
}
#header-nav-wrap .header-main-nav {
  height: 100px;
  font-size: 15px;
}
#header-nav-wrap .header-main-nav li {
  display: inline-block;
  padding: 0 16px;
  /* 确保 li 是 relative，虽然通常 a 标签做 relative 也可以，但为了保险起见 */
  position: relative; 
}

#header-nav-wrap .header-main-nav li a {
  display: inline-block; 
  font-size: 18px; 
  font-weight: 600;
  padding: 0 4px;
  color: var(--blue);
  line-height: 100px;
  
  /* --- 新增关键代码开始 --- */
  position: relative; /* 必须设置，作为伪元素的定位参考 */
  text-decoration: none; /* 确保没有默认下划线 */
  /* --- 新增关键代码结束 --- */
}

/* 定义线条 (伪元素) */
#header-nav-wrap .header-main-nav li a::after {
  content: '';
  position: absolute;
  left: 50%; /* 从中间开始 */
  bottom: 0; /* 位于底部 */
  width: 0; /* 初始宽度为 0 */
  height: 2px; /* 线条高度 2px */
  background-color: var(--yellow); /* 线条颜色 */
  transform: translateX(-50%); /* 关键：让元素以自身中心对齐 left: 50% */
  transition: width 0.3s ease-in-out; /* 动画过渡 */
}

/* 鼠标悬停时的效果 */
#header-nav-wrap .header-main-nav li a:hover {
  color: var(--yellow);
  /* 删除了原有的 border-bottom */
}
#header-nav-wrap .header-main-nav li a:hover::after {
  width: 100%; /* 展开到 100% */
}

/* 当前激活状态 (.current) */
#header-nav-wrap .header-main-nav li.current a {
  color: var(--yellow);
  /* 删除了原有的 border-bottom */
}
/* 让当前激活状态的线条直接显示为 100% 宽度，且无动画过程（或者是保持展开状态） */
#header-nav-wrap .header-main-nav li.current a::after {
  width: 100%;
}



/* ... 下面的代码保持不变 ... */

/* header scroll top */
#header.on {
  
	background: rgba(255,255,255,1);
  box-shadow: 0 0 12px rgba(0,0,0,.1);
}
#header.on:after {
  background: rgba(0,0,0,.05);
}
#header.on #header-nav-wrap .header-main-nav li a {
  color:var(--blue);
}
#header.on #header-nav-wrap .header-main-nav li a:hover {
  color: var(--yellow);
}
#header.on #header-nav-wrap .header-main-nav li.current a {
  color: var(--yellow);
}
#header.on .header-search {
  border-left: 0px solid rgba(0,0,0,.05);
}
#header.on .header-tel {
  border-left: 0px solid rgba(0,0,0,.05);
  color:var(--blue);
}
#header.on .header-tel .tel-ico {
  background: url("../images/tel-ico.png") no-repeat center #f6f6f6;
}

/* menu trigger */
.header-menu-toggle {
  display: none;
  position: fixed;
  top: 12px;
  right: 20px;
  width: 40px;
  height: 40px;
  
  font-size: 1.2rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 40px;
  transition: all 0.3s ease-in-out;
}

.header-menu-toggle:hover,
.header-menu-toggle:focus {
  color: #fff; 
}

.header-menu-toggle span {
  display: block;
  position: absolute;
  top: 50%;
  left: 8px;
  right: auto;
  bottom: auto;
  margin-top: -1px;
  width: 24px;
  height: 2px;
  background: var(--blue);
  font: 0/0 a;
  color: transparent;
  transition: all 0.5s ease-in-out;
}

.header-menu-toggle span::before,
.header-menu-toggle span::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  content: "";
  transition: all 0.5s ease-in-out;
}

.header-menu-toggle span::before {
  top: -9px;
}

.header-menu-toggle span::after {
  bottom: -9px;
}

.header-menu-toggle.is-clicked span {
  background: rgba(255,255,255,0);
  transition: all 0.1s ease-in-out;
}

.header-menu-toggle.is-clicked span::before,
.header-menu-toggle.is-clicked span::after {
  background:var(--blue);
}

.header-menu-toggle.is-clicked span::before {
  top: 0;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}

.header-menu-toggle.is-clicked span::after {
  bottom: 0;
  -webkit-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  transform: rotate(225deg);
}

/* responsive */
@media only screen and (max-width: 1440px) {
  #header-nav-wrap {
    padding: 0 80px 0 0;
	  text-align: right;
  }
  #header-nav-wrap .header-main-nav li {
    padding: 0 12px;
  }
	.header-tel {
  display: none;
}
}

@media only screen and (max-width: 1280px) {
  #header-nav-wrap {
    padding: 0 60px 0 0;
  }
	#header-nav-wrap {
  text-align: right;
}

  #header-nav-wrap .header-main-nav li {
    padding: 0 6px;
  }
	.header-tel {
  display: none;
}
}

@media only screen and (max-width: 1024px) {
  #header {
    height: 64px;
	  background: var(--white);
  }

  .header-logo {
    height: 64px;
  }
  .header-logo a {
    padding: 32px 20px 0;
  }
  .header-logo a img {
    width: 200px;
  }

  #header-nav-wrap {
    display: none;
    left: 0;
    right: 0;
    padding: 100px 40px 40px;
    background: var(--white);
    box-shadow: 0 0 24px rgba(0,0,0,0.1);
  }
  #header-nav-wrap .header-main-nav {
    height: auto;
  }
  #header-nav-wrap .header-main-nav li {
    display: block;
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  #header-nav-wrap .header-main-nav li a {
    display: block;
    padding: 16px 0;
    color:var(--blue);
    line-height: 20px;
  }
  #header-nav-wrap .header-main-nav li.current a {
    border-bottom: none;
  }
  
  #header.on #header-nav-wrap .header-main-nav li a {
    color:var(--blue);
  }

  .header-bar {
    position: static;
     color:var(--white);
  }
  .header-search {
    float: none;
    padding: 20px 0;
    height: auto;
    border-left: none;
  }
  .header-search .search-btn {
    display: inline-block;
    width: 100%;
    height: 48px;
    background: url("../images/search-ico.png") no-repeat center rgba(255, 255, 255, 0.03);
    background-size: 16px;
  }
  .header-tel {
    display: none;
  }

  .header-menu-toggle {
    display: block;
  }
}

/* make sure the menu is visible on larger screens */
@media only screen and (min-width: 1025px) {
  #header-nav-wrap {
    display: block !important;
  }
}

/* ---------- footer ---------- */
footer {
  background: #011c59;
  color: #b9c1cb;
}
footer a {
  color: #b9c1cb;
}
footer a:hover {
  color: #fff;
}

.footer-con {
  padding: 100px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  float: left;
  width: 20%;
}
.footer-logo img {
  filter: brightness(100);
	width:240px;
}
.footer-logo p {
	padding-top: 20px;
  color:var(--white);
	font-size: 20px; font-weight: 600;
}
.footer-logo .tel {
  padding-top: 0px; color:var(--white);
	font-size: 34px; font-weight: 600;
}
.footer-nav {
  float: left;
  padding: 0 40px;
  width: 27%;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.footer-nav .tit h3 {
  position: relative;
  height: 36px;
  font-size: 15px;
  color: #fff;
}
.footer-nav .tit h3:after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 2px;
  background: #b9c1cb;
  content: "";
}
.footer-nav .con {
  padding-top: 24px;
  font-size: 14px;
  line-height: 30px;
}
.footer-nav .con a {
  display: inline-block;
  margin-right: 32px;
}
.footer-contact {
  float: left;
  padding: 0 40px;
  width: 27%;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.footer-contact .tit h3 {
  position: relative;
  height: 36px;
  font-size: 15px;
  color: #fff;
}
.footer-contact .tit h3:after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 2px;
  background: #b9c1cb;
  content: "";
}
.footer-contact .con {
  padding-top: 24px;
  font-size: 14px;
  line-height: 30px;
}
.footer-qrcode {
  float: right;
}
.footer-qrcode img {
  width: 120px;
}

.footer-btm {
  padding: 30px 0 80px;
  font-size: 13px;
  line-height: 24px;
}
.footer-btm .copyright {
  float: left;
}
.footer-btm .beian {
  float: right;
}
.footer-btm .beian span {
  padding-left: 12px;
}

/* responsive */
@media only screen and (max-width: 1024px) {
  .footer-contact {
    width: 24%;
  }
}

@media only screen and (max-width: 912px) {
  .footer-con {
    padding: 60px 0 40px;
    text-align: center;
  }
  .footer-logo {
    float: none;
    width: auto;
  }
  .footer-logo .mail {
    padding-top: 20px;
  }
  .footer-nav {
    float: none;
    padding: 32px 0;
    width: auto;
    border-left: none;
  }
  .footer-nav .tit h3 {
    display: none;
  }
  .footer-nav .con {
    padding-top: 0;
    line-height: 40px;
  }
  .footer-nav .con a {
    margin-right: 0;
    width: 33.33%;
  }
  .footer-contact {
    display: none;
  }
  .footer-qrcode {
    float: none;
  }

  .footer-btm {
    padding: 24px 0 48px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
  }
  .footer-btm .copyright {
    float: none;
  }
  .footer-btm .beian {
    float: none;
    padding-top: 8px;
  }
  .footer-btm .beian span {
    display: block;
    padding-left: 0;
  }
}

/* ---------- go to top ---------- */
#go-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 600;
}

#go-top a,
#go-top a:visited {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 5px;
  background: url("../images/go-top.png") no-repeat center rgba(0,0,0,0.6);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#go-top a:hover,
#go-top a:focus {
  background: url("../images/go-top.png") no-repeat center rgba(0,0,0,1);
}

/* responsive */
@media only screen and (max-width: 768px) {
  #go-top {
    bottom: 0;
    right: 0;
  }

  #go-top a,
  #go-top a:visited {
    width: 48px;
    height: 48px;
    border-radius: 5px 0 0 0;
  }
}



/* ---------- page ---------- */
.page {
  clear: both;
  text-align: center;
	margin-top: 30px;
}
.page a {
	margin-top: 30px;
  display: inline-block;
  margin: 0 2px;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  font-family: Arial;
  font-size: 15px;
  color: #666;
  line-height: 40px;
  text-align: center;
}
.page a:hover {
  background: #eaeaea;
}
.page a.crt {
  background: #ed6c00;
  color: #fff;
}
.page a.disable {
  background: #eaeaea;
  color: #666;
}




/*分页*/
.page-num:not(:disabled) {
	cursor: pointer;
}
.page-num, .page-link {
	position: relative;
	display: block;
	padding: .1rem .1rem;
	margin-left: -1px;
	line-height: 1.25;
	color: #000000;
	background-color: #fff;
	border: 1px solid #dee2e6;
}
a.page-num:hover, .page-link:hover {
	text-decoration: none;
}
.page-num-current {
	z-index: 1;
	color: #000000;
	background-color: var(--yellow);
	border-color:var(--yellow);
}
.page-num-current:hover {
	color: #000;
}