#site-header.style-1 #main-nav>ul>li>label,
#site-header.style-5 #main-nav>ul>li>label {
    height: 50px;
    line-height: 50px;
}

#main-nav>ul>li>label {
    color: #4b4b4b;
    display: block;
    /* font-family: "Montserrat", sans-serif;*/
    /*font-family: "Poppins", "Open Sans";*/
    font-size: 16px;
}

#main-nav>ul>li>label:hover,
#main-nav>ul>li.current-menu-item>label {
    color: var(--secondary);
}

#main-nav>ul>li.menu-item-has-children>label:after {
    content: "\f107";
    filter: alpha(opacity=75);
    font-family: "FontAwesome";
    opacity: 0.75;
    position: absolute;
    right: -5px;
    top: 0;
}

#site-header.style-5 #main-nav>ul>li>label {
    color: var(--white);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

#site-header.style-5 #main-nav>ul>li.current-menu-item>label,
#site-header.style-5 #main-nav>ul>li>label:hover {
    color: var(--secondary);
}

#site-header.style-5 #main-nav>ul>li>a {
    color: var(--white);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

#site-header.style-5 #main-nav>ul>li.current-menu-item>a,
#site-header.style-5 #main-nav>ul>li>a:hover {
    color: var(--secondary);
}

html[dir="rtl"] #main-nav>ul>li.menu-item-has-children>label:after {
    left: 0;
    right: auto;
}

/* ========== RESPONSIVE NAVIGATION IMPROVEMENTS ========== */

/* Hide old mobile menu - using new separate mobile navigation */
@media only screen and (max-width: 991px) {
    #main-nav-mobi {
        display: none !important;
    }
}

/* Fix for horizontal white space overflow */
body {
    overflow-x: hidden;
}

#main-nav-mobi {
    max-width: 100%;
    overflow-x: hidden;
}

/* Mobile Button - Only show on mobile screens */
.mobile-button {
    display: none !important;
    /* Hidden by default on desktop */
}

@media only screen and (max-width: 991px) {

    /* Logo can be bigger now with hamburger on left */
    #site-logo .logo {
        max-width: 200px !important;
        height: auto !important;
        width: auto !important;
    }

    .mobile-button {
        cursor: pointer;
        z-index: 10001 !important;
        position: relative !important;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        margin-right: 10px !important;
        margin-left: 15px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        order: -1 !important;
        /* Hamburger on LEFT in LTR */
    }

    html[dir="rtl"] .mobile-button {
        margin-left: 10px !important;
        margin-right: 15px !important;
        order: 999 !important;
        /* Hamburger on RIGHT in RTL */
    }

    /* Ensure header nav wrapper uses flexbox properly */
    #site-header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }

    #site-logo {
        z-index: 1000 !important;
        position: relative !important;
        flex-shrink: 1 !important;
        max-width: calc(100% - 70px) !important;
        margin-left: auto !important;
    }

    html[dir="rtl"] #site-logo {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    #site-logo a {
        display: flex !important;
        align-items: center !important;
    }
}

