/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* overflow-x: hidden; */
}

body {
  width: 1920px;
  margin: 0 auto;
  /* overflow-x: hidden; */
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========== Header & Navigation ========== */
.header {
  position: relative;
  z-index: 100;
}

.header .container {
  width: 100%;
  height: 92px;
  background: #0055AA;
  opacity: 0.92;
  position: relative;
  display: flex;
  align-items: flex-start;
}

.logo {
  width: 315px;
  height: 62px;
  margin-left: 90px;
  margin-top: 14px;
}
.logo  a{
  width: 315px;
  height: 62px;

}
.logo img {
  width: 315px;
  height: 62px;
  object-fit: contain;
}

.nav {
  margin-left: 254px;
  display: flex;
  align-items: center;
  height: 92px;
  padding-right: 40px;
}

.nav > ul {
  display: flex;
  gap: 30px;
  height: 100%;
  align-items: center;
}

/* 一级栏目 */
.nav > ul > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav > ul > li > a,
.nav > ul > li > span {
  display: flex;
  align-items: center;
  height: 14px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: #FFFFFF;
  text-align: left;
  font-style: normal;
  text-transform: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 5px;
  transition: color 0.3s;
}

.nav > ul > li > a:hover,
.nav > ul > li > span:hover {
  color: #aaccee;
}

/* 一级栏目浮动下划线 */
.nav > ul > li > a::after,
.nav > ul > li > span::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #FFAA20;
  transition: width 0.3s;
}

.nav > ul > li:hover > a::after,
.nav > ul > li:hover > span::after {
  width: 58px;
}

/* 二级栏目容器 */
.nav .dropdown {
  display: none;
  position: absolute;
  top: 87px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  min-width: 140px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 200;
  padding: 4px 0;
}

.nav > ul > li:hover > .dropdown {
  display: block;
}

/* 二级栏目文字默认样式 */
.nav .dropdown a {
  display: block;
  height: auto;
  min-height: 46px;
  line-height: 30px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #4D4D4D;
  text-align: center;
  font-style: normal;
  text-transform: none;
  padding: 8px 16px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}

/* 二级栏目鼠标浮动样式 */
.nav .dropdown a:hover {
  background: #0055AA;
  opacity: 0.92;
  color: #FFFFFF;
}

/* ========== Header Right (Language + Search) ========== */
.header-right {
  display: flex;
  align-items: center;
  height: 92px;
  margin-left: auto;
  padding-right: 90px;
}

.lang-switch {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #FFFFFF;
  margin-right: 20px;
  white-space: nowrap;
  transition: color 0.3s;
}

.lang-switch:hover {
  color: #aaccee;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle {
  width: 24px;
  height: 24px;
  cursor: pointer;
  object-fit: contain;
}

.search-box {
  display: none;
  align-items: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 14px;
}

.search-box.active {
  display: flex;
}

.search-box input {
  width: 166px;
  height: 38px;
  background: #FFFFFF;
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 14px;
}

.search-box button {
  width: 38px;
  height: 38px;
  background: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}