header {
  position: relative;
  z-index: 10;
  color: #fff;
}
header .info-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
header .logo a {
  display: block;
  height: 100%;
  text-indent: -9999px;
}
.top-content {
  font-size: 14px;
  display: flex;
  gap: 18px;
  box-sizing: border-box;
  padding: 0 8%;
  line-height: 46px;
}
.top-content > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
header .info-top .address {
  flex: 1;
}
header nav {
  box-sizing: border-box;
  padding: 10px 8%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  transition: all 0.3s;
}
header nav.active {
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  z-index: 9;
  top: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
header nav.active ul .active a {
  color: #1863ab;
}
header nav.active ul li a {
  color: #393939;
  transition: all 0.3s;
}
header nav.active li:hover a {
  color: #1863ab;
}
header .logo {
  height: 100%;
}
header .logo img {
  height: 100%;
}
header ul {
  display: flex;
  gap: 20px;
}
header ul li {
  position: relative;
}
header ul li a {
  color: #ffffff;
}
header ul li::after {
  transition: all 0.2s;
  left: 0;
  bottom: -4px;
  position: absolute;
  content: "";
  display: block;
  width: 20px;
  height: 3px;
  background-color: rgb(255, 255, 255);
  transform: scaleX(0);
  transform-origin: left;
}
header ul .active::after {
  transform: scaleX(1);
}
header ul li:hover::after {
  transform: scaleX(1);
}
.banner {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

.banner .swiper {
  width: 100%;
  height: 100%;
}
.swiper .swiper-button {
  scale: 0.8;
  --swiper-theme-color: #ffffff;
  transition: all 0.5s;
  opacity: 0;
}
.banner:hover .swiper-button {
  opacity: 1;
}
.swiper-slide.fill {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
}
.swiper-slide .container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
}

.banner-text.banner-text-modern {
  font-size: 24px;
  font-weight: 300;
}
.banner-slider .banner-text {
  width: 100%;
  position: relative;
  font-size: 18px;
  padding-top: 0;
  padding-bottom: 0;
}
.banner-text.pos-center {
  margin: 0 auto;
  text-align: center;
}
.banner-text.banner-text-modern h1:not(.page-title),
.banner-text.banner-text-modern h2:not(.page-title) {
  font-size: 3em;
  line-height: 1.1;
  letter-spacing: 0.15em;
}

.banner-text.banner-text-modern .with-line {
  margin-bottom: 40px;
  padding-bottom: 42px;
  position: relative;
}
.banner-text h1,
.banner-text h2 {
  color: inherit;
  font-size: 2.25em;
}
.with-line::after {
  content: "";
  position: absolute;
  left: calc(50% - 30px);
  bottom: 0;
  display: block;
  width: 60px;
  height: 2px;
  background-color: hsl(0, 0%, 100%);
}
.scrolling-down {
  border: 2px solid #fff;
  border-radius: 50px;
  box-sizing: border-box;
  height: 50px;
  left: 50%;
  margin-left: -15px;
  position: absolute;
  bottom: 35px;
  width: 30px;
  z-index: 5;
}
@keyframes scrolling {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}
.scrolling-down:before {
  animation: 2s ease 0s normal none infinite running scrolling;
  background-color: #fff;
  border-radius: 100%;
  box-sizing: border-box;
  content: "";
  height: 6px;
  left: 50%;
  margin-left: -3px;
  position: absolute;
  top: 10px;
  width: 6px;
}
section .article .text {
  width: 540px;
}
section .container .article {
  display: flex;
  justify-content: space-between;
}
section .container .article .img {
  width: 500px;
}
section .container .article .img img {
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
}
section .container h2 {
  font-size: 1.875em;
  color: #1863ab;
  margin: 0 0 18px;
}
section .container p {
  margin: 0 0 18px;
  color: #6e7889;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
}
.title-box {
  margin-bottom: 10px;
  text-align: center;
}
.title-box h1 {
  color: #333;
  font-size: 36px;
}
.title-box p {
  margin: 20px 0;
  color: #999;
  font-size: 18px;
}
.title-box .title-box--line {
  background-color: #95c629;
  width: 40px;
  height: 4px;
  margin: 0 auto;
  border-radius: 2px;
}
.achievement-container {
  padding: 90px 0;
  padding-top: 50px;
}
.achievement-list {
  padding: 40px 0;
  text-align: center;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.achievement-list > .col-xs-4 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 33.333%;
}
.achievement-list--number {
  color: #333;
  font-size: 24px;
}
.achievement-list--number span {
  font-size: 48px;
}
.achievement-list p {
  color: #999;
  font-size: 14px;
}
.technology-container {
  padding: 90px 0;
  background-color: #f4f8fb;
}
.technology-list {
  padding: 60px 0;
  text-align: center;
  display: flex;
}
.technology-list > div {
  padding: 40px 0;
  border-radius: 4px;
  cursor: pointer;
  width: 25%;
}
.technology-list > div > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.technology-list > div:hover {
  background: #fff;
  box-shadow: 2px 2px 4px #ddd;
}
.technology-list h5 {
  height: 34px;
  line-height: 34px;
  color: #333;
  font-size: 18px;
  font-weight: normal;
  margin-top: 10px;
}
.technology-list p {
  color: #999 !important;
  font-size: 14px !important;
}
.technology-list img,
.achievement-list img {
  width: 50px;
  height: 50px;
}

@keyframes iconAmination {
  0% {
    transform: rotateY(0deg);
  }
  25% {
    transform: rotateY(90deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  75% {
    transform: rotateY(270deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* 移动端适配样式 */
@media (max-width: 992px) {
  header {
    position: fixed; /* 改为固定定位，使header固定在顶部 */
    z-index: 1000; /* 增大z-index确保header在最上层 */
    color: #fff;
    width: 100%;
    top: 0; /* 固定在顶部 */
    left: 0;
    right: 0;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
    background-color: #ffffff; /* 默认白色背景 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07); /* 默认添加阴影 */
  }
  
  /* 移动端菜单样式 */
  .mobile-menu-btn {
    display: none;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    z-index: 10;
  }

  .mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #1863ab;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }
  header ul li.active a {
    color: #1863AB; /* 修改为蓝色以匹配固定白色背景 */
    font-weight: 500;
  }
  .mobile-menu-btn span:nth-child(1) {
    top: 0px;
  }

  .mobile-menu-btn span:nth-child(2) {
    top: 10px;
  }

  .mobile-menu-btn span:nth-child(3) {
    top: 20px;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
  }
  header nav {
    padding: 10px 4%;
  }
  .info-top {
    display: none;
  }
  .banner-text.banner-text-modern h1:not(.page-title),
  .banner-text.banner-text-modern h2:not(.page-title) {
    font-size: 2.5em;
  }

  .banner-text.banner-text-modern {
    font-size: 20px;
  }

  .technology-list {
    flex-wrap: wrap;
  }

  .technology-list > div {
    width: 50%;
  }
}

@media (max-width: 768px) {

  /* 移动端菜单按钮 */
  .mobile-menu-btn {
    display: block;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    z-index: 10;
  }

  header nav {
    height: 60px;
    padding: 10px 15px;
  }

  header ul li a {
    color: #393939;
    display: block;
  }

  header ul li::after {
    display: none;
  }

  /* 确保移动端下拉菜单的位置和显示效果 */
  header ul {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px 0;
    gap: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    transform: translateY(calc(-100% - 60px));
    transition: transform 0.3s ease;
    z-index: 100;
  }

  header ul.show {
    transform: translateY(0);
  }

  header ul li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }
  .info-top {
    display: none;
  }
  .banner-text.banner-text-modern h1:not(.page-title),
  .banner-text.banner-text-modern h2:not(.page-title) {
    font-size: 2em;
    letter-spacing: 0.1em;
  }

  .banner-text.banner-text-modern {
    font-size: 16px;
  }

  .banner-text.banner-text-modern .with-line {
    margin-bottom: 30px;
    padding-bottom: 32px;
  }

  .achievement-list {
    flex-direction: column;
    padding: 20px 0;
  }

  .achievement-list > .col-xs-4 {
    width: 100%;
    margin-bottom: 30px;
  }

  .technology-list {
    padding: 30px 0;
  }

  .technology-list > div {
    width: 100%;
    padding: 20px 0;
  }

  .title-box h1 {
    font-size: 28px;
  }

  .title-box p {
    font-size: 16px;
  }

  .achievement-list--number span {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .banner-text.banner-text-modern h1:not(.page-title),
  .banner-text.banner-text-modern h2:not(.page-title) {
    font-size: 1.5em;
  }

  .banner-text.banner-text-modern {
    font-size: 14px;
  }

  .scrolling-down {
    display: none;
  }
}
