/* General Form Styling */
.wpcf7-form {
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

/* Group Fields Horizontally */
.wpcf7-form .inline-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

/* Input Styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: #0073e6;
    outline: none;
    background-color: #fff;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #707070;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .wpcf7-form .inline-group {
        flex-direction: column;
    }
}
/* Increase the size of the text outside the fields (labels) */
.wpcf7-form label {
    font-size: 18px; /* Larger text for labels */
    font-weight: bold; /* Optional: Make it bold for better readability */
    margin-bottom: -20px; /* Add spacing between label and field */
    color: #333; /* Ensure labels have a clear, contrasting color */
    display: block; /* Ensure the label stays on a separate line */
}

/* Keep the text inside the fields smaller */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
    font-size: 16px; /* Smaller text for fields */
    color: #555; /* Softer color for input text */
    margin-bottom: 8px; /* Add space between the field and the next element */
    padding: 10px; /* Add padding for balanced spacing */
}

/* Optional: Add padding to ensure inputs look balanced */
.wpcf7-form input,
.wpcf7-form textarea {
    padding: 20px;
}