/* ==========================================================
   Hero Slider for Elementor — Frontend Styles
   ========================================================== */

.hse-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

.hse-slides-wrap {
	position: relative;
	width: 100%;
}

/* ---------- Slide ---------- */
.hse-slide {
	position: relative;
	width: 100%;
	min-height: 520px;
	display: flex;
	align-items: center;
	/* Stacking transition */
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease-in-out;
	z-index: 1;
}

.hse-slide.active {
	position: relative;
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

/* When only one slide exists, behave like a normal static section */
.hse-slider:has(.hse-slide:only-child) .hse-slide {
	position: relative;
}

/* ---------- Dotted grid pattern overlay ---------- */
.hse-pattern {
	--hse-pattern-color: rgba(245, 197, 24, 0.35);
	--hse-grid-color: rgba(255, 255, 255, 0.04);

	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	pointer-events: none;

	background-image:
		radial-gradient(circle, var(--hse-pattern-color) 1.5px, transparent 1.5px),
		linear-gradient(var(--hse-grid-color) 1px, transparent 1px),
		linear-gradient(90deg, var(--hse-grid-color) 1px, transparent 1px);

	background-size:
		60px 60px,
		60px 60px,
		60px 60px;

	background-position:
		15px 25px,
		0 0,
		0 0;
}

/* ---------- Dark overlay ---------- */
.hse-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	pointer-events: none;
}

/* ---------- Floating Particles ---------- */
.hse-particles {
	--hse-particle-color: #F5C518;

	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}

.hse-particles .dot {
	position: absolute;
	border-radius: 50%;
	background-color: var(--hse-particle-color);
	box-shadow: 0 0 3px var(--hse-particle-color);
	will-change: transform;
}

.hse-particles .dot.r {
	animation-name: hse-dot-move-right;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.hse-particles .dot.l {
	animation-name: hse-dot-move-left;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@keyframes hse-dot-move-right {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(100vw);
	}
}

@keyframes hse-dot-move-left {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-100vw);
	}
}

/* ---------- Content ---------- */
.hse-slide-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
	padding: 80px 15px 100px;
	box-sizing: border-box;
}

.hse-title {
	margin: 0 0 20px 0;
	font-size: 48px;
	font-weight: 800;
	line-height: 1.2;
	color: #FFFFFF;
}

.hse-title .hse-highlight {
	color: #F5C518;
}

.hse-subtitle {
	margin: 0 0 30px 0;
	font-size: 16px;
	line-height: 1.6;
	color: #C2C7D6;
	max-width: 700px;
}

/* ---------- Buttons ---------- */
.hse-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.hse-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.25s ease;
	cursor: pointer;
	line-height: 1;
}

.hse-btn-primary {
	background-color: #F5C518;
	color: #161E36;
	border: 1px solid transparent;
}

.hse-btn-primary:hover {
	background-color: #FFD84D;
	color: #161E36;
}

.hse-btn-secondary {
	background-color: transparent;
	color: #FFFFFF;
	border: 1px solid #4A5374;
}

.hse-btn-secondary:hover {
	background-color: #FFFFFF;
	color: #161E36;
	border-color: #FFFFFF;
}

.hse-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1em;
	line-height: 1;
}

.hse-btn-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ---------- Dot Pagination ---------- */
.hse-dots {
	position: absolute;
	bottom: 24px;
	left: 0;
	right: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.hse-dot {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.3);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s ease;
}

.hse-dot.active {
	width: 32px;
	background-color: #F5C518;
}

.hse-dot:hover:not(.active) {
	background-color: rgba(255, 255, 255, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hse-title {
		font-size: 38px;
	}

	.hse-slide-content {
		padding: 60px 30px;
	}
}

@media (max-width: 767px) {
	.hse-slide {
		min-height: 460px !important;
	}

	.hse-title {
		font-size: 28px;
	}

	.hse-subtitle {
		font-size: 14px;
	}

	.hse-slide-content {
		padding: 50px 24px;
		align-items: flex-start;
		text-align: left;
	}

	.hse-buttons {
		width: 100%;
	}

	.hse-btn {
		flex: 1 1 auto;
		justify-content: center;
	}
}