@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Armenian:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Noto Sans Armenian', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ==================== НАВИГАЦИЯ ==================== */
nav {
    background: #000;
    color: white;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-bottom: 5px solid white;
}

.nav-header {
    width: 100%;
    margin: 0;
    padding: 0;
}

.logo-section {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #000;
    width: 100%;
}

.logo-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 15px;
}

.logo-content a {
    display: flex;
    flex-shrink: 0;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.logo-content a:hover {
    background: none;
    opacity: 1;
}

.site-logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    object-fit: contain;
}

.banner-image {
    flex-grow: 1;
    height: 100px;
    object-fit: contain;
    max-width: calc(100% - 120px);
}

.nav-container {
    background: linear-gradient(135deg, #5B0000 0%, #8B0000 100%);
    width: 100%;
    padding: 0;
    overflow: visible;
}

.nav-content {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    display: block;
    font-size: clamp(0.7rem, 1vw, 0.95rem);
    white-space: nowrap;
}

.nav-row-second {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2px;
    margin-top: 2px;
}

nav a:hover {
    opacity: 0.9;
    background: rgba(255,255,255,0.15);
}

nav a.active {
    background: rgba(255,255,255,0.85);
    color: #8B0000;
    border-radius: 20px;
    font-weight: 600;
}

/* Мобильная кнопка программ и контейнер */
.mobile-controls {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    width: auto;
    position: fixed;
    top: 10px;
    right: 15px;
    z-index: 1000;
}

.mobile-programs-btn {
    display: none;
}

.mobile-programs-menu {
    display: none;
}

/* Переключатель языков */
.language-switcher {
    display: flex;
    gap: 0.3rem;
    flex-shrink: 0;
}

.lang-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.4rem 0.65rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.3);
}

.lang-btn.active {
    background: white;
    color: #8B0000;
    font-weight: bold;
}

/* Выпадающее меню */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(180deg, #8B0000 0%, #6B0000 100%);
    min-width: 280px;
    max-height: 0;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    margin-top: 0.5rem;
    padding: 0;
    padding-left: 0;
    margin-left: 0;
    list-style: none;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: max-height 0.4s ease-out,
                opacity 0.3s ease-in-out,
                transform 0.4s ease-out,
                padding 0.4s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    max-height: 600px;
    opacity: 1;
    transform: scaleY(1);
    padding: 0.5rem 0;
    overflow-y: auto;
}

/* Анимация плавного раскрытия */
@keyframes fabricWave {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: left;
    list-style: none;
}

.dropdown:hover .dropdown-menu li {
    opacity: 1;
}

/* Задержка для каждого пункта */
.dropdown:hover .dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
.dropdown:hover .dropdown-menu li:nth-child(2) { transition-delay: 0.1s; }
.dropdown:hover .dropdown-menu li:nth-child(3) { transition-delay: 0.15s; }
.dropdown:hover .dropdown-menu li:nth-child(4) { transition-delay: 0.2s; }
.dropdown:hover .dropdown-menu li:nth-child(5) { transition-delay: 0.25s; }
.dropdown:hover .dropdown-menu li:nth-child(6) { transition-delay: 0.3s; }
.dropdown:hover .dropdown-menu li:nth-child(7) { transition-delay: 0.35s; }
.dropdown:hover .dropdown-menu li:nth-child(8) { transition-delay: 0.4s; }
.dropdown:hover .dropdown-menu li:nth-child(9) { transition-delay: 0.45s; }
.dropdown:hover .dropdown-menu li:nth-child(10) { transition-delay: 0.5s; }
.dropdown:hover .dropdown-menu li:nth-child(11) { transition-delay: 0.55s; }
.dropdown:hover .dropdown-menu li:nth-child(12) { transition-delay: 0.6s; }
.dropdown:hover .dropdown-menu li:nth-child(13) { transition-delay: 0.65s; }
.dropdown:hover .dropdown-menu li:nth-child(14) { transition-delay: 0.7s; }
.dropdown:hover .dropdown-menu li:nth-child(15) { transition-delay: 0.75s; }

.dropdown-menu a {
    display: block;
    padding: 0.6rem 0.8rem 0.6rem 0.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: normal;
    line-height: 1.4;
    border-radius: 0;
    border-left: 3px solid transparent;
    text-align: left;
    margin: 0;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.2);
    border-left-color: #FFD700;
    padding-left: 0.7rem;
}

/* Прокрутка для выпадающего меню */
.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

/* ==================== СЕКЦИИ ==================== */
section {
    min-height: 100vh;
    padding: 150px 20px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Главная страница - центрируем контент */
#home {
    justify-content: center;
    padding-top: 210px;
}

#home .container {
    padding-top: 0;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-top: 200px;
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: #FFD700;
    text-align: center;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    color: #8B0000;
    text-align: center;
}

/* ==================== ГЛАВНАЯ СТРАНИЦА ==================== */
#home {
    background: url('../images/Mec_Hayq.jpg') center/cover no-repeat;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.38);
    z-index: 0;
}

#home .container {
    position: relative;
    z-index: 1;
}

.hero-banner {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
}

.hero-content {
    padding: 0 15px;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #fff;
    margin-bottom: 1.5rem;
}

.motto {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: bold;
    color: #FFD700;
    margin: 1rem 0;
}

.cta-button {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.4);
}

/* ==================== О НАС ==================== */
#about {
    background: url('../images/about_us.jpg') center/cover no-repeat;
    position: relative;
}

.about-content {
    display: block;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(60, 40, 30, 0.75);
    padding: 2rem;
    border-radius: 10px;
}

#about h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-text p {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}
/* Political Direction page */
#political-direction {
    background: url('../images/our_programm.jpg') center/cover no-repeat;
    position: relative;
}


