// main: ../main.scss
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  .service-item {
    background-color: var(--surface-color);
    padding: 50px 30px;
    margin-top: 36px;
    transition: all ease-in-out 0.3s;
    position: relative;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    text-align: center;

    .icon {
      background: var(--accent-color);
      color: var(--contrast-color);
      margin: 0;
      width: 72px;
      height: 72px;
      border-radius: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      font-size: 28px;
      transition: ease-in-out 0.3s;
      position: absolute;
      top: -36px;
      left: calc(50% - 36px);
      border: 6px solid var(--background-color);
    }

    h3 {
      font-weight: 700;
      margin: 10px 0 15px 0;
      font-size: 22px;
      transition: ease-in-out 0.3s;
    }

    p {
      line-height: 24px;
      font-size: 14px;
      margin-bottom: 0;
    }

    &:hover {
      background: var(--background-color);

      h3 {
        color: var(--accent-color);
      }

      .icon {
        background: var(--surface-color);
        border: 2px solid var(--accent-color);

        i {
          color: var(--accent-color);
        }
      }
    }
  }
}