/* Crosswoods Testimonials Widget Styles */

.cw-testi-wrapper {
	padding: 60px 20px;
	box-sizing: border-box;
}

.cw-testi-container {
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* ---------- Header ---------- */
.cw-testi-header {
	text-align: center;
	margin-bottom: 40px;
}

.cw-testi-top-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.cw-testi-top-divider span {
	display: inline-block;
	width: 60px;
	height: 1px;
	background: #d79a2c;
	position: relative;
}

.cw-testi-top-divider span::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 6px;
	height: 6px;
	background: #d79a2c;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.cw-testi-heading {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 14px;
	color: #182b52;
}

.cw-testi-highlight {
	color: #d79a2c;
}

.cw-testi-subtitle {
	font-size: 16px;
	line-height: 1.6;
	color: #5b6478;
	max-width: 640px;
	margin: 0 auto;
}

/* ---------- Carousel shell ---------- */
.cw-testi-carousel {
	position: relative;
}

.cw-testi-viewport {
	overflow: hidden;
}

.cw-testi-track {
	display: flex;
	gap: 24px;
	transition: transform 0.45s ease;
}

.cw-testi-slide {
	flex: 0 0 calc((100% - (24px * 2)) / 3);
	max-width: calc((100% - (24px * 2)) / 3);
	box-sizing: border-box;
	display: flex;
}

/* ---------- Card ---------- */
.cw-testi-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 40px 30px 34px;
	width: 100%;
	box-sizing: border-box;
	position: relative;
	text-align: center;
	box-shadow: 0 10px 30px rgba(20, 30, 70, 0.08);
}

.cw-testi-quote-icon {
	position: absolute;
	top: 18px;
	left: 22px;
	font-size: 46px;
	line-height: 1;
	color: #e7cf9c;
	font-family: Georgia, 'Times New Roman', serif;
}

.cw-testi-avatar-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 14px;
}

.cw-testi-avatar {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #d79a2c;
	box-sizing: border-box;
}

.cw-testi-stars {
	color: #d79a2c;
	font-size: 18px;
	letter-spacing: 3px;
	margin-bottom: 16px;
}

.cw-testi-content {
	font-size: 15.5px;
	line-height: 1.75;
	color: #333c4d;
	margin-bottom: 20px;
	text-align: center;
}

.cw-testi-content strong,
.cw-testi-content b {
	color: #2255cc;
	font-weight: 700;
}

.cw-testi-divider {
	width: 46px;
	height: 2px;
	background: #d79a2c;
	margin: 0 auto 16px;
}

.cw-testi-name {
	font-size: 18px;
	font-weight: 700;
	color: #182b52;
	margin-bottom: 4px;
}

.cw-testi-designation {
	font-size: 14px;
	color: #6b7280;
	margin-bottom: 18px;
}

.cw-testi-location {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #eef1f8;
	color: #182b52;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 30px;
}

/* ---------- Arrows ---------- */
.cw-testi-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #182b52;
	color: #ffffff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 5;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.cw-testi-arrow:hover {
	background: #d79a2c;
}

.cw-testi-arrow-prev {
	left: -23px;
}

.cw-testi-arrow-next {
	right: -23px;
}

/* ---------- Dots (mobile fallback) ---------- */
.cw-testi-dots {
	display: none;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}

.cw-testi-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d9dce4;
	cursor: pointer;
}

.cw-testi-dots span.active {
	background: #d79a2c;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.cw-testi-slide {
		flex: 0 0 calc((100% - 24px) / 2);
		max-width: calc((100% - 24px) / 2);
	}

	.cw-testi-arrow-prev { left: 0; }
	.cw-testi-arrow-next { right: 0; }
}

@media (max-width: 680px) {
	.cw-testi-heading {
		font-size: 28px;
	}

	.cw-testi-slide {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.cw-testi-arrow {
		width: 38px;
		height: 38px;
	}

	.cw-testi-dots {
		display: flex;
	}
}