/* Hamburger Animation */
.mobile-button span {
    width: 26px;
    height: 2px;
    background: var(--white, #fff);
    display: block;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

.mobile-button span:before,
.mobile-button span:after {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--white, #fff);
    display: block;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

.mobile-button span:before {
    transform: translateY(-8px);
}

.mobile-button span:after {
    transform: translateY(8px);
}

/* Hamburger active state (X icon) */
.mobile-button.active span {
    background: transparent !important;
}

.mobile-button.active span:before {
    transform: rotate(45deg) translateY(0);
}

.mobile-button.active span:after {
    transform: rotate(-45deg) translateY(0);
}

/* Old styles kept for compatibility */
.mobile-button span,
.mobile-button span:before,
.mobile-button span:after {
    transition: all 0.3s ease;
}

/* Improved Touch Targets for Mobile */
@media only screen and (max-width: 991px) {

    /* Prevent horizontal overflow on mobile */
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Slide-in menu from side */
    #main-nav-mobi {
        position: fixed !important;
        display: block !important;
        /* Override style.css display:none */
        top: 0;
        right: 0;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: #fff !important;
        z-index: 9999;
        transform: translateX(100%);
        /* Hidden off-screen initially */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        /* iOS smooth scroll */
        scroll-behavior: smooth;
    }

    #main-nav-mobi.active {
        transform: translateX(0);
        /* Slide in */
    }

    /* RTL Support - slide from left */
    html[dir="rtl"] #main-nav-mobi {
        right: auto;
        left: 0;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
        transform: translateX(-100%);
        /* Slide out to the left */
    }

    html[dir="rtl"] #main-nav-mobi.active {
        transform: translateX(0);
        /* Slide in */
    }

    #main-nav-mobi .menu-item a,
    #main-nav-mobi .menu-item label {
        padding: 15px 60px 15px 20px !important;
        /* Extra padding for arrow */
        min-height: 48px;
        /* WCAG touch target size */
        display: block !important;
        font-size: 16px !important;
        line-height: 1.4;
        box-sizing: border-box;
        word-wrap: break-word;
        position: relative;
        background-color: transparent !important;
        color: #333 !important;
        /* Override dark theme text color */
        text-transform: none !important;
        /* Override uppercase */
        text-align: left !important;
        /* Override center alignment */
    }

    html[dir="rtl"] #main-nav-mobi .menu-item a,
    html[dir="rtl"] #main-nav-mobi .menu-item label {
        text-align: right !important;
    }

    /* Make parent items with children clickable to expand */
    #main-nav-mobi .menu-item-has-children>a,
    #main-nav-mobi .menu-item-has-children>label {
        cursor: pointer;
    }

    #main-nav-mobi .arrow {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 0;
        pointer-events: auto;
        /* Ensure arrow is clickable */
    }

    /* Visual Depth Indicators */
    #main-nav-mobi .sub-menu {
        background: rgba(0, 0, 0, 0.03);
    }

    #main-nav-mobi .sub-menu .sub-menu {
        background: rgba(0, 0, 0, 0.06);
        padding-left: 20px;
    }

    /* Improved Arrow Icons */
    #main-nav-mobi .arrow:before {
        content: "\f107";
        /* FontAwesome down arrow */
        font-family: "FontAwesome";
        transition: transform 0.3s ease;
        font-size: 18px;
    }

    #main-nav-mobi .arrow.active:before {
        transform: rotate(180deg);
    }

    /* Better spacing for nested items */
    #main-nav-mobi .menu-item {
        position: relative;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        border-top: none !important;
        /* Override style.css dark border */
        box-sizing: border-box;
        text-align: left !important;
    }

    #main-nav-mobi .sub-menu {
        width: 100%;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.03) !important;
        /* Light background instead of dark */
    }

    #main-nav-mobi ul ul li {
        background-color: transparent !important;
        /* Override dark backgrounds */
    }

    #main-nav-mobi ul ul ul li {
        background-color: transparent !important;
        /* Override dark backgrounds */
    }

    #main-nav-mobi .sub-menu .menu-item a {
        padding-left: 40px !important;
        padding-right: 60px !important;
        /* Space for arrow */
    }

    #main-nav-mobi .sub-menu .sub-menu .menu-item a {
        padding-left: 60px !important;
        padding-right: 60px !important;
        /* Space for arrow */
    }

    /* Ensure menu doesn't cause horizontal scroll */
    #main-nav-mobi ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
}

/* Tablet Specific (768px - 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    #main-nav-mobi {
        max-width: 400px;
        margin: 0 auto;
    }

    #main-nav-mobi .menu-item a,
    #main-nav-mobi .menu-item label {
        font-size: 17px !important;
    }
}

/* Small Phone (<375px) */
@media only screen and (max-width: 374px) {

    #main-nav-mobi .menu-item a,
    #main-nav-mobi .menu-item label {
        font-size: 14px !important;
        padding: 12px 15px !important;
    }

    #main-nav-mobi .sub-menu .menu-item a {
        padding-left: 30px !important;
    }

    #main-nav-mobi .sub-menu .sub-menu .menu-item a {
        padding-left: 45px !important;
    }
}

/* RTL Specific Improvements */
html[dir="rtl"] #main-nav-mobi .arrow {
    right: auto;
    left: 0;
}

