/* screen - contact */

.contact {
  padding-bottom: 4em;
  background-color: var(--neutral100);
  border: 1px none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
}

.contact-flex {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
}

.contact .group-336 {
  gap: 32px;
  height: 44px;
  margin-left: 373px;
  min-width: 245px;
}

.contact .frame-335 {
  align-items: center;
  background-color: var(--meliteh-red-semitransparent);
  border-radius: 4px;
  gap: 10px;
  justify-content: center;
  padding: 12px 24px;
  width: fit-content;
}

.contact .title {
  color: var(--meliteh-black-type);
  font-size: 100px;
  font-weight: 500;
  height: 116px;
  letter-spacing: 0;
  line-height: 116px;
}

.contact .flex-row {
  gap: 4em;
}

.contactContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.contact .flex-col-1 {
  align-items: flex-start;
  gap: 20px;
}

.contact .x1 {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 61px;
  width: 218px;
}

.contact .contact-info {
  color: var(--meliteh-black-type);
  font-size: var(--font-size-xl);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 30px;
  white-space: nowrap;
}

.contact .email-infomelitehcom {
  letter-spacing: 0;
  line-height: 27px;
  white-space: nowrap;
}

.contact .flex {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.company-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  flex: 1;
  --max-cell-size: 320px;
  max-width: calc(var(--max-cell-size) * 3);
  margin: 0 24px 24px 24px;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"] {
  width: 100%;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  border: none;
  border-bottom: 1px solid #000;
  padding: 24px 0 4px 0;
  font-size: 1em;
}

.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="tel"]:focus,
.form textarea:focus {
  border-bottom: 1px solid #d20027;
  outline: none;
}

.form textarea {
  resize: vertical;
  flex: 3;
}

.submit-button-container {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.status-message {
  display: none;
  align-items: center;
  margin-right: 24px;
}

form[data-status] .status-message {
  display: flex;
}

form[data-status="SUBMITTING"] .status-message-content::before {
  content: "Sending...";
  color: #5252b3;
}

form[data-status="SUCCESS"] .status-message-content::before {
  content: "Submitted successfully. We'll read your message and write you back if needed.";
  color: green;
}

form[data-status="ERROR"] .status-message-content::before {
  content: "Failure ";
  color: #b92c2c;
}

.contactus-fieldset {
  border: none;
  flex-direction: column;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.formContactFields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contactus-submit {
  font-weight: 700;
  background-color: transparent;
  color: #d20027;
  border: 2px solid #d20027;
  padding: 1em;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.25em;
  max-width: 300px;
  flex: 1;
}

.contactus-submit:hover {
  background-color: #d20027;
  color: white;
}

.contact .x2 {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 114px;
  width: 268px;
}

.contact .office {
  color: var(--meliteh-black-type);
  font-weight: 500;
  line-height: 30px;
  white-space: nowrap;
}

.contact .mk-business-centre {
  letter-spacing: 0;
  line-height: 28px;
  min-height: 80px;
  width: 262px;
}

.contact .x3 {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 2px;
}

.contact .hours-of-operation {
  color: var(--meliteh-black-type);
  font-weight: 500;
  line-height: 30px;
  white-space: nowrap;
}

.contact .monday-friday-700 {
  letter-spacing: 0;
  line-height: 28px;
}

.contact .flex-col-2 {
  align-items: flex-start;
  gap: 1.75em;
  width: 772px;
}

.contact .frame-39251 {
  align-items: flex-start;
  gap: 1.75em;
}

.contact .frame-392 {
  align-items: flex-start;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

.contact .x2-1 {
  height: 19px;
  min-width: 91.25px;
  position: relative;
}

.contact .line {
  align-self: stretch;
  height: 1px;
  min-width: 235.33px;
  object-fit: cover;
  position: relative;
}

.contact .x2-2 {
  height: 19px;
  min-width: 91.25px;
  position: relative;
}

.contact .email {
  color: var(--meliteh-grey-text);
  font-weight: 400;
  left: 0;
  line-height: 19px;
  position: absolute;
  top: 0;
  white-space: nowrap;
  width: 89px;
}

.contact .x9 {
  height: 18px;
  min-width: 101px;
  position: relative;
}

.contact .frame-39248 {
  align-items: center;
  background-color: var(--neutral100);
  border: 1px solid;
  border-color: var(--meliteh-red-semitransparent);
  border-radius: 8px;
  gap: 10px;
  justify-content: center;
  margin-right: 2px;
  overflow: hidden;
  padding: 16px 24px;
  width: fit-content;
}

.contact .submit {
  letter-spacing: 0;
  line-height: 26px;
  margin-top: -1px;
  position: relative;
  text-align: right;
  white-space: nowrap;
  width: fit-content;
}

.contact .frame {
  display: flex;
  position: relative;
}

@media (max-width: 1024px) {
  .form {
    margin: 16px;
  }

  #submit {
    margin-top: 0px;
    max-width: none;
  }

  .company-contact-info {
    padding-left: 24px;
  }

  .contactContainer {
    flex-direction: column;
    justify-content: flex-start;
  }

  .contact .title {
    font-size: 56px;
    line-height: 64px;
  }

  .contact .flex-row {
    gap: 2em;
  }
}
