.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
}
header {
  width: 100%;
  position: relative;
  z-index: 1;
}
.header-wap-bg {
  display: none;
}

.footer {
  width: 100%;
  position: relative;
  z-index: 1;
  background-color: #1578af;
  padding: 35px 0;
  font-size: 16px;
  text-align: center;
  color: #fff;
}

/* ==================== 导航栏现代浏览器增强样式 ==================== */

/* 导航栏基础样式 - PC端水平排列 */
.nav {
  /* 渐变背景增强 */
  background: linear-gradient(135deg, #1d97df 0%, #1578af 100%);
  /* 阴影效果 */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav ul {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.nav li {
  display: inline-block;
  text-align: center;
}

.nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 20px 30px;
}

.nav h3 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

/* 导航链接悬停效果 */
.nav a {
  /* 过渡动画 */
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* 导航链接下划线动画效果 */
.nav a::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover::after {
  width: 60%;
}

/* 导航标题样式优化 */
.nav h3 {
  transition: all 0.3s ease;
}

.nav a:hover h3 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 移动端菜单按钮 - 默认隐藏 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* 菜单按钮动画状态 - 叉号居中对齐 */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

.content {
  width: 100%;
}
.item1,
.item2,
.item4 {
  width: 70%;
  margin: 80px auto;
}
.item-title {
  text-align: center;
  margin-bottom: 40px;
}
.item-title img {
  max-width: 100%;
  height: auto;
}

/* ==================== item1 现代浏览器Grid布局 ==================== */
.item1 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.item1 li {
  position: relative;
  overflow: hidden;
}

.item1 li a {
  display: block;
  transition: transform 0.3s ease;
}

.item1 li img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* 文字叠加层样式 - 直接显示 */
.item1 li p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 20px 15px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 70%,
    transparent 100%
  );
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

/* 图片悬停放大效果 */
.item1 li:hover img {
  transform: scale(1.05);
}

/* ==================== item4 现代浏览器Grid布局 ==================== */
.item4 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.item4 li {
  position: relative;
  overflow: hidden;
}

.item4 li a {
  display: block;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.item4 li img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.item4 li p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

/* 图片悬停放大效果 */
.item4 li:hover img {
  transform: scale(1.05);
}

/* 文字悬停效果 */
.item4 li:hover a {
  color: #1578af;
}

/* ==================== item3 现代浏览器增强样式 ==================== */
.item3 {
  width: 100%;
  position: relative;
}

.item3-main {
  position: relative;
  width: 100%;
}

.item3-bg {
  width: 100%;
  height: auto;
  display: block;
}

.item3-list {
  position: absolute;
  top: 4%;
  left: 15%;
  width: 70%;
  height: 95%;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 15px;
}

.item3-list li {
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
}

.item3-list li a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.item3-list li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* 图片悬停放大效果 */
.item3-list li:hover img {
  transform: scale(1.05);
}

/* item3文字叠加层样式 - 悬停显示 */
.item3-list li p {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 悬停时显示文字 */
.item3-list li:hover p {
  opacity: 1;
}

.item2 .i-slider1 {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.item2 .i-slider1 .sliderInner {
  position: relative;
  overflow: hidden;
}
.item2 .i-slider1 .sliderInner ul {
  display: flex;
  width: 100%;
}
.item2 .i-slider1 .sliderInner li {
  flex: 0 0 auto;
  width: 100%;
  height: 343px;
  overflow: hidden;
  display: flex;
  margin-right: 1px;
}
.item2 .i-slider1 .img-box {
  overflow: hidden;
  margin-right: 4%;
  flex-shrink: 0;
}
.item2 .i-slider1 .img-box,
.item2 .i-slider1 .img-box img {
  display: block;
  width: 50%;
  height: 343px;
  object-fit: cover;
}
.item2 .i-slider1 .img-box img {
  display: block;
  width: 100%;
  height: 343px;
  object-fit: cover;
}
.item2 .i-slider1 .list-text {
  overflow: hidden;
  padding-top: 20px;
  flex: 1;
}
.item2 .i-slider1 .list-tit {
  width: 100%;
  height: 72px;
  overflow: hidden;
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
}
.item2 .i-slider1 .list-tit a {
  display: block;
  transition: color 0.3s ease;
}
.item2 .i-slider1 .list-tit a:hover {
  color: #2998d5;
}
.item2 .i-slider1 .list-desc {
  color: #4b4b4b;
  font-size: 20px;
  line-height: 24px;
  margin-top: 15px;
}
.item2 .i-slider1 .slider-cur {
  position: absolute;
  bottom: 5%;
  left: 54.17%;
  z-index: 100;
}
.item2 .i-slider1 .swiper-pagination-switch {
  display: inline-block;
  width: 12px;
  height: 12px;
  font-size: 0;
  line-height: 0;
  border: 1px solid #777;
  border-radius: 50%;
  margin-right: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.item2 .i-slider1 .swiper-pagination-switch:hover {
  border-color: #2998d5;
  transform: scale(1.2);
}
.item2 .i-slider1 .swiper-active-switch {
  border-color: #2998d5;
  background-color: #2998d5;
}

/* ==================== 响应式布局 ==================== */

@media screen and (max-width: 1024px) {
  /* 平板设备导航栏调整 */
  .nav a {
    padding: 18px 20px;
  }

  .nav h3 {
    font-size: 22px;
  }
  .item2 .i-slider1 .sliderInner li {
    flex-direction: column;
    height: auto;
    margin-right: 0;
  }
  .item2 .i-slider1 .img-box {
    width: 100%;
    margin-right: 0;
  }
  .item2 .i-slider1 .img-box,
  .item2 .i-slider1 .img-box img {
    width: 100%;
  }
  .item2 .i-slider1 .list-text {
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 50px;
  }
  .item2 .i-slider1 .slider-cur {
    top: auto;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 768px) {
  .header-bg {
    display: none;
  }
  .header-wap-bg {
    display: block;
    position: relative;
  }

  /* ==================== 移动端导航栏样式 ==================== */
  .nav {
    position: relative;
    height: 0px;
    z-index: 10;
  }

  /* 显示菜单按钮 - 定位在头图右上角 */
  .nav-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  /* 导航列表 - 移动端折叠状态 */
  .nav ul {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: linear-gradient(135deg, #1d97df 0%, #1578af 100%);
  }

  /* 导航列表展开状态 */
  .nav ul.active {
    max-height: 500px;
    transition: max-height 0.4s ease-in;
  }

  /* 导航项垂直排列 */
  .nav li {
    display: block;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav li:last-child {
    border-bottom: none;
  }

  /* 导航链接样式调整 - 现代简约设计 */
  .nav a {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  /* 移除左侧小圆点 */
  .nav a::before {
    display: none;
  }

  /* 底部滑动指示器 */
  .nav a::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .nav a:hover::after {
    width: 50%;
  }

  .nav a:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }

  /* 标题字体样式 */
  .nav h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }

  .nav a:hover h3 {
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  /* ==================== 移动端item1 Grid布局调整 ==================== */
  .item1,
  .item2,
  .item4 {
    width: 90%;
    margin: 40px auto;
  }
  .item-title {
    margin-bottom: 20px;
  }
  .item1 ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 0 -5px;
  }

  /* 移动端item1文字叠加层 */
  .item1 li p {
    padding: 15px 12px;
  }
  .item4 li img {
    margin-bottom: 5px;
  }
  .item2 .i-slider1 .list-tit {
    font-size: 20px;
  }
  .item2 .i-slider1 .list-desc {
    font-size: 16px;
  }
  /* ==================== 移动端item4 Grid布局调整 ==================== */
  .item4 ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .item4 li p {
    font-size: 16px;
  }

  /* ==================== 移动端item3布局调整 ==================== */
  .item3-main {
    position: relative;
    background: linear-gradient(135deg, #1d97df 0%, #1578af 100%);
    padding: 40px 0;
  }

  .item3-bg {
    display: none;
  }

  .item3-list {
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    z-index: 10;
  }

  .item3-list li {
    height: auto;
    margin-bottom: 0;
  }

  .item3-list li img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  /* 移动端item3文字叠加层 - 底部展示 */
  .item3-list li p {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 12px;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.6) 70%,
      transparent 100%
    );
    font-size: 16px;
    text-align: left;
    align-items: flex-end;
    justify-content: center;
    opacity: 1; /* 移动端直接显示 */
  }

  .footer {
    padding: 35px 10px;
  }
}

/* 小屏幕手机导航栏 */
@media screen and (max-width: 480px) {
  .nav {
    height: 0px;
  }

  .nav-toggle {
    padding: 12px;
    right: 10px;
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
    margin: 4px 0;
  }

  .nav a {
    padding: 14px 20px;
  }

  .nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .nav a::after {
    bottom: 6px;
    height: 2px;
  }

  .nav h3 {
    font-size: 14px;
  }

  .nav a:hover h3 {
    transform: translateY(-1px);
  }

  /* ==================== 手机端item1 Grid布局调整 ==================== */
  .item1 ul {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 手机端item1文字叠加层 */
  .item1 li p {
    padding: 12px 10px;
  }

  /* ==================== 手机端item4 Grid布局调整 ==================== */
  .item4 ul {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .item4 li p {
    font-size: 16px;
  }

  /* ==================== 手机端item3布局调整 ==================== */
  .item3-main {
    padding: 30px 0;
  }

  .item3-list {
    width: 92%;
    margin: 0 auto;
    padding: 0;
    gap: 20px;
  }

  .item3-list li img {
    aspect-ratio: 16 / 10;
  }

  /* 手机端item3文字叠加层 - 底部展示 */
  .item3-list li p {
    padding: 12px 10px;
  }
}
