/* =========================================================
   NPN Service Detail Template
========================================================= */
body.npn_capability-template-default  {
	overflow: unset !important;
}
.npn-service-template {
	background:
		radial-gradient(circle at 12% 8%, rgba(8, 213, 255, 0.14), transparent 28%),
		radial-gradient(circle at 92% 18%, rgba(0, 255, 204, 0.1), transparent 26%),
		linear-gradient(180deg, #061021 0%, #030815 100%);
	color: #eef6ff;
	font-family: 'Manrope-Re', Arial, sans-serif;
	overflow-x: hidden;
}

.npn-service-screen {
	position: relative;
	padding: 40px 0 60px;
	overflow: hidden;
}

.npn-service-bg-glow {
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
	filter: blur(6px);
}
.npn-service-tabs-wrap .npn-service-tabs-swiper {
	padding: 40px 0;
}
.npn-service-bg-glow-1 {
	width: 420px;
	height: 420px;
	left: -160px;
	top: 100px;
	background: radial-gradient(circle, rgba(8, 213, 255, 0.17), transparent 64%);
}

.npn-service-bg-glow-2 {
	width: 520px;
	height: 520px;
	right: -210px;
	bottom: -140px;
	background: radial-gradient(circle, rgba(0, 255, 204, 0.12), transparent 66%);
}

.npn-service-shell {
	position: relative;
	z-index: 2;
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

/* Tabs */

.npn-service-tabs-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
}

.npn-service-tabs-scroll {
	flex: 1;
	overflow: hidden;
	padding: 8px 2px;
}

.npn-service-tabs {
	display: flex;
	gap: 26px;
	transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: transform;
}

.npn-service-tab {
	position: relative;
	overflow: hidden;
	flex: 0 0 170px;
	min-height: 150px;
	border-radius: 14px;
	background:
		radial-gradient(circle at 50% 0%, rgba(8, 213, 255, 0.14), transparent 58%),
		linear-gradient(180deg, rgba(32, 58, 112, 0.88), rgba(12, 25, 55, 0.9));
	border: 1px solid rgba(103, 232, 249, 0.16);
	color: #eaf7ff;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	text-align: center;
	box-shadow:
		0 18px 46px rgba(0, 0, 0, 0.28),
		inset 0 0 0 1px rgba(255, 255, 255, 0.04),
		inset 0 1px 18px rgba(103, 232, 249, 0.05);
	transform: translateY(0) scale(1);
	transition:
		transform 0.28s ease,
		box-shadow 0.28s ease,
		border-color 0.28s ease,
		background 0.28s ease,
		color 0.28s ease;
}

.npn-service-tab::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	background:
		linear-gradient(
			135deg,
			rgba(103, 232, 249, 0),
			rgba(103, 232, 249, 0.65),
			rgba(72, 121, 255, 0.35),
			rgba(103, 232, 249, 0)
		);
	opacity: 0;
	z-index: 0;
	transition: opacity 0.28s ease;
}

.npn-service-tab::after {
	content: "";
	position: absolute;
	top: -80%;
	left: -70%;
	width: 55%;
	height: 240%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.22),
		transparent
	);
	transform: rotate(24deg) translateX(-120%);
	opacity: 0;
	z-index: 1;
	pointer-events: none;
}

.npn-service-tab > * {
	position: relative;
	z-index: 2;
}

.npn-service-tab:hover,
.npn-service-tab.is-active {
	color: #ffffff;
	border-color: rgba(127, 235, 255, 0.9);
	background:
		radial-gradient(circle at 50% 0%, rgba(8, 213, 255, 0.36), transparent 62%),
		linear-gradient(180deg, rgba(37, 77, 146, 0.98), rgba(13, 31, 72, 0.98));
}

.npn-service-tab:hover::before,
.npn-service-tab.is-active::before {
	opacity: 1;
}

.npn-service-tab:hover::after {
	opacity: 1;
	animation: npnTabShine 0.85s ease forwards;
}

.npn-service-tab.is-active::after {
	opacity: 0.75;
	animation: npnTabShine 1.2s ease forwards;
}

@keyframes npnTabShine {
	0% {
		transform: rotate(24deg) translateX(-140%);
	}

	100% {
		transform: rotate(24deg) translateX(420%);
	}
}
.npn-service-tab-icon {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #26e7da;
	filter: drop-shadow(0 0 12px rgba(38, 231, 218, 0.5));
}

.npn-service-tab img,
.npn-service-tab svg,
.npn-service-tab i {
	position: relative;
	z-index: 2;
	filter: drop-shadow(0 0 0 rgba(8, 213, 255, 0));
	transition:
		transform 0.28s ease,
		filter 0.28s ease;
}

