@use "../abstracts/abstracts_all" as *;

/* Service
==========================*/
.services {
  .flex {
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
.service_item {
  position: relative;
  background-color: #fff;
  padding: 35px;
  margin: 15px auto;
  display: inline-block;
  font-weight: 500;
  width: 43%;
  text-align: center;
  font-size: 16px;
  overflow: hidden;
  @include border_radius(5px);
  @include mediaquery(max, mobile) {
    display: block;
    width: 100%;
    padding: 20px;
    margin: 15px auto !important;
  }
  span {
    display: block;
    position: relative;
  }
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    @include border_radius(5px);
    background-color: $main_color;
    @include transition(0.4s linear height);
  }
  &:hover {
    &::before {
      height: 100%;
    }
  }
  &.mt_40 {
    margin-top: -40px;
  }
}
.inner_services {
  .service_item {
    padding: 25px;
    margin: 0 auto 25px;
    min-height: 100px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}
.side_txt {
  h3 {
    margin: 0 0 25px;
    font-size: 38px;
    color: $black_color;
    text-transform: uppercase;
  }
  p {
    margin: 15px 0 0;
    line-height: 25px;
    font-size: 17px;
    color: $black_color;
  }
  .link {
    margin-top: 25px;
  }
  @include mediaquery(max, l_desktop) {
    h3 {
      font-size: 28px;
    }
    p {
      line-height: 22px;
      font-size: 15px;
    }
  }
  @include mediaquery(max, mobile) {
    h3 {
      font-size: 22px;
      margin-bottom: 15px;
    }
    p {
      line-height: 20px;
      font-size: 13px;
    }
  }
}
