
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #f9f9f9;
    --card-bg: #fff;
    --header-bg: #2c3e50;
    --footer-bg: #34495e;
    --nav-link-color: #ecf0f1;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

.dark-mode {
    --primary-color: #34495e;
    --secondary-color: #2980b9;
    --accent-color: #c0392b;
    --text-color: #ffffff;
    --bg-color: #2c3e50;
    --card-bg: #34495e;
    --header-bg: #1a252f;
    --footer-bg: #1a252f;
    --nav-link-color: #bdc3c7;
    --border-color: #444;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

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

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

.container p
{
    color: var(--text-color);
}



/* Header Styles */
header {
    background-color: var(--header-bg);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: relative;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.8;
    color: rgb(255, 255, 255);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--nav-link-color);
    font-size: 1.2rem;
    cursor: pointer;
}

.accessibility-btn {
    background: none;
    border: none;
    color: var(--nav-link-color);
    font-size: 1.2rem;
    cursor: pointer;
}

.search-form {
    position: relative;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.search-form input {
    width: 200px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: width 0.3s ease;
}

.search-form input:focus {
    width: 250px;
    outline: none;
    border-color: var(--secondary-color);
}

.search-form button {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--nav-link-color);
    cursor: pointer;
    font-weight: 500;
    padding: 5px;
    transition: color 0.3s;
}

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

