/*-------------------------
    Icon Box Item
-------------------------*/
.icon-box-list {
  display: flex;

  &:hover {
    .icon {
      i {
        @include transform(rotateY(360deg));
      }
    }

    .content {
      .title {
        color: var(--main-color-one);
      }
    }
  }

  .icon {
    margin-right: 20px;
    height: 25px;
    width: 25px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    background-color: $white;
    color: #ff4815;
    font-size: 12px;
    transition: all 500ms;

    i {
      transition: all 500ms;
      display: inline-block;
    }
  }

  .content {
    flex: 1;

    .title {
      font-size: 20px;
      line-height: 20px;
      margin-bottom: 20px;
      font-weight: 600;
      transition: all 500ms;
      color: #14212b;
    }

    p {
      margin-top: 10px;
      font-weight: 500;
    }

    .subtitle {
    }
  }
}


.icon-box-item {
  background-color: var(--main-color-two);
  display: flex;
  align-items: center;
  padding: 35px 40px 30px;

  &.top {
    display: block;

    &[style="text-align:center"] {
      .icon {
        margin: 0 auto;
      }
    }

    &[style="text-align:right"] {
      .icon-wrap {
        display: flex;
        justify-content: flex-end;
      }
    }
  }

  &.right {
    flex-direction: row-reverse;

    .icon {
      margin-left: 15px;
    }
  }

  &.left {
    .icon {
      margin-right: 15px;
    }
  }

  .icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    text-align: center;
    background-color: var(--main-color-one);
    color: #fff;
    border-radius: 50%;
  }

  .content {
    .title {
      color: #fff;
      font-size: 14px;
      line-height: 24px;
      font-family: var(--heading-font);
    }

    p {
      color: var(--secondary-color);
      font-size: 24px;
      font-weight: 600;
      line-height: 34px;
      font-family: var(--heading-font);
      margin-bottom: 0;
    }
  }
}


.single-icon-box-01 {
  background-color: #1c2a35;
  text-align: center;
  padding: 30px;
  position: relative;
  z-index: 0;
  overflow: hidden;

  &:hover {
    .content {
      .title {
        color: var(--main-color-one);
      }

      p {
        color: rgba($white, .8);
      }
    }
  }

  .icon {
    font-size: 60px;
    line-height: 70px;
    color: var(--main-color-one);
    margin-bottom: 18px;
  }

  .content {
    .title {
      font-size: 20px;
      line-height: 30px;
      font-weight: 700;
      color: $white;
    }

    p {
      color: $white;
      transition: all .5s;
    }
  }
}

.single-icon-box-02 {
  display: flex;
  align-self: flex-start;
  background-color: $white;
  padding: 20px 20px 20px 20px;

  &:hover {
    .icon {
      i {
        @include transform(rotateY(360deg));
      }
    }

    .content {
      .title {
        color: var(--main-color-one);
      }
    }
  }

  .icon {
    margin-right: 20px;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    line-height: 80px;
    text-align: center;
    background-color: var(--main-color-one);
    color: $white;
    font-size: 40px;
    transition: all 500ms;

    i {
      transition: all 500ms;
      display: inline-block;
    }
  }

  .content {
    flex: 1;
    padding-top: 5px;

    .title {
      font-size: 24px;
      line-height: 34px;
      font-weight: 700;
      transition: all 500ms;
    }

    .subtitle {
    }
  }
}