* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text-color: #1f5ca1;
}

.head-container1 {
  width: 100%;
  height: 125px;
  background-color: #f2f2f2;
  box-shadow: 0px 5px 12px 0px rgba(97, 97, 97, 0.05);
}

.right div.active a {
  color: #1f5ca1; /* 高亮颜色 */
  font-weight: bold;
  position: relative;
}

.head-container1 .head-section {
  height: 125px;
  width: 1200px;
  margin: auto;
  display: flex;
  color: #323131;
  justify-content: space-between;
}

.head-section .bottom {
  display: none;
}

.head-section .left {
  display: flex;
  align-items: center;
  font-size: 25px;
}

.head-section .left .logo {
  width: 45px;
  height: 45px;
  margin-right: 5px;
}

.head-section .right {
  display: flex;
  align-items: center;
  font-weight: 500;
  justify-content: flex-end;
}

.head-section .right .button {
  padding: 9px 35px;
  border: 2px solid #1f5ca1;
  border-radius: 50px;
  color: #1f5ca1;
}

.head-section .right .button:hover {
  background-color: #1f5ca1;
  border: 2px solid #1f5ca1;
  color: #fff !important;
  cursor: pointer;
}
.head-section .right .button:hover a {
  color: #fff !important;
}

.head-section .right div {
  margin-right: 30px;
  cursor: pointer;
}

.menu-icon {
  font-size: 30px;
  color: #205ca1;
}

@media (max-width: 1024px) {
  head-container1 {
    width: 100%;
    height: 150px !important;
  }

  .head-section {
    display: inline-block !important;
    width: 90%;
  }

  .head-section .right {
    display: none !important;
  }

  .head-section .bottom {
    display: block !important;
  }

  .head-section .bottom .bottom-con {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
  }

  .head-section .bottom .bottom-con .button {
    width: 150px;
    height: 43px;
    line-height: 43px;
    border: 1px solid var(--text-color);
    text-align: center;
    border-radius: 50px;
    color: var(--text-color);
    cursor: pointer;
  }
}

.head-container2 {
  width: 100%;
  height: 80px;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0px 13px 25px -12px rgba(0, 0, 0, 0.15);
  animation: menu_sticky 0.7s ease-in-out;
  display: none;
}
.head-container2 .content {
  width: 1200px;
  height: 80px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  color: #323131;
}

.head-container2 .left {
  display: flex;
  align-items: center;
  font-size: 25px;
}
.head-container2 .left .logo {
  width: 45px;
  height: 45px;
  margin-right: 5px;
}
.head-container2 .head-section {
  height: 80px;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  color: #323131;
}
@keyframes menu_sticky {
  from {
    transform: translateY(-100%); /* 初始位置在视图上方 */
  }
  to {
    transform: translateY(0); /* 最终位置恢复到顶部 */
  }
}

.head-container1 a {
  text-decoration: none;
  color: #323131;
  font-size: 16px;
}
.head-container2 a {
  text-decoration: none;
  color: #323131;
  font-size: 16px;
}
.button a {
  color: #1f5ca1 !important;
}
