/*网站通用样式*/
body {
  font-family: "Microsoft Yahei";
}

/*header头部样式*/
header .header-container {
  width: 100%;
  height: 90px;
  background-color: transparent;
  position: fixed;
  z-index: 999;
  top: 0px;
  transition: all 0.3s ease;/* 添加过渡效果 */
  box-shadow: none;/* 初始无阴影 */
}

/* 滚动时的新增样式 */
header .header-container.scrolled {
  background-color: rgb(214, 212, 212); /* 灰白色背景 */
  -webkit-box-shadow: 0 0 20px rgba(243, 238, 238, 0.3); 
  -moz-box-shadow: 0 0 20px rgba(241, 234, 234, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 更柔和的阴影 */
}

/* 导航菜单项颜色调整 */
header .navbar-nav li a {
  color: #fff; /* 初始白色文字 */
  transition: color 0.3s ease;
}

header .header-container.scrolled .navbar-nav li a {
  color: #434343;/* 滚动后深灰色文字 */
}

header .header-container.scrolled #logo_top img {
  filter: none; /* 滚动后原始Logo颜色 */
}


header .header-container .nav-box {
  display: flex;
  align-items: center;/* 垂直居中 */
  height: 90px;/* 保持固定高度 */
}

header .header-container .nav-box .nav-left,
.nav-mid {
  height: 100%;/* 继承父容器高度 */
  display: flex;
  align-items: center;/* 内部元素垂直居中 */
}

header .header-container .nav-box .nav-mid {
  text-align: center;
  margin-left: 40px;
}

header .header-container .nav-box .nav-left {
  margin-left: 5%;
  margin-top: 23px;
}

header .header-container .nav-box .nav-left #logo_top {
  width: 200px;
  height: 80px;
  float: left;
  margin-top: 10px;
}

header .header-container .nav-box .nav-left #logo_top img {
  max-height: 70px;
  width: auto;/* 保持原始宽高比 */
  transition: max-height 0.3s;/* 平滑过渡 */
}
header .header-container .nav-box .nav-left #logo_top:hover {
  transform: rotate(5deg) scale(1.05);
}
header .header-container .nav-box .nav-mid #lang {
  width: 25px;
  height: 29px;
  float: right;
  margin-left: 44px;
  margin-top: 34px;
  cursor: pointer;
}

header .header-container .nav-box .nav-mid #lang a {
  float: right;
  width: 45px;
  height: 29px;
  background: url("../img/cn.png") no-repeat center;
}

header .header-container .nav-box .nav-mid .navbar-nav {
  position: relative;
  display: inline-block;
 }

header .header-container .nav-box .nav-mid .navbar-nav li {
  float: left;
  height: 70px;
  margin: 0 40px 0 0;
  text-align: center;
  list-style: none;
}

header .header-container .nav-box .nav-mid .navbar-nav li a {
  min-width: 20px;
  font-size: 20px;
  font-family: "Microsoft YaHei UI";
  color: #898989;
  height: 70px;
  line-height: 59px;
  padding-bottom: 15px;
  margin: 0;
  display: inline-block;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
}

header .header-container .nav-box .nav-mid .navbar-nav li a::after {
  transition: all 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  content: "";
  display: block;
  height: 2px;
  background: #c7161e;
  position: absolute;
  bottom: 0;
  opacity: 0.3;
  left: -1px;
  width: calc(102%);
  transform: scaleX(0);
  -webkit-transform: scaleX(0);
}

header .header-container .nav-box .nav-mid .navbar-nav li a:hover::after {
  opacity: 1;
  transform: scaleX(1);
  -webkit-transform: scaleX(1);
}

header .header-container .nav-box .nav-mid .navbar-nav li a.active {
  border-bottom: 2px solid #c7161e;
  box-sizing: border-box;
  color: #434343;
}

header .header-container .nav-box .nav-mid .navbar-nav li a.active:hover::after {
  display: none;
}

header .header-container .nav-box .nav-mid .navbar-nav li.last {
  margin-right: 0;
}

