.heroSection {
  position: relative;
  height: 100dvh;
  overflow: hidden;

  figure {
    height: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .heroContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-black);
    width: 90%;
    max-width: 800px;
    background-color: rgba(251, 251, 251, 0.85);
    padding: 2rem;
    border-radius: 8px;

    h1 {
      font-size: var(--font-h1);
      margin-bottom: 1rem;
      font-weight: 700;
    }

    p {
      font-size: var(--font-base);
      opacity: 0.9;
    }
  }
}

.servicesSection {
  padding: 6rem 0;
  background-color: var(--color-white);

  .servicesGrid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .serviceCard {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;

    &:hover {
      transform: translateY(-4px);
    }

    @media (width >= 768px) {
      display: grid;
      grid-template-columns: 300px 1fr;
      align-items: center;
    }

    figure {
      width: 100%;
      height: 250px;
      overflow: hidden;

      @media (width >= 768px) {
        height: 100%;
      }

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
      }

      &:hover img {
        transform: scale(1.05);
      }
    }

    .serviceContent {
      padding: 2rem;

      h2 {
        font-size: var(--font-h2);
        margin-bottom: 1rem;
        color: var(--color-primary);
      }

      p {
        margin-bottom: 1.5rem;
        color: #666;
        line-height: 1.8;
      }

      ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;

        li {
          position: relative;
          padding-left: 1.5rem;
          color: #666;

          &::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.75em;
            width: 6px;
            height: 6px;
            background-color: var(--color-primary);
            border-radius: 50%;
            transform: translateY(-50%);
          }
        }
      }

      .button {
        display: inline-block;
        padding: 0.75rem 2rem;
        background-color: var(--color-primary);
        color: var(--color-white);
        border-radius: 50px;
        text-decoration: none;
        transition: all 0.3s ease;

        &:hover {
          background-color: #004d86;
          transform: translateY(-2px);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
      }
    }
  }
}