html[dir="rtl"] #main-nav-mobi .menu-item a,
html[dir="rtl"] #main-nav-mobi .menu-item label {
    padding-left: 60px !important;
    /* Space for arrow on left */
    padding-right: 20px !important;
}

html[dir="rtl"] #main-nav-mobi .sub-menu .menu-item a {
    padding-right: 40px !important;
    padding-left: 60px !important;
    /* Space for arrow */
}

html[dir="rtl"] #main-nav-mobi .sub-menu .sub-menu .menu-item a {
    padding-right: 60px !important;
    padding-left: 60px !important;
    /* Space for arrow */
}

html[dir="rtl"] #main-nav-mobi .sub-menu .sub-menu {
    padding-right: 20px;
    padding-left: 0;
}

/* Desktop Menu Touch Improvements (for tablets) */
@media only screen and (min-width: 992px) and (max-width: 1200px) {

    #main-nav>ul>li>a,
    #main-nav>ul>li>label {
        font-size: 14px !important;
        padding: 0 12px !important;
    }

    #main-nav .sub-menu {
        min-width: 220px;
    }
}

/* Mobile Menu Backdrop Overlay */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Close Button Inside Menu */
.mobile-menu-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 15px 20px;
    border-bottom: 2px solid #eee;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-lang {
    flex: 1;
}

.mobile-menu-lang .wprt-button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    background: var(--primary, #013855);
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-lang .wprt-button:hover {
    background: var(--secondary, #CC3300);
    transform: translateY(-1px);
}

.mobile-close-button {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 10px;
    margin: -10px;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.mobile-close-button:hover {
    color: var(--secondary, #CC3300);
}

.mobile-menu-header .menu-logo {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary, #013855);
}

/* Smooth Transitions for submenus */
#main-nav-mobi .sub-menu {
    transition: all 0.3s ease;
}

/* Accessibility: Focus Styles */
#main-nav-mobi a:focus,
#main-nav-mobi label:focus,
#main-nav-mobi .arrow:focus {
    outline: 2px solid var(--secondary, #CC3300);
    outline-offset: 2px;
}

.mobile-close-button:focus {
    outline: 2px solid var(--secondary, #CC3300);
    outline-offset: 2px;
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}



/* Dark Minimal Mobile Navigation - Style 2 */

/* Ensure mobile button is visible and clickable on mobile */
@media only screen and (max-width: 991px) {
    .mobile-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 35px !important;
        height: 35px !important;
        cursor: pointer !important;
        z-index: 10000 !important;
        position: relative !important;
    }

    .mobile-button span,
    .mobile-button span:before,
    .mobile-button span:after {
        background: var(--white, #fff) !important;
        display: block !important;
        position: absolute !important;
        transition: all 0.3s ease !important;
    }
}

#mobile-navigation {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 400px !important;
    height: 100vh !important;
    background: #000 !important;
    z-index: 99999 !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s ease !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-left: 1px solid #333 !important;
    display: block !important;
}

#mobile-navigation.active {
    transform: translateX(0) !important;
}

/* RTL Support */
html[dir="rtl"] #mobile-navigation {
    right: auto !important;
    left: 0 !important;
    transform: translateX(-100%) !important;
    border-left: none !important;
    border-right: 1px solid #333 !important;
}

html[dir="rtl"] #mobile-navigation.active {
    transform: translateX(0) !important;
}

/* Minimal Header */
.mobile-nav-header {
    position: sticky;
    top: 0;
    background: #000;
    padding: 20px 25px;
    border-bottom: 1px solid #222;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.mobile-nav-lang {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.mobile-nav-lang .wprt-button,
.mobile-nav-lang .lang-button,
.mobile-nav-lang a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px !important;
    font-size: 13px !important;
    border-radius: 4px;
    background: #1a1a1a !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid #333 !important;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    min-width: 80px;
}

.mobile-nav-lang .wprt-button:before,
.mobile-nav-lang .lang-button:before,
.mobile-nav-lang a:before {
    content: '\f0ac';
    font-family: 'FontAwesome';
    font-size: 14px;
    margin-right: 5px;
}

html[dir="rtl"] .mobile-nav-lang .wprt-button:before,
html[dir="rtl"] .mobile-nav-lang .lang-button:before,
html[dir="rtl"] .mobile-nav-lang a:before {
    margin-right: 0;
    margin-left: 5px;
}

