* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #f8fafd;
    position: relative;
    overflow-x: hidden;
}

/* ФОН */
.profession-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    filter: blur(4px);
    -webkit-filter: blur(4px);
}

.content-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* левый сайдбар - закрепленный при скролле, без полос прокрутки */
.sidebar-left {
    background: #ffffff;
    border-right: 1px solid rgba(0,0,0,0.05);
    box-shadow: 2px 0 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Скрываем полосу прокрутки для Chrome, Safari и Opera */
.sidebar-left::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    .sidebar-left {
        flex: 0 0 auto;
        width: 280px; /* Увеличили ширину с 260px до 280px */
    }
    .main-content-col {
        flex: 1;
        max-width: calc(100% - 280px);
    }
}

@media (max-width: 991.98px) {
    .sidebar-left {
        width: 100%;
        height: auto;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

/* Стили для содержимого сайдбара */
.sidebar {
    background: #ffffff;
    height: 100%;
    padding: 1.2rem 1rem; /* Немного увеличили отступы */
}

.navbar-brand-custom {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 0.8rem;
    padding: 0 0.5rem;
}

.navbar-brand-custom img {
    height: 45px; /* Немного увеличили логотип */
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-weight: 700;
    font-size: 1rem; /* Немного увеличили шрифт */
    color: #1e2a47;
}

.brand-subtitle {
    font-weight: 100;
    font-size: 0.68rem; /* Немного увеличили шрифт */
    color: #5a6e8a;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Стили для навигации */
.nav-link-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin: 4px 0;
    border-radius: 0;
    color: #2c3e66;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.9rem; /* Немного увеличили шрифт */
    background: transparent;
    border-left: 3px solid transparent;
}

.nav-link-custom i {
    font-size: 1.25rem; /* Немного увеличили иконки */
    width: 26px;
}

.nav-link-custom:hover {
    background: transparent;
    color: #0a58ca;
    border-left-color: #0a58ca;
}

.nav-link-custom.active {
    background: transparent;
    color: #0a58ca;
    border-left-color: #0a58ca;
}

/* Убираем любые фоновые подсветки */
.nav-link-custom:focus,
.nav-link-custom:active {
    background: transparent;
    outline: none;
}

/* Основной контент */
.main-content {
    padding: 2rem 1.8rem;
    flex: 1;
}

.hero-section {
    background: rgb(0, 128, 255);
    backdrop-filter: blur(4px);
    border-radius: 2rem;
    padding: 2rem 2rem 1.8rem;
    margin-bottom: 2rem;
    color: white;
    background-image: url('https://img.freepik.com/premium-photo/abstract-background-design-hd-sky-blue_851755-14804.jpg?semt=ais_hybrid&w=740&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a2c4e, #2c4f8c);
    -webkit-background-clip: text;
    background-clip: text;
    color: white;
}

.hero-sub {
    font-size: 1.25rem;
}

/* Баннер */
.top-banners {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.banner-img {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .banner-img {
        max-width: 95%;
    }
}

.otrasli-banner-wrapper {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0 0.5rem;
}

.otrasli-centered {
    max-width: 75%;
    width: auto;
    height: auto;
    border-radius: 32px;
}

/* БЛОК ВЫБЕРИ ОТРАСЛЬ */
.select-speciality {
    margin: 2rem 0 2rem;
    text-align: center;
}

.select-speciality__title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e2f4e;
    position: relative;
    display: inline-block;
    text-align: center;
}

.select-speciality__title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2c4f8c;
    border-radius: 3px;
}

.industry-herringbone {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.industry-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.select-speciality__card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.05);
    display: block;
    width: 260px;
    flex-shrink: 0;
}

.select-speciality__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 28px rgba(0,0,0,0.12);
}

.select-speciality__card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .select-speciality__card {
        width: 160px;
    }
}

@media (max-width: 576px) {
    .select-speciality__card {
        width: 140px;
    }
    .industry-row {
        gap: 1rem;
    }
}

/* ВИДЕО ГАЛЕРЕЯ */
.speciality-video {
    max-width: 1400px;
    margin: 2.5rem auto 2rem auto;
    text-align: center;
}

.speciality-video h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1e2f4e;
    position: relative;
    display: inline-block;
}

.speciality-video h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2c4f8c;
    border-radius: 3px;
}

.video-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-gallery-slider {
    padding: 15px 0 35px;
    border-radius: 28px;
}

.slide-img-wrapper {
    cursor: pointer;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide-img-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 45px rgba(0,0,0,0.25);
}

.slide-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.3s;
}

