/*======================================================================
  TESTIMONIALS PAGE STYLES
======================================================================*/

.testimonials-page {
	background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 38%, #f4f8ff 100%);
	color: var(--text-dark);
}

.testimonials-hero {
	position: relative;
	overflow: hidden;
	padding: 6.5rem 1.5rem 5rem;
	background:
		radial-gradient(circle at top right, rgba(0, 184, 212, 0.18), transparent 34%),
		linear-gradient(135deg, #0f2f66 0%, #183f85 55%, #061428 100%);
	color: var(--white);
}

.testimonials-hero::before,
.testimonials-hero::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	opacity: 0.22;
}

.testimonials-hero::before {
	top: -10rem;
	right: -4rem;
	width: 22rem;
	height: 22rem;
	background: rgba(0, 184, 212, 0.55);
	filter: blur(10px);
}

.testimonials-hero::after {
	left: -5rem;
	bottom: -7rem;
	width: 18rem;
	height: 18rem;
	background: rgba(91, 127, 219, 0.45);
	filter: blur(6px);
}

.testimonials-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 920px;
	margin: 0 auto;
	text-align: center;
}

.testimonials-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1rem;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.testimonials-hero h1 {
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.testimonials-hero-text {
	max-width: 760px;
	margin: 1.1rem auto 0;
	font-size: 1.1rem;
	line-height: 1.75;
	opacity: 0.94;
}

.testimonials-section {
	padding: 5rem 1.5rem 6rem;
}

.testimonials-shell {
	max-width: 1280px;
}

.testimonials-intro {
	max-width: 760px;
	margin: 0 auto 2rem;
	text-align: center;
}

.testimonials-intro h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	line-height: 1.15;
	color: var(--dark-navy);
}

.testimonials-intro p {
	margin: 0;
	font-size: 1.03rem;
	line-height: 1.75;
	color: var(--text-light);
}

.testimonials-filters,
.testimonials-view-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.testimonials-filters {
	margin: 2rem auto 1rem;
}

.testimonials-view-tabs {
	margin: 0 auto 2.75rem;
}

.testimonials-page .filter-btn,
.testimonials-page .view-tab-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.7rem 1.25rem;
	border-radius: 999px;
	border: 1px solid rgba(24, 63, 133, 0.18);
	background: rgba(255, 255, 255, 0.9);
	color: var(--dark-navy);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 12px 30px rgba(15, 47, 102, 0.06);
}

.testimonials-page .filter-btn:hover,
.testimonials-page .view-tab-btn:hover {
	transform: translateY(-1px);
	background: #ffffff;
	box-shadow: 0 16px 36px rgba(15, 47, 102, 0.1);
}

.testimonials-page .filter-btn.active,
.testimonials-page .view-tab-btn.active {
	background: linear-gradient(135deg, var(--primary-blue) 0%, #0d7dbe 100%);
	color: var(--white);
	border-color: transparent;
	box-shadow: 0 16px 30px rgba(24, 63, 133, 0.24);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.testimonial-card {
	overflow: hidden;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 18px 45px rgba(15, 47, 102, 0.08);
	border: 1px solid rgba(91, 127, 219, 0.12);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 55px rgba(15, 47, 102, 0.14);
}

.testimonial-card.hidden-item {
	display: none !important;
}

.testimonial-media,
.testimonial-video-trigger {
	display: block;
	width: 100%;
	border: 0;
	padding: 0;
	background: transparent;
	text-align: left;
}

.testimonial-media img,
.testimonial-video-trigger img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
}

.testimonial-video-trigger {
	position: relative;
	cursor: pointer;
}

.testimonial-video-trigger::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 18, 34, 0.06) 0%, rgba(7, 18, 34, 0.42) 100%);
}

.testimonial-video-placeholder {
	display: grid;
	place-items: center;
	min-height: 280px;
	background: linear-gradient(135deg, #183f85 0%, #0f2f66 100%);
	color: var(--white);
	font-size: 1rem;
	font-weight: 700;
}

.testimonial-play-badge {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--dark-navy);
	font-size: 0.85rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.testimonial-card-body {
	padding: 1.4rem 1.35rem 1.5rem;
}

.testimonial-card-head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1rem;
}

.testimonial-avatar {
	display: grid;
	place-items: center;
	flex: 0 0 3rem;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
	color: var(--white);
	font-size: 1rem;
	font-weight: 800;
	box-shadow: 0 8px 18px rgba(24, 63, 133, 0.18);
}

.testimonial-card-head h3 {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.3;
	color: var(--dark-navy);
}

.testimonial-card-head p {
	margin: 0.2rem 0 0;
	font-size: 0.92rem;
	color: var(--text-light);
}

.testimonial-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.testimonial-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.testimonial-badge-type {
	background: rgba(24, 63, 133, 0.08);
	color: var(--primary-blue);
}

.testimonial-badge-country {
	background: rgba(0, 184, 212, 0.12);
	color: #0b7892;
}

.testimonial-meta {
	margin: 0 0 0.7rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--text-light);
}

.testimonial-quote {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.8;
	color: #3a4761;
}

.testimonial-rating {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(15, 47, 102, 0.08);
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--dark-navy);
}

.testimonials-empty {
	margin: 2rem auto 0;
	max-width: 760px;
	padding: 1.4rem 1.6rem;
	border-radius: 20px;
	background: rgba(24, 63, 133, 0.06);
	border: 1px dashed rgba(24, 63, 133, 0.2);
	text-align: center;
	color: var(--text-light);
}

.view-more-container {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}

.testimonials-page .view-more-btn {
	min-width: 220px;
	padding: 0.95rem 1.5rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
	color: var(--white);
	font-size: 1rem;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 18px 32px rgba(24, 63, 133, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonials-page .view-more-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 24px 38px rgba(24, 63, 133, 0.28);
}

.testimonial-video-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	padding: 1.25rem;
	background: rgba(5, 11, 22, 0.86);
	backdrop-filter: blur(10px);
}

.testimonial-video-modal.active {
	display: grid;
	place-items: center;
}

.testimonial-video-modal-content {
	position: relative;
	width: min(100%, 980px);
	padding: 1rem;
	border-radius: 24px;
	background: #08111f;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.testimonial-video-modal-close {
	position: absolute;
	top: 0.2rem;
	right: 0.75rem;
	z-index: 2;
	border: 0;
	background: transparent;
	color: var(--white);
	font-size: 2.4rem;
	line-height: 1;
	cursor: pointer;
}

.testimonial-video-frame-wrap {
	position: relative;
	padding-top: 56.25%;
	overflow: hidden;
	border-radius: 18px;
	background: #000;
}

.testimonial-video-frame-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 1080px) {
	.testimonials-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.testimonials-hero {
		padding: 5rem 1rem 4rem;
	}

	.testimonials-section {
		padding: 4rem 1rem 5rem;
	}

	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.testimonial-media img,
	.testimonial-video-trigger img,
	.testimonial-video-placeholder {
		height: 240px;
		min-height: 240px;
	}

	.testimonials-page .filter-btn,
	.testimonials-page .view-tab-btn {
		padding-inline: 1rem;
		font-size: 0.9rem;
	}

	.testimonials-page .view-more-btn {
		width: 100%;
		max-width: 320px;
	}
}

@media (max-width: 480px) {
	.testimonials-kicker {
		font-size: 0.78rem;
	}

	.testimonials-hero-text,
	.testimonials-intro p {
		font-size: 0.96rem;
	}

	.testimonial-card-body {
		padding: 1.15rem 1rem 1.2rem;
	}

	.testimonial-card-head h3 {
		font-size: 1rem;
	}
}
