/* Додайте цей код до вашого існуючого файлу style.css */

:root {
    --primary-blue: #003876;
    --dark-blue: #002244;
    --bg-gray: #f4f5f7;
    --white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: Arial, sans-serif; }
body { background-color: var(--bg-gray); color: var(--text-main); display: flex; flex-direction: column; min-height: 100vh; }
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* Шапка та навігація */
.site-header { background-color: var(--primary-blue); color: var(--white); padding: 15px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.logo-area { display: flex; align-items: center; gap: 12px; }
.flag-icon { width: 30px; height: 20px; border: 1px solid rgba(255,255,255,0.3); border-radius: 2px; }
.logo-title { font-size: 18px; font-weight: bold; line-height: 1.1; }
.logo-subtitle { font-size: 12px; opacity: 0.8; }
.header-nav { display: flex; gap: 20px; align-items: center; }
.header-nav a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.header-nav a:hover { color: var(--white); text-decoration: underline; }

/* Кнопка "Войти" у шапці */
.btn-login { background-color: transparent; border: 1px solid var(--white); color: var(--white); padding: 6px 16px; border-radius: 4px; font-size: 13px; cursor: pointer; transition: 0.2s; font-weight: bold; }
.btn-login:hover { background-color: var(--white); color: var(--primary-blue); }

/* Фон */
.hero-section { background: linear-gradient(rgba(0, 30, 60, 0.6), rgba(0, 30, 60, 0.6)), url('bg.jpg'); background-size: cover; background-position: center; padding: 50px 0; }
.hero-text { text-align: center; color: var(--white); margin-bottom: 30px; }
.hero-text h2 { font-size: 32px; margin-bottom: 12px; font-weight: bold; }
.hero-text p { font-size: 16px; max-width: 700px; margin: 0 auto; line-height: 1.5; opacity: 0.95; }

/* Картка опитування */
.survey-card { background: var(--white); border-radius: 8px; padding: 35px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); max-width: 750px; margin: 0 auto; min-height: 350px; }

/* Анімація кроків */
.survey-step { display: none; flex-direction: column; gap: 12px; animation: fadeIn 0.4s ease-in-out; }
.survey-step.active { display: flex; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.survey-step h3 { font-size: 16px; margin-bottom: 15px; font-weight: normal; color: #111; line-height: 1.4; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.radio-label { display: flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; padding: 6px 0; }
.radio-label input[type="radio"] { transform: scale(1.3); accent-color: #d93025; }
.btn-submit { background-color: var(--primary-blue); color: var(--white); border: none; padding: 14px; font-size: 15px; font-weight: bold; border-radius: 4px; cursor: pointer; margin-top: 20px; transition: background 0.2s; }
.btn-submit:hover { background-color: var(--dark-blue); }
.secure-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 20px; font-weight: normal; border-top: 1px solid #eee; padding-top: 15px;}

/* Інші блоки залишені без змін (achievements-section, footer, modal-overlay) */
.achievements-section { background-color: var(--white); padding: 40px 0; border-top: 1px solid #ddd; }
.achievements-title { text-align: center; font-size: 18px; margin-bottom: 25px; color: var(--dark-blue); }
.achievements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.ach-card { background: var(--bg-gray); padding: 20px; border-radius: 8px; border: 1px solid #eee; }
.ach-num { display: block; font-size: 28px; font-weight: bold; color: var(--primary-blue); margin-bottom: 5px; }
.ach-desc { font-size: 13px; color: var(--text-muted); }

.site-footer { background-color: #e2e6ea; padding: 40px 0 20px 0; border-top: 1px solid #ccc; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-heading { font-size: 15px; margin-bottom: 15px; color: var(--dark-blue); border-bottom: 2px solid var(--primary-blue); padding-bottom: 5px; display: inline-block; }
.stat-line { margin-bottom: 8px; font-size: 14px; display: flex; justify-content: space-between; max-width: 350px; }
.stat-line span { color: var(--text-muted); }
.stat-line strong { color: #000; }
.footer-contacts p { font-size: 13px; color: #444; margin-bottom: 5px; }
.copyright { text-align: center; font-size: 12px; color: #888; border-top: 1px solid #ccc; padding-top: 15px; }

.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); justify-content: center; align-items: center; z-index: 1000; backdrop-filter: blur(3px); }
.modal-content { background: var(--white); padding: 30px; border-radius: 8px; width: 90%; max-width: 420px; position: relative; box-shadow: 0 5px 25px rgba(0,0,0,0.2); }
.close-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; cursor: pointer; color: #999; }
.modal-header { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.modal-header h3 { font-size: 18px; color: #d93025; }
.modal-text { font-size: 14px; margin-bottom: 20px; color: #333; line-height: 1.5; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-max, .btn-outline { display: block; text-align: center; padding: 12px; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: bold; }
.btn-max { background-color: var(--primary-blue); color: var(--white); }
.btn-outline { border: 2px solid var(--primary-blue); color: var(--primary-blue); }