/* ===== СТИЛИ ГЛАВНОЙ СТРАНИЦЫ - МЯГКИЙ HI-TECH ДИЗАЙН ===== */

/* Дополнительные образовательные анимации */
.education-bg-element {
    position: fixed;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

/* Академические символы */
.academic-symbol {
    position: fixed;
    font-size: 24px;
    color: rgba(139, 92, 246, 0.25);
    animation: academicFloat 18s ease-in-out infinite;
    z-index: -1;
    opacity: 0.5;
    filter: drop-shadow(0 3px 10px rgba(139, 92, 246, 0.4));
}

.academic-symbol:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; content: '📖'; }
.academic-symbol:nth-child(2) { top: 30%; right: 15%; animation-delay: 3s; content: '🎨'; }
.academic-symbol:nth-child(3) { top: 50%; left: 10%; animation-delay: 6s; content: '🔧'; }
.academic-symbol:nth-child(4) { top: 70%; right: 25%; animation-delay: 9s; content: '📊'; }
.academic-symbol:nth-child(5) { top: 90%; left: 30%; animation-delay: 12s; content: '🌱'; }

/* Научные формулы */
.science-formula {
    position: fixed;
    font-size: 18px;
    color: rgba(16, 185, 129, 0.3);
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    animation: formulaFloat 20s ease-in-out infinite;
    z-index: -1;
    opacity: 0.4;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.3));
}

.science-formula:nth-child(6) { top: 15%; left: 60%; animation-delay: 0s; content: 'H₂O'; }
.science-formula:nth-child(7) { top: 45%; right: 10%; animation-delay: 5s; content: 'CO₂'; }
.science-formula:nth-child(8) { top: 75%; left: 40%; animation-delay: 10s; content: 'NaCl'; }
.science-formula:nth-child(9) { top: 25%; right: 50%; animation-delay: 15s; content: 'Fe₂O₃'; }

/* Лабораторные колбы */
.lab-flask {
    position: fixed;
    width: 40px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.4), rgba(139, 92, 246, 0.4));
    border-radius: 20px 20px 0 0;
    animation: flaskBubble 16s ease-in-out infinite;
    z-index: -1;
    opacity: 0.5;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.lab-flask::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: rgba(16, 185, 129, 0.5);
    border-radius: 0 0 20px 20px;
}

.lab-flask::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: bubbleRise 3s ease-in-out infinite;
}

.lab-flask:nth-child(10) { top: 20%; left: 25%; animation-delay: 0s; }
.lab-flask:nth-child(11) { top: 60%; right: 20%; animation-delay: 4s; }
.lab-flask:nth-child(12) { top: 40%; left: 70%; animation-delay: 8s; }

/* Микроскопы с линзами */
.microscope-lens {
    position: fixed;
    width: 50px;
    height: 35px;
    background: rgba(139, 92, 246, 0.25);
    border-radius: 25px;
    animation: lensFocus 14s ease-in-out infinite;
    z-index: -1;
    opacity: 0.4;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.microscope-lens::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    border: 3px solid rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    animation: lensZoom 2s ease-in-out infinite;
}

.microscope-lens:nth-child(13) { top: 35%; right: 40%; animation-delay: 0s; }
.microscope-lens:nth-child(14) { top: 65%; left: 15%; animation-delay: 7s; }

/* Книжные стопки с текстом */
.book-stack {
    position: fixed;
    width: 35px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 4px;
    animation: bookStack 15s ease-in-out infinite;
    z-index: -1;
    opacity: 0.4;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.book-stack::before {
    content: '📚';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    opacity: 0.7;
}

.book-stack:nth-child(15) { top: 25%; right: 35%; animation-delay: 0s; }
.book-stack:nth-child(16) { top: 65%; left: 20%; animation-delay: 5s; }
.book-stack:nth-child(17) { top: 35%; right: 50%; animation-delay: 10s; }

/* Атомные модели */
.atom-model {
    position: fixed;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    animation: atomRotate 25s linear infinite;
    z-index: -1;
    opacity: 0.3;
}

.atom-model::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}

