@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: 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 #65b53033; /* 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: #ee3522; /* Stronger green when active */
      outline: none;
      box-shadow: 0 0 6px rgba(101, 181, 48, 0.4);
    }
    ::placeholder {
      font-size: 15px;
    }
    textarea {
      resize: vertical;
      min-height: 100px;
    }
    button {
      width: 150px;
      margin: 0 auto;
      background: #ee3522;
      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: #d74a0a;
    }

    .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%;
    }
    }

