/* Homepage testimonials — navy premium panel */

.ph-testimonials {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 20px 90px;
	text-align: center;
	background-color: var(--ph-navy, #111d6a);
	background-image:
		radial-gradient(ellipse 50% 45% at 80% 20%, rgba(247, 127, 0, 0.2), transparent 50%),
		linear-gradient(rgba(11, 20, 72, 0.82), rgba(17, 29, 106, 0.86)),
		var(--ph-testimonials-bg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.ph-testimonials__inner {
	max-width: 820px;
}

.ph-testimonials__head h2 {
	margin: 0 0 12px;
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: clamp(28px, 3.6vw, 46px);
	font-weight: 700;
	line-height: 1.25;
}

.ph-testimonials__script {
	margin: 0 0 36px;
	color: var(--ph-accent, #f77f00);
	font-family: "Great Vibes", cursive;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.2;
}

.ph-testimonials__slider {
	position: relative;
	min-height: 220px;
}

.ph-testimonial {
	display: none;
}

.ph-testimonial.is-active {
	display: block;
	animation: ph-testimonial-in 0.45s ease;
}

@keyframes ph-testimonial-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ph-testimonial__quote {
	margin: 0 0 28px;
}

.ph-testimonial__quote p {
	margin: 0;
	color: rgba(255, 255, 255, 0.94);
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.85;
}

.ph-testimonial__author {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.ph-testimonial__avatar {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 3px solid var(--ph-accent, #f77f00);
	background-color: #1f4e79;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.ph-testimonial__name {
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 18px;
	font-weight: 700;
}

.ph-testimonials__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
}

.ph-testimonials__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
}

.ph-testimonials__dot.is-active,
.ph-testimonials__dot:hover {
	background: var(--ph-accent, #f77f00);
}

@media (max-width: 767px) {
	.ph-testimonials {
		min-height: 0;
		padding: 72px 18px 64px;
	}

	.ph-testimonials__slider {
		min-height: 0;
	}

	.ph-testimonial__quote p {
		font-size: 15px;
	}
}
