.testimonials-section {
	background-color: var(--background-color-primary);
	align-items: center;
	flex-direction: column;
	position: relative;
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonials-section.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.testimonials-container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

.testimonials-header {
	margin-bottom: 4rem;
	opacity: 0;
	transform: translateY(30px);
}

.testimonials-header.animate-in {
	opacity: 1;
	transform: translateY(0);
	transition: all 0.6s ease;
}

.testimonials-carousel {
	position: relative;
	margin-bottom: 3rem;
}

.testimonial-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transform: scale(0.9) translateY(-2rem);
	transition: opacity 0.6s ease, transform 0.6s ease;
	pointer-events: none;
}

.testimonial-slide.active {
	position: relative;
	pointer-events: auto;
}

.testimonial-slide.active.animate-in {
	opacity: 1;
	transform: scale(1) translateY(0);
}

.testimonial-content {
	display: flex;
	align-items: center;
	gap: 4rem;
	max-width: 900px;
	margin: 0 auto;
	opacity: 0;
	transform: translateY(20px);
}

.testimonial-content.animate-in {
	opacity: 1;
	transform: translateY(0);
	transition: all 0.6s ease;
}

.testimonial-image {
	--bloom-size: 10rem;
	position: relative;
	width: 12.5rem;
	height: 12.5rem;
	flex-shrink: 0;
	display: flex;
	border-radius: 50%;
	overflow: hidden;
}

.testimonial-image::before
{
	z-index: 2;
}

.testimonial-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-text {
	flex: 1;
	text-align: left;
}

.testimonial-text blockquote {
	font-size: 1.8rem;
	line-height: 1.4;
	color: var(--text-color-primary);
	margin: 0 0 2rem 0;
	padding: 0;
	font-weight: 400;
	position: relative;
	min-height: calc(4rem + (1.8rem * 1.4 * 5));
}

.testimonial-text blockquote::before {
	content: '❝';
	line-height: 1;
	font-size: 4rem;
	color: var(--text-color-secondary);
	position: relative;
	display: block;
}

.testimonial-author h3 {
	color: var(--text-color-primary);
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 0.5rem 0;
}

.testimonial-author p {
	color: var(--text-color-secondary);
	font-size: 1rem;
	margin: 0;
	font-family: 'Roboto Mono', monospace;
}

.testimonials-pagination {
	display: flex;
	justify-content: center;
	gap: 1rem;
	opacity: 0;
	transform: translateY(20px);
}

.testimonials-pagination.animate-in {
	opacity: 1;
	transform: translateY(0);
	transition: all 0.6s ease;
}

.pagination-handle {
	position: relative;
	width: 4rem;
	height: .5rem;
	border-radius: .5rem;
	border: 1px solid transparent;
	background-color: var(--text-color-secondary-transparent);
	cursor: pointer;
	transition: all 0.3s ease;
	overflow: hidden;
}

.pagination-handle::after {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	content: '';
	background-image: linear-gradient(to right, var(--accent-color), var(--accent-color-alt));
	border-radius: .5rem;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination-handle:hover {
	border-color: var(--accent-color-average);
	box-shadow: 0 0 10px var(--accent-color-average-transparent);
}

.pagination-handle.active {
	border-color: transparent;
	box-shadow: unset;
}

.pagination-handle.active::before {
	display: none;
}

.pagination-handle.active::after {
	transform-origin: left center;
	transform: scaleX(1);
}

/* Responsive Design */
@media (max-width: 767px) {
	.testimonials-section {
		padding: 3rem 1.5rem;
	}

	.testimonials-header {
		margin-bottom: 2rem;
	}

	.testimonials-header h2 {
		font-size: 1.5rem;
		line-height: 1.3;
	}

	.testimonial-content {
		flex-direction: column;
		gap: 2rem;
		text-align: center;
	}

	.testimonial-image {
		width: 8rem;
		height: 8rem;
		--bloom-size: 6rem;
	}

	.testimonial-text {
		text-align: center;
	}

	.testimonial-text blockquote {
		font-size: 1.2rem;
		line-height: 1.5;
		min-height: auto;
		margin-bottom: 1.5rem;
	}

	.testimonial-text blockquote::before {
		font-size: 2.5rem;
		margin-bottom: 0.5rem;
	}

	.testimonial-author h3 {
		font-size: 1.2rem;
	}

	.testimonial-author p {
		font-size: 0.9rem;
	}

	.testimonials-carousel {
		margin-bottom: 2rem;
	}

	.pagination-handle {
		width: 3rem;
		height: 0.4rem;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.testimonials-section {
		padding: 4rem 3rem;
	}

	.testimonials-header {
		margin-bottom: 3rem;
	}

	.testimonials-header h2 {
		font-size: 1.75rem;
		line-height: 1.3;
	}

	.testimonial-content {
		gap: 3rem;
	}

	.testimonial-image {
		width: 10rem;
		height: 10rem;
		--bloom-size: 8rem;
	}

	.testimonial-text blockquote {
		font-size: 1.5rem;
		line-height: 1.4;
		min-height: calc(3rem + (1.5rem * 1.4 * 4));
	}

	.testimonial-text blockquote::before {
		font-size: 3rem;
	}

	.testimonial-author h3 {
		font-size: 1.3rem;
	}

	.testimonial-author p {
		font-size: 0.95rem;
	}

	.pagination-handle {
		width: 3.5rem;
		height: 0.45rem;
	}
}

@media (min-width: 1200px) {
	.testimonials-section {
		padding: 6rem 12rem;
	}

	.testimonials-header {
		margin-bottom: 4rem;
	}

	.testimonials-header h2 {
		font-size: 2rem;
		line-height: 1.2;
	}

	.testimonial-content {
		gap: 4rem;
	}

	.testimonial-image {
		width: 12.5rem;
		height: 12.5rem;
		--bloom-size: 10rem;
	}

	.testimonial-text blockquote {
		font-size: 1.8rem;
		line-height: 1.4;
		min-height: calc(4rem + (1.8rem * 1.4 * 5));
	}

	.testimonial-text blockquote::before {
		font-size: 4rem;
	}

	.testimonial-author h3 {
		font-size: 1.5rem;
	}

	.testimonial-author p {
		font-size: 1rem;
	}

	.pagination-handle {
		width: 4rem;
		height: 0.5rem;
	}
}

