/* Hyundai Emdad Hero Slider */
.hehs-root,
.hehs-root * {
	box-sizing: border-box;
}

.hehs-root {
	position: relative;
	width: 100%;
	font-family: inherit;
}

.hehs-root.is-full-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.hehs-slider {
	position: relative;
	width: 100%;
	min-height: 760px;
	overflow: hidden;
	background: #06101d;
	border-radius: 0;
	isolation: isolate;
}

.hehs-track {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: inherit;
}

.hehs-slide {
	position: absolute;
	inset: 0;
	display: block;
	min-height: 760px;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.025);
	transition:
		opacity var(--hehs-speed, 700ms) ease,
		transform var(--hehs-speed, 700ms) ease,
		visibility var(--hehs-speed, 700ms) ease;
}

.hehs-slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	z-index: 2;
}

.hehs-slide__background,
.hehs-slide__overlay {
	position: absolute;
	inset: 0;
}

.hehs-slide__background {
	z-index: -3;
	background-image: var(--hehs-desktop-image);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	transform: scale(1.05);
	transition: transform 8s ease;
}

.hehs-slide.is-active .hehs-slide__background {
	transform: scale(1);
}

.hehs-slide__overlay {
	z-index: -2;
	background:
		linear-gradient(90deg, rgba(2,8,16,.15) 0%, rgba(2,8,16,.4) 42%, rgba(2,8,16,.88) 100%),
		var(--hehs-overlay, rgba(3,10,20,.60));
}

.hehs-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 16% 76%, rgba(36,134,255,.18), transparent 34%),
		linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18));
	pointer-events: none;
}

.hehs-slide__inner {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1480px;
	min-height: inherit;
	margin: 0 auto;
	padding: 100px 40px 80px;
	display: flex;
	align-items: center;
}

.hehs-position-right .hehs-slide__inner {
	justify-content: flex-start;
}

.hehs-position-center .hehs-slide__inner {
	justify-content: center;
}

.hehs-position-left .hehs-slide__inner {
	justify-content: flex-end;
}

.hehs-content {
	width: 100%;
	max-width: 650px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity .65s ease .18s,
		transform .65s ease .18s;
}

.hehs-slide.is-active .hehs-content {
	opacity: 1;
	transform: translateY(0);
}

.hehs-align-right {
	text-align: right;
	align-items: flex-start;
}

.hehs-align-center {
	text-align: center;
	align-items: center;
}

.hehs-align-left {
	text-align: left;
	align-items: flex-end;
}

.hehs-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

.hehs-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 20px;
	background: #2486ff;
	box-shadow: 0 0 14px rgba(36,134,255,.8);
}

.hehs-title {
	margin: 0;
	color: #fff;
	font-size: 58px;
	font-weight: 900;
	line-height: 1.26;
	letter-spacing: -.8px;
}

.hehs-title mark {
	padding: 0;
	background: none;
	color: #2486ff;
}

.hehs-description {
	max-width: 620px;
	color: #d4deec;
	font-size: 16px;
	line-height: 2;
}

.hehs-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 8px;
}

.hehs-align-center .hehs-actions {
	justify-content: center;
}

.hehs-align-left .hehs-actions {
	justify-content: flex-end;
}

.hehs-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 22px;
	border: 1px solid transparent;
	border-radius: 14px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	transition:
		transform .22s ease,
		background .22s ease,
		color .22s ease,
		border-color .22s ease,
		box-shadow .22s ease;
}

.hehs-button svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transform: rotate(180deg);
}

.hehs-button--primary {
	background: #1677f2;
	color: #fff;
	box-shadow: 0 12px 35px rgba(22,119,242,.28);
}

.hehs-button--primary:hover {
	color: #fff;
	background: #2b8cff;
	transform: translateY(-2px);
	box-shadow: 0 16px 42px rgba(22,119,242,.38);
}

