/* Основные переменные цветов */
:root {
    --primary-color: #1F4B99;
    --secondary-color: #6091ba;
    --background-color: #fefefe;
    --text-color: #333333;
    --white: #ffffff;
    --gray-light: #f5f5f5;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* О программе */
.about-program {
    background-color: var(--white);
    color: var(--text-color);
    padding: 30px 0;
}

.about-program h2 {
    color: var(--primary-color);
}

.about-program p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-program .learn-more {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #2563eb;
    transition: all 0.3s ease;
}

.about-program .learn-more:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

/* Реализация Программы */
.program-implementation {
    background-color: var(--white);
}

.content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.text-content {
    flex: 1;
    max-width: 600px;
}

.text-content h2 {
    text-align: left;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.image-content {
    flex: 0 0 auto;
    text-align: center;
}

.putin-photo {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Опросы */
.surveys {
    background-color: var(--gray-light);
}

.survey-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.survey-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.icon-svg {
    width: 80px;
    height: 80px;
}

.survey-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.survey-card p {
    color: #000;
    margin-bottom: 25px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 15% auto;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-content h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Организаторы */
.organizers {
    background-color: var(--primary-color);
    color: var(--white);
}

.organizers h2 {
    color: var(--white);
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.logo {
    max-height: 80px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: brightness(0) invert(0.8);
}

/* Footer */
footer {
    background-color: #333;
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

footer p {
    font-size: 0.9rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
        white-space: normal;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        max-width: 100%;
    }

    .text-content h2 {
        text-align: center;
    }

    .putin-photo {
        max-width: 250px;
    }

    .survey-cards {
        grid-template-columns: 1fr;
    }

    .logos-grid {
        gap: 20px;
    }

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

    section {
        padding: 40px 0;
    }

    .modal-content {
        padding: 25px;
        margin: 20% auto;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.4rem;
    }

    header {
        padding: 20px 0;
    }

    .about-program p,
    .text-content p {
        font-size: 1rem;
    }

    .survey-card {
        padding: 30px 20px;
    }

    .card-icon {
        font-size: 3rem;
    }

    .survey-card h3 {
        font-size: 1.3rem;
    }
}
