/* Основные стили - минималистичный дизайн */
:root {
    --primary-color: #333333;
    --secondary-color: #666666;
    --accent-color: #c4c4c4;
    --background-color: #ffffff;
    --background-alt: #f8f8f8;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --border-color: #eeeeee;
    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --logo-text-color: #4CAF50; /* Зеленый цвет для текста логотипа */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 100px; /* Added to account for fixed header height */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; /* disable selection */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0; /* Уменьшаем вертикальный отступ для секций */
}

/* Минималистичный хедер */
.header-minimal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 10px 0; /* Consistent vertical padding */
}

.header-minimal .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px; /* Fixed height to perfectly accommodate 80px logo + padding */
    flex-wrap: nowrap; /* Prevent navigation from wrapping to next line */
}

.header-content-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure it takes full width of its parent */
}

.logo-minimal {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Добавлено, чтобы логотип не сжимался */
}

.logo-image {
    width: 230px; /* Exact width as specified */
    height: 80px; /* Exact height as specified */
    object-fit: contain; /* Ensure the image fits without cropping */
    flex-shrink: 0; /* Prevent shrinking below defined size */
    display: block; /* Ensure it behaves as a block element */
}

.logo-minimal p {
    display: none;
}

.nav-minimal {
    display: flex;
    align-items: center;
    min-width: 0; /* Добавлено, чтобы навигация могла уменьшаться */
}

.nav-menu-minimal {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    align-items: center;
    position: static; /* Убеждаемся, что на десктопе меню не фиксированное */
    flex-wrap: nowrap; /* Предотвращаем перенос строк */
}

.nav-menu-minimal li {
    display: flex;
    align-items: center;
    white-space: nowrap; /* Предотвращаем разрыв текста */
}

.nav-menu-minimal li a {
    font-size: 0.95rem;
    padding: 5px 0;
    line-height: 1.2;
    padding-bottom: 5px;
    white-space: nowrap; /* Предотвращаем разрыв текста */
    text-align: center;
}

.nav-menu-minimal li a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu-minimal li a:hover::after,
.nav-menu-minimal li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none; /* Скрываем кнопку мобильного меню на десктопе */
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    padding: 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 11px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 22px;
}

/* Минималистичный баннер */
.hero-minimal {
    background-image: url('../images/logos.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 120px 0;
    color: var(--text-light);
}

.hero-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85); /* Изменен цвет оверлея на более светлый */
}

