/* =========================================================
 * NationVoice — Video CTA (overlay + split layouts, lightbox)
 * ========================================================= */

.nv-vc-wrapper {
	--nv-primary: #3c4d8c;
	--nv-secondary: #6b0024;
	--nv-accent: #ff6716;
	--nv-orange: #f2a541;
	--nv-dark: #0a2238;
	--nv-text: #ffffff;
	--nv-font-body: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--nv-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--nv-trans: 0.35s var(--nv-ease);
	font-family: var(--nv-font-body);
	color: var(--nv-text);
}

.nv-vc-wrapper *, .nv-vc-wrapper *::before, .nv-vc-wrapper *::after { box-sizing: border-box; }

.elementor-page .nv-vc-wrapper,
.e-con .nv-vc-wrapper,
.elementor-widget-container .nv-vc-wrapper {
	font-family: var(--nv-font-body) !important;
}

/* =====================  OVERLAY LAYOUT  ===================== */
.nv-vc-wrapper .nv-vc--overlay {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #0a0a0a;
}

.nv-vc-wrapper .nv-vc--overlay .nv-vc__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

.nv-vc-wrapper .nv-vc--overlay .nv-vc__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.nv-vc-wrapper .nv-vc--overlay .nv-vc__inner {
	position: relative;
	z-index: 3;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nv-vc-wrapper .nv-vc--overlay .nv-vc__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: 760px;
}

.nv-vc-wrapper .nv-vc--overlay .nv-vc__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, calc(-50% - 100px));
	z-index: 4;
}

/* =====================  SPLIT LAYOUT  ===================== */
.nv-vc-wrapper .nv-vc--split .nv-vc__inner {
	max-width: 1240px;
	margin: 0 auto;
}

.nv-vc-wrapper .nv-vc--split .nv-vc__split {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 56px;
	align-items: center;
}

.nv-vc-wrapper .nv-vc--video-right .nv-vc__split {
	grid-template-areas: "text video";
	grid-template-columns: 1fr 1.1fr;
}
.nv-vc-wrapper .nv-vc--video-right .nv-vc__media   { grid-area: video; }
.nv-vc-wrapper .nv-vc--video-right .nv-vc__content { grid-area: text; }

.nv-vc-wrapper .nv-vc--split .nv-vc__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 16px;
	overflow: hidden;
	background-color: #0a0a0a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	box-shadow: 0 30px 60px rgba(10, 34, 56, 0.18);
}

.nv-vc-wrapper .nv-vc--split .nv-vc__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.nv-vc-wrapper .nv-vc--split .nv-vc__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

.nv-vc-wrapper .nv-vc--split .nv-vc__content {
	display: flex;
	flex-direction: column;
	gap: 18px;
	color: var(--nv-dark);
}

.nv-vc-wrapper .nv-vc--split .nv-vc__heading {
	color: var(--nv-dark) !important;
}

.nv-vc-wrapper .nv-vc--split .nv-vc__body {
	color: rgba(10, 34, 56, 0.78) !important;
}

/* =====================  TEXT  ===================== */
.nv-vc-wrapper .nv-vc__eyebrow {
	font-family: var(--nv-font-body) !important;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.nv-vc-wrapper .nv-vc__heading {
	margin: 0;
	font-family: var(--nv-font-body) !important;
	font-weight: 800;
	font-size: 44px;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.nv-vc-wrapper .nv-vc__body {
	margin: 0;
	font-family: var(--nv-font-body) !important;
	font-size: 16px;
	line-height: 1.7;
	max-width: 640px;
}

/* =====================  PLAY BUTTON  ===================== */
.nv-vc-wrapper .nv-vc__play {
	width: 92px;
	height: 92px;
	border: 0;
	border-radius: 50%;
	background-color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.30);
	transition: transform var(--nv-trans), box-shadow var(--nv-trans);
}

.nv-vc-wrapper .nv-vc__play svg {
	margin-left: 6px;
	fill: var(--nv-primary);
	color: var(--nv-primary);
}

.nv-vc-wrapper .nv-vc__play::before,
.nv-vc-wrapper .nv-vc__play::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.45);
	pointer-events: none;
	animation: nv-vc-pulse 2.4s var(--nv-ease) infinite;
}
.nv-vc-wrapper .nv-vc__play::after {
	animation-delay: 1.2s;
}

.nv-vc-wrapper .nv-vc__play:hover,
.nv-vc-wrapper .nv-vc__play:focus {
	transform: translate(-50%, -50%) scale(1.06);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.40);
}

