.xl-pfn {
	--xl-pfn-accent: #2f8fe0;
	--xl-pfn-pink: #B51B5A;
	--xl-pfn-ink: #191919;
	--xl-pfn-muted: #778AA9;
	--xl-pfn-border: #e2e5ec;
}

/* Header/hero background: soft blue + pink blurred "blobs" (glassmorphism-style
   glow) sitting behind the title and gallery, fading to white lower down.
   Uses the brand accent (blue) and pink tokens. Positions/intensity can be
   tuned via the ::before/::after rules below to match the reference image. */
.xl-pfn-header-section {
	position: relative;
	overflow: hidden;
	background: #ffffff;
}

.xl-pfn-header-section::before,
.xl-pfn-header-section::after {
	content: "";
	position: absolute;
	top: -160px;
	width: 560px;
	height: 560px;
	max-width: 60vw;
	border-radius: 50%;
	filter: blur(90px);
	opacity: .16;
	pointer-events: none;
	z-index: 0;
}

/* blue glow — top left */
.xl-pfn-header-section::before {
	left: -160px;
	background: radial-gradient(circle, var(--xl-pfn-accent) 0%, rgba(47, 143, 224, 0) 70%);
}

/* pink glow — top right */
.xl-pfn-header-section::after {
	right: -160px;
	background: radial-gradient(circle, var(--xl-pfn-pink) 0%, rgba(181, 27, 90, 0) 70%);
}

/* keep the actual content above the blurred blobs */
.xl-pfn-header-section > .section_wrapper {
	position: relative;
	z-index: 1;
}

.xl-pfn-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 50px 0 50px;
	text-align: center;
}

.xl-pfn-logo {
	display: inline-flex;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	flex: none;
}

.xl-pfn-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xl-pfn-title {
	font-family: syne !important;
	font-size: 40px;
	font-weight: 700;
	color: var(--xl-pfn-ink);
	margin: 0;
}

/* Gallery — no surrounding box; the image dictates its own height so it is
   always shown in full, never cropped or stretched to fill a fixed box. */

.xl-pfn-gallery {
	position: relative;
	max-width: 640px;
	margin: 0 auto 40px;
}

.xl-pfn-gallery__frame {
	position: relative;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	transition: height .45s ease;
}

/* Slides are stacked and crossfade on change (JS keeps the frame height in
   sync with the active image, so the box animates its height too). */
.xl-pfn-gallery__slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s ease, visibility .5s ease;
}

.xl-pfn-gallery__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

/* Single image (no slider) — render the lone shot as a normal in-flow image
   so the frame takes its natural height. The JS slider deliberately bails out
   when there is only one slide, so nothing sets the frame height here. */
.xl-pfn-gallery--single .xl-pfn-gallery__slide {
	position: static;
	opacity: 1;
	visibility: visible;
	border-radius: 20px;
}

.xl-pfn-gallery__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 30px;
}

.xl-pfn-gallery__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #d7dde6;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.xl-pfn-gallery__dot.is-active {
	background: var(--xl-pfn-accent);
	transform: scale(1.25);
}

.xl-pfn-gallery__nav-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 36px;
	margin-top: 20px;
}

.xl-pfn-gallery__nav {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: none;
	background: none;
	font-size: .9rem;
	cursor: pointer;
	padding: 4px;
}

.xl-pfn-gallery__nav-icon {
	width: 19px;
	height: 15px;
	flex: none;
	display: block;
}

.xl-pfn-gallery__nav {
	color: var(--xl-pfn-muted);
	font-family: syne !important;
	font-weight: 700;
	font-size: 22px;
	transition: color .2s ease;
}

.xl-pfn-gallery__nav:hover,
.xl-pfn-gallery__nav:focus {
	color: #191919;
}

/* Technology + Download panel — sits in its own bordered/shadowed card,
   while the gallery image beside it stays plain (no card, no shadow) —
   matches the reference, where only the tech/download side is boxed. */

.xl-pfn-panel {
	display: flex;
	flex-direction: column;
	gap: 28px;
	background: #fff;
	border: 1px solid var(--xl-pfn-border);
	border-radius: 20px;
	padding: 28px;
	margin-bottom: 44px;
	box-shadow: 0 18px 40px -20px rgba(20, 30, 60, .18), 0 4px 14px rgba(20, 30, 60, .05);
}

@media (min-width: 1024px) {
	.xl-pfn-hero {
		display: flex;
		align-items: center;
		gap: 40px;
		margin-bottom: 44px;
	}

	.xl-pfn-gallery {
		flex: 1 1 55%;
		max-width: none;
		margin: 0;
	}

	.xl-pfn-panel {
		flex: 1 1 45%;
		margin-bottom: 0;
	}
}

