/* =========================================================
 * NationVoice — Image CTA (background image with heading + button)
 * ========================================================= */

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

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

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

.nv-ic-wrapper .nv-ic {
	position: relative;
	width: 100%;
	min-height: 420px;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.nv-ic-wrapper .nv-ic__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.40);
	z-index: 1;
	pointer-events: none;
}

.nv-ic-wrapper .nv-ic__inner {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 32px;
	min-height: 420px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Horizontal alignment */
.nv-ic-wrapper .nv-ic__inner--align-left { align-items: flex-start; text-align: left; }
.nv-ic-wrapper .nv-ic__inner--align-center { align-items: center; text-align: center; }
.nv-ic-wrapper .nv-ic__inner--align-right { align-items: flex-end; text-align: right; }

/* Vertical alignment */
.nv-ic-wrapper .nv-ic__inner--vtop { justify-content: flex-start; }
.nv-ic-wrapper .nv-ic__inner--vmiddle { justify-content: center; }
.nv-ic-wrapper .nv-ic__inner--vbottom { justify-content: flex-end; }

.nv-ic-wrapper .nv-ic__heading {
	margin: 0;
	font-family: var(--nv-font-body) !important;
	font-weight: 700;
	font-size: 40px;
	line-height: 1.2;
	color: #ffffff !important;
	max-width: 720px;

	opacity: 0;
	transform: translateY(20px);
	animation: nv-ic-fade-up 0.8s var(--nv-ease) 0.1s forwards;
}

.nv-ic-wrapper .nv-ic__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 36px;
	font-family: var(--nv-font-body) !important;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--nv-primary);
	background-color: #ffffff;
	border: 2px solid #ffffff;
	border-radius: 999px;
	transition: background-color var(--nv-trans), color var(--nv-trans), transform var(--nv-trans), border-color var(--nv-trans);
	cursor: pointer;

	opacity: 0;
	transform: translateY(20px);
	animation: nv-ic-fade-up 0.8s var(--nv-ease) 0.25s forwards;
}

.nv-ic-wrapper .nv-ic__btn:hover,
.nv-ic-wrapper .nv-ic__btn:focus {
	background-color: var(--nv-orange);
	border-color: var(--nv-orange);
	color: #ffffff;
	transform: translateY(-2px);
}

.nv-ic-wrapper .nv-ic__btn-icon {
	display: inline-flex;
	align-items: center;
}

@keyframes nv-ic-fade-up {
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
	.nv-ic-wrapper .nv-ic { min-height: 360px; }
	.nv-ic-wrapper .nv-ic__inner { padding: 64px 24px; min-height: 360px; }
	.nv-ic-wrapper .nv-ic__heading { font-size: 32px; }
}

@media (max-width: 768px) {
	.nv-ic-wrapper .nv-ic { min-height: 300px; }
	.nv-ic-wrapper .nv-ic__inner {
		padding: 40px 20px;
		min-height: 300px;
		align-items: center !important;
		text-align: center !important;
		justify-content: center !important;
	}
	.nv-ic-wrapper .nv-ic__heading { font-size: 24px; }
	.nv-ic-wrapper .nv-ic__btn { padding: 12px 28px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	.nv-ic-wrapper .nv-ic__heading,
	.nv-ic-wrapper .nv-ic__btn {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
}
