/* 主横幅区域 */

.wap-banner {
  display: none;
}

.hero {
  height: 642px;
  width: 100%;
  background: url("../images/banner1.jpg") no-repeat center;
  margin-top: 128px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateX(-50%) translateY(-50%);
  }
  100% {
    transform: translateX(-50%) translateY(-51%);
  }
}

/* 关于我们区域 */
.about {
  padding: 5rem 0;
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about-text {
  display: flex;
  flex-direction: column;
}

.about-text p {
  margin-top: 31px;
  color: #666;
  line-height: 2rem;
  letter-spacing: 1px;
  text-align: justify;
  line-height: 1.8;
  flex: 1;
}

.about-text .more-img {
  width: 104px;
  height: 31px;
}

.about-image {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: translateY(-10px);
}

.xckw {
  margin-top: 100px;
}

/* 应用领域 */
.area {
  height: 715px;
  width: 100%;
  margin-top: 90px;
  background: url("../images/area-bg.jpg") no-repeat center;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.area-card {
  width: 100%;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.area-image {
  width: 336px;
  height: 159px;
}
.area-image img {
  width: 100%;
  border: 3px solid #fff;
}

.area-content {
  font-size: 14px;
  color: #fff;
  margin: 15px 0 0 0;
  padding-left: 40px;
  position: relative;
  cursor: pointer;
}

.area-content p {
  font-size: 12px;
}

.area-content::before {
  position: absolute;
  top: 5px;
  left: 0px;
}

.a1::before {
  content: url("../images/a1.png");
}
.a2::before {
  content: url("../images/a2.png");
}
.a3::before {
  content: url("../images/a3.png");
}
.a4::before {
  content: url("../images/a4.png");
}
.a5::before {
  content: url("../images/a5.png");
}
.a6::before {
  content: url("../images/a6.png");
}

.area-content::after {
  content: "→";
  position: absolute;
  top: 0px;
  right: 30px;
  font-size: 25px;
}

.area-card:hover {
  transform: translateY(-10px);
}

/* 服务区域 */
.services {
  padding: 5rem 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  width: 100%;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-box {
  width: 180px;
  height: 180px;
}

.service-card h4 {
  margin-top: 15px;
  font-size: 32px;
  font-weight: 400;
  color: #58575a;
}

.service-card p {
  color: #666;
  font-size: 14px;
}

.service-card .btn-more {
  background: linear-gradient(45deg, #39b9d4, #44ad3b);
  color: white;
  padding: 0.2rem 1.5rem 0.4rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 15px;
}

.service-card .btn-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

/* 合作伙伴区域 */
.partner {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.partner-box {
  margin-top: 50px;
}

/* 产品展示区域 */
.news {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  overflow: hidden;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 15px;
  border-radius: 20px 20px 50px 20px;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.news-link {
  display: block;
  color: #615f5f;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  height: 80px;
}

.news-date {
  width: 100%;
  display: inline-block;
  color: #959697;
  border-bottom: 1px solid #959697;
  padding-bottom: 15px;
}

.news-card p {
  color: #616161;
  font-size: 0.8rem;
  margin-top: 5px;
}

/* 响应式设计 */

@media (max-width: 1024px) {
  .wap-banner {
    display: block;
    width: 100%;
    height: auto;
  }

  .hero {
    height: auto;
    background: transparent;
  }

  .xckw {
    margin-top: 30px;
  }

  .area {
    height: auto;
    margin-top: 30px;
    background: url("../images/area-bg.jpg") repeat bottom right;
    padding-bottom: 30px;
  }

  .area-card {
    width: 100%;
  }
  .area-card .area-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .container{
    padding: 0 20px;
  }

   .services-grid{
    width: 100%;
    grid-template-columns: 1fr 1fr;
    box-sizing: border-box;
    gap: 0.5rem;
   }

   .service-card{
    padding: 15px 10px;
   }

   .service-box{
    width: 110px;
    height: 110px;
   }

    .service-card h4{
      font-size: 17px;
    }

    .service-card p{
      font-size: 12px;
    }
}


