/* EduDigital Theme CSS */
/*
Theme Name: edudigital
Theme URI: https://Edu-Digital.kz/
Author: FKB
Description: edudigital
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: https://Edu-Digital.kz/
*/

:root {
	--primary: #6366f1;
	--primary-dark: #4f46e5;
	--secondary: #8b5cf6;
	--accent: #ec4899;
	--light: #f8fafc;
	--dark: #1e293b;
	--success: #10b981;
	--warning: #f59e0b;
	--info: #06b6d4;
	--gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
	--gradient-light: linear-gradient(
		135deg,
		#818cf8 0%,
		#a78bfa 50%,
		#f472b6 100%
	);
	--shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
	--radius: 20px;
	--transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html,
body {
	font-family: 'Inter', sans-serif;
	background: linear-gradient(135deg, #f0f4ff 0%, #fdf2ff 100%);
	color: var(--dark);
	line-height: 1.7;
	overflow-x: hidden;
}

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

.containerpage {
	width: 100%;
	max-width: 1400px;
	margin: 20px auto;
	padding: 10px;
	margin-top: 100px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Animated Background */
.animated-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	overflow: hidden;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	opacity: 0.1;
}

.floating-shape {
	position: absolute;
	border-radius: 50%;
	animation: float 20s infinite ease-in-out;
}

.shape-1 {
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, #6366f1 0%, transparent 70%);
	top: -150px;
	left: -150px;
}

.shape-2 {
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
	bottom: -200px;
	right: -200px;
	animation-delay: -5s;
}

.shape-3 {
	width: 250px;
	height: 250px;
	background: radial-gradient(circle, #ec4899 0%, transparent 70%);
	top: 50%;
	left: 50%;
	animation-delay: -10s;
}

@keyframes float {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	33% {
		transform: translate(30px, -50px) scale(1.1);
	}
	66% {
		transform: translate(-20px, 20px) scale(0.9);
	}
}

/* Header */
.site-header {
	position: fixed;
	top: auto;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	transition: all 0.3s ease;
}

.site-header .container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

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

/* Logo */
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.5em;
	font-weight: bold;
	color: var(--primary);
	text-decoration: none;
	transition: transform 0.3s;
}

.logo:hover {
	transform: scale(1.05);
}

.logo i {
	font-size: 1.2em;
}

/* Navigation */
.nav-links {
	display: flex;
	align-items: center;
	flex: 1;
	justify-content: center;
}

.main-navigation {
	display: flex;
}

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

.main-menu li {
	position: relative;
}

.main-menu a {
	color: var(--dark);
	text-decoration: none;
	font-weight: 500;
	padding: 8px 0;
	display: block;
	transition: color 0.3s;
	transition: all 0.5s ease;
}

.main-menu a:hover {
	color: var(--primary);
	transform: translateY(-2px); /* Поднимаем на 2px вверх */
}

.main-menu .current-menu-item > a {
	color: var(--primary);
	font-weight: 600;
}

/* Dropdown Menu */
.menu-item-has-children {
	position: relative;
}

.menu-item-has-children > a:after {
	content: ' ▾';
	font-size: 12px;
}

.menu-item-has-children > .sub-menu {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 200px;
	background: #fff;
	border-radius: 8px;
	padding: 10px 0;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	flex-direction: column;
	z-index: 1000;

	list-style: none; /* убираем маркеры */
	margin: 0;
	padding: 0;
}

.menu-item-has-children > .sub-menu li a {
	display: block;
	padding: 10px 15px;
	color: #222;
}

.menu-item-has-children > .sub-menu li a:hover {
	background: #f3f3f3;
}

.menu-item-has-children:hover > .sub-menu {
	display: flex;
}

/* Burger Menu */
.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	z-index: 1001;
}

.menu-toggle .bar {
	width: 25px;
	height: 3px;
	background: var(--primary);
	border-radius: 3px;
	transition: all 0.3s ease;
}

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

.menu-toggle.active .bar:nth-child(2) {
	opacity: 0;
}

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

/* User Menu */
.user-menu {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	padding: 7px 17px;
	border-radius: 8px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.4s ease;
	border: none;
}
.btn-primary {
	background: transparent;
	color: #6366f1;
	border: 2px solid #6366f1;
}

.btn-outline {
	background: transparent;
	border: 2px solid #6366f1;
	color: #6366f1;
}

.btn-outline:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-2px); /* Поднимаем на 2px вверх */
}

