/* 基础样式重置与响应式字体设置 */
    html {
      box-sizing: border-box;
      font-size: calc(10px + 0.390625vw);
    }
    *, *::before, *::after {
      box-sizing: inherit;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: 'Microsoft YaHei', 'Arial', sans-serif;
      line-height: 1.5;
    }

    /* 顶部导航栏样式 */
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 3rem;
      background-color: #ffffff;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    /* Logo区域 */
    .logo {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .logo img {

      height: 2.5rem;
      object-fit: contain;

    }
    .logo-text {
      font-size: 1.5rem;
      font-weight: bold;
      color: #2c3e50;
      white-space: nowrap;
    }

    /* 右侧导航容器 */
    .nav-container {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    /* 导航链接 */
    .nav-links {
      display: flex;
      list-style: none;
      gap: 2rem;
    }
    .nav-links > li {
      position: relative;
      padding: 0.5rem 0;
    }
    .nav-links a {
      text-decoration: none;
      font-size: 1rem;
      color: #34495e;
      border-bottom: 2px solid transparent;
      padding-bottom: 0.3rem;
      transition: all 0.3s ease;
      display: inline-block;
	  font-weight:700;
    }
    .nav-links > li > a:hover {
      border-bottom-color: #ff0000;
      color: #34495e;
    }

    /* 子菜单样式 */
    .submenu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #2c0505b3;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      border-radius: 4px;
      list-style: none;
      min-width: 18rem;
      z-index: 9999;
      padding: 1rem 0;
      margin-top: 0rem;
      animation: fadeIn 0.3s ease;
    }
    .submenu li {
      
    }
    .submenu a {
      display: block;
      padding: 0.8rem 0;
      border-bottom: none;
	  color:#fff;
	  padding-left:1.5rem;
    }
    .submenu li:hover a {

      background-color: #ff0000;
    }
    .nav-links > li:hover .submenu {
      display: block;
    }
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(5px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* 搜索框 - 调整宽度和图标大小 */
    .search-box {
      display: flex;
      align-items: center;
      background-color: #f5f5f5; /* 灰色背景 */
      border-radius: 2rem; /* 大圆角 */
      padding: 0.5rem 1rem; /* 内边距 */
      width: 10rem; /* 缩短搜索栏宽度（原14rem） */
      gap: 0.5rem;
    }
    .search-box input {
      flex: 1; /* 占满剩余空间 */
      border: none; /* 去掉边框 */
      outline: none; /* 去掉聚焦轮廓 */
      background-color: transparent; /* 透明背景 */
      font-size: 1rem;
      color: #34495e;
      padding: 0.2rem 0; /* 微调内边距 */
    }
    /* 提示语样式 */
    .search-box input::placeholder {
      color: #999; /* 提示语灰色 */
    }
    /* 放大镜图标 - 放大尺寸 */
    .search-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666; /* 图标颜色 */
      cursor: pointer;
      transition: color 0.3s ease;
      width: 2rem; /* 放大图标尺寸（原1.5rem） */
      height: 2rem; /* 放大图标尺寸（原1.5rem） */
    }
    .search-icon:hover {
      color: #ff0000; /* 悬浮变红 */
    }
    .search-icon svg {
      width: 100%;
      height: 100%;
    }

    /* 语言选择 - 添加向下三角形 */
    .language-wrapper {
      position: relative; /* 用于子元素绝对定位 */
      cursor: pointer;
      font-size: 1rem;
      color: #34495e;
    }
    /* 当前显示的语言 - 添加三角伪元素 */
    .current-lang {
      padding: 0.5rem 1rem 0.5rem 1rem; /* 右侧预留三角空间（原0.5rem 1rem） */
      position: relative; /* 用于伪元素定位 */
      transition: color 0.3s ease;
      padding-right: 1.8rem; /* 为三角形预留空间 */
    }
    .current-lang:hover {
      color: #ff0000; /* 悬浮变红 */
    }
    /* 向下三角形伪元素 */
    .current-lang::after {
      content: '';
      position: absolute;
      right: 0.5rem; /* 三角位置 */
      top: 50%;
      transform: translateY(-50%);
      /* 制作向下的小三角形 */
      border-width: 0.4rem 0.4rem 0 0.4rem; /* 上边框宽度，左右边框，下边框无 */
      border-style: solid;
      border-color: #666 transparent transparent transparent; /* 三角颜色 */
      transition: border-color 0.3s ease; /* 颜色过渡 */
    }
    /* 悬浮时三角变红 */
    .current-lang:hover::after {
      border-color: #ff0000 transparent transparent transparent;
    }
    /* 语言列表 */
    .lang-list {
      display: none; /* 默认隐藏 */
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #ffffff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      border-radius: 4px;
      list-style: none;
      min-width: 8rem;
      z-index: 9999;
      padding: 0.8rem 0;
      margin-top: 0.5rem;
      animation: fadeIn 0.3s ease;
    }
    .lang-list li {
      padding: 0.5rem 1rem;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    .lang-list li:hover {
      background-color: #f5f5f5;
      color: #ff0000;
    }
    /* 悬浮时显示语言列表 */
    .language-wrapper:hover .lang-list {
      display: block;
    }

    /* 登录按钮 */
    .login-btn {
      padding: 0.5rem 1.5rem;
      border: none;
      background-color: #2ecc71;
      color: white;
      border-radius: 4px;
      font-size: 1rem;
      cursor: pointer;
      transition: background-color 0.3s ease;
      white-space: nowrap;
    }
    .login-btn:hover {
      background-color: #27ae60;
    }

    /* 移动端适配（768px以下） */
    @media (max-width: 768px) {
      header {
        padding: 1rem;
      }
      .nav-container {
        gap: 1rem;
      }
      .nav-links {
        display: none;
      }
      .logo-text {
        font-size: 1.2rem;
      }
      .search-box {
        width: 8rem; /* 移动端进一步缩短（原10rem） */
      }
      .current-lang {
        padding: 0.4rem 0.8rem 0.4rem 0.8rem;
        padding-right: 1.5rem; /* 移动端三角预留空间 */
      }
      .login-btn {
        padding: 0.4rem 0.8rem;
      }
    }