/* 公共样式 - 导航栏 */
.header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  position: fixed;
  z-index: 999;
}

.container {
  max-width: 1266px;
  margin: 0 auto;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
  max-width: 1266px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
}

.header-content-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.header-content-left img {
  height: 30px;
  width: auto;
  display: block;
}

.header-content-left h1 {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

.header-content-right {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 80px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
  font-weight: 400;
}

.nav-item > a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%; /* 先居中定位 */
    width: 0; /* 初始宽度为0 */
    height: 4px;
    background-color: #fff;
    transition: width 0.3s ease;
    transform: translateX(-50%); /* 向左移动自身宽度的一半，实现居中 */
    border-radius: 2px;
}

.nav-item > a:hover::after {
    width: 50%; /* 悬停时宽度为父元素的一半 */
}

/* 当前页面高亮 */
.nav-item.active a {
  color: #fff;
}

.nav-item.active > a::after,
.nav-item.current-menu-item > a::after {
    width: 50%;
}
/* 下拉菜单样式 */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  z-index: 1000;
  display: none;
  /* margin-top: 1px; */
  border-radius: 4px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); */
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  position: relative;
  border-radius: 4px;
}

.dropdown-item a {
  display: block;
  padding: 12px 20px;
  color: #333 !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  border-radius: 4px;
}

.dropdown-item a:hover {
  background-color: #d9d9d9;
  border-radius: 4px;
}

/* 三级菜单样式 */
.dropdown-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #fff;
  z-index: 1001;
  display: none;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dropdown-item:hover .dropdown-submenu {
  display: block;
}

.dropdown-submenu a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

/* .dropdown-submenu a:hover {
    background-color: #d9d9d9;
     border-radius: 4px;
} */

/* 响应式设计 */
@media (max-width: 992px) {
  .nav-list {
    gap: 25px;
  }

  .header-content {
    padding: 15px 20px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    padding: 15px 15px 20px;
    gap: 15px;
  }

  .nav-list {
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .header-content-left h1 {
    font-size: 20px;
  }

  .nav-item a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .nav-list {
    gap: 15px;
  }

  .nav-item a {
    font-size: 13px;
  }

  .header-content {
    padding: 10px 20px;
    width: 95%;
  }
}

/* 底部 */
footer {
  width: 100%;
  background-color: #000;
}
.footer-content-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 2px solid #e64e27;
  padding: 30px 0;
}
.footer-content {
  max-width: 1266px;
  margin: 0 auto;
}
.footer-content-logo img {
  width: 60px;
  height: auto;
}
.footer-content-logo h2 {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

/* 页脚信息部分样式 */
.footer-content-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0;
}

/* 所有h3标题添加下划线 */
/* h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
} */

/* 左侧联系信息 */
.footer-info-left {
  width: 30%;
}
.info-item {
  display: flex;
  margin-bottom: 20px;
}
.info-label {
  font-weight: bold;
  color: #fff;
  margin-right: 20px;
  min-width: 60px;
}
.info-text {
  color: #fff;
  flex: 1;
}

/* 中间二维码区域 */
.footer-info-center {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.qrcode-placeholder {
  width: 120px;
  height: 120px;
  background-color: #1a1a1a;
  border: 1px solid #333;
}

/* 右侧链接部分 */
.footer-info-right {
  width: 40%;
  display: flex;
  justify-content: space-between;
}
.footer-column h3 {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}
.footer-column ul {
  list-style: none;
}
.footer-column li {
  margin-bottom: 10px;
}
.footer-column a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.footer-content-copyright {
  padding: 20px 0;
  border-top: 1px solid #a9acb1;
}
.footer-content-copyright p {
  font-size: 14px;
  color: #a9acb1;
  text-align: center;
}

/* 手机端菜单样式 */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  margin: 0 20px;
  position: relative;
  z-index: 100;
}

.mobile-logo img {
  height: 30px;
  width: auto;
}

/* 汉堡菜单按钮样式 */
.mobile-menu-btn {
  position: relative;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-menu-btn span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
  top: 0;
}

.mobile-menu-btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
  bottom: 0;
}

/* 汉堡菜单激活状态动画 */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* 手机端菜单内容样式 */
.mobile-menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 90vh;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease;
  z-index: 99;
  overflow-y: auto;
}

.mobile-menu.active {
  top: 80px;
}

.mobile-nav {
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.mobile-nav-item a:hover {
  background-color: #f5f5f5;
}

.mobile-nav-item.active a {
  color: var(--color-primary);
  font-weight: bold;
}

/* 下拉菜单样式 */
.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #f8f9fa;
}

.mobile-dropdown-menu.active {
  max-height: 500px;
}

.mobile-dropdown-menu li {
  border-bottom: 1px solid #e9ecef;
}

.mobile-dropdown-menu li:last-child {
  border-bottom: none;
}

.mobile-dropdown-menu > li > a {
  padding-left: 40px;
  font-size: 14px;
  color: #666;
}

/* 三级菜单样式 */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #e9ecef;
}

.mobile-submenu.active {
  max-height: 500px;
}

.mobile-submenu li {
  border-bottom: 1px solid #dee2e6;
}

.mobile-submenu li:last-child {
  border-bottom: none;
}

.mobile-submenu a {
  padding-left: 60px;
  font-size: 13px;
  color: #666;
}

.arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active .arrow {
  transform: rotate(180deg);
}
@media (max-width: 1024px) {
 .header-content {
    display: none !important;
  }

  .mobile-header {
    display: flex;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
  }
   .header {
    position: relative;
    height: auto;
  }
}
/* 响应式媒体查询 */
@media (max-width: 768px) {
  /* 显示手机端菜单，隐藏桌面端菜单 */
  .header {
    padding: 0;
  }
  .header-content {
    display: none !important;
  }

  .mobile-header {
    display: flex;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 100;
  }

  /* 确保header固定 */
  .header {
    position: relative;
    height: auto;
  }
}

@media (min-width: 1025px) {
  /* 在大屏幕上确保手机菜单不显示 */
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 769px) {
  .footer-content-info {
    flex-direction: column;
  }
  .footer-info-left {
    width: 100%;
  }
  .footer-info-center {
    margin: 30px 0;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
  }
  .footer-info-right {
    width: 100%;
    flex-direction: column;
  }
  .footer-column {
    margin-bottom: 20px;
  }
  .footer-content-logo h2 {
    font-size: 20px !important;
  }
  .footer-content-logo img {
    width: 40px;
  }
 
}