.btn-primary:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-2px); /* Поднимаем на 2px вверх */
}

.btn-success {
	background: var(--success);
	color: white;
}

.btn-success:hover {
	background: #059669;
}

.language-switcher {
	display: flex; /* горизонтально */
	flex-direction: row;
	align-items: center;
	gap: 10px; /* расстояние между языками */
	padding: 0;
	margin: 0;
}

.language-switcher li {
	list-style: none;
	display: flex;
	align-items: center;
}

.language-switcher li a {
	display: flex;
	align-items: center;
	gap: 5px; /* расстояние между флагом и текстом */
	text-decoration: none;
	padding: 5px 10px;
	border-radius: 5px;
	color: #64748b;
	font-weight: 500;
	transition: all 0.3s;
}

.language-switcher li a:hover {
	background: #f1f5f9;
	color: var(--primary);
}

.language-switcher li.current-lang a {
	background: var(--primary);
	color: #fff;
}

/* User Dropdown */
.user-dropdown {
	position: relative;
}

/* Кнопка пользователя */
.user-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	background: white;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	padding: 8px 15px;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: 500;
	color: var(--dark);
}

.user-btn:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.user-btn i.fa-chevron-down {
	font-size: 0.8em;
	transition: transform 0.3s;
}

/* Поворот стрелки при hover */
.user-dropdown:hover .user-btn i.fa-chevron-down {
	transform: rotate(180deg);
}

/* Меню */
.dropdown-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	background: white;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	min-width: 220px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s;
	z-index: 1000;
}

/* Показываем меню при hover на родителя или на самом меню */
.user-dropdown:hover .dropdown-menu,
.user-dropdown .dropdown-menu:hover {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Ссылки внутри меню */
.dropdown-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	color: var(--dark);
	text-decoration: none;
	transition: background 0.3s;
}

.dropdown-menu a:hover {
	background: #f8fafc;
	color: var(--primary);
}

.dropdown-menu hr {
	margin: 5px 0;
	border: none;
	border-top: 1px solid #e2e8f0;
}

/* Main Content */
.site-content {
	margin-top: 80px;
}

/* Hero Section */
.hero {
	padding: 120px 0 80px;
	position: relative;
	overflow: hidden;
}

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

.hero-text {
	position: relative;
}

.hero-badge {
	display: inline-block;
	background: var(--gradient);
	color: white;
	padding: 10px 20px;
	border-radius: 50px;
	font-size: 0.9em;
	font-weight: 600;
	margin-bottom: 20px;
	animation: pulse 2s infinite;
}

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

