@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:wght@100;300;400;500;700;900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  background-color: #0c0d0f;
  color: #ffffff;
}

main {
  .hero {
    width: 100%;

    .hero-bg {
      width: 100%;
      object-fit: cover;
    }

    .hero-content {
      h1 {
        font-size: 72px;
        font-weight: 400;
        color: #ffffff;
        text-align: center;
      }
    }
  }

  .container {
    max-width: 903px;

    margin: 0 auto;

    .service-container {
      display: flex;
      position: relative;
      flex-direction: column;
      gap: 20px;
      .service {
        display: flex;
        align-items: center;
        gap: 32px;

        .service-img {
          max-width: 450px;
          /* height: 280px; */
          object-fit: cover;
        }

        .service-text {
          max-width: 420px;
          display: flex;
          flex-direction: column;
          gap: 16px;

          h2 {
            font-size: 32px;
            font-weight: 400;
            color: #ffffff;
          }

          .service-description {
            display: flex;
            flex-direction: column;
            gap: 17px;

            p {
              font-size: 16px;
              font-weight: 300;
              color: #ffffff;
            }
          }
        }
      }
      .arrow {
        position: relative;
        top: 0%;
        left: 25%;
        width: 10px;
        z-index: 1;

        object-fit: contain;
      }
      .arrow.reverse {
        top: 0%;
        left: 75%;
      }
    }

    .contact {
      margin-top: 140px;
      margin-bottom: 140px;
      display: flex;
      flex-direction: column;
      gap: 20px;

      h2 {
        font-size: 40px;
        font-weight: 400;
        color: #ffffff;
      }

      .contact-container {
        display: flex;
        gap: 19px;

        form {
          width: 480px;

          .form-field {
            padding: 12px 16px;

            input,
            textarea {
              width: 100%;
              padding: 15px;
              font-size: 16px;
              font-weight: 400;
              color: #61758a;
              background-color: #ffffff;
              border: 1px solid #dbe0e5;
              border-radius: 8px;
              outline: none;
              font-family: "Inter", sans-serif;

              &::placeholder {
                color: #61758a;
              }

              &:focus {
                border-color: #1273d4;
              }
            }

            textarea {
              min-height: 120px;
              resize: vertical;
            }
          }

          .form-submit {
            padding: 12px 16px;

            button {
              padding: 0 16px;
              height: 40px;
              background-color: #1273d4;
              color: #ffffff;
              font-size: 14px;
              font-weight: 700;
              line-height: 1.5em;
              border: none;
              border-radius: 8px;
              cursor: pointer;
              transition: opacity 0.2s;

              &:hover {
                opacity: 0.9;
              }
            }
          }
        }

        img {
          width: 404px;
          height: 374px;
          object-fit: cover;
          border-radius: 48px;
        }
      }
    }
  }
}
