/* slider feedback  */
.slider_feedback {
	max-width: 1200px;
	margin: 5em auto 1.5em auto;
}
.slider-container {
	overflow: hidden;
	position: relative;
}

.slider-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.slideblock {
	display: flex;
	flex: 0 0 30%;
	justify-content: center;
	padding: 20px;
}

.testimonial {
	border: #000 1px solid;
	background-color: #5c38b8;
	border-radius: 4px;
	height: 90%;
	max-width: 300px;
	padding: 20px;
	text-align: center;
	width: 100%;
}

.testimonial div {
	display: flex;
}
.testimonial img {
	border: #fff 1px solid;
	border-radius: 4px;
	box-shadow: 5px 5px 10px rgba(152, 152, 152, 0.5);
	height: 200px;
	margin: 0 8px 0 0;
	object-fit: cover;
	width: 200px !important;
}

.testimonial h4 {
	color: #fff;
}

.testimonial p {
	color: #fff;
	flex-grow: 1;
	font-size: 16px;
	margin: 30px 0 0 0;
	text-align: left;
}

.slider-buttons {
	margin-top: 20px;
	text-align: center;
}
.slider-buttons button {
	background-color: #3c2772;
	border: none;
	border-radius: 8px;
	color: #fff8dc;
	cursor: pointer;
	font-weight: bold;
	margin: 0 5px;
	overflow: hidden;
	padding: 12px 24px;
	position: relative;
	text-transform: uppercase;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ховер — затемнение золота */
.slider-buttons button:hover {
	background-color: #5213f1;
	color: #ffffff;
}

/* Блик */
.slider-buttons button::before {
	animation: shine 2.5s infinite;
	background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.2) 100%);
	content: "";
	height: 100%;
	left: -75%;
	position: absolute;
	top: 0;
	transform: skewX(-20deg);
	width: 50%;
	z-index: 1;
	pointer-events: none;
	border-radius: 8px;
}

@keyframes shine {
	0% {
		left: -75%;
	}
	100% {
		left: 125%;
	}
}


/* Анимация проблеска при загрузке */
@keyframes glow {
	0% {
		box-shadow: 0 0 0 rgba(255, 255, 255, 0);
	}
	50% {
		box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
	}
	100% {
		box-shadow: 0 0 0 rgba(255, 255, 255, 0);
	}
}


@media (max-width: 900px) {
	.slideblock {
		flex: 0 0 46%;
	}
}

@media (max-width: 600px) {
	.slideblock {
		flex: 0 0 90%;
	}
}
