.header-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.live-search__item {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 14px;
    width: auto;
    transition: all .3s;
}

.live-search__item:hover {
    color: #915CE5;
    transition: all .3s;
}

.header-links .menu-link-item:first-child .hover-link .submenu-1.test {
    opacity: 1 !important;
    pointer-events: initial !important;
}

.submenu-items.elements {
    max-height: 400px;
    overflow: auto;
}

#search_result .live-search .live-search__item:first-child {
    margin-top: 10px;
}

#search_result .live-search .live-search__item:last-child {
    margin-bottom: 10px;
}

.scrollbar {
    width: 8px; /* Ширина скроллбара */
    height: 100%; /* Высота скроллбара */
    background-color: #f4f4f4; /* Цвет скроллбара */
    position: absolute; /* Абсолютное позиционирование для скроллбара */
    top: 0; /* Начало скроллбара сверху */
    right: 0; /* Расположение скроллбара справа */
    z-index: 1; /* Перекрытие содержимого */
    overflow-y: hidden; /* Скрытие скроллбара по умолчанию */
    opacity: 0; /* Прозрачность скроллбара */
    transition: opacity 0.5s; /* Плавное появление скроллбара */
}

.scrollbar:hover {
    opacity: 1; /* Появление скроллбара при наведении */
}

.thumb {
    width: 100%; /* Ширина ползунка */
    background-color: #999; /* Цвет ползунка */
    cursor: pointer; /* Изменение курсора при наведении на ползунок */
    border-radius: 4px; /* Скругление углов ползунка */
}

.submenu-item-container:first-child {
    padding-top: 13px;
}

.submenu-item-container {
    padding: 20px;
    display: block;
    text-decoration: none;
    opacity: 1 !important;
    z-index: 1 !important;
}

.submenu-item-container:hover .submenu-item-text {
    color: #915ce5;
    transition: color .3s;
}

.submenu-item-outer-container {
    position: relative;
    border-bottom: 1px solid #2E2E2E;
}

.menu-item-text svg {
    transform: rotate(0deg);
    transition: transform .3s;
}

.menu-item-text:hover svg {
    transform: rotate(180deg);
    transition: transform .3s;
}

.menu-item-text svg path {
    transition: stroke .3s;
}

.menu-item-text:hover svg path {
    stroke: #915CE5;
    transition: stroke .3s;
}

.header-links .menu-item-title {
    margin-bottom: 10px;
    color: #fff;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
}

.header-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 78%;
}

.header-links .menu-item-desc {
    margin-bottom: 17px;
    color: #BDBDBD;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 132.5%;
}

.header-links .more-link {
    display: block;
    color: #915CE5;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    text-align: left;
    transition: color .3s;
}

.header-links .more-link svg {
    margin-left: 10px;
    transition: transform .3s;
}

.header-links .more-link:hover {
    color: #fff;
    transition: color .3s;
}

.header-links .more-link svg path {
    transition: stroke .3s;
}

.header-links .more-link:hover svg path {
    stroke: #fff;
    transition: stroke .3s;
}

.header-links .submenu-item-text {
    font-size: 16px !important;
    font-style: normal;
    font-weight: 500 !important;
    line-height: 100% !important;
}

.menu-link-item,
.submenu-item {
    position: relative;
}

.header-links .menu-link-item:nth-child(n+4) .menu-item-info {
    right: 97%;
    left: unset;
}

.header-links .menu-link-item:nth-child(n+4) .submenu-1 {
    left: auto;
    right: 0;
}

.header-links .menu-item-info {
    display: block;
    left: 93%;
    top: 0;
    min-width: 300px;
    width: auto;
    position: absolute;
    padding: 20px 20px 40px 33px;
    opacity: 0;
    background: linear-gradient(90deg, rgba(2,0,36,0) 4%, rgba(33,33,33,1) 4%);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.header-links .menu-item-info img {
    display: block;
    margin-bottom: 17px;
    border-radius: 5px;
}

.hover-link {
    position: relative;
    padding-bottom: 23px;
    top: 11px;
}

.hover-link .main-link {
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: all .3s;
}

.hover-link .main-link svg {
    margin-left: 10px;
    transform: rotate(0deg);
    transition: all .3s;
}

.hover-link:hover .main-link svg {
    transform: rotate(180deg);
    transition: all .3s;
}

.main-link:hover {
    color: #915CE5;
}

.hover-link:hover .main-link svg path {
    stroke: #915CE5;
    transition: all .3s;
}

.hover-link:hover .submenu-1 {
    pointer-events: initial;
    opacity: 1;
}

.service-content .service-main-bg {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 7px;
    overflow: hidden;
    width: 100%;
    height: 230px;
}

.service-content .service-main-bg * {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    top: 0;
    left: 0;
}

.service-link {
    text-decoration: none;
}

.service-link .service-more svg path {
    transition: stroke .3s;
}

.service-link:hover .service-name {
    color: #915CE5;
    transition: color .3s;
}

.service-link:hover .service-more {
    color: #FBFBFB;
    transition: color .3s;
}

.service-link:hover .service-more svg path {
    stroke: #FBFBFB;
    transition: stroke .3s;
}

.service-content .service-name {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    transition: color .3s;
}

.service-content .service-more {
    color: #915CE5;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition: color .3s;
}

@media (max-width: 650px) {
    .service-content {
        gap: 20px;
    }
}

@media (max-width: 450px) {
    .service-content .service-name {
        font-size: 14px;
        line-height: 150%;
    }

    .service-content .service-more {
        font-size: 12px;
        line-height: normal;
    }
}