/**
 * Testimonials section — main green styling (Elementor e51a666 + e5589fd).
 * Trustindex carousel behaviour unchanged.
 */

.elementor-element-e51a666,
.elementor-element-e5589fd {
	background-color: var(--etqan-color-sage, #3f5b2d) !important;
	font-family: "Cairo", sans-serif;
	direction: rtl;
}

.elementor-element-e51a666 {
	padding-top: clamp(4rem, 7vw, 6.5rem) !important;
	padding-bottom: 0 !important;
}

.elementor-element-e51a666 .elementor-shape-top {
	display: none !important;
}

.elementor-element-e51a666 > .elementor-container {
	max-width: min(1200px, 92%);
}

.elementor-element-e51a666 .elementor-element-fbb5adb .elementor-widget-container {
	margin-bottom: 14px;
	text-align: center;
}

.elementor-element-e51a666 .elementor-element-fbb5adb .elementor-heading-title {
	font-family: "Cairo", sans-serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: var(--etqan-color-accent, #c8a96e) !important;
	margin: 0 !important;
}

.elementor-element-e51a666 .elementor-element-b31303f .elementor-heading-title {
	font-family: "Cairo", sans-serif !important;
	font-size: clamp(1.85rem, 3.8vw, 2.75rem) !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: #ffffff !important;
	margin: 0 !important;
	text-align: center;
	border-bottom: none !important;
}

.elementor-element-e51a666 .elementor-element-b31303f .elementor-widget-container::after {
	content: "";
	display: block;
	width: min(720px, 90%);
	height: clamp(7px, 1vw, 12px);
	margin: clamp(18px, 3vw, 26px) auto clamp(6px, 1.5vw, 12px);
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--etqan-color-accent, #c8a96e) 10%,
		var(--etqan-color-accent-light, #d4b97e) 50%,
		var(--etqan-color-accent, #c8a96e) 90%,
		transparent 100%
	);
}

.elementor-element-e51a666 .elementor-element-da6b195 .elementor-heading-title {
	font-family: "Cairo", sans-serif !important;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem) !important;
	font-weight: 400 !important;
	line-height: 2 !important;
	color: rgba(255, 255, 255, 0.78) !important;
	max-width: 820px;
	margin: 0 auto !important;
	text-align: center;
}

.elementor-element-e51a666 .elementor-element-b31303f .elementor-widget-container,
.elementor-element-e51a666 .elementor-element-da6b195 .elementor-widget-container {
	text-align: center;
}

/* Reviews block — green shell */
.elementor-element-e5589fd {
	padding-top: clamp(1.75rem, 3vw, 2.75rem) !important;
	padding-bottom: clamp(3.5rem, 6vw, 5.5rem) !important;
}

.elementor-element-e5589fd > .elementor-container {
	max-width: min(1100px, 92%);
}

/* Inner cream card */
.elementor-element-e5589fd .elementor-element-a7edbf8 > .elementor-widget-wrap {
	position: relative;
	background-color: #f8f5ef !important;
	border: 1px solid rgba(200, 169, 110, 0.42);
	border-radius: 16px;
	box-shadow:
		0 20px 50px rgba(0, 0, 0, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.65);
	padding: clamp(2rem, 4vw, 3rem) clamp(3.25rem, 7vw, 5.25rem);
	overflow: visible;
}

.elementor-element-e5589fd .elementor-element-a7edbf8 > .elementor-widget-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: clamp(8px, 1.1vw, 14px);
	border-radius: 16px 16px 0 0;
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--etqan-color-accent, #c8a96e) 18%,
		var(--etqan-color-accent-light, #d4b97e) 50%,
		var(--etqan-color-accent, #c8a96e) 82%,
		transparent 100%
	);
	pointer-events: none;
}

.elementor-element-e5589fd .elementor-element-bba84c3 .elementor-widget-container {
	padding: 0;
}

/* Trustindex — typography & spacing only */
.elementor-element-e5589fd .ti-widget.ti-goog .ti-widget-container,
.elementor-element-e5589fd .ti-widget.ti-goog .ti-widget-container * {
	font-family: "Cairo", sans-serif !important;
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-reviews-container-wrapper {
	padding-top: 56px;
	padding-bottom: 8px;
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-review-header .ti-profile-img img {
	box-shadow:
		0 0 0 3px #ffffff,
		0 0 0 6px var(--etqan-color-accent, #c8a96e) !important;
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-name {
	color: var(--etqan-color-sage-dark, #354d26) !important;
	font-weight: 700 !important;
	font-size: 16px !important;
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-date {
	color: #7a7a7a !important;
	font-size: 13px !important;
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-review-content {
	font-size: clamp(1rem, 1.4vw, 1.125rem) !important;
	line-height: 1.85 !important;
	color: #3a3a3a !important;
	max-width: 640px;
	margin-inline: auto;
	height: auto !important;
	min-height: 72px;
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-read-more span {
	color: var(--etqan-color-sage, #3f5b2d) !important;
	opacity: 0.75;
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-read-more span:hover {
	color: var(--etqan-color-accent, #c8a96e) !important;
	opacity: 1;
}

/* Footer rating — readable on cream card */
.elementor-element-e5589fd .ti-widget.ti-goog .ti-footer {
	margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
	padding-top: clamp(1rem, 2vw, 1.25rem);
	border-top: 1px solid rgba(200, 169, 110, 0.35);
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-footer .ti-rating-text,
.elementor-element-e5589fd .ti-widget.ti-goog .ti-footer .ti-rating-text span {
	color: var(--etqan-color-sage-dark, #354d26) !important;
	font-size: 14px !important;
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-footer .ti-rating-text strong {
	color: var(--etqan-color-accent, #c8a96e) !important;
}

/* Nav arrows — gold accent, swipe untouched */
.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-next,
.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-prev {
	background-color: #ffffff !important;
	outline: 2px solid var(--etqan-color-accent, #c8a96e) !important;
	box-shadow: 0 4px 14px rgba(63, 91, 45, 0.12);
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-next::before,
.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-prev::before {
	border-color: var(--etqan-color-sage, #3f5b2d) !important;
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-next:hover,
.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-next:focus,
.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-prev:hover,
.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-prev:focus {
	background-color: var(--etqan-color-accent, #c8a96e) !important;
	outline-color: var(--etqan-color-accent, #c8a96e) !important;
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-next:hover::before,
.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-next:focus::before,
.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-prev:hover::before,
.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls .ti-prev:focus::before {
	border-color: #ffffff !important;
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls-line {
	background: rgba(200, 169, 110, 0.35);
}

.elementor-element-e5589fd .ti-widget.ti-goog .ti-controls-line .dot {
	background: var(--etqan-color-accent, #c8a96e);
}

@media (max-width: 767px) {
	.elementor-element-e51a666 .elementor-element-b31303f .elementor-heading-title {
		font-size: clamp(1.5rem, 6vw, 1.85rem) !important;
	}

	.elementor-element-e51a666 .elementor-element-da6b195 .elementor-heading-title {
		font-size: 1rem !important;
		line-height: 1.9 !important;
	}

	.elementor-element-e5589fd .elementor-element-a7edbf8 > .elementor-widget-wrap {
		padding: 1.75rem 1.25rem 2rem;
		border-radius: 12px;
	}

	.elementor-element-e5589fd .ti-widget.ti-goog .ti-reviews-container-wrapper {
		padding-top: 48px;
	}
}
