/* Стили для активного пункта меню при скролле */

/* Активный пункт в основном меню */
.it-onepage-menu li.active > a,
.it-onepage-menu a.active {
    color: #E03B3B !important;
    position: relative;
}

/* Подчеркивание для активного пункта */
.it-onepage-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #E03B3B;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Активный пункт в верхнем меню контактов */
.it-header-top-contact a.active {
    color: #E03B3B !important;
    font-weight: 600;
}

/* Плавный переход для всех ссылок меню */
.it-onepage-menu a,
.it-header-top-contact a {
    transition: color 0.3s ease, font-weight 0.3s ease;
}

/* Стиль при наведении */
.it-onepage-menu a:hover,
.it-header-top-contact a:hover {
    color: #E03B3B !important;
}

/* Мобильное меню */
.it-menu-mobile .it-onepage-menu li.active > a {
    color: #E03B3B !important;
    font-weight: 600;
}