.xl-pfn-tech h3,
.xl-pfn-downloads h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 0px;
	color: var(--xl-pfn-ink);
}

.xl-pfn-tech__group {
	margin-bottom: 18px;
}

.xl-pfn-tech__group-label {
	display: block;
	font-size: .95rem;
	font-weight: 500;
	color: #8a94c9;
	margin-bottom: 12px;
}

.xl-pfn-tech__divider {
	border: none;
	border-top: 1px solid var(--xl-pfn-border);
	margin: 0 0 18px;
}

.xl-pfn-tech__chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 14px;
	column-gap: 32px;
}

.xl-pfn-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 1rem;
	font-weight: 500;
	color: var(--xl-pfn-ink);
}

.xl-pfn-chip img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.xl-pfn-chip-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 4px;
	border-radius: 6px;
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	line-height: 1;
}

.xl-pfn-downloads__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.xl-pfn-download-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 14px;
	border-radius: 8px;
	/* background: #000; */
	color: #fff;
	transition: opacity .2s ease, transform .2s ease;
	margin-top: 20px;
}

.xl-pfn-download-badge__icon {
	flex: none;
}

.xl-pfn-download-badge__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.xl-pfn-download-badge__eyebrow {
	font-size: .58rem;
	font-weight: 400;
	letter-spacing: .03em;
	text-transform: uppercase;
	opacity: .85;
}

.xl-pfn-download-badge__eyebrow--normal-case {
	font-size: .62rem;
	text-transform: none;
	letter-spacing: normal;
}

.xl-pfn-download-badge__title {
	font-size: 1rem;
	font-weight: 600;
}



.xl-pfn-download-badge:hover,
.xl-pfn-download-badge:focus {
	opacity: .85;
	transform: translateY(-1px);
}

/* Section headings shared by Features / Testimonial */

.xl-pfn-section-title {
	font-size: 40px;
	font-weight: 700;
	text-align: center;
	margin: 0 0 6px;
	color: var(--xl-pfn-ink);
	font-family: syne !important;
	line-height: 1.2;
}

.xl-pfn-section-subtitle {
	text-align: center;
	color: var(--xl-pfn-muted);
	font-size: 22px;
	margin: 15px 0 28px;
	line-height: 1.1;
}

/* Features — each chip cycles through a pastel accent theme */

.xl-pfn-features-section {
	margin-bottom: 12px;
}

/* Flexbox, not grid: a leftover card alone in the last row needs to center
   itself with the row's free space split evenly on both sides, which is
   exactly what justify-content: center does with wrapped flex items. CSS
   Grid can't do this — its column tracks stay fixed regardless of how many
   items actually land in the last row, so an orphan item stays pinned to
   the first column instead of centering.
   Mobile-first: 2 per row by default, 4 from tablet up, then as many ~140px
   columns as fit on desktop (a 7th+ card wraps instead of being capped). */
.xl-pfn-features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	margin: 0 auto;
}

.xl-pfn-feature {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 0 1 calc(50% - 12px);
	max-width: 320px;
	min-width: 0;
	box-sizing: border-box;
	padding: 16px 18px;
	border-radius: 16px;
	border: 1px solid var(--xl-pfn-border);
	background: #fbfcff;
	text-align: left;
}

@media (min-width: 765px) {
	.xl-pfn-feature {
		flex-basis: calc(25% - 18px);
	}
}

@media (min-width: 1024px) {
	.xl-pfn-feature {
		flex: 0 1 180px;
	}
}

.xl-pfn-feature__icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
	margin-bottom: 2px;
}

.xl-pfn-feature__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--xl-pfn-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.xl-pfn-feature__desc {
	font-size: 14px;
	color: var(--xl-pfn-muted);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: center;
}

.xl-pfn-feature:nth-child(6n+1) {
	background: #f5f0ff;
	border-color: #e3d6ff;
}
.xl-pfn-feature__title{
	color:#191919 !important;
	text-align: center;
}
.xl-pfn-feature:nth-child(6n+1) .xl-pfn-feature__title {
	color: #7c3aed;
}

.xl-pfn-feature:nth-child(6n+2) {
	background: #eefbf3;
	border-color: #cdf0da;
}

.xl-pfn-feature:nth-child(6n+2) .xl-pfn-feature__title {
	color: #16a34a;
}

.xl-pfn-feature:nth-child(6n+3) {
	background: #fff0f3;
	border-color: #ffd9e2;
}

