/* Анимация Vanta.js */
#vanta-bg {
    position: fixed; /* Фиксированный фон */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Отправляем на задний план */
}

/* Контейнер с содержимым */
.content-container {
    position: relative; /* Размещаем элементы поверх фона */
    z-index: 1; /* Содержимое сайта выше Vanta.js */
    color: white;
}

/* Стиль навигации */
nav a.active {
    font-weight: bold;
    color: #7FFFD4 !important; /* Золотистый цвет для активной ссылки */
    text-decoration: underline;
}

/* Стили для заголовка */
header {
    background-color: #FF00FF !important; /* Темно-синий фон */
    color: #ffffff !important;
    padding: 15px 0;
}

/* Убираем Bootstrap-классы, которые могли мешать */
header.bg-primary {
    background-color: transparent !important;
}

/* Логотип и заголовок */
header h1 {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff !important;
    margin-left: 10px;
}

/* Стили навигации */
nav {
    background-color: #000080 !important; /* Темно-синий фон */
    padding: 10px 0;
    text-align: center;
}

/* Стили ссылок в навигации */
nav a {
    font-size: 16px;
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 15px;
    transition: color 0.3s ease-in-out;
}

/* Цвет активной ссылки */
nav a.active {
    color: #FFFFFF !important; /* Золотой цвет */
    text-decoration: underline;
}

/* При наведении */
nav a:hover {
    color: #FFD700 !important; /* Светло-голубой */
}

/* Навигация */
.navbar {
    background-color: #1e3a8a !important;
    color: #ffffff !important;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;/* Контент */
    align-items: center;.main-content {
    position: fixed;    max-width: 1200px;
    width: 100%;    margin: 30px auto;
    top: 0;    padding: 0 20px;
    z-index: 1000;}
}
.content-grid {
.logo {    display: grid;
    display: flex;    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;    gap: 20px;
}}

.logo-img {/* Боксы */
    height: 70px;.box {
    margin-right: 10px;    background: #ffffff;
}    border: 1px solid #ddd;
    border-radius: 8px;
.nav-link {    padding: 20px;
    color: #ffffff !important;    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-left: 20px;}
    font-weight: 500;
}.logo-box {
    text-align: center;
.nav-link:hover {    background: #e6f7ff;
    color: #93c5fd !important;    border-radius: 50%;
}    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
.nav-link.active {}
    text-decoration: underline;
    color: #38bdf8 !important;.logo-box img {
}    max-width: 100px;
    margin-bottom: 10px;
/* Заголовок */}
.hero {
    background-color: #2563eb !important; /* Новый синий фон *//* Футер */
    text-align: center;.footer {
    padding: 120px 20px 50px;    background-color: #1e3a8a; /* Новый тёмно-синий цвет */
    margin-top: 80px;    color: #fff;
}    text-align: center;
    padding: 20px 0;
.hero-title {    margin-top: 30px;
    color: #ffffff !important; /* Белый текст заголовка */}
    font-size: 32px;
    font-weight: bold;/* Контейнер для горизонтального размещения */
}.horizontal-container {
    display: flex;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

/* Блок анимации */
.animation-wrapper {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.7), rgba(0, 0, 0, 0.7)); /* Плавный переход цвета */
    overflow: hidden;
    animation: backgroundFade 10s infinite alternate; /* Анимация смены цвета */
}

/* Видеоблок */
.video-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

/* Логотип и текст */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: white;
    opacity: 0; /* Начальное состояние - прозрачное */
    animation: fadeIn 2s ease-out forwards; /* Анимация плавного появления */
}

.overlay-logo {
    max-width: 200px;
    margin-bottom: 10px;
}

.overlay-title {
    font-size: 50px;
    font-weight: bold;
    margin: 10px 0;
}

