.xny-hp-certificates {
	padding: 80px 0;
	background: #f9fafb;
}

.xny-hp-certificates-header {
	text-align: center;
	margin-bottom: 50px;
}

.xny-hp-certificates-header h2 {
	font-size: 32px;
	color: #1f2933;
	margin-bottom: 12px;
	font-weight: 700;
}

.xny-hp-certificates-underline {
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #007f48 0%, #009f5e 100%);
	margin: 0 auto 20px;
}

.xny-hp-certificates-header p {
	font-size: 16px;
	color: #4a5568;
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.7;
}

.xny-hp-certificates-slider {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	overflow: hidden;
}

.xny-hp-certificates-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.xny-hp-certificates-slide {
	min-width: 20%;
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.xny-hp-certificates-slide img {
	max-width: 240px;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
}

.xny-hp-certificates-slide img:hover {
	transform: scale(1.02);
}

.xny-hp-certificates-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: linear-gradient(135deg, #007f48 0%, #005f36 100%);
	color: #ffffff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 127, 72, 0.3);
	z-index: 10;
}

.xny-hp-certificates-nav:hover {
	background: linear-gradient(135deg, #005f36 0%, #004a28 100%);
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 127, 72, 0.4);
}

.xny-hp-certificates-prev {
	left: -0px;
}

.xny-hp-certificates-next {
	right: -0px;
}

.xny-hp-certificates-dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
}

.xny-hp-certificates-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #d1d5db;
	cursor: pointer;
	transition: all 0.3s ease;
}

.xny-hp-certificates-dot:hover {
	background: #9ca3af;
}

.xny-hp-certificates-dot.active {
	background: #007f48;
	transform: scale(1.2);
}

@media (max-width: 1200px) {
	.xny-hp-certificates-slide {
		min-width: 25%;
	}
}

@media (max-width: 1024px) {
	.xny-hp-certificates {
		padding: 60px 0;
	}

	.xny-hp-certificates-slide {
		min-width: 33.333%;
	}

	.xny-hp-certificates-slide img {
		max-width: 220px;
	}

	.xny-hp-certificates-prev {
		left: 10px;
	}

	.xny-hp-certificates-next {
		right: 10px;
	}
}

@media (max-width: 768px) {
	.xny-hp-certificates-header h2 {
		font-size: 26px;
	}

	.xny-hp-certificates-slide {
		min-width: 50%;
	}

	.xny-hp-certificates-slide img {
		max-width: 220px;
	}

	.xny-hp-certificates-nav {
		width: 40px;
		height: 40px;
		font-size: 14px;
	}
}
