/**
 * Custom Elementor Slider Widget - Frontend styles.
 * Only structural/layout CSS lives here; visual styling comes from
 * Elementor's Style tab controls (inline <style> generated per-widget).
 */

.ces-slider-wrapper {
	position: relative;
	width: 100%;
}

.ces-slider {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
}

.ces-slider .swiper-wrapper {
	height: 100%;
}

.ces-slider .swiper-slide {
	height: 100%;
	position: relative;
}

.ces-slide-inner {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.ces-slide-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 0;
}

.ces-slide-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #000;
	opacity: 0.4;
	z-index: 1;
}

.ces-slide-content-wrap {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.ces-slide-content {
	max-width: 100%;
	text-align: center;
}

.ces-slide-title {
	margin: 0 0 15px;
	color: #ffffff;
}

.ces-slide-description {
	margin: 0 0 20px;
	color: #f2f2f2;
}

.ces-slide-button {
	display: inline-block;
	cursor: pointer;
	text-decoration: none;
	background-color: #0073e6;
	color: #ffffff;
	padding: 12px 28px;
	border-radius: 4px;
	transition: all 0.3s ease;
	line-height: 1.4;
}

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

.ces-arrow-prev {
	left: 20px;
}

.ces-arrow-next {
	right: 20px;
}

.ces-arrow svg {
	width: 20px;
	height: 20px;
	display: block;
}

.ces-arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Pagination dots */
.ces-slider .swiper-pagination {
	position: absolute;
	bottom: 16px;
	left: 0;
	right: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
	align-items: center;
}

.ces-slider .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background-color: #ffffff;
	opacity: 0.6;
	border-radius: 50%;
	margin: 0 6px;
	cursor: pointer;
	transition: background-color 0.3s ease, opacity 0.3s ease;
}

.ces-slider .swiper-pagination-bullet-active {
	background-color: #0073e6;
	opacity: 1;
}

/* Responsive: stack content sensibly on very small screens */
@media (max-width: 480px) {
	.ces-slide-content {
		padding: 0 15px;
	}

	.ces-arrow {
		width: 36px;
		height: 36px;
	}
}


.ces-slide-content {
	opacity: 0;
	will-change: opacity, transform;
}

.ces-slide-content.is-animated {
	opacity: 1;
	animation-fill-mode: both;
}

.ces-slide-content.no-animation {
	opacity: 1;
}

@keyframes cesFadeUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-up {
	animation-name: cesFadeUp;
}

@keyframes cesFade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.fade {
	animation-name: cesFade;
}

@keyframes cesZoomIn {
	from {
		opacity: 0;
		transform: scale(.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.zoom-in {
	animation-name: cesZoomIn;
}