.overlay-subtitle {
    font-size: 30px;
    font-weight: 300;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes backgroundFade {
    0% {
        background: rgba(13, 110, 253, 0.7);
    }
}

.navbar {
    background-color: #1e3a8a !important;
    color: #ffffff !important;
}


/* ======= Футер ======= */
footer {
    background: linear-gradient(135deg, #001f4d, #0047ab); /* Градиентный темно-синий фон */
    color: white;
    padding: 30px 0;
    text-align: center;
    font-size: 16px;
    position: relative;
    width: 100%;
    margin-top: 50px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2); /* Верхняя тень */
    transition: all 0.3s ease-in-out;
}

/* ======= Текст в футере ======= */
footer p {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ======= Анимация при наведении ======= */
footer:hover {
    background: linear-gradient(135deg, #0047ab, #001f4d); /* Перевернутый градиент */
    transform: translateY(-2px); /* Легкое поднятие */
}

/* ======= Эффект свечения при наведении ======= */
footer:hover p {
    color: #FFD700; /* Золотистый текст */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* ======= Адаптивность футера ======= */
@media (max-width: 768px) {
    footer {
        font-size: 14px;
        padding: 20px 0;
    }
}


/* ======= СТАТИСТИКА ДЛЯ ABOUT PAGE ======= */
.about-stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 столбца */
    gap: 40px; /* Отступы между карточками */
    justify-items: center; /* Центровка карточек по горизонтали */
    margin-top: 50px;
}

/* ======= Карточки ======= */
.about-stats-box {
    background: #808080, rgba(217, 217, 217, 0.5)); /* Прозрачный серый градиент */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
    transition: all 0.3s ease-in-out;
    width: 100%; /* Заполнение ячейки сетки */
    max-width: 280px; /* Максимальная ширина карточки */
    height: 120px; /* Фиксированная высота */
    color: #FFFFFF; /* Белый текст */
    border-radius: 12px; /* Скругленные углы */
    border: 2px solid rgba(255, 255, 255, 0.3); /* Светлый контур */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
    padding: 20px;
}

/* ======= Анимация при наведении ======= */
.about-stats-box:hover {
    transform: scale(1.07); /* Легкое увеличение */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(200, 200, 200, 0.6));
    color: #0000FF; /* Черный текст при наведении */
    border: 2px solid rgba(0, 102, 255, 0.8); /* Ярко-синий контур */
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.5);

}

/* Дополнительно: Плавный переход */
.about-stats-box {
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}


/* ======= Заголовок числа ======= */
.about-stats-box h3 {
    font-size: 36px; /* Размер числа */
    font-weight: bold;
    margin-bottom: 10px;
}

/* ======= Описание ======= */
.about-stats-box p {
    font-size: 16px; /* Размер текста */
}

/* ======= Адаптивность ======= */
@media (max-width: 992px) {
    .about-stats-section {
        grid-template-columns: repeat(2, 1fr); /* 2 столбца на планшетах */
    }
}

@media (max-width: 600px) {
    .about-stats-section {
        grid-template-columns: 1fr; /* 1 столбец на мобильных */
    }

    .about-stats-box {
        height: 150px; /* Уменьшенная высота */
    }

    .about-stats-box h3 {
        font-size: 28px; /* Размер чисел */
    }

    .about-stats-box p {
        font-size: 14px; /* Размер текста */
    }
}

/* ======= Неоновая подсветка текста ======= */
.glow-text {
    font-size: 30px; /* Уменьшил шрифт */
    font-weight: 200;
    color: #FFFFFF;
    padding: 10px 10px;
    border-radius: 8px; /* Закругленные углы */
    text-align: center;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
    margin-top: 50px; /* Отступ вниз */
}

/* ======= Эффект свечения при наведении ======= */
.glow-text:hover {
    background: rgba(0, 102, 204, 0.3); /* Глубокий синий фон */
    color: #FFFFFF; /* Белый текст */
    border: 2px solid rgba(0, 102, 255, 0.8); /* Ярко-синий контур */
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.5);
}

/* ======= Блок "Цель" с прозрачностью ======= */
#mission-section {
    background: #808080, rgba(217, 217, 217, 0.5)); /* Прозрачный серый градиент */
    padding: 20px;
    border-radius: 12px; /* Скругленные углы */
    text-align: center;
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
    transition: all 0.3s ease-in-out;
    border: 2px solid rgba(255, 255, 255, 0.3); /* Светлый контур */
}

/* ======= Текст блока "Цель" ======= */
.mission-text {
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
    transition: all 0.3s ease-in-out;
}