.lang-btn-en-text {
    display: inline-block;
    min-width: 2rem;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.lang-separator {
    color: var(--nav-link-color);
    margin: 0 5px;
}

/* Navigation */
nav {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.main-nav {
    display: flex;
    list-style: none;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: var(--nav-link-color);
    text-decoration: none;
    padding: 1rem;
    display: block;
    font-weight: 500;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    box-shadow: 0 5px 10px var(--shadow-color);
    border-radius: 0 0 5px 5px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}

.main-nav li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu a {
    padding: 0.8rem 1rem;
    color: var(--text-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--nav-link-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slid {
    min-width: 100%;
    position: relative;
}

.slid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%)
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}


.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Section Titles */
.section {
    padding: 2.5rem 0;
    margin-bottom: 2rem;
}
.bg-light {
    background-color: var(--card-bg);
}
.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* News Navigation */
.news-navigation {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

.news-section {
    position: relative;
    padding: 4rem 0;
}

.news-section .section-title {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-prev, .news-next {
    background: var(--secondary-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-prev:hover, .news-next:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.news-prev:disabled, .news-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.news-grid {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 10px 0;
}

.news-card {
    flex: 0 0 calc(33.33% - 20px);
    min-width: calc(33.33% - 20px);
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-img {
    height: 200px;
    overflow: hidden;
}

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

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

.news-content {
    padding: 20px;
}

.news-date {
    display: block;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.news-excerpt {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 15px;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .news-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .news-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .news-navigation {
        position: static;
        margin-top: 20px;
    }
}
/* Specialties Section */
.specialties-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    padding: 10px 20px;
    background-color: var(--card-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.tab-btn.active {
    background-color: var(--secondary-color);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.specialty-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialty-meta p
{
    color: var(--text-color);
}

.specialty-info
{
    color: #000;
}

.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.specialty-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    min-width: 60px;
}

.specialty-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.specialty-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* Gallery Section */
.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.slide {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100%;
    height: 500px;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    border-radius: 0 0 8px 8px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: var(--secondary-color);
}

/* Teachers Section */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.teacher-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s;
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-img {
    height: 250px;
    overflow: hidden;
}

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

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

.teacher-info {
    padding: 20px;
}

.teacher-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.teacher-position {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.teacher-bio {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-color);
    opacity: 0.8;
}

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

.social-links a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
    padding: 20px 0;
}

.achievement-item {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: transform 0.3s ease;
}

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

.achievement-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.achievement-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.achievement-text {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-color);
}

/* Contacts Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

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

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

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    min-width: 30px;
    text-align: center;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-map {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* partners */
.hr-shadow {
	margin: 20px 0;
	padding: 0;
	height: 10px;
	border: none;
	border-top: 1px solid #333;
	box-shadow: 0 10px 10px -10px #8c8b8b inset;
}
.partners-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-scroll {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.partners-scroll:hover {
    animation-play-state: paused;
}

.partners-scroll img {
    height: 60px;
    margin: 0 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partners-scroll img:hover {
    transform: scale(1.1);
}

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

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

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

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

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

.footer-contact-icon {
    color: var(--secondary-color);
}

.footer-meta {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bdc3c7;
}

.footer-meta-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.footer-meta-label {
    width: 100%;
    text-align: center;
    font-weight: 600;
    color: #ecf0f1;
    margin-bottom: 0.25rem;
}

@media (min-width: 600px) {
    .footer-meta-label {
        width: auto;
        margin-bottom: 0;
        margin-right: 0.5rem;
    }
}

.footer-meta-links a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.footer-meta-sep {
    opacity: 0.5;
    user-select: none;
}

.footer-gris {
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 720px;
    margin: 0 auto;
}

.footer-gris p {
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    
}

/* Статические страницы (политика, карта сайта) */
.static-page {
    padding: 2.5rem 0 3rem;
}

.static-page-inner {
    max-width: 800px;
    margin: 0 auto;
}

.static-page-title {
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
}

.static-page-subtitle {
    margin: 2rem 0 0.75rem;
    font-size: 1.2rem;
}

.static-page-intro {
    margin-bottom: 1.5rem;
    color: var(--text-muted, #666);
}

.static-page-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.sitemap-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.sitemap-list li {
    margin-bottom: 0.35rem;
}

.sitemap-list a {
    color: var(--primary-color);
    text-decoration: none;
}

.sitemap-list a:hover {
    text-decoration: underline;
}

.sitemap-grid {
    list-style: none;
    padding-left: 0;
}

.sitemap-grid li {
    margin-bottom: 0.5rem;
}

/* Accessibility Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--text-color);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.accessibility-option {
    margin-bottom: 15px;
}

.accessibility-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.accessibility-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* High Contrast Mode */
.high-contrast {
    --text-color: #000;
    --bg-color: #fff;
    --card-bg: #fff;
    --header-bg: #000;
    --footer-bg: #000;
    --nav-link-color: #fff;
    --border-color: #000;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

.high-contrast .btn,
.high-contrast .tab-btn.active {
    background-color: #000;
    color: #fff;
}

/* Large Text Mode */
.large-text {
    font-size: 18px;
}

.large-text h1, 
.large-text h2, 
.large-text h3 {
    font-size: 150%;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        height: 400px;
    }

    
    .hero h1 {
        font-size: 2rem;
    }
    
    .slide {
        height: 400px;
    }

    .search-form {
        margin-right: 15px;
    }
    
    .search-form input {
        width: 150px;
    }
    
    .search-form input:focus {
        width: 180px;
    }
}


@media (max-width: 768px) {
    header {
        padding: 1.5rem 0;
        position: sticky;
        z-index: 999;
    }

    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .logo {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .logo img {
        height: 0px;
        margin: 0;
    }

    .logo-text h1 {
        font-size: 1.0rem;
        line-height: 1.2;
        text-align: right;
    }

    .logo-text p {
        display: none;
    }

    .header-actions {
        position: static;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .search-form {
        display: flex;
        flex-grow: 1;
        margin: 0;
    }

    .search-form input {
        width: 100%;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .search-icon
    {
        color: #ddd;
    }

    .theme-toggle, .accessibility-btn {
        font-size: 1.1rem;
        padding: 5px;
    }

    
    .language-switcher {
        margin-right: 10px;
    }

    .hero-slider {
        height: 300px; 
    }

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

    .slide-content h1 {
        font-size: 1.0rem; 
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); 
    }

    .slide-content p {
        font-size: 1rem; 
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); 
    }

    .slider-dots {
        bottom: 10px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.7); 
        transition: all 0.3s ease;
    }

    .slider-dot.active {
        background: white;
        transform: scale(1.3); 
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        backdrop-filter: blur(3px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .slider-btn:hover {
        transform: scale(1.05);
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .achievement-item {
        padding: 15px;
    }

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

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

    .achievement-text {
        font-size: 0.75rem;
    }



    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-color);
        z-index: 100;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
        position: fixed;
        left: 20px;
        top: 28px;
        z-index: 1001;
        background: none;
        border: none;
        padding: 0;
        color: var(--secondary-color);
        font-size: 1.8rem;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .mobile-menu-btn.active {
        transform: rotate(90deg);
    }

    .mobile-menu-btn i {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #2c3e50;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .main-nav.active {
        left: 0;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
    }
    
        .main-nav::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(145deg, #2c3e50 0%, #34495e 100%);
            z-index: -1;
        }
    
        .main-nav li {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transform: translateX(-20px);
            opacity: 0;
            transition: all 0.3s ease;
        }
    
        .main-nav.active li {
            transform: translateX(0);
            opacity: 1;
        }
    
        .main-nav li:nth-child(1) { transition-delay: 0.1s; }
        .main-nav li:nth-child(2) { transition-delay: 0.15s; }
        .main-nav li:nth-child(3) { transition-delay: 0.2s; }
        .main-nav li:nth-child(4) { transition-delay: 0.25s; }
        .main-nav li:nth-child(5) { transition-delay: 0.3s; }
    
        .main-nav a {
            padding: 15px;
            color: #ecf0f1;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.3s ease;
        }
    
        .main-nav a:hover {
            background-color: rgba(255, 255, 255, 0.05);
            padding-left: 25px;
        }
    
        .dropdown-menu {
            position: static;
            display: none;
            background-color: rgba(0, 0, 0, 0.1);
            box-shadow: none;
            width: 100%;
            margin-left: 15px;
            border-left: 2px solid var(--secondary-color);
        }
    
        .main-nav li.active .dropdown-menu {
            display: block;
            animation: slideDown 0.3s ease;
        }
    
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
}   

@media (max-width: 576px) {
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .hero {
        height: 300px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .slide {
        height: 250px;
    }

    .hero-slider {
        height: 250px;
    }

    .slide-content h1 {
        font-size: 1.4rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

}

/* Хлебные крошки */
.breadcrumbs-wrap {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0.65rem 0;
    font-size: 0.9rem;
}

.breadcrumbs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--text-muted, #888);
    font-weight: normal;
}

.breadcrumbs a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
    font-weight: 600;
    color: var(--text-color);
}

/* Баннер cookie */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1900;
    padding: 1rem;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px var(--shadow-color);
}

.cookie-banner--hidden {
    display: none !important;
}

.cookie-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner-text {
    flex: 1 1 280px;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.cookie-banner-link.btn {
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
}

.footer-contact-link {
    color: inherit;
    text-decoration: underline;
}

.footer-contact-link:hover {
    color: var(--secondary-color, #3498db);
}
