/*-------------------------
    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 300ms;

    i {
      transition: all 300ms;
      display: inline-block;
    }
  }

  .content {
    flex: 1;

    .title {
      font-size: 20px;
      line-height: 20px;
      margin-bottom: 20px;
      font-weight: 600;
      transition: all 300ms;
      color: #14212b;
      font-family: var(--body-font);
    }

    p {
      margin-top: 10px;
      font-weight: 500;
    }
  }
}


.icon-box-item {
  display: flex;
  align-items: center;
  padding: 35px 40px 30px;
  transition: all 300ms;

  &.top {
    display: block;
    &[style="text-align:center"] {
      .icon {
        margin: 0 auto;
      }
    }

    &[style="text-align:right"] {
      .icon-wrap {
        display: flex;
        justify-content: flex-end;
      }
    }
  }

  &[style="text-align:left"] {
    .icon {
      justify-content: left;
    }
  }

  &.right {
    flex-direction: row-reverse;

    .icon {
      margin-left: 15px;
    }
  }

  &.left {
    .text-icon,
    .icon {
      margin-right: 15px;
    }
  }

  .text-icon,
  .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    line-height: 1;
    color: var(--secondary-color);
    border-radius: 50%;
    transition: all 300ms;
  }

  .content {
    .title {
      color: var(--heading-color);
      font-size: 18px;
      line-height: 1.5;
      font-weight: 500;
      font-family: var(--body-font);
      transition: all 300ms;
    }

    p {
      color: var(--paragraph-color);
      font-size: 16px;
      line-height: 26px;
      margin-bottom: 0;
      transition: all 300ms;
    }
  }
}


.single-icon-box-01 {
  background-color: #fff;
  text-align: left;
  padding: 20px 30px;
  position: relative;
  z-index: 0;
  overflow: hidden;
  &:hover {
    background-color: var(--main-color-one);
    .content {
      .title {
        color: #fff;
      }

      p {
        color: #fff;
      }
    }
    .icon {
      color: #fff;
    }
  }
  .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: #2A2A2A;
    }
  .service-count{
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 105px;
    font-weight: 600;
    color: #8E8E8E;
    opacity: .2;
  }
    p {
     color:var(--para-color-two);
      transition: all .5s;
    }
  }
  &::before{
    position: absolute;
    left: 0;
    top: 0;
    background-image: url('../img/section-img/shapes/hovershape.png');
    width: 100%;
    height: 100%;
    content: "";
  }
}

.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 300ms;

    i {
      transition: all 300ms;
      display: inline-block;
    }
  }

  .content {
    flex: 1;
    padding-top: 5px;

    .title {
      font-size: 24px;
      line-height: 34px;
      font-weight: 700;
      transition: all 300ms;
    }
  }
}

/*-------------------------
    Icon Box Item
-------------------------*/
.intro-icon-box {
  padding: 40px 33px 40px 20px;
  background: var(--main-color-one);
  border: 13px solid #fff;
  transition: 0.4s;
  .media-left {
      margin-right: 20px;
      .icon {
          height: 76px;
          width: 76px;
          line-height: 86px;
          text-align: center;
          background: #fff;
          color: var(--main-color-one);
          border-radius: 4px;
          font-size: 52px;
      }
  }
  .media-body {
      h3 {
          color: #fff;
          font-size: 20px;
          margin-bottom: 0;
      }
      .read-more-url {
          float: right;
          text-align: right;
          display: inline-block;
          margin-top: -24px;
          font-family: var(--heading-font);
          color: #fff;
          font-weight: 600;
          transition: 0.4s;
          position: relative;
          cursor: pointer;
          &:after {
              content: '';
              position: absolute;
              left: auto;
              right: 0;
              top: 50%;
              height: 2px;
              width: 0;
              transition: 0.4s;
              background: var(--main-color-one);
          }
          &:hover {
             &:after {
                  content: '';
                  width: 100%;
              } 
          }
      }
  }
  &:hover {
      border-color: var(--main-color-one);
      background-color: #fff;
      .media-left {
          .icon {
              background: var(--main-color-one);
              color: #fff;
          }
      }
      .media-body {
          h3 {
              color: var(--main-color-one);
          }
          .read-more-url {
              color: var(--main-color-one);
          }
      }
  }
}