.values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.value-tag {
    background: #8B0000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.logo-container {    
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

.logo-container svg {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* ==================== ԱՆՑԱԾ ՈՒՂԻՆ ==================== */
#journey {
    background: url('../images/ancac_uxi.jpg') center top/cover no-repeat;
    background-attachment: scroll;
}

#journey h2 {
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.journey-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: rgba(60, 40, 30, 0.75);
    padding: 1rem 2rem;
    border-radius: 10px;
}

.journey-content p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.journey-content p:last-child {
    margin-bottom: 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 1rem auto;
    padding-bottom: 56.25%; /* 16:9 соотношение */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}


/* ==================== HOME VIDEOS ==================== */
.home-videos {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 20px 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.home-video-block {
    text-align: center;
    max-width: 320px;
    width: calc(33.333% - 20px);
}

.home-video-block h3 {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 2px;
    margin-top: 0;
    line-height: 1.4;
    background: rgba(139, 0, 0, 0.85);
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    white-space: pre-line;
}

.home-video-block .video-container {
    max-width: 100%;
    padding-bottom: 56.25%;
}

.home-video-block .video-date {
    color: #e0e0e0;
    font-size: 1rem;
    margin-top: 2px;
    margin-bottom: 0;
    background: rgba(139, 0, 0, 0.85);
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
}

/* ==================== ՀԻՄՆԱԴՐՈՒՅԹՆԵՐ ==================== */
#principles {
    background: url('../images/himnadruytner.jpg') center top/100% auto repeat-y;
}



#principles h2 {
    color: #8B0000;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.principles-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    background: rgba(60, 40, 30, 0.75);
    padding: 1rem 2rem;
    border-radius: 10px;
}

.principles-content h1 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.principles-content p {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* ==================== ПРОГРАММЫ ==================== */
#programs {
    background: linear-gradient(135deg, #150000 0%, #250000 100%);
}

#programs h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3.5rem 1.5rem;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.program-card {
    background: #3a2a1a;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    height: 140px;
    position: relative;
    overflow: visible;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-3px);
}

.program-card .card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.program-card h3 {
    position: absolute;
    bottom: -2.8rem;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.5rem;
    width: 100%;
    font-size: clamp(0.75rem, 1.8vw, 0.95rem);
    text-align: center;
    line-height: 1.3;
}

.program-card h3 a {
    color: #e8e8e8;
    text-decoration: none;
    transition: color 0.3s;
}

.program-card h3 a:hover {
    color: #ffffff;
}

/* Background images for program cards */
.card-healthcare { background-image: url('../images/programms/%D4%B1%D5%BC%D5%B8%D5%B2%D5%BB%D5%A1%D5%BA%D5%A1%D5%B0%D5%B8%D6%82%D5%A9%D5%B5%D5%A1%D5%B6-%D5%B8%D5%AC%D5%B8%D6%80%D5%BF.jpg'); }
.card-communication { background-image: url('../images/programms/%D4%BF%D5%A1%D5%BA.jpg'); }
.card-education { background-image: url('../images/programms/%D4%BF%D6%80%D5%A9%D5%B8%D6%82%D5%A9%D5%B5%D5%A1%D5%B6-%D6%87-%D5%A3%D5%AB%D5%BF%D5%B8%D6%82%D5%A9%D5%B5%D5%A1%D5%B6-%D5%B8%D5%AC%D5%B8%D6%80%D5%BF.jpg'); }
.card-culture { background-image: url('../images/programms/%D5%84%D5%B7%D5%A1%D5%AF%D5%B8%D6%82%D5%B5%D5%A9%D5%AB-%D5%B8%D5%AC%D5%B8%D6%80%D5%BF.jpg'); }
.card-economy { background-image: url('../images/programms/%D5%8F%D5%B6%D5%BF%D5%A5%D5%BD%D5%B8%D6%82%D5%A9%D5%B5%D5%A1%D5%B6-%D5%B8%D5%AC%D5%B8%D6%80%D5%BF.jpg'); }
.card-environment { background-image: url('../images/programms/%D4%B2%D5%B6%D5%A1%D5%BA%D5%A1%D5%B0%D5%BA%D5%A1%D5%B6%D5%B8%D6%82%D5%A9%D5%B5%D5%B8%D6%82%D5%B6.jpg'); }
.card-foreign { background-image: url('../images/programms/%D4%B1%D6%80%D5%BF%D5%A1%D6%84%D5%AB%D5%B6-%D6%84%D5%A1%D5%B2%D5%A1%D6%84%D5%A1%D5%AF%D5%A1%D5%B6%D5%B8%D6%82%D5%A9%D5%B5%D5%B8%D6%82%D5%B6.jpg'); }
.card-military { background-image: url('../images/programms/%D5%8C%D5%A1%D5%A6%D5%B4%D5%A1%D5%AF%D5%A1%D5%B6-%D5%B8%D5%AC%D5%B8%D6%80%D5%BF.jpg'); }
.card-architecture { background-image: url('../images/programms/%D5%83%D5%A1%D6%80%D5%BF%D5%A1%D6%80%D5%A1%D5%BA%D5%A5%D5%BF%D5%A1%D5%AF%D5%A1%D5%B6-%D5%B8%D5%AC%D5%B8%D6%80%D5%BF.jpg'); }
.card-justice { background-image: url('../images/programms/%D4%B1%D6%80%D5%A4%D5%A1%D6%80%D5%A1%D5%A4%D5%A1%D5%BF%D5%B8%D6%82%D5%A9%D5%B5%D5%A1%D5%B6-%D5%B8%D5%AC%D5%B8%D6%80%D5%BF.jpg'); }
.card-sports { background-image: url('../images/programms/%D5%8D%D5%BA%D5%B8%D6%80%D5%BF%D5%AB-%D5%B8%D5%AC%D5%B8%D6%80%D5%BF.jpg'); }
.card-agriculture { background-image: url('../images/programms/%D4%B3%D5%B5%D5%B8%D6%82%D5%B2%D5%A1%D5%BF%D5%B6%D5%BF%D5%A5%D5%BD%D5%A1%D5%AF%D5%A1%D5%B6-%D5%B8%D5%AC%D5%B8%D6%80%D5%BF.jpg'); }
.card-tourism { background-image: url('../images/programms/%D5%8F%D5%B8%D6%82%D6%80%D5%AB%D5%A6%D5%B4%D5%AB-%D5%B8%D5%AC%D5%B8%D6%80%D5%BF.jpg'); }
.card-social { background-image: url('../images/programms/Սոցիալական_ոլորտ.jpg'); }
.card-it { background-image: url('../images/programms/ՏՏ_Նանո.jpg'); }
.card-domestic { background-image: url('../images/programms/Ներքին_քաղաքականություն.jpg'); }
.card-transport { background-image: url('../images/programms/ՏՐԱՆՍՊՈՐՏԻ-ՈԼՈՐՏ.jpg'); }
.card-diaspora { background-image: url('../images/programms/ՍՓՅՈւՌՔԻ-ՈԼՈՐՏ.jpg'); }
.card-industry { background-image: url('../images/programms/ԱՐԴՅՈւՆԱԲԵՐՈւԹՅԱՆ-ՈԼՈՐՏ.jpg'); }
.card-interior-ministry { background-image: url('../images/programms/ՆԳ-ՆԱԽԱՐԱՐՈւԹՅՈւՆ.jpg'); }

