/** Responsive Fixer Pro - Auto CSS Corrections **/

/* 1. Prevent Horizontal Scroll (Overflow) globally on mobile */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden !important;
        width: 100%;
    }

    /* 2. Fluid Containers */
    .elementor-container, 
    .e-con,
    .e-con-inner {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    /* 3. Reduce excessive negative margins causing breaks */
    .elementor-widget-wrap,
    .elementor-column {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 4. Responsive Images & Videos */
    img, video, iframe {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }

    /* 5. Typography Clamping Fallback */
    .elementor-heading-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    html, body {
        overflow-x: hidden !important;
    }
    .elementor-container, 
    .e-con {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
