@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&subset=cyrillic');
@import url(bootstrap.min.css);
@import url(font-awesome.min.css);
@import url(hover.css);
@import url(jquery.bxslider.css);
@import url(owl.carousel.css);
@import url(owl.theme.default.min.css);
@import url(animate.min.css);
@import url(jquery.bootstrap-touchspin.css);
@import url(flexslider.css);
@import url(flaticon.css);
@import url(jquery-ui.css);
@import url(settings.css);
@import url(layers.css);
@import url(navigation.css);
@import url(jquery.fancybox.css);

/* ========== БАЗОВЫЕ СТИЛИ ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main:empty {
    display: none;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #efefef;
    color: #333;
    line-height: 1.6;
}

/* ========== ШАПКА САЙТА ========== */
header {
    font-weight: 700;
    font-size: 18px;
    background: white;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
}

.logo-container {
    display: flex;
    justify-content: left;
    margin-bottom: 0;
}

.logo {
    height: 80px;
    width: auto;
}

.main-menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px;
    margin: 0;
}

.main-menu li {
    margin: 0 5px;
}

.main-menu a {
    color: #004c99;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 2px;
    transition: background-color 0.3s;
}

.main-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ========== БУРГЕР-МЕНЮ ========== */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background: #004c99;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ========== ОСНОВНОЕ СОДЕРЖИМОЕ ========== */
main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* ========== СЛАЙДЕР ========== */
.slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    flex-shrink: 0;
    min-width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.slide-content {
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    width: 100%;
    max-width: 90%;
    padding: 20px;
    border-radius: 10px;
    z-index: 2;
}

.slide-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

.slide-content p {
    font-size: 28px;
    font-weight: 450;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 10;
}

.slider-btn {
    background: rgb(0, 77, 153);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(165, 165, 165, 0.574);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: #004c99;
}

/* ========== ПОДВАЛ ========== */
footer {
    background-color: rgba(0, 76, 153, 0.9);
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
}

.social-links {
    margin-bottom: 15px;
}

.social-links a {
    margin: 0 10px;
    display: inline-block;
}

.social-links img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.social-links img:hover {
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #004c99;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.back-to-top::before {
    content: "\f062";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

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

.back-to-top:hover {
    background-color: #003366;
    transform: translateY(-3px);
}

.copyright {
    font-size: 14px;
    margin-top: 15px;
}

/* ========== ГЛАВНАЯ СТРАНИЦА ========== */
.features-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    max-width: 1200px;
    margin: 0 auto;
}

.features-section h1 {
    text-align: center;
    color: #004c99;
    font-size: 3rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon i {
    font-size: 48px;
    color: #004c99;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #004c99;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #004d99;
    padding: 0;
    margin: 0;
}

.stats-section {
    padding: 80px 20px;
    background: url('../images/glawnaya.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    max-width: 100%;
}

.stats-section h2 {
    font-size: 36px !important;
    font-weight: 600 !important;
    color: white !important;
    text-align: center;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ========== НОВОСТИ ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #004c99;
    font-size: 2.5rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-date {
    display: block;
    color: #004c99;
    font-weight: bold;
    margin: 10px 0;
    font-size: 1.1rem;
}

.event-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #222;
}

.details-btn {
    display: inline-block;
    background-color: #004c99;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.details-btn:hover {
    background-color: #003366;
}

.news-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.news-item {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: #004c99;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: inline-block;
    background: rgba(0, 76, 153, 0.1);
    padding: 6px 15px;
    border-radius: 20px;
    width: fit-content;
}

.news-title {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #222;
}

.news-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: #004c99;
}

.news-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    background-color: #004c99;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    margin-top: auto;
}

.read-more:hover {
    background-color: #003366;
    transform: translateY(-2px);
}

.cta-button {
    display: inline-block;
    background-color: #004c99;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 30px;
}

.cta-button:hover {
    background-color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button.small {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 20px;
}
/* ========== ПОЛНАЯ НОВОСТЬ - ИСПРАВЛЕННАЯ АДАПТИВНОСТЬ ========== */

/* Базовые стили для полной новости (ДЕСКТОП) */
.full-news {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px; /* Увеличил отступы для десктопа */
}

.full-news .news-header {
    margin-bottom: 30px;
    text-align: center;
}

.full-news .news-header h1 {
    font-size: 2.5rem;
    color: #004c99;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.full-news .news-category-label {
    display: inline-block;
    background: rgba(0, 76, 153, 0.1);
    color: #004c99;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.full-news .news-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    font-size: 0.95rem;
    justify-content: center;
}

.full-news .news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.full-news .news-meta i {
    color: #004c99;
}

.full-news-image-wrapper {
    margin-bottom: 40px;
    text-align: center;
    width: 100%; /* На десктопе на всю ширину */
    max-width: 100%;
}

.full-news-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.full-news-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    max-width: 900px; /* Оптимальная ширина для чтения */
    margin: 0 auto 40px;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.full-news-text p {
    margin-bottom: 20px;
    text-align: left;
}

.full-news-text h2,
.full-news-text h3,
.full-news-text h4 {
    color: #004c99;
    margin: 30px 0 20px;
    font-weight: 600;
    text-align: left;
}

.full-news-text h2 { font-size: 2rem; }
.full-news-text h3 { font-size: 1.6rem; }
.full-news-text h4 { font-size: 1.3rem; }

.full-news-text ul,
.full-news-text ol {
    margin: 20px 0;
    padding-left: 30px;
}

.full-news-text li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.full-news-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.news-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #004c99;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    padding: 12px 25px;
    background: rgba(0, 76, 153, 0.1);
    border-radius: 25px;
}

