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

/* About
======================*/
.about {
  img {
    @include border_radius(3px);
    width: 100%;
    margin: 15px auto;
  }
  .about_cont {
    margin: 15px auto;
    span {
      position: relative;
      margin-bottom: 25px;
      font-size: 24px;
      display: block;
      color: $black_color;
      font-weight: $weight_bold;
      &::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 50px;
        height: 3px;
        background-color: $main_color;
      }
    }
    h1 {
      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;
    }
    &.flex {
      @include flex(column, center, flex-start);
      height: 100%;
    }
    @include mediaquery(max, l_desktop) {
      h1 {
        font-size: 28px;
      }
      p {
        line-height: 22px;
        font-size: 15px;
      }
    }
    @include mediaquery(max, mobile) {
      h1 {
        font-size: 22px;
        margin-bottom: 15px;
      }
      p {
        line-height: 20px;
        font-size: 13px;
      }
    }
  }
}

/* Partners
=======================*/
.partner {
  padding-bottom: 120px;
  @include mediaquery(max, desktop) {
    padding-bottom: 35px;
  }
  h3 {
    margin: 0 auto 25px;
    font-size: 38px;
    color: $main_color;
    text-transform: uppercase;
    max-width: 720px;
  }
  p {
    @include flex(row, space-between, center);
    text-align: start;
    font-size: 24px;
    margin: 20px 0 0;
    line-height: 44px;
  }
  img {
    @include border_radius(5px);
    padding: 25px;
    background-color: #fff;
    margin-inline-start: 100px;
  }
  @include mediaquery(max, l_desktop) {
    h3 {
      font-size: 28px;
    }
    p {
      line-height: 30px;
      font-size: 18px;
    }
  }
  @include mediaquery(max, desktop) {
    h3 {
      font-size: 24px;
    }
    p {
      margin: 0;
      flex-direction: column;
      text-align: center;
      img {
        margin-inline-start: 0;
        margin: 25px auto 0;
      }
    }
  }
  @include mediaquery(max, mobile) {
    h3 {
      font-size: 18px;
    }
  }
}

/* Team
=======================*/
.team_item {
  max-width: 720px;
  margin: -40px auto 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  text-align: start;
  background-color: #f8f8f8;
  padding: 40px;
  color: $black_color;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  @include transition(0.4s linear transform);

  img {
    position: relative;
    @include border_radius(50%);
    margin: 0;
    margin-inline-end: 25px;
    padding: 5px;
    width: 160px;
    background-color: #fff;
  }
  .cont {
    text-align: start;
  }
  h3 {
    font-weight: $weight_xbold;
    margin: 0 auto 10px;
    text-transform: capitalize;
    font-size: 32px;
    letter-spacing: 0.5px;
  }
  h4 {
    margin: 0;
    font-size: 17px;
    color: $main_color;
    font-weight: $weight_bold;
  }
  p {
    margin: 15px 0 0;
  }
  @include mediaquery(max, desktop) {
    max-width: 100%;
    margin: 35px auto 0;
  }
  @include mediaquery(max, desktop) {
    padding: 15px;
  }
  @include mediaquery(max, mobile) {
    flex-direction: column;
    img {
      width: 90px;
      margin-inline-end: 0;
      margin: 0 auto 15px;
    }
    .cont {
      text-align: center;
    }
    h3 {
      font-size: 22px;
    }
    h4 {
      font-size: 16px;
    }
    p {
      font-size: 12px;
    }
  }
}