.hehs-button--secondary {
	color: #fff;
	border-color: rgba(255,255,255,.28);
	background: rgba(5,13,24,.34);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.hehs-button--secondary:hover {
	color: #fff;
	border-color: rgba(255,255,255,.55);
	background: rgba(255,255,255,.08);
	transform: translateY(-2px);
}

.hehs-arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	width: 52px;
	height: 52px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 50%;
	background: rgba(7,17,31,.58);
	color: #fff;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	cursor: pointer;
	transform: translateY(-50%);
	transition:
		transform .2s ease,
		background .2s ease,
		border-color .2s ease;
}

.hehs-arrow:hover {
	transform: translateY(-50%) scale(1.06);
	background: rgba(36,134,255,.82);
	border-color: rgba(255,255,255,.28);
}

.hehs-arrow svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hehs-arrow--prev {
	right: 26px;
}

.hehs-arrow--next {
	left: 26px;
}

.hehs-dots {
	position: absolute;
	left: 50%;
	bottom: 30px;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 8px;
	transform: translateX(-50%);
}

.hehs-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,.5);
	cursor: pointer;
	transition: width .25s ease, background .25s ease;
}

.hehs-dot.is-active {
	width: 30px;
	background: #2486ff;
}

.hehs-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 11;
	height: 3px;
	background: rgba(255,255,255,.08);
	overflow: hidden;
}

.hehs-progress__bar {
	display: block;
	width: 0;
	height: 100%;
	background: #2486ff;
	transform-origin: right center;
}

.hehs-root.is-running .hehs-progress__bar {
	animation: hehsProgress var(--hehs-delay, 6000ms) linear forwards;
}

@keyframes hehsProgress {
	from { width: 0; }
	to   { width: 100%; }
}

@media (max-width: 1024px) {
	.hehs-slider,
	.hehs-slide {
		min-height: 620px;
	}

	.hehs-slide__inner {
		padding: 90px 28px 75px;
	}

	.hehs-title {
		font-size: 48px;
	}

	.hehs-content {
		max-width: 560px;
	}

	.hehs-arrow--prev {
		right: 18px;
	}

	.hehs-arrow--next {
		left: 18px;
	}
}

@media (max-width: 767px) {
	.hehs-slider,
	.hehs-slide {
		min-height: 680px;
	}

	.hehs-slide__background {
		background-image: var(--hehs-mobile-image);
		background-position: center center;
	}

	.hehs-slide__overlay {
		background:
			linear-gradient(180deg, rgba(2,8,16,.20) 0%, rgba(2,8,16,.48) 38%, rgba(2,8,16,.92) 100%),
			var(--hehs-overlay, rgba(3,10,20,.60));
	}

	.hehs-slide__inner {
		align-items: flex-end;
		justify-content: center !important;
		padding: 100px 18px 78px;
	}

	.hehs-content {
		max-width: 100%;
		padding: 20px 18px;
		border: 1px solid rgba(255,255,255,.08);
		border-radius: 18px;
		background: rgba(3,10,20,.42);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}

	.hehs-title {
		font-size: 36px;
		line-height: 1.35;
	}

	.hehs-description {
		font-size: 14px;
		line-height: 1.9;
	}

	.hehs-actions {
		width: 100%;
	}

	.hehs-root.is-mobile-stack .hehs-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hehs-root.is-mobile-stack .hehs-button {
		width: 100%;
	}

	.hehs-arrow {
		top: auto;
		bottom: 22px;
		width: 42px;
		height: 42px;
		transform: none;
	}

	.hehs-arrow:hover {
		transform: scale(1.04);
	}

	.hehs-arrow--prev {
		right: 16px;
	}

	.hehs-arrow--next {
		left: 16px;
	}

	.hehs-dots {
		bottom: 35px;
	}

	.hehs-progress {
		height: 2px;
	}
}

.elementor-editor-active .hehs-root.is-full-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}
