.service1 {
  padding: 90px 0;
  background: #fff;
  text-align: center
}

.service1 h3 {
  font-size: 36px;
  color: #333;
  line-height: 1;
  font-weight: 700
}

.service1 p {
  margin-top: 35px;
  font-size: 20px;
  line-height: 1.5;
  color: #666
}


.service4 {
  padding: 90px 0;
  background: url('../images/ibg4.jpg') no-repeat center/cover;
}

.service4 h3 {
  font-size: 36px;
  color: #fff;
  line-height: 1;
  font-weight: 700;
  text-align: center
}

.service4 ul {
  margin: 45px -8px 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap
}

.service4 ul li {
  width: 16.66666666%;
  padding: 8px;
  cursor: pointer;
  position: relative;
  box-sizing: border-box
}

.service4 ul li .box {
  background: rgba(255, 255, 255, 0.24);
  padding: 35px 15px;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  transition: all 0.5s;
  -webkit-transition: all 0.5s
}

.service4 ul li img {
	width: 44px;
}

.service4 ul li p {
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  margin-top: 23px;
  word-wrap: break-word;
}

.service5 {
  position: relative;
  background: #fff;
  padding: 90px 0
}

.service5 h3 {
  font-size: 36px;
  color: #333;
  font-weight: 700;
  line-height: 1;
  text-align: center
}

.service5 ul {
  margin: 40px -12px 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap
}

.service5 ul li {
  width: 33.33333333%;
  padding: 12px;
  cursor: pointer;
  position: relative;
  box-sizing: border-box
}

.service5 ul li .box {
  padding: 17px 17px 0;
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 2px 17px 0 #e9e9e9
}

.service5 ul li .pic {
  display: block;
  overflow: hidden;
  width: 100%;
  position: relative
}

.service5 ul li .pic::before {
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid transparent;
  z-index: 10
}

.service5 ul li .pic > img {
  width: 100%;
  display: block;
  transition: all 0.3s ease 0s
}

.service5 ul li .txt {
  padding: 24px 15px;
  text-align: center
}

.service5 ul li .txt h5 {
  font-size: 16px;
  color: #333;
  line-height: 28px;
  height: 56px;
  overflow: hidden;
  display: -webkit-box !important;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service5 ul li:hover .pic > img {
  transform: scale(1.1) rotate(3deg);
  -o-transform: scale(1.051) rotate(1deg);
  -webkit-transform: scale(1.05) rotate(1deg);
  -moz-transform: scale(1.051) rotate(1deg);
  -ms-transform: scale(1.051) rotate(1deg);
  opacity: .8
}

.service5 ul li:hover .pic:before {
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5)
}

.service5 ul li:last-child .box {
  padding: 17px
}

.service5 ul li:last-child .t {
  border: 1px solid #f0f0f0;
  height: 100%;
  width: 100%;
  padding: 30px;
  box-sizing: border-box;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center
}

.service5 ul li:last-child .t p {
  font-size: 18px;
  color: var(--btn-bg);
  line-height: 1.3;
  font-weight: 700
}

.service5 ul li:last-child .t p::before {
  content: "";
  background: url('../images/i1.png') no-repeat;
  width: 30px;
  height: 22px;
  display: block;
  margin: 0 auto 30px 0
}

.service5 ul li:last-child .t p::after {
  content: "";
  background: url('../images/more2.png') no-repeat;
  width: 58px;
  height: 17px;
  display: block;
  margin: 30px 0 0 auto
}

@-webkit-keyframes arrow-nudge-right {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0)
  }

  40% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px)
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0)
  }
}

@keyframes arrow-nudge-right {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0)
  }

  40% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px)
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0)
  }
}

.service5 ul li:last-child:hover .t p::after {
  -webkit-animation: arrow-nudge-right 0.5s cubic-bezier(0.22,1.03,0.69,0.97) 0.3s;
  animation: arrow-nudge-right 0.5s cubic-bezier(0.22,1.03,0.69,0.97) 0.3s
}


@media screen and (max-width: 1500px) {
  .service4 ul li p {
    font-size: 17px;
    line-height: 1.4
  }
}
@media screen and (max-width: 1300px){
	.service1{
		padding: 60px 0;
	}
	.service4,
	.service5{
		padding: 70px 0;
	}
}

@media screen and (min-width: 768px) {
  .service4 ul li:hover .box {
    background: var(--bg-color);
    transform: scale(1.05);
    -webkit-transform: scale(1.05)
  }

  .service4 ul li:hover .ico img:first-child {
    display: none
  }

  .service4 ul li:hover .ico img:last-child {
    display: inline-block
  }

  .service4 ul li:hover p {
    color: #fff
  }
}
@media screen and (max-width: 1199px){
	.service4,
	.service5{
		padding: 60px 0;
	}
	.service1 h3, .service4 h3, .service5 h3 {
	  font-size: 34px
	}
	.service4 ul li {
	    width: 25%;
	}
}
@media screen and (max-width: 991px) {
  .service1,
  .service4,
  .service5{
  	padding: 30px 0;
  }
  .service1 h3,
  .service4 h3,
  .service5 h3 {
    font-size: 30px
  }

  .service1 {
    padding: 30px 0
  }

  .service1 p {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.3
  }

  .service4 {
    padding: 30px 0;
    background-size: cover
  }

  .service4 ul {
    margin: 25px -8px 0
  }

  .service4 ul li {
    width: 33.3333333%;
    padding: 8px
  }

  .service4 ul li .box {
    padding: 20px 10px
  }

  .service4 ul li img {
	  width: 32px;
  }

  .service4 ul li p {
    font-size: 16px;
    line-height: 1.3;
    margin-top: 20px
  }

  .service5 {
    padding: 30px 0
  }

  .service5 ul {
    margin: 25px -10px 0
  }

  .service5 ul li {
    width: 50%;
    padding: 10px
  }

  .service5 ul li .box {
    padding: 10px 10px 0;
    box-shadow: 0 2px 10px 0 #e9e9e9
  }

  .service5 ul li .txt {
    padding: 15px 10px
  }

  .service5 ul li .txt h5 {
    font-size: 17px;
    line-height: 24px;
    height: 48px
  }

  .service5 ul li:last-child .box {
    padding: 10px
  }

  .service5 ul li:last-child .t {
    padding: 20px
  }

  .service5 ul li:last-child .t p {
    font-size: 22px;
  }

  .service5 ul li:last-child .t p::before {
    margin: 0 auto 20px 0
  }

  .service5 ul li:last-child .t p::after {
    margin: 20px 0 0 auto
  }

}


@media screen and (max-width: 767px) {
  .service1 h3, .service4 h3, .service5 h3 {
    font-size: 24px
  }
  .service4 ul li{
	  width: 50%;
  }

  .service5 ul li {
    width: 50%;
    padding: 8px;
  } 
  .service5 ul li:last-child{
	  width: 100%;
  }
  .service5 ul li .txt h5 {
    height: auto
  }

  .service5 ul li:last-child .t p {
    font-size: 20px
  }
}