/* Complete Mobile Responsive Fix for Aavennue Softech */
@media only screen and (max-width: 991px) {
    * {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    body, #maincontainer_home, #top, #footer, .footerContainer, .centered-container {
        width: 100% !important;
        min-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        float: none !important;
        overflow-x: hidden !important;
    }

    /* Header & Logo Fix */
    #top > div {
        float: none !important;
        width: 100% !important;
        margin: 5px 0 !important;
        padding-top: 10px !important;
        text-align: center !important;
    }

    #logo {
        max-width: 240px !important;
        height: auto !important;
    }

    /* Navigation Menu Fix */
    ul#ldd_menu {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 0 !important;
        height: auto !important;
    }

    ul#ldd_menu > li {
        float: none !important;
        width: auto !important;
        margin: 4px !important;
        height: auto !important;
    }

    ul#ldd_menu > li > span {
        width: auto !important;
        padding: 8px 12px !important;
        font-size: 14px !important;
    }

    /* Mega Submenu Fix on Mobile */
    .ldd_submenu {
        position: static !important;
        width: 100% !important;
        left: 0 !important;
        padding: 10px !important;
    }

    .ldd_submenu ul {
        float: none !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    #form_websiteSearch {
        margin-left: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* Updated Slider & Overlay Blocks Fix for Mobile */
    #slider-wrapper {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 10px 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #00224C !important;
        float: none !important;
    }

    #slider {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        background: none !important;
    }

    #slider img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 240px !important;
        object-fit: cover !important;
    }

    .nivo-controlNav {
        position: static !important;
        display: flex !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 10px 0 !important;
        background: #001836 !important;
        width: 100% !important;
    }

    .nivo-controlNav a {
        display: inline-block !important;
        padding: 4px 10px !important;
        background: #ffffff !important;
        color: #00224C !important;
        border-radius: 4px !important;
        font-size: 12px !important;
        font-weight: bold !important;
        text-decoration: none !important;
    }

    .nextslide, .prevslide {
        display: none !important;
    }

    .main_opaq_sl {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        background: #00224C !important;
        color: #ffffff !important;
        padding: 15px !important;
        opacity: 1 !important;
    }

    .main_opaq_sl_header {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding-bottom: 10px !important;
    }

    #opaq_textover {
        font-size: 16px !important;
        line-height: 1.4 !important;
        color: #ffd700 !important;
        font-weight: bold !important;
        text-align: center !important;
    }

    .ovrly_blks {
        float: none !important;
        width: 100% !important;
        height: auto !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding: 10px 0 15px 0 !important;
        margin-bottom: 10px !important;
    }

    .ovrly_blks:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }

    .ovrly_blks h2 {
        font-size: 18px !important;
        color: #ffffff !important;
        margin-bottom: 8px !important;
    }

    .ovrly_blks ul {
        padding-left: 20px !important;
        margin: 0 !important;
    }

    .ovrly_blks ul li {
        color: #e0e0e0 !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Home Content Columns & Packages Fix */
    .home-content-columns, .content-col-1, .content-col-1_2, .page-container, .trim.page {
        float: none !important;
        width: 100% !important;
        position: static !important;
        margin: 10px 0 !important;
        height: auto !important;
    }

    /* Footer Columns Fix */
    .footerContainer > ul {
        float: none !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        border-bottom: 1px solid #444 !important;
        padding-bottom: 10px !important;
    }

    img {
        height: auto !important;
    }
}
