/*!
 * Gupta Testimonial Slider — Frontend Stylesheet
 * These are fallback defaults only, overridden by Elementor's generated
 * inline CSS once a Style control is touched.
 */

.gts-testimonials, .gts-testimonials * { box-sizing: border-box; }

.gts-testimonials {
	padding: 100px 40px;
	background: linear-gradient(160deg, #14261a 0%, #0a1e14 100%);
	color: #fff;
	text-align: center;
	position: relative;
}

.gts-highlight { color: #a3d977; }

.gts-testimonials__eyebrow { color: #a3d977; font-weight: 700; letter-spacing: .12em; font-size: 13px; }
.gts-testimonials__heading { font-size: 32px; margin: 14px 0 50px; }

.gts-slider { position: relative; max-width: 750px; margin: 0 auto; }

/* Track: flex row. Actual pixel width + transform position are set by JS
   (measured from the real rendered container width) so this can never drift
   out of sync — these CSS rules are just safe fallbacks/first-paint values. */
.gts-track {
	display: flex;
	flex-wrap: nowrap;
	overflow: hidden;
	width: 100%;
	transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
	will-change: transform;
}

/* Each slide: JS locks this to an exact pixel width matching the slider's
   measured container width. flex: 0 0 auto + min-width: 0 here just prevents
   any theme/global flexbox rule from fighting that inline width. */
.gts-card {
	flex: 0 0 auto;
	min-width: 0;
	box-sizing: border-box;
	padding: 46px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.05);
}
.gts-card.has-glass { backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); }

.gts-card__quote-icon { font-size: 28px; color: rgba(255, 255, 255, 0.2); display: block; margin-bottom: 16px; }
.gts-card__rating { color: #f4b400; margin-bottom: 18px; font-size: 14px; }
.gts-card__rating .is-empty { opacity: .3; }
.gts-card__review { font-size: 19px; line-height: 1.6; margin: 0 0 28px; }
.gts-card__client { display: flex; align-items: center; justify-content: center; gap: 14px; }
.gts-card__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.gts-card__client div { text-align: left; }
.gts-card__name { display: block; font-weight: 600; }
.gts-card__designation { font-size: 13px; color: rgba(255, 255, 255, 0.6); }

.gts-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: #fff;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: background-color .2s ease;
}
.gts-nav:hover { background: rgba(255, 255, 255, 0.25); }
.gts-nav--prev { left: -60px; }
.gts-nav--next { right: -60px; }
.gts-nav:disabled { opacity: .3; cursor: not-allowed; }

.gts-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.gts-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background-color .2s ease, transform .2s ease;
}
.gts-dot.is-active { background: #a3d977; transform: scale(1.2); }

@media (prefers-reduced-motion: reduce) {
	.gts-track { transition: none; }
}

@media (max-width: 900px) {
	.gts-nav--prev { left: 0; }
	.gts-nav--next { right: 0; }
}

@media (max-width: 600px) {
	.gts-testimonials { padding: 60px 20px; }
	.gts-card { padding: 30px 24px; }
	.gts-card__review { font-size: 16px; }
}
