body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

#contact {
  background: url("/images/contact-image-bg.webp") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
}

.contact-container span {
  font-weight: 500;
  font-size: 14px;
  color: #f4f4f5;
  text-align: start;
}

.contact-overlay {
  background-color: rgba(40, 91, 93, 0.66);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 80%;
  padding: 5% 0;
  gap: 40px;
}

.contact-info-section,
.contact-form {
  border-radius: 10px;
  flex: 1;
}

.contact-info-section h1,
.contact-form h1 {
  margin-bottom: 18px;
  text-align: start;
  font-weight: 700;
  font-size: 30px;
  color: #ffffff;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-bottom: 13px;
}

.contact-item .icon {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

.map-image {
  margin-top: 18px;
  width: 100%;
  height: 250px;
  max-height: 300px;
  border-radius: 8px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.row {
  display: flex;
  gap: 18px;
  width: 100%;
  margin-bottom: 18px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 18px;
  border: none;
  border-radius: 5px;
}

input[type="text"],
input[type="email"] {
  flex: 1;
}

textarea {
  height: 148px;
  resize: none;
}

.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.checkbox-container input {
  margin-right: 8px;
}

button {
  background-color: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 8px 24px;
  border: 3px solid #2dd4bf;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  color: #fafafa;
}

button:hover {
  background-color: #2dd4bf;
  color: #fafafa;
}

.checkbox-container label {
  font-weight: 500;
  font-size: 10px;
  color: #f4f4f5;
  text-align: start;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .contact-info-section,
  .contact-form {
    width: 100%;
    padding: 8px;
  }

  .contact-info-section h1,
  .contact-form h1 {
    text-align: center;
    font-size: 26px;
  }

  .contact-item {
    justify-content: center;
  }
  .contact-item span {
    font-size: 14px;
  }

  .contact-item .icon {
    width: 18px;
    height: 18px;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 14px;
    padding: 6px;
  }

  .row {
    flex-direction: column;
    gap: 8px;
  }

  .checkbox-container label {
    font-size: 10px;
  }

  button {
    font-size: 14px;
    padding: 6px 18px;
  }
}

@media (max-width: 500px) {
  .contact-info-section h1,
  .contact-form h1 {
    font-size: 22px;
  }
  .contact-item {
    align-items: start;
    justify-content: start;
  }

  .contact-item span {
    font-size: 12px;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 12px;
  }

  button {
    font-size: 12px;
    padding: 4px 16px;
  }

  .checkbox-container label {
    font-size: 10px;
  }
}
