:root {
    --main-dark-blue: #3666a0;
    --pattern-turquoise-blue: #357593;
    --badge-dark-blue: #15253e;
    --beige: #fff6d2;
    --bird-color: #f0eddc;
    --orange: #e79d5e;
    --black: #131313;
    --white: #ffffff;
    --gray: #b0aea9;
    --light-blue: #b8daef;
    --light-blue-old: #c7dffc;
}

.header-image {
    background-image: url('../images/cls_head.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right;
}
/* Стили для фонового изображения шапки */
.header-background {
    background-image: url('../images/header.jpg');
    background-repeat: no-repeat;
    min-height: 180px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #f8f9fa; /* Фон на случай если изображение не загрузится */
}

/* Стили для логотипа Победы - УВЕЛИЧЕННЫЙ РАЗМЕР */
.victory-logo {
    max-height: 267px !important;
    height: auto;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
    float: right;
    margin-top: -270px;
}

.victory-logo:hover {
    transform: scale(1.05);
}

/* Центральный заголовок */
.site-title-container {
    padding: 20px;
    text-align: center;
}

.site-title {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    color: #0d6efd !important;
    font-size: 2.8rem !important;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .header-background {
        min-height: 150px;
        background-size: cover;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .header-background {
        min-height: 120px;
        background-size: cover;
    }

    .header-background .row {
        text-align: center;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    /* Изменяем порядок для мобильных */
    .header-background .col-3 {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .header-background .col-6 {
        width: 100%;
        order: 1;
    }

    .header-background .order-1 {
        order: 2;
    }

    .header-background .order-3 {
        order: 3;
    }

    .site-title-container {
        display: none;
    }
}


body{
    background: #c7dffc;
}

.min-w-350 {
    min-width: 350px;
}

ul.main > li > a.nav-link {
    color: white;
}

ul.main > li > a.nav-link {
    color: white;
}

.bg-blue {
    background-color: var(--bs-blue);
}

.site-title {
    font-size: 3.2rem;
    margin: 0;
    text-transform: uppercase;
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.eye-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eye {
    font-size: 16px;
    font-weight: bold;
    color: #6c757d;
    margin: 0;
    white-space: nowrap;
}

.home-menu{
    margin: 40px 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.menu-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.menu-card:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, #0d6efd, #6f42c1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.menu-card:hover:before {
    opacity: 1;
}

.menu-card a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    display: block;
    width: 100%;
    transition: color 0.3s ease;
}

.menu-card:hover a {
    color: #0d6efd;
}

.menu-card .icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

footer {
    background: #062857;
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 50px;
}

.footer-content{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section{
    flex: 1;
    min-width: 250px;
}

.footer-section h5{
    color: #4facfe;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #4facfe;
    padding-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #4facfe;
    width: 20px;
}

.ad-space {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

.rounded{
    margin-top: 30px;
}
.mass-biblio{
    text-align: center;
}
.survey-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}
.survey-title {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.question {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
.question-number {
    font-weight: bold;
    color: #0d6efd;
}
.form-check {
    margin-bottom: 8px;
}
.btn-submit {
    background-color: #0d6efd;
    color: white;
    padding: 10px 30px;
    font-size: 1.1rem;
}
.btn-submit:hover {
    background-color: #0b5ed7;
    color: white;
}
.required {
    color: red;
}
.conditional-question {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.content-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}
.content-title {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.library-card {
    border-left: 4px solid #0d6efd;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 0 5px 5px 0;
}
.library-name {
    font-weight: bold;
    color: #0d6efd;
    margin-bottom: 5px;
}
.library-address {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.library-phone {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.facility-list {
    margin: 0;
    padding-left: 20px;
}
.facility-list li {
    margin-bottom: 5px;
}
.portal-card {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
}
.portal-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.portal-name {
    font-weight: bold;
    color: #0d6efd;
}
/* Новые стили для страницы "О ЦБС" */
.about-section {
    margin-bottom: 40px;
}

.about-title {
    color: #0d6efd;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd;
}

.history-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: none;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #0d6efd, #6f42c1);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: #0d6efd;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #0d6efd;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.award-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #0d6efd, #6f42c1);
}

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

.award-year {
    background: #0d6efd;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.stats-counter {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0d6efd;
    margin-bottom: 5px;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-badge {
    display: inline-block;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.85rem;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.innovation-section {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.innovation-section h3 {
    color: white;
    margin-bottom: 20px;
}

.media-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.media-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.media-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: white;
}

.milestone-highlight {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: center;
}

.milestone-year {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    opacity: 0.9;
}

.milestone-text {
    font-size: 1.2rem;
    margin-bottom: 0;
}
/* Стили для страницы услуг */
.services-section {
    margin-bottom: 40px;
}

.services-title {
    color: #0d6efd;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd;
}

.service-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0d6efd, #6f42c1);

}

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

.service-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 20px;
    text-align: center;
}

.service-category {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.service-category h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.service-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.5;
}

.service-list li:before {
    content: "▸";
    color: #0d6efd;
    font-weight: bold;
    position: absolute;
    left: 10px;
    font-size: 1.2rem;
}

.sub-service {
    background: rgba(13, 110, 253, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    border-left: 3px solid #0d6efd;
    font-size: 0.9rem;
}

.badge-service {
    background-color: #0d6efd;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .service-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .service-category {
        padding: 15px;
        margin-bottom: 20px;
    }

    .service-category h3 {
        font-size: 1.3rem;
    }

    .embed-responsive {
        position: relative;
        display: block;
        width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .embed-responsive::before {
        display: block;
        content: "";
    }

    .embed-responsive-16by9::before {
        padding-top: 56.25%;
    }

    .embed-responsive-item {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }


}
.preview-iframe {
    width: 100%;
    height: 80vh;
    min-height: 720px;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    display: block;
}
.section-title {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.section-title[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.section-title .fa-chevron-down {
    transition: transform 0.3s ease;
}

.material-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #0d6efd;
}

.material-content {
    margin-top: 15px;
}

.btn-group-sm {
    margin-top: 10px;
}
.eco-feature {
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid #28a745;
}
.quote-block {
    background: rgba(13, 110, 253, 0.1);
    border-left: 4px solid #0d6efd;
    padding: 15px;
    margin: 15px 0;
    font-style: italic;
}
.events-section {
    margin-bottom: 40px;
}

.events-title {
    color: #0d6efd;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd;
}

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

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

.event-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #e9ecef;
}

.event-date {
    font-weight: bold;
    color: #2c3e50;
    font-size: 0.95rem;
    margin: 0;
}

.event-age {
    background: #0d6efd;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0;
}

.event-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 52px;
}

.event-description {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-location {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #0d6efd;
}

.location-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.location-address {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.event-price {
    font-weight: 600;
    color: #28a745;
    margin: 0;
    font-size: 0.95rem;
}

.btn-event {
    background: #0d6efd;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.btn-event:hover {
    background: #0b5ed7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.btn-pushkin {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    font-size: 0.8rem;
    padding: 8px 12px;
}

.btn-pushkin:hover {
    background: linear-gradient(135deg, #ee5a24, #c44512);
    box-shadow: 0 4px 8px rgba(238, 90, 36, 0.3);
}

/* Стили для модальных окон */
.modal-event-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.event-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.event-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.event-detail-item i {
    color: #0d6efd;
    width: 20px;
    margin-right: 10px;
}

.modal-contact-info {
    background: #e7f1ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .event-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-event {
        width: 100%;
        text-align: center;
    }

    .event-title {
        min-height: auto;
        font-size: 1.2rem;
    }
}

/* Стили для карточки новости */
.news-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.news-header {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    padding: 25px 30px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-category {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}

.news-body {
    padding: 30px;
    overflow: hidden;
}

.news-content {
    overflow: hidden;
    height: auto;
}

.news-content p {
    margin-bottom: 1.2rem;
}

.news-image-main {
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 30px 0 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    float: left;
}

.author-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid #0d6efd;
}

.author-title {
    color: #0d6efd;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.author-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.detail-item i {
    color: #0d6efd;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Галерея */
.gallery-section {
    margin: 25px 0;
}

.gallery-title {
    color: #0d6efd;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-vk { background: #4c75a3; }
.btn-telegram { background: #0088cc; }
.btn-ok { background: #ee8208; }

/* Модальное окно галереи */
.modal-gallery .modal-dialog {
    max-width: 90%;
    max-height: 90vh;
}

.modal-gallery .modal-content {
    background: transparent;
    border: none;
}

.modal-gallery .modal-body {
    padding: 0;
    text-align: center;
}

.modal-gallery-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.gallery-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .news-header {
        padding: 20px;
    }

    .news-title {
        font-size: 1.3rem;
    }

    .news-body {
        padding: 20px;
    }

    .news-image-main {
        height: 200px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .share-buttons {
        justify-content: center;
    }
}

.events-section {
    margin-bottom: 40px;
}

.events-title {
    color: #0d6efd;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd;
}

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

.event-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    border-left: 4px solid #0d6efd;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.event-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #e9ecef;
}

.event-date {
    font-weight: bold;
    color: #2c3e50;
    font-size: 0.95rem;
    margin: 0;
}

.event-age {
    background: #0d6efd;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0;
}

.event-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 52px;
}

.event-description {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-location {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #0d6efd;
}

.location-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.location-address {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.event-price {
    font-weight: 600;
    color: #28a745;
    margin: 0;
    font-size: 0.95rem;
}

.btn-event {
    background: #0d6efd;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.btn-event:hover {
    background: #0b5ed7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.btn-pushkin {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    font-size: 0.8rem;
    padding: 8px 12px;
}

.btn-pushkin:hover {
    background: linear-gradient(135deg, #ee5a24, #c44512);
    box-shadow: 0 4px 8px rgba(238, 90, 36, 0.3);
}

/* Стили для модальных окон */
.modal-event-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.event-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.event-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.event-detail-item i {
    color: #0d6efd;
    width: 20px;
    margin-right: 10px;
}

.modal-contact-info {
    background: #e7f1ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .event-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-event {
        width: 100%;
        text-align: center;
    }

    .event-title {
        min-height: auto;
        font-size: 1.2rem;
    }
}

.events-section {
    margin-bottom: 40px;
}

.events-title {
    color: #0d6efd;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd;
}

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

.event-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    border-left: 4px solid #0d6efd;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.event-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #e9ecef;
}

.event-date {
    font-weight: bold;
    color: #2c3e50;
    font-size: 0.95rem;
    margin: 0;
}

.event-age {
    background: #0d6efd;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0;
}

.event-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 52px;
}

.event-description {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-location {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #0d6efd;
}

.location-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.location-address {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.event-price {
    font-weight: 600;
    color: #28a745;
    margin: 0;
    font-size: 0.95rem;
}

.btn-event {
    background: #0d6efd;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.btn-event:hover {
    background: #0b5ed7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.btn-pushkin {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    font-size: 0.8rem;
    padding: 8px 12px;
}

.btn-pushkin:hover {
    background: linear-gradient(135deg, #ee5a24, #c44512);
    box-shadow: 0 4px 8px rgba(238, 90, 36, 0.3);
}

/* Стили для модальных окон */
.modal-event-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.event-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.event-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.event-detail-item i {
    color: #0d6efd;
    width: 20px;
    margin-right: 10px;
}

.modal-contact-info {
    background: #e7f1ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .event-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-event {
        width: 100%;
        text-align: center;
    }

    .event-title {
        min-height: auto;
        font-size: 1.2rem;
    }
}
/* Стили для футера с увеличенными баннерами */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.partner-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.partner-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.partner-img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.resource-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.resource-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.resource-img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.main-banner-section {
    margin: 40px 0;
}

.main-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.main-banner-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.main-banner-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.main-banner-img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Адаптивность для футера */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .partners-grid,
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .main-banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .partner-item,
    .resource-item {
        min-height: 100px;
        padding: 12px;
    }

    .main-banner-item {
        min-height: 120px;
        padding: 15px;
    }

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

    .resource-img {
        max-height: 70px;
    }

    .main-banner-img {
        max-height: 100px;
    }
}

/* Стили для карточки новости */
.news-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.news-header {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    padding: 25px 30px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-category {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}

.news-body {
    padding: 30px;
    overflow: hidden;
}

.news-content {
    overflow: hidden;
    height: auto;
}

.news-content p {
    margin-bottom: 1.2rem;
}

.news-image-main {
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 30px 0 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    float: left;
}

.author-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid #0d6efd;
}

.author-title {
    color: #0d6efd;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.author-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.detail-item i {
    color: #0d6efd;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Галерея */
.gallery-section {
    margin: 25px 0;
}

.gallery-title {
    color: #0d6efd;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-vk { background: #4c75a3; }
.btn-telegram { background: #0088cc; }
.btn-ok { background: #ee8208; }

/* Модальное окно галереи */
.modal-gallery .modal-dialog {
    max-width: 90%;
    max-height: 90vh;
}

.modal-gallery .modal-content {
    background: transparent;
    border: none;
}

.modal-gallery .modal-body {
    padding: 0;
    text-align: center;
}

.modal-gallery-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.gallery-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .news-header {
        padding: 20px;
    }

    .news-title {
        font-size: 1.3rem;
    }

    .news-body {
        padding: 20px;
    }

    .news-image-main {
        height: 200px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .share-buttons {
        justify-content: center;
    }
}

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

    .main-banner-grid {
        grid-template-columns: 1fr;
    }
}

/* Стили для карточки новости */
.news-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.news-header {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    padding: 25px 30px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-category {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}

.news-body {
    padding: 30px;
    overflow: hidden;
}

.news-content {
    overflow: hidden;
    height: auto;
}

.news-content p {
    margin-bottom: 1.2rem;
}

.news-image-main {
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 30px 0 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    float: left;
}

.author-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid #0d6efd;
}

.author-title {
    color: #0d6efd;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.author-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.detail-item i {
    color: #0d6efd;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Галерея */
.gallery-section {
    margin: 25px 0;
}

.gallery-title {
    color: #0d6efd;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-vk { background: #4c75a3; }
.btn-telegram { background: #0088cc; }
.btn-ok { background: #ee8208; }

/* Модальное окно галереи */
.modal-gallery .modal-dialog {
    max-width: 90%;
    max-height: 90vh;
}

.modal-gallery .modal-content {
    background: transparent;
    border: none;
}

.modal-gallery .modal-body {
    padding: 0;
    text-align: center;
}

.modal-gallery-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.gallery-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .news-header {
        padding: 20px;
    }

    .news-title {
        font-size: 1.3rem;
    }

    .news-body {
        padding: 20px;
    }

    .news-image-main {
        height: 200px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .share-buttons {
        justify-content: center;
    }
}
.national-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

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

.project-content {
    padding: 20px;
}

.project-title {
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 10px;
}
.history-section {
    margin-bottom: 50px;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-item {
    padding: 20px 0;
    position: relative;
}

.timeline-year {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #0d6efd;
    margin-left: 30px;
}

.timeline-content:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.achievement-badge {
    background: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .timeline-content {
        margin-left: 0;
    }
}
.pdf-container {
    width: 100%;
    height: 100vh;
    border: none;
    background: white;
}

.pdf-header {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    padding: 15px 0;
    margin-bottom: 0;
}

.back-button {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #e9ecef;
    transform: translateX(-3px);
}

 .service-card {
     background: white;
     border-radius: 12px;
     padding: 25px;
     box-shadow: 0 5px 15px rgba(0,0,0,0.08);
     border-left: 4px solid #0d6efd;
 }

.service-category {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #0d6efd;
}

.video-section .card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.embed-responsive-16by9 {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive-16by9::before {
    display: block;
    content: "";
    padding-top: 56.25%;
}

.embed-responsive-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
