.testimonials-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	gap: 60px;
}

.testimonials-section-up {
	display: flex;
	flex-direction: row;
	gap: 20px;
	justify-content: space-between;
	position: relative;
	align-items: center;
}

.testimonials-section-up h2 {
	font-size: 40px;
	position: relative;
}

.testimonials-section-up h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 4px;
	background-color: var(--secondary-color);
}

.testimonials-section-down {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center; 
}

.carousel-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	overflow: hidden;
}

.carousel-wrapper {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	height: 100%;
	justify-content: flex-start;
}

.review-card {
	min-width: 350px;
	max-width: 350px;
	margin: 0 15px;
	background: var(--background-color);
	border-radius: 10px;
	padding: 30px;
	transition: opacity 0.5s ease, transform 0.5s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	overflow: hidden;
}

.review-card.side {
	opacity: 0.4 !important;
}

.review-card.center {
	opacity: 1;
}

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

.review-date {
	color: var(--tertiary-text-color);
	font-size: 14px;
}

.stars {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;
}

.star {
	color: var(--primary-color);
	font-size: 16px;
}

.review-text {
	color: var(--secondary-text-color);
	line-height: 26px;
	margin-bottom: 25px;
	font-size: 16px;
	flex-grow: 1;
}

.reviewer-info {
	padding-top: 20px;
}

.reviewer-name {
	color: var(--primary-color);
	margin-bottom: 5px;
	font-size: 24px;
}

.reviewer-location {
	color: var(--secondary-color);
	font-size: 16px;
}

.carousel-controls {
	display: flex;
	flex-direction: row;
	gap: 20px;
	z-index: 10;
}

.control-btn {
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid var(--primary-color);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
}

.control-btn:hover {
	background: var(--accent-color);
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.control-btn:active {
	transform: scale(0.95);
}

.arrow {
	background: url('/public/index/TestimoniesArrowIcon.svg');
}

.prev-btn .arrow {
	transform: rotate(180deg);
	width: 24px;
	height: 24px;
}

.next-btn .arrow {
	width: 24px;
	height: 24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 8px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.carousel-dots .dot.active {
    background-color: #000;
}

@media (max-width: 767px) {
	.review-card {
		min-width: 300px;
		max-width: 300px;
		margin: 0 10px;
		padding: 20px;
	}

	.prev-btn {
		left: -60px;
	}

	.next-btn {
		right: -60px;
	}

	.control-btn {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 425px) {
	.testimonials-section-up {
		flex-direction: column;
		gap: 40px;
	}
}

@media (max-width: 350px) {
	.testimonials-section-up h2 {
		font-size: 32px;
	}
}