/* Adjusts the hero section heading for mold[bile devices */
@media (max-width: 767px) {


    .elementor-element.elementor-element-54a2010>.elementor-widget-container {
        margin: 1px !important;
        padding: 1px !important;
    }

    .elementor-element-54a2010 .elementor-heading-title {
        font-size: 24px !important;
        /* Or adjust to a size that fits your design */
        line-height: 1.4em !important;
        /* This adds space between the lines of text */
    }
}

/** 
 * Modern Form Styling for Contact Form 7 
 */

/* Main Form Container */
.wpcf7-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-family: sans-serif;
}

.wpcf7-form h3 {
    width: 100%;
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
}

/* Form Field General Styling */
.wpcf7-form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.wpcf7-form-control:focus {
    border-color: #0073aa;
    box-shadow: 0 0 8px rgba(0, 115, 170, 0.2);
    outline: none;
}

/* Specific Field Styling */
textarea.wpcf7-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Label Styling */
.wpcf7-form p {
    margin: 0;
    width: 100%;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

/* Column Layout */
.col50 {
    width: calc(50% - 10px);
}

.col25 {
    width: calc(25% - 15px);
}

.col100 {
    width: 100%;
}

.col70 {
    width: calc(70% - 10px);
}

.col30 {
    width: calc(30% - 10px);
    display: flex;
    align-items: flex-end;
}

/* Submit Button */
.wpcf7-submit {
    background-color: #0073aa;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    width: auto;
}

.wpcf7-submit:hover {
    background-color: #005a87;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .col50,
    .col25,
    .col70,
    .col30 {
        width: 100%;
    }

    .wpcf7-form {
        padding: 20px;
    }
}