// main: ../main.scss
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  .service-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
    padding: 50px 30px;
    transition: all 0.3s ease-in-out;
    height: 100%;
    position: relative;
    z-index: 1;

    &:before {
      content: '';
      position: absolute;
      background: var(--accent-color);
      inset: 100% 0 0 0;
      transition: all 0.3s;
      z-index: -1;
    }

    .icon {
      margin-bottom: 10px;

      i {
        color: var(--accent-color);
        font-size: 36px;
        transition: ease-in-out 0.3s;
      }
    }

    h4 {
      font-weight: 700;
      margin-bottom: 15px;
      font-size: 20px;

      a {
        color: var(--heading-color);
        transition: ease-in-out 0.3s;
      }
    }

    p {
      line-height: 24px;
      font-size: 14px;
      margin-bottom: 0;
      transition: ease-in-out 0.3s;
    }

    &:hover {

      h4 a,
      .icon i,
      p {
        color: var(--contrast-color);
      }

      &:before {
        background: var(--accent-color);
        inset: 0;
        border-radius: 0px;
      }
    }
  }
}