.mobile-nav-lang .wprt-button:hover,
.mobile-nav-lang .lang-button:hover,
.mobile-nav-lang a:hover,
.mobile-nav-lang .wprt-button:active,
.mobile-nav-lang .lang-button:active,
.mobile-nav-lang a:active,
.mobile-nav-lang .wprt-button:focus,
.mobile-nav-lang .lang-button:focus,
.mobile-nav-lang a:focus {
    background: #2a2a2a !important;
    border-color: #555 !important;
    outline: none;
}

.mobile-nav-lang .wprt-button:active,
.mobile-nav-lang .lang-button:active,
.mobile-nav-lang a:active {
    transform: scale(0.95);
}

/* RTL support for mobile nav header */
html[dir="rtl"] .mobile-nav-header {
    flex-direction: row-reverse;
}

/* Search Box */
.mobile-nav-search {
    padding: 15px 20px;
    background: #0a0a0a;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 78px;
    z-index: 9;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 32%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    pointer-events: none;
}

html[dir="rtl"] .search-icon {
    left: auto;
    right: 15px;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 55px !important;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    transition: all 0.3s ease;
}

html[dir="rtl"] .search-input {
    padding: 12px 55px 12px 50px;
}

.search-input:focus {
    outline: none;
    border-color: #555;
    background: #222;
}

.search-input::placeholder {
    color: #666;
}

.search-clear {
    position: absolute;
    right: 10px;
    top: 32%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    display: none;
    transition: all 0.3s ease;
}

html[dir="rtl"] .search-clear {
    right: auto;
    left: 10px;
}

.search-clear:hover {
    color: #fff;
    transform: scale(1.1);
}

.search-clear:active {
    transform: scale(0.9);
}