/* ======= Эффект при наведении ======= */
#mission-section:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(200, 200, 200, 0.6));
    border: 2px solid rgba(0, 102, 255, 0.8); /* Ярко-синий контур */
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.5);
}

/* ======= Эффект для заголовка и текста при наведении ======= */
#mission-section:hover .mission-title {
    color: #0000FF; /* Золотистый цвет */
}

#mission-section:hover .mission-text {
    color: #0000FF; /* Чуть темнее текст */
}

/* ======= Общий стиль для секции компетенций ======= */
.competence-section {
    display: flex;
    gap: 30px;
    margin-bottom: 80px; /* Увеличение отступа снизу */
    margin-top: 40px;
    justify-content: center;
}

/* ======= Карточка компетенции с видео ======= */
.competence-box {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 250px; /* Фиксированная высота */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

/* ======= Видео фон ======= */
.competence-box video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* ======= Затемнение поверх видео ======= */
.competence-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Затемнение для контраста текста */
    z-index: 1;
    transition: background 0.3s ease-in-out;
}

/* ======= Текст поверх видео ======= */
.competence-box-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* ======= Название блока ======= */
.competence-box-content h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* ======= Описание блока ======= */
.competence-box-content p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.8;
}

/* ======= Эффекты при наведении ======= */
.competence-box:hover {
    transform: scale(1.05); /* Увеличение карточки */
}

.competence-box:hover::before {
    background: rgba(0, 0, 0, 0.7); /* Усиленное затемнение */
}

.competence-box-content h3:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

/* ======= Адаптивность ======= */
@media (max-width: 768px) {
    .competence-section {
        flex-direction: column;
        gap: 20px;
    }

    .competence-box {
        max-width: 100%;
    }
}









/* ======= Эффект свечения при наведении ======= */
.competence-box:hover {
    background: rgba(0, 102, 204, 0.3); /* Глубокий синий фон */
    color: #FFFFFF; /* Белый текст */
    border: 2px solid rgba(0, 102, 255, 0.8); /* Ярко-синий контур */
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.5);
}

/* ======= Блок "Руководство" ======= */
#team-section {
    text-align: center;
    margin-bottom: 50px;
}

/* ======= Заголовок с анимацией ======= */
#team-section h2 {
    position: relative;
    animation: fadeInUp 1.5s ease-in-out;
    font-size: 36px;
    color: #FFFFFF; /* Глубокий синий цвет */
    text-transform: uppercase;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
}

/* ======= Блок с фото ======= */
.team-card {
    text-align: center;
    transition: transform 0.3s ease-in-out;
    padding-bottom: 20px; /* Добавляем место для текста */
}

/* ======= Фото сотрудников ======= */
.team-photo {
    width: 80%;
    height: 340px;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid rgba(0, 102, 255, 0.8);
    transition: transform 0.3s ease-in-out;
    filter: grayscale(20%);
}

/* ======= Эффект при наведении ======= */
.team-card:hover .team-photo {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.5);
    filter: grayscale(0%);
}

/* ======= Имя и должность отдельно от фото ======= */
.team-text {
    margin-top: 25px; /* Отступ от фото */
    padding: 10px;
    border: 2px solid rgba(0, 102, 255, 0.8); /* Ярко-синий контур */
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.5);
    background: rgba(0, 102, 204, 0.3);
    color: white;
    border-radius: 8px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    transition: background 0.3s ease-in-out;
}

/* ======= Эффект свечения при наведении ======= */
.team-card:hover .team-text {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(200, 200, 200, 0.6));
    border: 2px solid rgba(0, 102, 255, 0.8); /* Ярко-синий контур */
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.5);
}

/* ======= Имя ======= */
.team-text h4 {
    font-size: 20px;
    margin: 5px 0;
}

/* ======= Должность ======= */
.team-text p {
    font-size: 18px;
    margin: 0;
}

/* ======= Описание сотрудника ======= */
.team-description {
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
}



.apply-link {
    text-decoration: none; /* Убираем подчеркивание */
    display: block; /* Делаем всю карточку кликабельной */
    color: inherit; /* Цвет текста не меняется */
}

