@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');


.form-container {
  background: #fff;
  padding: 30px;
  border-radius: 0px;
  box-shadow: rgb(99 99 99 / 76%) -1px 2px 11px 0px;
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  /* padding-top: 74px; */
  padding: 40px 40px;
}

h2 {
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
  color: #333;
}

form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #dcdcdc;
  /* Light green, thick */
  border-radius: 4px !important;
  font-size: 15px;
  font-family: "Sarabun", sans-serif;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #ee3522;
  outline: none;
}

::placeholder {
  font-size: 15px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

#contactForm button[type="submit"], #contactForm a {
    /* width: 140px; */
    padding: 12px;
    font-size: 16px;
    margin: 0 auto;
    border: 0px solid;
    text-transform: uppercase;
    text-align: center;
    font-family: "Lato", sans-serif;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-weight: 400;
    border-radius: 5px;
    background-color: #00a0e3;
    display: inline-block;
}


#careerForm button[type="submit"], #careerForm a {
    /* width: 140px; */
    padding: 12px;
    font-size: 16px;
    margin: 0 auto;
    border: 0px solid;
    text-transform: uppercase;
    text-align: center;
        font-family: "Lato", sans-serif;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-weight: 400;
    border-radius: 5px;
    background-color: #00a0e3;
    display: inline-block;
}

#careerForm button[type="submit"]:hover {
	background: #000 !important;
	-webkit-transition: background 0.3s ease-in-out;
	-moz-transition: background 0.3s ease-in-out;
	transition: background-color 0.3s ease-in-out;
	color: #fff !important;
}


.recaptcha-container {
  display: flex;
  justify-content: center;
  /* centers horizontally */
  align-items: center;
  /* centers vertically if container has height */
  margin: 20px 0;
  /* spacing above and below */
}


.g-recaptcha {
  display: inline-block;
  /* needed to center */
  margin: 0 auto;
}



/* Responsive */
@media(max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 800px) {
  .form-container {
    width: 90%;
  }
}

@media(max-width: 600px) {
  .form-container {
    width: 85%;
  }
}

@media (max-width: 400px) {
  .form-container {
    width: 75%;
  }
}




/* Existing imports and styles remain the same */

/* Ensure select looks consistent with input and textarea */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%2365b530' d='M2 0L0 2h4z'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 10px;
  cursor: pointer;
}

/* Optional: align select dropdown arrow better on mobile */
@media(max-width: 768px) {
  select {
    background-position: right 10px center;
  }
}

/* Form row for single select field (optional) */
.form-row select {
  grid-column: 1 / -1;
  /* Make dropdown full width in its row */
}