.mobile-nav-close {
    background: transparent;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    padding: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover,
.mobile-nav-close:active,
.mobile-nav-close:focus {
    color: #999;
    outline: none;
}

.mobile-nav-close:active {
    transform: scale(0.9);
}

/* Menu Items - Ultra Minimal */
.mobile-nav-menu {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: none;
    opacity: 0;
    transform: translateX(30px);
    animation: slideInMenu 0.5s ease forwards;
}

html[dir="rtl"] .mobile-nav-item {
    transform: translateX(-30px);
}

/* Staggered animation delay for each menu item */
.mobile-nav-item:nth-child(1) { animation-delay: 0.05s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.15s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(5) { animation-delay: 0.25s; }
.mobile-nav-item:nth-child(6) { animation-delay: 0.3s; }
.mobile-nav-item:nth-child(7) { animation-delay: 0.35s; }
.mobile-nav-item:nth-child(8) { animation-delay: 0.4s; }

@keyframes slideInMenu {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 22px 30px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #1a1a1a;
    letter-spacing: 0.5px;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

/* Text content takes remaining space */
.mobile-nav-link > *:not(.menu-icon):not(.mobile-nav-arrow) {
    flex: 1;
}

/* Arrow always at the far right */
.mobile-nav-arrow {
    margin-left: auto;
    flex-shrink: 0;
}

html[dir="rtl"] .mobile-nav-arrow {
    margin-left: 0;
    margin-right: auto;
}

/* For links without arrows, text should stay left-aligned */
.mobile-nav-link:not(:has(.mobile-nav-arrow)) {
    justify-content: flex-start;
}

/* Menu item icons - Reduced size for cleaner look */
.mobile-nav-link .menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

html[dir="rtl"] .mobile-nav-link .menu-icon {
    margin-right: 0;
    margin-left: 12px;
}

.mobile-nav-link:hover .menu-icon,
.mobile-nav-link:active .menu-icon {
    opacity: 1;
    transform: scale(1.1);
}

.mobile-nav-item.current .mobile-nav-link .menu-icon {
    opacity: 1;
}

/* Animated underline effect */
.mobile-nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.4s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active,
.mobile-nav-link:focus {
    background: #111;
    padding-left: 40px;
    color: #fff;
    transform: translateX(2px);
    outline: none;
}

.mobile-nav-link:hover:before,
.mobile-nav-link:active:before,
.mobile-nav-link:focus:before {
    width: 100%;
}

/* Touch feedback - scale on tap */
.mobile-nav-link:active {
    transform: translateX(2px) scale(0.98);
}

html[dir="rtl"] .mobile-nav-link:hover,
html[dir="rtl"] .mobile-nav-link:active,
html[dir="rtl"] .mobile-nav-link:focus {
    padding-left: 30px;
    padding-right: 40px;
    transform: translateX(-2px);
}

html[dir="rtl"] .mobile-nav-link:active {
    transform: translateX(-2px) scale(0.98);
}

.mobile-nav-item.current .mobile-nav-link {
    background: #0a0a0a;
    border-left: 3px solid #fff;
    font-weight: 400;
}

html[dir="rtl"] .mobile-nav-item.current .mobile-nav-link {
    border-left: none;
    border-right: 3px solid #fff;
}

/* Submenu - Indented Style */
.mobile-nav-submenu {
    list-style: none;
    background: #0a0a0a;
    display: none;
    border-top: 1px solid #1a1a1a;
    margin: 0;
    padding: 0;
}

.mobile-nav-submenu.active {
    display: block;
    animation: fadeSlideDown 0.4s ease;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-submenu .mobile-nav-link {
    padding: 18px 30px 18px 50px;
    font-size: 17px;
    font-weight: 300;
    color: #aaa;
    border-bottom: 1px solid #0f0f0f;
}

.mobile-nav-submenu .mobile-nav-link:hover,
.mobile-nav-submenu .mobile-nav-link:active,
.mobile-nav-submenu .mobile-nav-link:focus {
    color: #fff;
    padding-left: 60px;
}

.mobile-nav-submenu .mobile-nav-link:active {
    transform: scale(0.98);
}

.mobile-nav-submenu .mobile-nav-link:before {
    height: 1px;
    background: #666;
}

.mobile-nav-submenu .mobile-nav-link:hover:before {
    background: #fff;
}

html[dir="rtl"] .mobile-nav-submenu .mobile-nav-link {
    padding-left: 30px;
    padding-right: 50px;
}

html[dir="rtl"] .mobile-nav-submenu .mobile-nav-link:hover {
    padding-left: 30px;
    padding-right: 60px;
}

.mobile-nav-submenu .mobile-nav-submenu {
    background: #050505;
}

.mobile-nav-submenu .mobile-nav-submenu .mobile-nav-link {
    padding-left: 70px;
    font-size: 16px;
}

html[dir="rtl"] .mobile-nav-submenu .mobile-nav-submenu .mobile-nav-link {
    padding-left: 30px;
    padding-right: 70px;
}

/* Minimal Arrow */
.mobile-nav-arrow {
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    width: auto;
    height: auto;
    display: inline-block;
}

.mobile-nav-arrow.active {
    transform: rotate(180deg);
    color: #fff;
}

/* Subtle Backdrop */
.mobile-nav-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.8) !important;
    z-index: 99998 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.4s ease !important;
    display: block !important;
}

.mobile-nav-backdrop.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Body Lock */
body.mobile-nav-open {
    overflow: hidden;
}

/* Quick Links Footer */
.mobile-nav-footer {
    margin-top: auto;
    padding: 25px 20px;
    background: #050505;
    border-top: 1px solid #222;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.5px;
}

.quick-links {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: #1a1a1a;
    border-radius: 8px;
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    border: 1px solid #222;
}

.quick-link:hover,
.quick-link:active {
    background: #222;
    color: #fff;
    border-color: #333;
    transform: translateY(-2px);
}

.quick-link:active {
    transform: translateY(0) scale(0.95);
}

.quick-link i {
    font-size: 20px;
}

.quick-link span {
    font-size: 12px;
    font-weight: 300;
}

.mobile-nav-footer .widget_socials {
    padding-top: 15px;
    border-top: 1px solid #1a1a1a;
}

.mobile-nav-footer .widget_socials .socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mobile-nav-footer .widget_socials .socials a {
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
    display: inline-block;
    text-decoration: none;
}

.mobile-nav-footer .widget_socials .socials a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    border: 1px solid #9f3118;
    border-radius: 0px;
    transition: all ease 0.238s;
    z-index: -1;
}

.mobile-nav-footer .widget_socials .socials a:hover:before {
    background-color: var(--tertiary);
    border-color: var(--tertiary);
}

.mobile-nav-footer .widget_socials .socials a i {
    line-height: 38px;
    font-size: 16px;
}

/* Hide on Desktop */
@media (min-width: 992px) {
    #mobile-navigation,
    .mobile-nav-backdrop {
        display: none !important;
    }
}




/* footer style s */
@media only screen and (max-width: 991px) {
    #footer-widgets {
        display: none !important;
    }

    .footer-mobile {
        display: block !important;
        padding: 30px 20px 20px;
        background: var(--primary);
    }

    .footer-mobile-logo {
        text-align: center;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-mobile-logo img {
        max-width: 300px;
        height: auto;
    }

    .footer-mobile-section {
        margin-bottom: 30px;
    }

    .footer-mobile-section:last-child {
        margin-bottom: 0;
    }

    .footer-title {
        font-size: 1.428em;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 20px;
        color: var(--white);
        position: relative;
        padding-bottom: 8px;
    }

    .footer-title:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #585252;
    }

    .explore-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 15px;
    }

    .explore-links a {
        color: var(--white);
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
        padding-left: 18px;
        position: relative;
    }

    .explore-links a:before {
        content: "\f101";
        font-family: 'FontAwesome';
        position: absolute;
        left: 0;
        color: var(--secondary);
    }

    .explore-links a:hover {
        color: var(--tertiary);
    }

    .quick-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .quick-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        color: var(--white);
        text-decoration: none;
        transition: all 0.3s ease;
        min-height: 48px;
    }

    .quick-link i {
        font-size: 18px;
        color: var(--secondary);
        width: 20px;
        text-align: center;
    }

    .quick-link span {
        font-size: 14px;
        font-weight: 500;
    }

    .quick-link:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--tertiary);
        transform: translateX(-2px);
    }

    html[dir="rtl"] .quick-link:hover {
        transform: translateX(2px);
    }

    .footer-mobile .widget_socials .socials {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .footer-mobile .widget_socials .socials a {
        width: 38px;
        height: 38px;
        line-height: 38px;
        text-align: center;
        color: var(--white);
        position: relative;
        z-index: 1;
        display: inline-block;
    }

    .footer-mobile .widget_socials .socials a:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--secondary);
        border: 1px solid #9f3118;
        border-radius: 0px;
        transition: all ease 0.238s;
        z-index: -1;
    }

    .footer-mobile .widget_socials .socials a:hover:before {
        background-color: var(--tertiary);
        border-color: var(--tertiary);
    }

    .footer-mobile .widget_socials .socials a i {
        line-height: 38px;
    }
}

