/* ============================================================
   NEW HEADER & FOOTER ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â mbl- prefixed, scoped to new design
   Does not override any existing class in main.css
   ============================================================ */

html, body {
    margin: 0 !important;
    padding: 0 !important;
}

.mbl-support-info {
    display: none;
}

/* ===== TOP BAR ===== */
.mbl-top-bar {
    background-color: #F2F2F2;
    /* border-bottom: 1px solid #e0e0e0; */
    padding-block: 3px;
    font-size: 12px;
    width: 100%;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 999;
    overflow: visible;
}
.mbl-top-bar-container {
    /* max-width: 1400px; */
    /* margin: 0 auto; */
    /* padding: 0 2rem; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    /* overflow: visible; */
}
.mbl-top-bar-left {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}
.mbl-top-bar-item {
    color: #222;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}
.mbl-top-bar-item a{
    color: #222;
    
}
.mbl-top-bar-item i { color: #c41e3a; }
.mbl-top-bar-right {
    display: flex;
    gap: 1rem;
    align-items: center;
    overflow: visible;
}

/* ===== MAIN HEADER ===== */
.mbl-main-header {
    /* background-color: #ffffff; */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
    /* position: sticky; */
    top: 56px;
    z-index: 100;
    /* width: 100%; */
    /* margin: 0; */
}
@media (max-width: 768px) {
    .mbl-main-header {
        position: relative;
        top: auto;
    }
}
.mbl-header-container {
    /* max-width: 1400px; */
    /* margin: 0 auto; */
    /* padding: 1rem 2rem; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 70px;
}
.mbl-logo-section { flex-shrink: 0;
 height: 60px;
    width: 220px;
    position: relative;
    display: flex;
    align-items: center;}
    .mbl-logo-section img {
        max-height: 100%;
        max-width: 100%;
        height: auto;
        width: auto;
    }

.mbl-logo {height: 45px;width: auto;display: block;}
.mbl-nav-section {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    overflow: visible;
    flex: 1 1 0%;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}
.mbl-nav-icon-home {
    background-color: #0052a3;
    color: white;
    /* width: 50px; */
    /* height: 50px; */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-right: 1rem; */
    font-size: 1.5rem;
    text-decoration: none;
    /* flex-shrink: 0; */
    padding: 12px;
    height: 100%;
}
.mbl-nav-icon-home:hover { background-color: #003d7a; color: white; }
.mbl-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.mbl-search-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}
.mbl-search-btn:hover { color: #0052a3; }

/* ===== DROPDOWNS ===== */
.mbl-dropdown { position: relative; display: inline-block; }
.mbl-top-dropdown-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.mbl-top-dropdown-btn:hover { color: #0052a3; }
.mbl-top-dropdown-btn i { font-size: 0.7rem; }
.mbl-action-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    background-color: #ed1c24;
    color: white;
    text-decoration: none;
}
.mbl-action-btn:hover,
.mbl-action-btn:focus { background-color: #a01729; color: white; text-decoration: none; }
.mbl-action-btn i { font-size: 0.8rem; }

/* Style for button dropdown menus from database */
.mbl-header-actions .dropdown {
    display: inline-block;
}
.mbl-header-actions .btn-outline-danger {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #c41e3a !important;
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}
.mbl-header-actions .btn-outline-danger:hover,
.mbl-header-actions .btn-outline-danger:focus,
.mbl-header-actions .btn-outline-danger.show {
    background-color: #a01729 !important;
    color: white !important;
}
.mbl-header-actions .btn-outline-danger::after { display: none; }
.mbl-header-actions .btn-outline-danger i { font-size: 0.8rem; margin-left: 0.5rem; }
.mbl-dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    border-radius: 4px;
    top: 100%;
    margin-top: 0.5rem;
    border: 1px solid #e0e0e0;
    padding: 4px;
}
.mbl-dropdown-content a {
    color: #333;
    padding: 5px 12px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    font-size: 14px;
    border-radius: 4px;
}
.mbl-dropdown-content a:hover {
    background-color: #0000000a;
    /* color: #0052a3; */
    /* padding-left: 1.25rem; */
}
.mbl-dropdown:hover .mbl-dropdown-content { display: block; }
.mbl-language-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}
.mbl-language-btn:hover { color: #0052a3; }

/* Mobile actions - hidden on desktop */
.mbl-mobile-actions { display: none; }
.mbl-mobile-actions .mbl-support-info { display: block; }

/* Mobile compact header - hidden on desktop */
.mbl-mobile-compact-header { display: none; }

/* ===== CMS NAV ITEMS ===== */
.mbl-nav-dropdown-wrapper {position: relative;display: inline-block}
@media (max-width: 768px) {
    .mbl-nav-dropdown-wrapper { width: 100%; }
}

.mbl-nav-item {
    padding: 12px;
    color: #222;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    /* border-bottom: 3px solid transparent; */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    border-radius: 6px;
    line-height: 1.2;
}
.mbl-nav-item:hover,
.mbl-nav-item:focus {color: white;/* border-bottom-color: #0052a3; *//* text-decoration: none; */background: #0052a3;}
.mbl-nav-item i { font-size: 0.7rem; }
.mbl-nav-dropdown-wrapper .mbl-dropdown-content { left: 0; right: auto; min-width: 220px; }
.mbl-nav-dropdown-wrapper:hover .mbl-dropdown-content { display: block; }
.mbl-nav-submenu { position: relative; display: block; }
.mbl-nav-child {
    color: #333;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.mbl-nav-child:hover { background-color: #f5f5f5; color: #0052a3; text-decoration: none; }
.mbl-nav-submenu-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 110;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}
.mbl-nav-submenu:hover .mbl-nav-submenu-content { display: block; }

/* ===== FOOTER ===== */
.mbl-footer-wrapper {
    background-color: #F2F2F2;
    padding: 3rem 0 0;
    margin-top: 2rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
.mbl-footer-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding-block: 0 35px;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 3rem;
}
.mbl-footer-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.mbl-footer-logo img { height: 45px; width: auto; margin-bottom: 1rem; object-fit:contain}
.mbl-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 14px;
    /* line-height: 1.6; */
    color: #333;
}
.mbl-contact-info p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 14px;
}
.mbl-contact-info p i { color: #c41e3a; width: 16px; text-align: center; margin-top: 3px; }
.mbl-contact-info p strong { color: #0052a3; font-weight: 600; }
.mbl-social-media { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.mbl-social-icon {
    /* width: 40px; */
    /* height: 40px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #0052a3; */
    color: #007dc5;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
}
.mbl-social-icon:hover {
    /* background-color: #c41e3a; */
    /* transform: translateY(-3px); */
    /* color: white; */
    /* text-decoration: none; */
}
.mbl-app-section {/* margin-top: 0.5rem; */}
.mbl-app-section h4 {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.mbl-app-buttons {display: flex;/* flex-direction: column; */gap: 0.5rem;}
.mbl-app-btn {
    /* display: inline-flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* gap: 0.5rem; */
    /* padding: 0.6rem 1rem; */
    /* background-color: #000; */
    /* color: white; */
    text-decoration: none;
    /* border-radius: 4px; */
    /* font-size: 0.85rem; */
    /* font-weight: 500; */
    transition: all 0.3s ease;
    /* max-width: fit-content; */
}
.mbl-app-btn:hover { background-color: #0052a3; transform: translateX(3px); color: white; text-decoration: none; }
.mbl-footer-right {
    /* display: grid; */
    /* grid-template-columns: repeat(3, 1fr); */
    /* gap: 2rem; */
}
.mbl-footer-column { display: flex; flex-direction: column; }
.mbl-footer-column h3 {
    font-size: 1rem;
    color: #222222;
    margin-bottom: 1rem;
    font-weight: 600;
    /* border-bottom: 2px solid #0052a3; */
    padding-bottom: 0.5rem;
    padding: 0;
}
.mbl-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    /* gap: 0.6rem; */
}
.mbl-footer-column ul li a {
    color: #0e0d0d;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 10px;
}
.mbl-footer-column ul li a:hover {
    color: #222222;
    /* padding-left: 0.3rem; */
    /* text-decoration: none; */
}
.mbl-footer-bottom {
    background-color: #093f91;
    color: white;
    /* text-align: center; */
    padding-block: 20px;
    font-size: 0.9rem;
    width: 100%;
    /* margin: 0; */
}
.mbl-footer-bottom p {margin: 0;margin-inline: auto;}
.mbl-footer-bottom a { color: white; text-decoration: underline; transition: color 0.3s ease; }
.mbl-footer-bottom a:hover {/* color: #ffeb3b; */}

/* ===== SEARCH FORM ===== */
.mbl-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.mbl-search-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    font-size: 0.9rem;
    outline: none;
    background: transparent;
}
.mbl-search-input::placeholder {
    color: #999;
}
.mbl-search-submit-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}
.mbl-search-submit-btn:hover {
    color: #0052a3;
}

/* Desktop search form */
.mbl-search-form-desktop {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.mbl-search-input-desktop {
    padding: 0.5rem 0.75rem;
    border: none;
    font-size: 0.9rem;
    outline: none;
    min-width: 150px;
}
.mbl-search-submit-btn-desktop {
    background: none;
    border: none;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    transition: color 0.3s ease;
}
.mbl-search-submit-btn-desktop:hover {
    color: #0052a3;
}

/* ===== MOBILE MENU ===== */
.mbl-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mbl-hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

.mbl-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 998;
    pointer-events: none;
}
.mbl-menu-overlay.active {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .mbl-top-bar-left { gap: 1rem; font-size: 0.75rem; }
    .mbl-header-container { gap: 1rem; padding: 1rem; }
    .mbl-logo { height: 50px; }
    .mbl-header-actions { display: flex !important; }
    .mbl-footer-container { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
    .mbl-footer-right { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 769px) {
    .mbl-nav-close-btn { display: none !important; }
}
@media (max-width: 768px) {
    .mbl-top-bar { display: none; }
    .mbl-mobile-compact-header {
        display: flex !important;
        background-color: #ffffff;
        padding: 0.5rem 1rem;
        align-items: center;
        justify-content: flex-end;
        gap: 1rem;
        position: relative !important;
        top: auto !important;
        z-index: 101;
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    .mbl-compact-right {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .mbl-compact-search-btn {
        background: none;
        border: none;
        color: #333;
        font-size: 1.1rem;
        cursor: pointer;
        padding: 0.25rem;
        transition: color 0.3s ease;
    }
    .mbl-compact-search-btn:hover {
        color: #0052a3;
    }
    .mbl-compact-lang-btn {
        background: none;
        border: none;
        color: #333;
        font-size: 0.85rem;
        cursor: pointer;
        padding: 0.25rem 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        transition: color 0.3s ease;
    }
    .mbl-compact-lang-btn:hover {
        color: #0052a3;
    }
    .mbl-compact-lang-btn i {
        font-size: 0.65rem;
    }
    .lang-label {
        font-weight: 600;
        font-size: 0.8rem;
    }
    .mbl-mobile-compact-header .mbl-dropdown-content {
        position: absolute;
        background-color: #ffffff;
        min-width: 120px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        border-radius: 4px;
        border: 1px solid #e0e0e0;
        top: 100%;
        right: 0;
        margin-top: 0.25rem;
    }
    .mbl-mobile-compact-header .mbl-dropdown-content a {
        color: #333;
        padding: 0.5rem 1rem;
        text-decoration: none;
        display: block;
        font-size: 0.85rem;
    }
    .mbl-mobile-compact-header .mbl-dropdown-content a:hover {
        background-color: #f5f5f5;
    }
    .mbl-hamburger { display: block; order: 2; margin-left: auto; z-index: 1000; position: relative; }
    .mbl-header-container:has(.mbl-nav-section.active) .mbl-hamburger {
        display: none;
    }
    .mbl-top-bar-container { flex-direction: column; gap: 0.75rem; padding: 0.75rem 1rem; }
    .mbl-top-bar-left { flex-direction: column; gap: 0.5rem; align-items: flex-start; width: 100%; }
    .mbl-top-bar-right { width: 100%; justify-content: flex-start; }
    .mbl-header-container {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        align-items: center;
        position: relative;
        z-index: 100;
    }
    .mbl-logo-section { order: 1; }
    .mbl-nav-section {
        flex-basis: 100%;
        display: none;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 10000 !important;
        flex-direction: column;
        padding: 2rem 1rem 1rem 1rem;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
    }
    .mbl-nav-section.active {
        display: flex;
        left: 0;
    }
    .mbl-nav-close-btn {
        display: none;
        position: fixed;
        top: 0.5rem;
        right: 1rem;
        background: none;
        border: none;
        color: #333;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.25rem;
        z-index: 9999 !important;
        transition: color 0.3s ease;
    }
    .mbl-nav-close-btn:hover {
        color: #0052a3;
    }
    .mbl-nav-section.active .mbl-nav-close-btn {
        display: block;
    }
    .mbl-nav-icon-home { width: 40px; height: 40px; font-size: 1.2rem; margin-right: 0.75rem; }
    .mbl-nav-item {padding: 0.75rem 1rem;border-bottom: 1px solid #e0e0e0;width: 100%;justify-content: center;border-radius: 0;}
    .mbl-search-btn { display: none !important; }
    .mbl-mobile-actions {
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
        /* padding: 1.5rem 1rem 1rem 1rem; */
        border-top: 1px solid #e0e0e0;
        margin-top: 1rem;
        width: 100%;
    }
    .mbl-mobile-actions .mbl-action-btn {
        /* padding: 0.75rem 1rem; */
        /* font-size: 0.95rem; */
        width: 100%;
        /* background-color: #c41e3a; */
        /* color: white; */
        /* border: none; */
        /* border-radius: 4px; */
        /* text-decoration: none; */
        display: block;
        text-align: center;
        cursor: pointer;
    }
    .mbl-mobile-actions .mbl-action-btn:hover {
        background-color: #a01830;
    }
    .mbl-mobile-actions .dropdown {
        display: flex;
        flex-direction: column;
    }
    .mbl-mobile-actions .btn-outline-danger {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        background-color: #c41e3a !important;
        color: white !important;
        border: none !important;
        border-radius: 4px !important;
        text-decoration: none !important;
        display: block !important;
        text-align: center !important;
        cursor: pointer !important;
    }
    .mbl-mobile-actions .btn-outline-danger:hover,
    .mbl-mobile-actions .btn-outline-danger:focus,
    .mbl-mobile-actions .btn-outline-danger.show {
        background-color: #a01830 !important;
    }
    .mbl-header-actions {
        display: none !important;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        flex-direction: column;
        flex-basis: 100%;
        order: 3;
        background-color: transparent;
        border: none;
        z-index: auto;
        border-radius: 0;
        margin: 0;
        transition: none;
        position: static;
        width: 100%;
        height: auto;
    }
    .mbl-support-info {
        padding: 1.5rem 1rem 1rem 1rem;
        margin-top: 2rem;
        border-top: 1px solid #e0e0e0;
        text-align: center;
        font-size: 0.85rem;
    }
    .mbl-support-title {
        font-weight: 600;
        color: #333;
        margin: 0 0 0.75rem;
        font-size: 0.9rem;
    }
    .mbl-support-text {
        margin: 0.5rem 0;
        color: #666;
        font-size: 0.8rem;
        line-height: 1.5;
    }
    .mbl-footer-container { padding: 1.5rem; gap: 1.5rem; }
    .mbl-footer-right { grid-template-columns: 1fr; gap: 1.5rem; }
    .mbl-footer-logo img { height: 50px; }
    .mbl-contact-info { font-size: 0.85rem; }
}
@media (max-width: 480px) {
    .mbl-top-bar { padding: 0.5rem 0; }
    .mbl-header-container { padding: 0.5rem; gap: 0.5rem; }
    .mbl-logo { height: 40px; }
    .mbl-nav-icon-home {width: 35px;height: 35px;margin-right: 0.5rem;font-size: 1rem;width: 100%;}
    .mbl-action-btn { padding: 0.5rem 0.75rem; font-size: 0.8rem; gap: 0.3rem; }
    .mbl-footer-container { padding: 1rem; gap: 1rem; }
    .mbl-footer-left { gap: 1.5rem; }
    .mbl-footer-logo img { height: 40px; }
    .mbl-contact-info { font-size: 0.75rem; line-height: 1.4; }
    .mbl-social-icon { width: 35px; height: 35px; font-size: 0.95rem; }
    .mbl-footer-column h3 { font-size: 0.85rem; margin-bottom: 0.5rem; }
    .mbl-footer-column ul { gap: 0.4rem; }
    .mbl-footer-column ul li a { font-size: 0.75rem; }
    .mbl-footer-bottom { padding: 0.75rem 1rem; font-size: 0.7rem; }
}


@media (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1220px;
  }
}

@media screen and (max-width:450px){
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
      padding-inline:2rem;
    }
  }
  @media screen and (max-width:768px){
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
      padding-inline:2rem;
    }
  }