/*.. Contact Form CSS ..*/
/* This CSS is for the contact form on the service page. It styles the form to be responsive and visually appealing. */

/* Container styling for the entire form */
#service-contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    /* You can adjust the background, border, etc., as desired */
}

/* Flexbox layout for rows on desktop */
#service-contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* By default, fields get 50% width to sit side by side */
#service-contact-form .form-row .field {
    flex: 1 1 50%;
    padding: 0 10px;
}

/* Full-width fields override to 100% width */
#service-contact-form .form-row .field.full-width {
    flex: 1 1 100%;
    padding: 0;
}

/* Style for labels */
#service-contact-form label,
#service-contact-form p {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}

/* Base styling for form controls */
#service-contact-form input.wpcf7-form-control,
#service-contact-form select.wpcf7-form-control,
#service-contact-form textarea.wpcf7-form-control {
    background-color: rgba(255, 255, 255, 0.1);
    color: #333;
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 0.5em;
}

/* Responsive behavior: stack fields vertically on mobile */
@media (max-width: 600px) {
    #service-contact-form .form-row {
        display: block;
    }

    #service-contact-form .form-row .field {
        width: 100%;
        padding: 0;
        margin-bottom: 1rem;
    }
}