/* ========================================= */
/* ТОЛЬКО ССЫЛКИ — зелёный цвет #27ae60      */
/* ========================================= */

/* Все обычные ссылки (кроме тех, что внутри кнопок) */
a {
    color: #27ae60 !important;
    text-decoration: none !important;        /* оставляем подчёркивание */
    text-decoration-color: rgba(39, 174, 96, 0.4); /* полупрозрачное, красиво */
    transition: all 0.25s ease;
}

/* При наведении — насыщеннее и жирнее подчёркивание */
a:hover {
    color: #219a52 !important;
    text-decoration-color: #219a52 !important;
}

/* Исключения: НЕ трогаем ссылки, которые являются кнопками */
.btn a,
a.btn,
a.btn-main,
a.btn-outline-success,
a.btn-light,
a.vote-btn,
a.contact-submit,
.navbar-nav a,
footer a,
.breadcrumb a,
.custom-breadcrumb a {
    color: inherit !important;           /* оставляем цвет как у кнопки/навигации */
    text-decoration: none !important;    /* у кнопок и меню — без подчёркивания */
}

/* Дополнительно: если где-то вручную ставили text-decoration-none — перебиваем только у обычных ссылок */
.text-decoration-none {
    text-decoration: underline !important;
    text-decoration-color: rgba(39, 174, 96, 0.4) !important;
}

/* Но если это кнопка или меню — возвращаем обратно */
.btn .text-decoration-none,
.navbar-nav .text-decoration-none,
footer .text-decoration-none,
.breadcrumb .text-decoration-none {
    text-decoration: none !important;
}



/* Все основные заголовки секций и карточек */
.section-title,
.card-title,
.leader-name,
.video-title,
.survey-title,
.contact-title,
.news-card .card-title,
h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
    font-weight: 700;
}






