/* Simple Slider - Frontend Styles
   Author: NRW India | nrwone.in */

.ss-wrapper {
	box-sizing: border-box;
}
.ss-wrapper * {
	box-sizing: border-box;
}

/* Width modes */
.ss-width-full {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
}
.ss-width-boxed {
	width: 100%;
}
.ss-width-custom {
	width: 100%;
}

.ss-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: var(--ss-h-desktop, 500px);
	border-radius: var(--ss-radius, 0);
	background: #eee;
}

@media (max-width: 1024px) {
	.ss-slider { height: var(--ss-h-tablet, 400px); }
}
@media (max-width: 767px) {
	.ss-slider { height: var(--ss-h-mobile, 300px); }
}

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

.ss-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.01s;
}
.ss-slide.ss-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	position: relative;
}

/* Slide (translateX) effect */
.ss-effect-slide .ss-track {
	display: flex;
	height: 100%;
	transition: transform ease 0s;
}
.ss-effect-slide .ss-slide {
	position: relative;
	flex: 0 0 100%;
	max-width: 100%;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Fade effect */
.ss-effect-fade .ss-slide {
	position: absolute;
	transition: opacity ease 0s;
}
.ss-effect-fade .ss-slide.ss-active {
	z-index: 2;
}

.ss-slide-media {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.ss-slide-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.ss-slide-clickable {
	cursor: pointer;
}

.ss-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.ss-slide-content {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	padding: 5%;
	max-width: 640px;
}

/* Content positions */
.ss-pos-center .ss-slide-content { justify-content: center; align-items: center; text-align: center; left: 50%; transform: translateX(-50%); }
.ss-pos-left .ss-slide-content { justify-content: center; align-items: flex-start; text-align: left; }
.ss-pos-right .ss-slide-content { justify-content: center; align-items: flex-end; text-align: right; right: 0; left: auto; }
.ss-pos-top-left .ss-slide-content { justify-content: flex-start; align-items: flex-start; text-align: left; }
.ss-pos-top-center .ss-slide-content { justify-content: flex-start; align-items: center; text-align: center; left: 50%; transform: translateX(-50%); }
.ss-pos-top-right .ss-slide-content { justify-content: flex-start; align-items: flex-end; text-align: right; right: 0; left: auto; }
.ss-pos-bottom-left .ss-slide-content { justify-content: flex-end; align-items: flex-start; text-align: left; }
.ss-pos-bottom-center .ss-slide-content { justify-content: flex-end; align-items: center; text-align: center; left: 50%; transform: translateX(-50%); }
.ss-pos-bottom-right .ss-slide-content { justify-content: flex-end; align-items: flex-end; text-align: right; right: 0; left: auto; }

.ss-subtitle {
	font-size: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 8px;
	opacity: 0.9;
}
.ss-title {
	font-size: clamp(22px, 4vw, 44px);
	line-height: 1.2;
	margin: 0 0 12px;
	font-weight: 700;
}
.ss-description {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 18px;
	max-width: 90%;
}
.ss-description p { margin: 0 0 8px; }

.ss-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.ss-btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	transition: transform 0.15s ease, opacity 0.15s ease;
}
.ss-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.ss-btn-primary {
	background: #2271b1;
	color: #fff !important;
}
.ss-btn-secondary {
	background: transparent;
	color: inherit !important;
	border: 2px solid currentColor;
}

/* Arrows */
.ss-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	line-height: 44px;
	text-align: center;
	background: rgba(0,0,0,0.35);
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	padding: 0;
	transition: background 0.2s ease;
}
.ss-arrow:hover { background: rgba(0,0,0,0.6); }
.ss-prev { left: 16px; }
.ss-next { right: 16px; }

/* Dots */
.ss-dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 8px;
}
.ss-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.ss-dot.active {
	background: #fff;
	transform: scale(1.25);
}

@media (max-width: 600px) {
	.ss-arrow { width: 34px; height: 34px; line-height: 34px; font-size: 13px; }
	.ss-slide-content { padding: 6% 8%; }
	.ss-description { display: none; }
}
