/* =========================================================
   Hero Banner Slider — front-end styles
   ========================================================= */

.hbs-slider {
	position: relative;
	width: 100%;
	height: 640px;
	overflow: hidden;
	border-radius: 0;
	isolation: isolate;
}

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

/* ---- Individual slide ---- */
.hbs-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.06);
	transition: opacity 0.9s ease, transform 6s ease, visibility 0s linear 0.9s;
	z-index: 1;
}

.hbs-slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	transition: opacity 0.9s ease, transform 6s ease, visibility 0s linear 0s;
	z-index: 2;
}

.hbs-slide__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(20, 10, 15, 0.45);
	z-index: 1;
}

/* ---- Content container ---- */
.hbs-slide__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	height: 100%;
    max-width: 1200px !important;
	padding: 60px 120px;
	text-align: left;
}

.hbs-slide__badge {
	display: inline-block;
	background-color: #f472b6;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	padding: 12px 26px;
	border-radius: 30px;
	margin-bottom: 28px;
	white-space: normal;
}

.hbs-slide__title {
	color: #fff;
	font-size: 56px;
	font-weight: bold;
	line-height: 1.1;
	margin: 0 0 24px 0;
}

.hbs-slide__desc {
	color: #f1f1f1;
	font-size: 18px;
	line-height: 1.6;
	margin: 0 0 36px 0;
}

.hbs-slide__button {
	display: inline-block;
	background-color: #f43f5e;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	padding: 16px 34px;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.hbs-slide__button:hover {
	background-color: #e11d48;
	color: #fff;
	transform: translateY(-3px);
}

/* =========================================================
   IN-ANIMATIONS
   Built as CSS @keyframes tied directly to the .is-active class.
   Browsers always restart a keyframe animation the moment the
   "animation" property newly matches an element — so simply
   toggling .is-active on the slide (which the JS already does)
   is enough to replay it every time. No extra JS timing needed.
   ========================================================= */

@keyframes hbsGrowUp {
	from { opacity: 0; transform: translateY(40px) scale(0.85); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hbsSlideUp {
	from { opacity: 0; transform: translateY(50px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes hbsFade {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes hbsZoom {
	from { opacity: 0; transform: scale(0.7); }
	to   { opacity: 1; transform: scale(1); }
}

/* Base hidden state — prevents a flash of visible content before
   the animation kicks in, and is what the container reverts to the
   moment a slide loses .is-active. The whole content block (badge,
   title, description, button) animates together as one unit. */
.hbs-anim {
	opacity: 0;
	animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
	animation-duration: 0.9s;
	animation-fill-mode: both;
}

[data-animation="grow-up"]  .hbs-slide.is-active .hbs-anim { animation-name: hbsGrowUp; }
[data-animation="slide-up"] .hbs-slide.is-active .hbs-anim { animation-name: hbsSlideUp; }
[data-animation="fade"]     .hbs-slide.is-active .hbs-anim { animation-name: hbsFade; }
[data-animation="zoom"]     .hbs-slide.is-active .hbs-anim { animation-name: hbsZoom; }

/* =========================================================
   ARROWS
   ========================================================= */
.hbs-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.hbs-arrow:hover {
	background-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-50%) scale(1.06);
}

.hbs-arrow--prev { left: 40px; }
.hbs-arrow--next { right: 40px; }

/* =========================================================
   DOTS
   ========================================================= */
.hbs-dots {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 10px;
}

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

.hbs-dot.is-active {
	background-color: #f43f5e;
	width: 26px;
	border-radius: 6px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
	.hbs-slide__title { font-size: 44px; }
	.hbs-slide__content { padding: 50px 90px; }
}

@media (max-width: 767px) {
	.hbs-slider {
		height: auto;
		min-height: 560px;
	}
	.hbs-slide__content {
		padding: 32px 24px;
		max-width: 100%;
	}
	.hbs-slide__title {
		font-size: clamp(22px, 6vw, 32px);
		line-height: 1.25;
		margin-bottom: 14px;
	}
	.hbs-slide__desc {
		font-size: clamp(13px, 3.6vw, 15px);
		line-height: 1.55;
		margin-bottom: 20px;
	}
	.hbs-slide__badge {
		font-size: 12px;
		padding: 8px 18px;
		margin-bottom: 16px;
	}
	.hbs-slide__button {
		padding: 12px 26px;
		font-size: 14px;
	}
	.hbs-arrow {
		width: 34px;
		height: 34px;
	}
	.hbs-arrow--prev { left: 10px; }
	.hbs-arrow--next { right: 10px; }
	.hbs-dots { bottom: 14px; }
}

@media (max-width: 400px) {
	.hbs-slider { min-height: 600px; }
	.hbs-slide__title { font-size: clamp(20px, 6.5vw, 26px); }
	.hbs-arrow { display: none; }
}