/* ========================================
   АНО "СТЕПНЫЕ ЛИСЫ" - ЕДИНЫЙ ФАЙЛ СТИЛЕЙ
   Объединенный и оптимизированный CSS
   ======================================== */

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--background-light) 0%, var(--gray-50) 100%);
    overflow-x: hidden;
}

/* ========================================
   CSS VARIABLES
   ======================================== */

:root {
    /* Цветовая палитра */
    --primary-color: #4a90e2;         /* Мягкий синий */
    --secondary-color: #2c3e50;       /* Темно-синий */
    --accent-color: #7b68ee;          /* Мягкий фиолетовый */
    --success-color: #27ae60;         /* Зеленый */
    --warning-color: #f39c12;         /* Оранжевый */
    --text-color: #2c3e50;            /* Темно-синий для текста */
    --text-light: #7f8c8d;            /* Мягкий серый */
    --background-light: #f8fafb;      /* Очень светлый голубоватый */
    --background-soft: #ecf0f1;       /* Мягкий светло-серый */
    --background-card: #ffffff;       /* Чистый белый для карточек */
    --white: #ffffff;

    /* Серая палитра */
    --gray-50: #fafbfc;
    --gray-100: #f4f6f8;
    --gray-200: #e8ecf0;
    --gray-300: #dae1e7;
    --gray-400: #b0bec5;
    --gray-500: #90a4ae;
    --gray-600: #78909c;
    --gray-700: #607d8b;
    --gray-800: #455a64;
    --gray-900: #263238;

    /* Параметры дизайна */
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
    --shadow-hover: 0 8px 25px rgba(74, 144, 226, 0.15);
    --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.06);

    /* Шрифты */
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Oswald', sans-serif;

    /* Ширина контейнера */
    --max-width: 1200px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

ul {
    list-style: none;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: var(--background-soft);
}

.section:nth-child(odd) {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 20px auto 0;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.btn-secondary {
    background: var(--background-card);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--gray-400);
}

.btn-outline:hover {
    background: var(--gray-100);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(248, 250, 251, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid var(--gray-200);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
    border-radius: 50%;
}

.org-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    background-image:
        radial-gradient(circle at 20% 80%, rgba(220, 20, 60, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 71, 87, 0.3) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    background: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-mission h3,
.about-history h3,
.about-values h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-values ul {
    list-style: none;
    margin-top: 15px;
}

.about-values li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
}

.about-values li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.team-section {
    margin-top: 60px;
}

.team-section h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

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

.team-member {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}

.team-member h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-description {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* ========================================
   REGISTRATION SECTION
   ======================================== */

.registration {
    background: var(--white);
}

.registration-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.age-groups {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.age-group-card {
    background: var(--background-card);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-200);
}

.age-group-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.age-group-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.age-group-card p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.age-group-card ul {
    list-style: none;
}

.age-group-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.age-group-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.registration-form {
    background: var(--background-card);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-200);
}

.registration-form h3 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

/* ========================================
   FORM STYLES
   ======================================== */

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   EVENTS SECTION
   ======================================== */

.events {
    background: var(--background-light);
}

.events-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

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

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: var(--border-radius);
    text-align: center;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    font-weight: 500;
}

.event-info {
    flex: 1;
}

.event-info h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.event-info p {
    margin-bottom: 10px;
}

.event-location {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* ========================================
   HELP SECTION
   ======================================== */

.help {
    background: var(--white);
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.help-card {
    background: var(--background-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-soft);
}

.help-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--background-card), var(--gray-50));
}

.help-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.help-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.help-card p {
    margin-bottom: 25px;
    color: var(--text-color);
}

/* ========================================
   MODAL STYLES
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
}

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

/* ========================================
   DREAM SECTION
   ======================================== */

.dream {
    background: var(--background-light);
    color: var(--text-color);
}

.dream .section-title {
    color: var(--secondary-color);
}

.dream .section-subtitle {
    color: var(--gray-600);
}

.dream-content {
    display: grid;
    gap: 60px;
}

.dream-description h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.dream-description p {
    color: var(--text-color);
    margin-bottom: 25px;
}

.dream-benefits {
    list-style: none;
    margin-top: 20px;
}

.dream-benefits li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
}

.dream-benefits li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.dream-visualization {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.palace-concept {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.dream-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-200);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.dream-progress {
    margin-top: 40px;
}

.dream-progress h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--gray-200);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 1s ease;
}

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

.progress-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-200);
    color: var(--text-color);
}

.progress-icon {
    font-size: 1.2rem;
}

.progress-item.completed .progress-icon {
    color: #4ade80;
}

.progress-item.in-progress .progress-icon {
    color: #fbbf24;
}

.progress-item.pending .progress-icon {
    color: var(--gray-400);
}

/* ========================================
   REPORTS SECTION
   ======================================== */

.reports {
    background: var(--background-light);
}

.reports-content {
    display: grid;
    gap: 60px;
}

.financial-reports h3,
.achievements h3 {
    color: var(--secondary-color);
    margin-bottom: 40px;
    text-align: center;
}

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

