/* Fix Menu Dropdown Arrow Overlap */
.nav-menu .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    position: relative;
}

.nav-menu .nav-link .caret, .nav-menu .nav-link::after {
    position: static !important;
    margin-left: 10px !important;
    display: inline-block !important;
    vertical-align: middle;
    margin-bottom: 1px;
}

/* ==========================================
   MOBILE & RESPONSIVE NAVIGATION STYLES
   ========================================== */

/* Header Mobile Adjustments */
@media (max-width: 991.98px) {
    .site-header {
        padding: 12px 15px !important;
    }
    
    .nav-menu {
        display: none !important; /* Hide desktop nav on mobile */
    }

    .search-box {
        margin-left: 0 !important;
        margin-top: 10px;
        width: 100%;
    }

    .mobile-toggle-btn {
        display: inline-block;
        background: transparent;
        border: none;
        font-size: 22px;
        color: #333;
        cursor: pointer;
        padding: 0 5px;
    }
}

@media (min-width: 992px) {
    .mobile-toggle-btn {
        display: none;
    }
}

/* Mobile Off-Canvas Drawer Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 99999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #082e6e;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}

.mobile-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* Mobile Navigation Accordion List */
.mobile-nav, .mobile-sub {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-nav a, 
.mobile-parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none !important;
    font-size: 15px;
    cursor: pointer;
    font-weight: 500;
}

.mobile-parent::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.mobile-parent.active::after {
    transform: rotate(180deg);
}

.mobile-sub {
    display: none;
    background-color: #f9f9f9;
    padding-left: 15px;
}

.mobile-parent.active + .mobile-sub {
    display: block;
}

/* ==========================================
   LAYOUT & FOOTER RESPONSIVE FIXES
   ========================================== */

/* Main Site Wrapper Fix for Horizontal Scroll */
.site-wrap {
    overflow-x: hidden;
    width: 100%;
}

/* Scroll To Top Button Mobile Adjustments */
#scrollTopBtn {
    bottom: 15px !important;
    right: 15px !important;
    padding: 8px 12px !important;
    font-size: 12px;
}

/* Footer Responsive Adjustments */
@media (max-width: 767.98px) {
    .site-footer {
        padding: 30px 15px !important;
        text-align: left;
    }

    .site-footer .col-lg-3,
    .site-footer .col-lg-2,
    .site-footer .col-lg-4 {
        margin-bottom: 25px !important;
    }

    .site-footer h6 {
        font-size: 16px;
        margin-bottom: 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 8px;
    }

    .site-footer .social-links {
        margin-top: 20px !important;
    }

    .site-footer .payment-badges {
        margin-top: 10px;
    }

    .site-footer .payment-badges img {
        width: 35px; /* Adjust payment icons for mobile */
    }
}