/* Force full white input text on dark background sections */
.has-img-bg .form-control,
.has-img-bg select.form-control,
.has-img-bg textarea.form-control {
  color: #ffffff !important;
  background-color: transparent;
}

/* Placeholder text */
.has-img-bg .form-control::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

/* Focus state */
.has-img-bg .form-control:focus {
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
}

/* Keep dropdown options readable */
.has-img-bg select.form-control option {
  color: #000000;
}

/* ===== Contact / Quote section layout fix ===== */

/* Ensure the contact row behaves as a grid */
#contact .row {
  display: flex;
  align-items: center;
}

/* Left column: form */
#contact .pen-test-form,
#contact form {
  flex: 0 0 58%;
  max-width: 58%;
}

/* Right column: logo block */
#contact .brand-column {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo panel */
#contact .brand-card {
  width: min(420px, 100%);
  padding: 24px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

#contact .brand-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile: stack cleanly */
@media (max-width: 991px) {
  #contact .row {
    flex-direction: column;
    align-items: stretch;
  }

  #contact .pen-test-form,
  #contact form,
  #contact .brand-column {
    max-width: 100%;
    flex: 0 0 100%;
  }

  #contact .brand-column {
    margin-top: 2rem;
    justify-content: center;
  }
}