.atom-model::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.atom-model:nth-child(18) { top: 15%; left: 50%; animation-delay: 0s; }
.atom-model:nth-child(19) { top: 55%; right: 15%; animation-delay: 12s; }

/* Научные диаграммы */
.science-diagram {
    position: fixed;
    width: 60px;
    height: 40px;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 8px;
    animation: diagramPulse 12s ease-in-out infinite;
    z-index: -1;
    opacity: 0.4;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.science-diagram::before {
    content: '📈';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    opacity: 0.8;
}

.science-diagram:nth-child(20) { top: 30%; left: 30%; animation-delay: 0s; }
.science-diagram:nth-child(21) { top: 70%; right: 30%; animation-delay: 6s; }

/* Анимации для образовательных элементов */
@keyframes academicFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.5; 
    }
    25% { 
        transform: translateY(-25px) rotate(45deg) scale(1.2); 
        opacity: 0.7; 
    }
    50% { 
        transform: translateY(-40px) rotate(90deg) scale(0.9); 
        opacity: 0.9; 
    }
    75% { 
        transform: translateY(-20px) rotate(135deg) scale(1.1); 
        opacity: 0.6; 
    }
}

@keyframes formulaFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.4; 
    }
    33% { 
        transform: translateY(-20px) rotate(10deg) scale(1.1); 
        opacity: 0.6; 
    }
    66% { 
        transform: translateY(-35px) rotate(-10deg) scale(0.9); 
        opacity: 0.8; 
    }
}

@keyframes flaskBubble {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 0.5; 
    }
    25% { 
        transform: translateY(-15px) scale(1.1); 
        opacity: 0.7; 
    }
    50% { 
        transform: translateY(-30px) scale(0.9); 
        opacity: 0.9; 
    }
    75% { 
        transform: translateY(-10px) scale(1.05); 
        opacity: 0.6; 
    }
}

@keyframes bubbleRise {
    0%, 100% { 
        transform: translateX(-50%) translateY(0px); 
        opacity: 0.3; 
    }
    50% { 
        transform: translateX(-50%) translateY(-10px); 
        opacity: 0.7; 
    }
}

@keyframes lensFocus {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.4; 
    }
    25% { 
        transform: scale(1.3) rotate(5deg); 
        opacity: 0.6; 
    }
    50% { 
        transform: scale(0.8) rotate(-5deg); 
        opacity: 0.8; 
    }
    75% { 
        transform: scale(1.2) rotate(3deg); 
        opacity: 0.5; 
    }
}

@keyframes lensZoom {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2); 
        opacity: 0.8; 
    }
}

@keyframes bookStack {
    0%, 100% { 
        transform: translateY(0px) rotateZ(0deg) scale(1); 
        opacity: 0.4; 
    }
    25% { 
        transform: translateY(-20px) rotateZ(8deg) scale(1.1); 
        opacity: 0.6; 
    }
    50% { 
        transform: translateY(-35px) rotateZ(-8deg) scale(0.9); 
        opacity: 0.8; 
    }
    75% { 
        transform: translateY(-15px) rotateZ(5deg) scale(1.05); 
        opacity: 0.5; 
    }
}

@keyframes atomRotate {
    0% { 
        transform: rotate(0deg) scale(1); 
        opacity: 0.3; 
    }
    50% { 
        transform: rotate(180deg) scale(1.1); 
        opacity: 0.5; 
    }
    100% { 
        transform: rotate(360deg) scale(1); 
        opacity: 0.3; 
    }
}

@keyframes diagramPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.4; 
    }
    25% { 
        transform: scale(1.2) rotate(3deg); 
        opacity: 0.6; 
    }
    50% { 
        transform: scale(0.9) rotate(-3deg); 
        opacity: 0.8; 
    }
    75% { 
        transform: scale(1.1) rotate(2deg); 
        opacity: 0.5; 
    }
}