.report-card {
    background: var(--background-card);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.report-card h4 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.report-summary {
    margin-bottom: 25px;
}

.report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.report-item .label {
    color: var(--gray-600);
    font-weight: 500;
}

.report-item .amount {
    font-weight: 600;
    color: var(--secondary-color);
}

.report-item .amount.positive {
    color: #10b981;
}

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

.achievement-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.achievement-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.achievement-text h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.achievement-text p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery {
    background: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--gray-300);
    background: transparent;
    color: var(--text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

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

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin-bottom: 5px;
    color: var(--white);
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   CONTACTS SECTION
   ======================================== */

.contacts {
    background: var(--background-light);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.contact-card {
    background: var(--background-card);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-200);
}

.contact-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.contact-person h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.2rem;
    width: 20px;
}

.contact-detail a {
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: fit-content;
}

.contact-form h3 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.map-container {
    margin-top: 40px;
}

.map {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    border-radius: 50%;
}

.footer-org-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links,
.footer-contacts {
    list-style: none;
}

.footer-links li,
.footer-contacts li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-contacts li {
    color: rgba(255, 255, 255, 0.8);
}

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

.social-link {
    display: inline-block;
    padding: 10px 15px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-700);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .about-content,
    .registration-content,
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dream-visualization {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .events-calendar,
    .reports-grid {
        grid-template-columns: 1fr;
    }

    .help-options {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

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

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

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

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 15px 0;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    /* About Section */
    .about-content {
        gap: 30px;
    }

    .about-text {
        gap: 25px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-member {
        padding: 25px;
    }

    .team-photo {
        width: 100px;
        height: 100px;
    }

    /* Registration Section */
    .age-groups {
        gap: 20px;
    }

    .age-group-card {
        padding: 20px;
    }

    .registration-form {
        padding: 25px;
    }

    /* Events Section */
    .event-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .event-date {
        align-self: center;
    }

    /* Help Section */
    .help-options {
        grid-template-columns: 1fr;
    }

    .help-card {
        padding: 25px 20px;
    }

    /* Dream Section */
    .dream-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 15px;
    }

    .stat-item {
        padding: 15px 10px;
        flex: 1;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .progress-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .progress-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* Reports Section */
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .achievement-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .achievement-icon {
        font-size: 2rem;
    }

    /* Gallery Section */
    .gallery-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Contact Section */
    .contact-card {
        padding: 20px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .map {
        height: 300px;
    }

    /* Modal */
    .modal-content {
        margin: 10% auto;
        padding: 25px;
        width: 95%;
    }

    /* Forms */
    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ======================================== */

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 0 15px;
    }

    .logo {
        height: 40px;
    }

    .org-name {
        font-size: 1.2rem;
    }

    .nav-container {
        padding: 0 10px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .section {
        padding: 40px 0;
    }

    .about-img {
        height: 250px;
    }

    .age-group-card,
    .help-card,
    .contact-card,
    .team-member {
        padding: 15px;
    }

    .registration-form,
    .contact-form-wrapper {
        padding: 20px;
    }

    .event-card,
    .report-card {
        padding: 20px;
    }

    .dream-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
    }

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

    .close {
        right: 15px;
        top: 15px;
        font-size: 24px;
    }

    .btn {
        width: 100%;
        padding: 12px;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
    }

    .footer-logo-img {
        height: 40px;
    }

    .footer-org-name {
        font-size: 1.2rem;
    }

    .social-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN - EXTRA SMALL
   ======================================== */

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .achievement-icon {
        font-size: 1.8rem;
    }

    .help-icon {
        font-size: 2.5rem;
    }
}

/* ========================================
   LANDSCAPE MOBILE ORIENTATION
   ======================================== */

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        padding-top: 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-menu {
        height: calc(100vh - 60px);
        top: 60px;
        padding-top: 30px;
        gap: 20px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 10px 0;
    }
}

/* ========================================
   HIGH DPI DISPLAYS
   ======================================== */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .header,
    .footer,
    .hero-buttons,
    .btn,
    .hamburger,
    .nav-menu {
        display: none !important;
    }

    .hero {
        height: auto;
        padding: 40px 0;
    }

    .section {
        padding: 20px 0;
        break-inside: avoid;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #000;
        break-after: avoid;
    }

    .modal {
        display: none !important;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-title,
    .hero-subtitle,
    .hero-buttons {
        animation: none;
        opacity: 1;
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e5e5e5;
        --text-light: #b0b0b0;
        --background-light: #1a1a1a;
        --white: #2a2a2a;
        --gray-200: #404040;
        --gray-300: #505050;
    }

    body {
        background-color: #121212;
        color: var(--text-color);
    }

    .header {
        background: rgba(26, 26, 26, 0.95);
    }

    .modal-content {
        background-color: #2a2a2a;
        color: var(--text-color);
    }

    .map-placeholder {
        background: #404040;
        color: var(--text-light);
    }
}

/* ========================================
   ACCESSIBILITY - FOCUS STYLES
   ======================================== */

@media (prefers-reduced-motion: no-preference) {
    .nav-link:focus,
    .btn:focus,
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* ========================================
   HIGH CONTRAST MODE
   ======================================== */

@media (prefers-contrast: high) {
    :root {
        --primary-color: #ff0000;
        --secondary-color: #000000;
        --text-color: #000000;
        --white: #ffffff;
    }

    .btn-primary {
        background: #000000;
        color: #ffffff;
        border: 2px solid #ffffff;
    }

    .btn-secondary {
        background: #ffffff;
        color: #000000;
        border: 2px solid #000000;
    }
}