.nexura-menu {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 100;
}

/* Desktop Menu Styling */
.nexura-menu-list {
    display: flex;
    list-style: none;
    justify-content: var(--desktop-align, flex-start);
    margin: 0;
    padding: 0;
    background-color: var(--desktop-nav-bg, transparent);
}

.nexura-menu-list > li {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
}

.nexura-menu-list > li > a {
    display: block;
    align-items: center;
    padding: 15px 25px;
    color: var(--menu-text-color, #333);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nexura-menu-list > li > a:hover {
    color: var(--menu-hover-color, #0073aa);
}

.nexura-menu-list > li.current-menu-item > a {
    color: var(--menu-active-color, #ff5500);
}

/* Submenu Styling */
.nexura-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.nexura-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nexura-menu .sub-menu li {
    margin: 0;
    padding: 0;
}

.nexura-menu .sub-menu a {
    display: block;
    padding: 10px 25px;
    color: #333333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Vertical Menu Layout */
.nexura-menu-vertical .nexura-menu-list {
    flex-direction: column;
    width: 100%;
}

.nexura-menu-vertical .nexura-menu-list > li {
    width: 100%;
}

.nexura-menu-vertical .nexura-menu-list > li > a {
    width: 100%;
    justify-content: space-between;
}

.nexura-menu-vertical .sub-menu {
    left: 100%;
    top: 0;
    transform: translateX(10px);
}

.nexura-menu-vertical li:hover > .sub-menu {
    transform: translateX(0);
}

/* Mobile Menu Toggle Button */
.nexura-menu-toggle {
    display: none;
    position: relative;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 2000;
}

.nexura-menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--mobile-toggle-color, #333);
    border-radius: 2px;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.nexura-menu-toggle span:nth-child(1) { top: 6px; }
.nexura-menu-toggle span:nth-child(2) { top: 14px; }
.nexura-menu-toggle span:nth-child(3) { top: 22px; }

.nexura-menu-toggle.active span:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
}

.nexura-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nexura-menu-toggle.active span:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
}