/* Hero Section */
.main-hero {
    padding: 100px 0;
    margin-bottom: 80px;
    position: relative;
}

.main-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    padding: 48px;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

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

.hero-content:hover::before {
    left: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: currentColor; /* предотвращает невидимость в некоторых браузерах */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 140px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.75) !important;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.9) !important;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 240px;
    height: 240px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 32px rgba(139, 92, 246, 0.2));
    transition: var(--transition);
}

.hero-img:hover {
    transform: scale(1.05);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

/* Main Content */
.c-layout-page {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-medium);
    margin: 32px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.c-layout-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.content-section {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
    letter-spacing: -0.025em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Admission Card */
.admission-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.admission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.admission-card:hover::before {
    left: 100%;
}

.admission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.9) !important;
}

.admission-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.admission-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

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

.info-block {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.85) !important;
}

.info-icon {
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--primary-color);
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.info-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

/* Sections Grid */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.section-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.section-card:hover::before {
    left: 100%;
}

.section-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.9) !important;
}

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

.section-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.section-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.feature {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.section-btn {
    background: rgba(139, 92, 246, 0.9) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.section-btn:hover {
    background: rgba(139, 92, 246, 1) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    color: white;
}

/* Quick Links */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.links-column h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    margin-bottom: 12px;
}

.links-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 10px 0;
    position: relative;
    font-weight: 500;
}

.links-list a::before {
    content: '→';
    margin-right: 12px;
    color: var(--primary-color);
    font-weight: bold;
    opacity: 0;
    transform: translateX(-12px);
    transition: var(--transition);
}

.links-list a:hover {
    color: var(--primary-color);
    transform: translateX(6px);
}

.links-list a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Sidebar Widgets */
.widgets-sidebar {
    position: sticky;
    top: 120px;
}

.search-widget, .info-widget, .contacts-widget {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.search-widget::before, .info-widget::before, .contacts-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.search-widget:hover::before, .info-widget:hover::before, .contacts-widget:hover::before {
    left: 100%;
}

.search-widget:hover, .info-widget:hover, .contacts-widget:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.85) !important;
}

.search-widget h4, .info-widget h4, .contacts-widget h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px; /* Уменьшено с 24px */
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input {
    position: relative;
    margin-bottom: 12px; /* Уменьшено с 20px */
}

.search-input input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.7) !important;
}

.search-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 92, 246, 0.9) !important;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
}