.hero-content-minimal {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content-minimal h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content-minimal p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-minimal {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-minimal:hover {
    background-color: #000;
    transform: translateY(-3px);
}

.btn-minimal-outline {
    display: inline-block;
    padding: 11px 29px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 0;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-minimal-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Минималистичные заголовки секций */
.section-header-minimal {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем содержимое */
    margin-bottom: 40px;
}

.section-header-minimal h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
}

.minimal-divider {
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 10px auto 20px auto; /* Центрируем разделитель */
}

.section-header-minimal p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 10px; /* Уменьшаем отступ под вступительным текстом */
    max-width: 700px; /* Ограничиваем ширину текста, чтобы он не растягивался на всю ширину */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Минималистичная секция о нас */
.about-minimal {
    background-color: var(--background-color);
}

.about-content-minimal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-text-minimal h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.about-text-minimal p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.minimal-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.minimal-list li:before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.direction-cards-minimal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.card-minimal {
    background-color: var(--background-alt);
    padding: 30px;
    transition: var(--transition);
}

.card-minimal:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-icon-minimal {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-minimal h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.card-minimal p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Минималистичные проекты */
.projects-minimal {
    background-color: var(--background-alt);
}

.projects-grid-minimal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.project-card-minimal {
    background-color: var(--background-color);
    transition: var(--transition);
    padding: 30px;
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.project-card-minimal:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.project-card-minimal:hover .project-image {
    transform: scale(1.02);
}

.project-content-minimal h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.project-content-minimal p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-minimal-small {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.85rem;
}

.btn-minimal-small:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

/* Минималистичные программы */
.programs-minimal {
    background-color: var(--background-color);
}

.programs-content-minimal {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
}

.program-tabs-minimal {
    display: flex;
    flex-direction: column;
}

.tab-minimal {
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
    background-color: transparent;
    border-left: 2px solid var(--border-color);
}

.tab-minimal:hover,
.tab-minimal.active {
    color: var(--primary-color);
    background-color: var(--background-alt);
    border-left: 2px solid var(--primary-color);
}

.program-content-minimal {
    background-color: var(--background-alt);
    padding: 40px;
}

.program-details-minimal {
    display: none;
}

.program-details-minimal.active {
    display: block;
}

.program-details-minimal h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.program-details-minimal p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.program-documents-minimal {
    margin-top: 30px;
}

.document-link-minimal {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.document-link-minimal i {
    margin-right: 10px;
}

.document-link-minimal:hover {
    opacity: 0.8;
}

/* Минималистичный журнал */
.journal-minimal {
    background-color: var(--background-alt);
}

.journal-content-minimal {
    max-width: 800px;
    margin: 0 auto;
}

.journal-info-minimal h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-weight: 600;
}

.journal-info-minimal p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.journal-contact-minimal {
    background-color: var(--background-color);
    padding: 30px;
    margin: 30px 0;
}

.journal-contact-minimal h3 {
    margin-top: 0;
}

.pdf-spoiler-btn-minimal {
    text-align: center;
    margin: 30px 0;
}

.btn-pdf-spoiler-minimal {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-pdf-spoiler-minimal:hover {
    background-color: #000;
}

.pdf-viewer-minimal {
    margin-top: 30px;
}

.pdf-container-minimal {
    width: 100%;
    height: 600px;
}

.pdf-container-minimal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-download-bottom-minimal {
    display: block;
    text-align: center;
    padding: 15px;
    background-color: var(--primary-color);
    color: #fff;
    margin-top: 20px;
}

/* Минималистичные контакты */
.contact-minimal {
    background-color: var(--background-color);
}

.contact-content-minimal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-column-minimal {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item-minimal {
    display: flex;
    gap: 20px;
    background-color: var(--background-alt);
    padding: 30px;
    min-height: 150px; /* Adjust this value as needed to match height */
    align-items: center;
}

.info-item-minimal i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item-minimal h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

.info-item-minimal p {
    color: var(--text-light);
}

.social-links-minimal {
    background-color: var(--background-alt);
    padding: 30px;
    min-height: 150px; /* Adjust this value as needed to match height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
}

.social-links-minimal h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

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

.social-icons-minimal a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    transition: var(--transition);
}

.social-icons-minimal a:hover {
    background-color: #000;
    transform: translateY(-3px);
}

/* Минималистичный футер */
.footer-minimal {
    background-color: var(--background-alt);
    padding: 80px 0 20px;
}

.footer-content-minimal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-minimal h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-logo-minimal p {
    color: var(--text-light);
}

.footer-links-minimal h3, 
.footer-contact-minimal h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.footer-links-minimal ul li {
    margin-bottom: 10px;
}

.footer-links-minimal ul li a {
    color: var(--text-light);
}

.footer-links-minimal ul li a:hover {
    color: var(--primary-color);
}

.footer-contact-minimal p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-light);
}

.footer-contact-minimal i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom-minimal {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-lighter);
    font-size: 0.9rem;
}

/* Адаптивность для минималистичного дизайна */
@media (max-width: 1200px) {
    .about-content-minimal,
    .footer-content-minimal {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .about-content-minimal,
    .footer-content-minimal {
        grid-template-columns: 1fr;
    }
    
    .direction-cards-minimal {
        margin-top: 40px;
    }
    
    .programs-content-minimal {
        grid-template-columns: 1fr;
    }
    
    .program-tabs-minimal {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
    }
    
    .tab-minimal {
        white-space: nowrap;
        border-left: none;
        border-bottom: 2px solid var(--border-color);
    }
    
    .tab-minimal:hover,
    .tab-minimal.active {
        border-left: none;
        border-bottom: 2px solid var(--primary-color);
    }
    
    .projects-grid-minimal {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Улучшаем навигацию для планшетов */
    .nav-menu-minimal {
        gap: 15px;
    }
    
    .nav-menu-minimal li a {
        font-size: 0.85rem;
        padding: 6px 3px;
    }
}

@media (max-width: 768px) {
    .header-minimal .container {
        height: auto;
        flex-wrap: wrap; /* Разрешаем перенос элементов на мобильных */
    }
    .mobile-menu-btn {
        display: block; /* Отображаем кнопку мобильного меню на мобильных устройствах */
    }
    
    .nav-menu-minimal {
        flex-direction: column;
        position: fixed;
        top: 90px; /* Должен соответствовать высоте хедера */
        left: -100%; /* Изначально скрыто */
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--background-alt);
        padding: 20px;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
        z-index: 999;
        /* Убедимся, что навигация не отображается на десктопе */
        display: none;
        gap: 15px;
    }
    
    .nav-menu-minimal li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu-minimal li a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }
    
    .nav-menu-minimal li a:hover {
        background-color: var(--background-color);
        color: var(--logo-text-color);
    }
    
    .nav-menu-minimal.active {
        left: 0;
        display: flex; /* Отображаем меню при активации */
    }
    
    /* Анимация кнопки мобильного меню при активном состоянии */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-minimal {
        width: 100%; /* На мобильных навигация занимает всю ширину */
        justify-content: center; /* Центрируем элементы на мобильных */
    }
    
    .direction-cards-minimal {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .contact-content-minimal {
        grid-template-columns: 1fr;
    }
    
    .projects-grid-minimal {
        grid-template-columns: 1fr;
    }
} 

/* Добавляем стили для десктопа, чтобы переопределить мобильные стили, если они случайно применяются */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
    .nav-minimal {
        display: flex;
        flex-grow: 1; /* Allow nav-minimal to take available space */
        justify-content: flex-end; /* Push menu to the right */
        align-items: center;
        min-width: 0;
    }
    .nav-menu-minimal {
        display: flex;
        flex-direction: row;
        position: static;
        height: auto;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
        transition: none;
        z-index: auto;
        flex-wrap: nowrap;
        min-width: 0;
        gap: 20px; /* Уменьшаем отступы между пунктами меню */
    }
    
    .nav-menu-minimal li a {
        font-size: 0.9rem; /* Немного уменьшаем размер шрифта */
        padding: 8px 4px; /* Увеличиваем вертикальные отступы, уменьшаем горизонтальные */
        white-space: nowrap;
        text-align: center;
        position: relative;
        transition: color 0.3s ease;
    }
    
    .nav-menu-minimal li a:hover {
        color: var(--logo-text-color); /* При наведении меняем цвет на зеленый */
    }
}

/* About Section Styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Projects Grid Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* News Grid Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card-minimal {
    background: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.letter-item {
    cursor: pointer;
    transition: var(--transition);
}

.letter-item:hover {
    transform: scale(1.05);
}

/* Letters Grid Styles */
.letters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.letter-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card-minimal {
    text-align: center;
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Contact Section Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Modal Styles */
.modal-minimal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content-minimal {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    padding: 20px;
    background-color: var(--background-color);
    border-radius: 8px;
}

.close-button-minimal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--text-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close-button-minimal:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .modal-content-minimal {
        width: 95%;
        padding: 10px;
    }
}

.header-content-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure it takes full width of its parent */
}

/* Стили для страницы о предотвращении насилия */
.content-minimal {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-header-minimal {
    text-align: center;
    margin-bottom: 40px;
}

.content-header-minimal h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.date-minimal {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.content-text-minimal {
    line-height: 1.8;
}

.content-text-minimal h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 40px 0 20px;
}

.content-text-minimal p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.minimal-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.minimal-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.minimal-list li:before {
    content: "•";
    color: var(--accent-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

@media (max-width: 768px) {
    .content-header-minimal h2 {
        font-size: 2rem;
    }

    .content-text-minimal h3 {
        font-size: 1.5rem;
    }

    .content-text-minimal p,
    .minimal-list li {
        font-size: 1rem;
    }
}

/* Gallery Modal Navigation Buttons */
.prev-next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0,0,0,0.8); /* Темный фон для лучшей видимости */
    z-index: 2;
}

.prev-next-btn:hover {
    background-color: rgba(0,0,0,1);
}

/* Position the "next button" to the right */
#nextGalleryBtn {
    right: 0;
    border-radius: 3px 0 0 3px;
}

#prevGalleryBtn {
    left: 0;
    border-radius: 0 3px 3px 0;
}

@media (max-width: 768px) {
    .prev-next-btn {
        font-size: 16px;
        padding: 10px;
        margin-top: -15px;
    }
}

/* Upcoming Courses Section Styles */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px; /* Уменьшаем отступ для большей компактности */
    margin-top: 50px;
}

.course-card-minimal {
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    border: 1px solid var(--border-color); /* Добавляем легкую рамку */
    min-height: 280px; /* Устанавливаем минимальную высоту для одинаковых карточек */
}

.course-card-minimal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Увеличиваем тень при наведении */
}

