/* Testimonial Slider Elementor Widget Styles */

.elementor-testimonial-slider-wrapper {
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 10px 0 20px 0;
	box-sizing: border-box;
}

.elementor-testimonial-slider-container {
	width: 100%;
	overflow: hidden;
	position: relative;
	padding: 10px 4px 30px 4px;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
}

/* Ensure Swiper wrapper layout */
.elementor-testimonial-slider-container .swiper-wrapper {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	width: 100%;
	height: 100%;
	z-index: 1;
	box-sizing: content-box;
	transition-property: transform;
	align-items: stretch;
}

/* Ensure Swiper slide layout */
.elementor-testimonial-slider-container .swiper-slide {
	flex-shrink: 0 !important;
	height: auto !important;
	display: flex !important;
	box-sizing: border-box;
	position: relative;
	transition-property: transform;
}

/* Card Styling */
.testimonial-card {
	background-color: #ffffff;
	border-radius: 12px;
	padding: 36px 32px;
	width: 100%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
}

.testimonial-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Stars Rating Header */
.testimonial-stars {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 24px;
	color: #E7BD00; /* Custom Gold Yellow Color */
}

.testimonial-stars svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
	flex-shrink: 0;
}

.testimonial-stars svg.star-empty {
	color: #E0E0E0;
	fill: currentColor;
}

/* Quote / Excerpt Description Text */
.testimonial-content {
	font-family: 'Lora', Georgia, 'Times New Roman', serif;
	font-size: 18px;
	line-height: 1.6;
	color: #333333;
	margin-bottom: 0;
	flex-grow: 1;
}

.testimonial-content p {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

/* Navigation & Pagination Controls */
.testimonial-slider-nav-prev,
.testimonial-slider-nav-next {
	width: 44px;
	height: 44px;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333333;
	cursor: pointer;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	transition: all 0.25s ease;
	user-select: none;
}

.testimonial-slider-nav-prev:hover,
.testimonial-slider-nav-next:hover {
	background: #1a1a1a;
	color: #ffffff;
	transform: translateY(-50%) scale(1.08);
}

.testimonial-slider-nav-prev {
	left: -22px;
}

.testimonial-slider-nav-next {
	right: -22px;
}

.testimonial-slider-pagination {
	position: relative;
	margin-top: 24px;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 10;
}

.testimonial-slider-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: #ccc;
	opacity: 0.6;
	border-radius: 50%;
	transition: all 0.3s ease;
	cursor: pointer;
	display: inline-block;
}

.testimonial-slider-pagination .swiper-pagination-bullet-active {
	background: #E7BD00;
	opacity: 1;
	width: 24px;
	border-radius: 12px;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
	.testimonial-card {
		padding: 28px 24px;
	}
	.testimonial-content {
		font-size: 16px;
	}
	.testimonial-slider-nav-prev {
		left: 4px;
	}
	.testimonial-slider-nav-next {
		right: 4px;
	}
}

@media screen and (max-width: 767px) {
	.testimonial-card {
		padding: 24px 20px;
	}
	.testimonial-stars svg {
		width: 20px;
		height: 20px;
	}
	.testimonial-content {
		font-size: 15px;
	}
}
