/**
 * Zaad E Rah custom hero slider
 */

.zaad-e-rah-hero-slider {
	position: relative;
	width: 100%;
	height: var(--zaad-slider-height, 650px);
	overflow: hidden;
	background: #111;
}

.zaad-e-rah-hero-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.zaad-e-rah-hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0.8s ease;
	z-index: 1;
}

.zaad-e-rah-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.zaad-e-rah-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
}

.zaad-e-rah-hero-caption {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	text-align: center;
	color: #fff;
	width: 90%;
	max-width: 900px;
}

.zaad-e-rah-hero-title {
	font-size: 48px;
	font-weight: 700;
	margin: 0 0 15px;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.zaad-e-rah-hero-subtitle {
	font-size: 20px;
	margin: 0 0 20px;
	color: #fff;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.zaad-e-rah-hero-button {
	display: inline-block;
}

.zaad-e-rah-hero-nav {
	position: absolute !important;
	top: 50% !important;
	bottom: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: translateY(-50%);
	z-index: 5;
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 52px !important;
	height: 52px !important;
	min-width: 52px;
	min-height: 52px;
	border: 2px solid rgba(255, 255, 255, 0.85) !important;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.35) !important;
	color: #fff !important;
	font-size: 28px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
}

.zaad-e-rah-hero-nav i {
	display: block;
	line-height: 1;
	margin: 0;
	padding: 0;
	pointer-events: none;
}

.zaad-e-rah-hero-nav:hover,
.zaad-e-rah-hero-nav:focus {
	background: #ed3237 !important;
	border-color: #ed3237 !important;
	color: #fff !important;
	transform: translateY(-50%) scale(1.06);
	outline: none;
}

.zaad-e-rah-hero-prev {
	left: 30px !important;
	right: auto !important;
}

.zaad-e-rah-hero-next {
	right: 30px !important;
	left: auto !important;
}

.zaad-e-rah-hero-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 28px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	pointer-events: none;
}

.zaad-e-rah-hero-dot {
	pointer-events: auto;
	width: 10px !important;
	height: 10px !important;
	min-width: 10px;
	min-height: 10px;
	margin: 0 !important;
	padding: 0 !important;
	border: 2px solid #fff !important;
	border-radius: 50% !important;
	background: transparent !important;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.zaad-e-rah-hero-dot.is-active,
.zaad-e-rah-hero-dot:hover {
	background: #ed3237 !important;
	border-color: #ed3237 !important;
	transform: scale(1.15);
}

.gdlr-core-revolution-slider-item .zaad-e-rah-hero-slider {
	width: 100%;
}

@media only screen and (max-width: 767px) {
	.zaad-e-rah-hero-slider {
		height: calc(var(--zaad-slider-height, 650px) * 0.65);
		min-height: 280px;
	}

	.zaad-e-rah-hero-title {
		font-size: 28px;
	}

	.zaad-e-rah-hero-subtitle {
		font-size: 16px;
	}

	.zaad-e-rah-hero-nav {
		width: 40px !important;
		height: 40px !important;
		min-width: 40px;
		min-height: 40px;
		font-size: 22px !important;
	}

	.zaad-e-rah-hero-prev {
		left: 12px !important;
	}

	.zaad-e-rah-hero-next {
		right: 12px !important;
	}

	.zaad-e-rah-hero-dots {
		bottom: 16px;
	}
}