/* ==================== PROGRAM PAGES ==================== */
#tourism,
#healthcare,
#communication,
#social,
#education,
#culture,
#economy,
#environment,
#foreign-policy,
#it-nano,
#military,
#architecture,
#domestic-policy,
#justice,
#sports,
#agriculture {
    min-height: calc(100vh - 200px);
    background: #f5f5f5;
}

#tourism h2,
#healthcare h2,
#communication h2,
#social h2,
#education h2,
#culture h2,
#economy h2,
#environment h2,
#foreign-policy h2,
#it-nano h2,
#military h2,
#architecture h2,
#domestic-policy h2,
#justice h2,
#sports h2,
#agriculture h2 {
    text-align: center;
    color: #8B0000;
}

#tourism p,
#healthcare p,
#communication p,
#social p,
#education p,
#culture p,
#economy p,
#environment p,
#foreign-policy p,
#it-nano p,
#military p,
#architecture p,
#domestic-policy p,
#justice p,
#sports p,
#agriculture p {
    text-align: center;
    color: #333;
    font-size: 1.1rem;
}

/* Programs List */
.programs-list {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.program-item {
    background: white;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
}

.program-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.2);
}

.program-item h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.program-item h3 a {
    color: #8B0000;
    text-decoration: none;
    transition: color 0.3s;
}

.program-item h3 a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.program-item h3 a:hover {
    color: #DC143C;
}

/* Program Details Page */
.program-details {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #edebea;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.program-details h3 {
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: left !important;
}

.program-details p {
    text-align: left !important;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.program-details ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.program-details ul li {
    margin-bottom: 0.5rem;
    color: #333;
}

/* ==================== ПРИСОЕДИНИТЬСЯ ==================== */
#join {
    background: url('../images/join_us.jpg') center top/cover no-repeat;
    background-attachment: fixed;
    touch-action: pan-y;
}

#join .container {
    padding-top: 200px;
}

#join h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.join-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    touch-action: pan-y;
}

.join-content > p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    margin-bottom: 2rem;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.benefit-item {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 10px;
    border-left: 4px solid #8B0000;
}

.benefit-item h4 {
    color: #8B0000;
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.benefit-item p {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: #666;
}

/* ==================== ФОРМА ЗАЯВКИ ==================== */
.application-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
    margin: 2rem auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Группа полей для имени */
.form-group.name-group {
    display: flex;
    gap: 1rem;
}

.name-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.name-field label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.name-field input {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.name-field input:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Специальные стили для поля даты на iOS */
.form-group input[type="date"] {
    min-height: calc(1rem * 1.5 + 0.9rem * 2 + 4px);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    cursor: pointer;
}

/* Дополнительные стили для iOS Safari */
.form-group input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

.form-group select {
    cursor: pointer;
    background-color: white;
    height: calc(1rem * 1.5 + 0.9rem * 2 + 4px);
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B0000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.form-group input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #666;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Подсказки для полей */
.field-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Радио кнопки */
.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
}

.radio-label input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
    transform: scale(1.2);
}

.radio-label span {
    user-select: none;
}

/* Капча */
.captcha-group #captchaQuestion {
    font-weight: bold;
    color: #8B0000;
}