/* Описание НЕ будет частью ссылки */
.team-description {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-align: center;
}

/* ======= Блок статистики (Грид-сетка) ======= */
/* ======= Грид для статистики ======= */
.stats-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* ======= ПК: 4 колонки (992px+) ======= */
@media (min-width: 992px) {
    .stats-section .col-lg-3 {
        flex: 0 0 25%; /* 4 колонки в строке */
        max-width: 25%;
    }
}

/* ======= Планшеты: 2 колонки (768px-991px) ======= */
@media (max-width: 991px) {
    .stats-section .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ======= Телефоны: 1 колонка (до 767px) ======= */
@media (max-width: 767px) {
    .stats-section .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* ======= Карточки статистики ======= */
.stats-boxx {
    background: #808080, rgba(217, 217, 217, 0.5)); /* Прозрачный серый градиент */
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
    color: #FFFFFF; /* Белый текст */
    border: 2px solid rgba(255, 255, 255, 0.3); /* Светлый контур */
    border-radius: 12px; /* Скругленные углы */
    padding: 20px;
    text-align: center;
    width: 100%;
    max-width: 250px; /* Фиксированная ширина */
    height: 140px; /* Фиксированная высота */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
}

/* ======= Анимация при наведении ======= */
.stats-boxx:hover {
    transform: scale(1.07); /* Легкое увеличение */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(200, 200, 200, 0.6));
    color: #0000FF; /* Черный текст при наведении */
    border: 2px solid rgba(0, 102, 255, 0.8); /* Ярко-синий контур */
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.5);

}

/* ======= Числа ======= */
.stats-boxx h3 {
    font-size: 36px; /* Размер чисел */
    font-weight: bold;
    margin-bottom: 8px;
    transition: color 0.3s ease-in-out;
}

/* ======= Текст ======= */
.stats-boxx p {
    font-size: 16px; /* Размер текста */
    line-height: 1.4;
}

/* ======= Маленький текст в скобках ======= */
.stats-boxx small {
    font-size: 12px;
    color: #ddd;
}

/* ======= Адаптивность ======= */
@media (max-width: 992px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr); /* 2 столбца на планшетах */
    }
}

@media (max-width: 600px) {
    .stats-section {
        grid-template-columns: 1fr; /* 1 столбец на мобильных */
    }

    .stats-boxx {
        max-width: 100%; /* На всю ширину */
        height: auto;
        padding: 15px;
    }

    .stats-boxx h3 {
        font-size: 28px;
    }

    .stats-boxx p {
        font-size: 14px;
    }
}

/* ======= Блок с картой ======= */
#map-section {
    text-align: center;
    margin-top: 40px;
}

/* ======= Контейнер карты ======= */
.map-container {
    position: relative;
    display: inline-block; /* Центрирование */
    overflow: hidden;
}

/* ======= Карта ======= */
.map-container img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: filter 0.4s ease-in-out, transform 0.3s ease-in-out;
    animation: glowing-colors 3s infinite alternate; /* Анимация разноцветного свечения */
}



@keyframes glowing-colors {
    0% {
        filter: drop-shadow(0 0 15px rgba(0, 102, 255, 0.8)); /* Глубокий синий */
    }
    70% {
        filter: drop-shadow(0 0 25px rgba(0, 191, 255, 0.8)); /* Голубой */
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(0, 102, 255, 0.8)); /* Глубокий синий */
    }
}


/* ======= Сетка партнеров ======= */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Отступы между блоками */
}

