
.content-row.about-container {
  padding-top: 0px !important;
}

.content-row .vector {
  margin-left: 0px;
  height: 100%;
}

.vector.about img {
  width: 640px;
  margin-top: 30px;
  padding-left: 60px;
}

.about-text h1 {
  line-height: 80px;
  text-align: center;
  width: 80%;
  padding-top: 30px;
  padding-bottom: 30px;
}

.group-label {
  font-weight: 500;
}

label {
  font-family: 'MADE Tommy Soft';
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 0.30rem;
}

.contact-text h2 {
  align-items: normal;
  font-family: 'MADE Tommy Soft';
  font-size: 3em;
  color: var(--blue);
  margin: 2rem 4rem;
  line-height: 2.5rem;
}

.about-text p {
  font-family: 'MADE Tommy Soft';
  font-size: 18px;
  color: var(--blue);
  margin: 0 4rem;
}

/* Small Devices (Mobile) */
@media (max-width: 769px) {
  .about-text h1 {
    line-height: 40px;
    text-align: center;
    margin: 0 2rem;
    font-size: 3rem;
  }

  .about-text p {
    font-size: 16px;
    margin: 0 2rem;
  }

  .vector.about.contact-img {
    margin: auto;
  }

  .vector.about.contact-img img {
    padding-right: 0;
    margin-top: 20px;
  }

  .vector.about img {
    width: 100%;
    max-width: 450px;
    margin-top: 0;
    padding-left: 0;
  }

  form#contact-form {
    margin: 2rem 2rem 0 2rem!important;
  }

  .form-row:not(.two-columns) {
    flex-direction: column;
  }

  .form-row.two-columns {
    flex-direction: column; 
  }

  input,
  textarea {
    font-size: 1rem;
    padding: 0.6rem;
    margin-bottom: 0.25rem;
  }

  button[type="submit"] {
    width: 100%;
    text-align: center;
  }

  .contact-text h2 {
    margin: 2rem 4rem 1rem 4rem;
    line-height: 2.5rem;
    text-align: center;
  }
}

/* Medium Devices (Tablets) */
@media (min-width: 770px) and (max-width: 868px) {
  .content-row {
    align-items: normal;
  }

  .content-row > .about-text {
    margin: auto;
    height: 70vh;
    width: 100%;
  }

  .content-row > .vector.about {
    margin: auto;
    height: 70vh;
    width: 100%;
  }

  .about-text h1 {
    line-height: 40px;
    font-size: 2rem;
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 10px;
    text-align: left;
  }

  .about-text p {
    font-size: 14px;
    margin: 0 1rem 0 4rem;
  }

  .vector.about img {
    width: 420px;
    margin-top: 4rem;
  }

  .vector.about.contact-img img {
    width: 400px;
    margin-top: 5rem;
    padding-left: 40px;
  }

  form#contact-form {
    margin: 2rem 0 0 4rem !important;
  }

  input,
  textarea {
    font-size: 0.95rem;
  }

  button[type="submit"] {
    align-self: center;
  }

  .contact-text h2 {
    font-size: 2.5em;
    line-height: 1em;
  }
}

/* Ipads and small laptops */
@media (min-width: 869px) and (max-width: 1024px) {
  .about-text h1 {
    width: 100%;
    line-height: 40px;
    font-size: 3rem;
    text-align: left;
  }

  .about-text p {
    font-size: 16px;
    margin: 0;
    padding-left: 4rem;
  }

  .vector.about img {
    margin-top: 20px;
    padding-left: 30px;
    padding-right: 60px;
    width: 540px;
  }

  .vector.about.contact-img img {
    width: 460px;
    margin-top: 4rem;
  }

  .content-row > .about-text {
    min-width: 25em;
    margin: auto;
    width: 100%;
    height: 80vh;
  }

  .content-row > .vector.about {
    margin: auto;
    height: 80vh;
    width: 100%;
    max-width: 580px;
  }

  .footer.about-footer {
    margin-top: 0px;
  }

  form#contact-form {
    margin: 2rem 0 0 4rem !important;
  }

  input,
  textarea {
    font-size: 1rem;
  }

  button[type="submit"] {
    padding: 0.75rem 2rem;
  }
}

/* Desktops */
@media (min-width: 1025px) and (max-width: 1110px) {
  .about-text h1 {
    font-size: 3rem;
    line-height: 3rem;
  }

  .about-text p {
    font-size: 16px;
    margin: 0 0.5rem 0 4rem;
  }

  form#contact-form {
    max-width: 600px;
    margin: 2rem 0 0 4rem !important;
  }

  .vector.about.contact-img img {
    width: 460px;
    margin-top: 4rem;
  }
}

@media (min-width: 1111px) and (max-width: 1268px) {
  .about-text h1 {
    font-size: 4rem;
    line-height: 3rem;
  }
}

form#contact-form {
  margin: 2rem 4rem 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row.two-columns {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
}

.form-row.two-columns .input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

input,
textarea {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid var(--blue);
  background: #f4f4f4;
  border-radius: 10px;
  font-family: 'MADE Tommy Soft';
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button[type="submit"] {
  background-color: var(--blue);
  color: white;
  font-family: 'MADE Tommy Soft';
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #0050cc;
}

.grecaptcha-badge {
  z-index: 1000;
  bottom: 200px !important;
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.grecaptcha-badge:hover {
  opacity: 1;
}

/* Force First + Last Name row to be horizontal on larger screens */
@media (min-width: 770px) {
  .form-row.two-columns {
    flex-direction: row !important;
  }
}