/* Testimonial Carousel Styles */

.testimonial-carousel-wrapper {
	position: relative;
	width: 100%;
	margin: 40px auto;
	padding: 20px 0;
}

.testimonial-carousel-container {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 20px;
}

.testimonial-carousel-track-container {
	flex: 1;
	overflow: hidden;
	position: relative;
}

.testimonial-carousel-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	gap: 20px;
}

.testimonial-slide {
	flex: 0 0 calc(33.333% - 14px);
	min-width: 0;
	box-sizing: border-box;
}

.testimonial-content {
	padding: 30px;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.testimonial-quote {
	display: flex;
	flex: 1;
	position: relative;
	flex-direction: column;
	gap: 8px;
}

.testimonial-quote svg{
	width: 18px;
	height: auto;
	display: block;
	position: relative;
	margin: 0 auto;
}

.testimonial-quote p {
	font-size: 14px;
	text-align: center;
	line-height: 1.6;
	color: #333;
	margin: 0;
	position: relative;
	z-index: 1;
	font-style: italic;
}

.testimonial-author {
	text-align: center;
}

.testimonial-author strong {
	font-size: 16px;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Arrow Buttons */
.carousel-arrow {
	background: #333;
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	flex-shrink: 0;
	z-index: 10;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
	background: #555;
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-arrow:active {
	transform: scale(0.95);
}

.carousel-arrow svg {
	width: 24px;
	height: 24px;
}

.carousel-arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
	transform: none;
	background: #333;
}

/* Empty State */
.testimonial-carousel-empty {
	text-align: center;
	padding: 40px;
	background: #f9f9f9;
	border-radius: 12px;
	color: #999;
}

/* Responsive Styles */

/* Tablet: 2 slides at 1060px and below */
@media (max-width: 1060px) {
	.testimonial-slide {
		flex: 0 0 calc(50% - 10px);
	}

	.testimonial-content {
		padding: 25px;
	}

	.testimonial-quote p {
		font-size: 15px;
	}

	.carousel-arrow {
		width: 45px;
		height: 45px;
	}

	.carousel-arrow svg {
		width: 20px;
		height: 20px;
	}
}

/* Mobile: 1 slide at 576px and below */
@media (max-width: 781px) {
	.testimonial-slide {
		flex: 0 0 100%;
	}

	.testimonial-carousel-wrapper {
		margin: 20px auto;
	}

	.testimonial-carousel-container {
		gap: 10px;
	}

	.testimonial-content {
		padding: 20px;
	}

	.testimonial-quote p {
		font-size: 14px;
	}

	.testimonial-author strong {
		font-size: 13px;
	}

	.carousel-arrow {
		width: 40px;
		height: 40px;
	}

	.carousel-arrow svg {
		width: 18px;
		height: 18px;
	}

	.quote-icon {
		width: 50px;
		height: 50px;
	}
}

/* Extra small screens */
@media (max-width: 400px) {
	.testimonial-content {
		padding: 15px;
	}

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

	.carousel-arrow svg {
		width: 16px;
		height: 16px;
	}
}