.npn-service-tab:hover img,
.npn-service-tab:hover svg,
.npn-service-tab:hover i,
.npn-service-tab.is-active img,
.npn-service-tab.is-active svg,
.npn-service-tab.is-active i {
	transform: translateY(-2px) scale(1.08);
	filter:
		drop-shadow(0 0 10px rgba(8, 213, 255, 0.75))
		drop-shadow(0 0 20px rgba(8, 213, 255, 0.35));
}

.npn-service-tab-icon svg {
	width: 30px;
	height: 30px;
}

.npn-service-tab strong {
	font-size: 16px;
	line-height: 1.25;
	font-weight: 900;
	color: #eaf6ff;
}

.npn-service-tab-nav {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	border: 1px solid rgba(103, 232, 249, 0.45);
	background: rgba(8, 213, 255, 0.85);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow:
		0 0 18px rgba(8, 213, 255, 0.48),
		0 12px 28px rgba(0, 0, 0, 0.26);
	transition: 0.22s ease;
}

.npn-service-tab-nav:hover {
	transform: translateY(-2px) scale(1.05);
	background: rgba(38, 231, 218, 0.95);
	box-shadow:
		0 0 30px rgba(38, 231, 218, 0.62),
		0 14px 32px rgba(0, 0, 0, 0.3);
}

.npn-service-tab-nav svg {
	width: 22px;
	height: 22px;
}

/* Panels */

.npn-service-panels {
	position: relative;
}

.npn-service-panel {
	display: none;
	grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
	gap: 46px;
	align-items: center;
}

.npn-service-panel.is-active {
	display: grid;
}

.npn-service-copy {
	min-width: 0;
}

.npn-service-kicker {
	display: block;
	color: #8eabd2;
	font-size: 15px;
	font-weight: 800;
	margin-bottom: 24px;
}

