:root {
	--blue-900: #1e3a8a;
	--blue-700: #2563eb;
	--green-600: #16a34a;
	--green-500: #22c55e;
	--dark: #0f172a;
	--text: #111827;
	--light: #f8fafc;
	--white: #ffffff;
	--line: rgba(30, 58, 138, 0.14);
	--radius: 20px;
	--shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.1);
	--shadow-card: 0 14px 32px rgba(15, 23, 42, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--text);
	background:
		radial-gradient(circle at 12% 10%, rgba(34, 197, 94, 0.14), transparent 35%),
		radial-gradient(circle at 88% 2%, rgba(37, 99, 235, 0.18), transparent 40%),
		var(--light);
	line-height: 1.7;
	transition: opacity 0.35s ease;
}

body.lang-switching {
	opacity: 0.92;
}

body.lang-ar {
	font-family: "Cairo", sans-serif;
}

body.lang-en {
	font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
p {
	margin: 0;
}

a {
	color: inherit;
}

img {
	display: block;
	max-width: 100%;
}

.container {
	width: min(1200px, 92%);
	margin-inline: auto;
}

.section {
	padding: 100px 0;
}

.section-soft {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(238, 246, 255, 0.74));
}

.section-head {
	margin-bottom: 34px;
}

.section-tag {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 0.88rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--green-600);
	font-weight: 800;
}

h2 {
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	line-height: 1.25;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(248, 250, 252, 0.45);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
	background: rgba(248, 250, 252, 0.9);
	border-bottom-color: var(--line);
	box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.nav-wrap {
	min-height: 82px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.brand {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	max-width: 300px;
}

.brand-logo {
	width: clamp(170px, 19vw, 250px);
	height: auto;
	object-fit: contain;
}

.header-actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.nav {
	margin-inline-start: auto;
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav a {
	text-decoration: none;
	font-weight: 700;
	color: rgba(17, 24, 39, 0.84);
	padding: 10px 13px;
	border-radius: 999px;
	transition: all 0.35s ease;
}

.nav a:hover,
.nav a.active {
	color: var(--blue-900);
	background: rgba(37, 99, 235, 0.12);
}

.lang-toggle {
	border: 1px solid rgba(30, 58, 138, 0.22);
	background: rgba(255, 255, 255, 0.88);
	color: var(--dark);
	border-radius: 999px;
	height: 42px;
	width: 42px;
	padding: 0;
	display: inline-grid;
	place-items: center;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
}

.lang-toggle:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(30, 58, 138, 0.14);
}

.lang-flag {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(30, 58, 138, 0.24);
	border-radius: 12px;
	background: var(--white);
	cursor: pointer;
	padding: 8px;
}

.menu-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--dark);
	margin: 5px 0;
}

.hero {
	position: relative;
	min-height: 100vh;
	display: grid;
	align-items: center;
	overflow: hidden;
}

.hero-slider {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 1s ease, transform 7s ease;
}

.hero-slide.is-active {
	opacity: 1;
	transform: scale(1);
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.16), transparent 45%),
		linear-gradient(135deg, rgba(37, 99, 235, 0.58) 0%, rgba(30, 58, 138, 0.68) 62%, rgba(15, 23, 42, 0.72) 100%);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(120deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.28));
}

