.matlin-form {
  max-width: 1500px;
  width: 95%;
  margin: 160px auto 40px;
  background-color: var(--color-dark-blue);
  border-radius: 26.667px;
  position: relative;
  z-index: 3;
}

.matlin-form__wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
  padding: 53px 68px;
}

.matlin-form__wrapper .form-text {
  width: 50%;
}

.matlin-form__wrapper .form-text .form-header h3 {
  color: #FFF;
  font-family: var(--font-header);
  font-size: 66.667px;
  font-weight: 700;
  line-height: 98%;
  text-transform: uppercase;
}

.matlin-form__wrapper .form-text .form-header p {
  color: #FFF;
  font-size: 25px;
  font-weight: 400;
  line-height: 133.333%;
  letter-spacing: -0.25px;
  margin: 14px 0 40px;
}

.matlin-form__wrapper .form-text form .input-row {
  display: flex;
  gap: 18px;
}

.matlin-form__wrapper .form-text form input {
  appearance: none;
  border-radius: 6.667px;
  border: 0.933px solid rgba(255, 255, 255, 0.6);
  background: rgba(84, 83, 104, 0.9);
  box-shadow: 5.333px 5.333px 20.667px 0 rgba(33, 23, 71, 0.2) inset;
  color: rgba(255, 255, 255, 0.6980392157);
  font-family: var(--font-body);
  font-size: 22.667px;
  height: 61px;
  margin-bottom: 8px;
  outline: none;
  padding: 2%;
  width: 100%;
}

.matlin-form__wrapper .form-text form input::placeholder {
  color: rgba(255, 255, 255, 0.6980392157);
  font-family: var(--font-body);
  font-size: 22.667px;
}

.matlin-form__wrapper .form-text form textarea {
  appearance: none;
  border-radius: 6.667px;
  border: 0.933px solid rgba(255, 255, 255, 0.6);
  background: rgba(84, 83, 104, 0.9);
  box-shadow: 5.333px 5.333px 20.667px 0 rgba(33, 23, 71, 0.2) inset;
  color: rgba(255, 255, 255, 0.6980392157);
  font-family: var(--font-body);
  font-size: 22.667px;
  width: 100%;
  resize: none;
  padding: 16px;
  margin-bottom: 18px;
  min-height: 125px;
}

.matlin-form__wrapper .form-text form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6980392157);
  font-family: var(--font-body);
  font-size: 22.667px;
}

