#contact {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem;
}

#contact .__title {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

#contact .__title h2 {
  opacity: 1;
  height: auto;
  filter: blur(0px);
  transform: none;
  will-change: auto;
  font-size: 2.25rem;
  line-height: 1.75rem;
  font-weight: 400;
  color: #4f4f4f;
  margin-bottom: 1rem;
}

#contact .__title h1 {
  opacity: 1;
  height: auto;
  filter: blur(0px);
  transform: none;
  will-change: auto;
  font-size: 4.5rem;
  line-height: 1;
  color: rgb(34 34 34);
}

#contact .__title p {
  opacity: 1;
  height: auto;
  filter: blur(0px);
  transform: none;
  will-change: auto;
  font-size: 1.8rem;
  line-height: 2.4rem;
  font-weight: 400;
  color: #000;
  margin-bottom: 1rem;
  text-align: end;
}

#contact .__form {
  margin-top: 6rem;
  background-color: rgb(34 34 34);
  color: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

#contact .__form .__left .__contact-details {
  height: 100%;
  width: 100%;
  background-color: rgb(255 194 80);
  border-radius: 1.5rem;
  padding: 1rem;
}

#contact .__form .__left .__contact-details h1 {
    margin-top: 1rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  color: rgb(34 34 34);
  font-weight: 700;
}

#contact .__form .__left .__contact-details p {
  font-size: 1rem;
  line-height: 1.5rem;
  color: rgb(79 79 79);
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

#contact .__form .__left .links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

#contact .__form .__left .links i {
  font-size: 42px;
  color: rgb(34 34 34);
}

#contact .__form .__left .links h3 {
  font-size: 1rem;
  line-height: 1.5rem;
  color: rgb(34 34 34);
  margin-bottom: 0.1rem;
}

#contact .__form .__left .links h4 {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(79 79 79);
  font-weight: 500;
}

#contact .__form .__right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact .__form .__right .__input {
  display: flex;
  flex-direction: column;
}

#contact .__form .__right h3 {
  font-size: 1.35rem;
  line-height: 1.75rem;
  margin-bottom: 1rem;
}

#contact .__form .__right .__input span {
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 5px;
}

#contact .__form .__right .__input input {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgb(201 201 206);
  border-radius: 0.75rem;
  background-color: transparent;
  color: #fff;
}

#contact .__form .__right .__input textarea {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgb(201 201 206);
  border-radius: 0.75rem;
  background-color: transparent;
  color: #fff;
}

#contact .__form .__right button {
  font-size: 1.25rem;
  line-height: 1.75rem;
  width: 15rem;
  height: 72px;
  color: rgb(34 34 34);
  font-weight: 700;
  border-radius: 50px;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

#contact .__form .__right button i {
  font-size: 32px;
}


@media (max-width: 768px) {
  #contact {
    padding: 1rem;
  }

  #contact .__title {
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
  }

  #contact .__title h2 {
    font-size: 1.5rem;
  }

  #contact .__title h1 {
    font-size: 2.5rem;
  }

  #contact .__title p {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  #contact .__form {
    margin-top: 2rem;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  #contact .__form .__left .__contact-details {
    margin-bottom: 1rem;
    padding: 1rem;
  }

  #contact .__form .__left .__contact-details h1 {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  #contact .__form .__left .__contact-details p {
    font-size: 0.9rem;
    line-height: 1.3rem;
  }

  #contact .__form .__left .links i {
    font-size: 32px;
  }

  #contact .__form .__left .links h3 {
    font-size: 0.9rem;
  }

  #contact .__form .__left .links h4 {
    font-size: 0.8rem;
  }

  #contact .__form .__right h3 {
    font-size: 1.2rem;
  }

  #contact .__form .__right .__input span {
    font-size: 0.9rem;
  }

  #contact .__form .__right .__input input,
  #contact .__form .__right .__input textarea {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  #contact .__form .__right button {
    width: 100%;
    height: 3rem;
    font-size: 1rem;
  }
}