/* Style the entire form container */
.wpcf7 form {
  width: 100%;
  padding: 35px;
  background: #fff;
  border: solid 1px #ddd;
  border-radius: var(--border-radius-lg, 8px);
  box-shadow: var(--box-shadow-lg, 0 4px 8px rgba(0,0,0,0.1));
  box-sizing: border-box;
}

/* Labels full width and spaced */
.wpcf7 label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Full width form fields with padding and border */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100% !important;
  max-width: 100%;
  padding: 1.25rem 1.35rem;
  border: 1px solid #ccc;
  border-radius: 0.35rem;
  box-sizing: border-box;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  display: block;
  color: #333;
  transition: border-color 0.3s ease;
}

/* Border color change on focus */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #007bff;
  outline: none;
}

/* Submit button styling */
.wpcf7 input[type="submit"] {
  background-color: #007bff; /* Bootstrap blue */
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
}

/* Submit button hover */
.wpcf7 input[type="submit"]:hover {
  background-color: #0056b3;
}

/* Placeholder text styling */
.wpcf7 ::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments if needed */
@media (max-width: 576px) {
  .wpcf7 form {
    padding: 20px;
  }
}
