/** service-section **/

.service-section {
  position: relative;
  background: rgba(80, 174, 177, 0.12);
}

.service-block-one .inner-box {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 30px;
  padding: 20px;
  margin-bottom: 30px;
  overflow: hidden;
}

.service-block-one .inner-box:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  transform: scale(0, 0);
  transition: all 500ms ease;
}

.service-block-one .inner-box:hover:before {
  transform: scale(1, 1);
}

.service-block-one .inner-box .icon-box {
  position: relative;
  display: inline-block;
  font-size: 80px;
  margin-bottom: 32px;
  min-height: 91px;
  transition: all 500ms ease;
}

.service-block-one .inner-box h3 {
  position: relative;
  display: block;
  font-size: 25px;
  line-height: 38px;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-block-one .inner-box h3 a {
  display: inline-block;
  color: var(--title-color);
}



.service-block-one .inner-box h3 a:hover {}

.service-block-one .inner-box p {
  transition: all 500ms ease;
}



.service-block-one .inner-box .shape {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 185px;
  height: 160px;
  background-repeat: no-repeat;
  transition: all 500ms ease;
}

.service-block-one .inner-box:hover .shape {
  opacity: 0;
}

.service-block-one .inner-box .overlay-shape {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 185px;
  height: 160px;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 500ms ease;
}

.service-block-one .inner-box:hover .overlay-shape {
  opacity: 1;
}

.service-section .more-btn .theme-btn {
  border-color: #142458;
  color: #142458;
}

.service-section .more-btn .theme-btn:hover {
  color: #fff;
}


/** service-style-two **/

.service-style-two {
  padding: 210px 0px 90px 0px;
}

.service-block-two .inner-box {
  position: relative;
  display: block;
  border: 1px solid #D9D9D9;
  border-radius: 5px;
  padding: 50px 45px;
  margin-bottom: 30px;
  overflow: hidden;
  z-index: 1;
  transition: all 500ms ease;
}

.service-block-two .inner-box:hover {}

.service-block-two .inner-box:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 0%;
  left: 0px;
  top: 0px;
  border-radius: 5px;
  z-index: -1;
  transition: all 500ms ease;
}

.service-block-two .inner-box:hover:before {
  height: 100%;
}

.service-block-two .inner-box .icon-box {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 110px;
  line-height: 110px;
  text-align: center;
  border-radius: 50%;
  font-size: 60px;
  color: #142458;
  background: rgba(249, 45, 71, 0.05);
  margin-bottom: 45px;
  box-shadow: 0px 0px 0px 10px rgba(255, 255, 255, 0.20);
  transition: all 500ms ease;
}

.service-block-two .inner-box:hover .icon-box {
  background: #fff;
}

.service-block-two .inner-box h4 {
  display: block;
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-block-two .inner-box h4 a {
  display: inline-block;
  color: var(--title-color);
}

.service-block-two .inner-box:hover h4 a,
.service-block-two .inner-box:hover p {
  color: #fff;
}

.service-block-two .inner-box h4 a:hover {
  text-decoration: underline;
}

.service-block-two .inner-box p {
  position: relative;
  max-width: 226px;
  transition: all 500ms ease;
}

.service-block-two .inner-box .shape {
  position: absolute;
  top: -24px;
  right: -10px;
  width: 160px;
  height: 161px;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 500ms ease;
}

.service-block-two .inner-box:hover .shape {
  opacity: 1;
}


/** service-style-three **/

.service-style-three {
  position: relative;
  background: linear-gradient(rgba(20, 36, 88, 0.12), rgba(20, 36, 88, 0.05));
}

.service-style-three .sec-title {
  max-width: 600px;
}

.service-style-three .title-inner .text-box {
  max-width: 550px;
}

.service-block-three {
  float: left;
  width: 25%;
}

.service-block-three .inner-box {
  position: relative;
  display: block;
  transition: all 500ms ease;
}

.service-block-three .inner-box .image-box {
  position: relative;
  display: block;
  overflow: hidden;
}

.service-block-three .inner-box .image-box img {
  width: 100%;
  transition: all 500ms ease;
}

.service-block-three .inner-box:hover .image-box img {
  transform: scale(1.05);
}

.service-block-three .inner-box .lower-content {
  position: relative;
  display: block;
  padding: 50px 60px 50px 55px;
  border-bottom: 1px solid #D9D9D9;
  border-right: 1px solid #D9D9D9;
  transition: all 500ms ease;
}

.service-block-three .inner-box:hover .lower-content {
  background: #fff;
  box-shadow: 0px 5px 45px 0px rgba(0, 0, 0, 0.1);
  border-color: #fff !important;
}

.service-block-three .inner-box .lower-content h4 {
  position: relative;
  display: block;
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-block-three .inner-box .lower-content h4 a {
  display: inline-block;
  color: var(--title-color);
}

.service-block-three .inner-box .lower-content h4 a:hover {}

.service-block-three .inner-box .lower-content p {
  margin-bottom: 35px;
}

.service-block-three .inner-box .lower-content .link a {
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  padding-left: 25px;
}

.service-block-three .inner-box .lower-content .link a i {
  position: absolute;
  left: 0px;
  top: 3px;
  font-size: 16px;
}

.service-block-three .inner-box .lower-content .link a span {
  position: relative;
  display: inline-block;
}

.service-block-three .inner-box .lower-content .link a span:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  left: 0px;
  bottom: 2px;
}

.service-style-three .lower-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-style-three .lower-content h2 {
  position: relative;
  display: block;
  font-size: 31px;
  line-height: 38px;
  font-weight: 700;
  margin-right: 150px;
}

.service-style-three .lower-content h2:before {
  position: absolute;
  content: '';
  background-image: url(../../images/shape/shape-10.png);
  width: 82px;
  height: 40px;
  right: -110px;
  bottom: -65px;
}


/** service-page-section **/

.service-page-section {
  position: relative;
}

.service-block-four .inner-box {
  position: relative;
  display: block;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 60px;
}

.service-block-four .inner-box .image-box {
  position: relative;
  display: block;
  overflow: hidden;
}

.service-block-four .inner-box .image-box img {
  width: 100%;
  transition: all .1 ease;
}

.service-block-four .inner-box:hover .image-box img {
  transform: scale(1.05);
}

.service-block-four .inner-box .lower-content {
  position: relative;
  display: block;
  border: 1px solid #D9D9D9;
  border-top: none;
  border-radius: 0px 0px 5px 5px;
  padding: 55px 50px;
  z-index: 1;
  transition: all 500ms ease;
  height: 270px;
}

.service-block-four .inner-box:hover .lower-content {}

.service-block-four .inner-box .lower-content:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 0%;
  left: 0px;
  top: 0px;
  border-radius: 0px 0px 5px 5px;
  z-index: -1;
  transition: all 500ms ease;
}