.info-item {
    margin-bottom: 12px; /* Уменьшено с 20px */
    padding: 12px; /* Уменьшено с 16px */
    background: rgba(139, 92, 246, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(139, 92, 246, 0.08);
    transform: translateX(6px);
}

.info-link {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.info-text {
    color: var(--secondary-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info p {
    margin-bottom: 12px; /* Уменьшено с 12px */
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.contact-info p:hover {
    color: var(--text-dark);
    transform: translateX(4px);
}

.contact-info i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
    font-size: 1.1rem;
}

/* ===== СТИЛИ ДЛЯ DIV СЛАЙДЕРА ===== */

/* Замена изображений на div */
.slider-div-image {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.animated-background {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.8) 0%, 
        rgba(16, 185, 129, 0.8) 50%, 
        rgba(245, 158, 11, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero background для публичных страниц (без затемнения) */
.hero-background {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.8) 0%, 
        rgba(16, 185, 129, 0.8) 50%, 
        rgba(245, 158, 11, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Плавающие элементы */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-elements .element {
    position: absolute;
    font-size: 48px;
    opacity: 0.3;
    animation: floatElement 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.floating-elements .element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-elements .element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-elements .element:nth-child(3) {
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.floating-elements .element:nth-child(4) {
    top: 80%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-40px) rotate(180deg) scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-15px) rotate(270deg) scale(1.05);
        opacity: 0.4;
    }
}

/* Градиентный оверлей - облегченный для лучшей читаемости */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(16, 185, 129, 0.1) 50%, 
        rgba(245, 158, 11, 0.1) 100%);
    backdrop-filter: blur(5px);
}

/* Контентный оверлей */
.content-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #1F2937;
    padding: 40px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

.content-overlay h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1F2937 !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.content-overlay p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.content-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.content-overlay li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding: 8px 0;
    position: relative;
    padding-left: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.content-overlay li::before {
    content: '🎯';
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
    
    .sections-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .widgets-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    /* Уменьшенные отступы для виджетов на планшетах */
    .search-widget, .info-widget, .contacts-widget {
        padding: 20px;
        margin-bottom: 12px;
    }
    
    .search-widget h4, .info-widget h4, .contacts-widget h4 {
        margin-bottom: 12px;
    }
    
    .info-item {
        margin-bottom: 8px;
        padding: 10px;
    }
    
    .contact-info p {
        margin-bottom: 6px;
    }
    
    .c-layout-page {
        margin: 20px;
        padding: 32px;
    }
    
    .hero-content {
        padding: 32px;
    }
    
    .admission-card {
        padding: 32px;
    }

    .slider-div-image {
        height: 300px;
    }
    
    .content-overlay {
        padding: 20px;
        max-width: 100%;
    }
    
    .content-overlay h2 {
        font-size: 1.8rem;
    }
    
    .content-overlay p {
        font-size: 1rem;
    }
    
    .content-overlay li {
        font-size: 0.9rem;
    }
    
    .floating-elements .element {
        font-size: 32px;
    }
} 

@media (max-width: 576px) {
    /* Еще меньшие отступы для виджетов на мобильных */
    .search-widget, .info-widget, .contacts-widget {
        padding: 16px;
        margin-bottom: 8px;
    }
    
    .search-widget h4, .info-widget h4, .contacts-widget h4 {
        margin-bottom: 10px;
        font-size: 1.1rem;
    }
    
    .info-item {
        margin-bottom: 6px;
        padding: 8px;
    }
    
    .contact-info p {
        margin-bottom: 4px;
        font-size: 0.9rem;
    }
    
    .slider-div-image {
        height: 250px;
    }
    
    .content-overlay h2 {
        font-size: 1.5rem;
    }
    
    .content-overlay p {
        font-size: 0.9rem;
    }
    
    .content-overlay li {
        font-size: 0.8rem;
    }
    
    .floating-elements .element {
        font-size: 24px;
    }
} 

/* ===== СЛАЙДЕР ВАЖНОЙ ИНФОРМАЦИИ ===== */

.important-info-slider {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
}

.important-info-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.05) 0%, 
        rgba(16, 185, 129, 0.05) 50%, 
        rgba(245, 158, 11, 0.05) 100%);
    pointer-events: none;
}

.slider-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.slider-title i {
    color: var(--primary-color);
    margin-right: 10px;
}

.info-slider {
    position: relative;
    min-height: 200px;
    height: 200px; /* Фиксированная высота для всех слайдов */
}

.info-slide {
    display: none;
    animation: fadeInUp 0.6s ease-out;
    height: 100%; /* Занимает всю высоту контейнера */
}

.info-slide.active {
    display: block;
}

.info-content {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.info-content:hover {
    background: rgba(255, 255, 255, 0.75) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.info-text {
    flex: 1;
}

.info-text h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 0;
}

.info-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    margin-top: 0;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.1);
}

.info-link:hover {
    color: var(--accent-color);
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(5px);
}

.info-link i {
    font-size: 0.8rem;
    transition: transform var(--transition-base);
}

.info-link:hover i {
    transform: translateX(3px);
}

/* Навигация слайдера */
.info-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.info-dot {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform var(--transition-base);
}

.info-dot:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.2);
}

.info-dot.active {
    background: rgba(139, 92, 246, 0.8) !important;
    transform: scale(1.3);
}

