/* Animated Sequence Slider for Elementor */

.ass-slider {
	--ass-anim-dur: 4500ms;
	--ass-fade-dur: 700ms;
	position: relative;
	width: 100%;
	height: 520px;
	overflow: hidden;
	border-radius: 14px;
	background: #0f172a;
	user-select: none;
	box-sizing: border-box;
}

.ass-slider *,
.ass-slider *::before,
.ass-slider *::after {
	box-sizing: border-box;
}

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

.ass-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
	transition: opacity var(--ass-fade-dur) ease;
}

.ass-slide.is-leaving {
	opacity: 0;
	z-index: 1;
}

.ass-slide.is-active {
	opacity: 1;
	z-index: 2;
	pointer-events: auto;
}

.ass-slide-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform-origin: center center;
	will-change: transform, filter;
}

/* =========================================================
   10 PER-SLIDE ANIMATIONS (triggered on .is-active)
   ========================================================= */
@keyframes assZoomIn {
	0%   { transform: scale(1); }
	100% { transform: scale(1.16); }
}

@keyframes assZoomOut {
	0%   { transform: scale(1.18); }
	100% { transform: scale(1); }
}

@keyframes assPanLeft {
	0%   { transform: scale(1.14) translate3d(3%, 0, 0); }
	100% { transform: scale(1.14) translate3d(-3%, 0, 0); }
}

@keyframes assPanRight {
	0%   { transform: scale(1.14) translate3d(-3%, 0, 0); }
	100% { transform: scale(1.14) translate3d(3%, 0, 0); }
}

@keyframes assSlideLeft {
	0%   { transform: scale(1.06) translate3d(6%, 0, 0); }
	100% { transform: scale(1) translate3d(0, 0, 0); }
}

@keyframes assSlideRight {
	0%   { transform: scale(1.06) translate3d(-6%, 0, 0); }
	100% { transform: scale(1) translate3d(0, 0, 0); }
}

@keyframes assSlideUp {
	0%   { transform: scale(1.06) translate3d(0, 6%, 0); }
	100% { transform: scale(1) translate3d(0, 0, 0); }
}

@keyframes assSlideDown {
	0%   { transform: scale(1.06) translate3d(0, -6%, 0); }
	100% { transform: scale(1) translate3d(0, 0, 0); }
}

@keyframes assRotateZoom {
	0%   { transform: scale(1.14) rotate(-2deg); }
	100% { transform: scale(1.02) rotate(0deg); }
}

@keyframes assBlurFade {
	0%   { transform: scale(1.08); filter: blur(10px); }
	30%  { filter: blur(0px); }
	100% { transform: scale(1); filter: blur(0px); }
}

.ass-slide.is-active[data-anim="zoom-in"] .ass-slide-img {
	animation: assZoomIn var(--ass-anim-dur) ease-out forwards;
}
.ass-slide.is-active[data-anim="zoom-out"] .ass-slide-img {
	animation: assZoomOut var(--ass-anim-dur) ease-out forwards;
}
.ass-slide.is-active[data-anim="pan-left"] .ass-slide-img {
	animation: assPanLeft var(--ass-anim-dur) ease-in-out forwards;
}
.ass-slide.is-active[data-anim="pan-right"] .ass-slide-img {
	animation: assPanRight var(--ass-anim-dur) ease-in-out forwards;
}
.ass-slide.is-active[data-anim="slide-left"] .ass-slide-img {
	animation: assSlideLeft var(--ass-anim-dur) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ass-slide.is-active[data-anim="slide-right"] .ass-slide-img {
	animation: assSlideRight var(--ass-anim-dur) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ass-slide.is-active[data-anim="slide-up"] .ass-slide-img {
	animation: assSlideUp var(--ass-anim-dur) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ass-slide.is-active[data-anim="slide-down"] .ass-slide-img {
	animation: assSlideDown var(--ass-anim-dur) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ass-slide.is-active[data-anim="rotate-zoom"] .ass-slide-img {
	animation: assRotateZoom var(--ass-anim-dur) ease-out forwards;
}
.ass-slide.is-active[data-anim="blur-fade"] .ass-slide-img {
	animation: assBlurFade var(--ass-anim-dur) ease-out forwards;
}

/* Overlay & Captions */
.ass-slide-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.28);
	z-index: 1;
	pointer-events: none;
}

.ass-slide-caption {
	position: absolute;
	left: 8%;
	right: 8%;
	bottom: 14%;
	z-index: 2;
	color: #ffffff;
	max-width: 640px;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.55s ease 0.18s, transform 0.55s ease 0.18s;
}

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

.ass-slide-title {
	margin: 0 0 8px;
	font-size: clamp(22px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	color: inherit;
}

.ass-slide-subtitle {
	margin: 0 0 16px;
	font-size: clamp(14px, 1.4vw, 18px);
	line-height: 1.5;
	opacity: 0.92;
}

.ass-slide-btn {
	display: inline-flex;
	align-items: center;
	padding: 10px 22px;
	border-radius: 8px;
	background: #4f46e5;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: filter 0.2s ease, transform 0.2s ease;
}
.ass-slide-btn:hover {
	filter: brightness(1.1);
	transform: translateY(-2px);
	color: #ffffff;
}

/* Navigation Arrows */
.ass-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(15, 23, 42, 0.48);
	backdrop-filter: blur(8px);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease, transform 0.2s ease;
}
.ass-nav-btn:hover {
	background: rgba(15, 23, 42, 0.8);
	transform: translateY(-50%) scale(1.06);
}
.ass-nav-btn svg {
	width: 20px;
	height: 20px;
}
.ass-prev { left: 16px; }
.ass-next { right: 16px; }

/* Pagination Dots */
.ass-dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.36);
	backdrop-filter: blur(6px);
}

.ass-dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	border: none;
	padding: 0;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: width 0.25s ease, background-color 0.25s ease;
}
.ass-dot.is-active {
	width: 24px;
	background-color: #4f46e5;
}