@media only screen and (min-width: 992px) {
    .footer-mobile {
        display: none !important;
    }
}

/* Small phones (480px and below) */
@media only screen and (max-width: 480px) {
    .footer-mobile {
        padding: 25px 15px 15px;
    }

    .footer-mobile-logo img {
        max-width: 150px;
    }

    .footer-title {
        font-size: 1.2em;
        margin-bottom: 15px;
    }

    .explore-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .explore-links a {
        font-size: 13px;
        padding-left: 16px;
    }

    .quick-link {
        padding: 12px 14px;
        min-height: 44px;
        gap: 10px;
    }

    .quick-link i {
        font-size: 16px;
    }

    .quick-link span {
        font-size: 13px;
    }

    .footer-mobile .widget_socials .socials {
        gap: 12px;
    }

    .footer-mobile .widget_socials .socials a {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }

    .footer-mobile .widget_socials .socials a i {
        line-height: 36px;
    }
}

/* Very small phones (374px and below) */
@media only screen and (max-width: 374px) {
    .footer-mobile {
        padding: 20px 12px 12px;
    }

    .footer-mobile-logo {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .footer-mobile-logo img {
        max-width: 130px;
    }

    .footer-mobile-section {
        margin-bottom: 20px;
    }

    .footer-title {
        font-size: 1.1em;
        margin-bottom: 12px;
        padding-bottom: 6px;
    }

    .explore-links a {
        font-size: 12px;
        padding-left: 14px;
    }

    .quick-link {
        padding: 10px 12px;
        min-height: 42px;
    }

    .quick-link i {
        font-size: 15px;
        width: 18px;
    }

    .quick-link span {
        font-size: 12px;
    }

    .footer-mobile .widget_socials .socials {
        gap: 10px;
    }

    .footer-mobile .widget_socials .socials a {
        width: 34px;
        height: 34px;
        line-height: 34px;
    }

    .footer-mobile .widget_socials .socials a i {
        line-height: 34px;
        font-size: 14px;
    }
}

/* RTL adjustments for all breakpoints */
html[dir="rtl"] .explore-links a {
    padding-left: 0;
    padding-right: 18px;
}

html[dir="rtl"] .explore-links a:before {
    left: auto;
    right: 0;
}

@media only screen and (max-width: 480px) {
    html[dir="rtl"] .explore-links a {
        padding-right: 16px;
    }
}

@media only screen and (max-width: 374px) {
    html[dir="rtl"] .explore-links a {
        padding-right: 14px;
    }
}

/* footer style e */

/* Apply this to the links inside your submenu */
#main-nav .sub-menu a {
  white-space: nowrap;
}

