@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');

.cont_form h2 {


  text-align: center;
  color: #000;
  font-family: "Barlow", sans-serif;
  line-height: 140%;
  margin: 0;
  font-size: 48px;
  font-weight: 600;
}

.form-container {
  background: #fff;
  padding: 30px;
  border-radius: 0px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  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 1fr;
  gap: 20px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #9e9e9e;
  /* Light green, thick */
  border-radius: 0px;
  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: #35aae7;
  /* Stronger green when active */
  outline: none;
  box-shadow: 0 0 6px #33b1eb7a;
}

::placeholder {
  font-size: 15px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* button {
  width: 150px;
  margin: 0 auto;
  background: #65b530;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
  border-radius: 8px;
  padding: 14px;
}

button:hover {
  background: #549428;
} */


.btn-left-right2 {
  width: 150px;
  margin: 0 auto;
  position: relative;
  outline: none;
  background-image: linear-gradient(195deg, #086AD8 0%, #42B9FF 100%);
  font-size: 18px;
  overflow: hidden;
  transition: color 0.25s;
  padding: 10px 20px;
  border: 0;
  border-radius: 13px;
}


.btn-left-right2 span {
  position: relative;
  z-index: 2;
  color: #fff;
}

.btn-left-right2::before,
.btn-left-right2::after {
  width: 100%;
  height: 50%;
  position: absolute;
  left: 0;
  background-color: #000;
  transition: all 0.25s;
  content: "";
  z-index: 1;
}

.btn-left-right2::before {
  top: 0;
  transform: translate(-104%, 0)
}

.btn-left-right2::after {
  bottom: 0;
  transform: translate(104%, 0);
}

.btn-left-right2:hover span {
  color: #fff !important;
}

.btn-left-right2:hover::before,
.btn-left-right2:hover::after {
  transform: translate(0, 0);
}

.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: 100%;
  }

  input,
  textarea,
  select {
    width: 90%;
  }
}

@media (max-width: 320px) {
  .form-container {
    width: 100%;
  }

  input,
  textarea,
  select {
    width: 80%;
  }
}