.hero-shapes {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.shape {
	position: absolute;
	border-radius: 30px;
	filter: blur(0.2px);
	animation: float 7s ease-in-out infinite;
}

.shape-1 {
	width: 220px;
	height: 220px;
	inset-inline-start: 7%;
	top: 14%;
	background: rgba(34, 197, 94, 0.18);
}

.shape-2 {
	width: 160px;
	height: 160px;
	inset-inline-end: 12%;
	top: 24%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	animation-delay: -1.5s;
}

.shape-3 {
	width: 240px;
	height: 90px;
	inset-inline-end: 18%;
	bottom: 12%;
	background: rgba(37, 99, 235, 0.28);
	animation-delay: -3.2s;
}

.hero-content {
	position: relative;
	z-index: 4;
	color: var(--white);
	max-width: 760px;
	padding-block: 110px 80px;
}

.hero-kicker {
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.2em;
	font-size: 0.78rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.hero h1 {
	font-size: clamp(2.1rem, 6vw, 4.2rem);
	line-height: 1.14;
	margin-bottom: 14px;
}

.hero p {
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: rgba(255, 255, 255, 0.92);
	max-width: 62ch;
}

.hero-actions {
	margin-top: 28px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.btn {
	text-decoration: none;
	border-radius: 999px;
	padding: 12px 24px;
	font-weight: 700;
	transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.btn:hover {
	transform: translateY(-2px) scale(1.02);
}

.btn-primary {
	background: linear-gradient(135deg, #22c55e, #16a34a);
	color: var(--white);
	box-shadow: 0 12px 28px rgba(22, 163, 74, 0.36);
}

.btn-primary:hover {
	box-shadow: 0 16px 34px rgba(22, 163, 74, 0.44);
}

.btn-outline {
	border: 1.6px solid rgba(255, 255, 255, 0.65);
	color: var(--white);
	background: rgba(255, 255, 255, 0.07);
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.16);
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: center;
}

.about-content p {
	font-size: 1.04rem;
	color: #334155;
}

.about-content p + p {
	margin-top: 12px;
}

.about-media {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.about-media img {
	width: 100%;
	height: 420px;
	object-fit: cover;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.product-card {
	position: relative;
	min-height: 320px;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	isolation: isolate;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.product-overlay {
	position: absolute;
	inset: auto 0 0;
	padding: 16px;
	color: var(--white);
	background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.9));
}

.product-overlay h3 {
	margin-bottom: 4px;
	font-size: 1.1rem;
}

.product-overlay p {
	font-size: 0.92rem;
	opacity: 0.95;
}

.product-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 22px 40px rgba(15, 23, 42, 0.22);
}

.product-card:hover img {
	transform: scale(1.08);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.service-card {
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(37, 99, 235, 0.18);
	border-radius: var(--radius);
	padding: 22px;
	box-shadow: var(--shadow-soft);
	transition: transform 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
	transform: translateY(-6px);
	border-color: rgba(34, 197, 94, 0.46);
}

.service-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	color: var(--blue-900);
	background: rgba(37, 99, 235, 0.12);
	margin-bottom: 12px;
}

.service-icon svg {
	width: 26px;
	height: 26px;
}

.service-card h3 {
	margin-bottom: 8px;
}

.service-card p {
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.7;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.stat-card {
	border-radius: var(--radius);
	padding: 24px;
	background: var(--white);
	border: 1px solid rgba(30, 58, 138, 0.14);
	box-shadow: var(--shadow-soft);
	text-align: center;
}

.stat-number {
	font-size: clamp(2rem, 5vw, 2.8rem);
	font-weight: 800;
	color: var(--blue-900);
	line-height: 1;
	margin-bottom: 8px;
}

.stat-label {
	font-weight: 700;
	color: #475569;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.gallery-item {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	aspect-ratio: 16 / 10;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s ease, filter 0.55s ease;
}

.gallery-item:hover img {
	transform: scale(1.08);
	filter: saturate(1.14);
}

.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.92);
	display: grid;
	place-items: center;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
	z-index: 1400;
}

.lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.lightbox img {
	max-width: min(1100px, 92vw);
	max-height: 82vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close,
.lightbox-arrow {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	cursor: pointer;
	font-size: 1.3rem;
	display: inline-grid;
	place-items: center;
	transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.04);
}

.lightbox-close {
	top: 18px;
	right: 18px;
	font-size: 1.7rem;
	line-height: 1;
}

.lightbox-prev {
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-next {
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 18px;
	align-items: stretch;
}

.contact-panel {
	background: var(--white);
	border: 1px solid rgba(30, 58, 138, 0.14);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: var(--shadow-soft);
}

.contact-list {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.contact-list li {
	border: 1px solid rgba(30, 58, 138, 0.12);
	border-radius: 14px;
	background: #fdfefe;
	padding: 12px;
}

.contact-list span {
	display: block;
	font-size: 0.82rem;
	color: #64748b;
	margin-bottom: 4px;
	font-weight: 700;
}

.contact-list a {
	text-decoration: none;
	color: var(--blue-900);
	font-weight: 700;
}

.contact-list p {
	color: #0f172a;
}

.whatsapp-inline {
	margin-top: 18px;
	display: inline-flex;
	text-decoration: none;
	border-radius: 999px;
	background: linear-gradient(135deg, #22c55e, #16a34a);
	color: var(--white);
	font-weight: 700;
	padding: 12px 18px;
	box-shadow: 0 12px 24px rgba(22, 163, 74, 0.28);
	transition: transform 0.35s ease;
}

.whatsapp-inline:hover {
	transform: translateY(-2px);
}

.map-wrap {
	border-radius: var(--radius);
	overflow: hidden;
	min-height: 430px;
	box-shadow: var(--shadow-soft);
	border: 1px solid rgba(30, 58, 138, 0.14);
}

.map-wrap iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	text-decoration: none;
	color: var(--white);
	background: linear-gradient(135deg, #22c55e, #16a34a);
	box-shadow: 0 12px 26px rgba(22, 163, 74, 0.45);
	z-index: 1200;
	animation: pulse 2.2s infinite;
}

.whatsapp-float svg {
	width: 28px;
	height: 28px;
}

.site-footer {
	background: var(--dark);
	color: rgba(248, 250, 252, 0.85);
	padding: 22px 0;
	text-align: center;
}

.site-footer p {
	font-size: 0.95rem;
}

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.scale-in {
	transform: scale(0.94);
}

.reveal.slide-in {
	transform: translateX(28px);
}

html[dir="ltr"] .reveal.slide-in {
	transform: translateX(-28px);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5), 0 12px 26px rgba(22, 163, 74, 0.4);
	}
	70% {
		box-shadow: 0 0 0 14px rgba(34, 197, 94, 0), 0 12px 26px rgba(22, 163, 74, 0.4);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 12px 26px rgba(22, 163, 74, 0.4);
	}
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-14px);
	}
}

@media (max-width: 1080px) {
	.products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 880px) {
	.nav-wrap {
		gap: 10px;
	}

	.menu-toggle {
		display: inline-block;
	}

	.header-actions {
		margin-inline-start: auto;
	}

	.nav {
		position: absolute;
		top: 86px;
		inset-inline: 4%;
		border-radius: 16px;
		padding: 10px;
		background: rgba(248, 250, 252, 0.97);
		border: 1px solid rgba(30, 58, 138, 0.18);
		box-shadow: var(--shadow-soft);
		flex-direction: column;
		align-items: stretch;
		opacity: 0;
		pointer-events: none;
		transform: translateY(-10px);
		transition: opacity 0.3s ease, transform 0.3s ease;
	}

	.nav.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.nav a {
		text-align: start;
		border-radius: 12px;
	}

	.about-grid,
	.services-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.about-media img {
		height: 320px;
	}

	.hero {
		min-height: 90vh;
	}

	.brand {
		max-width: 260px;
	}

	.brand-logo {
		width: clamp(160px, 40vw, 220px);
	}
}

@media (max-width: 640px) {
	.section {
		padding: 82px 0;
	}

	.hero-content {
		padding-top: 120px;
	}

	.hero-actions .btn {
		width: 100%;
		text-align: center;
	}

	.products-grid,
	.stats-grid,
	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.gallery-item {
		aspect-ratio: 16 / 10;
	}

	.lightbox-arrow {
		width: 42px;
		height: 42px;
	}

	.lightbox-prev {
		left: 10px;
	}

	.lightbox-next {
		right: 10px;
	}
}
