* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif; /* 统一字体 */
}
ul, li {
  list-style: none;
}
a {
  text-decoration: none !important;
}
img {
  border: none;
  max-width: 100%;
  vertical-align: middle;
}

body {
  min-width: 1200px;
  overflow-x: auto;
}

.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* 替换原红色为主色科技绿 */
.red {
  color: #00A846;
}

/* ==================== 导航栏 ==================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav {
  width: 1200px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ========== LOGO 终极修复：图片不撑大、文字不消失、不贴导航 ========== */
.logo {
  display: flex;
  align-items: center;
  height: 80px;
  max-width: 280px; /* 关键：限制logo总宽度 */
  flex-shrink: 0;
  margin-right: 50px; /* 关键：永远和导航菜单留空隙 */
  gap: 10px;
}

.logo img {
  height: 60px;
  max-width: 200px; /* 关键：图片不能太大 */
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
  white-space: nowrap;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif; /* logo文字字体 */
}
.logo-text span {
  font-size: 14px;
  color: #666;
  display: block;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}

/* ========== 中间导航 ========== */
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 15px;
  height: 80px;
  margin-top: 10px;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-list > .nav-item > a {
  display: block;
  height: 80px;
  text-align: center;
  overflow: hidden;
  padding: 0 8px;
}

.nav-list > .nav-item > a span {
  display: block;
  transition: transform 0.3s ease, color 0.3s ease;
  line-height: 1;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif; /* 导航文字字体 */
}

.nav-list > .nav-item > a span:first-child {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  transform: translateY(20px);
}

.nav-list > .nav-item > a span:last-child {
  font-size: 13px;
  color: #999;
  transform: translateY(20px);
}

/* 悬浮时文字颜色改为科技绿 */
.nav-item:hover > a span:first-child {
  transform: translateY(40px);
  color: #00A846;
}

.nav-item:hover > a span:last-child {
  transform: translateY(0);
}

/* 激活状态文字颜色改为科技绿 */
.nav-list > .nav-item.active > a span:first-child {
  color: #00A846;
}

/* 二级菜单 */
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: none;
  border-radius: 4px;
  padding: 8px 0;
  z-index: 9999;
}

.sub-link {
  display: block;
  line-height: 38px;
  text-align: center;
  font-size: 14px;
  color: #333;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}

/* 二级菜单悬浮色改为科技绿 */
.sub-link:hover {
  color: #00A846;
}

/* 三级菜单 */
.third-menu {
  position: absolute;
  top: 0;
  left: 100%;
  width: 160px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: none;
  border-radius: 4px;
  padding: 8px 0;
  z-index: 9999;
}

.third-link {
  display: block;
  line-height: 38px;
  text-align: center;
  font-size: 14px;
  color: #333;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}

/* 三级菜单悬浮色改为科技绿 */
.third-link:hover {
  color: #00A846;
}

.nav-item:hover > .submenu {
  display: block;
}

.nav-item-sub:hover > .third-menu {
  display: block;
}

/* ========== 右侧电话搜索（按截图优化版） ========== */
/* ========== 右侧电话搜索（对齐修复版） ========== */
.nav-right-group {
  width: 220px;
  display: flex;
  align-items: center; /* 关键：强制内部元素垂直居中 */
  justify-content: flex-end;
  gap: 10px;
  height: 80px;
  flex-shrink: 0;
}

/* 搜索按钮容器 */
.search {
  position: relative;
  display: flex;
  align-items: center; /* 关键：让按钮本身在容器内居中 */
  height: 80px;
}

/* 圆形搜索按钮 */
.search > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 18px;
  text-decoration: none;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}
/* 搜索按钮悬浮背景改为科技绿 */
.search > a:hover {
  background: #00A846;
  color: #fff;
}

/* 搜索下拉框 */
.search-box {
  position: absolute;
  top: 100%;
  right: 0;
  width: 380px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 15px;
  display: none;
  z-index: 9999;
}
.search:hover .search-box {
  display: block;
}

/* 搜索输入框组 */
.search-input-group {
  display: flex;
  border: 2px solid #00A846; /* 搜索框边框改为科技绿 */
  border-radius: 4px;
  overflow: hidden;
}
.search-input-group input {
  flex: 1;
  height: 42px;
  border: none;
  outline: none;
  padding: 0 15px;
  font-size: 16px;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}
/* 搜索按钮背景改为科技绿 */
.search-input-group button {
  width: 80px;
  background: #00A846;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}

/* 历史记录（默认隐藏） */
.search-history {
  margin-top: 12px;
  display: none;
}
.search-history.show {
  display: block;
}
.history-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}
.history-clear {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}
.history-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.history-item {
  padding: 4px 10px;
  background: #f5f5f5;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}
/* 历史记录悬浮背景改为科技绿 */
.history-item:hover {
  background: #00A846;
  color: #fff;
}

/* 电话样式（保持不变，仅确保和搜索按钮对齐） */
.nav-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 26px;
  color: #333;
  font-weight: bold;
  white-space: nowrap;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}
/* 电话图标颜色改为科技绿 */
.nav-tel i {
  color: #00A846;
  font-style: normal;
}

/* ==================== 底部 ==================== */
/* 底部样式未做修改，如需同步调整可参考上述色值/字体规则 */
#footer {
  background: #191f26;
  padding: 50px 0 0;
}

.footer-wrap {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
  gap: 20px;
}

.footer-left {
  width: 260px;
  flex-shrink: 0;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo-row img {
  height: 50px;
  max-width: 200px;
  object-fit: contain;
}

.footer-logo-text .company-name {
  font-size: 22px;
  color: #fff;
  font-weight: bold;
}

.footer-logo-text .company-en {
  font-size: 14px;
  color: #8c9094;
}

.footer-left p {
  font-size: 14px;
  color: #8c9094;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-left .contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #8c9094;
  margin-bottom: 12px;
}

.footer-left .contact-info i {
  color: #00A846; /* 底部联系方式图标改为科技绿 */
}

.footer-col {
  width: 15%;
}

.footer-col h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}

.footer-col ul {
  text-align: center;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #8c9094;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-right {
  width: 15%;
  text-align: center;
}

.footer-right h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}

.footer-right img {
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.footer-bottom {
  background: #12161c;
  text-align: center;
  padding: 18px 0;
  font-size: 14px;
  color: #8c9094;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 50px;
  width: 40px;
  height: 40px;
  background: #00A846; /* 返回顶部按钮改为科技绿 */
  color: #fff;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  display: none;
  z-index: 999;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}

.page-content {
  padding: 120px 0 60px;
}

/* 友情链接样式 */
.footer-friendlink {
  width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid #333;
}

.footer-friendlink h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
  text-align: center;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}

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

.friendlink-item a {
  font-size: 14px;
  color: #8c9094;
  font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
  transition: color 0.3s ease;
}

.friendlink-item a:hover {
  color: #00A846; /* 悬浮改为科技绿 */
}

.ds{
	color: #8c9094;
	font-family: "思源黑体 Bold", "Montserrat Bold", sans-serif;
}