.intro-icon-box-2 {
  background: #F6F6F6;
  padding: 30px 30px 25px 30px;
  transition: 0.4s;
  position: relative;
  margin-bottom: 30px;
  text-align: center;
  .icon-wrap {
      color: var(--main-color-one);
      margin-bottom: 16px;
      line-height: 1;
      transition: 0.4s;
      margin-bottom: 15px;
      .icon {
          font-size: 44px;
          margin-bottom: 0;
      }
  }
  .content {
      .count-value {
          font-size: 105px;
          color: rgba(142, 142, 142, 0.09);
          position: absolute;
          right: 20px;
          top: 10px;
          line-height: 1;
          transition: 0.4s;
      }
      .title {
          margin-bottom: 0;
          transition: 0.4s;
          text-align: center;
      }
      p  {
          margin-top: 20px;
          margin-bottom: 0;
          transition: 0.4s;
      }
  }
  &:hover {
      background: var(--main-color-one);
      &:before {
          content: '';
          display: block;
          width: 100%;
          height: 6px;
          position: absolute;
          left: 0;
          top: 0;
          color: #FFFFFF;
          opacity: 0.7;
          background: repeating-linear-gradient(45deg, #ffffff00, #ffffff00 2px, #bebfc1 2px, #bebfc1 4px), -webkit-gradient(linear, left top, left bottom, from(#eee0), to(#9990));
          background: repeating-linear-gradient(45deg, #ffffff00, #ffffff00 2px, #bebfc1 2px, #bebfc1 4px), linear-gradient(to bottom, #eee0, #9990);
      }
      &:after {
          content: '';
          display: block;
          width: 100%;
          height: 6px;
          position: absolute;
          left: 0;
          bottom: 0;
          color: #FFFFFF;
          opacity: 0.7;
          background: repeating-linear-gradient(45deg, #ffffff00, #ffffff00 2px, #bebfc1 2px, #bebfc1 4px), -webkit-gradient(linear, left top, left bottom, from(#eee0), to(#9990));
          background: repeating-linear-gradient(45deg, #ffffff00, #ffffff00 2px, #bebfc1 2px, #bebfc1 4px), linear-gradient(to bottom, #eee0, #9990);
      }
      .icon-wrap {
          color: #fff;
      }
      .content {
          .count-value {
              color: rgba(255, 255, 255, 0.15);
          }
          .title {
              color: #fff;
          }
          p  {
              color: #fff;
          }
      }
  }
}

.intro-icon-box-3 {
  background: #fff;
  padding: 40px 40px 35px 40px;
  transition: 0.4s;
  border-radius: 6px;
  border: 2px solid transparent;
  .icon-wrap {
      color: rgba(142, 142, 142, 0.09);
      position: absolute;
      right: 20px;
      top: 20px;
      line-height: 1;
      transition: 0.4s;
      .icon {
          font-size: 44px;
      }
  }
  .content {
      .title {
          margin-bottom: 0;
          transition: 0.4s;
          font-size: 24px;
          color: #2A2A2A;
          font-weight: 700;
          font-family: var(--heading-font);
          line-height: 1.0833333333;
      }
      p  {
          margin-top: 20px;
          margin-bottom: 0;
          transition: 0.4s;
          color: #2A2A2A;
      }
      .count-value {
          font-family: var(--paragraph-font);
          font-size: 24px;
          color: var(--main-color-one);
          font-weight: 600;
          margin-top: 35px;
          i {
              float: right;
              display: none
          }
          &.yes {
              i {
                  display: block;
              }
          }
      }
  }
  &:hover {
      border-color: var(--main-color-one);
  }
}

.intro-icon-box-4 {
  background: #F6F6F6;
  padding: 15px 20px 50px 20px;
  transition: 0.4s;
  border-radius: 5px;
  text-align: center;
  .icon-wrap {
      color: var(--main-color-one);
      line-height: 1;
      transition: 0.4s;
      height: 65px;
      width: 65px;
      line-height: 62px;
      border-radius: 50%;
      display: inline-block;
      border: 5px solid #fff;
      background: #0D1422;
      position: absolute;
      bottom: -33px;
      transform: translateX(-50%);
      .icon {
          font-size: 25px;
          color: #fff;
          height: 100%;
          margin-right: 0;
      }
  }
  .content {
      .count-value {
          font-size: 70px;
          color: rgba(13, 20, 34, 0.1);
          line-height: 1;
          font-weight: 700;
          margin-bottom: 20px;
      }
      .title {
          margin-bottom: 0;
          transition: 0.4s;
          font-size: 18px;
          font-weight: 700;
          font-family: var(--body-font);
      }
      p  {
          margin-top: 20px;
          margin-bottom: 0;
          transition: 0.4s;
      }
  }
  &:hover {
      background: var(--main-color-one);
      .icon-wrap {
          color: #fff;
          background: var(--main-color-one);
      }
      .content {
          .count-value {
              color: rgba(255, 255, 255, 0.5);
          }
          .title {
              color: #fff;
          }
          p  {
              color: #fff;
          }
      }
  }
}