/* ===== Elementor Spacing Override CSS ===== */

/* Override the problematic Elementor CSS that causes excessive spacing */
/* This targets the specific element causing the large empty space */

.elementor-1505 .elementor-element.elementor-element-1dfcbd3 > .elementor-widget-container,
.elementor-2666 .elementor-element.elementor-element-1dfcbd3 > .elementor-widget-container,
.elementor-2668 .elementor-element.elementor-element-1dfcbd3 > .elementor-widget-container {
    /* Reset the problematic margins - especially the 275px bottom margin */
    margin: 0 !important;
    
    /* Keep reasonable padding if needed */
    padding: 20px !important;
    
    /* Ensure no extra spacing is added */
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Additional safety overrides for any similar Elementor elements */
.elementor-widget-container {
    /* Prevent excessive bottom margins on all Elementor widgets in service pages */
    margin-bottom: 0 !important;
}

/* Target the specific page IDs if body classes are available */
body.postid-1505 .elementor-widget-container,
body.postid-2666 .elementor-widget-container,
body.postid-2668 .elementor-widget-container,
body.page-id-1505 .elementor-widget-container,
body.page-id-2666 .elementor-widget-container,
body.page-id-2668 .elementor-widget-container {
    margin-bottom: 0 !important;
}

/* Specific override for the confirmation/service content area */
.service-single-page .elementor-widget-container,
.single-project .elementor-widget-container {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

/* Override any Elementor section spacing that might contribute to the issue */
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-section.elementor-section-full_width > .elementor-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure Elementor columns don't add excessive spacing */
.elementor-column > .elementor-widget-wrap {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Target any remaining Elementor elements that might cause spacing issues */
.elementor-element[data-element_type="widget"] {
    margin-bottom: 0 !important;
}

/* Emergency override for any remaining spacing issues */
[class*="elementor-"] {
    margin-bottom: 0 !important;
}