.hero h1 {
	font-size: 3.8em;
	font-weight: 800;
	margin-bottom: 25px;
	line-height: 1.1;
	background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero p {
	font-size: 1.3em;
	color: #64748b;
	margin-bottom: 40px;
	line-height: 1.6;
}

.hero-image {
	position: relative;
	text-align: center;
}

.hero-img {
	width: 100%;
	max-width: 600px;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
	padding: 100px 0;
	position: relative;
}

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

.section-title {
	font-size: 3em;
	font-weight: 800;
	margin-bottom: 20px;
	background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.section-subtitle {
	font-size: 1.3em;
	color: #64748b;
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.6;
}

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

.card {
	background: rgba(255, 255, 255, 0.8);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
    flex-direction: column;
}

.card:hover {
	transform: translateY(-15px) scale(1.02);
	box-shadow: var(--shadow-lg);
}

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

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

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

.card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
}

.card-icon {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5em;
	color: var(--primary);
}

.card-content {
	padding: 30px;
	    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card h3 {
	font-size: 1.5em;
	margin-bottom: 15px;
	color: var(--dark);
	font-weight: 700;
}

.card p {
	color: #64748b;
	margin-bottom: 25px;
	line-height: 1.6;
	flex-grow: 1;
}
.card-content a,
.card-content .btn,
.card-content .feature-btn {
    margin-top: auto;
}

/* Footer */
footer {
	background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
	color: white;
	padding: 80px 0 40px;
	margin-top: 100px;
	position: relative;
	overflow: hidden;
}

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

.footer-column h3 {
	font-size: 1.4em;
	margin-bottom: 25px;
	color: var(--success);
	font-weight: 700;
}

.footer-column p {
	color: #cbd5e1;
	line-height: 1.7;
	margin-bottom: 25px;
}

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

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

.footer-links a {
	color: #cbd5e1;
	text-decoration: none;
	transition: var(--transition);
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-links a:hover {
	color: white;
	transform: translateX(8px);
}

.copyright {
	text-align: center;
	padding-top: 40px;
	border-top: 1px solid #334155;
	color: #94a3b8;
}

.copyright a {
	color: #94a3b8;
	text-decoration: none;
}

.copyright a:hover {
	color: white;
}

/* Alerts */
.alert {
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 20px;
}

.alert-warning {
	background: #fef3c7;
	border: 1px solid #fcd34d;
	color: #92400e;
}

.alert-success {
	background: #dcfce7;
	border: 1px solid #86efac;
	color: #166534;
}

.alert-error {
	background: #fee2e2;
	border: 1px solid #fca5a5;
	color: #991b1b;
}

/* Hero Carousel */
.hero-carousel {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	border-radius: 10px;
}

.carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
	opacity: 1;
}

.hero-carousel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.carousel-dots {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
}

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

.carousel-dot.active {
	background: white;
}

.carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: background 0.3s ease;
}

.carousel-nav:hover {
	background: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
	left: 15px;
}

.carousel-next {
	right: 15px;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.hero h1 {
		font-size: 3em;
	}

	.section-title {
		font-size: 2.5em;
	}
}

@media (max-width: 992px) {
	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 40px;
	}

	.hero h1 {
		font-size: 2.5em;
	}

	.section-title {
		font-size: 2em;
	}

	.main-menu {
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.hero h1 {
		font-size: 2em;
	}

	.hero p {
		font-size: 1.1em;
	}

	.section-title {
		font-size: 1.8em;
	}

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

	.card-content {
		padding: 20px;
	}
}

/* ========================================
   МОБИЛЬНОЕ МЕНЮ - Добавьте в конец style.css
   ======================================== */
/* ========================================
   МОБИЛЬНОЕ МЕНЮ - Добавьте в конец style.css
   ======================================== */

/* Burger Menu - показываем на мобильных */
@media (max-width: 992px) {
    /* Показываем бургер */
    .menu-toggle {
        display: flex;

    }

    /* Header layout для мобильных */
    .header-content {
        flex-wrap: wrap;
        position: relative;
    }

    /* Навигация - скрыта по умолчанию */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 999;
        flex-direction: column;
        width: 100%;
    }

    /* Показываем меню когда активно */
    .nav-links.active {
        display: flex !important;
    }

    /* Основное меню - вертикально */
    .main-navigation {
        width: 100%;
    }

    .main-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-menu li {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
    }

    .main-menu li:last-child {
        border-bottom: none;
    }

    .main-menu a {
        padding: 15px 10px;
        display: block;
    }

    /* Подменю на мобильных */
    .menu-item-has-children > a:after {
        content: ' ▾';
        float: right;
    }

    .menu-item-has-children > .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: #f8fafc;
        border-radius: 0;
        padding-left: 20px;
    }

    .menu-item-has-children.active > .sub-menu {
        display: block;
    }

    /* User menu на мобильных */
    .user-menu {
        order: 2;
        gap: 10px;
    }

    /* Скрываем текст кнопок на маленьких экранах */
    .user-menu .btn span,
    .user-menu .btn-outline span,
    .user-menu .btn-primary span {
        display: none;
    }

    .user-menu .btn {
        padding: 10px 12px;
    }

    /* Language switcher компактнее */
    .language-switcher li a {
        padding: 5px 8px;
        font-size: 0.85em;
    }

    /* User dropdown */
    .user-btn span {
        display: none;
    }

    .user-btn {
        padding: 8px 12px;
    }

    .dropdown-menu {
        right: -50px;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    /* Header ещё компактнее */
    .header-content {
        padding: 10px 0;
    }

    .logo {
        font-size: 1.2em;
    }

    .logo i {
        font-size: 1em;
    }

    /* User menu */
    .user-menu {
        gap: 15px;
        margin-left: auto;
    }

    /* Language switcher - только флаги */
    .language-switcher li a span {
        display: none;
    }

    /* Hero секция */
    .hero {
        padding: 30px 0 60px;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .hero-badge {
        font-size: 0.8em;
        padding: 8px 15px;
    }

    /* Карусель */
    .hero-carousel {
        height: 250px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
    }

    /* Секции */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.6em;
    }

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

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

    /* Карточки */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-content {
        padding: 20px;
    }

    .card h3 {
        font-size: 1.2em;
    }


}
@media (max-width: 768px) {
    footer {
        padding: 30px 0;
        text-align: center;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        width: 100%;
        text-align: center;
    }

    .footer-column h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .footer-column p,
    .footer-links li,
    .footer-links a {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Убираем лишние отступы */
    .footer-links {
        padding: 0;
        margin: 0 auto;
    }

    .footer-links li {
        margin: 8px 0;
    }

    .footer-links a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    /* Кнопка регистрации */
    .user-menu .btn {
        width: 100%;
        padding: 12px 18px;
        font-size: 16px;
        justify-content: center;
    }

    /* Контактные элементы */
    .footer-column i {
        margin-right: 6px;
    }

    /* Соцсети */
    .footer-column .fab {
        font-size: 18px;
    }

    /* Копирайт */
    .copyright {
        margin-top: 25px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.2);
        font-size: 14px;
        line-height: 1.5;
    }

    .copyright a {
        display: inline-block;
        margin: 4px 5px;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .containerpage {
        margin-top: 80px;
        padding: 15px;
        border-radius: 8px;
    }

    /* Header */
    .logo {
       font-size: 20px;
    }

    .menu-toggle {
        padding: 8px;
    }

    .menu-toggle .bar {
        width: 22px;
        height: 2px;
    }

    /* Dropdown menu на весь экран */
    .dropdown-menu {
        position: fixed;
        left: 10px;
        right: 10px;
        width: auto;
    }

    /* Кнопки */
    .btn {
        padding: 8px 12px;
        font-size: 0.9em;
    }

    /* Hero */
    .hero h1 {
        font-size: 1.5em;
    }

    .hero-carousel {
        height: 200px;
        border-radius: 8px;
    }

    /* Alerts */
    .alert {
        padding: 15px;
        font-size: 0.9em;
    }
}

/* ========================================
   Анимация бургер меню
   ======================================== */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Плавное появление меню */
.nav-links {
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .nav-links {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}
/* Мобильная версия Hero Section */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 16px;
        margin-top: 10px;
    }

    .hero-badge {
        font-size: 14px;
        display: inline-block;
        margin-bottom: 10px;
    }

    /* Кнопка — ширина 100% */
    .hero-text .btn {
        width: 100%;
        justify-content: center;
        font-size: 16px;
        padding: 12px 20px;
    }

    /* Видео/изображение — адаптивно */
    .hero-image {
        width: 100%;
    }

    .hero-carousel video {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }
}
.visits-counter-fixed {
    position: fixed;        /* фиксируем относительно экрана */
    left: 20px;             /* отступ от левого края */
    bottom: 20px;           /* отступ от низа */
    background: rgba(255, 255, 255, 0.9); /* белый фон с прозрачностью */
    color: #1e293b;         /* цвет текста */
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-weight: 600;
    z-index: 9999;          /* чтобы поверх всех элементов */
    font-size: 14px;
}
