:root {
    --color-primary: #5A3677;
    --color-bg-dark: #4F3B78;
    --text-white: #ffffff;
}

.header__nav ul > li.current-menu-item a {
    color: #000!important;
}
.header__nav ul li a {
    position: relative;
    color: #909090 !important;
    text-decoration: none;
    cursor: pointer;
}
.header__nav ul {
    margin-bottom: 0!important;
    padding-bottom: 0!important;
}
.header__nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px; /* отступ от текста */
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.header__nav ul li a:hover::after {
    transform: scaleX(1);
}



.header__nav ul li ul {
    padding: 0!important;
    border-radius: 15px;
    overflow: hidden;
}
.header__nav ul li ul li:hover {
    background-color: #eee;
}
.header__nav ul li ul li a {
    color: #000!important;
    text-decoration: none;
    padding: 13px 30px;
}


.header-nav .menu-item-has-children:after {
    filter: brightness(0) invert(0.8);
}

/* Header Styles */
.header {
    padding: 10px 0;
    transition: all 0.4s ease;
    background: transparent;
    z-index: 1000;
}

.header--scrolled {
    padding: 0px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header__logo {
    height: 60px;
    width: auto;
    transition: all 0.4s ease;
}

.header--scrolled .header__logo {
    height: 50px;
}

.navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 400;
    font-size: 14px;
    margin: 0 10px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.show {
    color: #ffffff;
    opacity: 1;
}

.dropdown-menu {
    background-color: #4F3B78;
    border: 1px solid rgba(255,255,255,0.1);
}

.dropdown-item {
    color: #ffffff;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
}

.header__actions {
    gap: 12px;
}

.header__icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    color: #4F3B78;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.header__icon-btn:hover {
    transform: scale(1.1);
}

.header__phone-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 16px;
    color: #000;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header__phone-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: #000;
    color: #000;
}

/* Burger Menu */
.burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
    position: relative;
}

.burger-btn__line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.burger-btn.is-active .burger-btn__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.is-active .burger-btn__line:nth-child(2) {
    opacity: 0;
}

.burger-btn.is-active .burger-btn__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #4F3B78;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-menu__list li {
    margin: 20px 0;
}

.mobile-menu__list a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}





/* Responsive Adjustments */
@media (max-width: 991px) {
    

    
    .header__logo {
        height: 45px;
    }
}