.back-to-news:hover {
    background: #004c99;
    color: white;
    transform: translateX(-5px);
}

/* ========== АДАПТИВНОСТЬ ========== */

/* Планшеты (769px - 992px) - здесь работает хорошо */
@media (max-width: 992px) and (min-width: 769px) {
    .full-news {
        padding: 0 30px;
    }
    
    .full-news .news-header h1 {
        font-size: 2.2rem;
    }
    
    .full-news-text {
        font-size: 1.05rem;
        max-width: 100%;
    }
    
    .full-news-text h2 { font-size: 1.8rem; }
    .full-news-text h3 { font-size: 1.5rem; }
}

/* Планшеты и большие телефоны (до 768px) */
@media (max-width: 768px) {
    .full-news {
        padding: 0 20px;
    }
    
    .full-news .news-header h1 {
        font-size: 1.8rem;
    }
    
    .full-news .news-meta {
        flex-direction: column;
        gap: 10px;
        font-size: 0.9rem;
    }
    
    .full-news-image-wrapper {
        margin-bottom: 30px;
        width: 100%; /* На планшете на всю ширину */
    }
    
    .full-news-text {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%; /* На планшете на всю ширину */
    }
    
    .full-news-text h2 { font-size: 1.6rem; margin: 25px 0 15px; }
    .full-news-text h3 { font-size: 1.3rem; margin: 20px 0 12px; }
    .full-news-text h4 { font-size: 1.1rem; margin: 15px 0 10px; }
    
    .back-to-news {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
}

/* Телефоны (до 480px) */
@media (max-width: 480px) {
    .full-news {
        padding: 0 15px; /* Меньше отступы на телефоне */
    }
    
    .full-news .news-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .full-news .news-category-label {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .full-news .news-meta {
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .full-news-image-wrapper {
        width: 100%; /* На телефоне на всю ширину */
        margin: 20px auto;
    }
    
    .full-news-image-wrapper img {
        border-radius: 6px;
        width: 100%; /* Изображение на всю ширину */
    }
    
    .full-news-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .full-news-text p {
        margin-bottom: 15px;
    }
    
    .full-news-text h2 { font-size: 1.4rem; margin: 20px 0 12px; }
    .full-news-text h3 { font-size: 1.2rem; margin: 15px 0 10px; }
    .full-news-text h4 { font-size: 1.05rem; margin: 12px 0 8px; }
    
    .full-news-text ul,
    .full-news-text ol {
        padding-left: 20px;
    }
    
    .full-news-text li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .back-to-news {
        font-size: 0.9rem;
        padding: 10px 18px;
        width: 100%;
        justify-content: center;
    }
}

/* ========== КАЛЕНДАРЬ ========== */
h2 {
    color: #004c99;
    padding-bottom: 10px;
    margin-top: 30px;
}

.calendar-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Шапка календаря */
.calendar-header-section {
    text-align: center;
    margin-bottom: 30px;
}

.calendar-header-section h1 {
    color: #004c99;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.calendar-subtitle {
    color: #666;
    font-size: 1.2rem;
}

/* Фильтры календаря */
.calendar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0 35px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f0f2f5;
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    transition: all 0.3s ease;
    outline: none;
}

.filter-btn:hover {
    background-color: #e2e6ea;
    color: #004c99;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #004c99;
    color: #ffffff;
    border-color: #003a75;
    box-shadow: 0 4px 12px rgba(0, 76, 153, 0.25);
}

/* Кнопка регистрации под календарем */
.calendar-action-area {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 20px;
}

.main-registration-btn {
    display: inline-block;
    background-color: #004c99;
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 76, 153, 0.3);
    border: 2px solid #004c99;
}

.main-registration-btn:hover {
    background-color: #003366;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 76, 153, 0.4);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.calendar-event {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    transition: transform 0.3s;
    height: 100%;
}

.calendar-event:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Синий блок с датой слева */
.event-date-block {
    background: #004c99;
    color: white;
    width: 100px;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 10px;
}

.event-date-block .event-day {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-date-block .event-month {
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 5px;
    font-weight: 600;
}

.event-date-block .event-year {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* Контент карточки календаря */
.event-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.event-badge {
    background: #e3f2fd;
    color: #004c99;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.event-location {
    font-size: 0.9rem;
    color: #666;
}

.event-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.event-image {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Старые стили календаря (для совместимости) */
.calendar-event .event-date {
    background-color: #004c99;
    color: white;
    padding: 15px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}

.date-day {
    font-size: 20px;
    font-weight: bold;
}

.date-month {
    font-size: 10px;
    text-transform: uppercase;
}

.event-description {
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.5;
}

.event-register {
    display: inline-block;
    margin-top: 10px;
    color: #004c99;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
}

.event-register:hover {
    text-decoration: underline;
}

/* ========== ОБРАЗОВАНИЕ ========== */
.education-header-section {
    padding: 30px 20px;
    background-color: white;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.education-header-section h1 {
    color: #004c99;
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
}

.education-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #f8f9fa;
    max-width: 100%;
}

.education-hero-image {
    width: 100%;
    height: 100%;
}

.education-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.education-tabs {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #004c99;
    padding: 0;
    flex-wrap: wrap;
    max-width: 100%;
}

.education-tab {
    color: white;
    padding: 20px 30px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.education-tab:hover,
.education-tab.active {
    border-bottom: 3px solid #FFD700;
    background-color: rgba(255, 255, 255, 0.1);
}

.education-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.education-section {
    display: none;
    animation: fadeIn 0.5s;
    max-width: 1200px;
    margin: 0 auto;
}

.education-section.active {
    display: block;
}

.education-section h2 {
    text-align: center;
    color: #004c99;
    font-size: 3rem;
    margin-bottom: 35px;
    font-weight: 700;
}

.program-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    max-width: 100%;
}

.program-title {
    color: #004c99;
    font-size: 2.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #004c99;
    padding-bottom: 10px;
    font-weight: 600;
}

.education-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
    max-width: 100%;
}

.education-stat-item {
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 8px;
    border-left: 4px solid #004c99;
    text-align: center;
}

.education-stat-number {
    font-size: 4rem;
    font-weight: bold;
    color: #004c99;
    margin-bottom: 10px;
    display: block;
}

.education-stat-item p {
    color: #666;
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 0;
}

.education-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: #555;
    line-height: 1.6;
    font-size: 1.5rem;
}

.education-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #004c99;
    font-weight: bold;
    font-size: 1.5rem;
}

.education-formats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
    max-width: 100%;
}