.submit-button {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 600;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.success-msg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(76, 175, 80, 0.95);
    color: #fff;
    padding: 28px 48px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    display: none;
    transition: opacity 0.4s ease;
    max-width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.success-msg.visible {
    opacity: 1;
}

/* Success Modal */
.success-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.success-modal-overlay.visible {
    display: flex;
}

.success-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 50px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.success-modal-title {
    color: #8B0000;
    font-size: 26px;
    margin: 0 0 24px 0;
    font-weight: 700;
}

.success-modal-text {
    color: #333;
    font-size: 17px;
    line-height: 1.6;
    margin: 8px 0;
}

.success-modal-btn {
    margin-top: 28px;
    background: #8B0000;
    color: #fff;
    border: none;
    padding: 12px 60px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-modal-btn:hover {
    background: #a50000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

/* ==================== СЕКЦИИ ВИДОВ ДЕЯТЕЛЬНОСТИ ==================== */
#healthcare, #communication, #social, #education, #culture,
#economy, #environment, #foreign-policy, #it-nano, #military,
#architecture, #domestic-policy, #justice, #sports, #agriculture,
#tourism ,
#transport ,
#diaspora ,
#industry ,
#interior-ministry {
    background: linear-gradient(135deg, #1a0000 0%, #2d0000 50%, #1a0000 100%);
    min-height: 100vh;
    padding-top: 130px !important;
    padding-bottom: 3rem;
}

#healthcare .container, #communication .container, #social .container,
#education .container, #culture .container, #economy .container,
#environment .container, #foreign-policy .container, #it-nano .container,
#military .container, #architecture .container, #domestic-policy .container,
#justice .container, #sports .container, #agriculture .container,
#tourism .container ,
#transport .container ,
#diaspora .container ,
#industry .container ,
#interior-ministry .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 0;
}

#healthcare h2, #communication h2, #social h2, #education h2, #culture h2,
#economy h2, #environment h2, #foreign-policy h2, #it-nano h2, #military h2,
#architecture h2, #domestic-policy h2, #justice h2, #sports h2, #agriculture h2,
#tourism h2 ,
#transport h2 ,
#diaspora h2 ,
#industry h2 ,
#interior-ministry h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    margin-top: 1.5rem;
    padding-top: 7rem;
    max-width: 650px;
    margin-left: 5rem;
}

#healthcare .content-wrapper, #communication .content-wrapper, #social .content-wrapper,
#education .content-wrapper, #culture .content-wrapper, #economy .content-wrapper,
#environment .content-wrapper, #foreign-policy .content-wrapper, #it-nano .content-wrapper,
#military .content-wrapper, #architecture .content-wrapper, #domestic-policy .content-wrapper,
#justice .content-wrapper, #sports .content-wrapper, #agriculture .content-wrapper,
#tourism .content-wrapper ,
#transport .content-wrapper ,
#diaspora .content-wrapper ,
#industry .content-wrapper ,
#interior-ministry .content-wrapper {
    display: flex;
    gap: 3rem;
    width: 100%;
    align-items: flex-start;
    margin-top: 0;
    max-width: 650px;
    margin-left: 5rem;
}

#healthcare .programs-list, #communication .programs-list, #social .programs-list,
#education .programs-list, #culture .programs-list, #economy .programs-list,
#environment .programs-list, #foreign-policy .programs-list, #it-nano .programs-list,
#military .programs-list, #architecture .programs-list, #domestic-policy .programs-list,
#justice .programs-list, #sports .programs-list, #agriculture .programs-list,
#tourism .programs-list ,
#transport .programs-list ,
#diaspora .programs-list ,
#industry .programs-list ,
#interior-ministry .programs-list {
    flex: 1;
    max-width: 650px;
    padding-left: 0;
    margin-top: 0;
}

#healthcare .program-item, #communication .program-item, #social .program-item,
#education .program-item, #culture .program-item, #economy .program-item,
#environment .program-item, #foreign-policy .program-item, #it-nano .program-item,
#military .program-item, #architecture .program-item, #domestic-policy .program-item,
#justice .program-item, #sports .program-item, #agriculture .program-item,
#tourism .program-item ,
#transport .program-item ,
#diaspora .program-item ,
#industry .program-item ,
#interior-ministry .program-item {
    background-color: rgba(139, 0, 0, 0.3);
    border: 1px solid rgba(139, 0, 0, 0.5);
    padding: 0.8rem 1.2rem;
    margin: 0.8rem 0;
    border-radius: 8px;
    transition: all 0.3s;
}

#healthcare .program-item:hover, #communication .program-item:hover, #social .program-item:hover,
#education .program-item:hover, #culture .program-item:hover, #economy .program-item:hover,
#environment .program-item:hover, #foreign-policy .program-item:hover, #it-nano .program-item:hover,
#military .program-item:hover, #architecture .program-item:hover, #domestic-policy .program-item:hover,
#justice .program-item:hover, #sports .program-item:hover, #agriculture .program-item:hover,
#tourism .program-item:hover ,
#transport .program-item:hover ,
#diaspora .program-item:hover ,
#industry .program-item:hover ,
#interior-ministry .program-item:hover {
    background-color: rgba(139, 0, 0, 0.5);
    border-color: rgba(220, 20, 60, 0.8);
    transform: translateX(5px);
}

#healthcare .program-item h3 a, #communication .program-item h3 a, #social .program-item h3 a,
#education .program-item h3 a, #culture .program-item h3 a, #economy .program-item h3 a,
#environment .program-item h3 a, #foreign-policy .program-item h3 a, #it-nano .program-item h3 a,
#military .program-item h3 a, #architecture .program-item h3 a, #domestic-policy .program-item h3 a,
#justice .program-item h3 a, #sports .program-item h3 a, #agriculture .program-item h3 a,
#tourism .program-item h3 a ,
#transport .program-item h3 a ,
#diaspora .program-item h3 a ,
#industry .program-item h3 a ,
#interior-ministry .program-item h3 a {
    color: white !important;
}

#healthcare .program-item h3 a:hover, #communication .program-item h3 a:hover, #social .program-item h3 a:hover,
#education .program-item h3 a:hover, #culture .program-item h3 a:hover, #economy .program-item h3 a:hover,
#environment .program-item h3 a:hover, #foreign-policy .program-item h3 a:hover, #it-nano .program-item h3 a:hover,
#military .program-item h3 a:hover, #architecture .program-item h3 a:hover, #domestic-policy .program-item h3 a:hover,
#justice .program-item h3 a:hover, #sports .program-item h3 a:hover, #agriculture .program-item h3 a:hover,
#tourism .program-item h3 a:hover ,
#transport .program-item h3 a:hover ,
#diaspora .program-item h3 a:hover ,
#industry .program-item h3 a:hover ,
#interior-ministry .program-item h3 a:hover {
    color: #FFD700 !important;
}

/* Under-development text in new sections */
#transport .program-item h3,
#diaspora .program-item h3,
#industry .program-item h3,
#interior-ministry .program-item h3 {
    color: white !important;
}

