/* General Form Styling */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

input[type="text"], input[type="number"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type=reset], input[type=tel], input[type=date], select {
    height: 50px;
}

p {
    margin-bottom: 0.25em;
}

/* Form Row Styling */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px; /* Add spacing between rows */
}

/* Half-Width Fields */
.form-full {
    width: 100%;
    margin-right: 0% !important; /* Space between two fields in the same row */
}

/* Half-Width Fields */
.form-half {
    width: 48%;
    margin-right: 2% !important; /* Space between two fields in the same row */
}

.form-half:last-child {
    margin-right: 0;
}

/* Labels Styling */
.wpcf7-form label {
    display: block;
    margin-bottom: 0px; /* Space below the label */
    padding-top: 0px; /* Add padding above labels */
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

/* Input and Textarea Fields */
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="submit"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    background-color: #f0f9ff; /* Light blue background */
    font-size: 16px;
    color: #333;
}

/* Text Area Reduced Rows */
textarea {
    height: 120px; /* Adjust height for less rows */
    resize: none; /* Disable resize */
}

/* Placeholder Text */
textarea::placeholder,
input::placeholder {
    color: #bbb; /* Minimal and soft color for placeholders */
    font-size: 14px;
}

/* Submit Button */
input[type="submit"] {
    background-color: #0073e6;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    margin-top: 30px; /* Add spacing above the button */
    padding: 18px 20px; /* Adjust button padding */
}

input[type="submit"]:hover {
    background-color: #005bb5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-half {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px; /* Add spacing for stacked fields */
    }
		.form-full {
        width: 100%;
        margin-right: 0;
        margin-bottom: 5px; /* Add spacing for stacked fields */
    }
}