/* Hero Slider for Elementor — frontend styles */

.hse-slider-wrapper {
	width: 100%;
}

.hse-slider {
	position: relative;
	width: 100%;
	height: 530px;
	overflow: hidden;
	border-radius: 4px;
}

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

.hse-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
	transition: opacity 0.6s ease;
}

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

/* SLIDE (horizontal) transition mode */
.hse-slider[data-effect="slide"] .hse-slide {
	transition: transform 0.6s ease, opacity 0s;
	transform: translateX(100%);
	opacity: 1;
	visibility: visible;
}
.hse-slider[data-effect="slide"] .hse-slide.is-active {
	transform: translateX(0);
}
.hse-slider[data-effect="slide"] .hse-slide.hse-slide--prev {
	transform: translateX(-100%);
}

.hse-slide__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-color: rgba(0, 0, 0, 0);
}

.hse-content-box {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: 400px;
	max-width: 90%;
	background-color: #ffffff;
	padding: 40px;
}

.hse-content-box__title {
	margin: 0 0 15px 0;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.1;
	color: #1a1a1a;
}

.hse-content-box__desc {
	margin: 0 0 25px 0;
	font-size: 16px;
	line-height: 1.5;
	color: #4a4a4a;
}

.hse-content-box__button {
	display: inline-block;
	text-decoration: none;
	font-weight: 600;
	color: #1a1a1a;
	background-color: #8dc63f;
	padding: 12px 24px;
	border-radius: 2px;
	transition: background-color 0.2s ease, color 0.2s ease;
	cursor: pointer;
	border: none;
}

.hse-content-box__button:hover {
	background-color: #78b02e;
	color: #1a1a1a;
}

/* Arrows */
.hse-nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.35);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.2s ease;
}

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

.hse-nav-arrow svg {
	width: 60%;
	height: 60%;
}

.hse-nav-arrow--prev {
	left: 20px;
}

.hse-nav-arrow--next {
	right: 20px;
}

/* Dots */
.hse-dots {
	position: absolute;
	bottom: 20px;
	left: 30px;
	right: 30px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
}

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

.hse-dot.is-active {
	background-color: #1a1a1a;
	transform: scale(1.1);
}

/* Responsive fallback for small screens */
@media (max-width: 767px) {
	.hse-content-box {
		width: 90%;
	}
}