/* Breadcrumb navigation titles on program detail pages */
#healthcare > .container > h3, #communication > .container > h3, #social > .container > h3,
#education > .container > h3, #culture > .container > h3, #economy > .container > h3,
#environment > .container > h3, #foreign-policy > .container > h3, #it-nano > .container > h3,
#military > .container > h3, #architecture > .container > h3, #domestic-policy > .container > h3,
#justice > .container > h3, #sports > .container > h3, #agriculture > .container > h3,
#tourism > .container > h3 ,
#transport > .container > h3 ,
#diaspora > .container > h3 ,
#industry > .container > h3 ,
#interior-ministry > .container > h3 {
    padding-top: 9rem !important;
    margin-top: 0 !important;
    font-size: 1.15rem !important;
}

#healthcare > .container > h3 > span:nth-of-type(2), #communication > .container > h3 > span:nth-of-type(2),
#social > .container > h3 > span:nth-of-type(2), #education > .container > h3 > span:nth-of-type(2),
#culture > .container > h3 > span:nth-of-type(2), #economy > .container > h3 > span:nth-of-type(2),
#environment > .container > h3 > span:nth-of-type(2), #foreign-policy > .container > h3 > span:nth-of-type(2),
#it-nano > .container > h3 > span:nth-of-type(2), #military > .container > h3 > span:nth-of-type(2),
#architecture > .container > h3 > span:nth-of-type(2), #domestic-policy > .container > h3 > span:nth-of-type(2),
#justice > .container > h3 > span:nth-of-type(2), #sports > .container > h3 > span:nth-of-type(2),
#agriculture > .container > h3 > span:nth-of-type(2), #tourism > .container > h3 > span:nth-of-type(2) ,
#transport > .container > h3 > span:nth-of-type(2) ,
#diaspora > .container > h3 > span:nth-of-type(2) ,
#industry > .container > h3 > span:nth-of-type(2) ,
#interior-ministry > .container > h3 > span:nth-of-type(2) {
    font-size: 1rem !important;
}

/* Breadcrumb parent link - red */
#healthcare > .container > h3 > a, #communication > .container > h3 > a, #social > .container > h3 > a,
#education > .container > h3 > a, #culture > .container > h3 > a, #economy > .container > h3 > a,
#environment > .container > h3 > a, #foreign-policy > .container > h3 > a, #it-nano > .container > h3 > a,
#military > .container > h3 > a, #architecture > .container > h3 > a, #domestic-policy > .container > h3 > a,
#justice > .container > h3 > a, #sports > .container > h3 > a, #agriculture > .container > h3 > a,
#tourism > .container > h3 > a ,
#transport > .container > h3 > a ,
#diaspora > .container > h3 > a ,
#industry > .container > h3 > a ,
#interior-ministry > .container > h3 > a {
    color: #d41212 !important;
}

/* Breadcrumb arrow - red */
#healthcare > .container > h3 > span:nth-of-type(1), #communication > .container > h3 > span:nth-of-type(1),
#social > .container > h3 > span:nth-of-type(1), #education > .container > h3 > span:nth-of-type(1),
#culture > .container > h3 > span:nth-of-type(1), #economy > .container > h3 > span:nth-of-type(1),
#environment > .container > h3 > span:nth-of-type(1), #foreign-policy > .container > h3 > span:nth-of-type(1),
#it-nano > .container > h3 > span:nth-of-type(1), #military > .container > h3 > span:nth-of-type(1),
#architecture > .container > h3 > span:nth-of-type(1), #domestic-policy > .container > h3 > span:nth-of-type(1),
#justice > .container > h3 > span:nth-of-type(1), #sports > .container > h3 > span:nth-of-type(1),
#agriculture > .container > h3 > span:nth-of-type(1), #tourism > .container > h3 > span:nth-of-type(1) ,
#transport > .container > h3 > span:nth-of-type(1) ,
#diaspora > .container > h3 > span:nth-of-type(1) ,
#industry > .container > h3 > span:nth-of-type(1) ,
#interior-ministry > .container > h3 > span:nth-of-type(1) {
    color: #d41212 !important;
}

/* Breadcrumb current page title - white */
#healthcare > .container > h3 > span:nth-of-type(2), #communication > .container > h3 > span:nth-of-type(2),
#social > .container > h3 > span:nth-of-type(2), #education > .container > h3 > span:nth-of-type(2),
#culture > .container > h3 > span:nth-of-type(2), #economy > .container > h3 > span:nth-of-type(2),
#environment > .container > h3 > span:nth-of-type(2), #foreign-policy > .container > h3 > span:nth-of-type(2),
#it-nano > .container > h3 > span:nth-of-type(2), #military > .container > h3 > span:nth-of-type(2),
#architecture > .container > h3 > span:nth-of-type(2), #domestic-policy > .container > h3 > span:nth-of-type(2),
#justice > .container > h3 > span:nth-of-type(2), #sports > .container > h3 > span:nth-of-type(2),
#agriculture > .container > h3 > span:nth-of-type(2), #tourism > .container > h3 > span:nth-of-type(2) ,
#transport > .container > h3 > span:nth-of-type(2) ,
#diaspora > .container > h3 > span:nth-of-type(2) ,
#industry > .container > h3 > span:nth-of-type(2) ,
#interior-ministry > .container > h3 > span:nth-of-type(2) {
    color: white !important;
}

#healthcare .sidebar-image, #communication .sidebar-image, #social .sidebar-image,
#education .sidebar-image, #culture .sidebar-image, #economy .sidebar-image,
#environment .sidebar-image, #foreign-policy .sidebar-image, #it-nano .sidebar-image,
#military .sidebar-image, #architecture .sidebar-image, #domestic-policy .sidebar-image,
#justice .sidebar-image, #sports .sidebar-image, #agriculture .sidebar-image,
#tourism .sidebar-image ,
#transport .sidebar-image ,
#diaspora .sidebar-image ,
#industry .sidebar-image ,
#interior-ministry .sidebar-image {
    position: fixed;
    top: 320px;
    right: 8%;
    width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#healthcare .sidebar-image img, #communication .sidebar-image img, #social .sidebar-image img,