.info-dot.active::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Анимации */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .important-info-slider {
        margin-top: 30px;
        padding: 20px;
    }
    
    .info-slider {
        height: 180px; /* Уменьшенная высота для планшетов */
    }
    
    .info-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
        height: 100%; /* Сохраняем высоту */
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .info-text h4 {
        font-size: 1.1rem;
    }
    
    .info-text p {
        font-size: 0.9rem;
    }
    
    .slider-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .important-info-slider {
        padding: 15px;
    }
    
    .info-slider {
        height: 160px; /* Еще меньшая высота для мобильных */
    }
    
    .info-content {
        padding: 12px;
        height: 100%; /* Сохраняем высоту */
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .info-text h4 {
        font-size: 1rem;
    }
    
    .info-text p {
        font-size: 0.85rem;
    }
    
    .slider-title {
        font-size: 1.2rem;
    }
} 

/* ===== ВАЖНЫЕ НОВОСТИ ===== */

.important-news-slider {
    position: relative;
    margin-bottom: 40px;
}

.news-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.news-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.news-slide {
    min-width: 100%;
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.news-slide.active {
    display: block;
}

.news-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.9) !important;
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.news-content h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.1);
    align-self: flex-start;
}

.news-link:hover {
    color: var(--accent-color);
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(5px);
}

.news-link i {
    font-size: 0.8rem;
    transition: transform var(--transition-base);
}

.news-link:hover i {
    transform: translateX(3px);
}

/* Навигация слайдера новостей */
.news-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.news-nav-btn {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.news-nav-btn:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: scale(1.1);
    box-shadow: var(--shadow-soft);
}

.news-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.news-dots {
    display: flex;
    gap: 8px;
}

.news-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: all var(--transition-base);
}

.news-dot:hover {
    background: var(--color-gray-400);
    transform: scale(1.2);
}

.news-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* ===== ОБЫЧНЫЕ НОВОСТИ ===== */

.regular-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.news-item {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.85) !important;
}

