@font-face {
	font-family: 'Involve';
	src: url('/static/fonts//involve/Involve-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Involve';
	src: url('/static/fonts//involve/Involve-Oblique.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Involve';
	src: url('/static/fonts//involve/Involve-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Involve';
	src: url('/static/fonts//involve/Involve-MediumOblique.ttf') format('truetype');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Involve';
	src: url('/static/fonts//involve/Involve-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Involve';
	src: url('/static/fonts//involve/Involve-SemiBoldOblique.ttf') format('truetype');
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Involve';
	src: url('/static/fonts//involve/Involve-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Involve';
	src: url('/static/fonts//involve/Involve-BoldOblique.ttf') format('truetype');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Involve', 'Inter', sans-serif;
}

body {
	font-family: 'Involve', 'Inter', sans-serif;
	color: #333;
	line-height: 1.5;
	overflow-x: hidden;
}

.container {
	max-width: 1196px;
	margin: 0 auto;
	width: 100%;
}

.header {
	background-color: #2aa034;
	padding: 16px 0;
	top: 0;
	left: 0;
	width: 100%;
	position: fixed;
	z-index: 1000;
}

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

.logo {
	margin-right: 50px;
	display: flex;
	align-items: center;
}

.logo-image {
	height: 33px;
	width: 187px;
}

.header-right {
	display: flex;
	align-items: center;
	flex-grow: 1;
	justify-content: flex-end;
}

.nav ul {
	display: flex;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 30px;
	margin-right: 28px;
}

.nav ul li a {
	font-weight: 400;
	color: white;
	text-decoration: none;
	font-size: 16px;
	line-height: 24px;
	transition: color 0.3s;
}

.nav ul li a:hover {
	color: rgba(235, 235, 235, 1);
}

.nav ul li a:active {
	color: rgba(255, 122, 6, 1);
}

.btn-white {
	display: block;
	background-color: white;
	color: #333;
	padding: 15px 28px 13px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 16px;
	line-height: 24px;
	display: inline-block;
	transition: background-color 0.3s;
	font-weight: 600;
}

.btn-white:hover {
	background-color: #ebebeb;
}

.btn-white:active {
	background-color: #e0e0e0;
}

/* Управление мобильным меню */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	flex-direction: column;
	justify-content: space-between;
	height: 20px;
	width: 30px;
	padding: 0;
}

.mobile-menu-toggle span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: white;
	border-radius: 3px;
	transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	max-width: 250px;
	height: 100vh;
	background-color: white;
	z-index: 1001;
	transition: all 0.4s ease-in-out;
	padding: 20px;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	overflow-y: auto;
	opacity: 0;
	transform: translateX(20px);
}

.mobile-menu.active {
	right: 0;
	opacity: 1;
	transform: translateX(0);
}

.mobile-menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.mobile-menu-close {
	background: none;
	border: none;
	color: #333;
	font-size: 24px;
	cursor: pointer;
	transition: color 0.3s;
}

.mobile-menu-close:hover {
	color: #4caf50;
}

.mobile-login {
	background-color: #313131;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	font-size: 14px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s;
}

.mobile-login:hover {
	background-color: #5e5e5e;
}

.mobile-login:active {
	background-color: #050505;
}

.mobile-nav ul {
	list-style: none;
}

.mobile-nav ul li {
	margin-bottom: 20px;
}

.mobile-nav ul li a {
	color: #333;
	text-decoration: none;
	font-size: 18px;
	transition: color 0.3s;
}

.mobile-nav ul li a:hover {
	color: #4caf50;
}

.hero {
	background-color: #fff;
	padding: 72px 0 84px;
	display: flex;
	margin-top: 84px;
	align-items: flex-start;
}

.hero-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.hero-text {
	width: 60%;
	text-align: left;
}

.hero-text h1 {
	font-size: 42px;
	margin-bottom: 40px;
	font-weight: 600;
	color: #333;
	line-height: 1.2;
	margin-left: 45px;
}
/* Изменения для секции Hero */
.hero-text h1 {
	margin-top: 45px;
	margin-left: 0; /* Выравниваем заголовок по первому квадратику */
	width: 100%;
	position: relative;
	margin-top: 0;
	align-self: flex-end; /* Отступ слева, чтобы заголовок начинался от первого квадратика */
}

.hero-image {
	width: 30%;
	position: relative;
	margin-top: 0;
	align-self: flex-end;
	height: 400px;
}

.image-stack {
	position: relative;
	width: 100%;
	height: 100%;
}

.image-layer {
	position: absolute;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.layer-1 {
	width: 100%;
	height: 100%;
	right: 0;
	bottom: 0;
	z-index: 3;
	background-image: url('/static/img/tutor/work/pexels-karolina-grabowska-7679892.png');
}

.layer-2 {
	width: 85%;
	height: 85%;
	right: 25%;
	bottom: 7%;
	z-index: 2;
	background-image: url('/static/img/tutor/work/pexels-karolina-grabowska-7679892.png');
}

.layer-3 {
	width: 72.25%;
	height: 72.25%;
	right: 47.5%;
	bottom: 13%;
	z-index: 1;
	background-image: url('/static/img/tutor/work/pexels-karolina-grabowska-7679892.png');
}

.steps-container {
	margin-bottom: 40px;
}

.steps {
	display: flex;
	align-items: flex-start;
}

.step-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	position: relative;
}

.step-item:not(:last-child) {
	margin-right: 45px;
}

.step-number {
	background-color: #313131;
	color: white;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
	font-weight: 600;
	font-size: 20px;
}

.step-line {
	position: absolute;
	top: 22px;
	left: 45px;
	height: 2px;
	background-color: #333;
	width: 100%;
}

.step-item:last-child .step-line {
	display: none;
}

.step-text {
	margin-top: 10px;
}

.step-text h3 {
	font-size: 18px;
	color: #333;
	margin-bottom: 5px;
	font-weight: 500;
}

.step-text p {
	font-size: 14px;
	color: #666;
}

.btn-orange {
	background-color: #ff7a06;
	color: white;
	padding: 15px 25px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 16px;
	display: inline-block;
	text-transform: uppercase;
	transition: background-color 0.3s;
	font-weight: 600;
}

.btn-orange:hover {
	background-color: #ff9c37;
}

.btn-orange:active {
	background-color: #f06306;
}

/* Секция Преимущества */
.features {
	background-color: #ffffff;
}

.features-grid {
	display: flex;
	justify-content: space-between;
}

.feature {
	width: 30%;
}

.feature h3 {
	font-size: 24px;
	margin-bottom: 15px;
	color: #333;
	font-weight: 500;
}

.feature p {
	font-size: 16px;
	color: #666;
	line-height: 1.5;
}

/* Секция Выплаты */
.payments {
	margin-block: 128px;
	padding: 30px 0;
	background-color: rgba(238, 254, 238, 1);
}

.payments h2 {
	font-weight: 600;
	color: #2aa034;
	text-align: center;
	font-size: 36px;
}

/* Секция Как это работает */
.how-it-works {
	background-color: #fff;
}

.how-it-works-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 50px;
}

.how-it-works-text {
	width: 45%;
}

.how-it-works-text h2 {
	font-weight: 600;
	font-size: 77px;
	margin-bottom: 30px;
	color: #333;
	line-height: 1.2;
}

.how-it-works-image {
	width: 45%;
}

.video-container {
	position: relative;
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	height: 270px;
}

.video-container img {
	width: 100%;
	display: block;
	border-radius: 10px;
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
	height: 70px;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.play-icon {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12px 0 12px 20px;
	border-color: transparent transparent transparent #333;
	margin-left: 5px;
}

.stats {
	display: flex;
	justify-content: space-between;
	text-align: center;
}

.stat h3 {
	font-weight: 600;
	font-size: 56px;
	color: #333;
}

.stat p {
	font-size: 16px;
	color: #666;
	line-height: 1.5;
}

.stat-divider {
	width: 1px;
	height: 80px;
	background-color: #ddd;
}

/* Секция Отзывы */
.testimonials {
	background-color: rgba(245, 245, 245, 1);
	position: relative;
	padding: 80px 0;
	padding-inline: 30px;
	overflow: hidden;
}

.testimonials h2 {
	font-size: 42px;
	margin-bottom: 40px;
	color: #333;
	font-weight: 600;
	text-align: left;
}

/* Swiper слайдер */
.testimonial-swiper {
	width: 100%;
	padding-bottom: 60px; /* Для пагинации */
	perspective: 1200px;
	overflow: visible !important;
}

.swiper-wrapper {
	display: flex;
	align-items: stretch;
	flex-direction: row;
	height: 100%;
}

@media screen and (max-width: 576px) {
	.swiper-slide {
		height: 100% !important;
		transition: transform 0.4s ease, opacity 0.6s ease;
		backface-visibility: hidden;
		transform: scale(0.76) !important;
	}

	.swiper-slide.swiper-slide-active {
		transform: scale(1) !important;
	}
}

.swiper-slide {
	height: 100% !important;
}

.testimonial-card {
	background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%);
	border-radius: 20px;
	overflow: hidden;
	height: 100%;
}

.testimonial-content {
	display: flex;
	width: 100%;
	height: auto;
	align-items: flex-start;
	gap: 24px;
	padding: 40px;
	position: relative;
}

.testimonial-image {
	width: 250px;
	height: 250px;
	flex-shrink: 0;
	border-radius: 16px;
	overflow: hidden;
}

.testimonial-image img {
	width: 100%;
	height: 100%;
	border-radius: 15px;
	display: block;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

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

.testimonial-info {
	flex-grow: 1;
	overflow-y: auto;
	text-align: left;
}

.testimonial-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 15px;
}

.testimonial-author .author-link {
	font-size: 20px;
	line-height: 24px;
	color: #27ae60;
	font-weight: 600;
	text-decoration: none;
}

.testimonial-role {
	font-size: 16px;
	color: #666;
}

.testimonial-date {
	font-size: 14px;
	color: rgba(49, 49, 49, 1);
	padding: 5px 10px;
	border-radius: 10px;
}

.testimonial-text {
	position: relative;
}

.testimonial-text h3 {
	font-size: 24px;
	color: #333;
	font-weight: 500;
	margin-bottom: 15px;
}

.testimonial-text p {
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: rgba(49, 49, 49, 1);
	display: -webkit-box;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: max-height 0.5s ease;
	text-overflow: ellipsis;
}

@media screen and (min-width: 576px) {
	.testimonial-text p {
		-webkit-line-clamp: unset;
		line-clamp: unset;
	}
}

.testimonial-text.expanded p {
	-webkit-line-clamp: unset;
	line-clamp: unset;
}

/* Стили для "Читать далее" */
.read-more {
	display: block;
	text-align: right;
	color: #27ae60;
	cursor: pointer;
	margin-top: 15px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.read-more:hover {
	color: #1e8449;
	text-decoration: underline;
}

@media screen and (min-width: 576px) {
	.read-more {
		display: none;
	}
}

.swiper-button-prev {
	left: 0 !important;
	transform: translate(-50%, -50%);
}

.swiper-button-next {
	right: 0 !important;
	transform: translate(50%, -50%);
}

@media screen and (max-width: 576px) {
	.swiper-button-prev,
	.swiper-button-next {
		display: none !important;
	}
}

/* Стили навигации Swiper */
.swiper-button-next,
.swiper-button-prev {
	background-color: rgba(42, 160, 52, 1) !important;
	color: white !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 50%;
	top: 50% !important;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
	transition: all 0.4s ease;
	user-select: none;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	background-color: rgba(108, 182, 108, 1) !important;
}

.swiper-button-next:active,
.swiper-button-prev:active {
	background-color: rgba(0, 132, 17, 1) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	display: none;
}

.swiper-pagination {
	margin-top: 24px;
	position: static !important;
	display: flex;
	justify-content: center;
	gap: 8px;
}

/* Стили пагинации Swiper */
.swiper-pagination-bullet {
	width: 12px !important;
	height: 12px !important;
	background-color: rgba(214, 214, 214, 1) !important;
	opacity: 1 !important;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	margin: 0 !important;
}

@media screen and (max-width: 576px) {
	.swiper-pagination {
		margin-top: 8px;
	}

	.swiper-pagination-bullet {
		width: 8px !important;
		height: 8px !important;
	}
}

.swiper-pagination-bullet-active {
	background-color: rgba(42, 160, 52, 1) !important;
	opacity: 1 !important;
}

/* Стили для эффекта куба */
.swiper-cube-shadow {
	background: rgba(0, 0, 0, 0.1);
	filter: blur(5px);
}

/* Медиа-запросы для адаптивного отображения */
@media (max-width: 992px) {
	.testimonial-content {
		flex-direction: column;
	}

	.testimonial-image {
		width: 100%;
		height: 200px;
	}
}

@media (max-width: 576px) {
	.testimonials {
		padding: 50px 0;
	}

	.testimonials h2 {
		font-size: 32px;
		margin-bottom: 30px;
	}

	.testimonial-text h3 {
		font-size: 20px;
	}

	.testimonial-content {
		padding: 24px;
		gap: 20px;
	}
}

/* Секция О проекте */
.about {
	padding: 80px 0;
	background-color: #fff;
	position: relative;
}

.about h2 {
	font-weight: 600;
	font-size: 42px;
	margin-bottom: 40px;
	color: #333;
	text-align: left;
}

.about-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 50px;
}

.about-text {
	width: 55%;
	text-align: left;
}

.about-text p {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	margin-bottom: 30px;
}

.about-image {
	position: absolute;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image-1 {
	width: 100%;
	height: 100%;
	right: 0;
	bottom: 0;
	z-index: 3;
	background-image: url('/static/img/tutor/work/young-female-student-listening-her-english-teacher.png');
}

.about-image-2 {
	width: 85%;
	height: 85%;
	right: 7.5%;
	bottom: -7.5%;
	z-index: 2;
	background-image: url('/static/img/tutor/work/young-female-student-listening-her-english-teacher.png');
}

.about-image-3 {
	width: 72.25%;
	height: 72.25%;
	right: 14%;
	bottom: -15%;
	z-index: 1;
	background-image: url('/static/img/tutor/work/young-female-student-listening-her-english-teacher.png');
}

/* Секция FAQ */

.faq h2 {
	font-weight: 600;
	font-size: 42px;
	margin-bottom: 40px;
	color: #333;
	text-align: center;
}

.accordion-container {
	display: flex;
	justify-content: center;
	width: 100%;
}

.accordion {
	width: 60%;
}

.accordion-item {
	margin-bottom: 10px;
	border-bottom: 1px solid #e0e0e0;
}

.accordion-header {
	width: 90%;
	margin: 15px auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	cursor: pointer;
}

.accordion-header h3 {
	font-size: 20px;
	color: #333;
	font-weight: 600;
}

.accordion-icon img {
	position: relative;
	width: 20px;
	height: 20px;
	margin-top: 5px;
}

.accordion-icon:before,
.accordion-icon:after {
	position: relative;
	transition: all 0.3s ease;
}

.accordion-icon:before {
	width: 24px;
	height: 24px;
	top: 9px;
	left: 0;
}

.accordion-header:after {
	width: 24px;
	height: 24px;
	left: 9px;
	top: 0;
	transform: rotate(180deg);
}

.accordion-item.active .accordion-icon:after {
	transform: rotate(90deg);
	opacity: 0;
}
.accordion-header img {
	width: 16px;
	height: 8px;
	transition: transform 0.3s ease;
	/* ДОБАВЛЕНО: Анимация поворота */
}

/* ДОБАВЛЕНО: Поворот иконки на 180 градусов при активном состоянии */
.accordion-item.active .accordion-header img {
	transform: rotate(180deg);
}
.accordion-content {
	width: 85%;
	margin: 15px auto;
	margin-left: 5%;
	margin-bottom: 5px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s linear;
	padding: 0 0;
}

.accordion-item.active .accordion-content {
	max-height: 500px;
	padding-bottom: 20px;
}

.accordion-content p {
	font-size: 16px;
	color: #333;
	line-height: 1.6;
	margin: 0;
}

/* Секция Контакты */
.contact {
	padding: 50px 0;
	background-color: rgba(238, 254, 238, 1);
	text-align: center;
}

.contact h2 {
	font-size: 36px;
	margin-bottom: 30px;
	color: #333;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.2;
	font-weight: 600;
}

/* Подвал */
.footer {
	background-color: #333;
	padding: 30px 0;
	color: white;
	font-weight: 400;
}

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

.footer-contacts p {
	font-size: 16px;
	margin-bottom: 0;
	color: #fff;

}

.footer-contacts a {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.footer-email {
	margin-top: 30px; /* A */
	font-weight: 400;
}

.footer-email a {
	color: #2aa034;
	text-decoration: none;
	transition: color 0.3s;
}

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

.footer-copyright p {
	font-size: 16px;
	text-align: right;
}

.footer-copyright .highlight {
	color: #2aa034;
}

/* Всплывающее окно входа */
.login-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 10000;
	justify-content: center;
	align-items: center;
}

.login-popup.active {
	display: flex;
}

.popup-content {
	background: #fff;
	padding: 20px;
	border-radius: 10px;
	position: relative;
	width: 300px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	text-align: center;
}

.popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #333;
}

.popup-form {
	display: none;
}

.popup-form.active {
	display: block;
}

.popup-form h2 {
	font-size: 24px;
	margin-bottom: 20px;
	color: #333;
	font-weight: 700;
}

.popup-form form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.popup-form input {
	padding: 10px;
	font-size: 16px;
	border: 1px solid #ddd;
	border-radius: 5px;
	outline: none;
}

.popup-form .forgot-password {
	font-size: 14px;
	color: #27ae60;
	text-align: right;
	cursor: pointer;
	margin-bottom: 5px;
}

.popup-form .back-to-login {
	font-size: 14px;
	color: #27ae60;
	text-align: right;
	cursor: pointer;
	margin-bottom: 5px;
}

.popup-form .success-message {
	color: green;
	font-size: 14px;
	margin-bottom: 10px;
}

.popup-form .btn-orange {
	padding: 12px;
	font-size: 16px;
	border: none;
	border-radius: 5px;
	width: 100%;
	margin-top: 10px;
}

/* Адаптивные стили */

/* 1280px и больше */
@media (min-width: 1280px) {

	/* Глобальный сброс и базовые стили */
	* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
		font-family: 'Involve', 'Inter', sans-serif;
	}

	body {
		font-family: 'Involve', 'Inter', sans-serif;
		color: #333;
		line-height: 1.5;
		overflow-x: hidden;
	}

	.container {
		max-width: 1196px;
		margin: 0 auto;
		width: 100%;
	}

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

	.logo {
		margin-right: 50px;
		display: flex;
		align-items: center;
	}

	.logo-image {
		height: 33px;
		width: 187px;
	}

	.header-right {
		display: flex;
		align-items: center;
		flex-grow: 1;
		justify-content: flex-end;
	}

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

	/* Управление мобильным меню */
	.mobile-menu-toggle {
		display: none;
		background: none;
		border: none;
		cursor: pointer;
		flex-direction: column;
		justify-content: space-between;
		height: 20px;
		width: 30px;
		padding: 0;
	}

	.mobile-menu-toggle span {
		display: block;
		height: 3px;
		width: 100%;
		background-color: white;
		border-radius: 3px;
		transition: all 0.3s;
	}

	/* Мобильное меню */
	.mobile-menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		max-width: 250px;
		height: 100vh;
		background-color: white;
		z-index: 1001;
		transition: all 0.4s ease-in-out;
		padding: 20px;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		overflow-y: auto;
		opacity: 0;
		transform: translateX(20px);
	}

	.mobile-menu.active {
		right: 0;
		opacity: 1;
		transform: translateX(0);
	}

	.mobile-menu-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 30px;
	}

	.mobile-menu-close {
		background: none;
		border: none;
		color: #333;
		font-size: 24px;
		cursor: pointer;
		transition: color 0.3s;
	}

	.mobile-menu-close:hover {
		color: #4caf50;
	}

	.mobile-login {
		background-color: #313131;
		color: white;
		padding: 10px 20px;
		border-radius: 5px;
		font-size: 14px;
		text-transform: uppercase;
		text-decoration: none;
		transition: background-color 0.3s;
	}

	.mobile-login:hover {
		background-color: #5e5e5e;
	}

	.mobile-login:active {
		background-color: #050505;
	}

	.mobile-nav ul {
		list-style: none;
	}

	.mobile-nav ul li {
		margin-bottom: 20px;
	}

	.mobile-nav ul li a {
		color: #333;
		text-decoration: none;
		font-size: 18px;
		transition: color 0.3s;
	}

	.mobile-nav ul li a:hover {
		color: #4caf50;
	}

	.hero-content {
		display: flex;
		/* justify-content: space-between; */
		align-items: flex-start;
	}

	.hero-text {
		width: 70%;
		text-align: left;
	}

	.hero-text h1 {
		font-size: 48px;
		margin-bottom: 40px;
		color: #313131;
		line-height: 1.2;
		margin-left: 45px;
	}
	/* Изменения для секции Hero */
	.hero-text h1 {
		margin-top: 48px;
		margin-left: 0;
		width: 100%;
		position: relative;
		margin-top: 0;
		align-self: flex-end;
	}

	.hero-image {
		max-width: 30%;
		position: relative;
		align-self: flex-start;
		width: 305px;
		height: 380px;
	}

	.image-stack {
		position: relative;
	}

	.steps {
		display: flex;
		align-items: flex-start;
	}

	.step-item {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		position: relative;
		width: 27%;
	}

	.step-number {
		background-color: #313131;
		color: white;
		width: 48px;
		height: 48px;
		border-radius: 12px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 15px;
		font-size: 20px;
	}

	.step-line {
		position: absolute;
		top: 22px;
		left: 45px;
		height: 2px;
		background-color: #333;
		width: 240px;
	}

	.step-item:last-child .step-line {
		display: none;
	}

	.step-item:last-child {
		width: 30%;
	}

	.step-text {
		margin-top: 10px;
	}

	.step-text h3 {
		font-size: 20px;
		color: #333;
		margin-bottom: 5px;
	}

	.step-text p {
		font-size: 13px;
		color: #666;
	}

	.image-layer {
		position: absolute;
		border-radius: 10px;
		background-position: center;
	}

	.layer-1 {
		width: 100%;
		height: 100%;
		right: 0;
		bottom: 0;
		z-index: 3;
		background-image: url('/static/img/tutor/work/pexels-karolina-grabowska-7679892.png');
	}

	.layer-2 {
		width: 77%;
		height: 82%;
		right: 105px;
		bottom: 8%;
		z-index: 2;
		background-image: url('/static/img/tutor/work/pexels-karolina-grabowska-7679892.png');
	}

	.layer-3 {
		width: 59%;
		height: 67%;
		right: 195px;
		bottom: 15%;
		z-index: 1;
		background-image: url('/static/img/tutor/work/pexels-karolina-grabowska-7679892.png');
	}

	.btn-orange {
		background-color: #ff7a06;
		color: white;
		border-radius: 5px;
		font-size: 16px;
		display: inline-block;
		text-transform: uppercase;
		max-width: 344px;
		width: 100%;
		height: 52px;
		transition: background-color 0.3s;
		text-align: center;
	}

	.btn-orange:hover {
		background-color: #ff9c37;
	}

	.btn-orange:active {
		background-color: #f06306;
	}

	/* Секция Преимущества */
	.features {
		background-color: #ffffff;
		margin-bottom: 128px;
	}

	.features-grid {
		display: flex;
		justify-content: space-between;
	}

	.feature {
		width: 30%;
	}

	.feature h3 {
		font-size: 28px;
		margin-bottom: 5px;
		color: #333;
	}

	.feature p {
		font-size: 16px;
		color: #666;
		line-height: 1.5;
	}

	.payments h2 {
		color: #2aa034;
		text-align: center;
		font-size: 48px;
	}

	/* Секция Как это работает */
	.how-it-works {
		background-color: #fff;
		margin-bottom: 112px;
	}

	.how-it-works-content {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 64px;
	}

	.how-it-works-text {
		width: 50%;
	}

	.how-it-works-text h2 {
		font-size: 80px;
		margin-bottom: 30px;
		color: #333;
		line-height: 1.2;
	}

	.how-it-works-image {
		width: 45%;
	}

	.video-container {
		position: relative;
		width: 540px;
		border-radius: 10px;
		overflow: hidden;
		height: 276px;
	}

	.video-container img {
		width: 100%;
		display: block;
		border-radius: 10px;
	}

	.play-button {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 70px;
		height: 70px;
		background-color: rgba(255, 255, 255, 0.8);
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}

	.play-icon {
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 12px 0 12px 20px;
		border-color: transparent transparent transparent #333;
		margin-left: 5px;
	}

	.stats {
		display: flex;
		justify-content: space-between;
		text-align: center;
		margin-bottom: 112px;
	}

	.stat h3 {
		font-size: 80px;
		color: #333;
	}

	.stat p {
		font-size: 20px;
		color: #666;
		line-height: 1.5;
		width: 373px;
	}

	.stat-divider {
		width: 1px;
		height: 176px;
		background-color: #ddd;
		margin-top: 10px;
	}

	/* Секция Отзывы */
	.testimonials {
		padding-bottom: 56px;
		padding-top: 56px;
		background-color: #f5f5f5;
		position: relative;
	}

	.testimonials h2 {
		font-size: 42px;
		margin-bottom: 56px;
		color: #333;
		text-align: left;
	}

	.testimonial-wrapper {
		position: relative;
	}

	.testimonial-slider-container {
		position: relative;
		background-color: #fff;
		border-radius: 10px;
		margin: 0 auto;
		width: 1280px;
		height: auto;
		overflow: visible;
	}

	.testimonial-slider {
		padding: 40px;
		position: relative;
		height: 476px;
		height: 100%;
		overflow: hidden;
	}

	.testimonial-slide {
		position: absolute;
		width: 100%;
		opacity: 0;
		transition: opacity 0.5s ease;
		left: 0;
		top: 0;
		display: none;
		flex-direction: row;
		align-items: flex-start;
		gap: 20px;
	}

	.testimonial-slide.active {
		opacity: 1;
		z-index: 2;
		display: flex;
		position: relative;
	}

	.testimonial-image {
		width: 288px;
		height: 288px;
		flex-shrink: 0;
	}

	.testimonial-image img {
		width: 100%;
		height: 100%;
		border-radius: 10px;
		display: block;
		object-fit: cover;
		object-position: center;
	}

	.testimonial-info {
		flex-grow: 1;
		overflow-y: auto;
		text-align: left;
	}

	.testimonial-header {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 10px;
	}

	.testimonial-role {
		font-size: 16px;
		color: #313131;
	}

	.testimonial-date {
		font-size: 16px;
		color: #313131;
	}

	.testimonial-text {
		position: relative;
	}

	.testimonial-text h3 {
		font-size: 28px;
		color: #333;
	}

	/* Точки навигации */
	.testimonial-dots {
		display: flex;
		justify-content: center;
		bottom: 10px;
		left: 50%;
		transform: translateX(-50%);
		margin-top: 24px; /* Добавляем отступ снизу */
		position: relative; /* Меняем с absolute на relative */
		bottom: auto; /* Убираем позиционирование снизу */
		left: auto; /* Убираем позиционирование слева */
		transform: none; /* Убираем трансформацию */
		display: flex;
		justify-content: center;
	}

	.dot {
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background-color: #ddd;
		margin: 0 6px;
		cursor: pointer;
		transition: background-color 0.3s ease;
		border: none;
	}

	.dot.active {
		background-color: #27ae60;
	}

	/* Стрелки навигации */
	.testimonial-nav-btn {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 40px;
		height: 40px;
		background-color: #4caf50;
		border: none;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		z-index: 10;
		transition: background-color 0.3s ease;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	}

	.testimonial-nav-btn:hover {
		background-color: #3e8e41;
	}

	.prev-btn {
		left: -20px;
		background-image: url('/static/img/tutor/work/leftbutton.png');
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	.next-btn {
		right: -20px;
		background-image: url('/static/img/tutor/work/rightbutton.png');
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	/* Секция О проекте */
	.about {
		padding: 128px 0;
		background-color: #fff;
		position: relative;
	}

	.about h2 {
		font-size: 48px;
		margin-bottom: 40px;
		color: #333;
		text-align: left;
	}

	.about-content {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 50px;
	}

	.about-text {
		width: 65%;
		text-align: left;
		margin-right: 60px;
	}

	.about-text p {
		font-size: 16px;
		line-height: 1.6;
		color: #333;
		margin-bottom: 56px;
	}

	.about-image-stack {
		width: 30%;
		position: relative;
		height: 400px;
		top: -110px;
		align-items: flex-start;
	}

	.about-image {
		position: absolute;
		border-radius: 10px;
		background-size: cover;
		background-position: center;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	}

	.about-image-1 {
		width: 385px;
		height: 290px;
		right: 0;
		bottom: 0;
		z-index: 3;
		background-image: url('/static/img/tutor/work/young-female-student-listening-her-english-teacher.png');
	}

	.about-image-2 {
		width: 319px;
		height: 290px;
		right: 7.5%;
		bottom: -7.5%;
		z-index: 2;
		background-image: url('/static/img/tutor/work/young-female-student-listening-her-english-teacher.png');
	}

	.about-image-3 {
		width: 271px;
		height: 290px;
		right: 14%;
		bottom: -15%;
		z-index: 1;
		background-image: url('/static/img/tutor/work/young-female-student-listening-her-english-teacher.png');
	}

	/* Секция FAQ */
	.faq {
		background-color: #ffffff;
		margin: 0 auto;
		margin-bottom: 112px;
	}

	.faq h2 {
		font-size: 48px;
		margin-bottom: 40px;
		color: #333;
		text-align: center;
	}

	.accordion-container {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	.accordion {
		width: 751px;
	}

	.accordion-item {
		margin-bottom: 10px;
		border-bottom: 1px solid #e0e0e0;
	}

	.accordion-item:last-child {
		border: none;
	}

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

	.accordion-header h3 {
		font-size: 20px;
		color: #333;
	}

	.accordion-icon {
		position: relative;
		width: 20px;
		height: 20px;
	}

	.accordion-icon:before,
	.accordion-icon:after {
		content: '';
		position: absolute;
		background-color: #333;
		transition: all 0.3s ease;
	}

	.accordion-icon:before {
		width: 20px;
		height: 2px;
		top: 9px;
		left: 0;
	}

	.accordion-content {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease, padding 0.3s linear;
		padding: 0 0;
	}

	.accordion-item.active .accordion-content {
		max-height: 500px;
		padding-bottom: 20px;
	}

	.accordion-content p {
		font-size: 18px;
		color: #333;
		line-height: 1.6;
		margin: 0;
	}

	/* Секция Контакты */
	.contact {
		padding: 56px 0;
		background-color: rgba(238, 254, 238, 1);
		text-align: center;
	}

	.contact h2 {
		font-size: 48px;
		margin-bottom: 30px;
		color: #333;
		max-width: 800px;
		margin-left: auto;
		margin-right: auto;
		line-height: 1.2;
	}

	.btn-green {
		background-color: #2aa034;
		color: white;
		border-radius: 5px;
		text-decoration: none;
		font-size: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-transform: uppercase;
		width: 206px;
		height: 52px;
		transition: background-color 0.3s;
		text-align: center;
		margin: 0 auto;
		font-weight: 600;
	}

	.btn-green:hover {
		background-color: #6cb66c;
	}

	.btn-green:active {
		background-color: #008411;
	}

	/* Подвал */
	.footer {
		background-color: #333;
		padding: 30px 0;
		color: white;
	}

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

	.footer-contacts p {
		font-size: 16px;
		margin-bottom: 0;
		color: #fff;
	}

	.footer-email {
		margin-top: 30px; /* A */
	}

	.footer-email a {
		color: #4caf50;
		text-decoration: none;
		transition: color 0.3s;
	}

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

	.footer-copyright p {
		font-size: 16px;
		text-align: right;
	}

	.footer-copyright .highlight {
		color: #4caf50;
	}

	/* Всплывающее окно входа */
	.login-popup {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 10000;
		justify-content: center;
		align-items: center;
	}

	.login-popup.active {
		display: flex;
	}

	.popup-content {
		background: #fff;
		padding: 20px;
		border-radius: 10px;
		position: relative;
		width: 300px;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
		text-align: center;
	}

	.popup-close {
		position: absolute;
		top: 10px;
		right: 10px;
		background: none;
		border: none;
		font-size: 24px;
		cursor: pointer;
		color: #333;
	}

	.popup-form {
		display: none;
	}

	.popup-form.active {
		display: block;
	}

	.popup-form h2 {
		font-size: 24px;
		margin-bottom: 20px;
		color: #333;
	}

	.popup-form form {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.popup-form input {
		padding: 10px;
		font-size: 16px;
		border: 1px solid #ddd;
		border-radius: 5px;
		outline: none;
	}

	.popup-form .forgot-password {
		font-size: 14px;
		color: #27ae60;
		text-align: right;
		cursor: pointer;
		margin-bottom: 5px;
	}

	.popup-form .back-to-login {
		font-size: 14px;
		color: #27ae60;
		text-align: right;
		cursor: pointer;
		margin-bottom: 5px;
	}

	.popup-form .success-message {
		color: green;
		font-size: 14px;
		margin-bottom: 10px;
	}

	.popup-form .btn-orange {
		padding: 12px;
		font-size: 16px;
		border: none;
		border-radius: 5px;
		width: 100%;
		margin-top: 10px;
	}
}


@media (min-width: 1080px) and (max-width: 1279px){
	/* Шапка */
	.header {
		padding: 12px 0;
	}

	.container {
		max-width: 1040px;
		margin: 0 auto;
		width: 100%;
	}

	.hero {
		margin-top: 76px;
		padding-block: 58px;
	}

	.mobile-menu-toggle {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 4px;
		margin-left: 64%;
		width: 40px;
		height: 40px;
	}
	.mobile-menu-toggle span {
		height: 2px;
		width: 18px;
	}

	.mobile-login {
		background-color: #313131;
		color: white;
		padding: 10px 20px;
		border-radius: 5px;
		font-size: 14px;
		text-transform: uppercase;
		text-decoration: none;
		transition: background-color 0.3s;
	}

	.mobile-login:hover {
		background-color: #5e5e5e;
	}

	.mobile-login:active {
		background-color: #050505;
	}
	.header-right nav {
		display: none;
	}

	.logo-image {
		height: 30px;
		width: 170px;
	}

	.hero-content {
		flex-direction: row;
		align-items: flex-start;
		gap: 20px;
	}

	.hero-text .benefits {
		display: flex;
		flex-wrap: wrap;
		gap: 15px;
		margin-left: 0;
	}

	/* Убираем ограничения контейнера, если они есть */
	.hero-text {
		width: 100%;
		max-width: 100%;
		padding: 0;
	}

	/* Корректируем расположение текста */
	.hero-content {
		position: relative;
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
		padding: 0; /* Убираем внутренние отступы, если они есть */
	}

	.hero-text h1 {
		font-size: 42px;
		margin-bottom: 44px;
		width: 100%; 
		position: relative;
	}


	.benefit-item {
		flex: 1 1 calc(33.33% - 15px);
		background-color: #f9f9f9;
		padding: 15px;
		border: 1px solid #ddd;
		border-radius: 5px;
		text-align: center;
		min-width: 180px;
	}
	.benefit-item h3 {
		font-size: 48px;
		color: #333;
		margin-bottom: 8px;
	}
	.benefit-item p {
		font-size: 13px;
		color: #666;
		line-height: 1.4;
	}
	.hero-image {
		height: 256px;
		width: 326px;
		position: absolute;
		bottom: 110px;
	}
	.layer-1 {
		width: 100%;
		height: 100%;
		bottom: 0;
	}
	.layer-2 {
		width: 252px;
		height: 212px;
		bottom: 7%;
		right: 110px;
	}
	.layer-3 {
		width: 188;
		height: 168px;
		right: 160px;
		bottom: 14.5%;
	}

	.steps {
		flex-direction: column;
		align-items: flex-start;
		width: 60%;
		margin-bottom: 44px;
	}
	.step-item {
		flex-direction: row;
		align-items: flex-start;
		margin-bottom: 64px;
		width: 100%;
	}
	.step-item:not(:last-child) {
		margin-right: 0;
	}

	.step-item:last-child {
		margin-bottom: 0;
	}

	.step-number {
		margin-right: 24px;
		margin-bottom: 0;
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
	.step-line {
		display: none;
	}
	.step-item:not(:last-child):after {
		content: '';
		position: absolute;
		top: 40px;
		left: 3%;
		width: 2px;
		height: 80px;
		background-color: #333;
	}

	.step-text h3 {
		font-size: 24px;
		margin-bottom: 0;
		margin-top: -2px;
	}
	.step-text p {
		font-size: 16px;
		margin-top: -3px;
	}
	.step-text {
		margin-top: 0;
	}
	.btn-orange {
		font-size: 16px;
		max-width: 323px;
		width: 100%;
		height: 44px;
		padding: 11px 25px;
	}

	/* Секция Преимущества */
	.features-grid {
		flex-direction: row;
		justify-content: space-between;
		height: 240px;
		gap: 32px;
	}
	.feature {
		text-align: left;
	}
	.feature h3 {
		font-size: 28px;
		line-height: 32px;
	}
	.feature p {
		font-size: 16px;
	}

	.payments {
		margin-block: 80px;
	}

	.payments h2 {
		font-size: 36px;
	}

	/* Секция Как это работает */
	.how-it-works {
		margin-bottom: 64px;
	}

	.how-it-works-content {
		flex-direction: row;
		align-items: flex-start;
		margin-bottom: 0;
		height: 204px;
		margin-bottom: 40px;
	}
	.how-it-works-text {
		width: 50%;
		margin-bottom: 25px;
		text-align: left;
	}
	.how-it-works-text h2 {
		font-size: 48px;
		margin-bottom: 48px;
		line-height: 56px;
	}
	.how-it-works-image {
		width: 352px;
		height: 204px;
	}
	.video-container {
		height: 204px;
	}
	.play-button {
		width: 60px;
		height: 60px;
	}
	.play-icon {
		border-width: 10px 0 10px 16px;
	}

	.btn-orange {
		max-width: 344px;
		width: 100%;
		text-align: center;
	}

	.stats {
		flex-direction: row;
		justify-content: space-between;
		gap: 15px;
		height: 168px;
	}
	.stat {
		width: 33.3%;
		padding: 0 8px;
	}
	.stat h3 {
		font-size: 48px;
		margin-bottom: 8px;
	}
	.stat p {
		font-size: 16px;
		line-height: 24px;
	}
	.stat-divider {
		height: 168px;
	}

	/* Секция Отзывы */

	.testimonials {
		padding-top: 32px;
	}
	.testimonials h2 {
		font-size: 48px;
		text-align: center;
		margin-bottom: 24px;
		line-height: 56px;
	}

	.testimonial-slider-container {
		width: 100%;
		height: auto;
		padding: 32px;
		margin: 0;
	}
	.testimonial-content {
		flex-direction: row;
		align-items: flex-start;
		gap: 24px;
	}
	.testimonial-image {
		width: 288px;
		height: 288px;
	}
	.testimonial-image img {
		width: 100%;
		height: 100%;
	}
	.testimonial-info {
		flex-grow: 1;
		padding: 0;
		text-align: left;
	}
	.testimonial-header {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 20px;
	}

	.testimonial-role {
		font-size: 16px;
	}
	.testimonial-date {
		font-size: 16px;
	}
	.testimonial-text h3 {
		font-size: 28px;
		line-height: 32px;
		margin-bottom: 15px;
	}
	.testimonial-nav-btn {
		top: 305px;
		transform: translateY(-50%);
		width: 35px;
		height: 35px;
	}
	.prev-btn {
		left: -10px;
	}
	.next-btn {
		right: -10px;
	}
	.testimonial-dots {
		padding-bottom: 32px;
	}
	.dot {
		width: 12px;
		height: 12px;
	}

	/* Секция О проекте */

	.about h2 {
		font-size: 50px;
		text-align: center;
		margin-bottom: 32px;
	}
	.about-content {
		flex-direction: row;
		align-items: flex-start;
		gap: 32px;
	}
	.about-text {
		width: 356px;
		text-align: left;
	}
	.about-text p {
		font-size: 16px;
	}
	.about-image-stack {
		width: 340px;
		height: 604px;
		height: 100%;
		padding-top: 360px;
		position: relative;
	}
	.about-image {
		right: 0;
		transform: translateX(0);
	}
	.about-image-1 {
		width: 340px;
		height: 252px;
	}
	.about-image-2 {
		right: 10%;
		width: 274px;
		height: 252px;
		top: 170px;
	}
	.about-image-3 {
		width: 198px;
		height: 252px;
		right: 21%;
		top: 230px;
	}

	/* Секция FAQ */
	.faq h2 {
		font-size: 48px;
	}

	.accordion {
		width: 95%;
		margin-bottom: 64px;
	}
	.accordion-header h3 {
		font-size: 20px;
	}
	.accordion-content p {
		font-size: 16px;
	}

	.accordion-item:last-child {
		border: none;
	}
	/* Секция Контакты */
	.contact h2 {
		font-size: 36px;
	}
	.btn-green {
		background-color: #2aa034;
		color: white;
		border-radius: 5px;
		text-decoration: none;
		font-size: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-transform: uppercase;
		width: 206px;
		height: 44px;
		transition: background-color 0.3s;
		text-align: center;
		margin: 0 auto;
	}

	.btn-green:hover {
		background-color: #6cb66c;
	}
	.contact h2 {
		font-size: 36px;
	}
	.contact {
		padding: 40px 0;
	}
	.btn-green:active {
		background-color: #008411;
	}

	/* Подвал */
	.footer-content {
		flex-direction: row;
		text-align: left;
		align-items: flex-start !important;
	}
	.footer-contacts {
		margin-bottom: 15px;
	}

	.footer-contacts p {
		font-size: 20px;
	}

	.footer-copyright p {
		font-size: 20px;
	}
}

@media (min-width: 768px) and (max-width: 1079px) {
	/* Шапка */
	.header {
		padding: 12px 0;
	}

	.container {
		max-width: 728px;
		margin: 0 auto;
		width: 100%;
	}

	.hero {
		margin-top: 76px;
		padding-block: 58px;
	}

	.mobile-menu-toggle {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 4px;
		margin-left: 49%;
		width: 40px;
		height: 40px;
	}
	.mobile-menu-toggle span {
		height: 2px;
		width: 18px;
	}

	.mobile-login {
		background-color: #313131;
		color: white;
		padding: 10px 20px;
		border-radius: 5px;
		font-size: 14px;
		text-transform: uppercase;
		text-decoration: none;
		transition: background-color 0.3s;
	}

	.mobile-login:hover {
		background-color: #5e5e5e;
	}

	.mobile-login:active {
		background-color: #050505;
	}
	.header-right nav {
		display: none;
	}

	.logo-image {
		height: 30px;
		width: 170px;
	}

	.hero-content {
		flex-direction: row;
		align-items: flex-start;
		gap: 20px;
	}

	.hero-text .benefits {
		display: flex;
		flex-wrap: wrap;
		gap: 15px;
		margin-left: 0;
	}

	/* Убираем ограничения контейнера, если они есть */
	.hero-text {
		width: 100%;
		max-width: 100%;
		padding: 0;
	}

	/* Корректируем расположение текста */
	.hero-content {
		position: relative;
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
		padding: 0; /* Убираем внутренние отступы, если они есть */
	}

	.hero-text h1 {
		font-size: 36px;
		margin-bottom: 44px;
		width: 100%;
		color: transparent; /* Скрываем оригинальный текст */
		position: relative;
	}

	/* Добавляем новый текст с нужным переносом */
	.hero-text h1:before {
		content: 'Начните работать репетитором на';
		color: #333; /* Возвращаем цвет текста */
		position: absolute;
		left: 0;
		top: 0;
		white-space: nowrap;
	}

	.hero-text h1:after {
		content: 'себя вместе с PROTUTOR';
		color: #333; /* Возвращаем цвет текста */
		position: absolute;
		left: 0;
		top: 1.2em; /* Перемещаем на новую строку */
		white-space: nowrap;
	}

	.benefit-item {
		flex: 1 1 calc(33.33% - 15px);
		background-color: #f9f9f9;
		padding: 15px;
		border: 1px solid #ddd;
		border-radius: 5px;
		text-align: center;
		min-width: 180px;
	}
	.benefit-item h3 {
		font-size: 20px;
		color: #333;
		margin-bottom: 8px;
	}
	.benefit-item p {
		font-size: 13px;
		color: #666;
		line-height: 1.4;
	}
	.hero-image {
		height: 256px;
		width: 326px;
		position: absolute;
		bottom: 88px;
	}
	.layer-1 {
		width: 100%;
		height: 100%;
		bottom: 0;
	}
	.layer-2 {
		width: 252px;
		height: 212px;
		bottom: 7%;
		right: 110px;
	}
	.layer-3 {
		width: 188;
		height: 168px;
		right: 160px;
		bottom: 14.5%;
	}

	.steps {
		flex-direction: column;
		align-items: flex-start;
		width: 60%;
		margin-bottom: 44px;
	}
	.step-item {
		flex-direction: row;
		align-items: flex-start;
		margin-bottom: 64px;
		width: 100%;
	}
	.step-item:not(:last-child) {
		margin-right: 0;
	}

	.step-item:last-child {
		margin-bottom: 0;
	}

	.step-number {
		margin-right: 24px;
		margin-bottom: 0;
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
	.step-line {
		display: none;
	}
	.step-item:not(:last-child):after {
		content: '';
		position: absolute;
		top: 40px;
		left: 4.7%;
		width: 2px;
		height: 69px;
		background-color: #333;
	}

	.step-text h3 {
		font-size: 20px;
		margin-bottom: 0;
		margin-top: -2px;
	}
	.step-text p {
		font-size: 12px;
		margin-top: -3px;
	}
	.step-text {
		margin-top: 0;
	}
	.btn-orange {
		font-size: 16px;
		max-width: 323px;
		width: 100%;
		height: 44px;
		padding: 11px 25px;
	}

	/* Секция Преимущества */
	.features-grid {
		flex-direction: row;
		justify-content: space-between;
		height: 240px;
		gap: 32px;
	}
	.feature {
		text-align: left;
	}
	.feature h3 {
		font-size: 28px;
		line-height: 32px;
	}
	.feature p {
		font-size: 16px;
	}

	.payments {
		margin-block: 80px;
	}

	.payments h2 {
		font-size: 36px;
	}

	/* Секция Как это работает */
	.how-it-works {
		margin-bottom: 64px;
	}

	.how-it-works-content {
		flex-direction: row;
		align-items: flex-start;
		margin-bottom: 0;
		height: 204px;
		margin-bottom: 40px;
	}
	.how-it-works-text {
		width: 50%;
		margin-bottom: 25px;
		text-align: left;
	}
	.how-it-works-text h2 {
		font-size: 48px;
		margin-bottom: 48px;
		line-height: 56px;
	}
	.how-it-works-image {
		width: 352px;
		height: 204px;
	}
	.video-container {
		height: 204px;
	}
	.play-button {
		width: 60px;
		height: 60px;
	}
	.play-icon {
		border-width: 10px 0 10px 16px;
	}

	.btn-orange {
		max-width: 344px;
		width: 100%;
		text-align: center;
	}

	.stats {
		flex-direction: row;
		justify-content: space-between;
		gap: 15px;
		height: 168px;
	}
	.stat {
		width: 33.3%;
		padding: 0 8px;
	}
	.stat h3 {
		font-size: 48px;
		margin-bottom: 8px;
	}
	.stat p {
		font-size: 16px;
		line-height: 24px;
	}
	.stat-divider {
		height: 168px;
	}

	/* Секция Отзывы */

	.testimonials {
		padding-top: 32px;
	}
	.testimonials h2 {
		font-size: 48px;
		text-align: center;
		margin-bottom: 24px;
		line-height: 56px;
	}

	.testimonial-slider-container {
		width: 100%;
		height: auto;
		padding: 32px;
		margin: 0;
	}
	.testimonial-content {
		flex-direction: row;
		align-items: flex-start;
		gap: 24px;
	}
	.testimonial-image {
		width: 288px;
		height: 288px;
	}
	.testimonial-image img {
		width: 100%;
		height: 100%;
	}
	.testimonial-info {
		flex-grow: 1;
		padding: 0;
		text-align: left;
	}
	.testimonial-header {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 20px;
	}

	.testimonial-role {
		font-size: 16px;
	}
	.testimonial-date {
		font-size: 16px;
	}
	.testimonial-text h3 {
		font-size: 28px;
		line-height: 32px;
		margin-bottom: 15px;
	}
	.testimonial-nav-btn {
		top: 305px;
		transform: translateY(-50%);
		width: 35px;
		height: 35px;
	}
	.prev-btn {
		left: -10px;
	}
	.next-btn {
		right: -10px;
	}
	.testimonial-dots {
		padding-bottom: 32px;
	}
	.dot {
		width: 12px;
		height: 12px;
	}

	/* Секция О проекте */

	.about h2 {
		font-size: 50px;
		text-align: center;
		margin-bottom: 32px;
	}
	.about-content {
		flex-direction: row;
		align-items: flex-start;
		gap: 32px;
	}
	.about-text {
		width: 356px;
		text-align: left;
	}
	.about-text p {
		font-size: 16px;
	}
	.about-image-stack {
		width: 340px;
		height: 604px;
		height: 100%;
		padding-top: 360px;
		position: relative;
	}
	.about-image {
		right: 0;
		transform: translateX(0);
	}
	.about-image-1 {
		width: 340px;
		height: 252px;
	}
	.about-image-2 {
		right: 10%;
		width: 274px;
		height: 252px;
		top: 170px;
	}
	.about-image-3 {
		width: 198px;
		height: 252px;
		right: 21%;
		top: 230px;
	}

	/* Секция FAQ */
	.faq h2 {
		font-size: 48px;
	}

	.accordion {
		width: 95%;
		margin-bottom: 64px;
	}
	.accordion-header h3 {
		font-size: 20px;
	}
	.accordion-content p {
		font-size: 16px;
	}

	.accordion-item:last-child {
		border: none;
	}
	/* Секция Контакты */
	.contact h2 {
		font-size: 36px;
	}
	.btn-green {
		background-color: #2aa034;
		color: white;
		border-radius: 5px;
		text-decoration: none;
		font-size: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-transform: uppercase;
		width: 206px;
		height: 44px;
		transition: background-color 0.3s;
		text-align: center;
		margin: 0 auto;
	}

	.btn-green:hover {
		background-color: #6cb66c;
	}
	.contact h2 {
		font-size: 36px;
	}
	.contact {
		padding: 40px 0;
	}
	.btn-green:active {
		background-color: #008411;
	}

	/* Подвал */
	.footer-content {
		flex-direction: row;
		text-align: left;
		align-items: flex-start !important;
	}
	.footer-contacts {
		margin-bottom: 15px;
	}

	.footer-contacts p {
		font-size: 20px;
	}

	.footer-copyright p {
		font-size: 20px;
	}
}

@media (max-width: 767px){
	.container {
		margin: 0 auto;
		width: 100%;
		padding-inline: 16px;
	}

	.mobile-menu-toggle {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 4px;
		width: 40px;
		height: 40px;
	}
	.mobile-menu-toggle span {
		height: 2px;
		width: 18px;
	}
	.mobile-login {
		background-color: #313131;
		color: white;
		padding: 10px 20px;
		border-radius: 5px;
		font-size: 14px;
		text-transform: uppercase;
		text-decoration: none;
		transition: background-color 0.3s;
	}

	.mobile-login:hover {
		background-color: #5e5e5e;
	}

	.mobile-login:active {
		background-color: #050505;
	}

	.header {
		padding: 8px 0;
	}

	.header-right {
		display: none;
	}

	.logo-image {
		height: 16px;
		width: 90px;
	}

	.hero-content {
		flex-direction: row;
		align-items: flex-start;
		gap: 20px;
	}

	.hero-text .benefits {
		display: flex;
		flex-wrap: wrap;
		gap: 15px;
		margin-left: 0;
	}

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

	/* Корректируем расположение текста */
	.hero-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
		padding: 0;
	}

	.hero-text h1 {
		font-size: 48px;
		margin-bottom: 20px;
		width: 100%;
		position: relative;
	}

	.hero {
		margin-top: 56px;
		padding: 16px 0 36px;
	}

	.benefit-item {
		flex: 1 1 calc(33.33% - 15px);
		background-color: #f9f9f9;
		padding: 15px;
		border: 1px solid #ddd;
		border-radius: 5px;
		text-align: center;
		min-width: 180px;
	}
	.benefit-item h3 {
		font-size: 20px;
		color: #333;
		margin-bottom: 8px;
	}
	.benefit-item p {
		font-size: 13px;
		color: #666;
		line-height: 1.4;
	}
	.hero-image {
		display: none;
	}

	.steps-container {
		margin-bottom: 0;
	}

	.payments {
		margin-block: 32px 36px;
	}

	.steps {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		margin-bottom: 28px;
	}
	.step-item {
		flex-direction: row;
		align-items: flex-start;
		margin-bottom: 45px;
		width: 100%;
	}
	.step-item:not(:last-child) {
		margin-right: 0;
	}

	.step-item:last-child {
		margin-bottom: 0;
	}

	.step-number {
		margin-right: 24px;
		margin-bottom: 0;
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
	.step-line {
		display: none;
	}
	.step-item:not(:last-child):after {
		content: '';
		position: absolute;
		top: 40px;
		left: 20px;
		width: 2px;
		height: 60px;
		background-color: #333;
	}

	.step-text h3 {
		font-size: 20px;
		margin-bottom: 0;
		margin-top: -2px;
	}
	.step-text p {
		font-size: 13px;
		margin-top: -3px;
	}
	.step-text {
		margin-top: 0;
	}
	.btn-orange {
		font-size: 16px;
		max-width: 335px;
		width: 100%;
		height: 44px;
		padding: 11px 25px;
	}

	/* Секция Преимущества */
	.features-grid {
		flex-direction: column;
		justify-content: space-between;
		gap: 20px;
		width: 100%;
	}
	.feature {
		text-align: left;
		width: 100%;
	}
	.feature h3 {
		font-size: 28px;
		line-height: 32px;
	}
	.feature p {
		font-size: 16px;
	}

	.payments h2 {
		font-size: 36px;
	}

	/* Секция Как это работает */
	.how-it-works {
		height: 374px;
		margin-bottom: 40px;
	}

	.how-it-works-content {
		flex-direction: column;
		position: relative; /* Место для кнопки */
	}

	.how-it-works-text {
		height: 20%;
		width: 100%;
		text-align: left;
	}

	.how-it-works-text h2 {
		font-size: 36px;
		line-height: 40px;
		margin-bottom: 20px;
	}

	/* Позиционируем кнопку абсолютно внизу контейнера */
	.how-it-works-text .btn-orange {
		position: absolute;
		bottom: 0;
		left: 0;
		margin-bottom: -53px;
		width: 100%;
	}

	.how-it-works-image {
		max-width: 335px;
		width: 100%;
		/* Центрируем изображение и добавляем отступ снизу */
	}

	.video-container {
		height: 202px;
		margin-bottom: 28px;
	}

	.play-button {
		width: 60px;
		height: 60px;
	}

	.play-icon {
		border-width: 10px 0 10px 16px;
	}
	.stats {
		display: none;
	}

	/* Секция Отзывы */

	.testimonials {
		padding-top: 20px;
	}
	.testimonials h2 {
		font-size: 48px;
		text-align: center;
		margin-bottom: 16px;
		line-height: 56px;
	}

	.testimonial-slider-container {
		width: 100%;
		height: auto;
		padding: 32px;
		margin: 0;
	}
	.testimonial-image {
		width: 286px;
		height: 286px;
	}
	.testimonial-image img {
		width: 100%;
		height: 100%;
	}
	.testimonial-info {
		flex-grow: 1;
		padding: 0;
		text-align: left;
	}
	.testimonial-header {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 20px;
	}
	.testimonial-role {
		font-size: 16px;
	}
	.testimonial-date {
		font-size: 13px;
	}
	.testimonial-text h3 {
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 8px;
	}
	.testimonial-nav-btn {
		display: none;
	}

	.testimonial-dots {
		padding-bottom: 32px;
	}
	.dot {
		width: 12px;
		height: 12px;
	}
	.testimonial-text.expanded p {
		max-height: 1000px;
	}
	/* Секция О проекте */

	.about-content {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 32px;
	}

	.about h2 {
		font-size: 50px;
		text-align: center;
		margin-bottom: 16px;
	}

	.about-text {
		width: 356px;
		text-align: left;
	}
	.about-text p {
		font-size: 16px;
	}
	.about-image-stack {
		width: 340px;
		height: 604px;
		height: 100%;
		position: relative;
	}
	.about-image {
		right: 0;
		transform: translateX(0);
	}
	.about-image-1 {
		max-width: 335px;
		width: 100%;
		height: 203px;
	}
	.about-image-2 {
		max-width: 273px;
		width: 100%;
		height: 165px;
		top: 35%;
		right: 50%;
		transform: translateX(50%);
	}
	.about-image-3 {
		max-width: 198px;
		width: 100%;
		height: 135px;
		top: 65%;
		right: 50%;
		transform: translateX(50%);
	}
	.btn-orange {
		max-width: 323px;
		width: 100%;
		text-align: center;
		height: unset;
		white-space: nowrap;
	}
	.about {
		padding: 32px 0;
		padding-bottom: 36px;
		position: relative;
	}

	.about-content {
		display: block;
		position: relative;
	}

	.about-text h2 {
		height: auto;
		text-align: center;
		font-size: 48px;
		line-height: 56px;
	}

	.about-image-stack {
		max-width: 335px;
		width: 100%;
		height: 203px;
		position: absolute;
		top: 80px;
		left: 0;
		z-index: 2;
	}

	.about-image {
		position: absolute;
		border-radius: 10px;
		background-size: cover;
		background-position: center;
	}

	.about-text {
		width: 100%;
		margin-right: 0;
	}

	.about-text p {
		margin-top: 315px;
		margin-bottom: 20px;
	}

	.about-text .btn-orange {
		width: 100%;
		text-align: center;
	}

	/* Секция FAQ */
	.faq h2 {
		font-size: 28px;
		line-height: 32px;
		margin: 0;
	}

	.accordion {
		width: 95%;
		margin-bottom: 16px;
	}

	.accordion-header img {
		margin-top: 2%;
	}
	.accordion-header h3 {
		line-height: 24px;
		font-size: 16px;
		width: 90%;
	}
	.accordion-content p {
		font-size: 16px;
	}

	.accordion-item:last-child {
		border: none;
	}
	/* Секция Контакты */
	.contact h2 {
		font-size: 36px;
	}
	.btn-green {
		background-color: #2aa034;
		color: white;
		border-radius: 5px;
		text-decoration: none;
		font-size: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-transform: uppercase;
		width: 206px;
		height: 44px;
		transition: background-color 0.3s;
		text-align: center;
		margin: 0 auto;
	}

	.btn-green:hover {
		background-color: #6cb66c;
	}
	.contact h2 {
		font-size: 28px;
		margin-bottom: 24px;
	}
	.contact {
		padding: 32px 0;
	}
	.btn-green:active {
		background-color: #008411;
	}

	/* Подвал */
	.footer-content {
		flex-direction: column;
		text-align: left;
		align-items: flex-start;
		gap: 16px;
	}
	.footer-contacts {
		order: 2;
	}

	.footer-contacts p {
		font-size: 16px;
		font-style: normal;
	}

	.footer-email {
		margin-top: 16px;
	}

	.footer-copyright {
		order: 1;
	}
	.footer-copyright p {
		font-size: 16px;
		text-align: left;
	}

	.popup-content {
		width: 100%;
		max-width: 100%;
	}
}


@media (max-width: 576px) {
	.container {
		max-width: 335px;
		margin: 0 auto;
		width: 100%;
		padding-inline: 16px;
	}

	.mobile-menu-toggle {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 4px;
		width: 40px;
		height: 40px;
	}
	.mobile-menu-toggle span {
		height: 2px;
		width: 18px;
	}
	.mobile-login {
		background-color: #313131;
		color: white;
		padding: 10px 20px;
		border-radius: 5px;
		font-size: 14px;
		text-transform: uppercase;
		text-decoration: none;
		transition: background-color 0.3s;
	}

	.mobile-login:hover {
		background-color: #5e5e5e;
	}

	.mobile-login:active {
		background-color: #050505;
	}

	.header {
		padding: 8px 0;
	}

	.header-right {
		display: none;
	}

	.logo-image {
		height: 16px;
		width: 90px;
	}

	.hero-content {
		flex-direction: row;
		align-items: flex-start;
		gap: 20px;
	}

	.hero-text .benefits {
		display: flex;
		flex-wrap: wrap;
		gap: 15px;
		margin-left: 0;
	}

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

	/* Корректируем расположение текста */
	.hero-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
		padding: 0;
	}

	.hero-text h1 {
		font-size: 36px;
		margin-bottom: 20px;
		width: 100%;
		position: relative;

	}

	.hero {
		margin-top: 56px;
		padding: 16px 0 36px;
	}

	.benefit-item {
		flex: 1 1 calc(33.33% - 15px);
		background-color: #f9f9f9;
		padding: 15px;
		border: 1px solid #ddd;
		border-radius: 5px;
		text-align: center;
		min-width: 180px;
	}
	.benefit-item h3 {
		font-size: 20px;
		color: #333;
		margin-bottom: 8px;
	}
	.benefit-item p {
		font-size: 13px;
		color: #666;
		line-height: 1.4;
	}
	.hero-image {
		display: none;
	}

	.steps-container {
		margin-bottom: 0;
	}

	.payments {
		margin-block: 32px 36px;
	}

	.steps {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		margin-bottom: 28px;
	}
	.step-item {
		flex-direction: row;
		align-items: flex-start;
		margin-bottom: 45px;
		width: 100%;
	}
	.step-item:not(:last-child) {
		margin-right: 0;
	}

	.step-item:last-child {
		margin-bottom: 0;
	}

	.step-number {
		margin-right: 24px;
		margin-bottom: 0;
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
	.step-line {
		display: none;
	}
	.step-item:not(:last-child):after {
		content: '';
		position: absolute;
		top: 40px;
		left: 6.5%;
		width: 2px;
		height: 60px;
		background-color: #333;
	}

	.step-text h3 {
		font-size: 20px;
		margin-bottom: 0;
		margin-top: -2px;
	}
	.step-text p {
		font-size: 13px;
		margin-top: -3px;
	}
	.step-text {
		margin-top: 0;
	}
	.btn-orange {
		font-size: 16px;
		max-width: 335px;
		width: 100%;
		height: 44px;
		padding: 11px 25px;
	}

	/* Секция Преимущества */
	.features-grid {
		flex-direction: column;
		justify-content: space-between;
		gap: 20px;
		width: 100%;
	}
	.feature {
		text-align: left;
		width: 100%;
	}
	.feature h3 {
		font-size: 28px;
		line-height: 32px;
	}
	.feature p {
		font-size: 16px;
	}

	.payments h2 {
		font-size: 36px;
	}

	/* Секция Как это работает */
	.how-it-works {
		height: 374px;
		margin-bottom: 40px;
	}

	.how-it-works-content {
		flex-direction: column;
		position: relative; /* Место для кнопки */
	}

	.how-it-works-text {
		height: 20%;
		width: 100%;
		text-align: left;
	}

	.how-it-works-text h2 {
		font-size: 36px;
		line-height: 40px;
		margin-bottom: 20px;
	}

	/* Позиционируем кнопку абсолютно внизу контейнера */
	.how-it-works-text .btn-orange {
		position: absolute;
		bottom: 0;
		left: 0;
		margin-bottom: -53px;
		width: 100%;
	}

	.how-it-works-image {
		max-width: 335px;
		width: 100%;
		margin: 0 auto 20px;
		/* Центрируем изображение и добавляем отступ снизу */
	}

	.video-container {
		height: 202px;
		margin-bottom: 28px;
	}

	.play-button {
		width: 60px;
		height: 60px;
	}

	.play-icon {
		border-width: 10px 0 10px 16px;
	}
	.stats {
		display: none;
	}

	/* Секция Отзывы */

	.testimonials {
		padding-top: 20px;
	}
	.testimonials h2 {
		font-size: 48px;
		text-align: center;
		margin-bottom: 16px;
		line-height: 56px;
	}

	.testimonial-slider-container {
		width: 100%;
		height: auto;
		padding: 32px;
		margin: 0;
	}
	.testimonial-image {
		width: 286px;
		height: 286px;
		padding-right: 30px;
	}
	.testimonial-image img {
		width: 100%;
		height: 100%;
	}
	.testimonial-info {
		flex-grow: 1;
		padding: 0;
		text-align: left;
	}
	.testimonial-header {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 20px;
	}
	.testimonial-role {
		font-size: 16px;
	}
	.testimonial-date {
		font-size: 13px;
		padding-right: 0;
	}
	.testimonial-text h3 {
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 8px;
	}
	.testimonial-nav-btn {
		display: none;
	}

	.testimonial-dots {
		padding-bottom: 32px;
	}
	.dot {
		width: 12px;
		height: 12px;
	}
	.testimonial-text.expanded p {
		max-height: 1000px;
	}
	/* Секция О проекте */

	.about-content {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 32px;
	}

	.about h2 {
		font-size: 50px;
		text-align: center;
		margin-bottom: 16px;
	}

	.about-text {
		width: 356px;
		text-align: left;
	}
	.about-text p {
		font-size: 16px;
	}
	.about-image-stack {
		width: 340px;
		height: 604px;
		height: 100%;
		position: relative;
	}
	.about-image {
		right: 0;
		transform: translateX(0);
	}
	.about-image-1 {
		max-width: 335px;
		width: 100%;
		height: 203px;
	}
	.about-image-2 {
		max-width: 273px;
		width: 100%;
		height: 165px;
		top: 35%;
		right: 50%;
		transform: translateX(50%);
	}
	.about-image-3 {
		max-width: 198px;
		width: 100%;
		height: 135px;
		top: 65%;
		right: 50%;
		transform: translateX(50%);
	}
	.btn-orange {
		max-width: 323px;
		width: 100%;
		text-align: center;
		height: unset;
		white-space: nowrap;
	}
	.about {
		padding: 32px 0;
		padding-bottom: 36px;
		position: relative;
	}

	.about-content {
		display: block;
		position: relative;
	}

	.about-text h2 {
		height: auto;
		text-align: center;
		font-size: 48px;
		line-height: 56px;
	}

	.about-image-stack {
		max-width: 335px;
		width: 100%;
		height: 203px;
		position: absolute;
		top: 80px;
		left: 0;
		z-index: 2;
	}

	.about-image {
		position: absolute;
		border-radius: 10px;
		background-size: cover;
		background-position: center;
	}

	.about-text {
		width: 100%;
		margin-right: 0;
	}

	.about-text p {
		margin-top: 315px;
		margin-bottom: 20px;
	}

	.about-text .btn-orange {
		width: 100%;
		text-align: center;
	}

	/* Секция FAQ */
	.faq h2 {
		font-size: 28px;
		line-height: 32px;
		margin: 0;
	}

	.accordion {
		width: 95%;
		margin-bottom: 16px;
	}

	.accordion-header img {
		margin-top: 2%;
	}
	.accordion-header h3 {
		line-height: 24px;
		font-size: 16px;
		width: 90%;
	}
	.accordion-content p {
		font-size: 16px;
	}

	.accordion-item:last-child {
		border: none;
	}
	/* Секция Контакты */
	.contact h2 {
		font-size: 36px;
	}
	.btn-green {
		background-color: #2aa034;
		color: white;
		border-radius: 5px;
		text-decoration: none;
		font-size: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-transform: uppercase;
		width: 206px;
		height: 44px;
		transition: background-color 0.3s;
		text-align: center;
		margin: 0 auto;
	}

	.btn-green:hover {
		background-color: #6cb66c;
	}
	.contact h2 {
		font-size: 28px;
		margin-bottom: 24px;
	}
	.contact {
		padding: 32px 0;
	}
	.btn-green:active {
		background-color: #008411;
	}

	/* Подвал */
	.footer-content {
		flex-direction: column;
		text-align: left;
		align-items: flex-start;
		gap: 16px;
	}
	.footer-contacts {
		order: 2;
	}

	.footer-contacts p {
		font-size: 16px;
		font-style: normal;
	}

	.footer-email {
		margin-top: 16px;
	}

	.footer-copyright {
		order: 1;
	}
	.footer-copyright p {
		font-size: 16px;
		text-align: left;
	}

	.popup-content {
		width: 100%;
		max-width: 100%;
	}
}

/* 1280px и больше */
@media (min-width: 1280px) {

	/* Глобальный сброс и базовые стили */
	* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
		font-family: 'Involve', 'Inter', sans-serif;
	}

	body {
		font-family: 'Involve', 'Inter', sans-serif;
		color: #333;
		line-height: 1.5;
		overflow-x: hidden;
	}

	.container {
		max-width: 1196px;
		margin: 0 auto;
		width: 100%;
	}

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

	.logo {
		margin-right: 50px;
		display: flex;
		align-items: center;
	}

	.logo-image {
		height: 33px;
		width: 187px;
	}

	.header-right {
		display: flex;
		align-items: center;
		flex-grow: 1;
		justify-content: flex-end;
	}

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

	.mobile-menu-toggle {
		display: none;
		background: none;
		border: none;
		cursor: pointer;
		flex-direction: column;
		justify-content: space-between;
		height: 20px;
		width: 30px;
		padding: 0;
	}

	.mobile-menu-toggle span {
		display: block;
		height: 3px;
		width: 100%;
		background-color: white;
		border-radius: 3px;
		transition: all 0.3s;
	}

	/* Мобильное меню */
	.mobile-menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		max-width: 250px;
		height: 100vh;
		background-color: white;
		z-index: 1001;
		transition: all 0.4s ease-in-out;
		padding: 20px;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		overflow-y: auto;
		opacity: 0;
		transform: translateX(20px);
	}

	.mobile-menu.active {
		right: 0;
		opacity: 1;
		transform: translateX(0);
	}

	.mobile-menu-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 30px;
	}

	.mobile-menu-close {
		background: none;
		border: none;
		color: #333;
		font-size: 24px;
		cursor: pointer;
		transition: color 0.3s;
	}

	.mobile-menu-close:hover {
		color: #4caf50;
	}

	.mobile-login {
		background-color: #313131;
		color: white;
		padding: 10px 20px;
		border-radius: 5px;
		font-size: 14px;
		text-transform: uppercase;
		text-decoration: none;
		transition: background-color 0.3s;
	}

	.mobile-login:hover {
		background-color: #5e5e5e;
	}

	.mobile-login:active {
		background-color: #050505;
	}

	.mobile-nav ul {
		list-style: none;
	}

	.mobile-nav ul li {
		margin-bottom: 20px;
	}

	.mobile-nav ul li a {
		color: #333;
		text-decoration: none;
		font-size: 18px;
		transition: color 0.3s;
	}

	.mobile-nav ul li a:hover {
		color: #4caf50;
	}

	.hero-content {
		display: flex;
		/* justify-content: space-between; */
		align-items: flex-start;
	}

	.hero-text {
		width: 70%;
		text-align: left;
	}

	.hero-text h1 {
		font-size: 48px;
		margin-bottom: 40px;
		color: #313131;
		line-height: 1.2;
		margin-left: 45px;
	}
	/* Изменения для секции Hero */
	.hero-text h1 {
		margin-top: 48px;
		margin-left: 0;
		width: 100%;
		position: relative;
		margin-top: 0;
		align-self: flex-end;
	}

	.hero-image {
		max-width: 30%;
		position: relative;
		align-self: flex-start;
		width: 305px;
	}

	.image-stack {
		position: relative;
	}

	.steps {
		display: flex;
		align-items: flex-start;
	}

	.step-item {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		position: relative;
		width: 27%;
	}

	.step-number {
		background-color: #313131;
		color: white;
		width: 48px;
		height: 48px;
		border-radius: 12px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 15px;
		font-size: 20px;
	}

	.step-line {
		position: absolute;
		top: 22px;
		left: 45px;
		height: 2px;
		background-color: #333;
		width: 240px;
	}

	.step-item:last-child .step-line {
		display: none;
	}

	.step-item:last-child {
		width: 30%;
	}

	.step-text {
		margin-top: 10px;
	}

	.step-text h3 {
		font-size: 20px;
		color: #333;
		margin-bottom: 5px;
	}

	.step-text p {
		font-size: 13px;
		color: #666;
	}

	.image-layer {
		position: absolute;
		border-radius: 10px;
		background-position: center;
	}

	.layer-1 {
		width: 100%;
		height: 100%;
		right: 0;
		bottom: 0;
		z-index: 3;
		background-image: url('/static/img/tutor/work/pexels-karolina-grabowska-7679892.png');
	}

	.layer-2 {
		width: 77%;
		height: 82%;
		right: 105px;
		bottom: 8%;
		z-index: 2;
		background-image: url('/static/img/tutor/work/pexels-karolina-grabowska-7679892.png');
	}

	.layer-3 {
		width: 59%;
		height: 67%;
		right: 195px;
		bottom: 15%;
		z-index: 1;
		background-image: url('/static/img/tutor/work/pexels-karolina-grabowska-7679892.png');
	}

	.btn-orange {
		max-width: 323px;
		width: 100%;
		height: 52px;
	}

	/* Секция Преимущества */
	.features {
		background-color: #ffffff;
		margin-bottom: 128px;
	}

	.features-grid {
		display: flex;
		justify-content: space-between;
	}

	.feature {
		width: 30%;
	}

	.feature h3 {
		font-size: 28px;
		margin-bottom: 5px;
		color: #333;
	}

	.feature p {
		font-size: 16px;
		color: #666;
		line-height: 1.5;
	}

	.payments h2 {
		color: #2aa034;
		text-align: center;
		font-size: 48px;
	}

	/* Секция Как это работает */
	.how-it-works {
		background-color: #fff;
		margin-bottom: 112px;
	}

	.how-it-works-content {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 64px;
	}

	.how-it-works-text {
		width: 50%;
	}

	.how-it-works-text h2 {
		font-size: 80px;
		margin-bottom: 30px;
		color: #333;
		line-height: 1.2;
	}

	.how-it-works-image {
		width: 45%;
	}

	.video-container {
		position: relative;
		width: 540px;
		border-radius: 10px;
		overflow: hidden;
		height: 276px;
	}

	.video-container img {
		width: 100%;
		display: block;
		border-radius: 10px;
	}

	.play-button {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 70px;
		height: 70px;
		background-color: rgba(255, 255, 255, 0.8);
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}

	.play-icon {
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 12px 0 12px 20px;
		border-color: transparent transparent transparent #333;
		margin-left: 5px;
	}

	.stats {
		display: flex;
		justify-content: space-between;
		text-align: center;
		margin-bottom: 112px;
	}

	.stat h3 {
		font-size: 80px;
		color: #333;
	}

	.stat p {
		font-size: 20px;
		color: #666;
		line-height: 1.5;
		width: 373px;
	}

	.stat-divider {
		width: 1px;
		height: 176px;
		background-color: #ddd;
		margin-top: 10px;
	}

	/* Секция Отзывы */
	.testimonials {
		padding-bottom: 56px;
		padding-top: 56px;
		background-color: #f5f5f5;
		position: relative;
	}

	.testimonials h2 {
		font-size: 42px;
		margin-bottom: 56px;
		color: #333;
		text-align: left;
	}

	.testimonial-wrapper {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.testimonial-slider-container {
		position: relative;
		background-color: #fff;
		border-radius: 10px;
		margin: 0 auto;
		width: 1280px;
		height: auto;
		overflow: visible;
	}

	.testimonial-slider {
		padding: 40px;
		position: relative;
		height: 476px;
		height: 100%;
		overflow: hidden;
	}

	.testimonial-slide {
		position: absolute;
		width: 100%;
		opacity: 0;
		transition: opacity 0.5s ease;
		left: 0;
		top: 0;
		display: none;
		flex-direction: row;
		align-items: flex-start;
		gap: 20px;
	}

	.testimonial-slide.active {
		opacity: 1;
		z-index: 2;
		display: flex;
		position: relative;
	}

	.testimonial-image {
		width: 288px;
		height: 288px;
		flex-shrink: 0;
	}

	.testimonial-image img {
		width: 100%;
		height: 100%;
		border-radius: 10px;
		display: block;
		object-fit: cover;
		object-position: center;
	}

	.testimonial-info {
		flex-grow: 1;
		overflow-y: auto;
		text-align: left;
	}

	.testimonial-header {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 10px;
	}

	.testimonial-role {
		font-size: 16px;
		color: #313131;
	}

	.testimonial-date {
		font-size: 16px;
		color: #313131;
	}

	.testimonial-text {
		position: relative;
	}

	.testimonial-text h3 {
		font-size: 28px;
		color: #333;
	}

	/* Точки навигации */
	.testimonial-dots {
		display: flex;
		justify-content: center;
		bottom: 10px;
		left: 50%;
		transform: translateX(-50%);
		margin-top: 24px; /* Добавляем отступ снизу */
		position: relative; /* Меняем с absolute на relative */
		bottom: auto; /* Убираем позиционирование снизу */
		left: auto; /* Убираем позиционирование слева */
		transform: none; /* Убираем трансформацию */
		display: flex;
		justify-content: center;
	}

	.dot {
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background-color: #ddd;
		margin: 0 6px;
		cursor: pointer;
		transition: background-color 0.3s ease;
		border: none;
	}

	.dot.active {
		background-color: #27ae60;
	}

	/* Стрелки навигации */
	.testimonial-nav-btn {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 40px;
		height: 40px;
		background-color: #4caf50;
		border: none;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		z-index: 10;
		transition: background-color 0.3s ease;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	}

	.testimonial-nav-btn:hover {
		background-color: #3e8e41;
	}

	.prev-btn {
		left: -20px;
		background-image: url('/static/img/tutor/work/leftbutton.png');
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	.next-btn {
		right: -20px;
		background-image: url('/static/img/tutor/work/rightbutton.png');
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	/* Секция О проекте */
	.about {
		padding: 128px 0;
		background-color: #fff;
		position: relative;
	}

	.about h2 {
		font-size: 48px;
		margin-bottom: 40px;
		color: #333;
		text-align: left;
	}

	.about-content {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 50px;
	}

	.about-text {
		width: 65%;
		text-align: left;
		margin-right: 60px;
	}

	.about-text p {
		font-size: 16px;
		line-height: 1.6;
		color: #333;
		margin-bottom: 56px;
	}

	.about-image-stack {
		width: 30%;
		position: relative;
		height: 400px;
		top: -110px;
		align-items: flex-start;
	}

	.about-image {
		position: absolute;
		border-radius: 10px;
		background-size: cover;
		background-position: center;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	}

	.about-image-1 {
		width: 385px;
		height: 290px;
		right: 0;
		bottom: 0;
		z-index: 3;
		background-image: url('/static/img/tutor/work/young-female-student-listening-her-english-teacher.png');
	}

	.about-image-2 {
		width: 319px;
		height: 290px;
		right: 7.5%;
		bottom: -7.5%;
		z-index: 2;
		background-image: url('/static/img/tutor/work/young-female-student-listening-her-english-teacher.png');
	}

	.about-image-3 {
		width: 271px;
		height: 290px;
		right: 14%;
		bottom: -15%;
		z-index: 1;
		background-image: url('/static/img/tutor/work/young-female-student-listening-her-english-teacher.png');
	}

	/* Секция FAQ */
	.faq {
		background-color: #ffffff;
		margin: 0 auto;
		margin-bottom: 112px;
	}

	.faq h2 {
		font-size: 48px;
		margin-bottom: 40px;
		color: #333;
		text-align: center;
	}

	.accordion-container {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	.accordion {
		width: 751px;
	}

	.accordion-item {
		margin-bottom: 10px;
		border-bottom: 1px solid #e0e0e0;
	}

	.accordion-item:last-child {
		border: none;
	}

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

	.accordion-header h3 {
		font-size: 20px;
		color: #333;
	}

	.accordion-icon {
		position: relative;
		width: 20px;
		height: 20px;
	}

	.accordion-icon:before,
	.accordion-icon:after {
		content: '';
		position: absolute;
		background-color: #333;
		transition: all 0.3s ease;
	}

	.accordion-icon:before {
		width: 20px;
		height: 2px;
		top: 9px;
		left: 0;
	}

	.accordion-content {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease, padding 0.3s linear;
		padding: 0 0;
	}

	.accordion-item.active .accordion-content {
		max-height: 500px;
		padding-bottom: 20px;
	}

	.accordion-content p {
		font-size: 18px;
		color: #333;
		line-height: 1.6;
		margin: 0;
	}

	/* Секция Контакты */
	.contact {
		padding: 56px 0;
		background-color: rgba(238, 254, 238, 1);
		text-align: center;
	}

	.contact h2 {
		font-size: 48px;
		margin-bottom: 30px;
		color: #333;
		max-width: 800px;
		margin-left: auto;
		margin-right: auto;
		line-height: 1.2;
	}

	.btn-green {
		background-color: #2aa034;
		color: white;
		border-radius: 5px;
		text-decoration: none;
		font-size: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-transform: uppercase;
		width: 206px;
		height: 52px;
		transition: background-color 0.3s;
		text-align: center;
		margin: 0 auto;
	}

	.btn-green:hover {
		background-color: #6cb66c;
	}

	.btn-green:active {
		background-color: #008411;
	}

	/* Подвал */
	.footer {
		background-color: #333;
		padding: 30px 0;
		color: white;
	}

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

	.footer-contacts p {
		font-size: 16px;
		margin-bottom: 0;
		color: #fff;
	}

	.footer-email {
		margin-top: 30px; /* A */
	}

	.footer-email a {
		color: #4caf50;
		text-decoration: none;
		transition: color 0.3s;
	}

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

	.footer-copyright p {
		font-size: 16px;
		text-align: right;
	}

	.footer-copyright .highlight {
		color: #4caf50;
	}

	/* Всплывающее окно входа */
	.login-popup {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 10000;
		justify-content: center;
		align-items: center;
	}

	.login-popup.active {
		display: flex;
	}

	.popup-content {
		background: #fff;
		padding: 20px;
		border-radius: 10px;
		position: relative;
		width: 300px;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
		text-align: center;
	}

	.popup-close {
		position: absolute;
		top: 10px;
		right: 10px;
		background: none;
		border: none;
		font-size: 24px;
		cursor: pointer;
		color: #333;
	}

	.popup-form {
		display: none;
	}

	.popup-form.active {
		display: block;
	}

	.popup-form h2 {
		font-size: 24px;
		margin-bottom: 20px;
		color: #333;
	}

	.popup-form form {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.popup-form input {
		padding: 10px;
		font-size: 16px;
		border: 1px solid #ddd;
		border-radius: 5px;
		outline: none;
	}

	.popup-form .forgot-password {
		font-size: 14px;
		color: #27ae60;
		text-align: right;
		cursor: pointer;
		margin-bottom: 5px;
	}

	.popup-form .back-to-login {
		font-size: 14px;
		color: #27ae60;
		text-align: right;
		cursor: pointer;
		margin-bottom: 5px;
	}

	.popup-form .success-message {
		color: green;
		font-size: 14px;
		margin-bottom: 10px;
	}

	.popup-form .btn-orange {
		padding: 12px;
		font-size: 16px;
		border: none;
		border-radius: 5px;
		width: 100%;
		margin-top: 10px;
	}
}
.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
