// main: ../main.scss
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  .img {
    border-radius: 8px;
    overflow: hidden;

    img {
      transition: 0.6s;
    }
  }

  .details {
    background: color-mix(in srgb, var(--surface-color), transparent 5%);
    padding: 50px 30px;
    margin: -100px 30px 0 30px;
    transition: all ease-in-out 0.3s;
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);

    .icon {
      margin: 0;
      width: 72px;
      height: 72px;
      background: var(--accent-color);
      color: var(--contrast-color);
      border: 6px solid var(--contrast-color);
      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);
    }

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

    p {
      color: color-mix(in srgb, var(--default-color), transparent 10%);
      line-height: 24px;
      font-size: 14px;
      margin-bottom: 0;
    }
  }

  .service-item:hover {
    .details {
      h3 {
        color: var(--accent-color);
      }

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

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

    .img img {
      transform: scale(1.2);
    }
  }
}