#education .sidebar-image img, #culture .sidebar-image img, #economy .sidebar-image img,
#environment .sidebar-image img, #foreign-policy .sidebar-image img, #it-nano .sidebar-image img,
#military .sidebar-image img, #architecture .sidebar-image img, #domestic-policy .sidebar-image img,
#justice .sidebar-image img, #sports .sidebar-image img, #agriculture .sidebar-image img,
#tourism .sidebar-image img ,
#transport .sidebar-image img ,
#diaspora .sidebar-image img ,
#industry .sidebar-image img ,
#interior-ministry .sidebar-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(139, 0, 0, 0.7);
}

/* Адаптивные размеры для sidebar-image */
@media (max-width: 1400px) {
    #healthcare .sidebar-image, #communication .sidebar-image, #social .sidebar-image,
    #education .sidebar-image, #culture .sidebar-image, #economy .sidebar-image,
    #environment .sidebar-image, #foreign-policy .sidebar-image, #it-nano .sidebar-image,
    #military .sidebar-image, #architecture .sidebar-image, #domestic-policy .sidebar-image,
    #justice .sidebar-image, #sports .sidebar-image, #agriculture .sidebar-image,
    #tourism .sidebar-image ,
#transport .sidebar-image ,
#diaspora .sidebar-image ,
#industry .sidebar-image ,
#interior-ministry .sidebar-image {
        width: 500px;
        right: 5%;
    }
}

@media (max-width: 1200px) {
    #healthcare .sidebar-image, #communication .sidebar-image, #social .sidebar-image,
    #education .sidebar-image, #culture .sidebar-image, #economy .sidebar-image,
    #environment .sidebar-image, #foreign-policy .sidebar-image, #it-nano .sidebar-image,
    #military .sidebar-image, #architecture .sidebar-image, #domestic-policy .sidebar-image,
    #justice .sidebar-image, #sports .sidebar-image, #agriculture .sidebar-image,
    #tourism .sidebar-image ,
#transport .sidebar-image ,
#diaspora .sidebar-image ,
#industry .sidebar-image ,
#interior-ministry .sidebar-image {
        width: 400px;
        right: 3%;
    }
}

@media (max-width: 1024px) {
    #healthcare .sidebar-image, #communication .sidebar-image, #social .sidebar-image,
    #education .sidebar-image, #culture .sidebar-image, #economy .sidebar-image,
    #environment .sidebar-image, #foreign-policy .sidebar-image, #it-nano .sidebar-image,
    #military .sidebar-image, #architecture .sidebar-image, #domestic-policy .sidebar-image,
    #justice .sidebar-image, #sports .sidebar-image, #agriculture .sidebar-image,
    #tourism .sidebar-image ,
#transport .sidebar-image ,
#diaspora .sidebar-image ,
#industry .sidebar-image ,
#interior-ministry .sidebar-image {
        width: 300px;
        right: 2%;
        top: 280px;
    }
}

@media (max-width: 1200px) {
    #healthcare .content-wrapper, #communication .content-wrapper, #social .content-wrapper,
    #education .content-wrapper, #culture .content-wrapper, #economy .content-wrapper,
    #environment .content-wrapper, #foreign-policy .content-wrapper, #it-nano .content-wrapper,
    #military .content-wrapper, #architecture .content-wrapper, #domestic-policy .content-wrapper,
    #justice .content-wrapper, #sports .content-wrapper, #agriculture .content-wrapper,
    #tourism .content-wrapper ,
#transport .content-wrapper ,
#diaspora .content-wrapper ,
#industry .content-wrapper ,
#interior-ministry .content-wrapper {
        max-width: 550px;
        margin-left: 3rem;
    }

    #healthcare .programs-list, #communication .programs-list, #social .programs-list,
    #education .programs-list, #culture .programs-list, #economy .programs-list,
    #environment .programs-list, #foreign-policy .programs-list, #it-nano .programs-list,
    #military .programs-list, #architecture .programs-list, #domestic-policy .programs-list,
    #justice .programs-list, #sports .programs-list, #agriculture .programs-list,
    #tourism .programs-list ,
#transport .programs-list ,
#diaspora .programs-list ,
#industry .programs-list ,
#interior-ministry .programs-list {
        max-width: 550px;
    }

    #healthcare h2, #communication h2, #social h2, #education h2, #culture h2,
    #economy h2, #environment h2, #foreign-policy h2, #it-nano h2, #military h2,
    #architecture h2, #domestic-policy h2, #justice h2, #sports h2, #agriculture h2,
    #tourism h2 ,
#transport h2 ,
#diaspora h2 ,
#industry h2 ,
#interior-ministry h2 {
        max-width: 550px;
        margin-left: 3rem;
    }
}

@media (max-width: 900px) {
    #healthcare .sidebar-image, #communication .sidebar-image, #social .sidebar-image,
    #education .sidebar-image, #culture .sidebar-image, #economy .sidebar-image,
    #environment .sidebar-image, #foreign-policy .sidebar-image, #it-nano .sidebar-image,
    #military .sidebar-image, #architecture .sidebar-image, #domestic-policy .sidebar-image,
    #justice .sidebar-image, #sports .sidebar-image, #agriculture .sidebar-image,
    #tourism .sidebar-image ,
#transport .sidebar-image ,
#diaspora .sidebar-image ,
#industry .sidebar-image ,
#interior-ministry .sidebar-image {
        display: none;
    }

    #healthcare .content-wrapper, #communication .content-wrapper, #social .content-wrapper,
    #education .content-wrapper, #culture .content-wrapper, #economy .content-wrapper,
    #environment .content-wrapper, #foreign-policy .content-wrapper, #it-nano .content-wrapper,
    #military .content-wrapper, #architecture .content-wrapper, #domestic-policy .content-wrapper,
    #justice .content-wrapper, #sports .content-wrapper, #agriculture .content-wrapper,
    #tourism .content-wrapper ,