.news-item-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.news-item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item-date {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-item-content h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-item-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.news-item-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-item-link:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.news-item-link::after {
    content: '→';
    transition: transform var(--transition-base);
}

.news-item-link:hover::after {
    transform: translateX(3px);
}

/* Кнопка "Все новости" */
.news-more {
    text-align: center;
    margin-top: 32px;
}

.news-more-btn {
    background: rgba(16, 185, 129, 0.9) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: white;
    padding: 12px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.news-more-btn:hover {
    background: rgba(16, 185, 129, 1) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    color: white;
}

/* Адаптивность для новостей */
@media (max-width: 768px) {
    .news-card {
        height: 350px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
    }
    
    .regular-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-item {
        height: auto;
    }
    
    .news-slider-nav {
        gap: 16px;
    }
    
    .news-nav-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 576px) {
    .news-card {
        height: 320px;
    }
    
    .news-content {
        padding: 16px;
    }
    
    .news-content h3 {
        font-size: 1.1rem;
    }
    
    .news-content p {
        font-size: 0.9rem;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-item-image {
        height: 150px;
    }
    
    .news-item-content {
        padding: 16px;
    }
    
    .news-item-content h3 {
        font-size: 1rem;
    }
    
    .news-item-content p {
        font-size: 0.85rem;
    }
} 

/* ===== БОКОВАЯ ПАНЕЛЬ ===== */

/* Стили для боковой панели */
.widgets-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.search-widget,
.info-widget,
.contacts-widget {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.search-widget:hover,
.info-widget:hover,
.contacts-widget:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.search-widget h4,
.info-widget h4,
.contacts-widget h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.search-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-btn {
    padding: 12px 16px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.info-item {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.info-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

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

.info-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.contact-info i {
    color: var(--color-primary);
    width: 16px;
}

/* Адаптивность для боковой панели */
@media (max-width: 992px) {
    .widgets-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .widgets-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .search-widget,
    .info-widget,
    .contacts-widget {
        padding: 20px;
        margin-bottom: 20px;
    }
} 

/* ===== ЦЕНТРИРОВАНИЕ ОСНОВНОГО КОНТЕНТА ===== */

/* Центрирование основного контента */
.c-layout-page .col-lg-8 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Центрирование всех секций */
.content-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

/* Центрирование заголовков секций */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

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

/* Центрирование слайдера важных новостей */
.important-news-slider {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.news-slider-container {
    width: 100%;
    margin: 0 auto;
}

/* Центрирование сетки обычных новостей */
.regular-news-grid {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
}

/* Центрирование сетки основных разделов */
.sections-grid {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
}

/* Центрирование быстрых ссылок */
.quick-links-grid {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    justify-content: center;
}

/* Центрирование кнопки "Все новости" */
.news-more {
    text-align: center;
    width: 100%;
    margin-top: 32px;
}

/* Центрирование навигации слайдера */
.news-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    width: 100%;
}

/* Центрирование точек навигации */
.news-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

/* Центрирование кнопок навигации */
.news-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Адаптивность для центрирования */
@media (max-width: 1200px) {
    .content-section {
        max-width: 700px;
    }
    
    .important-news-slider {
        max-width: 600px;
    }
    
    .regular-news-grid {
        max-width: 700px;
    }
    
    .sections-grid {
        max-width: 700px;
    }
}

@media (max-width: 992px) {
    .content-section {
        max-width: 600px;
    }
    
    .important-news-slider {
        max-width: 500px;
    }
    
    .regular-news-grid {
        max-width: 600px;
    }
    
    .sections-grid {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .content-section {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .important-news-slider {
        max-width: 100%;
    }
    
    .regular-news-grid {
        max-width: 100%;
    }
    
    .sections-grid {
        max-width: 100%;
    }
    
    .quick-links-grid {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .content-section {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title::after {
        width: 50px;
        height: 2px;
    }
} 

/* ===== ПРИНУДИТЕЛЬНЫЕ СТИЛИ ДЛЯ БОКОВОЙ ПАНЕЛИ ===== */

/* Гарантированное отображение боковой панели */
.widgets-sidebar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: sticky !important;
    top: 20px !important;
    height: fit-content !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.search-widget,
.info-widget,
.contacts-widget {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(139, 92, 246, 0.1) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08) !important;
    transition: all 0.3s ease !important;
}

.search-widget:hover,
.info-widget:hover,
.contacts-widget:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.12) !important;
}

.search-widget h4,
.info-widget h4,
.contacts-widget h4 {
    color: #1F2937 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.search-input {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
}

.search-input input {
    flex: 1 !important;
    padding: 12px 16px !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 16px !important;
    background: #FFFFFF !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.search-input input:focus {
    outline: none !important;
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
}

.search-btn {
    padding: 12px 16px !important;
    background: #8B5CF6 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.search-btn:hover {
    background: #7C3AED !important;
    transform: translateY(-1px) !important;
}

.info-item {
    margin-bottom: 16px !important;
    padding: 12px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateX(4px) !important;
}

.info-link {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    color: #1F2937 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

.info-link:hover {
    color: #8B5CF6 !important;
}

.info-text {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #1F2937 !important;
    font-size: 0.9rem !important;
}

.contact-info p {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    font-size: 0.9rem !important;
    color: #1F2937 !important;
}

.contact-info i {
    color: #8B5CF6 !important;
    width: 16px !important;
}

/* Адаптивность для боковой панели */
@media (max-width: 992px) {
    .widgets-sidebar {
        position: static !important;
        margin-top: 40px !important;
    }
}

@media (max-width: 768px) {
    .widgets-sidebar {
        margin-top: 40px !important;
    }
}

@media (max-width: 576px) {
    .search-widget,
    .info-widget,
    .contacts-widget {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }
} 

/* ===== НОВЫЕ КРАСИВЫЕ АНИМАЦИИ ДЛЯ ЗАДНЕГО ФОНА ===== */

/* Плавающие частицы знаний */
.knowledge-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.knowledge-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #8b5cf6, #06b6d4, #10b981);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 20s linear infinite;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.knowledge-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.knowledge-particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.knowledge-particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.knowledge-particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.knowledge-particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.knowledge-particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.knowledge-particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.knowledge-particle:nth-child(8) { left: 80%; animation-delay: 14s; }
.knowledge-particle:nth-child(9) { left: 90%; animation-delay: 16s; }
.knowledge-particle:nth-child(10) { left: 15%; animation-delay: 18s; }

/* Волны знаний */
.knowledge-waves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -3;
}

.knowledge-wave {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    animation: waveExpand 8s ease-out infinite;
}

.knowledge-wave:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.knowledge-wave:nth-child(2) { top: 60%; right: 30%; animation-delay: 2s; }
.knowledge-wave:nth-child(3) { top: 40%; left: 70%; animation-delay: 4s; }
.knowledge-wave:nth-child(4) { top: 80%; left: 40%; animation-delay: 6s; }

/* Светящиеся линии соединений */
.connection-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -4;
}

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    animation: lineFlow 12s linear infinite;
}

.connection-line:nth-child(1) { top: 25%; left: 0; width: 30%; animation-delay: 0s; }
.connection-line:nth-child(2) { top: 45%; right: 0; width: 25%; animation-delay: 3s; }
.connection-line:nth-child(3) { top: 65%; left: 0; width: 35%; animation-delay: 6s; }
.connection-line:nth-child(4) { top: 85%; right: 0; width: 20%; animation-delay: 9s; }

/* Плавающие иконки образования */
.education-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.education-icon {
    position: absolute;
    font-size: 32px;
    opacity: 0.3;
    animation: iconFloat 15s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.4));
}

.education-icon:nth-child(1) { top: 15%; left: 15%; content: '🎓'; animation-delay: 0s; }
.education-icon:nth-child(2) { top: 35%; right: 20%; content: '📚'; animation-delay: 3s; }
.education-icon:nth-child(3) { top: 55%; left: 25%; content: '🔬'; animation-delay: 6s; }
.education-icon:nth-child(4) { top: 75%; right: 15%; content: '💻'; animation-delay: 9s; }
.education-icon:nth-child(5) { top: 25%; left: 75%; content: '🎨'; animation-delay: 12s; }

/* Анимации */
@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes waveExpand {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes lineFlow {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
} 

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .knowledge-particle {
        width: 3px;
        height: 3px;
        animation-duration: 15s;
    }
    
    .knowledge-wave {
        width: 150px;
        height: 150px;
        animation-duration: 6s;
    }
    
    .connection-line {
        height: 0.5px;
        animation-duration: 10s;
    }
    
    .education-icon {
        font-size: 24px;
        animation-duration: 12s;
    }
}

@media (max-width: 576px) {
    .knowledge-particles {
        display: none; /* Скрываем на очень маленьких экранах */
    }
    
    .knowledge-waves {
        display: none;
    }
    
    .connection-lines {
        display: none;
    }
    
    .education-icons {
        display: none;
    }
}

/* Дополнительные элементы с полупрозрачностью */
.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-info p:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Ссылки с полупрозрачностью */
.info-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    background: rgba(139, 92, 246, 0.1) !important;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.info-link:hover {
    background: rgba(139, 92, 246, 0.2) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    color: var(--primary-color);
}

/* Иконки с полупрозрачностью */
.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-icon:hover {
    background: rgba(139, 92, 246, 0.25) !important;
    transform: scale(1.1);
    box-shadow: var(--shadow-soft);
}

/* Заголовки с полупрозрачностью */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
    text-align: center;
    position: relative;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-soft);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Сетки с полупрозрачностью */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Списки ссылок с полупрозрачностью */
.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px;
}

.links-list li {
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    padding: 8px 12px;
    transition: var(--transition);
}

.links-list li:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    transform: translateX(5px);
}

.links-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.links-list a::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.links-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.links-list a:hover::before {
    transform: translateX(3px);
}

/* Особенности секций с полупрозрачностью */
.section-features {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: translateX(5px);
}

.feature:last-child {
    margin-bottom: 0;
}