* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #1a2980;
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 200px; /* Отступ для высокой навигации */
}



/* Высокая панель навигации */
.tall-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: white;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Класс для скрытия при скролле вниз */
.tall-navbar.hidden {
    transform: translateY(-100%);
}

/* Класс для показа при скролле вверх */
.tall-navbar.visible {
    transform: translateY(0);
}

/* Эффект при прокрутке */
.tall-navbar.scrolled {
    height: 100px; /* Уменьшаем высоту при скролле */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Контейнер навбара */
.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Левая часть с логотипом */
.nav-left {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    font-size: 2.8rem;
    color: #26d0ce;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a2980;
}


/* Навигационные ссылки для десктопа */
.nav-links {
    display: flex;
    gap: 10px;
    list-style: none;
}

.nav-link-item {
    position: relative;
}

.nav-link {
    display: flex;
    padding: 12px 24px;
    background: #f8fafc;
    color: #1a2980;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    border-color: #1a2980;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 41, 128, 0.1);
}

.nav-link.active {
    background: linear-gradient(135deg, #1a2980, #26d0ce);
    color: #ffffff;
    border-color: #1a2980;
}

.nav-link i {
    font-size: 1.2rem;
}

/* Правая часть с бургер-меню */



/* Бургер-кнопка */
.burger-btn {
    display: none;
    background: linear-gradient(135deg, #1a2980, #26d0ce);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(26, 41, 128, 0.2);
}

.burger-btn:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(26, 41, 128, 0.3);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 200px;
    right: -100%;
    width: 320px;
    /* height: calc(100vh - 200px); */
    height: 100vh;
    background: white;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 2px solid #e2e8f0;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 30px;
}

.mobile-menu.active {
    /* right: 0; */
    left: 0;
    top: 0;
    z-index: 9999;
}

.mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-item {
    width: 100%;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    background: #f8fafc;
    color: #1a2980;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    border-color: #1a2980;
    transform: translateX(-5px);
}

.mobile-menu-link.active {
    background: linear-gradient(135deg, #1a2980, #26d0ce);
    color: #ffffff;
    border-color: #1a2980;
}

.mobile-menu-link i {
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

/* Бейджи в мобильном меню */
.menu-badge {
    background: #26d0ce;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

/* Кнопка "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a2980, #26d0ce);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
    border: 2px solid white;
    box-shadow: 0 5px 20px rgba(26, 41, 128, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(26, 41, 128, 0.4);
}

/* Оверлей для мобильного меню */
.menu-overlay {
    position: fixed;
    top: 200px;
    left: 0;
    width: 100%;
    height: calc(100vh - 200px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Адаптивность */
@media (max-width: 992px) {
    .nav-links {
        gap: 8px;
    }
    
    .nav-link {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .logo-icon {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 200px;
    }
    
    .nav-links {
        display: none;
    }
    
    .burger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-info {
        display: none;
    }
    
    .tall-navbar.scrolled {
        height: 80px;
    }
    
    .nav-container {
        padding: 20px;
    }
    
    .nav-left {
        gap: 10px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
    
    .logo-tagline {
        font-size: 0.85rem;
        margin-left: 45px;
    }
    
    .mobile-menu {
        /* top: 200px;
        height: calc(100vh - 200px); */
        top: 0;
        height: 100vh;
    }
    
    .menu-overlay {
        top: 200px;
        height: calc(100vh - 200px);
    }
}

@media (max-width: 480px) {
    .tall-navbar {
        height: 180px;
    }
    
    body {
        padding-top: 180px;
    }
    
    .tall-navbar.scrolled {
        height: 70px;
    }
    
    .mobile-menu {
        width: 250px;
        /* top: 180px;
        height: calc(100vh - 180px); */
        top: 0;
        height: 100vh;
        padding: 30px 5px;
    }
    
    .menu-overlay {
        top: 180px;
        height: calc(100vh - 180px);
    }
    
    .nav-container {
        padding: 15px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .logo-tagline {
        font-size: 0.8rem;
        margin-left: 35px;
    }
    
    .burger-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Анимация для контента */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}