/* Theme Name: Orken
Theme URI: https://example.com
Author: Your Name
Description: Theme for kindergarten
Version: 1.0
Text Domain: orken
*/

/* ===== БАЗОВЫЕ СТИЛИ ===== */
body { 
    font-family: 'Roboto', sans-serif; 
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===== КОНТЕЙНЕРЫ СЛАЙДЕРА И ТЕКСТА ===== */
.hero-container {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: visible !important;
}

/* КОНТЕЙНЕР ДЛЯ ДВИЖУЩЕГОСЯ ТЕКСТА */
.marquee-wrapper {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
    overflow: visible !important;
    pointer-events: none;
}

/* ДВИЖУЩИЙСЯ ТЕКСТ (единственный блок) */
.hero-marquee {
    overflow: visible !important;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
    padding: 12px 30px;
    background: rgba(44, 62, 80, 0.4);
    border-radius: 5px;
}

@keyframes marquee {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* КОНТЕЙНЕР ДЛЯ СЛАЙДЕРА */
.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible !important;
    z-index: 1;
}

/* СЛАЙДЕР */
.hero-slider {
    overflow: visible !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

/* SMART SLIDER - ВАЖНЫЕ СТИЛИ */
.hero-slider .n2-ss-slider,
.hero-slider .n2-ss-slider-2,
.hero-slider .n2-ss-slide,
.n2-ss-slider,
.n2-ss-slider-2 {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    height: 70vh !important;
    min-height: 400px !important;
    max-height: 800px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    overflow: visible !important;
    position: relative !important;
    transform: none !important;
    z-index: 1 !important;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.mission-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
    background: #f9f9f9;
    margin: 30px 0;
}

.mission-section h2 { 
    color: #2c3e50; 
    grid-column: 1 / -1;
}

.widget {
    border-left: 4px solid #4CAF50;
    padding-left: 15px;
}

.mission-card { 
    border-left: 4px solid #4CAF50; 
    padding: 15px;
}

.btn-primary { 
    background: #2196F3; 
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    padding: 40px 20px;
    text-align: center;
}

.feature i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 15px;
}

.registration {
    background: #2c3e50;
    color: white;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.registration .button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    margin: 20px 0;
    border-radius: 4px;
    font-weight: bold;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .marquee-content {
        font-size: 20px;
        padding: 8px 20px;
    }
    
    .hero-slider .n2-ss-slider,
    .hero-slider .n2-ss-slider-2 {
        height: 50vh !important;
        min-height: 300px !important;
    }
    
    .mission-section,
    .features {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* ===== ОБЯЗАТЕЛЬНЫЙ СБРОС ===== */
.hero-container * {
    overflow: visible !important;
}

.n2-ss-slide-background,
.n2-ss-slide-bg {
    overflow: visible !important;
    clip-path: none !important;
}





/* ===== НОВЫЕ БЛОКИ ДЛЯ FRONT-PAGE ===== */

/* ОБЩИЙ КОНТЕЙНЕР */
.hero-main-container {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: visible !important;
}

/* РУКОВОДИТЕЛЬ */
.director-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.director-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.director-photo {
    flex: 0 0 200px;
}

.director-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.director-info {
    flex: 1;
    min-width: 300px;
}

.director-position {
    color: #2c3e50;
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0;
}

/* СЕКЦИЯ "НАША МИССИЯ" */
.features-section {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* БЛОК РЕГИСТРАЦИИ */
.registration-section {
    background: #2c3e50;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.registration-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: white;
}

.registration-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    font-size: 18px;
    margin: 25px 0;
    transition: background 0.3s;
}

.registration-button:hover {
    background: #c0392b;
}

/* МАКЕТ КОНТЕНТ+САЙДБАР */
.main-content-wrapper {
    padding: 60px 20px;
}

.content-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sidebar-widgets .widget {
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.widget-title {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 15px;
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.newsletter-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    .content-sidebar-layout {
        grid-template-columns: 1fr;
    }
    
    .director-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
}



/* ===== ХЕДЕР ===== */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* Логотип */
.site-branding {
    flex-shrink: 0;
}

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

.site-title {
    margin: 0;
    font-size: 24px;
    color: #2c3e50;
}

.site-description {
    margin: 5px 0 0;
    font-size: 14px;
    color: #7f8c8d;
}

/* Основное меню */
.main-navigation {
    flex-grow: 1;
    margin: 0 30px;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 25px;
}

.main-menu li {
    margin: 0;
    position: relative;
}

.main-menu a {
    text-decoration: none;
    color: #34495e;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.main-menu a:hover {
    color: #3498db;
}

.main-menu .current-menu-item > a {
    color: #e74c3c;
}

/* Переключатель языков */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switcher ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.language-switcher li {
    margin: 0;
}

.language-switcher a {
    display: block;
    padding: 5px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s;
}

.language-switcher .lang-item-current a {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.language-switcher a:hover {
    background: #e9ecef;
}

/* Гамбургер для мобильных */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #34495e;
    border-radius: 2px;
    transition: 0.3s;
}

/* Герой-слайдер */
.hero-slider-container {
    position: relative;
    margin-top: 0;
}

.main-slider {
    width: 100%;
}

.marquee-wrapper {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 10;
}

/* Адаптивность */
@media (max-width: 992px) {
    .main-menu {
        gap: 15px;
    }
    
    .main-menu a {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .main-navigation {
        order: 3;
        width: 100%;
        margin: 15px 0 0;
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-menu {
        flex-direction: column;
        gap: 10px;
        background: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .language-switcher {
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 0;
    }
    
    .custom-logo {
        max-height: 50px;
    }
    
    .site-title {
        font-size: 20px;
    }
}












/* Альтернативный вариант - сетка */
.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* 3 колонки */
    align-items: center;
    width: 100%;
    padding: 10px 20px;
}

.site-branding {
    justify-self: start; /* Логотип в начале первой колонки */
}

.main-navigation {
    justify-self: center; /* Меню в центре */
    grid-column: 2; /* Вторая колонка */
}

.header-actions {
    justify-self: end; /* Переключатель в конце */
    grid-column: 3; /* Третья колонка */
}
















/* ===== ОСНОВНАЯ СЕТКА ===== */
.site-header-wrapper {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

/* КОНТЕЙНЕР как на оригинальном сайте */
.container {
    width: 100%;
    max-width: 1200px; /* или 1170px/1140px */
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ВЫРАВНИВАНИЕ В ШАПКЕ */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    position: relative;
}

/* Логотип */
.site-branding {
    flex-shrink: 0;
}

.site-logo-link {
    display: inline-block;
}

.site-logo,
.custom-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

/* Меню по центру */
.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.main-menu li {
    margin: 0;
}

.main-menu a {
    text-decoration: none;
    color: #34495e;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

/* Эффекты при наведении (2-й вариант) */
.main-menu > li > a {
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.main-menu > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
    border-radius: 4px;
}

.main-menu > li > a:hover {
    color: white;
}

.main-menu > li > a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Разные цвета для пунктов */
.main-menu > li:nth-child(1) > a::before { background-color: #3498db; }
.main-menu > li:nth-child(2) > a::before { background-color: #2ecc71; }
.main-menu > li:nth-child(3) > a::before { background-color: #e74c3c; }
.main-menu > li:nth-child(4) > a::before { background-color: #9b59b6; }
.main-menu > li:nth-child(5) > a::before { background-color: #f39c12; }
.main-menu > li:nth-child(6) > a::before { background-color: #1abc9c; }

/* Эффект пульсации */
.main-menu > li:nth-child(1) > a:hover { animation: pulse-glow-1 1.5s infinite; }
.main-menu > li:nth-child(2) > a:hover { animation: pulse-glow-2 1.5s infinite; }
.main-menu > li:nth-child(3) > a:hover { animation: pulse-glow-3 1.5s infinite; }
.main-menu > li:nth-child(4) > a:hover { animation: pulse-glow-4 1.5s infinite; }

@keyframes pulse-glow-1 {
    0% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(52, 152, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}
@keyframes pulse-glow-2 {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
@keyframes pulse-glow-3 {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}
@keyframes pulse-glow-4 {
    0% { box-shadow: 0 0 0 0 rgba(155, 89, 182, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(155, 89, 182, 0); }
    100% { box-shadow: 0 0 0 0 rgba(155, 89, 182, 0); }
}

/* Переключатель языков */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.language-switcher ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.language-switcher a {
    display: block;
    padding: 5px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s;
}

.language-switcher .lang-item-current a {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Гамбургер */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #34495e;
    border-radius: 2px;
    transition: 0.3s;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .main-menu {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .header-container {
        flex-wrap: wrap;
        min-height: 70px;
    }
    
    .site-branding {
        order: 1;
    }
    
    .header-actions {
        order: 2;
        margin-left: auto;
    }
    
    .main-navigation {
        order: 3;
        width: 100%;
        margin: 15px 0 0;
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-menu {
        flex-direction: column;
        gap: 10px;
        background: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .site-logo,
    .custom-logo {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .site-logo,
    .custom-logo {
        max-height: 45px;
    }
}

















/* ===== СБРОС И БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== ВЕРХНЯЯ ПАНЕЛЬ ===== */
.top-bar {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Телефон */
.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-phone:hover {
    color: #3498db;
}

.contact-phone i {
    color: #3498db;
    font-size: 13px;
}

.contact-label {
    color: #95a5a6;
    font-size: 12px;
    margin-left: 5px;
}

/* Социальные сети */
.top-bar-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-label {
    color: #95a5a6;
    font-size: 12px;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon:nth-child(1):hover { background: #E1306C; } /* Instagram */
.social-icon:nth-child(2):hover { background: #3b5998; } /* Facebook */
.social-icon:nth-child(3):hover { background: #FF0000; } /* YouTube */
.social-icon:nth-child(4):hover { background: #25D366; } /* WhatsApp */

/* ===== ОСНОВНАЯ ШАПКА ===== */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1000;
}

.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85px;
    position: relative;
}

/* Логотип */
.header-logo {
    flex-shrink: 0;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-img, .custom-logo {
    max-height: 65px;
    width: auto;
    display: block;
    transition: opacity 0.3s;
}

.logo-link:hover .logo-img,
.logo-link:hover .custom-logo {
    opacity: 0.9;
}

/* Основное меню */
.primary-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    margin: 0 30px;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.primary-menu > li {
    margin: 0;
    position: relative;
}

.primary-menu > li > a {
    display: block;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 5px;
    position: relative;
    transition: color 0.3s;
}

/* ЭФФЕКТ ПРИ НАВЕДЕНИИ - ВАРИАНТ 2 */
.primary-menu > li > a .menu-link-text {
    position: relative;
    z-index: 2;
}

.primary-menu > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.primary-menu > li > a:hover {
    color: #ffffff;
}

.primary-menu > li > a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Разные цвета для каждого пункта */
.primary-menu > li:nth-child(1) > a::before { background: linear-gradient(135deg, #3498db, #2980b9); }
.primary-menu > li:nth-child(2) > a::before { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.primary-menu > li:nth-child(3) > a::before { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.primary-menu > li:nth-child(4) > a::before { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.primary-menu > li:nth-child(5) > a::before { background: linear-gradient(135deg, #f39c12, #d35400); }
.primary-menu > li:nth-child(6) > a::before { background: linear-gradient(135deg, #1abc9c, #16a085); }

/* Эффект пульсации при наведении */
@keyframes menu-pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(52, 152, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}

.primary-menu > li > a:hover {
    animation: menu-pulse 1.5s infinite;
}

/* Правая часть шапки */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

/* Переключатель языков */
.header-language-switcher ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.header-language-switcher li {
    margin: 0;
}

.header-language-switcher a {
    display: block;
    padding: 6px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    text-decoration: none;
    color: #495057;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.header-language-switcher .lang-item-current a {
    background: #3498db;
    color: #ffffff;
    border-color: #3498db;
}

.header-language-switcher a:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

/* Кнопка мобильного меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.toggle-bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== СЛАЙДЕР НА ГЛАВНОЙ ===== */
.hero-section {
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.main-hero-slider {
    width: 100%;
}

.hero-marquee-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.marquee-track {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    padding: 10px 0;
    animation: marquee-scroll 20s linear infinite;
}

@keyframes marquee-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
    .container { max-width: 1140px; }
    .primary-menu { gap: 25px; }
}

@media (max-width: 992px) {
    .container { max-width: 960px; }
    .primary-menu { gap: 20px; }
    .header-main-row { min-height: 75px; }
    .logo-img, .custom-logo { max-height: 55px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    .top-bar-inner {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .top-bar-social {
        width: 100%;
        justify-content: space-between;
    }
    
    .social-label, .contact-label {
        display: none;
    }
    
    .header-main-row {
        flex-wrap: wrap;
        min-height: 70px;
        padding: 10px 0;
    }
    
    .header-logo {
        order: 1;
    }
    
    .header-right {
        order: 2;
        margin-left: auto;
    }
    
    .primary-navigation {
        order: 3;
        width: 100%;
        margin: 15px 0 0;
        display: none;
    }
    
    .primary-navigation.active {
        display: block;
    }
    
    .primary-menu {
        flex-direction: column;
        gap: 10px;
        background: #ffffff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    
    .primary-menu > li > a {
        padding: 12px 15px;
        border-radius: 6px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .marquee-content {
        font-size: 20px;
        animation: marquee-scroll 15s linear infinite;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    
    .social-icons { gap: 8px; }
    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    
    .header-language-switcher a {
        padding: 5px 12px;
        font-size: 13px;
    }
    
    .logo-img, .custom-logo {
        max-height: 45px;
    }
    
    .marquee-content {
        font-size: 18px;
    }
}




/* Фиксируем только основную шапку */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* При прокрутке делаем компактнее */
.main-header.scrolled {
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.main-header.scrolled .header-main-row {
    min-height: 60px;
}

.main-header.scrolled .logo-img,
.main-header.scrolled .custom-logo {
    max-height: 50px;
}






/* ===== ВЫПАДАЮЩЕЕ МЕНЮ (DROPDOWN) ===== */
.primary-menu > li {
    position: relative;
}

/* Скрываем подменю по умолчанию */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 15px 0;
    margin: 10px 0 0 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Показываем подменю при наведении */
.primary-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Стили пунктов подменю */
.primary-menu .sub-menu li {
    margin: 0;
    position: relative;
    width: 100%;
}

.primary-menu .sub-menu a {
    display: block;
    padding: 10px 25px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}

.primary-menu .sub-menu a:hover {
    background: #f8f9fa;
    color: #3498db;
    padding-left: 30px;
}

/* Стрелочка у родительского пункта */
.primary-menu > li.menu-item-has-children > a::after {
    content: '▾';
    margin-left: 8px;
    font-size: 12px;
    color: #7f8c8d;
    transition: transform 0.3s;
}

.primary-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    color: #3498db;
}

/* Эффекты цвета для подменю */
.primary-menu > li:nth-child(1) .sub-menu a:hover { color: #3498db; }
.primary-menu > li:nth-child(2) .sub-menu a:hover { color: #2ecc71; }
.primary-menu > li:nth-child(3) .sub-menu a:hover { color: #e74c3c; }
.primary-menu > li:nth-child(4) .sub-menu a:hover { color: #9b59b6; }

/* Многоуровневое подменю (если нужно) */
.primary-menu .sub-menu .sub-menu {
    top: -15px;
    left: 100%;
    margin-left: 10px;
}

.primary-menu .sub-menu .sub-menu:before {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    /* На мобильных подменю всегда раскрыто и вертикально */
    .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin: 10px 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: 5px;
        border: none;
    }
    
    .primary-menu .sub-menu.active {
        max-height: 500px;
    }
    
    .primary-menu > li.menu-item-has-children > a::after {
        content: '+';
        float: right;
        font-size: 16px;
    }
    
    .primary-menu > li.menu-item-has-children.active > a::after {
        content: '−';
    }
    
    .primary-menu .sub-menu a {
        padding: 12px 20px 12px 35px;
        border-bottom: 1px solid #e9ecef;
    }
    
    .primary-menu .sub-menu a:hover {
        padding-left: 40px;
        background: #e9ecef;
    }
    
    /* Многоуровневое на мобильных */
    .primary-menu .sub-menu .sub-menu a {
        padding-left: 50px;
    }
    
    .primary-menu .sub-menu .sub-menu a:hover {
        padding-left: 55px;
    }
}













/* Более точная копия оригинального сайта */
.primary-menu .sub-menu {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    border-top: 3px solid #3498db;
    padding: 10px 0;
}

.primary-menu .sub-menu a {
    padding: 8px 20px;
    color: #555;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.primary-menu .sub-menu a:hover {
    background: #f8f9fa;
    color: #3498db;
    border-bottom-color: #e0e0e0;
}

.primary-menu .sub-menu li:last-child a {
    border-bottom: none;
}



/* ==================== ФУТЕР ==================== */
.site-footer {
    background-color: #f8f9fa;
    border-top: 4px solid #4CAF50; /* Акцентный цвет, как на сайте-образце */
    color: #333;
    font-family: 'Arial', sans-serif;
    padding-top: 40px;
}

.footer-top {
    padding-bottom: 30px;
}

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

.footer-widget {
    padding: 0 15px;
}

.footer-widget .widget-title {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    font-weight: 600;
}

/* Логотип и описание */
.footer-logo img {
    max-height: 70px;
    width: auto;
    margin-bottom: 15px;
}

.footer-description {
    line-height: 1.6;
    color: #666;
    font-size: 0.95rem;
}

/* Меню быстрых ссылок */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    color: #4CAF50;
    padding-left: 5px;
}

/* Контакты */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-list i {
    color: #4CAF50;
    margin-right: 10px;
    margin-top: 4px;
    min-width: 16px;
    text-align: center;
}

.contact-list a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: #4CAF50;
}

/* Социальные иконки */
.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

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

.subscribe-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Нижняя часть футера */
.footer-bottom {
    background-color: #2c3e50;
    color: #ccc;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.developer i.fa-heart {
    color: #e74c3c;
    margin: 0 5px;
}

/* ==================== АДАПТИВНОСТЬ ФУТЕРА ==================== */
@media (max-width: 992px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-widget {
        padding: 0;
        text-align: center;
    }

    .contact-list li {
        justify-content: center;
    }

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

    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}



/* ==================== ОСНОВНЫЕ СТИЛИ ФУТЕРА ==================== */
#site-footer {
    background: #f8f9fa;
    color: #333;
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    margin-top: auto; /* Для sticky footer */
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Верхняя часть футера */
.footer-top {
    padding: 40px 0 30px;
    border-top: 3px solid #4CAF50;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-widget {
    flex: 1;
    min-width: 250px;
    padding: 0 10px;
}

/* Заголовки виджетов */
.widget-title {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Логотип и описание */
.footer-logo img {
    max-height: 80px;
    width: auto;
    margin-bottom: 15px;
}

.footer-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Меню быстрых ссылок */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 0;
}

.footer-menu a:hover {
    color: #4CAF50;
    transform: translateX(5px);
}

/* Контактная информация */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 12px;
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
    color: #4CAF50;
}

.contact-text {
    color: #555;
    font-size: 0.95rem;
}

.contact-text a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

/* Социальные иконки */
.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #388E3C;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.subscribe-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* Нижняя часть футера */
.footer-bottom {
    background: #2c3e50;
    color: #bdc3c7;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.heart {
    color: #e74c3c;
    margin: 0 5px;
}

.developer {
    color: #95a5a6;
}

/* ==================== АДАПТИВНОСТЬ ==================== */
@media (max-width: 992px) {
    .footer-widget {
        flex: 0 0 calc(50% - 30px);
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 30px 0 20px;
    }
    
    .footer-widget {
        flex: 0 0 100%;
        text-align: center;
        padding: 0;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-menu li {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-widgets {
        gap: 20px;
    }
    
    .widget-title {
        font-size: 1.1rem;
    }
}


/* ==================== ФУТЕР ==================== */
#site-footer {
    background: #f8f9fa;
    color: #333;
    margin-top: 50px;
}

.site-footer .footer-top {
    background: #f8f9fa;
    padding: 40px 0 30px;
    border-top: 3px solid #4CAF50;
}

.site-footer .footer-bottom {
    background: #2c3e50;
    color: #bdc3c7;
    padding: 20px 0;
}

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

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.footer-widget {
    flex: 1;
    min-width: 250px;
}

.footer-title,
.widget-title {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

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

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

.contact-list i {
    color: #4CAF50;
    width: 20px;
}

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

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #4CAF50;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-widgets {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}






/* ==================== БЛОК БЫСТРЫХ ССЫЛОК ==================== */
.quick-links-section {
    background: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.quick-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4CAF50, #2E7D32, #4CAF50);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.quick-link-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #4CAF50;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #4CAF50;
}

.quick-link-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.quick-link-card:hover .card-icon {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    transform: scale(1.1);
}

.card-icon i {
    font-size: 32px;
    color: #4CAF50;
    transition: all 0.3s ease;
}

.quick-link-card:hover .card-icon i {
    color: white;
    transform: rotate(5deg);
}

.card-content {
    flex: 1;
    min-width: 0; /* Для правильного переноса текста */
}

.card-title {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.quick-link-card:hover .card-title {
    color: #2E7D32;
}

.card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.card-arrow {
    margin-left: 15px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.quick-link-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.card-arrow i {
    color: #4CAF50;
    font-size: 1.2rem;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .quick-links-section {
        padding: 40px 0;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-link-card {
        padding: 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }
    
    .card-icon i {
        font-size: 26px;
    }
    
    .card-title {
        font-size: 1rem;
    }
}

/* Казахская версия - специфичные стили для длинных названий */
.lang-kk .quick-link-card {
    padding: 20px 15px;
}

.lang-kk .card-title {
    font-size: 1rem;
    line-height: 1.2;
}

.lang-kk .card-description {
    font-size: 0.85rem;
}





/* ==================== БЛОК НАША МИССИЯ ==================== */
.mission-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="%234CAF50" opacity="0.1"/><circle cx="80" cy="40" r="5" fill="%234CAF50" opacity="0.1"/><circle cx="40" cy="80" r="4" fill="%234CAF50" opacity="0.1"/></svg>');
    background-repeat: repeat;
    opacity: 0.3;
    z-index: 0;
}

.mission-section .container {
    position: relative;
    z-index: 1;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Левая часть: текст */
.mission-text {
    padding-right: 40px;
}

.section-label {
    margin-bottom: 20px;
}

.label-text {
    display: inline-block;
    padding: 8px 20px;
    background: #E8F5E9;
    color: #2E7D32;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-title {
    color: #2c3e50;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    position: relative;
}

.mission-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #4CAF50;
    border-radius: 2px;
}

.mission-statement p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.highlighted-text {
    color: #2c3e50;
    font-size: 1.3rem !important;
    font-weight: 500;
    line-height: 1.6 !important;
    padding-left: 20px;
    border-left: 4px solid #4CAF50;
    background: #F9FDF9;
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

.mission-quote {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.mission-quote::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.quote-icon {
    margin-bottom: 15px;
}

.quote-icon i {
    font-size: 2rem;
    color: white;
    opacity: 0.8;
}

.mission-quote blockquote {
    color: white;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Правая часть: цели */
.mission-goals {
    position: relative;
}

.goals-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8f5e9;
    margin-bottom: 30px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f7f0;
}

.goals-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.card-header .card-icon {
    width: 50px;
    height: 50px;
    background: #E8F5E9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.card-header .card-icon i {
    font-size: 1.5rem;
    color: #4CAF50;
}

/* Список целей */
.goals-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f5f5f5;
    transition: transform 0.3s ease;
}

.goal-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.goal-item:hover {
    transform: translateX(10px);
}

.goal-icon {
    width: 50px;
    height: 50px;
    background: #F1F8E9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.goal-item:hover .goal-icon {
    background: #4CAF50;
    transform: scale(1.1);
}

.goal-icon i {
    font-size: 1.3rem;
    color: #4CAF50;
    transition: all 0.3s ease;
}

.goal-item:hover .goal-icon i {
    color: white;
}

.goal-content {
    flex: 1;
}

.goal-content h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.goal-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Подвал карточки */
.card-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 2px solid #f0f7f0;
}

.footer-text {
    display: flex;
    align-items: center;
    color: #4CAF50;
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-text i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Декоративные элементы */
.mission-decoration {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: rgba(232, 245, 233, 0.5);
    border-radius: 12px;
    border: 2px dashed #C8E6C9;
}

.decoration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.decoration-item i {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

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

.decoration-item span {
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 100px;
    line-height: 1.3;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .mission-content {
        gap: 40px;
    }
    
    .mission-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .mission-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .mission-text {
        padding-right: 0;
    }
    
    .mission-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .mission-section {
        padding: 60px 0;
    }
    
    .mission-title {
        font-size: 2rem;
    }
    
    .highlighted-text {
        font-size: 1.1rem !important;
        padding: 15px;
    }
    
    .mission-quote {
        padding: 20px;
    }
    
    .mission-quote blockquote {
        font-size: 1.1rem;
    }
    
    .goals-card {
        padding: 20px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-header .card-icon {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .goal-item {
        flex-direction: column;
    }
    
    .goal-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .mission-decoration {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

/* Для казахской версии */
.lang-kk .mission-title {
    font-size: 2.2rem;
}

.lang-kk .highlighted-text {
    font-size: 1.1rem !important;
}





/* ==================== БЛОК РУКОВОДИТЕЛЯ ==================== */
.director-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.director-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(46, 125, 50, 0.05) 100%);
    border-radius: 50%;
}

.director-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

/* Левая часть: фото */
.director-photo {
    position: sticky;
    top: 100px;
}

.photo-frame {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8f5e9;
    position: relative;
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid #E8F5E9;
    border-radius: 15px;
    pointer-events: none;
}

.photo-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
}

.director-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.photo-image:hover .director-img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.experience-badge {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.photo-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #F9FDF9;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #E8F5E9;
    transform: translateX(5px);
}

.info-item i {
    color: #4CAF50;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.info-item span {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
}

/* Правая часть: информация */
.director-info {
    padding-top: 20px;
}

.director-name {
    color: #2c3e50;
    font-size: 2.8rem;
    font-weight: 700;
    margin: 20px 0 15px 0;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.director-name .last-name {
    color: #2E7D32;
    font-size: 3rem;
    display: block;
}

.director-name .first-name,
.director-name .middle-name {
    display: block;
    font-size: 2rem;
    color: #555;
}

.director-position {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f7f0;
}

.director-position h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    padding-left: 20px;
}

.director-position h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
}

.position-icon {
    width: 50px;
    height: 50px;
    background: #FFF8E1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.position-icon i {
    color: #FFB300;
    font-size: 1.5rem;
}

/* Сообщение директора */
.director-message {
    position: relative;
    margin-bottom: 40px;
}

.message-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: 1;
}

.message-icon i {
    font-size: 4rem;
    color: #E8F5E9;
}

.message-content {
    position: relative;
    z-index: 2;
    padding-left: 40px;
}

.message-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.greeting-text {
    color: #2c3e50 !important;
    font-size: 1.3rem !important;
    font-weight: 500;
    margin-bottom: 30px !important;
}

.highlight {
    background: linear-gradient(135deg, #F1F8E9, #E8F5E9);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #4CAF50;
    font-style: italic;
    color: #2E7D32 !important;
    margin: 30px 0 !important;
    position: relative;
}

.highlight::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(76, 175, 80, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.closing-text {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 1.2rem !important;
    margin-top: 30px !important;
    padding-top: 20px;
    border-top: 2px solid #f0f7f0;
}

/* Подвал блока */
.director-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 2px solid #f0f7f0;
    margin-top: 40px;
}

.signature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.signature-line {
    width: 150px;
    height: 3px;
    background: #2c3e50;
    margin-bottom: 5px;
    border-radius: 2px;
}

.signature-text {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.contact-options {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    background: #F5F5F5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #E8F5E9;
    color: #2E7D32;
    transform: translateY(-2px);
}

.contact-link i {
    color: #4CAF50;
}

.meeting-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.meeting-btn:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .director-wrapper {
        grid-template-columns: 300px 1fr;
        gap: 40px;
    }
    
    .director-name {
        font-size: 2.4rem;
    }
    
    .director-name .last-name {
        font-size: 2.6rem;
    }
}

@media (max-width: 992px) {
    .director-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .director-photo {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .director-name {
        text-align: center;
    }
    
    .message-content {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .director-section {
        padding: 60px 0;
    }
    
    .director-name {
        font-size: 2rem;
    }
    
    .director-name .last-name {
        font-size: 2.2rem;
    }
    
    .director-name .first-name,
    .director-name .middle-name {
        font-size: 1.6rem;
    }
    
    .director-position {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .position-icon {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .message-content p {
        font-size: 1rem;
    }
    
    .greeting-text {
        font-size: 1.1rem !important;
    }
    
    .director-footer {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .contact-link,
    .meeting-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Для казахской версии */
.lang-kk .director-name {
    font-size: 2.2rem;
}

.lang-kk .director-name .last-name {
    font-size: 2.4rem;
}








/* ==================== ВНУТРЕННИЕ СТРАНИЦЫ ==================== */
.site-main {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.page-content-wrapper {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8f5e9;
}

.entry-title {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.post-thumbnail {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
}

.entry-content h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f7f0;
}

.entry-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 25px 0 15px 0;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0 20px 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #f0f7f0;
    color: #666;
    font-size: 0.9rem;
}

.entry-meta {
    color: #666;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .site-main {
        padding: 40px 0;
    }
    
    .page-content-wrapper {
        padding: 25px 20px;
    }
    
    .entry-title {
        font-size: 1.8rem;
    }
    
    .entry-content {
        font-size: 1rem;
    }
}






















/* ==================== СТРАНИЦА НОВОСТЕЙ ==================== */
/* Основной контейнер */
.site-main {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 500px;
}

/* Заголовок страницы */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 15px;
}

.page-title {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #4CAF50;
    border-radius: 2px;
}

.archive-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Список новостей */
article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Миниатюра (изображение) */
.post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

article:hover .post-thumbnail img {
    transform: scale(1.1);
}

/* Контент поста */
.entry-header {
    padding: 25px 25px 0;
}

.entry-title {
    margin: 0 0 15px;
    font-size: 1.5rem;
    line-height: 1.3;
}

.entry-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #4CAF50;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.entry-meta span {
    display: inline-block;
    margin-right: 15px;
}

.entry-meta a {
    color: #4CAF50;
    text-decoration: none;
}

.entry-meta a:hover {
    text-decoration: underline;
}

.entry-content {
    padding: 0 25px 25px;
    color: #555;
    line-height: 1.6;
    flex: 1;
}

.entry-content p {
    margin-bottom: 15px;
}

/* Кнопка "Читать далее" */
.read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #2E7D32;
    transform: translateY(-2px);
}

/* Футер поста */
.entry-footer {
    padding: 0 25px 25px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.cat-links,
.tags-links {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9rem;
}

.cat-links a,
.tags-links a {
    color: #4CAF50;
    text-decoration: none;
    margin-left: 5px;
}

.cat-links a:hover,
.tags-links a:hover {
    text-decoration: underline;
}

/* Пагинация (навигация) */
.navigation {
    margin-top: 50px;
    text-align: center;
}

.nav-links {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.nav-links a:hover {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.nav-links .current {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

/* Одна запись (single.php) */
.single article {
    max-width: 800px;
    margin: 0 auto;
}

.single .post-thumbnail {
    height: 400px;
}

.single .entry-title {
    font-size: 2.2rem;
    text-align: center;
}

.single .entry-meta {
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
}

.single .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.single .entry-content h2 {
    color: #2c3e50;
    margin: 30px 0 15px;
    font-size: 1.8rem;
}

.single .entry-content h3 {
    color: #2c3e50;
    margin: 25px 0 15px;
    font-size: 1.5rem;
}

.single .entry-content p {
    margin-bottom: 20px;
}

.single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.single .entry-content blockquote {
    border-left: 4px solid #4CAF50;
    padding: 15px 20px;
    background: #f9f9f9;
    font-style: italic;
    margin: 20px 0;
}

/* Навигация между постами */
.post-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 0 1 45%;
}

.post-navigation a {
    display: block;
    padding: 15px 20px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.post-navigation a:hover {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 600;
}

/* Сайдбар (если есть) */
.widget-area {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.widget {
    margin-bottom: 30px;
}

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

.widget-title {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
}

/* Адаптивность */
@media (max-width: 992px) {
    .page-title {
        font-size: 2rem;
    }
    
    .single .entry-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .site-main {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .post-thumbnail {
        height: 200px;
    }
    
    .entry-title {
        font-size: 1.3rem;
    }
    
    .single .post-thumbnail {
        height: 250px;
    }
    
    .single .entry-title {
        font-size: 1.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .entry-header,
    .entry-content,
    .entry-footer {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .entry-title {
        font-size: 1.2rem;
    }
}



