.main-1 {
  background-image: url("../images/img (19).png");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom center;
}
.main-1 .tabs {
  display: flex;
  justify-content: center;
  gap: 7rem;
  border-bottom: 0.2rem solid #ebebeb;
  margin-bottom: 4.45rem;
}
.main-1 .tabs a {
  position: relative;
  font-size: 1.2rem;
  color: #999;
  padding-bottom: 1rem;
}
.main-1 .tabs a:hover,
.main-1 .tabs a.active {
  color: #007cc2;
}
.main-1 .tabs a:hover::before,
.main-1 .tabs a.active::before,
.main-1 .tabs a:hover::after,
.main-1 .tabs a.active::after {
  opacity: 1;
}
.main-1 .tabs a::before {
  content: "";
  position: absolute;
  bottom: -0.1rem;
  left: 50%;
  width: 8rem;
  border-bottom: 0.2rem solid #007cc2;
  transform: translateX(-50%);
  opacity: 0;
}
.main-1 .tabs a::after {
  content: "";
  position: absolute;
  bottom: -0.4rem;
  left: 50%;
  border-left: 0.4rem solid transparent;
  border-right: 0.4rem solid transparent;
  border-top: 0.4rem solid #007cc2;
  transform: translateX(-50%);
  opacity: 0;
}
.main-1 .swiper {
  padding-bottom: 5rem;
  display: none;
}
.main-1 .swiper.active {
  display: block;
}
.main-1 .swiper .swiper-button-prev {
  left: 15rem !important;
}
.main-1 .swiper .swiper-button-next {
  right: 15rem !important;
}
.main-1 .swiper-slide {
  position: relative;
  transform: scale(0.8);
}
.main-1 .swiper-slide.swiper-slide-active {
  transform: scale(1);
}
.main-1 .swiper-slide.swiper-slide-active .txt {
  opacity: 1;
}
.main-1 .swiper-slide .img {
  height: 25rem;
  border-radius: 0.5rem;
  overflow: hidden;
}
.main-1 .swiper-slide .txt {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: calc(100% - 7rem);
  padding: 2rem;
  transform: translate(-50%, 50%);
  border-radius: 0.5rem;
  background-color: #007cc2;
  opacity: 0;
}
.main-1 .swiper-slide .txt * {
  color: #fff;
}
.main-1 .swiper-slide .txt h6 {
  position: relative;
  font-size: 1.2rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.main-1 .swiper-slide .txt h6::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1.35rem;
  border-bottom: 0.1rem solid #fff;
}
.main-1 .swiper-slide .txt p {
  line-height: 1.6;
}
.main-2 {
  background-image: url("../images/img (19).png");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom center;
}
.main-2 .content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.7rem;
}
.main-2 .item {
  padding: 3rem 2.5rem;
  border-radius: 0.5rem;
  background-color: #ddedf8;
  background-image: url("../images/img (25).png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
}
.main-2 .item:hover {
  background-image: url("../images/img (26).png");
}
.main-2 .item:hover * {
  color: #fff !important;
}
.main-2 .item:hover h6::after {
  border-color: #fff;
}
.main-2 .item h6 {
  position: relative;
  font-size: 1.2rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.main-2 .item h6::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1.35rem;
  border-bottom: 0.1rem solid #007cc2;
}
.main-2 .item p {
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .main-1 .tabs {
    gap: 1rem;
  }
  .main-1 .tabs a {
    font-size: 1rem;
  }
  .main-1 .swiper-slide .txt {
    width: calc(100% - 2rem);
  }
  .main-1 .swiper-slide .txt h6 {
    padding-bottom: 1rem;
    margin-bottom: 1rem !important;
  }
  .main-1 .swiper .swiper-button-prev {
    left: 1rem !important;
  }
  .main-1 .swiper .swiper-button-next {
    right: 1rem !important;
  }
  .main-0 .content {
    grid-template-columns: 1fr !important;
  }
  .main-0 .content .item {
    padding: 1rem !important;
    gap: 1rem !important;
  }
  .main-2 .content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .main-2 .content .item {
    padding: 1rem;
  }
}
