* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

a {
  text-decoration: none;
}

/* 基础样式 */
.text-element {
  color: #333;
  /* 默认文字颜色 */
  transition: color 0.3s ease, transform 0.3s ease;
  /* 过渡动画设置 */
}

/* 悬停效果 */
.text-element:hover {
  color: #be0000;
  transform: translateX(3px);
  /* 目标颜色 */
}

/* 高级版本（带更多控制） */
.enhanced-text {
  color: #333;
  display: inline-block;
  /* 确保行内元素也能完整过渡 */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* 自定义缓动曲线 */
  transform: translateZ(0);
  /* 硬件加速优化 */
  will-change: color;
  /* 性能提示 */
}

.enhanced-text:hover {
  color: #be0000;
  text-shadow: 0 0 5px rgba(190, 0, 0, 0.2);
  /* 附加效果（可选） */
}

/* 头部样式 */
.header {
  height: 136px;
  background-color: #fff;
  display: flex;
  justify-content: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1400px;
  height: 100%;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 77px;
  height: 77px;
  margin-right: 20px;
  background-color: #ddd;
  background: url("../images/logo.png") no-repeat center top;
  /* 临时颜色，实际替换为logo图片 */
}

.logo-text {
  margin-right: 40px;
}

.logo-text h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 5px;
}

.logo-text p {
  font-size: 14px;
  color: #999;
}

.search-box {
  width: 560px;
  height: 48px;
  position: relative;
}

.search-box input {
  width: 100%;
  height: 100%;
  border: 1px solid #ddd;
  border-radius: 24px;
  padding: 0 20px;
  font-size: 16px;
  outline: none;
}

.search-box button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #999;
}

.hot-search {
  margin-top: 8px;
  font-size: 14px;
  color: #999;
}

.hot-search a {
  color: #666;
  margin-right: 15px;
  text-decoration: none;
}

.user-section {
  display: flex;
  align-items: center;
}

.user-section a {
  display: flex;
  align-items: center;
  margin-left: 30px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.user-section a i {
  margin-right: 8px;
  font-size: 20px;
}

/* 导航菜单样式 */
.nav {
  height: 64px;
  background-color: #01398e;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  width: 1400px;
  height: 100%;
}

.nav-menu li {
  list-style: none;
  position: relative;
}

.nav-menu>li>a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 60px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
.nav-menu>li>a.active{
	background-color: rgba(190,0,1,1);
}

.nav-menu>li:hover>a {
  background-color: rgba(255, 255, 255, 0.2);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 180px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 100;
}

.sub-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.sub-menu li a:hover {
  background-color: #f5f5f5;
}

.nav-menu>li:hover .sub-menu {
  display: block;
}

/* 页脚 */
.footer {
  height: 360px;
  background-color: #01398e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 30px;
}

.footer-content {
  margin: 0 auto;
  width: 1400px;
  height: 296px;
  display: flex;
  justify-content: space-between;
  color: #fff;
}

.footer-section {
  width: 30%;
}

.footer-title {
  font-size: 20px;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
}

.footer-link {
  width: 50%;
  margin-bottom: 15px;
}

.footer-link a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-contact {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  font-size: 18px;
}

.footer-qrcode {
  width: 160px;
  height: 160px;
  background-color: #fff;
  margin-bottom: 15px;
}

.footer-bottom {
  width: 1400px;
  height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px
}

/* 页脚底部信息 */
.footer-bottom {
  width: 1400px;
  margin: 0 auto;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom-left {
  display: flex;
}

.footer-bottom-left p {
  margin-right: 30px;
}
.footer-bottom-right a{
	color: #FFF;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  right: 50px;
  bottom: 50px;
  width: 50px;
  height: 50px;
  background-color: rgba(1, 57, 142, 0.8);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
}