.course-card-minimal h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px; /* Уменьшаем отступ */
    line-height: 1.3; /* Улучшаем читаемость заголовка */
}

.course-card-minimal p {
    font-size: 0.95rem; /* Немного уменьшаем размер шрифта */
    color: var(--text-light);
    margin-bottom: 20px; /* Уменьшаем отступ */
    flex-grow: 1;
    line-height: 1.6;
}

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

/* Styles for Gallery Section */
.gallery-minimal {
    padding: 60px 0;
    background-color: var(--background-color);
}

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

.gallery-item-minimal {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item-minimal:hover {
    transform: scale(1.03);
}

.gallery-item-minimal img {
    width: 100%;
    height: 250px; /* Fixed height for consistent look */
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .gallery-grid-minimal {
        grid-template-columns: 1fr;
    }
    .gallery-item-minimal img {
        height: 200px;
    }
}

/* Styles for kyrs1.html */
.course-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 10px;
    font-weight: 500;
}

.course-description {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: 20px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.course-buttons-container {
    text-align: center;
    margin-top: 40px;
}

.course-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.course-selection-grid .btn-minimal {
    padding: 10px 15px;
    font-size: 0.85rem;
}

.discussion-button {
    margin-top: 30px;
    display: inline-block;
}

.info-block-minimal {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.info-block-minimal h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.info-block-minimal ul {
    list-style: none;
    padding: 0;
}

.info-block-minimal ul li {
    display: flex;
    align-items: flex-start; /* Выравнивает элементы по верхнему краю */
    margin-bottom: 15px;
    line-height: 1.4;
}

.info-block-minimal ul li:last-child {
    margin-bottom: 0;
}

.info-block-minimal ul li i {
    color: var(--logo-text-color);
    font-size: 1.2rem;
    margin-right: 15px; /* Отступ между иконкой и текстом */
    flex-shrink: 0; /* Предотвращает сжатие иконки */
    padding-top: 2px; /* Небольшой отступ сверху для визуального выравнивания */
}

.info-block-minimal ul li strong {
    margin-right: 5px; /* Небольшой отступ после жирного текста */
}

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

.result-item {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
}

.result-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.result-item h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.result-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Accordion Styles */
.accordion-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    background-color: var(--background-alt);
    color: var(--primary-color);
    cursor: pointer;
    padding: 20px 25px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #e0e0e0;
}

.accordion-header.active {
    background-color: var(--accent-color);
    color: #fff;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 25px;
    background-color: var(--background-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content p {
    padding: 15px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* PDF Viewer Styles */
.pdf-viewer-container {
    margin-top: 40px;
    text-align: center;
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.pdf-viewer-container iframe {
    width: 100%;
    height: 700px; /* Adjust height as needed */
    border-radius: 8px;
}

@media (max-width: 768px) {
    .course-description {
        font-size: 1rem;
    }
    .course-selection-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    .course-selection-grid .btn-minimal {
        font-size: 0.75rem;
        padding: 8px 10px;
    }
    .info-block-minimal h3 {
        font-size: 1.5rem;
    }
    .info-block-minimal ul li {
        font-size: 0.9rem;
    }
    .results-grid {
        grid-template-columns: 1fr;
    }
    .result-icon {
        width: 60px;
        height: 60px;
    }
    .result-item h3 {
        font-size: 1.2rem;
    }
    .result-item p {
        font-size: 0.85rem;
    }
    .accordion-header {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .accordion-content p {
        font-size: 0.85rem;
        padding: 10px 0;
    }
    .pdf-viewer-container iframe {
        height: 500px;
    }
}

/* Styles for Sensory Room Hero Section */
.sensory-room-hero {
    /* Override default hero-minimal background/overlay */
    background-image: none; /* Remove background image from main section */
    background-color: transparent; /* Ensure no residual background color */
    padding: 0; /* Remove padding from main section as inner content will have it */
    min-height: 500px; /* Set a minimum height for the whole section */
    position: relative; /* Keep relative positioning for potential future absolute elements */
    color: var(--text-color); /* Reset text color if needed, but text will be explicitly white in text-box */
}

/* Remove the general hero-minimal overlay for this specific hero section */
.sensory-room-hero::before {
    display: none; /* Hide the general overlay */
}

.sensory-room-hero .container {
    width: 100%; /* Ensure container takes full width of its parent */
    max-width: 100%; /* Important: allow it to span full width of viewport */
    padding: 0; /* Remove padding from container to allow full width for split content */
    display: flex; /* Make container a flex item as well to control internal elements */
    align-items: stretch; /* Stretch content within the container */
}

.hero-split-content {
    display: flex;
    width: 100%;
    min-height: inherit; /* Inherit min-height from parent .sensory-room-hero */
}

.hero-text-box {
    flex: 1; /* Take up half the width */
    background-color: #8E6DAB; /* Purple background from image */
    padding: 80px 60px; /* Adjust padding as seen in the image, increased horizontal padding */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: flex-start; /* Align text to the left */
}

.hero-text-box h1 {
    font-size: 3.5rem; /* Larger font size for H1 */
    font-weight: 700; /* Bolder font */
    margin-bottom: 20px;
    color: #fff; /* White text */
    text-align: left;
    line-height: 1.1; /* Adjust line height for better appearance */
}

.hero-text-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #fff; /* White text */
    max-width: 500px; /* Limit width of paragraph for readability */
    text-align: left;
}

.hero-text-box .btn-minimal {
    background-color: transparent; /* No background color for the button */
    border: 2px solid #fff; /* White border */
    color: #fff; /* White text */
    font-size: 1rem;
    padding: 15px 35px; /* Larger padding for the button */
    border-radius: 5px; /* Slightly rounded corners */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-text-box .btn-minimal:hover {
    background-color: #fff; /* White background on hover */
    color: #8E6DAB; /* Purple text on hover */
    transform: none; /* No translateY on hover */
}

.hero-image-box {
    flex: 1; /* Take up the other half */
    background-image: url('https://static.tildacdn.pro/tild3732-3431-4138-b566-626563316533/291624753_4325927085.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* For pseudo-element overlay if needed */
}

/* Media queries for responsiveness */
@media (max-width: 992px) { /* Adjust breakpoint for tablet */
    .sensory-room-hero {
        min-height: auto;
    }
    .sensory-room-hero .container {
        flex-direction: column; /* Stack columns vertically on tablets */
    }
    .hero-split-content {
        flex-direction: column; /* Stack columns vertically on tablets */
    }
    .hero-text-box {
        padding: 50px 30px;
        text-align: center;
        align-items: center; /* Center align text for tablet */
    }
    .hero-text-box h1 {
        font-size: 3rem;
    }
    .hero-text-box p {
        font-size: 1.1rem;
        max-width: 80%; /* Limit width on tablet for better look */
    }
    .hero-image-box {
        min-height: 400px; /* Ensure image box has height on tablet */
    }
}

@media (max-width: 768px) { /* Mobile */
    .hero-text-box {
        padding: 40px 20px;
    }
    .hero-text-box h1 {
        font-size: 2.2rem;
    }
    .hero-text-box p {
        font-size: 1rem;
        max-width: 90%;
    }
    .hero-image-box {
        min-height: 250px; /* Smaller height for mobile */
    }
}

/* Styles for Sensory Room Intro Block */
.sensory-intro-block {
    position: relative;
    padding: 80px 40px;
    background-color: transparent;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sensory-intro-block::before {
    content: '';
    background-image: url('https://optim.tildacdn.pro/tild6635-3866-4732-a238-336435373961/-/resize/350x/-/format/webp/noroot.png.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    opacity: 0.2; /* Adjusted opacity to be slightly more visible */
    z-index: 0;
}

.sensory-intro-block p {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.5;
    max-width: 600px; /* Возвращаем ограничение ширины для лучшего чтения */
    margin-left: auto; /* Центрируем параграф */
    margin-right: auto; /* Центрируем параграф */
    text-align: center; /* Центрируем текст внутри параграфа */
}

.sensory-intro-block p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .sensory-intro-block {
        padding: 60px 20px;
    }
    .sensory-intro-block p {
        font-size: 1.2rem;
        max-width: 90%; /* Адаптируем ширину для мобильных */
        text-align: center; /* Центрируем текст и для мобильных */
    }
    .sensory-intro-block::before {
        width: 200px;
        height: 200px;
        opacity: 0.15; /* Adjust opacity for smaller screens */
    }
}

/* Styles for Stimulators Section */
.stimulators-minimal {
    padding: 60px 0;
    background-color: var(--background-alt);
}

.stimulators-list-minimal {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column */
    gap: 30px; /* Space between items */
    margin-top: 40px;
}

.stimulator-item-minimal {
    display: flex;
    flex-direction: column; /* Default to column for small screens */
    align-items: center; /* Center items on small screens */
    background-color: var(--background-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stimulator-item-minimal:hover {
    transform: translateY(-5px);
}

.stimulator-image-minimal {
    width: 100%;
    height: 250px; /* Fixed height for images */
    overflow: hidden;
}

.stimulator-image-minimal img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block;
}

.stimulator-content-minimal {
    padding: 30px;
    text-align: center; /* Center text on small screens */
}

.stimulator-content-minimal h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.stimulator-content-minimal p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Desktop styles for stimulators */
@media (min-width: 769px) {
    .stimulators-list-minimal {
        grid-template-columns: repeat(2, 1fr); /* Two columns for larger screens */
    }
    .stimulator-item-minimal {
        flex-direction: row; /* Layout image and text side-by-side */
        align-items: stretch; /* Stretch items to fill height */
        text-align: left; /* Align text to the left */
    }
    .stimulator-image-minimal {
        width: 40%; /* Image takes 40% width */
        height: auto; /* Auto height to fit content */
    }
    .stimulator-content-minimal {
        width: 60%; /* Content takes 60% width */
        padding: 40px; /* Adjust padding for desktop */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
}

/* Larger desktop for 3 columns or more */
@media (min-width: 1200px) {
    .stimulators-list-minimal {
        grid-template-columns: repeat(3, 1fr); /* Example for 3 columns if needed */
    }
    .stimulator-item-minimal {
        flex-direction: column; /* Back to column for 3-column layout */
        align-items: center; /* Center items again */
        text-align: center;
    }
    .stimulator-image-minimal {
        width: 100%; /* Full width for image */
        height: 200px; /* Adjusted height for smaller images in 3-column */
    }
    .stimulator-content-minimal {
        width: 100%; /* Full width for content */
        padding: 30px;
        align-items: center;
    }
}

/* Styles for Price Section */
.price-minimal {
    padding: 60px 0;
    background-color: var(--background-color);
}

.price-table-minimal {
    margin-top: 40px;
    overflow-x: auto; /* Enable horizontal scrolling on small screens */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.price-table-minimal table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.price-table-minimal th,
.price-table-minimal td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.price-table-minimal thead th {
    background-color: #8E6DAB; /* Purple header */
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.price-table-minimal tbody tr:nth-child(even) {
    background-color: var(--background-alt);
}

.price-table-minimal tbody tr:hover {
    background-color: #f0f0f0; /* Light hover effect */
}

.price-table-minimal td {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .price-table-minimal {
        padding: 0;
    }
    .price-table-minimal table {
        min-width: 600px; /* Ensure table is wide enough to scroll */
    }
    .price-table-minimal th,
    .price-table-minimal td {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* Styles for Contraindications Section */
.contraindications-minimal {
    padding: 60px 0;
    background-color: var(--background-alt);
}

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

.contraindication-item-minimal {
    text-align: center;
    padding: 30px;
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contraindication-icon-minimal {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contraindication-icon-minimal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contraindication-item-minimal p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contraindications-grid-minimal {
        grid-template-columns: 1fr;
    }
}

/* Styles for FAQ Section (Accordion) */
.faq-minimal {
    padding: 50px 0; /* Немного уменьшаем отступы секции */
    background-color: var(--background-alt);
}

.accordion-container-minimal {
    margin-top: 20px; /* Немного уменьшаем верхний отступ контейнера аккордеона */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners apply to content */
}

.accordion-item-minimal {
    background-color: var(--background-alt);
    margin-bottom: 8px; /* Уменьшаем отступ между элементами аккордеона */
    border-bottom: 1px solid var(--border-color); /* Separator between items */
}

.accordion-item-minimal:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.accordion-header-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px; /* Уменьшаем отступы заголовка */
    cursor: pointer;
    background-color: var(--background-alt);
    transition: background-color 0.3s ease;
}

.accordion-header-minimal:hover {
    background-color: var(--hover-color);
}

.accordion-header-minimal h3 {
    font-size: 1rem; /* Уменьшаем размер шрифта заголовка */
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    flex-grow: 1;
    line-height: 1.3; /* Корректируем межстрочный интервал */
}

.accordion-icon-minimal {
    font-size: 1.2rem; /* Уменьшаем размер иконки */
    color: var(--accent-color);
    margin-left: 10px; /* Уменьшаем отступ слева от иконки */
    transition: transform 0.3s ease;
}

.accordion-header-minimal.active .accordion-icon-minimal {
    transform: rotate(45deg);
}

.accordion-content-minimal {
    padding: 0 20px; /* Уменьшаем горизонтальный отступ */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background-color: var(--background-color);
}

.accordion-content-minimal.active {
    max-height: 500px; /* Adjust based on expected content height */
    padding: 12px 20px; /* Уменьшаем отступы при открытом состоянии */
}

.accordion-content-minimal p {
    font-size: 0.85rem; /* Уменьшаем размер шрифта контента */
    color: var(--text-light);
    line-height: 1.4; /* Уменьшаем межстрочный интервал */
    margin: 0;
}

@media (max-width: 768px) {
    .faq-minimal {
        padding: 40px 0;
    }
    .accordion-header-minimal {
        padding: 10px 12px; /* Еще меньше отступов для мобильных */
    }
    .accordion-header-minimal h3 {
        font-size: 0.9rem;
    }
    .accordion-icon-minimal {
        font-size: 1rem;
    }
    .accordion-content-minimal {
        padding: 0 12px;
    }
    .accordion-content-minimal.active {
        padding: 8px 12px; /* Еще меньше отступов при открытом состоянии на мобильных */
    }
    .accordion-content-minimal p {
        font-size: 0.8rem;
    }
}

/* Styles for Contact Section on Sensory Room page */
.contact-minimal-sensory {
    padding: 60px 0;
    background-color: var(--background-color);
}

.contact-info-grid-sensory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.info-item-sensory {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-icon-sensory {
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0e6f7; /* Light purple background for icons */
    border-radius: 50%;
}

.info-icon-sensory img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.info-item-sensory h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-item-sensory p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.map-container-sensory {
    margin-top: 60px;
    width: 100%;
    height: 400px; /* Fixed height for the map */
    background-color: #e5e3df; /* Placeholder background */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container-sensory iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.social-links-minimal-sensory {
    margin-top: 40px;
    text-align: center;
}

.social-links-minimal-sensory p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.social-icons-minimal {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* The existing .social-icons-minimal a and .social-icons-minimal a:hover styles from main.css will apply here */

@media (max-width: 768px) {
    .contact-info-grid-sensory {
        grid-template-columns: 1fr;
    }
    .map-container-sensory {
        height: 300px;
    }
    .social-links-minimal-sensory p {
        font-size: 1rem;
    }
}

/* Styles for Advantages Section */
.advantages-minimal {
    padding: 15px 0; /* Уменьшаем вертикальный отступ секции еще больше */
    background-color: var(--background-color);
}

.advantages-grid-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Уменьшаем минимальную ширину колонки */
    gap: 6px; /* Уменьшаем отступ между элементами сетки */
    margin-top: 10px; /* Уменьшаем отступ сверху */
}

.advantage-item-minimal {
    text-align: left;
    padding: 8px; /* Уменьшаем внутренние отступы элемента */
    border: 1px solid var(--border-color);
    border-radius: 4px; /* Немного уменьшаем радиус скругления */
    background-color: var(--background-alt);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    transition: var(--transition);
}

.advantage-item-minimal:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px); /* Меньший подъем при наведении */
}

.advantage-icon-minimal {
    margin-bottom: 0;
    margin-right: 4px; /* Уменьшаем отступ справа от иконки */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px; /* Уменьшаем размер контейнера иконки */
    height: 25px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: #f0e6f7;
}

.advantage-icon-minimal img {
    width: 15px; /* Уменьшаем размер изображения иконки */
    height: 15px;
    object-fit: contain;
}

.advantage-text-content {
    flex-grow: 1;
}

.advantage-item-minimal h3 {
    font-size: 0.9rem; /* Уменьшаем размер шрифта заголовка */
    font-weight: 600;
    margin-bottom: 1px; /* Уменьшаем нижний отступ */
    color: var(--primary-color);
}

.advantage-item-minimal p {
    font-size: 0.7rem; /* Уменьшаем размер шрифта параграфа */
    color: var(--text-light);
    line-height: 1.1; /* Уменьшаем межстрочный интервал */
}

/* Media queries for responsiveness */
@media (max-width: 992px) {
    .advantages-grid-minimal {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* Дополнительная настройка для планшетов */
    }
    .advantage-item-minimal {
        padding: 6px; /* Уменьшаем отступы для планшетов */
    }
    .advantage-icon-minimal {
        width: 20px;
        height: 20px;
        margin-right: 4px;
    }
    .advantage-icon-minimal img {
        width: 12px;
        height: 12px;
    }
    .advantage-item-minimal h3 {
        font-size: 0.85rem;
    }
    .advantage-item-minimal p {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .advantages-minimal {
        padding: 10px 0;
    }
    .advantages-grid-minimal {
        gap: 4px;
    }
    .advantage-item-minimal {
        padding: 4px; /* Еще меньше отступов для мобильных */
    }
    .advantage-icon-minimal {
        margin-right: 2px;
        width: 18px;
        height: 18px;
    }
    .advantage-icon-minimal img {
        width: 10px;
        height: 10px;
    }
    .advantage-item-minimal h3 {
        font-size: 0.8rem;
    }
    .advantage-item-minimal p {
        font-size: 0.6rem;
    }
}

/* Slider styles for gallery on newstep.html */
.slider-container {
    max-width: 900px; /* Adjust as needed */
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.mySlides {
    display: none;
    width: 100%;
}

.mySlides img {
    width: 100%;
    height: 500px; /* Fixed height for consistent look */
    object-fit: cover;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little extra opacity */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active.dot,
.dot:hover {
    background-color: var(--primary-color);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .mySlides img {
        height: 300px;
    }

    .prev, .next {
        font-size: 14px;
        padding: 10px;
    }
}

/* Стили для модального окна новостей */
.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.news-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-modal-title {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.news-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.news-modal-body {
    margin-bottom: 20px;
}

.news-modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.news-modal-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.news-modal-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Стили для страницы конференций */
.conferences-content-minimal {
    padding: 60px 0;
    background: #f8f9fa;
}

.upcoming-conferences-minimal {
    padding: 60px 0;
    background: white;
}

.conference-item-minimal {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.conference-item-minimal:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.conference-image-minimal {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.conference-image-minimal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.conference-item-minimal:hover .conference-image-minimal img {
    transform: scale(1.05);
}

.conference-info-minimal {
    padding: 24px;
}

.conference-info-minimal h2 {
    margin: 0 0 16px 0;
    color: #2c3e50;
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 600;
}

.conference-date-minimal {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.conference-info-minimal p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.conference-card-minimal {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.conference-card-minimal:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.conference-card-content-minimal h3 {
    margin: 0 0 12px 0;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
}

.conference-date {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 1rem;
}

.conference-card-content-minimal p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 1rem;
}

.btn-minimal-small {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.85rem;
}

.btn-minimal-small:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.pdf-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Удалены дублирующиеся стили кнопок - используются оригинальные минималистичные стили */

.journal-pdf-blocks {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.journal-pdf-block {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    padding: 30px 24px;
    flex: 1 1 320px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.journal-pdf-block h3 {
    font-size: 18px;
    margin-bottom: 18px;
    color: #333;
}

.pdf-actions {
    display: flex;
    gap: 16px;
}

.conference-articles-minimal {
    padding: 60px 0;
    background: #f9f9f9;
    text-align: center;
}

.conference-articles-minimal .section-header-minimal {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .journal-pdf-blocks {
        flex-direction: column;
        gap: 20px;
    }
    .journal-pdf-block {
        padding: 20px 12px;
    }
} 

/* Стили для модального окна конференций */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-header {
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 600;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #333;
}

.modal-body {
    padding: 24px;
}

.modal-image {
    margin-bottom: 20px;
    text-align: center;
}

.modal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.modal-info {
    color: #495057;
}

.modal-date, .modal-location {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-weight: 500;
}

.modal-date i, .modal-location i {
    color: #667eea;
    width: 20px;
}

.modal-description {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.modal-details h4 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.modal-details p {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    line-height: 1.6;
    white-space: pre-line;
}