/* Service 2 ---------------------------------- */
.service-card {
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.service-card:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
  background-image: -webkit-linear-gradient(top, rgba(27, 27, 27, 0) 0%, rgba(27, 27, 27, 0.5155) 20.53%, rgba(27, 27, 27, 0.7215) 34.47%, #1B1B1B 91.05%);
  background-image: linear-gradient(180deg, rgba(27, 27, 27, 0) 0%, rgba(27, 27, 27, 0.5155) 20.53%, rgba(27, 27, 27, 0.7215) 34.47%, #1B1B1B 91.05%);
}

.service-card_content {
  position: relative;
  padding: 40px 25px 40px 40px;
  z-index: 3;
}

.service-card_content:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: var(--white-color);
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}

.service-card_icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  background-color: var(--theme-color);
  color: var(--white-color);
  font-size: 32px;
  text-align: center;
  margin-bottom: 28px;
}

.service-card_subtitle {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  display: block;
  margin-bottom: 11px;
}

.service-card_title {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: -0.32em;
  margin-bottom: 15px;
  /* Extra small devices */
}

@media (max-width: 1299px) {
  .service-card_title {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .service-card_title {
    font-size: 16px;
  }
}

.service-card_title a {
  color: inherit;
}

.service-card_title a:hover {
  color: var(--theme-color);
}

.service-card_text {
  margin-bottom: 20px;
}

.service-card .th-btn {
  background-color: transparent;
  border: 1px solid #efefef;
  color: var(--title-color) !important;
}

.service-card .th-btn:before {
  background-color: var(--theme-color);
}

.service-card .th-btn:hover {
  border-color: var(--theme-color) !important;
  color: var(--white-color);
}

.service-card:hover .service-card_title {
  color: var(--white-color);
}

.service-card:hover .service-card_content:before {
  height: 0;
}

.service-card:hover .service-card_overlay:before {
  height: 0;
}

.service-card:hover .th-btn {
  color: var(--white-color) !important;
  border-color: var(--white-color);
}

/* Medium devices */
@media (max-width: 991px) {
  .service-card_content {
    padding: 40px 20px;
  }
}

/* Small devices */
@media (max-width: 767px) {
  .service-card_content {
    padding: 50px;
  }
}

/* Extra small devices */
@media (max-width: 575px) {
  .service-card_content {
    padding: 40px;
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  .service-card_content {
    padding: 40px 15px;
  }
}
.service-card.style2 {
  border-radius: 0px 0px 50px 0px;
  border: 1px solid #F2F2F2;
  background: var(--white-color);
  box-shadow: 0px 13px 15px 0px rgba(0, 0, 0, 0.05);
}

.service-card.style2:after {
  display: none;
}

.service-card.style2 .service-card_overlay {
  position: absolute;
  content: "";
  inset: 0;
  border-radius: 0px 0px 50px 0px;
}

.service-card.style2 .service-card_icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 0px 0px 20px 0px;
}

.service-card.style2 .service-card_wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 25px;
  /* Medium devices */
}

@media (max-width: 991px) {
  .service-card.style2 .service-card_wrapper {
    gap: 15px;
  }
}

.service-card.style2 .service-card_text {
  margin-bottom: 28px;
}

.service-card.style2 .th-btn {
  border-radius: 0px 0px 20px 0px;
}

.service-card.style3 {
  border: 1px solid #F2F2F2;
  background: var(--white-color);
  box-shadow: 0px 13px 15px 0px rgba(0, 0, 0, 0.05);
}

.service-card.style3:after {
  display: none;
}

.service-card.style3 .service-card_overlay {
  position: absolute;
  content: "";
  inset: 0;
}

.service-card.style3 .service-card_icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
}

.service-card.style3 .service-card_wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 25px;
  /* Medium devices */
}

@media (max-width: 991px) {
  .service-card.style3 .service-card_wrapper {
    gap: 15px;
  }
}

.service-card.style3 .service-card_text {
  margin-bottom: 28px;
}

.service-taxi-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 40px;
  /* Large devices */
}