.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.me-5 { margin-right: 3rem !important; }

.nav-item.dropdown .dropdown-menu {
    background: white;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 8px 0;
}

.nav-item.dropdown .dropdown-item {
    padding: 10px 20px;
    color: #333;
    transition: all 0.3s;
}

.nav-item.dropdown .dropdown-item:hover {
    background: #f8f9fa;
    color: #045ca7;
}

.dropdown-toggle::after {
    margin-left: 8px;
}

/* Ensure proper layering */
.hero-section {
    position: relative;
    z-index: 1;
}

.navigation-menu.position-absolute {
    z-index: 100;
}

/* Fix for accessibility button */
#faintlySeeing {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

/* Визуальная индикация активного режима для слабовидящих */
#faintlySeeing.accessibility-active {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid #000 !important;
}

#faintlySeeing.accessibility-active img {
    filter: brightness(0) invert(1) !important;
}

/* Добавляем индикатор для активного режима */
#faintlySeeing.accessibility-active:after {
    content: '●';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: #00ff00;
    border-radius: 50%;
    font-size: 8px;
    text-align: center;
    line-height: 12px;
    color: #000;
    border: 1px solid #000;
}

/* Tooltip для кнопки */
#faintlySeeing[title] {
    position: relative;
}

#faintlySeeing[title]:hover:before {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

#faintlySeeing[title]:hover:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #000;
    z-index: 1000;
}

/* Стили для мобильного меню - версия для слабовидящих */
@media (max-width: 768px) {
    #faintlySeeing.accessibility-active:after {
        top: -3px;
        right: -3px;
        width: 10px;
        height: 10px;
        font-size: 6px;
        line-height: 10px;
    }
}

/* Static page banner styles */
.static-page-banner-section {
    margin-bottom: 40px;
}

.static-page-banner {
    background-color: rgba(4, 92, 167, 0.2);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 24px;
    padding: 76px 74px;
    min-height: 200px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.static-page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(4, 92, 167, 0.2);
    z-index: 1;
}

.static-page-banner-text {
    color: white;
    font-size: 32px;
    font-weight: bold;
    line-height: 40px;
    position: relative;
    z-index: 2;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .static-page-banner {
        padding: 40px 30px;
        border-radius: 16px;
    }

    .static-page-banner-text {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (max-width: 480px) {
    .static-page-banner {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .static-page-banner-text {
        font-size: 20px;
        line-height: 28px;
    }
}