.format-card {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.format-card:hover {
    transform: translateY(-5px);
}

.format-card i {
    font-size: 48px;
    color: #004c99;
    margin-bottom: 15px;
    display: block;
}

.format-card h4 {
    color: #004c99;
    margin-bottom: 12px;
    font-size: 2rem;
    font-weight: 600;
}

.format-card p {
    color: #666;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0;
}

.tariff-table {
    width: 100%;
    max-width: 1200px;
    border-collapse: collapse;
    margin: 30px auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.tariff-table th,
.tariff-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 1.3rem;
}

.tariff-table th {
    background-color: #004c99;
    color: white;
    font-weight: 600;
    font-size: 1.4rem;
}

.tariff-table tr:hover {
    background-color: #f8f9fa;
}

.equipment-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 40px;
    max-width: 100%;
}

.equipment-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.equipment-section h2 {
    text-align: center;
    font-size: 3rem;
    color: #004c99;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-description {
    text-align: center;
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.equipment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.equipment-option {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    border: 1px solid #e9ecef;
}

.equipment-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.equipment-option h3 {
    font-size: 2rem;
    color: #004c99;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.option-content h4 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.option-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.option-content li {
    padding: 10px 0;
    color: #555;
    position: relative;
    padding-left: 30px;
    font-size: 1.5rem;
}

.option-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.5rem;
}

.price-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #004c99;
    margin: 0;
}

.note {
    color: #666;
    font-size: 1.3rem;
    margin: 5px 0 0 0;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #004c99 0%, #003366 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #003366 0%, #002244 100%);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #219653 0%, #1e8449 100%);
    transform: translateY(-2px);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-form {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1.3rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1.3rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #004c99;
    box-shadow: 0 0 5px rgba(0, 76, 153, 0.2);
}

.consultation {
    background: linear-gradient(135deg, #004c99 0%, #003366 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.consultation h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.consultation p {
    font-size: 1.5rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.advantage-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 48px;
    color: #004c99;
    margin-bottom: 20px;
    display: block;
}

.advantage-card h3 {
    font-size: 1.5rem;
    color: #004c99;
    margin-bottom: 12px;
    font-weight: 600;
}

.advantage-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.youth-program {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #ff6b00;
}

.youth-program .program-title {
    border-bottom-color: #ff6b00;
    color: #ff6b00;
}

/* ========== МЕДИА ========== */
.media-hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(22, 68, 123, 0.8) 0%, rgba(44, 107, 184, 0.8) 100%);
    color: white;
    text-align: center;
    max-width: 100%;
}

