@import url(./utilities.css);
@import url(./style.css);

/* ================== CONTACT FORM STYLES ================== */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.contact-heading {
  font-size: 6rem;
  color: #e53935;
  text-align: center;
  margin-bottom: 2rem;
}

.c-wrap {
  width: 100%;
  max-width: 900px;
  background-color: #f0b607;
  border-radius: 1rem;
  border: 2px solid #732813;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form .c-text {
  margin-top: 1.2rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #090909;
}

.contact-form input.c-input,
.contact-form textarea,
.contact-form input[type="file"] {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.8rem 2rem;
  font-size:1rem;
  border: 3px solid #aaa;
  border-radius: 5px;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border 0.3s ease;
}

.contact-form input.c-input:focus,
.contact-form textarea:focus {
  border-color: #e53935;
}

.contact-form textarea {
  resize: vertical;
  min-height: 70px;
}

.contact-form .gender {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form input[type="radio"] {
  margin-right: 0.4rem;
}

.contact-form label {
  margin-right: 1rem;
  font-size: 1rem;
}
/* .dBtn{
    padding: 15px;
    margin: 12px;
    width: 20%;
    border-radius: 0.5rem;
    background-color: red;
    color: white;
} */
/* .dBtn:hover{
    background-color: white;
    color: red;
   font-weight: bold;
} */

.contact-form button.submitBtn {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #e53935;
  color: #fff;
  border: none;
  font-weight: bold;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: center;
}

.contact-form button.submitBtn:hover {
  background-color: darkred;
}

/* ================== RESPONSIVE ================== */
@media screen and (max-width: 768px) {
  .contact-heading {
    font-size: 2.4rem;
  }

  .c-wrap {
    width: 75%;
    padding: 1.5rem;
  }

  .contact-form .c-text {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 480px) {
  .contact-heading {
    font-size: 2rem;
  }

  .c-wrap {
    padding: 1rem;
  }

  .contact-form button.submitBtn {
    width: 100%;
  }
}