/* ======= Карточка логотипа ======= */
.partner-logo {
    background: rgba(255, 255, 255, 0.1); /* Легкий фон */
    border-radius: 12px; /* Скругленные углы */
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px; /* Фиксированная высота */
    width: 160px; /* Фиксированная ширина */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* ======= Размер логотипа ======= */
.partner-logo img {
    width: 100%;
    height: 100%;
    max-width: 100px; /* Максимальный размер */
    max-height: 100px;
    object-fit: contain; /* Подгонка изображения */
    filter: grayscale(30%); /* Легкое затемнение */
    transition: filter 0.3s ease-in-out;
}

/* ======= Эффект при наведении ======= */
.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* ======= Адаптивность ======= */
@media (max-width: 992px) {
    .partner-logo {
        height: 100px;
        width: 100px;
    }

    .partner-logo img {
        max-width: 80px;
        max-height: 80px;
    }
}

@media (max-width: 576px) {
    .partner-logo {
        height: 80px;
        width: 80px;
    }

    .partner-logo img {
        max-width: 60px;
        max-height: 60px;
    }
}










/* ======= Контейнер видео ======= */
.service-video-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-video-container video {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Подгоняем видео под размер */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

/* ======= Затемнение и текст при наведении ======= */
.service-video-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Затемнение фона */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0; /* Скрыто по умолчанию */
    transition: opacity 0.3s ease-in-out;
}

.service-video-container:hover .overlay {
    opacity: 1; /* Появляется при наведении */
}

.service-video-container:hover video {
    transform: scale(1.05); /* Легкое увеличение видео */
    filter: brightness(70%); /* Затемнение видео */
}

.service-video-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
}

/* ======= Светящийся контур и эффект свечения при наведении ======= */
.service-video-container:hover {
    transform: scale(1.05); /* Легкое увеличение */
    filter: brightness(70%); /* Затемнение видео */
    border: 2px solid rgba(0, 132, 255, 0.8); /* Голубой контур */
    box-shadow: 0 0 20px rgba(0, 132, 255, 0.9), 0 0 40px rgba(0, 132, 255, 0.6); /* Глубокое свечение */
}

/* ======= Видео ======= */
.service-video-container video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.service-video-container:hover {
    animation: glowing 1.5s infinite alternate; /* Плавная анимация свечения */
}

/* ======= Текст внутри блока ======= */
.service-video-container .overlay h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    padding: 0 10px;
    text-transform: uppercase;
    line-height: 1.4;
}







/* ======= Блок сектора (левая часть с фото) ======= */
.sector-info-box {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 250px 30px; /* Увеличенный размер блока */
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 28px; /* Увеличенный текст */
    text-transform: uppercase;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    height: 100%; /* Занимает всю высоту */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* ======= Затемнение фона для лучшей читаемости ======= */
.sector-info-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Затемнение */
    border-radius: 12px;
    transition: background 0.3s ease-in-out;
}

/* ======= Текст внутри ======= */
.sector-info-box h3 {
    position: relative;
    z-index: 2;
    font-size: 32px; /* Еще крупнее */
    letter-spacing: 1px;
}



/* ======= При наведении фон становится ярче ======= */
.sector-info-box:hover::before {
    background: rgba(0, 0, 0, 0.3); /* Уменьшаем затемнение */
}

/* ======= Карточки в правой части (иконки + текст) ======= */
.sector-card {
    background: rgba(30, 144, 255, 0.0); /* Полностью прозрачный фон */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
    height: 180px; /* Фиксированная высота */
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent; /* Прозрачная граница, появится при наведении */
}

/* ======= Эффект при наведении ======= */
.sector-card:hover {
    transform: translateY(-5px);
    background: rgba(211, 211, 211, 0.3);
    border: 2px solid rgba(0, 132, 255, 0.8); /* Голубой контур */
    box-shadow: 0 0 20px rgba(0, 132, 255, 0.9), 0 0 40px rgba(0, 132, 255, 0.6); /* Глубокое свечение */
    color: #FFFFFF; /* Белый текст */
}

/* ======= Анимация свечения ======= */
@keyframes glowing {
    box-shadow: 0 0 15px rgba(0, 132, 255, 0.8);
}

.sector-card:hover {
    animation: glowing 1.5s infinite alternate; /* Анимация свечения */
}

/* ======= Значки ======= */
.sector-card i {
    color: #0000FF;
    margin-bottom: 10px;
    transition: color 0.3s ease-in-out;
}

/* ======= Текст ======= */
.sector-card p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease-in-out;
}

/* ======= Адаптивность ======= */
@media (max-width: 992px) {
    .sector-info-box {
        padding: 80px 20px;
        font-size: 22px;
    }

    .sector-info-box h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .sector-section .row {
        flex-direction: column; /* Структура меняется на мобильных */
    }

    .sector-info-box {
        width: 100%;
        margin-bottom: 20px;
    }

    .sector-card {
        height: 150px;
    }
}