.xl-pfn-feature:nth-child(6n+3) .xl-pfn-feature__title {
	color: #e11d48;
}

.xl-pfn-feature:nth-child(6n+4) {
	background: #fffaeb;
	border-color: #fde8b8;
}

.xl-pfn-feature:nth-child(6n+4) .xl-pfn-feature__title {
	color: #b45309;
}

.xl-pfn-feature:nth-child(6n+5) {
	background: #eef6ff;
	border-color: #cfe6ff;
}

.xl-pfn-feature:nth-child(6n+5) .xl-pfn-feature__title {
	color: #2563eb;
}

.xl-pfn-feature:nth-child(6n+6) {
	background: #ecfeff;
	border-color: #c9f4fb;
}

.xl-pfn-feature:nth-child(6n+6) .xl-pfn-feature__title {
	color: #0e7490;
}

/* Testimonial — the card itself is a resizable "torn paper" strip: a jagged
   top/bottom edge sliced from the paper-texture image (stretched to the
   card's width, cropped to its natural height so the tear isn't distorted)
   with a flat fill matching the texture's own background colour in between,
   so the card can grow to fit any amount of quote text. */

.xl-pfn-testimonial-section {
	padding: 50px 0 50px;
}

.xl-pfn-testimonial {
	position: relative;
	width: 100%;
	text-align: center;
	background: #fcfbfa;
}
.xl-flush .clearfix {
	max-width: none !important;
}
.xl-pfn-testimonial__inner {
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
	padding: 80px 56px 56px;
}

.xl-pfn-testimonial::before,
.xl-pfn-testimonial::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	background-image: url(../../../../uploads/2026/07/XpertLab-Technologies-Private-Limited-Paper-Background.webp);
	background-repeat: no-repeat;
	background-size: cover;
	pointer-events: none;
}

/* The source texture's top tear is a wide, soft transition; its bottom tear
   is a much narrower band right at the edge — so the two strips need
   different heights to keep the visible tear equally prominent on both. */
.xl-pfn-testimonial::before {
	top: -1px;
	height: 42px;
	background-position: top center;
}

.xl-pfn-testimonial::after {
	bottom: -1px;
	height: 16px;
	background-position: bottom center;
}

.xl-pfn-testimonial__quote-mark {
	width: 34px;
	height: auto;
	opacity: .6;
	pointer-events: none;
	margin-right: -30px;
}

.xl-pfn-testimonial__quote-mark--open {
	position: absolute;
	top: 50px;
	left: 32px;
}

/* The close mark gets its own normal-flow row between the quote and the
   attribution — no absolute positioning against either one. Block-level
   elements in normal flow physically cannot overlap each other; the browser
   always stacks them in order, so this can't collide with the quote text
   above it or the attribution below it at any width, ever. */
.xl-pfn-testimonial__quote-mark-row {
	display: flex;
	justify-content: flex-end;
	margin: 4px 0 12px;
}

.xl-pfn-testimonial__foot {
	margin-top: 8px;
}

.xl-pfn-testimonial__quote {
	font-size: 24px;
	/* font-style: italic; */
	color: var(--xl-pfn-ink);
	line-height: 1.2;
	margin: 0 0 0;
}

.xl-pfn-testimonial__attribution {
	position: relative;
	color: var(--xl-pfn-pink);
	font-size: 20px;
	font-weight: 500;
	margin: 0 0 20px;
}

.xl-pfn-play-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 36px 14px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .75);
	color: var(--xl-pfn-ink);
	font-size: 1.15rem;
	font-weight: 600;
	cursor: pointer;
	/* Glassmorphism: translucent light→blue gradient + frosted backdrop blur,
	   a top inner highlight for the "glass" sheen and a soft blue drop shadow. */
	background: linear-gradient(120deg, rgba(255, 255, 255, .85) 0%, rgba(196, 230, 250, .8) 45%, rgba(90, 180, 240, .85) 100%);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
	backdrop-filter: blur(10px) saturate(140%);
	box-shadow: 0 10px 26px -10px rgba(51, 169, 240, .65), inset 0 1px 0 rgba(255, 255, 255, .85);
	transition: transform .2s ease, box-shadow .2s ease;
}

.xl-pfn-play-btn__icon {
	width: 30px;
	height: 30px;
	flex: none;
	display: block;
}

.xl-pfn-play-btn__label {
	line-height: 1;
}

