@import url("./reset.css");
@import url("./frontend.css");
.service {
  .hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 463px;
    width: 100%;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;

    &::before {
      position: absolute;
      content: "";
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      backdrop-filter: blur(4px);
      background-color: hsla(210, 95%, 33%, 0.47);
    }

    &::after {
      content: attr(data-title);
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-transform: uppercase;
      font-size: 48px;
      font-weight: 500;
      line-height: 76.8px;
      z-index: 1;
      color: hsla(54, 100%, 52%, 1);
      font-size: 36px;
      font-weight: 500;
      line-height: 57.6px;
      text-align: center;
      text-underline-position: from-font;
      text-decoration-skip-ink: none;
    }
  }

  .content {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 32px;

    .title {
      font-size: 32px;
      font-weight: 500;
      line-height: 51.2px;
      text-transform: uppercase;
      color: hsla(223, 62%, 35%, 1);
    }

    hr {
      width: 100%;
      height: 1px;
      background-color: hsla(54, 100%, 65%, 1);
    }    .desc {
      font-size: 24px;
      font-weight: 400;
      line-height: 38.4px;
      color: hsla(0, 0%, 0%, 1);
      white-space: pre-line;
    }

    .service-section {
      margin-top: 40px;
      margin-bottom: 40px;

      .section-title {
        font-size: 28px;
        font-weight: 600;
        line-height: 44.8px;
        color: hsla(223, 62%, 35%, 1);
        margin-bottom: 20px;
        text-transform: uppercase;
      }
    }

    ul.points {
      display: flex;
      flex-direction: column;
      gap: 40px;
      margin-top: 20px;

      .point {
        display: flex;
        align-items: center;
        font-size: 22px;
        font-weight: 500;
        line-height: 33px;

        .number {
          display: inline-flex;
          justify-content: center;
          align-items: center;
          width: 62px;
          height: 67px;
          background-color: hsla(223, 62%, 35%, 1);
          padding: 20px;
          border-radius: 10px;
          margin-inline-end: 24px;
          color: white;
        }
      }
    }    .additional-note {
      font-size: 24px;
      font-weight: 400;
      line-height: 38.4px;
      color: hsla(0, 0%, 0%, 1);
      margin-top: 20px;
    }
  }
}

@media only screen and (max-width: 768px) {
  .service {
    .hero {
      height: 334px;

      &::after {
        font-weight: 500;
        font-size: 20px;
        line-height: 32px;
      }
    }

    .content {
      margin-top: 48px;
      gap: 24px;

      .title {
        font-size: 20px;
        line-height: 32px;
      }      .desc {
        font-size: 18px;
        line-height: 28.8px;
      }

      .service-section {
        margin-top: 32px;
        margin-bottom: 32px;

        .section-title {
          font-size: 20px;
          line-height: 32px;
          margin-bottom: 16px;
        }
      }

      ul.points {
        .point {
          font-size: 18px;
          line-height: 27px;

          .number {
            width: 50px;
            height: 50px;
            border-radius: 5px;
          }
        }
      }

      .additional-note {
        font-size: 18px;
        line-height: 28.8px;
      }
    }
  }
}