.npn-service-copy h1 {
	margin: 0 0 18px;
	font-size: clamp(36px, 4.8vw, 64px);
	line-height: 1.03;
	letter-spacing: -0.055em;
	font-family: 'Manrope-Extra', Arial, sans-serif;
	background: linear-gradient(90deg, #ffffff, #7ef3ff, #4aa8ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 24px rgba(8, 213, 255, 0.16);
}

.npn-service-excerpt {
	color: #cfe0f6;
	font-size: 16px;
	line-height: 1.7;
	margin: 0 0 18px;
}

.npn-service-content {
	max-height: 170px;
	overflow: hidden;
	color: #a9bfdc;
	font-size: 15px;
	line-height: 1.68;
	margin-bottom: 28px;
}

.npn-service-content p {
	margin: 0 0 12px;
}

.npn-service-content h2,
.npn-service-content h3,
.npn-service-content h4 {
	font-size: 19px;
	margin: 14px 0 8px;
	color: #ffffff;
}

.npn-service-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.npn-service-discover {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 62px;
	padding: 0 34px;
	border-radius: 999px;
	background:
		linear-gradient(135deg, #18fff0 0%, #13c9ee 42%, #4b8dff 100%);
	color: #ffffff;
	text-decoration: none;
	font-weight: 950;
	font-size: 16px;
	letter-spacing: -0.02em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	border: 1px solid rgba(166, 252, 255, 0.72);
	box-shadow:
		0 0 0 6px rgba(18, 216, 208, 0.08),
		0 0 26px rgba(18, 216, 208, 0.72),
		0 0 62px rgba(8, 213, 255, 0.36),
		0 22px 44px rgba(0, 0, 0, 0.42),
		inset 0 1px 0 rgba(255, 255, 255, 0.42),
		inset 0 -10px 22px rgba(17, 74, 180, 0.28);
	transform: translateY(0);
	transition:
		transform 0.24s ease,
		box-shadow 0.24s ease,
		background 0.24s ease,
		border-color 0.24s ease;
}

.npn-service-discover::before {
	content: "";
	position: absolute;
	inset: -2px;
	z-index: -2;
	border-radius: inherit;
	background:
		linear-gradient(
			135deg,
			rgba(126, 243, 255, 1),
			rgba(18, 216, 208, 0.18),
			rgba(75, 141, 255, 1),
			rgba(126, 243, 255, 1)
		);
	background-size: 260% 260%;
	opacity: 0.92;
	filter: blur(0.5px);
	animation: npnDiscoverBorderGlow 3.2s ease-in-out infinite;
}

.npn-service-discover::after {
	content: "";
	position: absolute;
	top: -70%;
	left: -75%;
	z-index: 1;
	width: 42%;
	height: 240%;
	background:
		linear-gradient(
			90deg,
			transparent,
			rgba(255, 255, 255, 0.08),
			rgba(255, 255, 255, 0.58),
			rgba(126, 243, 255, 0.32),
			transparent
		);
	transform: skewX(-18deg);
	opacity: 0.95;
	pointer-events: none;
	animation: npnDiscoverShine 2.8s ease-in-out infinite;
}

.npn-service-discover span,
.npn-service-discover svg {
	position: relative;
	z-index: 2;
}

.npn-service-discover span {
	text-shadow:
		0 1px 0 rgba(0, 0, 0, 0.12),
		0 0 12px rgba(255, 255, 255, 0.28);
}

.npn-service-discover svg {
	width: 21px;
	height: 21px;
	filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
	transition: transform 0.24s ease;
}

.npn-service-discover:hover {
	transform: translateY(-5px) scale(1.035);
	border-color: rgba(255, 255, 255, 0.95);
	background:
		linear-gradient(135deg, #24fff3 0%, #18dcff 42%, #6d9cff 100%);
	box-shadow:
		0 0 0 9px rgba(18, 216, 208, 0.12),
		0 0 38px rgba(18, 216, 208, 0.95),
		0 0 86px rgba(8, 213, 255, 0.52),
		0 28px 56px rgba(0, 0, 0, 0.48),
		inset 0 1px 0 rgba(255, 255, 255, 0.55),
		inset 0 -12px 26px rgba(17, 74, 180, 0.24);
}

.npn-service-discover:hover svg {
	transform: translateX(6px);
}

.npn-service-discover:active {
	transform: translateY(-2px) scale(0.99);
}

@keyframes npnDiscoverShine {
	0% {
		left: -80%;
		opacity: 0;
	}

	16% {
		opacity: 1;
	}

	42% {
		left: 138%;
		opacity: 0;
	}

	100% {
		left: 138%;
		opacity: 0;
	}
}

@keyframes npnDiscoverBorderGlow {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

.npn-service-discover svg {
	width: 20px;
	height: 20px;
}

.npn-service-point-badge {
	min-height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(82, 216, 255, 0.25);
	background: rgba(82, 216, 255, 0.08);
	color: #bcecff;
	font-weight: 900;
}

/* Slider */

.npn-service-slider-box {
	min-width: 0;
	box-shadow: 0 0 0 1px rgba(126, 243, 255, 0.22), 0 0 34px rgba(82, 216, 255, 0.58), 0 0 68px rgba(8, 213, 255, 0.32), 0 22px 46px rgba(0, 0, 0, 0.34);	
	border-radius: 20px;
}

.npn-service-detail-swiper {
	position: relative;
	width: 100%;
	aspect-ratio: 1.58 / 1;
	border-radius: 20px;
	overflow: hidden;
	background: rgba(14, 127, 135, 0.82);
	box-shadow:
		0 0 40px rgba(8, 213, 255, 0.18),
		0 26px 68px rgba(0, 0, 0, 0.28);
}

.npn-service-detail-slide {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.npn-service-detail-slide img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	filter: saturate(1.08) contrast(1.04);
}

.npn-service-empty-slide {
	width: 100%;
	aspect-ratio: 1.58 / 1;
	border-radius: 20px;
	display: grid;
	place-content: center;
	text-align: center;
	gap: 8px;
	background: rgba(14, 127, 135, 0.82);
	color: #ffffff;
	box-shadow:
		0 0 40px rgba(8, 213, 255, 0.18),
		0 26px 68px rgba(0, 0, 0, 0.28);
}

.npn-service-empty-slide strong {
	font-size: clamp(36px, 4vw, 54px);
	font-weight: 300;
}

.npn-service-empty-slide span {
	color: #d6fbff;
}

.npn-service-slider-nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 0;
	background: rgba(38, 231, 218, 0.82);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
	cursor: pointer;
	box-shadow: 0 0 22px rgba(38, 231, 218, 0.55);
	transition: 0.22s ease;
}

.npn-service-slider-nav:hover {
	transform: translateY(-50%) scale(1.08);
	background: rgba(82, 216, 255, 0.95);
}

.npn-service-slider-nav svg {
	width: 22px;
	height: 22px;
}

.npn-service-slider-prev {
	left: 18px;
}

.npn-service-slider-next {
	right: 18px;
}

/* Responsive */

@media (max-width: 1024px) {
	.npn-service-panel {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.npn-service-content {
		max-height: none;
	}
}

@media (max-width: 768px) {
	.npn-service-screen {
		padding: 92px 0 42px;
	}

	.npn-service-shell {
		width: min(100% - 28px, 1180px);
	}

	.npn-service-tabs-wrap {
		gap: 8px;
		margin-bottom: 24px;
	}

	.npn-service-tab {
		flex-basis: 136px;
		min-height: 116px;
		gap: 10px;
	}

	.npn-service-tab strong {
		font-size: 13px;
	}

	.npn-service-tab-nav {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.npn-service-copy h1 {
		font-size: clamp(34px, 12vw, 50px);
	}

	.npn-service-detail-swiper,
	.npn-service-empty-slide {
		aspect-ratio: 1.2 / 1;
	}

	.npn-service-discover {
		width: 100%;
		justify-content: center;
	}
}
/* =========================================================
   Service title typing gradient effect
========================================================= */

.npn-service-copy h1 {
	position: relative;
	display: inline-block;
	min-height: 1.08em;
	margin: 0 0 18px;
	font-size: clamp(36px, 4.8vw, 64px);
	line-height: 1.3;
	letter-spacing: -0.055em;
	font-family: 'Manrope-Extra', 'Manrope-Bold', Arial, sans-serif;
	font-weight: 900;

	background:
		linear-gradient(
			90deg,
			#ffffff 0%,
			#9ff8ff 24%,
			#52d8ff 48%,
			#7b8cff 72%,
			#ffffff 100%
		);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;

	text-shadow:
		0 0 22px rgba(82, 216, 255, 0.26),
		0 0 46px rgba(8, 213, 255, 0.14);

	animation: npnServiceTitleGradient 4.8s ease-in-out infinite;
}

.npn-service-copy h1 .npn-service-title-text {
	display: inline;
}

.npn-service-copy h1 .npn-service-title-cursor {
	display: inline-block;
	width: 4px;
	height: 0.82em;
	margin-left: 8px;
	border-radius: 999px;
	background: #7ef3ff;
	box-shadow:
		0 0 10px rgba(126, 243, 255, 0.95),
		0 0 22px rgba(8, 213, 255, 0.55);
	vertical-align: -0.04em;
	animation: npnServiceTitleCursor 0.78s steps(2, start) infinite;
	-webkit-text-fill-color: initial;
}

@keyframes npnServiceTitleGradient {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

@keyframes npnServiceTitleCursor {
	0%,
	45% {
		opacity: 1;
	}

	46%,
	100% {
		opacity: 0;
	}
}

@media (max-width: 768px) {
	.npn-service-copy h1 {
		font-size: clamp(34px, 12vw, 50px);
	}

	.npn-service-copy h1 .npn-service-title-cursor {
		width: 3px;
		margin-left: 6px;
	}
}
/* =========================================================
   Scroll reveal animation
========================================================= */

[data-npn-reveal] {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	filter: blur(8px);
	transition:
		opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
		transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
		filter 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: opacity, transform, filter;
}

[data-npn-reveal].is-revealed {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	filter: blur(0);
}

[data-npn-reveal="fade-left"] {
	transform: translate3d(-34px, 0, 0);
}

[data-npn-reveal="fade-right"] {
	transform: translate3d(34px, 0, 0);
}

[data-npn-reveal="zoom"] {
	transform: scale(0.96);
}

[data-npn-reveal="fade-left"].is-revealed,
[data-npn-reveal="fade-right"].is-revealed,
[data-npn-reveal="zoom"].is-revealed {
	transform: translate3d(0, 0, 0) scale(1);
}

/* Delay theo thứ tự */
[data-npn-reveal-delay="1"] {
	transition-delay: 0.08s;
}

[data-npn-reveal-delay="2"] {
	transition-delay: 0.16s;
}

[data-npn-reveal-delay="3"] {
	transition-delay: 0.24s;
}

[data-npn-reveal-delay="4"] {
	transition-delay: 0.32s;
}

[data-npn-reveal-delay="5"] {
	transition-delay: 0.4s;
}

/* Tôn trọng người dùng giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
	[data-npn-reveal] {
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
		transition: none !important;
	}
}
.npn-service-copy h1 .npn-service-title-text {
	display: inline;
}

.npn-service-copy h1 .npn-service-title-cursor {
	display: inline-block;
	width: 4px;
	height: 0.82em;
	margin-left: 8px;
	border-radius: 999px;
	background: #7ef3ff;
	box-shadow:
		0 0 10px rgba(126, 243, 255, 0.95),
		0 0 22px rgba(8, 213, 255, 0.55);
	vertical-align: -0.04em;
	animation: npnServiceTitleCursor 0.78s steps(2, start) infinite;
	-webkit-text-fill-color: initial;
}

@keyframes npnServiceTitleCursor {
	0%,
	45% {
		opacity: 1;
	}

	46%,
	100% {
		opacity: 0;
	}
}

.npn-service-tab-next,
.npn-service-tab-prev {
	position: relative;
	z-index: 30;
	pointer-events: auto;
	cursor: pointer;
}

.npn-service-tab-next *,
.npn-service-tab-prev * {
	pointer-events: none;
}