.service-block-four .inner-box:hover .lower-content:before {
  height: 100%;
}

.service-block-four .inner-box .lower-content .icon-box {
  position: relative;
  display: block;
  font-size: 80px;
  margin-bottom: 43px;
  transition: all 500ms ease;
}

.service-block-four .inner-box:hover .lower-content .icon-box {
  color: #fff;
}

.service-block-four .inner-box .lower-content h3 {
  display: block;
  font-size: 25px;
  line-height: 38px;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-block-four .inner-box .lower-content h3 a {
  display: inline-block;
  color: var(--title-color);
}

.service-block-four .inner-box:hover .lower-content h3 a,
.service-block-four .inner-box:hover .lower-content p {
}

.service-block-four .inner-box .lower-content p {
  position: relative;
  transition: all 500ms ease;
}

.service-block-four .inner-box .lower-content .shape {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 185px;
  height: 160px;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 500ms ease;
}

.service-block-four .inner-box:hover .lower-content .shape {
  opacity: 1;
}




/** rtl-css **/

.rtl .service-block-one .inner-box .shape {
  right: inherit;
  left: 20px;
}

.rtl .service-block-one .inner-box .overlay-shape {
  right: inherit;
  left: 20px;
}

.rtl .service-block-three {
  float: right;
}

.rtl .service-style-three .lower-content h2 {
  margin-right: 0px;
  margin-left: 150px;
}

.rtl .service-style-three .lower-content h2:before {
  right: inherit;
  left: -110px;
}

/** responsive-css **/

@media only screen and (max-width: 1200px) {
  .service-block-three .inner-box .lower-content {
    padding-left: 30px;
    padding-right: 30px;
  }
  .service-block-four .inner-box .lower-content {
    height: 350px;
  }
}

@media only screen and (max-width: 991px) {
  .service-style-two {
    padding-top: 120px;
  }

  .service-block-three {
    width: 50%;
  }

  .service-style-three .lower-content {
    display: block;
    text-align: center;
  }

  .service-style-three .lower-content h2 {
    margin-right: 0px;
    margin-bottom: 20px;
  }

  .service-style-three .lower-content h2:before {
    display: none;
  }

  .service-style-three .title-inner {
    text-align: center;
  }

  .service-style-three .sec-title {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .service-style-three .title-inner .text-box {
    max-width: 100%;
  }

  .service-block-four .inner-box .lower-content {
    height: 270px;
  }
}

@media only screen and (max-width: 767px) {
  .service-section {
    padding: 65px 0px 70px 0px;
  }

  .service-style-two {
    padding: 70px 0px 40px 0px;
  }

  .service-style-three {
    padding: 65px 0px 70px 0px;
  }

  .service-style-three .lower-content {
    padding-top: 50px;
  }

  .service-page-section {
    padding: 70px 0px 10px 0px;
  }

  .service-block-four .inner-box .lower-content {
    height: 230px;
  }
}

@media only screen and (max-width: 599px) {
  .service-block-three {
    width: 100%;
  }

  .service-style-three .lower-content h2 {
    font-size: 24px;
    line-height: 34px;
  }

  .rtl .service-style-three .lower-content h2 {
    margin-left: 0px;
  }

  .service-block-four .inner-box .lower-content {
    padding-left: 30px;
    padding-right: 30px;
    height: 220px;
  }
}

@media only screen and (max-width: 499px) {
  .service-block-one .inner-box {
    padding-left: 30px;
    padding-right: 30px;
  }

  .service-block-two .inner-box {
    padding-left: 30px;
    padding-right: 30px;
  }

  .service-block-four .inner-box .lower-content {
    padding-left: 30px;
    padding-right: 30px;
    height: 250px;
  }
}