.xl-pfn-play-btn:hover,
.xl-pfn-play-btn:focus,
.xl-pfn-play-btn:active {
	/* Keep the exact same gradient / border / text colour on hover, focus and
	   active — override the theme's default button hover background (which was
	   turning it grey). */
	background: linear-gradient(120deg, rgba(255, 255, 255, .85) 0%, rgba(196, 230, 250, .8) 45%, rgba(90, 180, 240, .85) 100%) !important;
	border-color: rgba(255, 255, 255, .75) !important;
	color: var(--xl-pfn-ink) !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px -10px rgba(51, 169, 240, .8), inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* Video modal */

.xl-pfn-video-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.xl-pfn-video-modal[hidden] {
	display: none;
}

.xl-pfn-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 14, 26, .78);
}

.xl-pfn-video-modal__box {
	position: relative;
	z-index: 1;
	width: min(880px, 92vw);
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.xl-pfn-video-modal__body {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}

.xl-pfn-video-modal__body iframe,
.xl-pfn-video-modal__body video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.xl-pfn-video-modal__close {
	position: absolute;
	top: 10px;
	right: 14px;
	z-index: 2;
	border: none;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

#Content{
	padding: 0 !important;
}

/* Mobile only (<765px) */
@media (max-width: 764px) {
	.xl-pfn-title {
		font-size: 30px;
	}

	.xl-pfn-testimonial__inner {
		/* Extra top padding so the open quote mark clears the torn-paper top
		   edge (::before, 42px) and still sits above the centered quote text. */
		padding: 74px 20px 44px;
	}

	.xl-pfn-testimonial__quote-mark--open {
		/* Was 16px, which dropped the mark into the torn-paper edge and clipped
		   it; sit it on the solid card body below the tear, like desktop. */
		top: 46px;
		left: 16px;
	}

	.xl-pfn-testimonial__quote-mark-row {
		margin-right: 20px;
	}

	.xl-pfn-features {
		gap: 10px;
	}

	.xl-pfn-feature {
		padding: 12px 14px;
	}
}
@media(max-width:1024px){
	.xl-pfn-tech__group{
		margin-top: 18px;
	}
}

/* ---------------------------------------------------------------------------
   Scroll-reveal entrance animation
   Each major block rises + fades in as it scrolls into view, using the same
   easing as the rest of the portfolio (grid + category pages) so the whole
   section feels like one system. The hidden initial state is gated behind the
   .xl-pfn-anim class that a small <head> script adds to <html>, so with
   JavaScript disabled every block stays fully visible. The reveal itself is
   driven by .xl-in-view (added per-block, with a staggered --xl-pf-delay, by
   xl-portfolio-single-new.js). animation-fill-mode is `backwards` so the delay
   holds the hidden state (no pre-flash) while the resting state comes from the
   .xl-in-view declaration — which keeps any :hover transforms working.
--------------------------------------------------------------------------- */
.xl-pfn-anim .xl-pfn-header,
.xl-pfn-anim .xl-pfn-gallery,
.xl-pfn-anim .xl-pfn-tech,
.xl-pfn-anim .xl-pfn-downloads,
.xl-pfn-anim .xl-pfn-feature,
.xl-pfn-anim .xl-pfn-testimonial {
	opacity: 0;
	transform: translateY(28px) scale(.985);
	will-change: opacity, transform;
}

.xl-pfn-header.xl-in-view,
.xl-pfn-gallery.xl-in-view,
.xl-pfn-tech.xl-in-view,
.xl-pfn-downloads.xl-in-view,
.xl-pfn-feature.xl-in-view,
.xl-pfn-testimonial.xl-in-view {
	opacity: 1;
	transform: none;
	animation: xlPfnReveal .7s cubic-bezier(.16, 1, .3, 1) var(--xl-pf-delay, 0ms) backwards;
}

@keyframes xlPfnReveal {
	from {
		opacity: 0;
		transform: translateY(28px) scale(.985);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.xl-pfn-anim .xl-pfn-header,
	.xl-pfn-anim .xl-pfn-gallery,
	.xl-pfn-anim .xl-pfn-tech,
	.xl-pfn-anim .xl-pfn-downloads,
	.xl-pfn-anim .xl-pfn-feature,
	.xl-pfn-anim .xl-pfn-testimonial {
		opacity: 1;
		transform: none;
		will-change: auto;
	}

	.xl-pfn-header.xl-in-view,
	.xl-pfn-gallery.xl-in-view,
	.xl-pfn-tech.xl-in-view,
	.xl-pfn-downloads.xl-in-view,
	.xl-pfn-feature.xl-in-view,
	.xl-pfn-testimonial.xl-in-view {
		animation: none;
	}
}
