@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* 去掉 a 标签的默认样式 */
a {
  text-decoration: none;
  /* 去掉下划线 */
  color: inherit;
  /* 使颜色继承父元素的颜色 */
}

/* 去掉 ul 和 li 的默认样式 */
ul {
  list-style: none;
  /* 去掉项目符号 */
  padding: 0;
  /* 去掉内边距 */
  margin: 0;
  /* 去掉外边距 */
}

li {
  list-style: none;
  /* 去掉项目符号 */
}

input {
  all: unset;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  /* 确保 body 元素的高度至少是视口高度 */
  background-image: url("../img/header_bg.jpg");
  background-position: top center;
  /* 背景图定位在页面顶部并居中 */
  background-repeat: no-repeat;
  /* 防止背景图重复 */
  background-size: 100%;
  /* 背景图的大小保持其原始比例 */
}

/* .bg {
   
    z-index: -1;
} */
/* 默认情况下没有背景 */
header.no-background {
  background-color: transparent;
}

/* 粘性定位时，添加白色背景 */
header.has-background {
  background-color: white;
}

header {
  display: flex;
  flex-direction: column;
  /* 固定定位时的样式 */
}

header .top_box {
  width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 42px;
  padding-bottom: 60px;
}

header .top_box .logo {
  width: 396px;
  height: 87px;
}

header .top_box .himt {
  margin-left: 22px;
}

header .top_box .himt .himt_item {
  display: flex;
  align-items: center;
  gap: 7px 4px;
  font-weight: bold;
  font-size: 14px;
  color: #333333;
}

header .top_box .himt .himt_item img {
  width: 12px;
  height: 12px;
}

header .top_box .ipt_box {
  display: flex;
  align-items: center;
  margin-left: auto;
  width: 442px;
  height: 40px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 4px 4px 4px 4px;
  padding-left: 16px;
}

header .top_box .ipt_box .icon {
  width: 19px;
  height: 19px;
}

header .top_box .ipt_box input {
  padding-left: 12px;
  flex: 1;
  font-weight: 400;
  font-size: 14px;
}

header .top_box .ipt_box input::placeholder {
  color: #999;
  /* 设置占位文字颜色 */
}

header .top_box .ipt_box .btn {
  width: 100px;
  height: 40px;
  background: #b10403;
  border-radius: 0px 4px 4px 0px;
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  line-height: 40px;
}

header nav {
  width: 100%;
  min-width: 1180px;
  height: 58px;
  background: #b10403;
  border-radius: 0px 0px 0px 0px;
  transition: all 0.3s ease;
}
header nav a, header nav a:link  {
    color: #fff;
}

header nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header .nav_box {
  width: 1180px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 默认 <li> 样式 */
header .nav_box li {
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

/* 鼠标悬停时，放大 .big 的字体 */
header .nav_box li:hover .big {
  color: #1a5fba; /* 鼠标悬停时颜色变化 */
  transform: scale(1.2); /* 放大字体 */
  transition: transform 0.3s ease, color 0.3s ease; /* 确保添加过渡效果 */
}

/* .nav_sencd 默认样式 */
header .nav_box .nav_sencd {
  position: absolute;
  left: 0;
  background: #004890;
  z-index: 9;
  text-align: left;
  padding-left: 25px;
  box-sizing: border-box;
  font-size: 14px;
  font-family: "Source Han Sans CN", sans-serif;
  font-weight: bold;
  line-height: 30px;
  color: #fff;
  white-space: nowrap;
  padding: 10px;
  opacity: 0; /* 初始透明度为 0 */
  visibility: hidden; /* 初始不可见 */
  height: 0; /* 初始高度为 0 */
  overflow: hidden; /* 隐藏溢出的内容 */
  transition: opacity 0.3s ease, visibility 0s 0.3s, height 0.3s ease; /* 延迟 visibility 动画 */
}

/* 鼠标悬停时，显示 .nav_sencd */
header .nav_box li:hover .nav_sencd {
  opacity: 1; /* 显示时透明度为 1 */
  visibility: visible; /* 可见 */
  height: 100px; /* 显示时的高度 */
  transition: opacity 0.3s ease, visibility 0s 0s, height 0.3s ease; /* 清除延迟 */
}




footer {
  border-top: 6px solid #b10403;
  background: #f6f6f6;
  padding-bottom: 22px;
}

footer .footer_box {
  width: 1180px;
  margin: 0 auto;
}

footer .footer_box .top_box {
  height: 88px;
  background: #ffffff;
  border-radius: 0px 0px 0px 0px;
  margin-top: 20px;
  display: flex;
  align-items: center;
}

footer .footer_box .top_box .left {
  width: 36px;
  height: 88px;
  line-height: 36px;
  background: #b10403;
  writing-mode: vertical-rl;
  /* 竖向排列，从右到左 */
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 4px;
  /*单词之间的距离*/
  word-spacing: 4px;
}

footer .footer_box .top_box .right {
  flex: 1;
  padding: 9px 10px 0 10px;
  display: flex;
  height: 100%;
  flex-wrap: wrap;
  gap: 0 25px;
}

footer .footer_box .top_box .right .item {
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  line-height: 24px;
}

footer .footer_box .bottom_box {
  width: 538px;
  margin: 0 auto;
  margin-top: 38px;
  font-family: Microsoft YaHei,
 Microsoft YaHei;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  text-align: center;
  font-size: 14px;
  color: #333333;
  line-height: 28px;
}
