/* ==============================
   CONTACT FORM 7 – FULL FORM CSS
   ============================== */

.custom-form {
    max-width: 600px;
    width: 100%;
}

/* Input & textarea fields */
.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background-color: #ffffff;
    box-sizing: border-box;
}

/* Placeholder color */
.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: #b8b8b8;
}

/* Message box (short & clean) */
.custom-form textarea {
    min-height: 90px;
    max-height: 120px;
    resize: none;
}

/* Buttons wrapper */
.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

/* Buttons base */
.btn-appointment,
.btn-enquiry {
    width: 100%;
    padding: 16px 20px;
	  
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}
.btn-appointment{
	margin-bottom: 15px;
}

/* Appointment button */
.btn-appointment {
    background-color: #0b4a5a;
    color: #ffffff;
}

.btn-appointment:hover {
    background-color: #083a46;
}

/* Enquiry button */
.btn-enquiry {
    background-color: #f2b01e;
    color: #ffffff;
}

.btn-enquiry:hover {
    background-color: #d99c18;
}

/* Remove CF7 error border styling conflict */
.wpcf7-not-valid {
    border-color: #e5e5e5 !important;
}

/* Success & error messages */
.wpcf7-response-output {
    margin-top: 12px;
    font-size: 14px;
    border-radius: 6px;
}

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

.custom-form {
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  font-family: Poppins, sans-serif;
  max-width: 700px;
  margin: 30px auto;
  text-align: center;
}

.custom-form .form-field {
  margin-bottom: 12px;
}

.custom-form .cf7-field {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  outline: none;
}

.custom-form .cf7-field:focus {
  border-color: #0b4a63;
}

.custom-form .form-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-form .btn-enquiry {
  background: #0b4a63;
  color: #fff;
  border: none;
  padding: 12px 35px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;
}

.custom-form .btn-enquiry:hover {
  background: #064250;
}

@media (max-width: 768px) {
  .search-bar {
    flex-direction: column; /* stack fields vertically */
    padding: 10px;
  }

  .field {
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 10px;
    padding: 0 5px;
  }

  .field input,
  .field select {
    width: 100%;
    height: 40px; /* fixed height suitable for mobile */
  }

  .divider {
    display: none; /* hide vertical dividers on mobile */
  }

  .search-btn {
    width: 100%;
    padding: 12px;
    margin: 0; 
  }
}

