/* Static home hero — matched to Revolution Slider layout */

.impactaflex-hero {
	position: relative;
	width: 100%;
	height: 870px;
	min-height: 870px;
	max-height: 870px;
	color: #fff;
	overflow: hidden;
}

.impactaflex-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.impactaflex-hero__inner {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.impactaflex-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom;
}

.impactaflex-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.1);
}

/* Large title behind the menu, like the original slide */
.impactaflex-hero__watermark {
	position: absolute;
	top: 108px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	width: 100%;
	text-align: center;
	font-family: 'Baloo Bhaina 2', cursive;
	font-size: 76px;
	font-weight: 400;
	line-height: 1;
	color: rgba(255, 255, 255, 0.18);
	text-transform: uppercase;
	pointer-events: none;
	white-space: nowrap;
	z-index: 1;
}

.impactaflex-hero__content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -42%);
	width: min(92%, 900px);
	text-align: center;
	z-index: 3;
	pointer-events: auto;
}

.impactaflex-hero__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 999px;
	font-size: 22px;
	line-height: 1;
	color: #fff;
}

.impactaflex-hero__icon i {
	font-family: 'Font Awesome 6 Free' !important;
	font-weight: 900 !important;
}

.impactaflex-hero__eyebrow {
	margin: 0 0 8px;
	padding: 0 10px;
	font-family: Comfortaa, cursive;
	font-size: 20px !important;
	line-height: 1.35;
	font-weight: 400;
	color: #fff;
	text-transform: uppercase;
}

.impactaflex-hero__title {
	margin: 0 0 16px;
	padding: 0;
	font-family: 'Baloo Bhaina 2', cursive;
	font-size: 76px !important;
	font-weight: 400;
	line-height: 1;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0;
}

.impactaflex-hero__text {
	margin: 0 0 16px;
	padding: 0 12px;
	font-family: Comfortaa, cursive;
	font-size: 20px !important;
	line-height: 1.55;
	font-weight: 400;
	color: #fff;
}

.impactaflex-hero__cta,
.impactaflex-hero a.impactaflex-hero__cta {
	display: inline-block !important;
	margin: 6px auto 0 !important;
	padding: 10px 22px !important;
	border: 0 !important;
	border-radius: 30px;
	background: #f35854 !important;
	color: #fff !important;
	font-family: 'Baloo Bhaina 2', cursive;
	font-size: 20px !important;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0;
	max-width: none !important;
	width: auto !important;
	box-shadow: none;
	transition: background 0.2s ease;
}

.impactaflex-hero__cta:hover,
.impactaflex-hero__cta:focus {
	background: #e04b47;
	color: #fff !important;
	text-decoration: none !important;
}

.impactaflex-hero__content--fade {
	animation: impactaflexHeroFadeIn 0.85s ease forwards;
}

@keyframes impactaflexHeroFadeIn {
	from {
		opacity: 0;
		transform: translate(-50%, -36%);
	}

	to {
		opacity: 1;
		transform: translate(-50%, -42%);
	}
}

@media (max-width: 991px) {
	.impactaflex-hero {
		height: 1035px;
		min-height: 1035px;
		max-height: 1035px;
	}

	.impactaflex-hero__watermark {
		top: 96px;
		font-size: 58px;
	}

	.impactaflex-hero__title {
		font-size: 58px;
	}

	.impactaflex-hero__eyebrow,
	.impactaflex-hero__text {
		font-size: 17px;
	}

	.impactaflex-hero__cta {
		font-size: 18px;
	}
}

@media (max-width: 767px) {
	.impactaflex-hero {
		height: auto;
		min-height: 683px;
		max-height: none;
	}

	.impactaflex-hero__watermark {
		top: 88px;
		font-size: 42px;
		white-space: normal;
		padding: 0 16px;
	}

	.impactaflex-hero__content {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		width: 100%;
		padding: 200px 16px 36px;
	}

	.impactaflex-hero__title {
		font-size: 42px;
	}

	.impactaflex-hero__eyebrow,
	.impactaflex-hero__text {
		font-size: 15px !important;
	}

	.impactaflex-hero__content--fade {
		animation: impactaflexHeroFadeInMobile 0.85s ease forwards;
	}

    .impactaflex-hero__inner {
              padding-top: 64px;
    }

	@keyframes impactaflexHeroFadeInMobile {
		from {
			opacity: 0;
			transform: translateY(12px);
		}

		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
}
