/* i am Eiva — Testimonials Slider */

.eiva-tms {
	--eiva-tms-radius: 18px;
	--eiva-tms-curve: 90px;

	position: relative;
	width: 100%;
	font-family: "Plus Jakarta Sans", sans-serif;
	padding-bottom: 8px;
}

.eiva-tms__swiper {
	overflow: hidden;
	padding: 8px 4px 16px;
}

.eiva-tms__card {
	position: relative;
	background: #fff;
	text-align: center;
	padding: 40px 36px 36px;
	box-shadow: none;
	height: 100%;
	border-radius: var(--eiva-tms-radius);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eiva-tms__card.is-curve-right {
	border-top-right-radius: var(--eiva-tms-curve);
}

.eiva-tms__card.is-curve-left {
	border-top-left-radius: var(--eiva-tms-curve);
}

.eiva-tms__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 42px rgba(20, 40, 50, 0.1);
}

.eiva-tms__avatar-wrap {
	position: relative;
	display: inline-block;
	margin: 0 auto 18px;
}

.eiva-tms__avatar {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 50% !important;
	object-fit: cover;
	object-position: center;
	background: #eef3f6;
	overflow: hidden;
}

.eiva-tms__avatar--placeholder {
	background: linear-gradient(135deg, #e8eef2, #d5dee3);
}

.eiva-tms__badge {
	position: absolute;
	right: -2px;
	bottom: 2px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f0a45a;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 4px 10px rgba(240, 164, 90, 0.35);
}

.eiva-tms__badge svg {
	display: block;
}

.eiva-tms__name {
	margin: 0 0 6px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1a2b32;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.eiva-tms__role {
	margin: 0 0 20px;
	font-size: 0.92rem;
	font-weight: 500;
	color: #9aa6ad;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.eiva-tms__text {
	margin: 0 0 22px;
	font-size: 0.98rem;
	line-height: 1.75;
	color: #4a5a62;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.eiva-tms__stars {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	font-size: 18px;
	line-height: 1;
}

.eiva-tms__star {
	color: #eecb68;
}

.eiva-tms__star.is-empty {
	color: #e5e9ec;
}

/* Pagination */
.eiva-tms__pagination {
	position: static !important;
	margin-top: 22px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.eiva-tms__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 !important;
	background: #d5dee3;
	opacity: 1;
	transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}

.eiva-tms__pagination .swiper-pagination-bullet-active {
	width: 22px;
	border-radius: 999px;
	background: #18a7c9;
}

/* Nav arrows */
.eiva-tms__nav {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	z-index: 5;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #1a2b32;
	box-shadow: 0 8px 22px rgba(20, 40, 50, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eiva-tms__nav:hover {
	transform: translateY(-50%) scale(1.05);
	box-shadow: 0 10px 26px rgba(20, 40, 50, 0.16);
}

.eiva-tms__nav--prev {
	left: -8px;
}

.eiva-tms__nav--next {
	right: -8px;
}

@media (max-width: 1024px) {
	.eiva-tms__nav--prev {
		left: 0;
	}

	.eiva-tms__nav--next {
		right: 0;
	}
}

@media (max-width: 767px) {
	.eiva-tms__card {
		padding: 32px 22px 28px;
	}

	.eiva-tms__card.is-curve-right,
	.eiva-tms__card.is-curve-left {
		border-top-left-radius: var(--eiva-tms-curve);
		border-top-right-radius: var(--eiva-tms-radius);
	}

	.eiva-tms__nav {
		display: none;
	}
}