.swiper-slide {
    transition: all 0.3s;
    opacity: 0.5;
    transform: scale(0.85);
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.video-nav {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.video-nav-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 40px;
    padding: 10px 36px;
    font-weight: 600;
    transition: 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.video-nav-btn:hover {
    background: #eef2ff;
    border-color: #0a58ca;
    transform: scale(1.02);
}

/* модалка видео */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}

.video-overlay--active {
    visibility: visible;
    opacity: 1;
}

.video-content {
    background: #000;
    border-radius: 24px;
    width: 90%;
    max-width: 1200px;
    position: relative;
    aspect-ratio: 16/9;
}

.video-content .close-button {
    position: absolute;
    top: -40px;
    right: -10px;
    background: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

/* Футер */
.footer {
    background: #0a1c3a;
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 2rem 2rem 0 0;
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.footer a {
    color: #ccd9ff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: white;
}

@media (max-width: 768px) {
    .main-content {
        padding: 1.2rem;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .select-speciality__title {
        font-size: 1.6rem;
    }
    .speciality-video h3 {
        font-size: 1.6rem;
    }
    .video-container {
        padding: 0 10px;
    }
    
    /* На мобильных устройствах меню не закреплено */
    .sidebar-left {
        position: relative;
        height: auto;
        overflow-y: visible;
    }
  
  /* Кнопка скролла вверх */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0a58ca;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.scroll-to-top:hover {
    background: #084298;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}
  /* ========== ДОБАВЛЕННЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ИНФОРМАЦИИ ========== */

/* Стили для вкладок и карточек */
.trajectory-body .card {
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 20px;
}

.trajectory-body .card.active {
    background-color: #0a58ca;
    border-color: #0a58ca;
    color: white;
}

.trajectory-body .card.active i,
.trajectory-body .card.active h4 {
    color: white;
}

.trajectory-body .card i {
    font-size: 1.8rem;
    color: #2c4f8c;
}

.trajectory-body .card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.tab-content {
    margin-top: 1.5rem;
}

.input-group-text {
    background: white;
}

.list-group-item {
    border: none;
    background: transparent;
    padding: 0.5rem 0;
}

.list-group-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e2f4e;
    background: white;
    padding: 12px 16px;
    border-radius: 20px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.list-group-item a:hover {
    background: #eef2ff;
    transform: translateX(4px);
}

.list-group-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

/* Стили для поиска */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #f8fafd;
    border-radius: 0.5rem;
}

/* Кнопка скролла вверх */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0a58ca;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.scroll-to-top:hover {
    background: #084298;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Адаптация для мобильных устройств для кнопки скролла */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}
  /* ========== СТИЛИ ДЛЯ СТРАНИЦЫ ИНФОРМАЦИИ ========== */

/* Стили для вкладок и карточек */
.trajectory-body .card {
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    background: white;
}

.trajectory-body .card.active {
    background-color: #0a58ca;
    border-color: #0a58ca;
    color: white;
}

.trajectory-body .card.active i,
.trajectory-body .card.active h4,
.trajectory-body .card.active .card-title {
    color: white;
}

.trajectory-body .card i {
    font-size: 1.8rem;
    color: #2c4f8c;
}

.trajectory-body .card h4,
.trajectory-body .card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    color: #1e2f4e;
}

/* Стили для контента вкладок */
.tab-content {
    margin-top: 1.5rem;
}

/* Стили для поиска */
.input-group-text {
    background: white;
    border: 1px solid #dee2e6;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #f8fafd;
    border-radius: 0.5rem;
    padding: 0.75rem 0;
}

/* Стили для списка организаций */
.list-group-item {
    border: none;
    background: transparent;
    padding: 0.5rem 0;
}

.list-group-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e2f4e;
    background: white;
    padding: 12px 16px;
    border-radius: 20px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.list-group-item a:hover {
    background: #eef2ff;
    transform: translateX(4px);
    border-color: #0a58ca;
}

.list-group-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

/* Стили для иконок в списке специальностей */
.list-group-item i {
    font-size: 1.5rem;
    color: #2c4f8c;
}

/* Заголовок страницы информации */
.main-content h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e2f4e;
    margin-bottom: 1.5rem;
    position: relative;
}

.main-content h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #2c4f8c;
    border-radius: 3px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .trajectory-body .card i {
        font-size: 1.4rem;
    }
    
    .trajectory-body .card h4,
    .trajectory-body .card .card-title {
        font-size: 0.85rem;
    }
    
    .list-group-item a {
        padding: 10px 12px;
    }
    
    .list-group-item img {
        width: 40px;
        height: 40px;
    }
    
    .main-content h4 {
        font-size: 1.4rem;
    }
}
  /* Убираем синюю подсветку у всех пунктов меню по умолчанию */
.nav-link-custom.active {
    background: transparent !important;
    color: #2c3e66 !important;
    border-left-color: transparent !important;
}

/* Оставляем эффект при наведении */
.nav-link-custom:hover {
    background: transparent;
    color: #0a58ca;
    border-left-color: #0a58ca;
}

/* Кнопка скролла вверх - синяя круглая */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0a58ca;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.scroll-to-top:hover {
    background-color: #084298;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}
}
  .sidebar-banners {
    display: flex;
    gap: 8px;
    margin: 10px 0 15px;
    padding: 0 0.5rem;
}

.sidebar-banners img {
    width: 50%;
    height: auto;
    object-fit: contain;
}