.sub-form {
  box-sizing: border-box;
  width: 100%;
  max-width: 500px;
}


.sub-form {
  position: relative;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: popOut 5s ease-in-out infinite; /* Adjust the duration as needed */
}

.sub-form:hover {
  animation: none; /* Stop the animation on hover */
}

.sub-form h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2em;
  text-align: center;
  color: #333;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

input[type="text"],
select,
textarea {
  padding: 8px;
  margin-bottom: 25px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none; /* Disable textarea resizing */
}

.sub-form input,
.sub-form textarea,
.sub-form select {
  width: 100%;
  padding: 0.8rem;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.g-recaptcha {
margin-bottom: 20px;
}


.sub-form button {
  padding: 0.75rem;
  border: none;
  background-color: #0073e6;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  width: 100%;
}