/* Общий стиль для всего сайта */
body {
    background-image: url('/images/background.jpg'); /* Укажите путь к изображению */
    background-size: cover; /* Покрыть весь экран */
    background-position: center center; /* Центрирование фона */
    background-attachment: fixed; /* Фиксированное изображение при прокрутке */
    color: #f8f8f8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

/* Применение на все секции с фоновым изображением */
section {
    padding: 50px 0;
    background-color: rgba(0, 0, 0, 0.5); /* Темный полупрозрачный фон для читаемости текста */
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

h1, h2, h3 {
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Навигационная панель */
.navbar {
    background-color: rgba(18, 18, 18, 0.8); /* Полупрозрачный фон для панели навигации */
    padding: 20px 0;
}

.navbar a {
    color: #f8f8f8;
    font-size: 18px;
    text-transform: uppercase;
}

.navbar a:hover {
    color: #00bcd4;
    transition: color 0.3s ease;
}

/* Hero-секция */
.bg-primary {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.9), rgba(25, 118, 210, 0.9)); /* Градиентный фон */
    padding: 50px 0;
    text-align: center;
}

/* Кнопки на фоне */
.bg-primary .btn {
    margin: 10px;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.bg-primary .btn:hover {
    background-color: #00bcd4;
    transform: scale(1.1);
}

/* Стили для футера */
footer {
    background-color: #121212;
    color: #f8f8f8;
    padding: 20px 0;
    text-align: center;
}

/* Стили для карточек */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-title {
    font-size: 1.5rem;
    color: #00bcd4;
}

.card-body {
    padding: 20px;
    background-color: #d4d5d6;
    min-height: 165px;
}

/* Плавные анимации */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 2s ease-out;
}

/* Стиль кнопок в футере */
footer .btn {
    background-color: #00bcd4;
    color: white;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

footer .btn:hover {
    background-color: #1976d2;
}

/* Адаптивность */
@media (max-width: 768px) {
    .navbar a {
        font-size: 16px;
    }

    .bg-primary h1 {
        font-size: 2.5rem;
    }

    .bg-primary p {
        font-size: 1rem;
    }

    .card-body a {
        font-size: 0.9rem;
    }
}
.accordion-button {
    background: rgba(0, 80, 160, 0.1);
    font-weight: 600;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 80, 160, 0.2);
    color: #003f7f;
}

.accordion-item {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
}

.accordion-body {
    background: #fff;
}

h1 {
    font-weight: 700;
}
.doc-card {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 18px 22px;
    border-radius: 10px;
    margin-bottom: 12px;
    color: #0b396f;
    backdrop-filter: blur(6px);
    transition: 0.25s;
}

.doc-card:hover {
    border-color: #61b8ff;
    box-shadow: 0 0 12px rgba(97,184,255,0.35);
}

.doc-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.doc-desc {
    opacity: .9;
    margin-bottom: 6px;
}

.doc-meta {
    font-size: .85rem;
    opacity: .7;
    margin-bottom: 8px;
}
.benefit-request-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 28px 32px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

.section-title {
    font-weight: 600;
    color: #e3eef9;
    letter-spacing: .5px;
    text-shadow: 0 0 8px rgba(97,184,255,0.3);
}

.benefit-request-form label {
    color: #cfe1f5;
    font-weight: 500;
    margin-bottom: 4px;
}

.benefit-request-form .form-control {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #e6eef8;
    border-radius: 10px;
    transition: border .2s, box-shadow .2s;
}

.benefit-request-form .form-control::placeholder {
    color: #aabbc9;
}

.benefit-request-form .form-control:focus {
    border-color: #5bbcff;
    box-shadow: 0 0 10px rgba(91,188,255,0.4);
}

.submit-button {
    font-weight: 600;
    letter-spacing: .3px;
    background: linear-gradient(90deg, #007bff, #3dc4ff);
    border: none;
    padding: 12px;
    border-radius: 10px;
    color: white;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.submit-button:hover {
    opacity: 0.92;
    box-shadow: 0 0 12px rgba(61,196,255,0.45);
}
.event-detail-wrapper {
    max-width: 950px;
    margin: 0 auto;
    padding: 20px 24px;
    background: rgb(43 40 40 / 76%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

.event-title {
    color: #e8f1ff;
    font-weight: 600;
    font-size: 2.1rem;
    text-shadow: 0 0 10px rgba(97,184,255,0.25);
}

.event-meta {
    color: #b9c7d9;
    font-size: 1rem;
    border-left: 3px solid #2cb4ff;
    padding-left: 8px;
    margin-top: 8px;
}

.event-gallery {
    display: flex;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
}

.event-photo-main {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.event-photo-main:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(60,160,255,0.45);
}

.event-description {
    color: #dce6f4;
    font-size: 1.17rem;
    line-height: 1.58;
    letter-spacing: .2px;
    margin-top: 10px;
}

.back-btn {
    padding: 10px 16px;
    font-size: 1.05rem;
    border-radius: 10px;
    transition: .25s;
}

.back-btn:hover {
    box-shadow: 0 0 14px rgba(100,180,255,0.45);
}
/* Hero Section */
.hero-section {
    background-color: #0d6efd;
    position: relative;
    color: white;
    padding-top: 120px;
    padding-bottom: 120px;
    text-align: center;
    border-bottom: 5px solid #0062cc;
}

.hero-section .fade-in {
    animation: fadeIn 1s ease-in-out;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}

.advantages .card {
    transition: transform 0.3s ease;
}

.advantages .card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-weight: bold;
    color: #333;
}

.card-text {
    color: #333333;
}

.news .card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    background-color: #f8f9fa;
}

.btn-outline-light:hover {
    background-color: #0d6efd;
    color: white;
}

a.btn-primary {
    background-color: #007bff;
    border: none;
}

a.btn-primary:hover {
    background-color: #0056b3;
}
.hero-section {
    background-color: #0d6efd;
    position: relative;
    color: white;
    padding-top: 120px;
    padding-bottom: 120px;
    text-align: center;
    border-bottom: 5px solid #0062cc;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    transition: background-image 1s ease-in-out;
}