.media-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.media-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.media-hero-content {
    position: relative;
    z-index: 2;
    padding: 0;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.media-hero-section h1 {
    font-size: 4.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.media-hero-section p {
    font-size: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.media-tabs {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #004c99;
    padding: 0;
    flex-wrap: wrap;
    max-width: 100%;
}

.media-tab {
    color: white;
    padding: 20px 35px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.media-tab:hover,
.media-tab.active {
    border-bottom: 3px solid #FFD700;
    background-color: rgba(255, 255, 255, 0.1);
}

.media-content {
    background: #f8f9fa;
    min-height: 500px;
    padding: 50px 20px;
    max-width: 100%;
}

.media-section {
    display: none;
    animation: fadeIn 0.5s;
    max-width: 1200px;
    margin: 0 auto;
}

.media-section.active {
    display: block;
}

.media-section h2 {
    text-align: center;
    color: #004c99;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.media-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.media-thumbnail {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.media-card:hover .media-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 76, 153, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s;
}

.play-button:hover {
    background: rgba(0, 76, 153, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.media-info {
    padding: 25px;
}

.media-info h3 {
    font-size: 2rem;
    color: #16447b;
    margin-bottom: 15px;
    font-weight: 600;
}

.media-date {
    color: #ff6b00;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-size: 1.5rem;
}

.media-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.media-link {
    display: inline-block;
    color: #004c99;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.media-link:hover {
    color: #003366;
    transform: translateX(5px);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.photo-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 76, 153, 0.9));
    padding: 25px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h4 {
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.photo-overlay p {
    font-size: 1.5rem;
    opacity: 0.95;
    line-height: 1.4;
    margin: 0;
}

/* Модальное окно для видео */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    animation: modalFadeIn 0.3s;
}

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

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}

.video-modal-close:hover {
    color: #ff6b00;
}

.video-modal-body {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-modal-body iframe,
.video-modal-body video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.video-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.video-card:hover {
    transform: scale(1.02);
}

/* ========== КОНТАКТЫ ========== */
.contacts-hero-section {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(22, 68, 123, 0.9) 0%, rgba(44, 107, 184, 0.9) 100%),
    url('../images/contacts-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    max-width: 100%;
}

.contacts-hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.contacts-hero-content p {
    font-size: 1.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.contacts-content {
    background: #f8f9fa;
    min-height: 500px;
    max-width: 100%;
}

.contacts-info-section {
    padding: 60px 20px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #004c99 0%, #003366 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.contact-card h3 {
    color: #004c99;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-value {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.contact-value a {
    color: #004c99;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: #003366;
}

.contact-label {
    color: #666;
    font-size: 1.5rem;
    margin: 0;
}

.social-links-large {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-link {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.15);
}

.social-link.vk {
    background: linear-gradient(135deg, #0077FF 0%, #0055CC 100%);
}

.social-link.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.contact-form-section {
    padding: 60px 20px;
    background: white;
    max-width: 100%;
}

.contact-form-section h2 {
    text-align: center;
    color: #004c99;
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-form-section .section-description {
    text-align: center;
    color: #000000;
    font-size: 2rem;
    margin-bottom: 40px;
}

.contact-form-large {
    max-width: 900px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #004c99;
    box-shadow: 0 0 8px rgba(0, 76, 153, 0.2);
}

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

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #004c99 0%, #003366 100%);
    color: white;
    padding: 24px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button-large:hover {
    background: linear-gradient(135deg, #003366 0%, #002244 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 76, 153, 0.3);
}

.cta-button-large i {
    font-size: 1.5rem;
}

/* ========== СОГЛАСИЕ НА ОБРАБОТКУ ПД (152-ФЗ) ========== */
.consent-block {
    margin-bottom: 25px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    line-height: 1.5;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.consent-label:hover {
    background: #f8f9fa;
}

.consent-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: #004c99;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-text {
    flex: 1;
}

.consent-text a {
    color: #004c99;
    text-decoration: underline;
    font-weight: 500;
}

.consent-text a:hover {
    color: #003366;
    text-decoration: none;
}

.consent-error {
    margin-top: 8px;
    padding: 10px 12px;
    background: #fff5f5;
    border-left: 3px solid #d32f2f;
    color: #d32f2f;
    font-size: 1.5rem;
    border-radius: 4px;
    display: none;
}

.consent-label.error {
    background: #fff5f5;
    border: 1px solid #ffcdd2;
}

.map-section {
    padding: 60px 20px;
    background: #f8f9fa;
    max-width: 100%;
}

.map-section h2 {
    text-align: center;
    color: #004c99;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    display: block;
    height: 450px;
    width: 100%;
}

.working-hours-section {
    padding: 60px 20px;
    background: white;
    max-width: 100%;
}

.working-hours-section h2 {
    text-align: center;
    color: #004c99;
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.hours-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.hours-card:hover {
    border-color: #004c99;
    transform: translateY(-5px);
}

.hours-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #004c99 0%, #003366 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.hours-card h3 {
    color: #004c99;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.hours-time {
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
    margin: 0;
}

/* ========== ПАРТНЁРЫ ========== */
.partners-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    text-align: center;
    max-width: 100%;
}

.partners-section .section-title {
    color: #004c99;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.partners-section .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #004c99;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}

.partner-item {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    width: 100%;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.partner-item img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ========== АНИМАЦИИ ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #16447b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========== УТИЛИТЫ ========== */
.text-center {
    text-align: center;
}

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

/* ========== АДАПТИВНОСТЬ ========== */

/* Планшеты (до 992px) */
@media (max-width: 992px) {
    header {
        padding: 20px;
        position: relative;
    }
    
    .burger-menu {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        padding-top: 80px;
    }
    
    .main-menu.active {
        right: 0;
    }
    
    .main-menu ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-menu li {
        margin: 0;
        width: 100%;
    }
    
    .main-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }
    
    .main-menu a:hover {
        background: #f8f9fa;
        padding-left: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .education-formats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-options {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .stats-grid,
    .news-container,
    .partners-grid,
    .education-stats-grid,
    .education-formats,
    .equipment-options,
    .media-grid,
    .photo-gallery,
    .contacts-grid,
    .hours-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .full-news-header h1 {
        font-size: 2.2rem;
    }
    
    .full-news-content {
        font-size: 1.05rem;
    }
    
    .full-news-content h2 {
        font-size: 1.8rem;
    }
    
    .full-news-content h3 {
        font-size: 1.5rem;
    }
    
    .leadership-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .leadership-photo {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Планшеты и телефоны (до 768px) */
@media (max-width: 768px) {
    header {
        padding: 15px;
    }
    
    .logo {
        height: 60px;
    }
    
    .burger-menu {
        right: 15px;
    }
    
    .main-menu {
        width: 280px;
    }
    
    .main-menu a {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .slider {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
    
    .features-grid,
    .stats-grid,
    .news-container,
    .partners-grid,
    .education-stats-grid,
    .education-formats,
    .equipment-options,
    .media-grid,
    .photo-gallery,
    .contacts-grid,
    .hours-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .education-hero,
    .media-hero-section,
    .contacts-hero-section {
        height: 350px;
    }
    
    .education-tabs,
    .media-tabs {
        flex-wrap: wrap;
    }
    
    .education-tab,
    .media-tab {
        padding: 15px 20px;
        font-size: 12px;
    }
    
    .education-section h2,
    .media-section h2 {
        font-size: 2.2rem;
    }
    
    .contact-form-large {
        padding: 30px 20px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .partners-section {
        padding: 40px 15px;
    }
    
    .partners-section .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .news-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-item {
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .education-content {
        padding: 30px 15px;
    }
    
    .education-stat-number {
        font-size: 3rem;
    }
    
    .education-stat-item p,
    .education-list li,
    .format-card p,
    .format-card h4 {
        font-size: 1.2rem;
    }
    
    .contact-card h3 {
        font-size: 2rem;
    }
    
    .contact-value {
        font-size: 1.6rem;
    }
    
    .contact-label {
        font-size: 1.2rem;
    }
    
    .contact-form-section h2 {
        font-size: 3rem;
    }
    
    .section-description {
        font-size: 1.4rem;
    }
    
    .form-group label {
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 1.3rem;
        padding: 20px;
    }
    
    .cta-button-large {
        padding: 24px 60px;
        font-size: 1.5rem;
    }
    
    .media-hero-section {
        height: 350px;
    }
    
    .media-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .media-hero-section p {
        font-size: 1.2rem;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .media-section h2 {
        font-size: 2rem;
    }
    
    .program-title {
        font-size: 2.2rem;
    }
    
    .equipment-option h3 {
        font-size: 2rem;
    }
    
    .price {
        font-size: 2.8rem;
    }
    
    .tariff-table {
        display: block;
        overflow-x: auto;
        max-width: 100%;
        margin: 30px 0;
    }
    
    .tariff-table th,
    .tariff-table td {
        font-size: 1.4rem;
        padding: 12px;
        white-space: nowrap;
    }
    
    .full-news-header h1 {
        font-size: 1.8rem;
    }
    
    .full-news-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .full-news-content {
        font-size: 1rem;
    }
    
    .full-news-content h2 {
        font-size: 1.6rem;
        margin: 30px 0 15px;
    }
    
    .full-news-content h3 {
        font-size: 1.3rem;
        margin: 25px 0 12px;
    }
    
    .full-news-navigation {
        flex-direction: column;
    }
    
    .news-nav-link.prev,
    .news-nav-link.next {
        text-align: left;
    }
    
    .full-news-comments h3 {
        font-size: 1.5rem;
    }
    
    .leadership-section {
        padding: 40px 15px;
    }
    
    .leadership-main {
        padding: 30px 20px;
    }
    
    .leadership-info h2 {
        font-size: 2.5rem;
    }
    
    .leadership-info h3 {
        font-size: 2rem;
    }
    
    .leadership-roles ul li {
        font-size: 2rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .council-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .documents-container {
        grid-template-columns: 1fr;
    }
    
    .document-card {
        flex-direction: column;
    }
    
    .document-icon {
        width: 60px;
        height: 60px;
    }
    
    .document-icon i {
        font-size: 28px;
    }
    
    .document-info h3 {
        font-size: 1.5rem;
    }
    
    .committees-grid {
        grid-template-columns: 1fr;
    }
    
    .committee-card {
        padding: 30px 20px;
    }
    
    .members-list {
        grid-template-columns: 1fr;
    }
    
    .members-container {
        padding: 30px 20px;
    }
    
    .calendar-event {
        flex-direction: column;
    }
    
    .event-date-block {
        width: 100%;
        flex-direction: row;
        padding: 10px;
        gap: 15px;
    }
    
    .event-date-block .event-day { font-size: 1.8rem; }
    .event-date-block .event-month, 
    .event-date-block .event-year { margin-top: 0; }
}

/* Телефоны (до 480px) */
@media (max-width: 480px) {
    .logo {
        height: 50px;
    }
    
    .main-menu {
        width: 100%;
    }
    
    .main-menu a {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .slider {
        height: 300px;
    }
    
    .slider-nav {
        padding: 0;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .features-section {
        padding: 30px 15px;
    }
    
    .features-section h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
        max-width: 100%;
    }
    
    .feature-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 25px 20px;
        text-align: center;
    }
    
    .feature-icon {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .feature-icon i {
        font-size: 40px;
    }
    
    .feature-title {
        font-size: 1.5rem;
        text-align: center;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .feature-card p {
        text-align: center;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .education-hero,
    .media-hero-section,
    .contacts-hero-section {
        height: 250px;
    }
    
    .education-header-section {
        padding: 20px 15px !important;
        max-width: 100% !important;
    }
    
    .education-header-section h1 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        padding: 0 15px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
        -webkit-hyphens: none !important;
        -ms-hyphens: none !important;
        word-break: break-word !important;
        white-space: normal !important;
    }
    
    .education-section h2,
    .media-section h2,
    .equipment-section h2 {
        font-size: 1.8rem;
    }
    
    .equipment-option {
        padding: 20px;
    }
    
    .program-title {
        font-size: 1.8rem;
    }
    
    .contact-card h3 {
        font-size: 1.6rem;
    }
    
    .contact-value {
        font-size: 1.3rem;
    }
    
    .contact-form-section h2 {
        font-size: 2.5rem;
    }
    
    .cta-button-large {
        padding: 20px 40px;
        font-size: 1.3rem;
        width: 100%;
        justify-content: center;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .map-section {
        padding: 30px 15px;
    }
    
    .map-section h2 {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partner-item {
        padding: 20px;
        min-height: 100px;
    }
    
    .partner-item img {
        max-height: 70px;
    }
    
    .news-section,
    .calendar-section {
        padding: 30px 15px !important;
        max-width: 100% !important;
    }
    
    .news-container,
    .calendar-grid,
    .events-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .news-item,
    .calendar-event,
    .news-event-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .news-image {
        height: 180px;
    }
    
    .contacts-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-card {
        padding: 25px 15px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .social-links-large {
        gap: 15px;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    main {
        margin: 15px auto;
        padding: 15px;
    }
    
    .education-stat-number {
        font-size: 3.5rem;
    }
    
    .education-stat-item p,
    .education-list li,
    .format-card p,
    .format-card h4 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .media-info h3 {
        font-size: 1.8rem;
    }
    
    .media-date,
    .media-description {
        font-size: 1.5rem;
    }
    
    .photo-overlay h4 {
        font-size: 1.8rem;
    }
    
    .photo-overlay p {
        font-size: 1.5rem;
    }
    
    .working-hours-section h2 {
        font-size: 2.5rem;
    }
    
    .hours-time {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .news-title {
        font-size: 1.6rem;
    }
    
    .news-date {
        font-size: 1.5rem;
    }
    
    /* Таблица тарифов - телефоны */
    .tariff-table thead {
        display: none;
    }
    
    .tariff-table,
    .tariff-table tbody,
    .tariff-table tr,
    .tariff-table td {
        display: block;
        width: 100%;
    }
    
    .tariff-table tr {
        background: white;
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid #e9ecef;
    }
    
    .tariff-table td {
        text-align: left !important;
        padding: 12px 0 !important;
        border: none !important;
        position: relative;
        padding-left: 0 !important;
        font-size: 1.3rem !important;
    }
    
    .tariff-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #004c99;
        display: block;
        margin-bottom: 5px;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .tariff-table td:first-child {
        font-size: 1.5rem !important;
        font-weight: 700;
        color: #004c99;
        border-bottom: 2px solid #004c99 !important;
        padding-bottom: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .tariff-table td:first-child::before {
        display: none;
    }
    
    .tariff-table td:nth-child(4) {
        font-size: 1.5rem !important;
        font-weight: 700;
        color: #004c99;
    }
    
    .tariff-table .cta-button.small {
        width: 100%;
        display: block;
        text-align: center;
        margin-top: 15px;
        padding: 15px 30px !important;
        font-size: 1.3rem !important;
    }
    
    .full-news-header h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .full-news-meta {
        font-size: 0.85rem;
    }
    
    .full-news-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .full-news-content p {
        margin-bottom: 15px;
    }
    
    .full-news-content h2 {
        font-size: 1.4rem;
        margin: 25px 0 12px;
    }
    
    .full-news-content h3 {
        font-size: 1.2rem;
        margin: 20px 0 10px;
    }
    
    .full-news-content ul,
    .full-news-content ol {
        padding-left: 20px;
    }
    
    .full-news-content blockquote {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .full-news-tags a {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
    
    .news-nav-link {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .full-news-comments {
        margin-top: 30px;
        padding-top: 30px;
    }
    
    .full-news-comments h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .leadership-info h2 {
        font-size: 2.5rem;
    }
    
    .leadership-info h3 {
        font-size: 2rem;
    }
    
    .leadership-card {
        padding: 20px;
    }
    
    .leadership-card h3 {
        font-size: 2rem;
    }
    
    .council-grid {
        grid-template-columns: 1fr;
    }
    
    .council-member {
        padding: 25px 20px;
    }
    
    .documents-section {
        padding: 40px 15px;
    }
    
    .document-card {
        padding: 25px 20px;
    }
    
    .document-info h3 {
        font-size: 1.5rem;
    }
    
    .document-info p {
        font-size: 1.5rem;
    }
    
    .document-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .document-download {
        width: 100%;
        justify-content: center;
    }
    
    .committees-section {
        padding: 40px 15px;
    }
    
    .committee-card h3 {
        font-size: 2rem;
    }
    
    .committee-icon {
        width: 70px;
        height: 70px;
    }
    
    .committee-icon i {
        font-size: 32px;
    }
    
    .member-card {
        padding: 20px 15px;
    }
    
    .member-number {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .member-info h3 {
        font-size: 1.5rem;
    }
    
    .member-position {
        font-size: 1.5rem;
    }
    
    .calendar-filters {
        gap: 8px;
        margin: 20px 0 30px;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
        flex: 1 1 calc(33% - 8px);
        text-align: center;
    }
}

/* Маленькие телефоны (до 360px) */
@media (max-width: 360px) {
    .full-news-header h1 {
        font-size: 1.3rem;
    }
    
    .full-news-content {
        font-size: 0.9rem;
    }
    
    .full-news-content h2 {
        font-size: 1.2rem;
    }
    
    .full-news-content h3 {
        font-size: 1.1rem;
    }
}

/* Улучшения для печати */
@media print {
    .full-news-navigation,
    .full-news-tags,
    .full-news-comments,
    .back-to-top,
    header,
    footer {
        display: none;
    }
    
    .full-news {
        max-width: 100%;
    }
    
    .full-news-header h1 {
        font-size: 18pt;
        color: #000;
    }
    
    .full-news-content {
        font-size: 11pt;
        line-height: 1.5;
        color: #000;
    }
    
    .full-news-content a {
        text-decoration: underline;
        color: #000;
    }
}

/* ========== ВЫПАДАЮЩЕЕ МЕНЮ ========== */

/* Базовые стили */
.main-menu li.menu-item-has-children {
    position: relative;
}

.main-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    list-style: none;
}

/* Пункты подменю */
.main-menu .sub-menu li {
    margin: 0;
    width: 100%;
}

.main-menu .sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.main-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.main-menu .sub-menu li a:hover {
    background-color: #f8f9fa;
    color: #004c99;
    padding-left: 25px;
}

/* Стрелочка */
.main-menu li.menu-item-has-children > a .fa-chevron-down {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}

/* Десктоп: показ при наведении */
@media (min-width: 993px) {
    .main-menu li.menu-item-has-children:hover .sub-menu {
        display: block;
    }
    
    .main-menu li.menu-item-has-children:hover > a .fa-chevron-down {
        transform: rotate(180deg);
    }
}

/* Мобильные: показ по клику */
@media (max-width: 992px) {
    .main-menu .sub-menu {
        position: static !important;
        box-shadow: none !important;
        display: none !important;
        padding: 0 !important;
        min-width: auto !important;
        background: #f8f9fa !important;
        border-radius: 0 !important;
    }
    
    .main-menu li.menu-item-has-children.active > .sub-menu {
        display: block !important;
    }
    
    .main-menu .sub-menu li a {
        padding: 10px 15px 10px 35px !important;
        font-size: 14px;
        border-bottom: 1px solid #eee;
    }
    
    .main-menu li.menu-item-has-children > a {
        cursor: pointer;
    }
    
    .main-menu li.menu-item-has-children > a .fa-chevron-down {
        float: right;
        margin-top: 5px;
    }
}

/* ========== СТРАНИЦА РУКОВОДСТВО ========== */
.leadership-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.leadership-main {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    align-items: start;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.leadership-photo {
    width: 100%;
}

.leadership-photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.leadership-info h2 {
    font-size: 3rem;
    color: #004c99;
    margin-bottom: 10px;
    font-weight: 700;
}

.leadership-info h3 {
    font-size: 2.5rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 500;
}

.leadership-roles h4 {
    font-size: 2rem;
    color: #004c99;
    margin-bottom: 20px;
    font-weight: 600;
}

.leadership-roles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leadership-roles ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
    font-size: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.leadership-roles ul li:last-child {
    border-bottom: none;
}

.leadership-roles ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #004c99;
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.4;
}

.leadership-grid-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.leadership-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.leadership-card-photo {
    width: 100%;
    margin-bottom: 20px;
}

.leadership-card-photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.leadership-card h3 {
    font-size: 2.5rem;
    color: #004c99;
    margin-bottom: 10px;
    font-weight: 600;
}

.leadership-card p {
    color: #666;
    font-size: 2rem;
    line-height: 1.5;
}

.council-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 40px;
}

.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.council-member {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.council-member:hover {
    transform: translateY(-5px);
}

.council-member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #004c99;
}

.council-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.council-member h3 {
    font-size: 2.5rem;
    color: #004c99;
    margin-bottom: 10px;
    font-weight: 700;
}

.council-position {
    color: #004c99;
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.council-description {
    color: #666;
    font-size: 2rem;
    line-height: 1.5;
}

/* ========== СТРАНИЦА ДОКУМЕНТЫ ========== */
.documents-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.documents-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.document-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.document-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #004c99 0%, #003366 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.document-icon i {
    font-size: 32px;
    color: white;
}

.document-info {
    flex: 1;
}

.document-info h3 {
    font-size: 2rem;
    color: #004c99;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.document-info p {
    color: #666;
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.document-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.document-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    background: rgba(0, 76, 153, 0.1);
    color: #004c99;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.5rem;
}

.document-type i {
    font-size: 14px;
}

.document-size {
    color: #666;
    font-size: 1.5rem;
    font-weight: 500;
}

.document-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #004c99 0%, #003366 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.5rem;
}

.document-download:hover {
    background: linear-gradient(135deg, #003366 0%, #002244 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 76, 153, 0.3);
}

.document-download i {
    font-size: 1.5rem;
}

/* ========== СТРАНИЦА КОМИТЕТЫ ========== */
.committees-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.committee-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #004c99;
}

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

.committee-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #004c99 0%, #003366 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.committee-icon i {
    font-size: 36px;
    color: white;
}

.committee-card h3 {
    font-size: 2.5rem;
    color: #004c99;
    margin-bottom: 15px;
    font-weight: 700;
}

.committee-card > p {
    color: #666;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.committee-responsibilities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.committee-responsibilities li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    font-size: 1.5rem;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.committee-responsibilities li:last-child {
    border-bottom: none;
}

.committee-responsibilities li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #004c99;
    font-weight: bold;
    font-size: 1.5rem;
}

/* ========== СТРАНИЦА ЧЛЕНОВ ФЕДЕРАЦИИ ========== */
.members-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.members-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.members-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.member-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-left: 4px solid #004c99;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 76, 153, 0.2);
}

.member-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #004c99 0%, #003366 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.member-info {
    flex: 1;
}

.member-info h3 {
    font-size: 1.5rem;
    color: #004c99;
    margin-bottom: 8px;
    font-weight: 700;
}

.member-position {
    color: #666;
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.member-date {
    color: #999;
    font-size: 1.5rem;
}
