h2:not(footer h2) {
  position: relative;
  color: #666;
  text-align: center;
  margin-bottom: 60px;
  font-size: 32px;
  font-weight: 500;
  padding-bottom: 12px;
}

h2:not(footer h2)::after {
  content: "";
  width: 30px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
  position: absolute;
  background-color: #999;
  height: 2px;
  bottom: 0;
  display: block;
}

.top-section .swiper-slide img {
  width: 100%;
}

.top-section .slide-info {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  text-align: center;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #fff;
}

.top-section .slide-info strong {
  -webkit-box-shadow: 3px 3px 5px rgb(0 0 0 / 30%);
  box-shadow: 3px 3px 5px rgb(0 0 0 / 30%);
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: var(--primary-color1);
  margin-bottom: 25px;
  line-height: 35px;
  height: 35px;
  padding-left: 30px;
  padding-right: 30px;
  font-weight: 500;
  font-size: 18px;
  -webkit-transform: translate3d(0px, -122px, 0px);
  transform: translate3d(0px, -122px, 0px);
  -webkit-transform-origin: 50% 50% 0;
  -ms-transform-origin: 50% 50% 0;
  transform-origin: 50% 50% 0;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 1.3s;
  -webkit-transition-duration: 1.3s;
  transition-duration: 1.3s;
  -webkit-transition-delay: 0.7s;
  -o-transition-delay: 0.7s;
  transition-delay: 0.7s;
}

.top-section .slide-info p {
  text-shadow: 3px 3px 5px rgb(0 0 0 / 60%), -3px -3px 5px rgb(0 0 0 / 60%),
    3px 3px 5px rgb(0 0 0 / 30%), -3px -3px 5px rgb(0 0 0 / 30%);
  margin-bottom: 30px;
  font-weight: 500;
  font-size: 33px;
  width: 50%;
  text-align: center;
  margin-left: auto;
  line-height: 1.8;
  margin-right: auto;
  -webkit-transform: translate3d(0px, -122px, 0px);
  transform: translate3d(0px, -122px, 0px);
  -webkit-transform-origin: 50% 50% 0;
  -ms-transform-origin: 50% 50% 0;
  transform-origin: 50% 50% 0;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 1.3s;
  -webkit-transition-duration: 1.3s;
  transition-duration: 1.3s;
  -webkit-transition-delay: 0.7s;
  -o-transition-delay: 0.7s;
  transition-delay: 0.7s;
}

.top-section .swiper-slide .slide-info .move-top {
  overflow: hidden;
  -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
  -ms-transform: matrix(1, 0, 0, 1, 0, 0);
  transform: matrix(1, 0, 0, 1, 0, 0);
}

