/* ---------------------------------------------------------------
   Nimblemindz — homepage hero
   Scoped to the Elementor hero section (page 7534) and its classes.
   --------------------------------------------------------------- */

.nm-hero-section {
	position: relative;
	isolation: isolate;
}

/* Clean left-to-right white wash: removes the patchy sky behind the copy
   while keeping the athletes and stadium visible on the right. */
.nm-hero-section > .elementor-background-overlay {
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.99) 0%,
		rgba(255, 255, 255, 0.97) 26%,
		rgba(255, 255, 255, 0.86) 42%,
		rgba(255, 255, 255, 0.45) 58%,
		rgba(255, 255, 255, 0) 74%
	) !important;
	opacity: 1 !important;
	pointer-events: none;
}

.nm-hero-content {
	position: relative;
	z-index: 2;
}

/* Align the hero copy with the left edge of the page (like nimblemindz.com)
   instead of centring the boxed inner wrapper in the viewport. */
.nm-hero-content > .e-con-inner {
	margin-left: 0 !important;
	margin-right: auto !important;
}

/* Eyebrow ------------------------------------------------------- */
.nm-hero-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.15em;
	line-height: 1.4;
}

.nm-hero-sep {
	margin: 0 0.45em;
	color: #c2410c;
	font-size: 1.1em;
	line-height: 1;
}

.nm-hero-tail {
	white-space: nowrap;
}

/* Headline ------------------------------------------------------ */
.nm-hero-title .elementor-heading-title {
	text-wrap: balance;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nm-hero-title .nm-hero-accent {
	color: #ea580c;
}

.nm-hero-sub .elementor-heading-title {
	color: #334155;
}

/* Buttons ------------------------------------------------------- */
.nm-hero-actions {
	width: 100%;
	justify-content: flex-start;
	align-items: center;
	gap: 16px;
}

.nm-hero-actions > .e-con-inner {
	justify-content: flex-start;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.nm-hero-actions .elementor-widget-button {
	width: auto;
	margin-bottom: 0;
}

.nm-hero-actions .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	border-radius: 10px;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease,
		color 0.2s ease;
}

.nm-btn-primary .elementor-button {
	box-shadow: 0 12px 26px rgba(194, 65, 12, 0.24);
}

.nm-btn-primary .elementor-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(194, 65, 12, 0.3);
}

.nm-btn-secondary .elementor-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(11, 27, 58, 0.14);
}

.nm-hero-actions .elementor-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.nm-hero-actions .elementor-button-icon svg {
	width: 1.05em;
	height: 1.05em;
}

/* Focus visibility --------------------------------------------- */
.nm-hero-actions .elementor-button:focus-visible,
.nm-hero-section a:focus-visible {
	outline: 3px solid #0b1b3a;
	outline-offset: 3px;
}

.nm-btn-primary .elementor-button:focus-visible {
	outline-color: #7c2d12;
}

/* Anchor target offset for the sticky header ------------------- */
#products {
	scroll-margin-top: 110px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nm-hero-actions .elementor-button {
		transition: none;
	}
}

/* Tablet -------------------------------------------------------- */
@media (max-width: 1024px) {
	.nm-hero-section > .elementor-background-overlay {
		background: linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.99) 0%,
			rgba(255, 255, 255, 0.96) 38%,
			rgba(255, 255, 255, 0.72) 58%,
			rgba(255, 255, 255, 0.1) 88%
		) !important;
	}
}

/* Mobile -------------------------------------------------------- */
@media (max-width: 767px) {
	.nm-hero-section > .elementor-background-overlay {
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.99) 0%,
			rgba(255, 255, 255, 0.97) 46%,
			rgba(255, 255, 255, 0.86) 68%,
			rgba(255, 255, 255, 0.42) 100%
		) !important;
	}

	.nm-hero-break {
		display: none;
	}

	.nm-hero-title .elementor-heading-title {
		text-wrap: pretty;
	}

	.nm-hero-content {
		min-height: 0 !important;
	}

	.nm-hero-actions .elementor-widget-button,
	.nm-hero-actions .elementor-button {
		width: 100%;
	}

	.nm-hero-actions .elementor-button {
		justify-content: center;
	}
}
