/* ============================================================
FIX: NAVBAR VISIBLE IMMEDIATELY ON LOAD & STAYS VISIBLE
(does NOT touch background - keeps .glass transparency)
============================================================ */

#stickyNav,
#stickyNav.navbar-hidden {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transition: opacity 0.3s ease, transform 0.3s ease !important;
}

#stickyNav {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	z-index: 9999 !important;
}


.service-hero-bg {
	background: rgba(0, 0, 0, 0.5);
	/* ← lower this value, e.g. to 0.2 or 0.3 */
}


/* ============================================================ */
/* RTL SUPPORT FOR CORE VALUES - CENTER TEXT IN ARABIC          */
/* ============================================================ */
[lang="ar"] .value-text {
	text-align: center !important;
	direction: rtl !important;
}

[lang="ar"] .value-text h3 {
	text-align: center !important;
}

[lang="ar"] .value-text p {
	text-align: center !important;
}

/* For the badge text - keep it centered in Arabic too */
[lang="ar"] .inline-flex.items-center.gap-2 {
	direction: rtl !important;
}

/* Adjust icon position in Arabic for the badge */
[lang="ar"] .inline-flex.items-center.gap-2 .fa-diamond:first-child {
	order: 2;
}

[lang="ar"] .inline-flex.items-center.gap-2 .fa-diamond:last-child {
	order: 0;
}

/* For the bottom reinforcement text in Arabic */
[lang="ar"] .inline-flex.items-center.gap-3 {
	direction: rtl !important;
}

/* --- Parallax Section ------------------------------------------------ */
.lv-parallax {
	position: relative;
	width: 100%;
	height: 80vh;
	height: 85svh;
	min-height: 560px;
	max-height: 950px;
	overflow: hidden;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	/* bottom-anchored */
	justify-content: center;
	text-align: center;
	background-color: #0b0a0a;
	/* prevents white flash before image loads */
}

/* --- Parallax background layer ------------------------------ */
.lv-parallax__bg {
	position: absolute;
	top: -20%;
	left: 0;
	width: 100%;
	height: 140%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	z-index: 0;
	-webkit-tap-highlight-color: transparent;
	pointer-events: none;
}

/* --- Overlay: layered to match About hero ------------------- */
/* Combines a flat mid-tone scrim + bottom gradient              */
.lv-parallax__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		/* base scrim — mirrors hero's rgba(0,0,0,0.5) */
		linear-gradient(to bottom,
			rgba(0, 0, 0, 0.35) 0%,
			rgba(0, 0, 0, 0.25) 30%,
			rgba(11, 10, 10, 0.45) 60%,
			rgba(11, 10, 10, 0.80) 85%,
			rgba(11, 10, 10, 0.95) 100%);
	pointer-events: none;
}

/* --- Vignette: deep radial darkening for cinematic depth ---- */
.lv-parallax__vignette {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: radial-gradient(ellipse at center,
			transparent 30%,
			rgba(0, 0, 0, 0.25) 55%,
			rgba(0, 0, 0, 0.60) 80%,
			rgba(0, 0, 0, 0.85) 100%);
	pointer-events: none;
}

/* --- Glow blobs (optional, kept subtle) -------------------- */
.lv-parallax__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	z-index: 2;
	pointer-events: none;
	opacity: 0.25;
}

.lv-parallax__glow--1 {
	top: 15%;
	left: -5%;
	width: 320px;
	height: 320px;
	background: rgba(212, 180, 140, 0.08);
}

.lv-parallax__glow--2 {
	bottom: 10%;
	right: -5%;
	width: 380px;
	height: 380px;
	background: rgba(212, 180, 140, 0.06);
}

/* --- Content container: bottom-anchored, fully centered ---- */
.lv-parallax__content {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1400px;
	padding: 0 2rem 4rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	text-align: center;
}

/* --- Inner wrapper: no card, centered ---------------------- */
.lv-parallax__inner {
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
	box-shadow: none;
	padding: 0;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

/* --- The quote --------------------------------------------- */
.lv-parallax__quote {
	font-family: 'Playfair Display', 'Inter', serif;
	font-weight: 300;
	font-size: clamp(1.5rem, 2.4vw + 0.5rem, 2.5rem);
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: #f2ead9;
	margin: 0 auto;
	text-align: center;
	display: block;
	max-width: 100%;
	text-shadow:
		0 1px 3px rgba(0, 0, 0, 0.9),
		0 4px 20px rgba(0, 0, 0, 0.7),
		0 8px 40px rgba(0, 0, 0, 0.5);
	/* NOTE: no white-space: nowrap — allowing wrap keeps it centered */
}

/* --- Small line under the quote ---------------------------- */
.lv-parallax__est {
	color: rgba(212, 180, 140, 0.75);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	margin: 1.75rem auto 0;
	text-align: center;
	display: block;
	width: 100%;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* --- RTL (Arabic) ----------------------------------------- */
[lang="ar"] .lv-parallax__quote,
[lang="ar"] .lv-parallax__inner,
[lang="ar"] .lv-parallax__content {
	direction: rtl;
	text-align: center;
}

/* ============================================================
RESPONSIVE
============================================================ */

/* Tablets and small laptops — allow wider wrap, tighter padding */
@media (max-width: 1100px) {
	.lv-parallax__quote {
		max-width: 900px;
		line-height: 1.3;
	}
}

/* Touch devices — no expensive blur, tighter spacing */
@media (pointer: coarse),
(hover: none) {
	.lv-parallax {
		min-height: 500px;
	}

	.lv-parallax__content {
		padding: 0 1.5rem 3rem;
	}

	.lv-parallax__quote {
		font-size: clamp(1.25rem, 4.5vw, 1.75rem);
		line-height: 1.3;
		text-shadow:
			0 1px 3px rgba(0, 0, 0, 0.95),
			0 4px 16px rgba(0, 0, 0, 0.8);
	}

	.lv-parallax__est {
		font-size: 0.62rem;
		letter-spacing: 0.3em;
		margin-top: 1.25rem;
	}

	/* keep the hero feel on touch too — slightly lighter edges */
	.lv-parallax__overlay {
		background:
			linear-gradient(to bottom,
				rgba(0, 0, 0, 0.30) 0%,
				rgba(0, 0, 0, 0.20) 30%,
				rgba(11, 10, 10, 0.40) 60%,
				rgba(11, 10, 10, 0.75) 85%,
				rgba(11, 10, 10, 0.92) 100%);
	}

	.lv-parallax__vignette {
		background: radial-gradient(ellipse at center,
				transparent 35%,
				rgba(0, 0, 0, 0.20) 60%,
				rgba(0, 0, 0, 0.50) 85%,
				rgba(0, 0, 0, 0.75) 100%);
	}
}

/* Small phones */
@media (max-width: 480px) {
	.lv-parallax__quote {
		font-size: 1.15rem;
		line-height: 1.35;
	}
}

/* --- Reduced motion: freeze the background ----------------- */
@media (prefers-reduced-motion: reduce) {
	.lv-parallax__bg {
		transform: none !important;
	}
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.animate-scroll {
	animation: scroll 40s linear infinite;
	width: max-content;
}

.animate-scroll:hover {
	animation-play-state: paused;
}

@media (max-width: 768px) {
	.animate-scroll {
		animation-duration: 25s;
	}
}