body {
	background: #f6f7f8;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}



/* Верхний блок */
.header-top {
    gap: 20px;
}

/* Логотипы */
.header-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

/* Тексты рядом */
.header-text div {
    font-size: 0.92rem;
    line-height: 1.2rem;
}

.header-text small {
    font-size: 0.8rem;
}

/* Адаптивность */
@media (max-width: 768px) {

    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-item {
        width: 100%;
        justify-content: center;
    }

    .header-logo {
        width: 50px;
        height: 50px;
    }

    .header-text div {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {

    .header-logo {
        width: 45px;
        height: 45px;
    }

    .header-text div {
        font-size: 0.80rem;
    }

    .header-text small {
        font-size: 0.75rem;
    }
}




.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  border-radius: 8px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 2rem;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.hero-bg.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg > div {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 100%;
  width: 100%;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  padding-bottom: 0.75rem;
}

.hero-bg .btn-outline-light {
  border: 0;
  color: white;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.hero-bg .btn-outline-light:hover {
  background-color: white;
  color: #333;
}

/* Выравнивание высоты */
@media (min-width: 992px) {
  .hero-card {
    height: 100%;
  }
}

/* Адаптивность для мобильных */
@media (max-width: 991px) {
  .hero-card {
    min-height: 300px;
  }
  
  .hero-title {
    font-size: 1.25rem;
  }
}

.hero-title {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.1;
}

.small-card {
	border-radius: 10px;
	overflow: hidden;
}

.section-title {
	font-weight: 700;
	margin-bottom: 16px;
}

.duties-card {
	border-radius: 12px;
	padding: 18px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.project-item {
	background: #fff;
	border-radius: 10px;
	padding: 14px;
	display: flex;
	gap: 16px;
	align-items: center;
}

.project-item img {
	width: 265px;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
}

@media (max-width: 768px) {
    .project-item img {
        width: 100%;
        height: auto; /* чтобы сохранить пропорции */
    }
}

.rounded-img {
	border-radius: 10px;
	object-fit: cover;
	width: 100%;
	/*height: 140px;*/
}

/* Hover для десктопных дропдаунов */
@media (min-width: 992px) {
	.nav-item.dropdown:hover .dropdown-menu {
		display: block;
		margin-top: 0;
	}
}

.hero-title {
	font-size: 1.6rem;
}

@media (min-width: 768px) {
	.hero-title {
		font-size: 2rem;
	}
}

/* Красивый бургер */
.navbar-toggler {
	border: none;
	outline: none;
	padding: 4px 8px;
}

.navbar-toggler-icon {
	width: 28px;
	height: 3px;
	background: #333;
	display: block;
	position: relative;
	transition: 0.3s;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
	content: "";
	width: 28px;
	height: 3px;
	background: #333;
	position: absolute;
	left: 0;
	transition: 0.3s;
}

.navbar-toggler-icon::before {
	top: -8px;
}

.navbar-toggler-icon::after {
	top: 8px;
}

.navbar-toggler.collapsed .navbar-toggler-icon {
	background: transparent;
}

.navbar-toggler.collapsed .navbar-toggler-icon::before {
	transform: rotate(45deg) translateY(8px);
}

.navbar-toggler.collapsed .navbar-toggler-icon::after {
	transform: rotate(-45deg) translateY(-8px);
}


.gallery-thumb {
	cursor: pointer;
	transition: all 0.3s ease;
	border: 3px solid transparent;
}

.gallery-thumb:hover {
	opacity: 1 !important;
	border-color: #198754;
	transform: scale(1.05);
}

.form-check-input:checked {
	background-color: #198754;
	border-color: #198754;
}

.form-check-label {
	cursor: pointer;
}


/* Hover dropdowns for desktop */
@media (min-width: 992px) {
	.nav-item.dropdown:hover .dropdown-menu {
		display: block;
		margin-top: 0;
	}
}

/* Beautiful burger menu */
.navbar-toggler {
	border: none;
	outline: none;
}

.navbar-toggler-icon {
	width: 28px;
	height: 3px;
	background: #333;
	display: block;
	position: relative;
	transition: 0.3s;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
	content: "";
	width: 28px;
	height: 3px;
	background: #333;
	position: absolute;
	left: 0;
	transition: 0.3s;
}

.navbar-toggler-icon::before {
	top: -8px;
}

.navbar-toggler-icon::after {
	top: 8px;
}

.navbar-toggler.collapsed .navbar-toggler-icon {
	background: transparent;
}

.navbar-toggler.collapsed .navbar-toggler-icon::before {
	transform: rotate(45deg) translateY(8px);
}

.navbar-toggler.collapsed .navbar-toggler-icon::after {
	transform: rotate(-45deg) translateY(-8px);
}


/* Карточка руководителя */
.leader-card {
	position: relative;
	height: 400px;
	border-radius: 20px !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.leader-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 28px rgba(0,0,0,0.2) !important;
}

/* Фото */
.leader-photo {
height: 400px;
object-fit: cover;
border-radius: 20px;
}

/* Темный градиент снизу */
.leader-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 50%;
background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
border-radius: 0 0 20px 20px;
pointer-events: none;
}

/* Текст внизу карточки */
.leader-info {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 20px;
z-index: 10;
}

.leader-name {
font-size: 1.1rem;
line-height: 1.3;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.leader-position {
font-size: 0.85rem;
line-height: 1.2;
text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hover-link:hover {
text-decoration: underline !important;
}

/* Адаптивность */
@media (max-width: 576px) {
.leader-card {
    height: 350px;
}

.leader-photo {
    height: 350px;
}

.leader-name {
    font-size: 1rem;
}

.leader-position {
    font-size: 0.8rem;
}
}



/* Карточка видео */
.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.video-card:hover .video-overlay {
    background: rgba(0,0,0,0.5);
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Превью видео */
.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Затемнение */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    transition: background 0.3s ease;
    z-index: 1;
}

/* Кнопка Play */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.video-play-btn svg {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Заголовок видео */
.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 2;
    pointer-events: none;
}

/* Заголовок секции */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Модальное окно */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    padding: 1rem 1.5rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .video-play-btn svg {
        width: 50px;
        height: 50px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .video-play-btn svg {
        width: 45px;
        height: 45px;
    }
    
    .video-title {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
}



/* Опросник */
    .survey-section {
        background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
        padding: 3rem 0;
    }

    .survey-card {
        background: white;
        border-radius: 20px;
        padding: 2.5rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        margin-bottom: 2rem;
    }

    .survey-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .survey-description {
        color: #7f8c8d;
        margin-bottom: 2rem;
        font-size: 1rem;
    }

    .question-card {
        background: #f8f9fa;
        border-radius: 15px;
        padding: 2rem;
        margin-bottom: 1.5rem;
        border: 1px solid #e9ecef;
    }

    .question-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 1.5rem;
    }

    /* Кастомные radio buttons */
    .option-label {
        display: flex;
        align-items: center;
        padding: 1rem 1.25rem;
        background: white;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

    .option-label:hover {
        border-color: #27ae60;
        background: #f0fdf4;
    }

    .option-label input[type="radio"],
    .option-label input[type="checkbox"] {
        width: 24px;
        height: 24px;
        margin-right: 1rem;
        cursor: pointer;
        accent-color: #27ae60;
    }

    .option-text {
        flex: 1;
        font-size: 1rem;
        color: #2c3e50;
    }

    .option-count {
        background: #e9ecef;
        color: #6c757d;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.875rem;
        font-weight: 500;
    }

    /* Textarea */
    .survey-textarea {
        width: 100%;
        min-height: 120px;
        padding: 1rem;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        font-size: 1rem;
        resize: vertical;
        transition: border-color 0.3s ease;
    }

    .survey-textarea:focus {
        outline: none;
        border-color: #27ae60;
        box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
    }

    /* Кнопка голосовать */
    .vote-btn {
        background: #27ae60;
        color: white;
        border: none;
        padding: 0.875rem 2.5rem;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 1rem;
    }

    .vote-btn:hover {
        background: #229954;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    }

    .vote-btn:disabled {
        background: #95a5a6;
        cursor: not-allowed;
        transform: none;
    }

    .vote-result {
        background: #d4edda;
        color: #155724;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        font-weight: 500;
    }

    /* Форма обратной связи */
    .contact-section {
        background: white;
        padding: 3rem 0;
    }

    .contact-title {
        font-size: 1.75rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 2rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .contact-form {
        background: #f8f9fa;
        border-radius: 20px;
        padding: 2.5rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

    .contact-input {
        width: 100%;
        padding: 1rem;
        border: 2px solid #e9ecef;
        border-radius: 10px;
        font-size: 1rem;
        margin-bottom: 1.25rem;
        transition: border-color 0.3s ease;
    }

    .contact-input:focus {
        outline: none;
        border-color: #27ae60;
        box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
    }

    .contact-textarea {
        width: 100%;
        min-height: 150px;
        padding: 1rem;
        border: 2px solid #e9ecef;
        border-radius: 10px;
        font-size: 1rem;
        resize: vertical;
        margin-bottom: 1.25rem;
        transition: border-color 0.3s ease;
    }

    .contact-textarea:focus {
        outline: none;
        border-color: #27ae60;
        box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
    }

    .contact-submit {
        background: #27ae60;
        color: white;
        border: none;
        padding: 1rem 3rem;
        border-radius: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
    }

    .contact-submit:hover {
        background: #229954;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .survey-card, .contact-form {
            padding: 1.5rem;
        }
        
        .survey-title, .contact-title {
            font-size: 1.25rem;
        }
        
        .question-card {
            padding: 1.5rem;
        }
        
        .option-label {
            padding: 0.875rem 1rem;
        }
    }



/* Стили для статистики */
.vote-statistics {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 1.5rem;
    border: 2px solid #86efac;
    animation: fadeIn 0.5s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-bars {
    margin-top: 1.5rem;
}

.stat-item {
    margin-bottom: 1.25rem;
}

.stat-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.stat-value {
    font-weight: 700;
    color: #27ae60;
    font-size: 0.95rem;
}

.progress {
    background-color: #e9ecef;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    overflow: visible;
}

.progress-bar {
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(90deg, #27ae60 0%, #229954 100%);
}


.banner .breadcrumb {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.banner .breadcrumb-item {
    white-space: nowrap !important;
    font-size: 16px;
}

.banner .breadcrumb-item a {
    color: #000; /* можешь заменить */
    text-decoration: none;
}

.banner .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 5px;
    color: #555;
}






/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    color: #1D1D1D;
}

p, li, a, span {
    font-family: "Inter", sans-serif;
    color: #1D1D1D;
}

/* ==== GLOBAL LAYOUT ==== */
.section {
    padding: 60px 0;
}

@media (max-width: 576px) {
    .section { padding: 40px 0; }
}

/* ==== BUTTONS ==== */
.btn-main {
    background: #084C61;
    color: #fff;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.btn-main:hover {
    background: #063746;
}

/* Secondary */
.btn-light {
    background: #EAF2F7;
    color: #084C61;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-light:hover {
    background: #dce6ee;
}

/* ==== CARDS ==== */
.card-box {
    background: #fff;
    border: 1px solid #E4E7EB;
    border-radius: 10px;
    padding: 25px;
    transition: 0.3s;
}

.card-box:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

/* ==== GRID ==== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .grid-3 { grid-template-columns: 1fr; }
}

/* ==== SECTION HEADERS ==== */
.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-desc {
    color: #6C6C6C;
    margin-bottom: 40px;
    font-size: 18px;
}





/* Стили для карточек новостей */
    .news-card {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 12px;
        overflow: hidden;
    }

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
    }

    .news-image {
        transition: transform 0.4s ease;
    }

    .news-card:hover .news-image {
        transform: scale(1.1);
    }

    .card-title {
        color: #2c3e50;
        transition: color 0.3s ease;
    }

    .news-card:hover .card-title {
        color: #198754;
    }

    .btn-outline-success {
        transition: all 0.3s ease;
    }

    .btn-outline-success:hover {
        transform: translateX(5px);
    }

    /* Для изображений */
    .object-fit-cover {
        object-fit: cover;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .card-title {
            font-size: 1.1rem;
            min-height: auto !important;
        }
    }






/* ==== Modern Banner ==== */
.custom-banner {
    /*background: #f7f9fc;*/
    padding: 60px 0;
    border-bottom: 1px solid #e4e7eb;
}

.custom-banner-content {
    text-align: left;
    animation: fadeIn 0.8s ease-in-out;
}

.custom-banner-title {
    font-size: 42px;
    font-weight: 700;
    color: #1d1d1d;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

/* ==== Breadcrumb ==== */
.custom-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-breadcrumb-item {
    white-space: nowrap;
    font-size: 16px;
    color: #6c6c6c;
}

.custom-breadcrumb-item a {
    text-decoration: none;
    color: #0070c9;
    transition: color 0.2s ease;
}

.custom-breadcrumb-item a:hover {
    color: #004a88;
}

/* Slash separator */
.custom-breadcrumb-item + .custom-breadcrumb-item::before {
    content: "/";
    color: #b4b4b4;
    padding: 0 4px;
}

/* Active breadcrumb */
.custom-breadcrumb-item.active {
    color: #1d1d1d;
    font-weight: 600;
}

/* Fade animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==== Mobile ==== */
@media (max-width: 576px) {
    .custom-banner {
        padding: 35px 0;
    }
    .custom-banner-title {
        font-size: 30px;
    }
    .custom-breadcrumb-item {
        font-size: 14px;
    }
}




.gallery-wrapper {
    display: flex;
    align-items: stretch;
}

.gallery-main {
    flex: 1;
}

.gallery-main-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 18px;
}

.gallery-thumbs {
    width: 90px; /* ширина колонок как в макете */
}

.gallery-thumb {
    width: 100%;
    height: 55px; /* высота маленьких вертикальных фото */
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.2s ease;
    opacity: 0.85;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: scale(1.03);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .gallery-wrapper {
        flex-direction: column;
    }

    .gallery-thumbs {
        flex-direction: row !important;
        width: 100%;
        justify-content: center;
    }

    .gallery-thumb {
        width: 70px;
        height: 70px;
    }

    .gallery-main-img {
        height: 260px;
    }
}



/* ------------------------------
   STYLE 2 — Modern Government Style
   Унифицированный стиль сайта
--------------------------------*/

/* Заголовки секций */
.section-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #084C61;
    margin-bottom: 1.2rem;
}

/* Основной текст */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Карточки */
.card,
.small-card,
.gallery-card,
.project-item,
.video-card,
.leader-card {
    border-radius: 14px !important;
    overflow: hidden;
    background: #fff;
    transition: all .25s ease;
}

.card:hover,
.gallery-card:hover,
.project-item:hover,
.video-card:hover,
.small-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 22px rgba(0,0,0,0.12);
}

/* Кнопки */
.btn-outline-success {
    border-width: 2px;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 10px;
}

/* Тени */
.shadow-soft {
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* Новостные карточки */
.news-card {
    border-radius: 18px;
    overflow: hidden;
    border: 0;
    transition: .3s;
    background: #fff;
}

.news-card img {
    height: 220px;
    object-fit: cover;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* Текст под фото */
.leader-photo {
    object-fit: cover;
    height: 340px;
}

/* Темный градиент */
.leader-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

.leader-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
}

/* Видео */
.video-card {
    border-radius: 18px;
    height: 220px;
    background: #000;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .9;
}

/* Фото галерея */


.gallery-card:hover img {
    transform: scale(1.04);
}


.gallery-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.gallery-img {
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 6px;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

/* Адаптация под мобильные устройства */
@media (max-width: 576px) {
    .gallery-card .ratio {
        height: auto;
    }
}


footer {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    background-color: #f5f5f5; /* светло-серый фон */
}

footer a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

footer a:hover {
    color: #0d6efd; /* акцентная синева для ссылок */
}

footer hr {
    margin: 1rem 0;
    border-color: rgba(0,0,0,0.1);
}

footer i {
    font-size: 1rem;
    vertical-align: middle;
    color: #0d6efd;
}

/* Адаптация под мобильные устройства */
@media (max-width: 767px) {
    footer .row.align-items-center {
        flex-direction: column;
        text-align: center;
    }
    footer .row.text-center.text-md-start {
        text-align: center;
    }
    footer .col-md-6, footer .col-md-3 {
        margin-bottom: 0.75rem;
    }
}



.contact-submit {
    background-color: #27ae60; /* основной цвет кнопки */
    color: #fff;
    border: none;
    padding: 10px 30px; /* регулирует высоту и ширину */
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block; /* не растягивать на 100% */
    margin: 0 auto; /* центрирование */
}

.contact-submit:hover {
    background-color: #0b5ed7; /* затемнение при hover */
}

/* Адаптация под мобильные устройства */
@media (max-width: 767px) {
    .contact-submit {
        width: 100%; /* на узких экранах кнопка растягивается */
    }
}

