
// Core variables and mixins
@import "sub-stylesheet/_variables";
@import "sub-stylesheet/_mixins";




.icon-box {
  width: 160px;
  height: 120px;
  display: inline-block;
  position: relative;
  svg {
    position: absolute;
    right: 0;
    top: 0;
    width: 125px;
    @include transform(rotate(90deg));
    opacity: 0.6;
    fill: #ccc;
  }
  .circle-box {
    width: 75px;
    height: 75px;
    display: inline-block;
    @include border-radius(50%);
    background-color: red;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -42px;
  }
  .icon {
    position: absolute;
    bottom: 25px;
    left: 0;
    font-size: 40px;
    z-index: 1;
  }
  &.violet {
    .circle-box {
      background-color: #ede1fb;
    }
    .icon {
      color: $violet;
    }
  }

  &.pink {
    .circle-box {
      background-color: #fcd0e7;
    }
    .icon {
      color: $pink;
    }
  }

  &.orange {
    .circle-box {
      background-color: #ffeeea;
    }
    .icon {
      color: $orange;
    }
  }

  &.blue {
    .circle-box {
      background-color: #dae3fb;
    }
    .icon {
      color: $blue;
    }
  }
  &.yellow {
    .circle-box {
      background-color: #fbf0da;
    }
    .icon {
      color: $yellow;
    }
  }
  &.green {
    .circle-box {
      background-color: #d5f5ec;
    }
    .icon {
      color: $green;
    }
  }

}



.icon-box-style1 {
  background-color: #fff;
  padding: 30px 25px;
  box-shadow: 0 0 10px 0 rgba($black,0.1);
  @include border-radius(5px);
  .custom-border-style {
    position: relative;
    padding-bottom: 15px;
    margin-top: 0;
    margin-bottom: 0;
    &:after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 25px;
      height: 1px;
      background-color: $blue;
      transform: translateX(0%);
    }
    &.text-center {
      left: 50%;
      margin-left: -12px;
    }
    &.text-center {
      left: unset;
      right: 0;
    }
    &.green {
      &:after {
        background-color: $green;
      }
    }
    &.pink {
      &:after {
        background-color: $pink;
      }
    }
    &.blue{
      &:after {
        background-color: $blue;
      }
    }
    &.yellow {
      &:after {
        background-color: $yellow;
      }
    }
    &.violet {
      &:after {
        background-color: $violet;
      }
    }
    &.orange {
      &:after {
        background-color: $orange;
      }
    }
  }
}






// icon box style 2 
.ca-service-icon-box {
  width: 100px;
  height: 100px;
  position: relative;
  display: inline-block;
  > span {
    color: $base-color2;
    font-size: 35px;
    line-height: 100px;
    text-align: center;
    font-weight: 400;
  }
  .svg-icon {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    .iconbox2 {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      text-align: center;
      @include transition(0.5s);
      svg {
        fill: $base-color2;
        opacity: 0.07;
      }
      &.part2 {
        margin-left: 5px;
        margin-top: 3px;
        @include transform(scale(0.78));
        transform-origin: center;
      }
    }
  }
  i{
    padding-top: 35px;
    font-size: 30px;
    color: #b74acd;
  }
}


.icon-box-style2 {
  background-color: $white;
  -webkit-box-shadow: 0 0 10px rgba($black, 0.1);
  -moz-box-shadow: 0 0 10px rgba($black, 0.1);
  box-shadow: 0 0 10px rgba($black, 0.1);
  text-align: center;
  padding: 40px 30px;
  @include border-radius(10px);
  .ca-service-icon-box {
    margin-bottom: 15px;
  }
  h6 {
    margin-bottom: 15px;
    margin-top: 0;
    margin-bottom: 0;
    @include transition(0.3s);
    &:hover {
      color: $base-color2;
    }
  }
  p {
    font-size: 14px;
    line-height: 30px;
    margin-bottom: 17px;
  }
  &:hover {
    .iconbox2 {
      @include transform(rotate(90deg));
    }
    .iconbox2.part2{
      //@include transform(rotate(-180deg));
      @include transform(scale(0.78) rotate(-90deg));
    }
  }
}





// icon-box-link-style

.icon-box-link-style {
  display: block;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba($black, 0.1);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  .top-batch {
    font-size: 14px;
    color: #333;
    padding: 5px 16px;
    background-color: #eae6e6;
    border-radius: 20px;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: all 0.3s ease;
  }
  .icon {
    font-size: 50px;
    margin-bottom: 15px;
    color: #555;
    transition: all 0.3s ease;
  }
  p {
    margin-bottom: 0;
  }
  &:hover {
    .icon {
      color: #3ed2a7;
    }
    .top-batch {
      background-color: #3ed2a7;
      color: #fff;
    }
  }
  i{
    font-size: 30px;
    padding-bottom: 10px;
  }
}