/* ======= Контейнер контактов (Равные блоки) ======= */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.contact-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    color: var(--icon-color #007bff); /* Синий цвет иконок */

    font-size: var(--text-size, 18px); /* Можно менять вручную */
    transition: font-size 0.3s ease-in-out;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex; /* Включаем flexbox */
    flex-direction: column; /* Располагаем элементы вертикально */
    justify-content: center; /* Центрируем содержимое вертикально */
    text-align: left;
    align-items: flex-start;
    padding-left: 40px; /* Отступ слева для лучшего вида */
    min-height: 320px;
}



.contact-box i {
    color: #FFD700; /* Золотой цвет иконок */
    font-size: 22px; /* Размер иконки (можно менять вручную) */
    transition: color 0.3s ease-in-out;
}

/* Если хочешь эффект при наведении */
.contact-box:hover i {
    color: #FFA500; /* Оранжевый при наведении */
}

/* Контейнер QR-кода */
.qr-code-box {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    min-height: 320px; /* Делаем блок одинаковым с контактами */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Добавляем небольшой отступ под QR-код */
.qr-code-box img {
    width: 180px;
    height: auto;
    margin-bottom: 15px; /* Отступ вниз */
}

/* Стилизация текста с Telegram */
.telegram-text {
    font-size: 16px;
    color: #FFD700;
    margin-bottom: 15px; /* Отступ перед кнопкой */
}

/* Красивая кнопка Telegram */
.telegram-link {
    display: inline-block;
    background: #0088cc; /* Цвет Telegram */
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
}

.telegram-link i {
    margin-right: 8px; /* Отступ между иконкой и текстом */
}

.telegram-link:hover {
    background: #0077b5;
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.8), 0 0 30px rgba(0, 136, 204, 0.5);
}

.contact-form .form-control:focus {
    border-color: rgba(0, 102, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}





/* ======= Форма обратной связи ======= */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.qr-code-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.8), 0 0 40px rgba(0, 132, 255, 0.6);
}

.contact-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.8), 0 0 40px rgba(0, 132, 255, 0.6);
}


.telegram-link {
    display: inline-block;
    background: #0088cc; /* Цвет Telegram */
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
    margin-top: 10px;
}

.telegram-link i {
    margin-right: 14px; /* Отступ между иконкой и текстом */
}

.telegram-link:hover {
    background: #0077b5;
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.8), 0 0 30px rgba(0, 136, 204, 0.5);
}



/* ======= Поля ввода ======= */
.contact-form .form-group label {
    color: #FFD700;
}

.contact-form .form-control {
    border: 2px solid rgba(0, 102, 255, 0.5);
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-form .form-control:focus {
    border-color: rgba(0, 102, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

/* ======= Кнопка "Отправить" ======= */
.contact-form .btn-primary {
    background: #0047ab;
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

.contact-form .btn-primary:hover {
    background: #0088cc;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.8), 0 0 40px rgba(0, 132, 255, 0.6);
}

.contact-form:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.8), 0 0 40px rgba(0, 132, 255, 0.6);
}

/* ======= Карта ======= */
.map-container {
    width: 100%;
    height: 100%;
    min-height: 320px; /* Делаем высоту такой же, как у других блоков */
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.map-container:hover iframe {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.8), 0 0 50px rgba(0, 132, 255, 0.6);
}



/* ======= Адаптивность ======= */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 20px;
    }
    .contact-box, .qr-code-box, .contact-form {
        width: 100%;
    }
    .map-container iframe {
        height: 250px;
    }
}









/* ======= Заголовок блока проектов ======= */
.project-title {
    font-size: 28px; /* Чуть уменьшен */
    font-weight: 600; /* Средняя жирность */
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px; /* Отступ снизу увеличен */
    max-width: 850px; /* Ограничение ширины */
    margin-left: auto;
    margin-right: auto;
}

/* Стили для слайдера */
.swiper-container {
    width: 100%;
    padding: 40px 0;
}

