#top-banner {
  width: 100%;
  height: 800px;
  background-image: url(../images/智慧水利-1.png);
  background-size: cover;
  position: relative;
}

#top-banner .img-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 60px;
  grid-row-gap: 50px;
  position: absolute;
  top: 25%;
  left: 60%;
  width: 10%;
  height: 10%;
  justify-items: center;
  /* 水平居中 */
  align-items: center;
  /* 垂直居中 */
}

#top-banner .img-box img {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  display: block;
}

/* 当元素进入视口时添加此类来触发动画 */
#top-banner .img-box img.animate {
  animation: fadeInScale 0.8s ease-out forwards;
}

/* 为每个图片设置不同的动画延迟，实现依次出现效果 */
#top-banner .img-box img.animate:nth-child(1) {
  animation-delay: 0.3s;
}

#top-banner .img-box img.animate:nth-child(2) {
  animation-delay: 0.6s;
}

#top-banner .img-box img.animate:nth-child(3) {
  animation-delay: 0.9s;
}

#top-banner .img-box img.animate:nth-child(4) {
  animation-delay: 1.2s;
}

#product-intro {
  width: 100%;
  height: 100%;
  background-color: #EAEAEA;
}

/* 标题区域 */
#product-intro .profile-header {
  text-align: left;
  margin-bottom: 30px;
  max-width: 1425px;
  margin: 0 auto;
}

#product-intro .profile-title-en {
  font-family: 'Arial', sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: bold;
  color: #1c4b90;
  margin: 0 0 10px 0;
  text-align: center;
  letter-spacing: 2px;
  padding-top: 100px;
}

#product-intro .profile-title-cn {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: clamp(28px, 3.5vw, 50px);
  margin: 0;
  text-align: center;
  color: #333;
  font-weight: 400;
  padding-bottom: 100px;
}

#product-intro .profile-title-desc {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 18px;
  color: #727171;
  text-align: center;
  margin-top: 20px;
  line-height: 30px;
}

#product-intro img {
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  margin-top: 100px;
}

#product-intro img.animate {
  animation: fadeInScale 2s ease-out forwards;
}

/* 渐显缩放动画 */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 特点部分样式 */
#features {
  padding: 80px 0;
  background-color: #eaeaea;
}

#features .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

#features .feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#features .feature-image {
  width: 100%;
  height: 300px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

#features .feature-image.animate {
  animation: fadeInScale 0.8s ease-out forwards;
}

#features .feature-card:nth-child(1) .feature-image.animate {
  animation-delay: 0.2s;
}

#features .feature-card:nth-child(2) .feature-image.animate {
  animation-delay: 0.4s;
}

#features .feature-card:nth-child(3) .feature-image.animate {
  animation-delay: 0.6s;
}

#features .feature-card:nth-child(4) .feature-image.animate {
  animation-delay: 0.8s;
}

#features .feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#features .feature-content {
  padding: 0 30px 30px 0;
  text-align: center;
  flex: 1;
}

#features .feature-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: #1c4b90;
  margin-bottom: 15px;
  line-height: 1.4;
  text-align: left;
}

#features .feature-card p {
  font-size: 14px;
  line-height: 30px;
  color: #727171;
  text-align: left;
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  #features .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 10px;
  }

  #features .feature-image {
    height: 200px;
  }

  #features .feature-content {
    padding: 20px;
  }
}
