@font-face {
  font-family: 'Denton Test';
  src: url('../fonts/denton-font/Denton Test Bold 700.otf') format('woff2'),
       url('../fonts/denton-font/Denton Test Bold 700.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
  /* font-display: swap; */
}
.contactus-section {
  width: 100%;
  min-height:100vh;
  /* height: 860px; */
  padding:120px 100px;
  margin: 0 auto;
  background-image: url('../Images/home/image 46.png');
  position: relative;
}

.contact-form {
  width: 470px;
  background: #FFFFFFD1;
  border-radius: 10px;
  padding: 20px;
  font-family: 'Alice';
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
}
/* Heading */
.contact-form h2 {
  position: relative;
  margin-top: 20px;
 letter-spacing: 0%;
  width: 400px;
  height: 64px;
  font-family: 'Denton Test', serif; /* replace with "Heading" font if custom */
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2; /* ~97% */
  text-align: center;
  color: #000;
  /* margin: 0 auto 20px auto; */
}

/* Form fields */
.contact-form form {
  width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  /* gap: 15px; */
}

.contact-form label {
  font-size: 13.39px;
  font-weight: 500;
  color: #000;
  font-family: 'DM Sans',sans-serif;
  /* margin-bottom: 6px; */
}

.contact-form label span {
  color: red;
}

.contact-form input,
.contact-form select
{
  width: 100%;
  padding: 2px 0;
  border: none;
  border-bottom: 1px solid #888;
  font-size: 14px;
  outline: none;
  background: transparent;
  font-family: 'Noto Sans', sans-serif;
  resize: none;
  margin-bottom: 30px;
  
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box; /* ensures padding/border doesn't break width */
}

.contact-form textarea {
  border: 1px solid #888;
  background: transparent;
}

select option {
  background-color: transparent;
  /* color: inherit; keep color consistent */
}

/* Button */
.contact-form button {
  width: 410px;
  height: 46px;
  background: #B2782E;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 12px 16px;
  margin-top: 10px;
  transition: background 0.3s ease;
  font-size: 'Noto Sans', sans-serif;
}

.contact-form button:hover {
  background: #9a6527;
}

/* Medium devices (mobiles landscape / small tablets) */
@media (max-width: 768px) {
  .contact-form { width:100%; }
  .contactus-section { padding:80px 20px; }
  .contact-form h2 {
    font-size: 22px;
    width: 100%;
    height: auto;
    line-height: 1.3;
  }

  .contact-form form {
    width: 100%;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width:100%;
    font-size: 14px;
    margin-bottom: 20px;
  }

  .contact-form button {
    width: 100%;
    font-size: 15px;
  }
}

/* Small devices (mobiles, portrait) */
@media (max-width: 480px) {
  .contact-form h2 {
    font-size: 22px;
    width: 100%;
    height: auto;
    line-height: 1.3;
  }

  .contact-form form {
    width: 100%;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width:100%;
    font-size: 14px;
    margin-bottom: 20px;
  }

  .contact-form button {
    width: 100%;
    font-size: 15px;
  }
}

/* Extra small devices (very small phones) */
@media (max-width: 360px) {
   .contact-form h2 {
    font-size: 20px;
    width: 100%;
    height: auto;
    line-height: 1.3;
  }

 .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    font-size: 13px;
    margin-bottom: 18px;
  }

   .contact-form button {
    width: 100%;
    font-size: 15px;
  }
}