/* Карточки будут ровно центрироваться внутри слайдера */
.swiper-slide {
    display: flex;
    justify-content: center;
}

/* ======= Карточки проектов (фиксированная высота) ======= */
/* ======= Карточки проектов (фиксированная высота) ======= */
.project-card {
    width: 320px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;

}

/* ======= Усиленная тень при наведении ======= */
.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 132, 255, 0.8); /* Яркая тень при наведении */
}


/* ======= Изображение проекта (фон) ======= */
.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: filter 0.4s ease-in-out;
}

/* ======= Затемнение при наведении ======= */
.project-card:hover .project-image {
    filter: brightness(40%); /* Затемнение картинки */
}

/* ======= Текстовая информация (по умолчанию скрыта) ======= */
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Полностью закрывает фото */
    background: rgba(0, 0, 0, 0.6); /* Затемненный фон */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Изначально скрыто */
    transition: opacity 0.4s ease-in-out;
    padding: 20px;
    text-align: center;
}

/* ======= Показываем текст при наведении ======= */
.project-card:hover .project-info {
    opacity: 1;
}

/* ======= Заголовок карточки ======= */
.project-info h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ======= Текст описания ======= */
.project-info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* ======= Медиа-запросы для адаптивности ======= */
@media (max-width: 768px) {
    .project-card {
        width: 280px;
        height: 380px; /* Чуть меньше на мобильных */
    }
    .project-info {
        padding: 15px;
    }
    .project-info h4 {
        font-size: 16px;
    }
    .project-info p {
        font-size: 14px;
    }
}






/* ======= Заголовок (С дополнительным отступом) ======= */
.stats-title-container {
    width: 100%;
    text-align: center;  /* Выравниваем текст по центру */
    margin-top: 80px; /* Отступ сверху */
    margin-bottom: 40px; /* Отступ от карточек */
    margin-top: 60px;    /* Отступ сверху */
    margin-bottom: 60px; /* Отступ снизу */
}

/* ======= Стиль заголовка ======= */
.stats-title {
    font-size: 30px;
    font-weight: 600;
    color: #ffffff;
    text-transform: none; /* Обычный регистр */
    margin: 0;
}

/* ======= Контейнер карточек (Горизонтально) ======= */
.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
    max-width: 100%;
    padding: 0 100px; /* Шире контейнер */
}

/* ======= Карточки (Без сжатия, одинаковый размер) ======= */
.stat-box {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 132, 255, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 220px;
    height: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ======= Анимация увеличения цифр ======= */
.counter {
    font-size: 36px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 5px;
}

/* ======= Описание ======= */
.stat-box p {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap; /* Запрет переноса текста */
}

/* ======= Эффект свечения ======= */
.stat-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 132, 255, 0.9);
}


/* ======= Блок Power BI ======= */
.powerbi-section {
    text-align: center;
    margin-top: 50px;
}

.powerbi-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 132, 255, 0.5);
}

.powerbi-container iframe {
    width: 100%;
    height: 750px;
    border: none;
}










/* 🔹 Главный экран с видеофоном */
.science-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

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

.science-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

/* 🔹 Основные направления */
.science-directions {
    padding: 50px 0;
    text-align: center;
}

/* 🔹 Основной контейнер направлений */
.direction-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* 🔹 Карточка направления */
.direction-box {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    height: 270px;
    background: linear-gradient(135deg, rgba(0, 30, 60, 0.8), rgba(0, 102, 204, 0.6));
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 2px solid rgba(0, 102, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.4);
}

/* 🔥 Эффект при наведении */
.direction-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 132, 255, 0.8);
}