.matlin-form__wrapper .form-text form input[type=submit] {
  border-radius: 6.667px;
  background: var(--gold-gradient, linear-gradient(90deg, #DAB128 9.62%, #FDE8A4 56.25%, #DAB128 100%));
  box-shadow: 6.667px 6.667px 10.933px 0 rgba(0, 0, 0, 0.1);
  color: var(--color-dark-blue);
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease-in;
  width: 100%;
}

.matlin-form__wrapper .form-text form input[type=submit]:hover {
  background: #FFF;
}

.matlin-form__wrapper .form-image {
  width: 50%;
}

.matlin-form__wrapper .form-image img {
  position: absolute;
  bottom: 0;
  right: 10%;
  z-index: 1;
  width: 420px;
}

.matlin-form__wrapper .form-image .image-tag {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 10%;
  border-right: 3px solid var(--color-yellow);
  padding-right: 16px;
}

.matlin-form__wrapper .form-image .image-tag p {
  color: #FFF;
  font-size: 19px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 1.9px;
  text-align: right;
  text-transform: uppercase;
}

.matlin-form__wrapper .form-image .image-tag p strong {
  font-weight: 700;
  display: block;
}

.matlin-form::before {
  content: "";
  background: url("../img/form-bg.jpg") 50% no-repeat;
  background-size: cover;
  border-radius: 26.667px;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
}

.mtl-check .gfield_checkbox .gchoice {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.mtl-check .gfield_checkbox .gchoice input[type=checkbox] {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 4px;
  cursor: pointer;

}

.mtl-check .gfield_checkbox .gchoice input[type=checkbox]:checked {
  background-color: #DAB128;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mtl-check .gfield_checkbox .gchoice input[type=checkbox]:checked::before {
  display: inline-block;
  width: 24px;
  height: 24px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  vertical-align: -0.125em;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23211747' d='m10.586 13.414l-2.829-2.828L6.343 12l4.243 4.243l7.07-7.071l-1.413-1.415z'/%3E%3C/svg%3E");
}

.mtl-check .gfield_checkbox .gchoice label {
  color: #FFF;
  font-family: var(--font-body-regular);
}

@media screen and (max-width: 1380px) {
  .matlin-form__wrapper .form-image img {
    right: 5%;
  }
}




@media screen and (max-width: 1600px) {
.hero-form {
    max-width: 500px !important;
}

.sms-disclaimer {
  font-size: 10px !important;
}

}

@media screen and (max-width: 1380px) {


  .matlin-form__wrapper .form-text .form-header h3 {
    font-size: 50px;
  }

  .matlin-form__wrapper .form-text .form-header p {
    font-size: 20px;
  }

  .matlin-form__wrapper .form-image img {
    right: 5%;
    max-width: 400px;
  }
}

@media screen and (max-width: 880px) {
  .matlin-form {
    overflow: hidden;
  }

  .matlin-form__wrapper {
    flex-direction: column;
    gap: 25px;
    padding: 53px 0 0;
  }

  .matlin-form__wrapper .form-text {
    padding: 0 63px;
    width: 100%;
  }

  .matlin-form__wrapper .form-text .form-header h3 {
    font-size: 50px;
  }

  .matlin-form__wrapper .form-text .form-header p {
    font-size: 20px;
  }

  .matlin-form__wrapper .form-image {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .matlin-form__wrapper .form-image img {
    position: static;
    width: 100%;
    max-width: unset;
    max-height: 480px;
    object-fit: cover;
    object-position: top center;
  }

  .matlin-form__wrapper .form-image .image-tag {
    bottom: 5%;
    right: unset;
    border-color: #5581F1;
  }

  .matlin-form__wrapper .form-image .image-tag p {
    color: var(--color-dark-blue);
  }
}

@media screen and (max-width: 600px) {
  .matlin-form__wrapper {
    padding: 53px 0 0;
  }

  .matlin-form__wrapper .form-text {
    padding: 0 20px;
    width: 100%;
  }

  .matlin-form__wrapper .form-text .form-header h3 {
    font-size: 36px;
  }

  .matlin-form__wrapper .form-text form .input-row {
    flex-direction: column;
    gap: 0;
  }

  .matlin-form__wrapper .form-text form input {
    font-size: 20px;
  }

  .matlin-form__wrapper .form-text form input::placeholder {
    font-size: 20px;
  }

  .matlin-form__wrapper .form-text form textarea {
    font-size: 20px;
  }

  .matlin-form__wrapper .form-text form textarea::placeholder {
    font-size: 20px;
  }

  .matlin-form__wrapper .form-image img {
    max-height: 420px;
  }

  .matlin-form__wrapper .form-image .image-tag {
    bottom: 2%;
  }

  .matlin-form__wrapper .form-image .image-tag p {
    color: var(--color-dark-blue);
  }
}

.items-center button {
      border-radius: 6.667px;
    background: var(--gold-gradient, linear-gradient(90deg, #DAB128 9.62%, #FDE8A4 56.25%, #DAB128 100%));
    box-shadow: 6.667px 6.667px 10.933px 0 rgba(0, 0, 0, 0.1);
    color: var(--color-dark-blue);
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease-in;
    width: 100%;
}

/* --------------- Hero Form ------------- */
.hero-form {
  max-width: 600px;
  width: 95%;
  background-color: var(--color-dark-blue);
  border-radius: 23.853px;
  border: 1.578px solid rgba(255, 255, 255, 0.48);
  padding: 40px;
  position: absolute;
  right: 5%;
  top: 10px;
  z-index: 4;
}

.hero-form h3 {
  color: #FFF;
  font-family: var(--font-header);
  font-size: 47px;
  font-weight: 700;
  line-height: 113%;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-form form .input-row {
  display: flex;
  gap: 18px;
}

.hero-form form input {
  appearance: none;
  border-radius: 6.667px;
  border: 0.933px solid rgba(255, 255, 255, 0.6);
  background: rgba(84, 83, 104, 0.9);
  box-shadow: 5.333px 5.333px 20.667px 0 rgba(33, 23, 71, 0.2) inset;
  color: rgba(255, 255, 255, 0.6980392157);
  font-family: var(--font-body);
  font-size: 22.667px;
  height: 61px;
  margin-bottom: 18px;
  outline: none;
  padding: 2%;
  width: 100%;
}

.hero-form form input::placeholder {
  color: rgba(255, 255, 255, 0.6980392157);
  font-family: var(--font-body);
  font-size: 22.667px;
}

.hero-form form textarea {
  appearance: none;
  border-radius: 6.667px;
  border: 0.933px solid rgba(255, 255, 255, 0.6);
  background: rgba(84, 83, 104, 0.9);
  box-shadow: 5.333px 5.333px 20.667px 0 rgba(33, 23, 71, 0.2) inset;
  color: rgba(255, 255, 255, 0.6980392157);
  font-family: var(--font-body);
  font-size: 22.667px;
  width: 100%;
  resize: none;
  padding: 16px;
  margin-bottom: 18px;
  min-height: 125px;
}

.hero-form form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6980392157);
  font-family: var(--font-body);
  font-size: 22.667px;
}

.hero-form form input[type=submit] {
  border-radius: 6.667px;
  background: var(--gold-gradient, linear-gradient(90deg, #DAB128 9.62%, #FDE8A4 56.25%, #DAB128 100%));
  box-shadow: 6.667px 6.667px 10.933px 0 rgba(0, 0, 0, 0.1);
  color: var(--color-dark-blue);
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease-in;
}

.hero-form form input[type=submit]:hover {
  background: #FFF;
}

@media screen and (max-width: 1440px) {
  .hero-form {
    right: 1%;
  }
}

@media screen and (max-width: 1080px) {
  .hero-form {
    position: static;
    margin: 50px auto 0;
  }
}

@media screen and (max-width: 600px) {
  .hero-form h3 {
    font-size: 34px;
  }

  .hero-form form .input-row {
    flex-direction: column;
    gap: 0;
  }

  .hero-form form input,
  .hero-form form textarea {
    font-size: 15px;
  }

  .hero-form form input::placeholder,
  .hero-form form textarea::placeholder {
    font-size: 15px;
  }
}

/*# sourceMappingURL=form.css.map */

@media screen and (min-width:768px) {
  .matlin-form__wrapper {
    min-height: 650px;
  }
}


/* Base inputs */
.matlin-lawmatics-form input,
.matlin-lawmatics-form textarea,
.matlin-lawmatics-form select{
  background: rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.45);
  border-radius:8px;
  color:white;
  padding:16px;
  width:100%;
  font-size:16px;
  line-height:1.4;
  height:56px;
  box-sizing:border-box;
}

/* Placeholder */
.matlin-lawmatics-form input::placeholder,
.matlin-lawmatics-form textarea::placeholder{
  color:rgba(255,255,255,0.75);
}

/* Textarea */
.matlin-lawmatics-form textarea{
  min-height:140px;
  height:auto;
}

/* Labels */
.matlin-lawmatics-form label{
  color:white;
  font-size:16px;
}

/* Button */
.matlin-lawmatics-form button{
  border-radius:6.667px;
  background:linear-gradient(90deg,#DAB128 9.62%,#FDE8A4 56.25%,#DAB128 100%);
  box-shadow:6.667px 6.667px 10.933px rgba(0,0,0,0.1);
  color:#211747;
  cursor:pointer;
  text-transform:uppercase;
  transition:.3s;
  width:100%;
  height:61px;
  border:none;
}

.matlin-lawmatics-form button span{
  font-size:22px;
}

/* Row layout */
.form-row{
  display:flex;
  gap:15px;
  margin-bottom:15px;
}

.form-row input{
  flex:1;
}

/* Select field */
.matlin-lawmatics-form select{
  background: rgba(84,83,104,0.9);
  border:1px solid rgba(255,255,255,0.45);
  border-radius:8px;
  color:white;
  padding:16px;
  font-size:16px;
  height:56px;
  line-height:1.4;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  cursor:pointer;

  background-image:url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat:no-repeat;
  background-position:right 16px center;
  background-size:16px;
}

/* Dropdown menu */
.matlin-lawmatics-form select option{
  background:#2f2a4f;
  color:#ffffff;
  font-size:16px;
}

/* Hover option */
.matlin-lawmatics-form select option:hover{
  background:#1e1a35;
}

/* Selected option */
.matlin-lawmatics-form select option:checked{
  background:#1e1a35;
  color:white;
}

/* Focus */
.matlin-lawmatics-form select:focus,
.matlin-lawmatics-form input:focus,
.matlin-lawmatics-form textarea:focus{
  outline:none;
  border-color:#FDE8A4;
}

/* loader */
.matlin-submit {
position:relative;
display:flex;
align-items:center;
justify-content:center;
}

.btn-loader {
display:none;
width:20px;
height:20px;
border:3px solid rgba(255,255,255,0.4);
border-top:3px solid #211747;
border-radius:50%;
animation:matlin-spin 0.8s linear infinite;
}

@keyframes matlin-spin {
0% { transform:rotate(0deg); }
100% { transform:rotate(360deg); }
}

/* loading state */
.matlin-submit.loading .btn-text{
display:none;
}

.matlin-submit.loading .btn-loader{
display:block;
}

.phone-field{
flex:1;
display:flex;
flex-direction:column;
}

.phone-field input{
width:100%;
height:56px; /* same height as other inputs */
}

.sms-disclaimer{
font-size:10px;
color:#ffffff;
margin-top:6px;
line-height:1.3;
opacity:0.85;
max-width:100%;
}

.sms-disclaimer a{
color:#ffffff;
text-decoration:underline;
}

/* email + phone grid */
.form-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
margin-bottom:15px;
}

/* phone column wrapper */
.phone-wrapper{
display:flex;
flex-direction:column;
}

/* disclaimer */
.sms-disclaimer{
font-size:11px;
color:#ffffff;
line-height:1.3;
margin-top:6px;
opacity:0.85;
}

.sms-disclaimer a{
color:#ffffff;
text-decoration:underline;
}

/* keep inputs identical */
.matlin-lawmatics-form input,
.matlin-lawmatics-form select{
height:56px;
}

section:has(.matlin-form) {
  overflow: visible;
}

.elementor-widget-container {
  overflow: visible !important;
}

.matlin-form {
  overflow: visible;
  position: relative;
}