a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
html{
  padding: 0;
  margin: 0;
}
/* 顶部导航栏容器 */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 上部导航区 */
.header-top {
  background: #f8f9fa;
  border-bottom: 1px solid #e8e8e8;
  height: 45px;
}

.header-top-content {
  width: 1300px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-welcome {
  font-size: 14px;
  color: #333;
}

.header-welcome span {
  font-size: 16px;
  color: #2677f5;
}

.header-hotline {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hotline-label {
  font-size: 14px;
  color: #999;
}

.hotline-number {
  font-size: 16px;
  color: #ff6b35;
  font-weight: bold;
}

.header-login-btns {
  display: flex;
  gap: 12px;
}

.btn-enterprise {
  padding: 6px 16px;
  background: transparent;
  color: #066be6;
  border: 1px solid #066be6;
  border-radius: 5000px;
  font-size: 13px;
  transition: all 0.3s;
}

.btn-enterprise:hover {
  background: #2b7de9;
  color: #fff;
  border-color: #2b7de9;
}

.btn-agency {
  padding: 6px 16px;
  background: #2b7de9;
  color: #fff;
  border: 1px solid #2b7de9;
  border-radius: 5000px;
  font-size: 13px;
  transition: all 0.3s;
}

.btn-agency:hover {
  background: #1a68d4;
  border-color: #1a68d4;
}

/* 下部导航区 */
.header-main {
  background: #fff;
  height: 70px;
}

.header-main-content {
  width: 1300px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  width: 160px;
}

.nav {
  display: flex;
  gap: 35px;
  margin-left: 50px;
}

.nav-item {
  font-size: 15px;
  color: #333;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-item > a {
  font-size: 15px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-item:hover > a,
.nav-item.active > a {
  color: #2b7de9;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2b7de9;
  border-radius: 2px;
}

/* 下拉菜单 */
.nav-item.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%);
  width: 117px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}

.dropdown-item:hover {
  background: #f5f7fa;
  color: #2b7de9;
}

.header-main-right {
  display: flex;
  align-items: center;
  /* gap: 20px; */
}

.header-main-phone {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-main-phone img {
  width: 17px;
  height: 17px;
}

.header-main-phone span {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.header-main-search {
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  margin-left: 15px;
  transition: background 0.3s;
}

.header-main-search:hover {
  background: #f0f0f0;
}

.header-main-search img {
  width: 24px;
  height: 24px;
}