.top-section .swiper-slide-active .slide-info .more {
  opacity: 1;
  -webkit-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.top-section .swiper-slide-active .slide-info strong,
.top-section .swiper-slide-active .slide-info p {
  -webkit-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.top-section .slide-info .more {
  -webkit-box-shadow: 3px 3px 5px rgb(0 0 0 / 30%);
  box-shadow: 3px 3px 5px rgb(0 0 0 / 30%);
  display: inline-block;
  width: 130px;
  height: 40px;
  line-height: 40px;
  padding-left: 25px;
  padding-right: 25px;
  background-color: #fff;
  color: var(--primary-color1);
  font-size: 14px;
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-transform: translate3d(0px, 170px, 0px);
  transform: translate3d(0px, 170px, 0px);
  -webkit-transform-origin: 50% 50% 0;
  -ms-transform-origin: 50% 50% 0;
  transform-origin: 50% 50% 0;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 1.5s;
  -webkit-transition-duration: 1.5s;
  transition-duration: 1.5s;
  -webkit-transition-delay: 0.7s;
  -o-transition-delay: 0.7s;
  transition-delay: 0.7s;
}

.top-section .slide-info .more:hover {
  -webkit-transition: all 0.3s !important;
  -o-transition: all 0.3s !important;
  transition: all 0.3s !important;
  background-color: var(--primary-color1);
  color: #fff;
}

.swiper-button-prev,
.swiper-button-next,
.swiper-button-prev1,
.swiper-button-next1 {
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.top-section .swiper-button-prev,
.top-section .swiper-button-next,
.teacher-section .swiper-button-prev,
.teacher-section .swiper-button-next,
.news-section .swiper-button-prev,
.news-section .swiper-button-next {
  background-color: rgba(0, 0, 0, 0.2);
  height: 5vw;
  width: 5vw;
  border-radius: 50%;
  color: #fff;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.top-section .swiper-button-prev:hover,
.top-section .swiper-button-next:hover,
.news-section .swiper-button-prev:hover,
.news-section .swiper-button-next:hover {
  background-color: var(--primary-color1);
}

.service-section {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #f7f7f7;
}

.service-section .service-content {
  position: relative;
  border: 3px solid #16bcf0;
  border-radius: 20px;
  padding: 30px 40px 30px 20px;
  min-height: 210px;
  display: block;
  height: 100%;
}

.service-section .service-img {
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateX(50%) translateY(-50%);
  -ms-transform: translateX(50%) translateY(-50%);
  transform: translateX(50%) translateY(-50%);
}

.service-section h3 {
  font-weight: bold;
  color: #2b2b2b;
  font-size: 20px;
  display: block;
  margin-bottom: 10px;
}

.service-section p {
  color: #717171;
  font-size: 15px;
  line-height: 30px;
}

.why-us-section {
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
  background-image: url(./../image/bg1.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.why-us-section:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.why-us-section .container {
  position: relative;
  z-index: 1;
}

.why-us-section h2,
.newsletter-section h2 {
  color: #fff;
}

.why-us-section h2::after,
.newsletter-section h2::after {
  background-color: #fff;
}

.why-us-section .swiper-slide div {
  padding: 20px;
  background-color: #fff;
  text-align: center;
}

.why-us-section img {
  margin-bottom: 25px;
  width: 100%;
}

.why-us-section h3 {
  font-size: 21px;
  font-weight: 500;
  color: var(--primary-color2);
  display: block;
  margin-bottom: 20px;
}

.why-us-section p {
  height: 150px;
  overflow: hidden;
  padding: 0 20px;
  color: #666;
  font-size: 13px;
  text-align: justify;
  line-height: 24px;
  margin-bottom: 0;
}

.why-us-section a {
  background-color: var(--primary-color1);
  color: #fff;
  height: 60px;
  line-height: 60px;
  display: block;
  text-align: center;
  font-size: 15px;
  padding-left: 10px;
  padding-right: 10px;
}

.why-us-section a:hover,
.languege-section .button-div div:hover,
.teacher-section .swiper-button-prev:hover,
.teacher-section .swiper-button-next:hover {
  background-color: var(--primary-color2);
}

.languege-section {
  background: rgb(198, 229, 250);
  background: -webkit-gradient(linear,
      left top, left bottom,
      from(rgba(198, 229, 250, 1)),
      color-stop(20%, rgba(248, 250, 255, 1)));
  background: -o-linear-gradient(top,
      rgba(198, 229, 250, 1) 0%,
      rgba(248, 250, 255, 1) 20%);
  background: linear-gradient(180deg,
      rgba(198, 229, 250, 1) 0%,
      rgba(248, 250, 255, 1) 20%);
  padding-top: 55px;
  padding-bottom: 55px;
  position: relative;
  border-bottom: 1px solid #fff;
}

.languege-section img {
  -webkit-box-shadow: 0 10px 16px 0 rgb(42 124 204 / 30%);
  box-shadow: 0 10px 16px 0 rgb(42 124 204 / 30%);
  margin-bottom: 20px;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 0.9s;
  -webkit-transition-duration: 0.9s;
  transition-duration: 0.9s;
  border-radius: 10px;
}

.languege-section h3 {
  display: block;
  font-weight: 500;
  font-size: 24px;
  color: #333;
}

.languege-section .swiper-slide {
  text-align: center;
}

.languege-section .swiper-slide:hover img {
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.languege-section .button-div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 60px;
  gap: 5px;
}

.languege-section .button-div div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--primary-color1);
  margin-right: 5px;
  border-radius: 50%;
  width: 50px;
  color: #fff;
  height: 50px;
}

.teacher-section,
.news-section {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #fff;
}

.teacher-section .swiper-slide {
  -webkit-box-shadow: 0 10px 8px 0 rgb(0 0 0 / 15%);
  box-shadow: 0 10px 8px 0 rgb(0 0 0 / 15%);
  margin-bottom: 18px;
  background-color: #2a7ccc;
}

.teacher-section .swiper-slide img {
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.teacher-section .swiper-slide:hover img {
  opacity: 0.8;
}

.teacher-section strong {
  background-color: var(--primary-color1);
  display: block;
  padding-right: 30px;
  font-size: 24px;
  height: 60px;
  line-height: 60px;
  position: relative;
  padding-left: 70px;
  color: #fff;
  font-weight: normal;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.teacher-section .swiper-slide:hover strong {
  background-color: var(--primary-color2);
}

.teacher-section .swiper-button-prev,
.teacher-section .swiper-button-next {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
}

.newsletter-section {
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
  background-image: url(./../image/bga.png);
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.newsletter-section p {
  color: #fff;
}

.news-section .news-item {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}

.news-section img {
  width: 100%;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 0.9s;
  -webkit-transition-duration: 0.9s;
  transition-duration: 0.9s;
}

.news-section .news-item:hover img {
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.news-section .news-detail {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.news-section .news-detail a {
  font-size: 15px;
  font-weight: 500;
  padding-left: 20px;
  padding-right: 20px;
  position: absolute;
  width: 100%;
  bottom: 60px;
  right: 0;
  padding-bottom: 15px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.news-section .news-detail a:after {
  width: 30px;
  height: 3px;
  position: absolute;
  right: 20px;
  bottom: 0;
  content: '';
  display: block;
  background-color: #fff;
}

.news-section .news-detail>div {
  position: absolute;
  right: 0;
  padding-right: 20px;
  padding-left: 20px;
  bottom: 26px;
  width: 100%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.news-section .news-detail>div span:nth-child(2) {
  padding-right: 10px;
  line-height: 18px;
  margin-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.8);
}

.news-section .swiper-button-prev,
.news-section .swiper-button-next {
  width: 50px;
  height: 50px;
}


@media only screen and (max-width: 991px) {
  .top-section .slide-info p {
    font-size: 17px;
  }

  .languege-section h3,
  .teacher-section strong {
    font-size: 19px;
  }
}

@media only screen and (max-width: 767px) {
  h2:not(footer h2) {
    font-size: 25px;
  }

  .top-section .slide-info p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .top-section .slide-info strong {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .top-section .swiper-button-prev,
  .top-section .swiper-button-next {
    height: 8vw;
    width: 8vw;
  }
}

@media only screen and (max-width: 480px) {
  .top-section .slide-info p {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .top-section .slide-info strong {
    font-size: 14px;
    height: 25px;
    line-height: 25px;
  }

  .top-section .slide-info .more {
    height: 30px;
    line-height: 30px;
  }

  .top-section .swiper-button-prev,
  .top-section .swiper-button-next {
    height: 10vw;
    width: 10vw;
  }
}