header .header-container .nav-box .nav-mid .navbar-nav li.line-item {
  line-height: 87px;
  color: #999;
}

@media (max-width: 830px) {

  /* 小屏幕下微调 */
  .nav-left {
    width: 120px;
    /* 缩小Logo容器 */
  }

  .nav-mid .navbar-nav li {
    margin: 0 20px;
    /* 减少菜单间距 */
  }

  /* 保持导航项垂直居中 */
  .navbar-nav li a {
    line-height: 90px !important;
  }
}
/* Footer 样式 */
footer {
  background: #f8f9fa;
  padding: 3rem 0 1rem;
  /* border-top: 1px solid #eee;*/
} 

.footer-container {
  max-width: 1800px;
  margin: 0 auto; 
  padding: 0 20px;
  display: flex;
  gap: 2rem;
}

.footer-section {
  padding: 2rem;
  float: left;
  margin-right: 5%;
}

.footer-section h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e74c3c;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin: 0.8rem 0;
  color: #7f8c8d;
}

.footer-section a {
  color: #7f8c8d;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size:10px !important;
}

/* 合作伙伴标志 */
.partner-grid {
  /* display: grid; */
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.partner-logo img {
  width: 100%;
  max-width: 120px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0);
}

/* 社交媒体 */
.social-links {
  /* display: flex; */
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  color: #95a5a6;
}

.social-links a:hover {
  color: #e74c3c;
}

.qrcode {
  text-align: center;
  margin:auto 0 ;
  flex: 1;
}

.qrcode img {
  width: 50%;
  margin-bottom: 0.5rem;
}

.qrcode p {
  font-size: 0.9rem;
  color: #95a5a6;
}
.qrcode-right {
  flex: 4;
}
/* 版权信息 */
.copyright {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid #eee;
}

.copyright p {
  color: #95a5a6;
  font-size: 0.9rem;
}

.links {
  margin-top: 0.5rem;
}

.links a {
  color: #95a5a6;
  font-size: 0.85rem;
  margin: 0 0.5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .social {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qrcode img {
    width: 80px;
  }
}
/*footer样式*/
/* footer {
  width: 100%;
  background-color: #fff;
  padding-top: 40px;
  -webkit-box-shadow: 0 0 10px rgba(204, 204, 204, .5);
  -moz-box-shadow: 0 0 10px rgba(204, 204, 204, .5);
  box-shadow: 0 0 10px rgba(204, 204, 204, .5);
  position: relative;
  z-index: 0;
}

footer .footer-box {
  width: 90%;
  margin: 0 auto;
}

footer .footer-left {
  width:30%;
  float: left;
  display: inline-block;
  margin: 100px 0;
}

footer .footer-right {
  width:60%;
  float: left;
  display: inline-block;
}

footer .footer-right .right-1{
  float: left;
  font-size: 12px;
  margin-top: 20px;
}
footer .footer-right .right-2 {
  float: left;
  margin-left: 20px;
}
footer .footer-right .right-3 {
  float: left;
  margin-top: 20px;
}
footer .footer-right .right-4 {
  float: left;
  margin-left:35px;
  font-size: 12px;
  margin-top: 50px;
    margin-top: 20px;
}
footer .footer-right .right-4 p a{
 color: #797777dd;
text-decoration: none;
}
footer .globle {
  display: inline-block;
  margin: 0 auto;
  width: 240px;
  height: 150px;
  background-image: url("../img/globle.png");
  background-repeat: no-repeat;
  background-size: contain;
} */

/* footer ul {
  float: left;
  list-style: none;
  text-align: left;
}

footer ul li a {
  color: #898989;
  font-size: 5px;
  line-height: 40px;
}

footer ul li a:hover {
  color: #c7161e;
  text-decoration: none;
}

footer ul .footer-contact {
  font-size: 5px;
  line-height: 30px;
  color: #898989;
}

footer ul:last-child {
  padding-top: 4px;
} */

/*版权信息样式*/
.copy {
  background-color: #fff;
  width: 100%;
  -webkit-box-shadow: 0 0 10px rgba(204, 204, 204, .5);
  /*透明度绿色高亮*/
  -moz-box-shadow: 0 0 10px rgba(204, 204, 204, .5);
  box-shadow: 0 0 10px rgba(204, 204, 204, .5);
}

.copyright {
  padding-top: 10px;
  font-size: 12px;
}

/*返回顶部按钮*/
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-image: url("../img/back2top.png");
  width: 60px;
  height: 112px;
  background-size: cover;
  color: #fff;
  border: none;
  border-radius: 2px;
}