#transport .content-wrapper ,
#diaspora .content-wrapper ,
#industry .content-wrapper ,
#interior-ministry .content-wrapper {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #healthcare .programs-list, #communication .programs-list, #social .programs-list,
    #education .programs-list, #culture .programs-list, #economy .programs-list,
    #environment .programs-list, #foreign-policy .programs-list, #it-nano .programs-list,
    #military .programs-list, #architecture .programs-list, #domestic-policy .programs-list,
    #justice .programs-list, #sports .programs-list, #agriculture .programs-list,
    #tourism .programs-list ,
#transport .programs-list ,
#diaspora .programs-list ,
#industry .programs-list ,
#interior-ministry .programs-list {
        max-width: 100%;
    }

    #healthcare h2, #communication h2, #social h2, #education h2, #culture h2,
    #economy h2, #environment h2, #foreign-policy h2, #it-nano h2, #military h2,
    #architecture h2, #domestic-policy h2, #justice h2, #sports h2, #agriculture h2,
    #tourism h2 ,
#transport h2 ,
#diaspora h2 ,
#industry h2 ,
#interior-ministry h2 {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==================== ФИНАНСОВАЯ ПОДДЕРЖКА ==================== */
#financial-support {
    background: url('../images/fin_support.jpg') center top/100% auto repeat-y;
    background-attachment: scroll;
    min-height: 100vh;
}

#financial-support h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.financial-content {
    max-width: 1000px;
    margin: 0 auto;
}

.financial-intro {
    text-align: center;
    margin-bottom: 0.8rem;
}

.financial-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #333;
    line-height: 1.5;
    font-weight: 600;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.payment-card {
    background: white;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border-left: 5px solid;
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.orange-card {
    border-left-color: #FF8C00;
}

.green-card {
    border-left-color: #28a745;
}

.blue-card {
    border-left-color: #0070ba;
}

.patreon-card {
    border-left-color: #FF424D;
}

.crypto-card {
    border-left-color: #F7931A;
}

.crypto-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.crypto-card-header .payment-title {
    margin: 0;
}

.crypto-coin-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.crypto-qr-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.crypto-qr-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

.crypto-address {
    font-size: 11px;
    word-break: break-all;
    font-family: monospace;
    line-height: 1.5;
}

.patreon-link {
    display: inline-block;
    background: #FF424D;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.patreon-link:hover {
    background: #e0333d;
    transform: translateY(-2px);
}

.payment-icon {
    width: 60px;
    height: 45px;
    margin: 0 auto 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-title {
    color: #8B0000;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #f0f0f0;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.detail-item.full-width {
    text-align: center;
}

.detail-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #333;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.financial-footer {
    text-align: center;
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gratitude-text {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: #333;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.blessing-text {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #8B0000;
    font-weight: 700;
    font-style: italic;
}

/* ==================== КОНТАКТЫ ==================== */
#contact {
    background: linear-gradient(135deg, #150000 0%, #250000 100%);
    color: white;
}

#contact h2 {
    color: white;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 600px;
    width: 100%;
    margin: 0 auto 2rem;
    color: #333;
}

.contact-info h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.contact-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-item strong {
    flex-shrink: 0;
}

.contact-item a {
    color: #8B0000;
    text-decoration: none;
    word-break: break-all;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 15px;
}

.social-btn {
    background: white;
    color: #8B0000;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ==================== СОЦИАЛЬНЫЕ СЕТИ ==================== */
#social-media {
    background: linear-gradient(135deg, #2a0000 0%, #400000 100%);
    color: white;
    min-height: 100vh;
}

#social-media h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

#social-media h3 {
    color: white;
}

.social-media-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Сетка карточек социальных сетей */
.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Карточка социальной сети */
.social-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Иконка социальной сети */
.social-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.youtube-icon {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

.facebook-icon {
    background: linear-gradient(135deg, #1877F2 0%, #0C5ECE 100%);
}

.telegram-icon {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
}

/* Заголовок карточки */
.social-card-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
}

/* Описание карточки */
.social-card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    min-height: 2.5rem;
}

/* Кнопка карточки */
.social-card-btn {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    margin-top: auto;
}

.social-card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

/* ==================== ФУТЕР ==================== */
footer {
    background: #1a1a1a;
    color: rgb(177, 177, 177);
    text-align: center;
    padding: 0.5rem;
}

footer p,
footer .footer-text {
    font-size: clamp(0.6rem, 1.2vw, 0.75rem);
    margin: 0;
    line-height: 0.7;
}

/* СИРИУС dropdown - right-aligned */
.sirius-dropdown {
    margin-left: auto;
    padding-left: 5rem;
}

.sirius-dropdown .dropdown-menu {
    right: -1rem;
    left: auto;
    background: url('/images/comuflyaj.jpg') center/cover no-repeat;
    border: 2px solid #556B2F;
}

.sirius-dropdown > a {
    font-weight: bold;
    letter-spacing: 1px;
    background-image: url('/images/jokat/sirius_btn_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sirius-dropdown .dropdown-menu a {
    color: #f0e6d0;
    border-left-color: transparent;
}

.sirius-dropdown .dropdown-menu a:hover {
    background: rgba(85, 107, 47, 0.5);
    border-left-color: #c8b560;
}

.sirius-dropdown .dropdown-menu a.active {
    color: #000000;
}

/* SIRIUS dropdown hover - neat left alignment */
.sirius-dropdown:hover .sirius-menu {
    display: block;
    max-height: 600px;
    opacity: 1;
    transform: scaleY(1);
    padding: 0.3rem 0;
    overflow-y: auto;
}

.sirius-dropdown:hover .sirius-menu li {
    opacity: 1;
}

/* SIRIUS pages individual backgrounds */
#sirius-about,
#sirius-mission,
#sirius-structure,
#sirius-requirements,
#sirius-responsibility,
#sirius-preparation,
#sirius-application {
    padding: 3rem 0;
    min-height: 100vh;
    background-size: 100% auto;
    background-position: center top 80px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #2c2c2c;
}

#sirius-about { background-image: url('/images/jokat/1.jpg'); }
#sirius-mission { background-image: url('/images/jokat/2.jpg'); }
#sirius-structure { background-image: url('/images/jokat/3.jpg'); }
#sirius-requirements { background-image: url('/images/jokat/4.jpg'); }
#sirius-preparation { background-image: url('/images/jokat/5.jpg'); }
#sirius-responsibility { background-image: url('/images/jokat/6.jpg'); }
#sirius-application { background-image: url('/images/jokat/7.jpg'); }

/* SIRIUS content area - grayish semi-transparent */
#sirius-about .program-details,
#sirius-mission .program-details,
#sirius-structure .program-details,
#sirius-requirements .program-details,
#sirius-responsibility .program-details,
#sirius-preparation .program-details,
#sirius-application .program-details {
    background: rgba(230, 228, 226, 0.75);
}