.safety-single-line {
    white-space: nowrap;
}


.our-story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: Arial, sans-serif;
    color: var(--gray-675);
    line-height: 1.8;
}

/* Text section */
.our-story-text {
    padding-inline-end: 20px; /* Replaces padding-right to support both RTL and LTR */
}

.our-story-text h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.our-story-text p {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--gray-1250);
}

.our-story-container.rtl .our-story-text {
    order: 2;
    text-align: right;
}

.our-story-container.rtl .our-story-image {
    order: 1;
}

.our-story-container.ltr .our-story-text {
    order: 1;
}

.our-story-container.ltr .our-story-image {
    order: 2;
}

#vmv-page {
    padding-bottom: 35px
}
#vmv-page .vmv-item {
    padding: 30px; /* Increased padding for better spacing */
    display: flex;
    align-items: center;

}

#vmv-page .vmv-item img {
    width: 40%; /* Set width to ensure consistent image size */
    height: auto; /* Maintain aspect ratio
    min-height: 400px;
                min-width: 400px; */

}

#vmv-page .vmv-content {
    flex: 1;
    padding-left: 20px;
}

html[dir="rtl"] #vmv-page .vmv-content {
    padding-left: 0;
    padding-right: 20px;
}

#vmv-page .vmv-title {
    font-size: 20px; /* Adjusted font size */
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    text-transform: uppercase;
}



#vmv-page .vmv-item.bg-values .vmv-title:after {
    background-color: var(--primary);
}

#vmv-page .vmv-title:hover:after {
    width: 100%;
}

#vmv-page .vmv-item.bg-vision {
    background-color: #e1e2e5; /* Vision section background color */
    color: var(--primary); /* Vision section text color */
}

#vmv-page .vmv-item.bg-vision .vmv-title {
        color: var(--primary); /* Vision section title color */
}

#vmv-page .vmv-item.bg-mission {
    background-color: var(--primary) ; /* Mission section background color */
    color: #f8f8f8; /* Mission section text color */
}

#vmv-page .vmv-item.bg-mission .vmv-title {
        color: var(--white); /* Mission section title color */
}

#vmv-page .vmv-item.bg-values {
    background-color: #e1e2e5; /* Values section background color */
    color: var(--primary); /* Values section text color */
}

#vmv-page .vmv-item.bg-values .vmv-title {
        color: var(--primary); /* Values section title color */
}

#vmv-page .vmv-item.bg-values .vmv-content p {
    font-size: 16px; /* Paragraph font size */
    color: black; /* Paragraph text color */
}

#vmv-page .vmv-item.bg-values .vmv-content p strong {
            color: var(--primary); /* Strong text color */
    font-size: 16px
}

#vmv-page p {
    font-size: 16px
}

@media (max-width: 768px) {
    #vmv-page .vmv-item {
        flex-direction: column;
        text-align: center;
    }

    #vmv-page .vmv-item img {
        margin-bottom: 20px;
        width: 100%; /* Make image responsive */
        height: auto; /* Maintain aspect ratio */
        
    }

    #vmv-page .vmv-content {
        padding-left: 0;
        padding-right: 0;
    }
}