/* 🔥 Подсветка текста при наведении */
.direction-box:hover h3 {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.direction-box:hover p {
    color: #FFF;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}




/* 🔹 Основная секция */
.publication-section {
    padding: 60px 0;
    text-align: center;
}

/* 🔹 Карточки публикаций */
.publication-box {
    flex: 1;
    min-width: 400px;
    max-width: 500px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5); /* Темный фон */
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* 🔹 Основная секция */
.publication-section {
    padding: 60px 0;
    text-align: center;
}

/* Основной заголовок секции */
.section-title {
    margin-bottom: 50px; /* Отступ вниз перед карточками */
    margin-top: -40px; /* Отступ сверху */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 30px;
    text-align: center;
}



/* 🔹 Контейнер карточек (Рядом) */
.publication-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Одинаковая высота карточек */
    gap: 50px;
    flex-wrap: wrap; /* Чтобы на маленьких экранах уходили вниз */
}

/* 🔹 Карточки публикаций */
.publication-box {
    flex: 1;
    min-width: 400px;
    max-width: 500px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5); /* Темный фон */
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* 🔥 Градиентный фон при наведении (оттенки синего) */
.publication-box:hover {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.8), rgba(33, 150, 243, 0.7));
    transform: scale(1.07);
    border: 2px solid rgba(33, 150, 243, 0.8);
    box-shadow: 0 0 25px rgba(33, 150, 243, 0.6), 0 0 50px rgba(13, 71, 161, 0.5);
}

/* ======= 🎯 Анимации появления буллетов ======= */
.publication-box ul li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.publication-box:hover ul li {
    opacity: 1;
    transform: translateY(0);
}

/* 🕐 Задержка появления буллетов */
.publication-box:hover ul li:nth-child(1) { transition-delay: 0.1s; }
.publication-box:hover ul li:nth-child(2) { transition-delay: 0.2s; }
.publication-box:hover ul li:nth-child(3) { transition-delay: 0.3s; }
.publication-box:hover ul li:nth-child(4) { transition-delay: 0.4s; }
.publication-box:hover ul li:nth-child(5) { transition-delay: 0.5s; }

/* 🔥 Улучшенный текст внутри карточек */
.publication-box h3 {
    font-size: 28px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    transition: color 0.3s ease-in-out;
}

/* 🌟 Меняем цвет заголовка при наведении */
.publication-box:hover h3 {
    color: #FFD700; /* Золотистый */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* 📌 Стили для буллетов */
.publication-box ul {
    list-style: none;
    padding-left: 20px;
}

.publication-box ul li {
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

/* 🔹 Красивые кастомные буллеты */
.publication-box ul li::before {
    content: "●"; /* Можно заменить на ✓, ★ или ➤ */
    position: absolute;
    left: 0;
    color: #FFD700; /* Золотой цвет */
    font-size: 18px;
    font-weight: bold;
}

/* 🔥 При наведении буллеты подсвечиваются */
.publication-box:hover ul li::before {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* ======= 📱 Адаптивность ======= */
@media (max-width: 992px) {
    .publication-container {
        flex-direction: column; /* Ставим друг под другом на мобильных */
        align-items: center;
    }
}


/* 🔹 Секция "Полезные ресурсы" */
.resources-section {
    padding: 50px 0;
    text-align: center;
}

.resources-section h2 {
    margin-bottom: 30px; /* Отступ снизу, чтобы отделить заголовок от карточек */
    margin-top: -70px; /* Поднять заголовок выше */
}

/* 🔹 Контейнер для блоков ресурсов */
.resources-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* 🔹 Карточка ресурса */
.resource-box {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    padding: 25px;
    background: rgba(0, 51, 102, 0.3); /* Полупрозрачный фон */
    color: white;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 2px solid rgba(0, 102, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 🔥 Эффект при наведении */
.resource-box:hover {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 102, 204, 0.7));
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 132, 255, 0.8);
}

/* 🔹 Контейнер для логотипа (круглый) */
.resource-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden; /* ✨ Обрезка изображения по форме круга */
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* 🔹 Сам логотип (обрезается по кругу) */
.resource-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ✨ Подгоняет картинку, не искажая */
    border-radius: 50%; /* ✨ Делаем картинку тоже круглой */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* 🔥 Эффект при наведении */
.resource-box:hover .resource-logo {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}


/* 🔹 Анимация логотипов */
.resource-logo img {
    max-width: 80px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease-in-out;
}



/* 🔥 Подсветка текста при наведении */
.resource-box:hover h3 {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* 🔹 Текст */
.resource-box h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.resource-box p {
    font-size: 15px;
    opacity: 0.9;
}
