/* Reset and base styles */
.elementor-widget-custom_nav_menu {
    width: 100% !important;
    --nav-item-background: #D4C1C1;
    --nav-item-color: #374151;
    position: relative;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.elementor-widget-custom_nav_menu .elementor-widget-container {
    width: 100% !important;
}

.elementor-widget-custom_nav_menu .custom-nav-menu {
    width: 100%;
    background: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center; /* Default center alignment */
}

.elementor-widget-custom_nav_menu .nav-container {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

/* Full width */
.elementor-widget-custom_nav_menu[data-container-width="full"] .nav-container {
    max-width: 100% !important;
}

/* Content width - uses the website's content width */
.elementor-widget-custom_nav_menu[data-container-width="content"] .nav-container {
    max-width: var(--e-global-content-width, 1140px) !important;
    margin: 0 auto;
}

/* Custom width is handled by the inline styles from the control */

/* Logo */
.elementor-widget-custom_nav_menu .nav-logo {
    grid-area: logo;
    justify-self: center;
    display: flex;
    align-items: center;
}

.elementor-widget-custom_nav_menu .nav-logo img {
    height: 24px;
    width: auto;
    display: block;
}

/* Navigation */
.elementor-widget-custom_nav_menu .nav-items {
    grid-area: menu;
    justify-self: center;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Menu Items */
.elementor-widget-custom_nav_menu .nav-item {
    display: inline-flex !important;
    align-items: center !important;
    background-color: var(--nav-item-background);
    border-radius: 12px;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    flex: 0 0 auto !important;
    transition: all 0.3s ease;
}

.elementor-widget-custom_nav_menu .nav-item a {
    display: inline-flex !important;
    align-items: center !important;
    color: var(--nav-item-color);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Dropdown specific */
.elementor-widget-custom_nav_menu .has-dropdown {
    position: relative;
}

.elementor-widget-custom_nav_menu .dropdown-icon {
    display: inline-flex;
    margin-left: 4px;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.elementor-widget-custom_nav_menu .dropdown-icon i,
.elementor-widget-custom_nav_menu .dropdown-icon svg {
    display: block;
    transition: transform 0.2s ease;
}

.elementor-widget-custom_nav_menu .has-dropdown:hover .dropdown-icon i,
.elementor-widget-custom_nav_menu .has-dropdown:hover .dropdown-icon svg,
.elementor-widget-custom_nav_menu .has-dropdown.dropdown-active .dropdown-icon i,
.elementor-widget-custom_nav_menu .has-dropdown.dropdown-active .dropdown-icon svg {
    transform: rotate(180deg);
}

/* Actions */
.elementor-widget-custom_nav_menu .nav-actions {
    grid-area: actions;
    justify-self: center;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 16px; /* This creates space between CTA and login */
}

.elementor-widget-custom_nav_menu .nav-cta a {
    height: 44px;
    padding: 0 16px;
    background: #2142e7;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: "Inter-SemiBold", sans-serif;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 0 0 1px rgba(24, 47, 165, 1);
}

.elementor-widget-custom_nav_menu .nav-login a {
    height: 44px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: "Inter-Medium", sans-serif;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Add these styles for dropdown menus */
.elementor-widget-custom_nav_menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 200px;
    padding: 8px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
    z-index: 100;
}

.elementor-widget-custom_nav_menu .has-dropdown:hover .dropdown-menu,
.elementor-widget-custom_nav_menu .has-dropdown.dropdown-active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.elementor-widget-custom_nav_menu .dropdown-item {
    display: block;
    padding: 8px 16px;
    color: var(--nav-item-color);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.elementor-widget-custom_nav_menu .dropdown-item:hover {
    background-color: #f3f4f6;
}

/* Menu Items States */
.elementor-widget-custom_nav_menu .nav-item {
    transition: all 0.3s ease;
}

.elementor-widget-custom_nav_menu .nav-item a {
    transition: all 0.3s ease;
}

/* Hover State */
.elementor-widget-custom_nav_menu .nav-item:hover {
    background-color: #C1ADAD;
}

.elementor-widget-custom_nav_menu .nav-item:hover a {
    color: #1F2937;
}

/* Active State */
.elementor-widget-custom_nav_menu .nav-item.active,
.elementor-widget-custom_nav_menu .nav-item.current-menu-item {
    background-color: #B39B9B;
}

.elementor-widget-custom_nav_menu .nav-item.active a,
.elementor-widget-custom_nav_menu .nav-item.current-menu-item a {
    color: #111827;
}

/* Responsive */
@media (max-width: 1024px) {
    .elementor-widget-custom_nav_menu .nav-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "logo"
            "menu"
            "actions";
    }
}

/* Header Scroll Animations - Base Styles */
.elementor-widget-custom_nav_menu {
    position: relative;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
}

/* Remove or update this section as it conflicts with animations */
/* .elementor-location-header .elementor-widget-custom_nav_menu,
.elementor-template .elementor-widget-custom_nav_menu {
    position: sticky;
    top: 0;
    background: #ffffff;
    box-shadow: none;
    transition: all 0.3s ease;
} */

/* Float Animation */
.elementor-widget-custom_nav_menu[data-animation="float"] {
    position: fixed !important;
    top: 16px !important;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(100% - 32px);
    max-width: 1440px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 9999;
}

.elementor-widget-custom_nav_menu[data-animation="float"].nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Remove the body padding since we're using sticky instead of fixed */
body.has-fixed-header {
    padding-top: 0;
}

/* Fix for Elementor templates */
.elementor-template .elementor-widget-custom_nav_menu {
    width: 100% !important;
}

/* Sticky Animation */
.elementor-widget-custom_nav_menu[data-animation="sticky"] {
    transition: all 0.3s ease;
}

/* Only apply position fixed when scrolled */
.elementor-widget-custom_nav_menu[data-animation="sticky"].nav-scrolled {
    position: fixed;
    width: 100%;
    z-index: 999;
}

/* Remove any styles that might override user settings */
.elementor-widget-custom_nav_menu[data-animation="sticky"] .custom-nav-menu {
    transition: all 0.3s ease;
}

/* Remove default background color */
.elementor-widget-custom_nav_menu[data-animation="sticky"].nav-scrolled .nav-container {
    /* No default background color here, will be set by JS */
    transition: all 0.3s ease;
}

/* Backdrop Blur Animation */
.elementor-widget-custom_nav_menu[data-animation="blur"] {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent; /* Start completely transparent */
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: all 0.5s ease;
    z-index: 9999;
    transform: translateY(0);
}

.elementor-widget-custom_nav_menu[data-animation="blur"] .custom-nav-menu {
    background: transparent; /* Override white background */
}

.elementor-widget-custom_nav_menu[data-animation="blur"] .nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.5s ease;
}

.elementor-widget-custom_nav_menu[data-animation="blur"].nav-scrolled .nav-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Make menu items stand out against blurred background */
.elementor-widget-custom_nav_menu[data-animation="blur"] .nav-item {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.elementor-widget-custom_nav_menu[data-animation="blur"] .nav-item:hover {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.elementor-widget-custom_nav_menu[data-animation="blur"] .nav-cta a {
    background: rgba(33, 66, 231, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.elementor-widget-custom_nav_menu[data-animation="blur"].nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Compact Animation */
.elementor-widget-custom_nav_menu[data-animation="compact"] {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* Smooth spring-like animation */
}

/* Initial state - full width with background */
.elementor-widget-custom_nav_menu[data-animation="compact"] .custom-nav-menu {
    background: #ffffff;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elementor-widget-custom_nav_menu[data-animation="compact"] .nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 32px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 0;
}

/* Scrolled state - contained width with shadow and rounded corners */
.elementor-widget-custom_nav_menu[data-animation="compact"].nav-scrolled .custom-nav-menu {
    background: transparent;
}

.elementor-widget-custom_nav_menu[data-animation="compact"].nav-scrolled .nav-container {
    max-width: 1440px;
    margin: 16px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0) scale(1);
}

/* Hide initially if needed */
.elementor-widget-custom_nav_menu[data-animation="compact"].nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Add subtle scale effect to menu items during transition */
.elementor-widget-custom_nav_menu[data-animation="compact"] .nav-item {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elementor-widget-custom_nav_menu[data-animation="compact"].nav-scrolled .nav-item {
    transform: scale(0.95);
}

/* Logo animation */
.elementor-widget-custom_nav_menu[data-animation="compact"] .nav-logo {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elementor-widget-custom_nav_menu[data-animation="compact"].nav-scrolled .nav-logo {
    transform: scale(0.9);
}

/* Grid templates */
.nav-grid-logo-menu-actions .nav-container {
    grid-template-areas: "logo menu actions";
}
.nav-grid-logo-actions-menu .nav-container {
    grid-template-areas: "logo actions menu";
}
.nav-grid-menu-logo-actions .nav-container {
    grid-template-areas: "menu logo actions";
}
.nav-grid-menu-actions-logo .nav-container {
    grid-template-areas: "menu actions logo";
}
.nav-grid-actions-logo-menu .nav-container {
    grid-template-areas: "actions logo menu";
}
.nav-grid-actions-menu-logo .nav-container {
    grid-template-areas: "actions menu logo";
}

/* Grid area assignments */
.elementor-widget-custom_nav_menu .nav-logo {
    grid-area: logo;
    justify-self: center;
}
.elementor-widget-custom_nav_menu .nav-items {
    grid-area: menu;
    justify-self: center;
    justify-content: center;
}
.elementor-widget-custom_nav_menu .nav-actions {
    grid-area: actions;
    justify-self: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .elementor-widget-custom_nav_menu .nav-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "logo"
            "menu"
            "actions";
    }
}

/* Update the content width styles */
.nav-width-content .nav-container {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.nav-width-full .nav-container {
    max-width: 100% !important;
}

/* Logo Icon Position Styles */
.elementor-widget-custom_nav_menu .nav-logo-container {
    display: flex;
    align-items: center;
}

/* Default (left) */
.logo-icon-position-left .nav-logo-container {
    flex-direction: row;
}

/* Right */
.logo-icon-position-right .nav-logo-container {
    flex-direction: row-reverse;
}

/* Top */
.logo-icon-position-top .nav-logo-container {
    flex-direction: column;
}

/* Bottom */
.logo-icon-position-bottom .nav-logo-container {
    flex-direction: column-reverse;
}

/* Login Position Styles */
.elementor-widget-custom_nav_menu .nav-actions {
    display: flex;
    align-items: center;
}

/* Default (right) */
.login-position-right .nav-actions {
    flex-direction: row;
}

/* Left */
.login-position-left .nav-actions {
    flex-direction: row-reverse;
}

/* Second CTA Button Styles */
.elementor-widget-custom_nav_menu .nav-cta-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.elementor-widget-custom_nav_menu .nav-second-cta a {
    height: 44px;
    padding: 0 16px;
    background: #ffffff;
    color: #2142e7;
    border: 1px solid #2142e7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: "Inter-SemiBold", sans-serif;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.elementor-widget-custom_nav_menu .nav-second-cta a:hover {
    background-color: #f8f9fa;
    color: #1835c9;
}

/* Update the compact animation styles */
.elementor-widget-custom_nav_menu[data-animation="sticky"][data-compact="yes"] .nav-container {
    transition-property: width, background-color, box-shadow, border-radius, margin;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    /* transition-duration is set via JavaScript */
}

/* Ensure smooth transitions for width changes */
.elementor-widget-custom_nav_menu[data-animation="sticky"][data-compact="yes"].nav-scrolled .nav-container {
    transition-property: width, background-color, box-shadow, border-radius, margin;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    /* transition-duration is set via JavaScript */
}

/* Add styles for initial sticky state */
.elementor-widget-custom_nav_menu[data-animation="sticky"][data-sticky-initial="yes"] {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    /* Remove transitions for initial state */
    transition: none !important;
}

.elementor-widget-custom_nav_menu[data-animation="sticky"][data-sticky-initial="yes"] .nav-container {
    /* Apply sticky styles immediately */
    background-color: var(--sticky-bg, #ffffff) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    /* Remove transitions for initial state */
    transition: none !important;
}

/* Compact mode styles for initial sticky state */
.elementor-widget-custom_nav_menu[data-animation="sticky"][data-sticky-initial="yes"][data-compact="yes"] .nav-container {
    margin: 16px auto !important;
    border-radius: 16px !important;
    width: var(--compact-width, 90%) !important;
    max-width: 1440px !important;
}

/* Scroll-up animation for non-animated menus */
.elementor-widget-custom_nav_menu[data-scroll-up="yes"] {
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s ease;
    will-change: transform;
}

.elementor-widget-custom_nav_menu[data-scroll-up="yes"].nav-hidden-up {
    transform: translateY(-100%);
}

.elementor-widget-custom_nav_menu[data-scroll-up="yes"].nav-shown-by-scroll-up {
    transform: translateY(0);
    animation: slideInFromTop 0.5s ease forwards;
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Add these hover animation styles to the end of your CSS file */

/* Reveal Animation - Fixed Version */
[data-hover-style="reveal"] .nav-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-hover-style="reveal"] .nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--nav-item-hover-bg, #C1ADAD);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: 0;
}

[data-hover-style="reveal"] .nav-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

[data-hover-style="reveal"] .nav-item:hover a {
    color: var(--nav-item-hover-color, #1F2937);
    position: relative;
    z-index: 1;
}

/* Moving Background Animation - Enhanced Version */
[data-hover-style="moving_background"] .nav-items {
    position: relative;
    --item-width: 100px;
    --item-offset: 0px;
    --transform-x: 0px;
}

[data-hover-style="moving_background"] .nav-item {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    background-color: transparent !important;
}

/* Create a background element that will move */
[data-hover-style="moving_background"] .nav-items::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--item-width);
    height: 38px; /* Default height */
    background-color: var(--nav-item-hover-bg, #C1ADAD);
    border-radius: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    transform: translateX(var(--transform-x));
    opacity: 0;
}

[data-hover-style="moving_background"] .nav-items.has-hovered-item::before {
    opacity: 1;
}

[data-hover-style="moving_background"] .nav-item a {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

[data-hover-style="moving_background"] .nav-item:hover a,
[data-hover-style="moving_background"] .nav-item.active a,
[data-hover-style="moving_background"] .nav-item.current-menu-item a {
    color: var(--nav-item-hover-color, #1F2937) !important;
}

/* Ensure the background adapts to menu item height */
[data-hover-style="moving_background"] .nav-items::before {
    height: calc(100% - 4px); /* Slightly smaller than full height for visual effect */
    top: 2px; /* Center it vertically */
}

/* Sliding Underline Animation - Item-based approach */
[data-hover-style="sliding_underline"] .nav-item {
    position: relative;
    transition: all 0.3s ease;
    background-color: transparent !important;
}

[data-hover-style="sliding_underline"] .nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--nav-item-hover-bg, #C1ADAD);
    transition: width 0.3s ease;
}

[data-hover-style="sliding_underline"] .nav-item:hover::after,
[data-hover-style="sliding_underline"] .nav-item.active::after,
[data-hover-style="sliding_underline"] .nav-item.current-menu-item::after {
    width: 100%;
}

[data-hover-style="sliding_underline"] .nav-item a {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

[data-hover-style="sliding_underline"] .nav-item:hover a,
[data-hover-style="sliding_underline"] .nav-item.active a,
[data-hover-style="sliding_underline"] .nav-item.current-menu-item a {
    color: var(--nav-item-hover-color, #1F2937) !important;
}

/* Remove any background color changes on hover */
[data-hover-style="sliding_underline"] .nav-item:hover,
[data-hover-style="moving_background"] .nav-item:hover {
    background-color: transparent !important;
}

/* Expand & Reveal Animation */
[data-hover-style="expand_reveal"] .nav-item {
    position: relative;
    width: var(--initial-size, 60px);
    height: var(--initial-size, 60px);
    background: var(--background-color, #ffffff);
    box-shadow: 0 10px var(--shadow-blur, 25px) rgba(0,0,0,0.1);
    border-radius: 100px;
    transition: all var(--animation-duration, 0.5s) cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-hover-style="expand_reveal"] .nav-item .nav-title {
    position: absolute;
    color: var(--text-color, #ffffff);
    font-size: 1.1em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    white-space: nowrap;
}

/* Text Animation Variations */
[data-hover-style="expand_reveal"] .nav-item[data-text-animation="scale"] .nav-title {
    transform: scale(0);
    transition: transform var(--animation-duration, 0.5s) ease, opacity var(--animation-duration, 0.5s) ease;
}

[data-hover-style="expand_reveal"] .nav-item[data-text-animation="slide"] .nav-title {
    transform: translateX(-20px);
    transition: transform var(--animation-duration, 0.5s) ease, opacity var(--animation-duration, 0.5s) ease;
}

[data-hover-style="expand_reveal"] .nav-item[data-text-animation="fade"] .nav-title {
    transition: opacity var(--animation-duration, 0.5s) ease;
}

/* Hover State */
[data-hover-style="expand_reveal"] .nav-item:hover {
    width: var(--expanded-width, 180px);
    background: var(--hover-background, #000000);
    box-shadow: 0 10px var(--shadow-blur, 25px) rgba(0, 0, 0, 0.2);
}

[data-hover-style="expand_reveal"] .nav-item:hover .nav-icon {
    opacity: 0;
    transform: scale(0);
    transition: transform var(--animation-duration, 0.5s) ease, 
                opacity calc(var(--animation-duration, 0.5s) * 0.5) ease;
}

[data-hover-style="expand_reveal"] .nav-item:hover .nav-title {
    opacity: 1;
}

[data-hover-style="expand_reveal"] .nav-item[data-text-animation="scale"]:hover .nav-title {
    transform: scale(1);
}

[data-hover-style="expand_reveal"] .nav-item[data-text-animation="slide"]:hover .nav-title {
    transform: translateX(0);
}

/* Icon Styles */
[data-hover-style="expand_reveal"] .nav-item .nav-icon {
    transition: transform var(--animation-duration, 0.5s) ease,
                opacity var(--animation-duration, 0.5s) ease;
    font-size: calc(var(--initial-size, 60px) * 0.4);
}

/* Active State */
[data-hover-style="expand_reveal"] .nav-item.active {
    width: var(--expanded-width, 180px);
    background: var(--hover-background, #000000);
}

[data-hover-style="expand_reveal"] .nav-item.active .nav-icon {
    opacity: 0;
    transform: scale(0);
}

[data-hover-style="expand_reveal"] .nav-item.active .nav-title {
    opacity: 1;
    transform: scale(1);
}

/* Expand & Reveal - Active Tab Behavior */
[data-hover-style="expand_reveal"][data-affect-active="yes"] .nav-item.active {
    width: var(--initial-size, 60px) !important;
    height: var(--initial-size, 60px) !important;
    border-radius: 100px;
    transform: none !important;
}

[data-hover-style="expand_reveal"][data-affect-active="yes"] .nav-item.active:hover {
    width: var(--expanded-width, 180px) !important;
    border-radius: 100px;
}

[data-hover-style="expand_reveal"][data-affect-active="yes"] .nav-item.active:hover .nav-title {
    opacity: 1;
    position: relative;
}

[data-hover-style="expand_reveal"][data-affect-active="yes"] .nav-item.active .nav-icon {
    opacity: 1;
    transform: scale(1);
    transition: all var(--animation-duration, 0.5s) cubic-bezier(0.4, 0, 0.2, 1);
}

[data-hover-style="expand_reveal"][data-affect-active="yes"] .nav-item.active:hover .nav-icon {
    opacity: 0;
    transform: scale(0);
}