/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.custom-form {
/*   background: #243f99;
  padding: 30px; */
  border-radius: 8px;
  max-width: 100%;
}

.custom-form label {
	 font-family: 'Montserrat', sans-serif !important;
	font-size:16px;
  color: #fff;
  font-weight: 400;
  display: block;
  margin-bottom: -10px;
}

.custom-form input{
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: none;
  margin-bottom: 5px;
}

.custom-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: none;
  margin-bottom: 5px;
	height:120px;
}


.two-col {
  display: flex;
  gap: 10px;
}

.two-col div {
  width: 50%;
}

.custom-form input[type="submit"] {
	width:auto;
		 font-family: 'Montserrat', sans-serif !important;
  background: black;
  color: white;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
}

.custom-form input[type="submit"]:hover {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  transition: all 0.3s ease;
}

.custom-form .form-row:last-child {
  margin-bottom: 0;
}

.custom-form input[type="submit"] {
  margin-bottom: 0 !important;
}

/* .wpcf7 form p {
  margin-bottom: 0 !important;
}
 */
.custom-form {
  padding-bottom: 0px;   /* reduce bottom gap */
}
.wpcf7 form p {
  margin: 0 !important;
  padding: 0 !important;
}

.custom-form {
  margin: 0 !important;
}

.custom-form .form-row {
  margin-bottom: 12px;
}
.custom-form .form-row:last-child {
    margin-bottom: -20px;
}



.modern-form {
  max-width: 100%;
}

.modern-form label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #000000;
  display: block;
  margin-bottom: 6px;
	Font-size:16px;
	margin-bottom:-10px;
}

.modern-form .row {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}

.modern-form .row.full {
  flex-direction: column;
}

.modern-form .row div {
  width: 50%;
}

.modern-form input {
  width: 100%;
  padding: 12px;
  background: #f6f8fb;
  border: 1px solid #e1e5ec;
  border-radius: 6px;
  font-size: 14px;
}

.modern-form textarea {
width: 100%;
  padding: 12px;
  background: #f6f8fb;
  border: 1px solid #e1e5ec;
  border-radius: 6px;
  font-size: 14px;
  height: 120px !important;
}

.modern-form input[type="submit"] {
  width: auto;
  background: #243f99;
  color: #fff;
  padding: 10px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
	font-weight:600;
	font-size:16px;
	  font-family: 'Montserrat', sans-serif;

}
.modern-form input[type="submit"]:hover {
  background: #000000;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
/*   transition: all 0.3s ease;
 */
}
/* Mobile responsive: stack fields vertically */
@media (max-width: 768px) {
  .modern-form .row {
    flex-direction: column;
    gap: 12px; /* smaller gap for mobile */
  }

  .modern-form .row div {
    width: 100%;
  }

  .modern-form input[type="submit"] {
    width: 100%;
    text-align: center;
  }
}
/* Mobile responsive: stack fields vertically */
@media (max-width: 768px) {
  .custom-form .two-col {
    flex-direction: column; /* stack divs vertically */
    gap: 10px; /* gap between fields */
  }

  .custom-form .two-col div {
    width: 100%; /* full width for mobile */
  }

  .custom-form input[type="submit"] {
    width: 100%; /* submit button full width on mobile */
    text-align: center;
  }

  .custom-form label {
    margin-bottom: -10px; /* proper spacing for mobile */
  }

  .custom-form .form-row:last-child {
    margin-bottom: 0; /* avoid negative spacing breaking layout */
  }
}



.modern-form-new {
  max-width: 100%;
}

.modern-form-new .row {
  display: flex;
  flex-direction: column; /* stack fields vertically */
  gap: 12px;
  margin-bottom: 18px;
}

.modern-form-new .row.full {
  flex-direction: column;
}

.modern-form-new input,
.modern-form-new select,
.modern-form-new textarea {
  width: 100%; /* full width for all fields */
  padding: 12px;
  background: #f6f8fb;
  border: 1px solid #e1e5ec;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
font-size: 15px;
  font-family: 'Montserrat', sans-serif;
}

.modern-form-new textarea {
  height: 120px !important;
}
.modern-form-new label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #000000;
  display: block;
  margin-bottom: 6px;
	Font-size:16px;
	margin-bottom:-10px;
}
.modern-form-new input[type="submit"] {
  width: auto;
  background: #243f99;
  color: #fff;
  padding: 10px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
	margin-top:10px;
}

.modern-form-new input[type="submit"]:hover {
  background: #000000;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  transition: all 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .modern-form-new {
    max-width: 100%;
  }

  .modern-form-new .row {
    flex-direction: column;
  }

  .modern-form-new input[type="submit"] {
    width: 100%;
    text-align: center;
  }
}
