/* Hero Slider for Elementor — frontend styles
   Built with logical properties so it adapts to RTL and LTR automatically. */

.hse-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	direction: inherit;
}

.hse-track {
	position: relative;
	width: 100%;
	height: 100%;
}

.hse-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 520px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease;
	z-index: 1;
}

/* Boxed row that lines up with your theme's section container (default 1200px,
   set via the "Content Area Max Width" control). Full-bleed background image
   stays edge-to-edge; only this row is constrained and centered. */
.hse-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
	display: flex;
}

.hse-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.15);
	z-index: 1;
}

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

/* --- Slide (fade) mode is default via opacity above.
   --- Slide (horizontal) mode uses transforms instead. */
.hse-wrapper[data-effect="slide"] .hse-track {
	display: flex;
	transition: none;
}

.hse-wrapper[data-effect="slide"] .hse-slide {
	position: relative;
	flex: 0 0 100%;
	opacity: 1;
	visibility: visible;
	transition: none;
}

.hse-wrapper[data-effect="slide"] .hse-track {
	transition: transform 0.6s ease;
}

/* Content box */
.hse-content {
	position: relative;
	z-index: 2;
	max-width: 46%;
	padding-block: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-align: start;
}

.hse-content.hse-pos-start {
	margin-inline-end: auto;
}

.hse-content.hse-pos-center {
	margin-inline: auto;
	text-align: center;
	align-items: center;
}

.hse-content.hse-pos-end {
	margin-inline-start: auto;
	text-align: end;
	align-items: flex-end;
}

.hse-title {
    margin: 0 !important;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    text-wrap: balance;
    margin-bottom: 20px !important;
}

.hse-description {
    margin: 0;
    font-size: 22px;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.92;
    margin-bottom: 20px;
}

.hse-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	padding: 14px 34px;
	margin-top: 8px;
	background-color: #f7f0d8;
	color: #1f1300;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	border-radius: 6px;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hse-button:hover {
	background-color: #ffffff;
	transform: translateY(-2px);
}

/* Arrows
   Reset native <button> rendering first — mobile browsers apply their own
   system button chrome (rounded-rect fill, no border-radius: 50%, hidden
   SVG) unless appearance/box-sizing/margin/font are explicitly reset. */
.hse-wrapper .hse-arrow {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	box-sizing: border-box;
	margin: 0;
	font: inherit;
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.25);
	background-image: none;
	border: 1.5px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	z-index: 5;
	transition: background-color 0.25s ease, transform 0.25s ease;
	padding: 0 !important
}

.hse-wrapper .hse-arrow svg {
	display: block;
	flex-shrink: 0;
	pointer-events: none;
}

.hse-wrapper .hse-arrow:hover {
	background-color: rgba(0, 0, 0, 0.45);
}

.hse-wrapper .hse-arrow:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.hse-arrow-prev {
	inset-inline-start: 20px;
}

.hse-arrow-next {
	inset-inline-end: 20px;
}

/* Flip chevrons so they always point toward "previous"/"next" in reading order */
[dir="rtl"] .hse-arrow-prev svg,
.hse-wrapper[dir="rtl"] .hse-arrow-prev svg {
	transform: scaleX(-1);
}

[dir="rtl"] .hse-arrow-next svg,
.hse-wrapper[dir="rtl"] .hse-arrow-next svg {
	transform: scaleX(-1);
}

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

.hse-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.hse-dot.is-active {
	background-color: #ffffff;
	transform: scale(1.3);
}

/* Responsive
   On tablet and mobile the content is always centered, regardless of the
   per-slide "Content Position" setting (which still applies on desktop). */
@media (max-width: 1024px) {
	.hse-content {
		max-width: 70%;
		margin-inline: auto !important;
		text-align: center !important;
		align-items: center !important;
	}
}

@media (max-width: 767px) {
	.hse-slide {
		height: 420px;
	}

	.hse-inner {
		padding-inline: 20px;
	}

	.hse-content {
		max-width: 100%;
		margin-inline: auto !important;
		text-align: center !important;
		align-items: center !important;
	}

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

	.hse-description {
		font-size: 15px;
	}

	.hse-wrapper .hse-arrow {
		width: 36px;
		height: 36px;
		min-width: 36px;
		min-height: 36px;
	}

	.hse-wrapper .hse-arrow svg {
		width: 16px;
		height: 16px;
	}
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	.hse-slide,
	.hse-track,
	.hse-button,
	.hse-arrow,
	.hse-dot {
		transition: none !important;
	}
}