.back-to-top:hover {
  background-color: #000;
}

/*移动端菜单入口*/
header .header-container .nav-box .nav-mobile-menu {
  position: fixed; /* 改为固定定位 */
  top: 50px;/* 与logo保持相同顶部间距 */
  right: 25px;/* 右侧留白与logo对称 */
  z-index: 1001; /* 确保在最高层级 */
  transform: translateY(-50%);/* 垂直居中补偿 */
}

header .header-container .nav-box .nav-mobile-menu span {
  display: inline-block;
  width: 32px; /* 符合移动端点击规范 */
  height: 32px;
  background: url("../img/menu2.png") no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); /* 添加投影增强可视性 */
  cursor: pointer;
}

/* .header-container {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.8) 0.002% , transparent);
} */

/*移动端菜单sidebar*/
.sidebar {
  position: fixed;
  top: 0px;
  width: 200px;
  background-color: #c7161e;
  padding: 20px 0px;
  transition: right 0.2s;
  z-index: 1001;
  right: -200px;
}

.sidebar ul {
  margin: 0;
  padding: 0;
}

.sidebar ul li {
  line-height: 40px;
  list-style: none;
  padding: 0px 20px;
  text-align: center;
}

.sidebar ul li a {
  text-decoration: none;
  color: #fff;
}

.sidebar ul li:hover {
  background-color: #930000;
}

.sidebar ul li .active {
  color: #ff9900;
}

/*关灯遮罩*/
.mask {
  position: fixed;
  top: 0px;
  bottom: 0px;
  right: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
}

/*响应式媒体查询处理*/
@media screen and (max-width: 1200px) {
  #feature-last {
    display: none;
  }

  .feature {
    /* width: 740px !important; */
  }

  #feature-response {
    display: block !important;
  }
}

/* @media screen and (max-width: 970px) {
  header .header-container .nav-box #lang {
    display: none;
  }
} */

@media screen and (max-width: 900px) {
  header .header-container .nav-box {
    width: 90%;
  }

  header .header-container .nav-box .nav-mid {
    display: none;
  }

  header .header-container .nav-box .nav-mobile-menu {
    display: block;
  }
}

/*移动端兼容*/
@media screen and (max-width: 740px) {
  .feature {
    width: 360px !important;
  }

  .feature .feature-content {
    margin-left: 0px;
  }

  .box-left {
    display: none !important;
  }

  .box-right {
    width: 100% !important;
  }

  .box-right-mid {
    padding: 20px !important;
  }

  .box {
    width: 90% !important;
  }
}

/*移动端banner兼容*/
@media screen and (max-width: 500px) {
  .banner img {
    height: 200px !important;
  }

  .main-wrapper-1 {
    background-image: url(../img/banner-1-m.png) ! important;
  }

  .main-wrapper-2 {
    background-image: url(../img/banner-2-m.png) ! important;
  }

  .main-wrapper-3 {
    background-image: url(../img/banner-3-m.png) ! important;
  }

  .main-wrapper-4 {
    background-image: url(../img/banner-4-m.png) ! important;
  }

  .main-wrapper-5 {
    background-image: url(../img/banner-5-m.png) ! important;
  }
}

/*兼容iphone5以下小屏设备*/
@media screen and (max-width: 360px) {
  .feature {
    width: 100% !important;
  }

  .feature-image {
    width: 100% !important;
  }

  .feature-image img {
    width: 100% !important;
  }

  .feature-content {
    width: 100% !important;
  }

  .feature-text {
    width: 100% !important;
  }
}