/* overlay layout play has different translate origin */
.nv-vc-wrapper .nv-vc--overlay .nv-vc__play:hover,
.nv-vc-wrapper .nv-vc--overlay .nv-vc__play:focus {
	transform: translate(-50%, calc(-50% - 100px)) scale(1.06);
}

@keyframes nv-vc-pulse {
	0%   { transform: scale(1);   opacity: 0.8; }
	100% { transform: scale(1.7); opacity: 0; }
}

/* =====================  BUTTON  ===================== */
.nv-vc-wrapper .nv-vc__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 32px;
	font-family: var(--nv-font-body) !important;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	text-decoration: none;
	color: #ffffff;
	background-color: var(--nv-accent);
	border: 2px solid var(--nv-accent);
	border-radius: 999px;
	cursor: pointer;
	transition: background-color var(--nv-trans), color var(--nv-trans), transform var(--nv-trans), border-color var(--nv-trans), box-shadow var(--nv-trans);
	box-shadow: 0 14px 30px rgba(255, 103, 22, 0.30);
}

.nv-vc-wrapper .nv-vc__btn:hover,
.nv-vc-wrapper .nv-vc__btn:focus {
	transform: translateY(-2px);
	box-shadow: 0 20px 40px rgba(255, 103, 22, 0.40);
}

.nv-vc-wrapper .nv-vc__btn svg {
	transition: transform var(--nv-trans);
}
.nv-vc-wrapper .nv-vc__btn:hover svg { transform: translateX(4px); }

/* =====================  LIGHTBOX  ===================== */
.nv-vc-wrapper .nv-vc__lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.nv-vc-wrapper .nv-vc__lightbox.is-open {
	display: flex;
}

.nv-vc-wrapper .nv-vc__lightbox-backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.nv-vc-wrapper .nv-vc__lightbox-frame {
	position: relative;
	width: 100%;
	max-width: 1100px;
	aspect-ratio: 16 / 9;
	z-index: 2;
	background-color: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.nv-vc-wrapper .nv-vc__lightbox-close {
	position: absolute;
	top: -52px;
	right: 0;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color var(--nv-trans);
	z-index: 3;
}
.nv-vc-wrapper .nv-vc__lightbox-close:hover {
	background-color: rgba(255, 255, 255, 0.25);
}

.nv-vc-wrapper .nv-vc__lightbox-iframe-wrap {
	position: absolute;
	inset: 0;
}
.nv-vc-wrapper .nv-vc__lightbox-iframe-wrap iframe,
.nv-vc-wrapper .nv-vc__lightbox-iframe-wrap video {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* =====================  RESPONSIVE  ===================== */
@media (max-width: 1024px) {
	.nv-vc-wrapper .nv-vc__heading { font-size: 36px; }
	.nv-vc-wrapper .nv-vc--split .nv-vc__split { gap: 36px; }
	.nv-vc-wrapper .nv-vc__play { width: 80px; height: 80px; }
}

@media (max-width: 768px) {
	.nv-vc-wrapper .nv-vc__heading { font-size: 26px; }
	.nv-vc-wrapper .nv-vc__body    { font-size: 15px; }
	.nv-vc-wrapper .nv-vc__btn     { padding: 12px 24px; font-size: 13px; }

	.nv-vc-wrapper .nv-vc--overlay .nv-vc__play {
		transform: translate(-50%, calc(-50% - 60px));
		width: 68px; height: 68px;
	}
	.nv-vc-wrapper .nv-vc--overlay .nv-vc__play:hover,
	.nv-vc-wrapper .nv-vc--overlay .nv-vc__play:focus {
		transform: translate(-50%, calc(-50% - 60px)) scale(1.05);
	}

	.nv-vc-wrapper .nv-vc--split .nv-vc__split,
	.nv-vc-wrapper .nv-vc--video-right .nv-vc__split {
		grid-template-columns: 1fr;
		grid-template-areas: "video" "text" !important;
		gap: 28px;
		text-align: center;
	}
	.nv-vc-wrapper .nv-vc--split .nv-vc__content,
	.nv-vc-wrapper .nv-vc--video-right .nv-vc__content {
		align-items: center;
	}

	.nv-vc-wrapper .nv-vc__lightbox { padding: 16px; }
	.nv-vc-wrapper .nv-vc__lightbox-close { top: -44px; }
}

@media (prefers-reduced-motion: reduce) {
	.nv-vc-wrapper .nv-vc__play::before,
	.nv-vc-wrapper .nv-vc__play::after {
		animation: none;
		opacity: 0;
	}
	.nv-vc-wrapper * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
