/* footer contact form styling*/

.footer-form input.wpcf7-form-control {
  border: none;
  border-bottom: 1px solid #fff;
  padding: 10px;
  width: 100%;
  background-color: transparent;
  box-sizing: border-box;
  margin-bottom: 20px;
  color: #fff;
  opacity: 0.5;
}

/* Focus state for input fields to enhance visibility when active */
.footer-form input.wpcf7-form-control:focus {
  border-bottom: 1px solid #1f6a56;
  outline: none;
}

.footer-form .wpcf7-submit {
  width: auto;
  border: 1.5px solid #ccfff0;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  color: #ccfff1;
  gap: 1.5rem;
  font-size: small;
}

.footer-form .arrow-icon {
  right: 1.25rem;
  width: 32px;
}

.wpcf7-form .footer-form label {
  color: #ccfff1;
  font-weight: 600;
}

.wpcf7-form .footer-form p {
  margin: 20px 0px;
}

/* RF contact form styling  */
.form-1 .second-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  display: grid;
  margin-bottom: 15px;
  gap: 1rem;
  width: 100%;
}

.form-1 .first-row,
.third-row {
  width: 100%;
  margin-bottom: 15px;
}

.form-1 input.wpcf7-form-control {
  padding: 1rem;
  background-color: #fff;
  opacity: 70%;
  color: #1f3b3c;
  width: 100%;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.form-1 select.wpcf7-form-control {
  -webkit-appearance: none; /* Removes default styling for WebKit browsers */
  -moz-appearance: none; /* Removes default styling for Mozilla browsers */
  appearance: none; /* Standard property to remove default styling */
  width: 100%;
  padding: 1rem;
  background-color: #fff;
  opacity: 70%;
  color: #1f3b3c;
  padding-right: 2rem;
  background-image: url("/wp-content/uploads/2024/06/Icon-ionic-ios-arrow-dropdown-circle.svg");
  background-repeat: no-repeat;
  background-position: right 10px center; /* Position the custom arrow */
  font-weight: 700;
}

.form-1 textarea.wpcf7-form-control {
  width: 100%;
  padding: 10px;
  background-color: #fff;
  opacity: 70%;
  color: #1f3b3c;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.wpcf7-form .form-1 label {
  color: #fff;
  font-weight: 300;
}

/* .form-1 .wpcf7-submitbutton {
  border: 1.5px solid #d4daba;
  padding: 0.75rem 1.75rem 0.75rem 0.75rem;
  border-radius: 1.5rem;
  cursor: pointer;
  font-size: 16px !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  background-color: #d4daba;
  color: #1f3b3c;
  font-size: small;
  gap: 1rem;
  @apply font-noto-sans;
} */
.form-1 .wpcf7-submitbutton {
  border: 1.5px solid #d4daba;
  padding: 0.75rem 2.7rem 0.75rem 1.8rem;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 16px !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  background-color: #d4daba;
  color: #1f3b3c;
  gap: 0.75rem;
  @apply font-noto-sans;
}

.form-1 .wpcf7-submitbutton .arrow-icon {
  width: 1rem;
}

@media (max-width: 768px) {
  .form-1 .first-row,
  .form-1 .second-row {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .form-1 label {
    width: 100%; /* Full width on smaller screens */
  }

  .form-1 .wpcf7-submitbutton {
    border: 1.5px solid #d4daba;
    padding: 0.7rem 2.2rem 0.7rem 1.3rem;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    background-color: #d4daba;
    color: #1f3b3c;
    gap: 0.75rem;
    @apply font-noto-sans;
  }
}

/* .wpcf7-form .form-1 .first-row {
  @apply flex;
}

.wpcf7-form .form-1 .second-row {
  @apply flex;
}
.wpcf7-form .form-1 .third-row {
  @apply w-full;
}

.wpcf7-form .form-1 label {
  @apply text-white font-extralight font-opensans;
}

.form-1 input.wpcf7-form-control {
  border: none;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  color: #fff;
  opacity: 0.5;
}

.footer-form .wpcf7-submit {
  @apply rounded-lg py-2 px-10 bg-[#D4DABA];
} */

/* Form container */
.hero-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Labels */
.hero-form-fields .form-group label {
  display: block;
  color: #2a7e9d;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: -20px;
  font-family: 'Open Sans', sans-serif;
}

/* Input fields */
.hero-form-fields input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d0edf5;
  border-radius: 0.375rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  margin-top: 0;
  margin-bottom: 1rem;
  color: #2a7e9d;
}

/* Input placeholders */
.hero-form-fields input::placeholder {
  color: #2a7e9d;
}

/* Form validation messages */
.hero-form-fields .wpcf7-response-output {
  margin: 1rem 0 0 0;
  padding: 0.5rem;
  border-radius: 0.375rem;
}

.hero-form-fields .wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: #dc2626 ;
  margin-top: 0.25rem;
}

span.wpcf7-not-valid-tip {
  color: #ff5555 !important;
}

/* Submit button */
.hero-form-fields .wpcf7-submit {
  width: 270px;
  max-width: 100%; /* Added this to make it responsive */
  padding: 1rem 2rem 1rem 3rem;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Visual styles */
  background-color: #2a7e9d;
  background-image: url("/wp-content/uploads/2024/12/Solo_icon.png");
  background-size: 1.5rem;
  background-repeat: no-repeat;
  background-position: 1.75rem center;

  color: white;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;

  /* Typography */
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;

  /* Transitions */
  transition: background-color 0.3s ease;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .hero-form-fields .wpcf7-submit {
    background-position: 1rem center;
    padding-left: 2.5rem;
  }
}

/* Submit button hover state */
.hero-form-fields .wpcf7-submit:hover {
  background-color: #3b7a8d;
}
