header {
  height: 70vh;
  background-image: url(../assets/support.png); 
  background-size: cover;
  background-position: left bottom;
}
header .banner {
  padding-top: 20vh;
  text-align: center;
}
header .primary-color {
  color: #252525;
  background-clip: text;
  text-align: center;
  line-height: 3rem;
  font-size: 3rem;
  margin: 0;
  margin-bottom: 1rem;
}
header p {
  width: 35vw;
  line-height: 2rem;
  padding-top: 2rem;
  font-size: 1.2rem;
  margin: 0 auto;
  text-align: justify;
}
header .banner ul {
  display: flex;
  justify-content: flex-start;
}
header .banner ul li {
  position: relative;
  margin-top: 20px;
  margin-right: 48px;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background-color: #fff;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  
}
header .banner ul li span {
  display: block;
  margin-top: 60px;
  font-size: 0.875rem;
  text-align: center;
}
main{
  overflow: hidden;
}
.application {
  background-color: rgba(0, 0, 0, 0.01);
  padding: 2rem 0;
  box-sizing: border-box;
}
h3 {
  font-size: 1.5rem;
  display: block;
  width: fit-content;
  padding: 0;
  margin: 0;
  position: relative;
  color: #000019;
}

h3:before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 25%;
  width: 50%;
  height: 3px;
  background-image: linear-gradient(to right, rgb(50, 115, 230), rgb(3, 19, 66));
}
.application h3 {
  margin-bottom: 2rem;
}
.application p {
  color: #000019;
  font-size: 1rem;
  text-indent: 10vw;
  line-height: 1rem;
}

.application > div {
  padding: 3rem 0;
  display: flex;
  justify-content: center;
  gap: 2vw
}

.application > div > div {
  width: 8vw;
  height: 40vh;
  position: relative;
  overflow: hidden;
  box-shadow:
      10px 0px 15px 0px rgba(0, 0, 0, 0.2),
      /* 右边的阴影 */
      0px 10px 15px 0px rgba(0, 0, 0, 0.2);
      /* 下边的阴影 */
  border-radius: 4vw;

}
.application > div > div:before {
  content: '';
  width: 0.3rem;
  height: 1rem;
  background-color: #2864e6;
  position: absolute;
  left: 0;
  bottom: 4rem;
  z-index: 1;
}
.application>div>div h4 {
  position: absolute;
  display: block;
  left: 1.5rem;
  bottom: 4rem;
  font-size: 1rem;
  margin: 0;
  color: #fff;
  z-index: 1;
}
.application>div>div .img {
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: auto 100%;
  transition: all 0.5s ease;
}

.application>div>div .img:hover {
  transform: scale(1.1);
  transition: all 0.5s ease;
}

.application .img.oneapp {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, #000000 100%), url(../assets/robot.jpeg);
}

.application .img.twoapp {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, #000000 100%), url(../assets/building.jpeg);
}

.application .img.threeapp {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, #000000 100%), url(../assets/energy.jpeg);
}

.application .img.fourapp {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, #000000 100%), url(../assets/communication.jpeg);
}

.application .img.fiveapp {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, #000000 100%), url(../assets/car.jpg);
}

.application .img.sixapp {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, #000000 100%), url(../assets/medical.jpeg);
}

.story {
  padding: 4rem 10vw;
  background-image: url(../assets/story_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  display: flex;
} 
.story > div:first-child {
  width: 30%;
}
.story>div:last-child {
  width: 70%;
}
.story p {
  color: #000019;
  margin: 0;
  padding: 0;
}
.story .title {
  font-size: 2rem;
  margin-bottom: 3rem;
}
.story span {
  color: #2e6be5;
  font-size: 3rem;
  font-weight: bolder;
}
.story .article {
  text-indent: 2rem;
  line-height: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: justify;
}
.story ul {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 5rem;
  margin: 4rem 0;
}
.story ul li {
  line-height: 1rem;
  text-align: center;
  color: #2e6be5;
  font-size: 2.5rem;
}
.story ul li span {
  font-size: 1rem;
}
.products {
  background-color: rgba(0, 0, 0, 0.05);
  padding-bottom: 5rem;
}
.products .title {
  padding: 3rem 0;
  text-align: center;
  color: aliceblue;
  font-size: 2rem;
}
.products > div {
  display: flex;
  gap: 2.5vw;
  justify-content: center;
}
.products > div > div {
  width: 25vw;
  height: 60vh;
  border-radius: 1rem;
  position: relative;
}
.products .headimg {
  height: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.products .headimg.onepro {
  background-image: url(../assets/emc.jpg);
}

.products .headimg.twopro {
  background-image: url(../assets/energyproducts.jpg);
}

.products .headimg.threepro {
  background-image: url(../assets/transformer.jpg);
}
.products .card {
  min-height: 55%;
  height: fit-content;
  position: absolute;
  top: 45%;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #252525;
  z-index: 5;
  padding: 0 1rem;
}
.products .card h1 {
  font-size: 1.5rem;
  margin: 0;
}
.products .card p {
  color: rgba(255, 255, 255, 0.8);
}
.products a {
  display: block;
  width: fit-content;
  border-radius: 1rem; 
  padding: 0.5rem 2rem; 
  background-image: linear-gradient(to bottom, rgb(50, 115, 230), rgb(3, 19, 66));
  margin: 2rem auto;
}
.products a:hover {
  color: rgba(255, 255, 255, 0.8);
}


@media only screen and (max-width: 1023px) { 
  header {
    height: 50vh;
  }
  header .banner {
    padding-top: 10vh;
  }
  header .primary-color {
    display: block;
    width: 70vw;
    line-height: 2rem;
    font-size: 1.5rem;
    margin: 0 auto;
  }
  header p {
    line-height: 1.5;
    font-size: 1.1rem;
    width: 70vw;
  }
  .application p {
    padding:0 2rem;
    text-indent: 10vw;
    line-height: 1rem;
  }
  .application > div {
    padding: 3rem 1rem;
    flex-direction: column;
    justify-content: center;
    gap: 6vw;
  }

  .application .child {
    width: 100%;
    height: 30vh;
  }

  .application>div>div:before,
  .application>div>div h4 {
    bottom: 2rem;
  }

  .story {
    padding: 4rem 5vw;
    flex-direction: column;
  }
  .story>div:first-child {
    width: 100%;
  }
  .story>div:last-child {
    width: 100%;
  }
  .story ul {
    flex-direction: column;
  }
  .story ul li {
    line-height: 2rem;
    font-size: 2rem;
  }
  .products {
    padding: 0;
    margin: 0;
  }
  .products .title {
    margin: 0;
    color: #000019;
  }
  .products > div  {
    flex-direction: column;
  }
  .products > div > div {
    width: 90vw;
    height: 50vh;
    margin: 0 auto;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
  }
  .products .card h1,  .products .card h4 {
    font-size: 1rem;
  }
  .products .card p{
    font-size: 1rem;
  }
}