Your IP : 3.138.137.244


Current Path : /home/lentoinv/finationglobal.com/scss/elements/
Upload File :
Current File : /home/lentoinv/finationglobal.com/scss/elements/_features.scss

/*========================================*/
/*------------- [_Features] --------------*/
/*========================================*/
.features-section {
  counter-reset: my-sec-counter;
}
.features-item-style1 {
  background-color: #ffffff;
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  @include transition(all 500ms ease);
  border-radius: 12px;
  z-index: 1;
  position: relative;
  .features-inner {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    padding: 40px 30px;
    text-align: center;
    z-index: 1;
    .features-icon {
      &::before {
        font-size: 64px;
        color: var(--webex-primary-color);
        line-height: 1;
        display: block;
        margin-bottom: 25px;
      }
    }
    .features-shape {
      position: absolute;
      bottom: 0;
      left: 0;
      transition-delay: 400ms;
      @include transition(all 500ms ease);
      @include transform(translateX(-10%));
      z-index: -1;
      img {
        width: 195px;
        opacity: 0.1;
      }
    }
    .features-count {
      position: absolute;
      top: 10px;
      right: 10px;
      height: 45px;
      width: 56px;
      text-align: center;
      &:before {
        color: transparent;
        opacity: 0.15;
        font-size: 48px;
        -webkit-text-stroke: 1px var(--webex-primary-color);
        line-height: 45px;
        font-weight: 700;
        counter-increment: my-sec-counter;
        content: counters(my-sec-counter, ".", decimal-leading-zero);
        transition: all 200ms linear;
        transition-delay: 0.1s;
      }
    }
    &:before {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      content: "";
      background-color: var(--webex-primary-color);
      border-radius: 10px;
      z-index: -1;
      transition: transform 0.4s ease, -webkit-transform 0.4s ease;
      transform-origin: center center;
      -webkit-transform: scale(1, 0);
      transform: scale(1, 0);
    }
  }
  &:hover {
    transform: translateY(-10px);
    .features-inner {
      .features-icon {
        &::before {
          color: #fff;
        }
      }
      .features-title {
        color: #fff;
        a {
          color: #fff;
          &:hover {
            color: #fff;
          }
        }
      }
      .features-description {
        color: #fff;
      }
      .features-shape {
        transform: translateX(0%);
        img {
          opacity: 0.3;
        }
      }
      .features-count {
        &::before {
          opacity: 0;
        }
      }
      &:before {
        -webkit-transform: scale(1, 1);
        transform: scaleX(1, 1);
        transform-origin: center center;
      }
    }
  }
  &.item-style2 {
    .features-inner {
      &:before {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        content: "";
        background-color: var(--webex-primary-color3);
        border-radius: 10px;
        z-index: -1;
        transition: transform 0.4s ease, -webkit-transform 0.4s ease;
        transform-origin: center center;
        -webkit-transform: scale(1, 0);
        transform: scale(1, 0);
      }
    }
    &:hover {
      .features-inner {
        .features-icon {
          &::before {
            color: var(--heading-font-color);
          }
        }
        .features-title {
          color: var(--heading-font-color);
          a {
            color: var(--heading-font-color);
            &:hover {
              color: var(--heading-font-color);
            }
          }
        }
        &:before {
          -webkit-transform: scale(1, 1);
          transform: scaleX(1, 1);
          transform-origin: center center;
        }
      }
    }
  }
}

.feature-item-style2 {
  display: block;
  background: #fff;
  padding: 40px 40px 35px 40px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0px 2px 25px rgba(30, 40, 63, 0.12);
  border-radius: 10px;
  margin-bottom: 30px;
  &:hover {
    &:after {
      width: 100%;
      left: 0;
    }
    .feature-item-info {
      .feature-item-icon {
        .icon {
          span {
            background: #2825be;
            color: #fff;
          }
        }
      }
    }
    .title {
      color: var(--text-white);
    }
    .feature-item-content {
      .content {
        color: var(--text-white);
      }
    }
  }
  &:after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    z-index: -1;
    transition: 0.5s;
    background: var(--webex-primary-color);
  }
  .feature-item-info {
    .feature-item-icon {
      padding-right: 25px;
      display: inline-block;
      .icon {
        span {
          font-size: 36px;
          color: #fff;
          display: inline-block;
          text-align: center;
          height: 68px;
          width: 68px;
          line-height: 68px;
          background: var(--webex-primary-color);
          border-radius: 4px;
          transition: 0.5s;
        }
      }
      .title-box {
        .title {
          font-size: 20px;
          margin: 0 0 0;
          display: inline-block;
        }
      }
    }
  }
  .feature-item-content {
    margin-top: 18px;
    .content {
      margin-bottom: 0;
    }
  }
}

?>