#sirius-about h2,
#sirius-mission h2,
#sirius-structure h2,
#sirius-requirements h2,
#sirius-responsibility h2,
#sirius-preparation h2,
#sirius-application h2 {
    color: #1a1a1a;
    background: rgba(230, 228, 226, 0.75);
    display: table;
    margin: 0 auto;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    text-shadow: none;
    font-size: 1.6rem;
}

#sirius-about .program-details p,
#sirius-mission .program-details p,
#sirius-structure .program-details p,
#sirius-requirements .program-details p,
#sirius-responsibility .program-details p,
#sirius-preparation .program-details p,
#sirius-application .program-details p {
    color: #000000;
}

/* ==================== ГОЛОСОВАНИЕ ==================== */
.voting-mobile-link {
    display: none;
}
.voting-float-link {
    position: fixed;
    left: 150px;
    top: 40%;
    transform: translateY(-40%);
    z-index: 900;
    display: block;
    width: 170px;
    height: 170px;
    text-decoration: none;
}
.voting-float-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}
.voting-float-img1 {
    animation: voteSwap 3s ease-in-out infinite;
}
.voting-float-img2 {
    animation: voteSwap 3s ease-in-out infinite reverse;
}
@keyframes voteSwap {
    0%, 40%   { opacity: 1; }
    50%, 90%  { opacity: 0; }
    100%      { opacity: 1; }
}
.voting-section {
    padding: 60px 0 80px;
    min-height: 100vh;
}
.voting-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 200px;
    padding-left: 20px;
    padding-right: 20px;
    display: block;
}
.voting-main {
    width: 100%;
}
.voting-title {
    text-align: center;
    color: #8B0000;
    font-size: 28px;
    margin-bottom: 14px;
}
.votes-ticker-wrap {
    overflow: hidden;
    width: 100%;
    margin-bottom: 32px;
}
.votes-ticker {
    display: inline-block;
    white-space: nowrap;
    font-size: 13px;
    color: rgba(139,0,0,0.55);
    letter-spacing: 0.5px;
    animation: tickerScroll 28s linear infinite;
    padding-left: 100%;
}
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}
.candidate-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.candidate-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 14px;
    transition: all 0.4s ease;
    cursor: pointer;
}
.candidate-item:hover {
    border-color: #8B0000;
    box-shadow: 0 4px 15px rgba(139,0,0,0.15);
}
.candidate-item.selected {
    border-color: #8B0000;
    background: #fdf5f5;
}
.candidate-list.results-only .candidate-item {
    cursor: default;
    pointer-events: none;
}
.candidate-list.results-only .candidate-checkbox {
    display: none;
}
.voting-gate {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1515 100%);
    border: 1px solid rgba(139,0,0,0.4);
    border-radius: 14px;
    padding: 32px 28px 28px;
    text-align: center;
    color: #fff;
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.vg-icon {
    font-size: 40px;
    margin-bottom: 14px;
    opacity: 0.9;
}
.vg-icon img {
    width: 110px !important;
    height: 110px !important;
}
.vg-message {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    max-width: 520px;
    margin: 0 auto 22px;
}
.vg-countdown {
    margin-top: 6px;
}
.vg-countdown-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 12px;
}
.vg-countdown-blocks {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.vg-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(139,0,0,0.35);
    border: 1px solid rgba(139,0,0,0.5);
    border-radius: 8px;
    padding: 9px 14px 6px;
    min-width: 54px;
}
.vg-unit span {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.vg-unit small {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}
.vg-sep {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    padding-bottom: 12px;
    margin: 0 2px;
}
.candidate-rank {
    font-size: 22px;
    font-weight: 700;
    color: #8B0000;
    min-width: 36px;
    text-align: center;
    margin-right: 16px;
}
.candidate-photo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #ddd;
    margin-right: 18px;
    flex-shrink: 0;
    background: #eee;
}
.candidate-info {
    flex: 1;
}
.candidate-name {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}
.candidate-votes {
    font-size: 14px;
    color: #888;
}
.candidate-votes span {
    font-weight: 600;
    color: #8B0000;
}
.candidate-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.candidate-item.selected .candidate-checkbox {
    border-color: #8B0000;
    background: #8B0000;
}
.candidate-item.selected .candidate-checkbox::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}
.vote-btn {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 35px auto 0;
    padding: 16px 40px;
    background: #8B0000;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}
.vote-btn:hover {
    background: #a00000;
}
.vote-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.vote-message {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
    min-height: 24px;
}
.vote-message.success { color: #2e7d32; }
.vote-message.error { color: #c62828; }
.vote-bar {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}
.vote-bar-fill {
    height: 100%;
    background: #8B0000;
    border-radius: 3px;
    transition: width 0.6s ease;
}
