.carousel-container {
	width: 100%;
	max-width: 1200px;
	height: 450px;
	position: relative;
	perspective: 1000px;
}

.carousel-track {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card {
	position: absolute;
	width: 580px;
	height: 420px;
	background: white;
	border-radius: 8px;
	overflow: hidden;
	
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
}

.card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.center {
	z-index: 10;
	transform: scale(1.1) translateZ(0);
}

.card.left-2 {
	z-index: 1;
	transform: translateX(-400px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.left-1 {
	z-index: 5;
	transform: translateX(-200px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.right-1 {
	z-index: 5;
	transform: translateX(200px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.right-2 {
	z-index: 1;
	transform: translateX(400px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.hidden {
	visibility: hidden;
	position: absolute;
	left: -9999px;
}

.dots {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 60px;
}

.dot {
	width: 24px;
	height: 24px;
	border: 1px solid #5CA7D0;
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background: #5CA7D0;
}

.nav-arrow {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 20;
	transition: all 0.3s ease;
	font-size: 1.5rem;
	border: 1px solid #C3C3C3;
	outline: none;
	padding-bottom: 4px;
}

.nav-arrow:hover,
.nav-arrow:focus {
	border: 1px solid #888888;
	background: rgba(255, 255, 255, 0);
}

.nav-arrow i {
	font-size: 27px;
	color: #C3C3C3;
}

.nav-arrow:hover i,
.nav-arrow:focus i {
	color: #888888;
}

.nav-arrow.left {
	left: 115px;
}

.nav-arrow.right {
	right: 115px;
}




@media (min-width: 768px) and (max-width: 1249px) {
	.carousel-container {
	  height: 380px; /* Оптимальная высота для средних экранов */
	}
  
	.card {
		width: 420px;
		height: 300px;
		margin: 0 auto;
	}
  
	.card.left-2 {
	  transform: translateX(-300px) scale(0.8) translateZ(-300px);
	}
  
	.card.left-1 {
	  transform: translateX(-150px) scale(0.9) translateZ(-100px);
	}
  
	.card.right-1 {
	  transform: translateX(150px) scale(0.9) translateZ(-100px);
	}
  
	.card.right-2 {
	  transform: translateX(300px) scale(0.8) translateZ(-300px);
	}
  
	.nav-arrow.left {
	  left: 50px; /* Уменьшите отступ для стрелок */
	}
  
	.nav-arrow.right {
	  right: 50px;
	}
  }


@media screen and (max-width: 767px) {
	.carousel-container {
		height: 280px;
	}

	.carousel {
		width: 358px;
		height: 280px;
		margin: 0 auto;
	}

	.card {
		width: 358px;
		height: 280px;
		transform: none !important;
		opacity: 0;
		transition: opacity 0.5s ease;
	}

	.card.center {
		opacity: 1;
		z-index: 10;
	}

	.card.left-1,
	.card.left-2,
	.card.right-1,
	.card.right-2,
	.card.hidden,
	.nav-arrow {
		display: none;
	}



	.dots-container {
		bottom: 10px;
	}

	.card.swipe-transition {
		animation: swipeIn 0.4s ease;
	}

	@keyframes swipeIn {
		0% {
			transform: translateX(50px);
			opacity: 0;
		}

		100% {
			transform: translateX(0);
			opacity: 1;
		}
	}

}