/* Jovin Testimonials Carousel
   Wrapper background stays transparent — the blue lives in your Elementor container. */

.jovin-tc {
	--jtc-perview: 2;
	--jtc-gap: 26px;
	--jtc-anim: 480ms;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.jovin-tc *,
.jovin-tc *::before,
.jovin-tc *::after {
	box-sizing: border-box;
}

/* ---- Track ------------------------------------------------------------- */
.jovin-tc__viewport {
	overflow: hidden;
}

.jovin-tc__track {
	display: flex;
	gap: var(--jtc-gap);
	will-change: transform;
}

.jovin-tc__slide {
	flex: 0 0 calc((100% - (var(--jtc-gap) * (var(--jtc-perview) - 1))) / var(--jtc-perview));
	min-width: 0;
	display: flex;
}

/* ---- Card -------------------------------------------------------------- */
.jovin-tc__card {
	position: relative;
	width: 100%;
	background: #ffffff;
	border-radius: 16px;
	padding: 28px 30px;
	box-shadow: 0 14px 30px rgba(20, 48, 122, .10);
}

.jovin-tc__quote {
	position: absolute;
	top: 22px;
	right: 24px;
	color: #d3def2;
	line-height: 0;
	pointer-events: none;
}

.jovin-tc__quote svg {
	width: 44px;
	height: 44px;
	display: block;
}

.jovin-tc__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	padding-right: 48px; /* keep name clear of the quote mark */
}

.jovin-tc__avatar {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.jovin-tc__avatar--fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #1b3a8f;
	color: #fff;
	font-weight: 700;
	font-size: 17px;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.jovin-tc__name {
	margin: 0;
	color: #1b3a8f;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
}

.jovin-tc__text {
	color: #3a3f4a;
	font-size: 15px;
	line-height: 1.6;
}

/* ---- Navigation -------------------------------------------------------- */
.jovin-tc__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 26px;
}

.jovin-tc__arrow {
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
	border-radius: 50%;
	border: 1.5px solid #dfe5f1;
	background: #ffffff;
	color: #1b3a8f;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.jovin-tc__arrow:hover:not(:disabled) {
	background: #1b3a8f;
	color: #ffffff;
	border-color: #1b3a8f;
}

.jovin-tc__arrow:disabled {
	opacity: .4;
	cursor: default;
}

.jovin-tc__arrow svg {
	width: 14px;
	height: 14px;
	display: block;
}

.jovin-tc__arrow:focus-visible {
	outline: 2px solid #3f72d8;
	outline-offset: 2px;
}

.jovin-tc__dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

.jovin-tc__dot {
	width: 9px;
	height: 9px;
	border: none;
	border-radius: 50%;
	background: #c7d2ea;
	padding: 0;
	cursor: pointer;
	transition: width .25s ease, background-color .25s ease, border-radius .25s ease;
	-webkit-appearance: none;
	appearance: none;
}

.jovin-tc__dot--active {
	width: 26px;
	border-radius: 6px;
	background: #3f72d8;
}

.jovin-tc__dot:focus-visible {
	outline: 2px solid #3f72d8;
	outline-offset: 2px;
}

/* ---- Motion preference ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.jovin-tc__track {
		transition: none !important;
	}
}
