/* ==========================================================================
   Wida — نسخة مطابقة من التصميم (ألوان / خطوط / تخطيط)
   ========================================================================== */

@font-face {
	font-family: 'SHA';
	src: url('../fonts/itfshaheenArabicD-Regular.otf') format('opentype');
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'SHA';
	src: url('../fonts/itfshaheenArabicD-Light.otf') format('opentype');
	font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'SHA';
	src: url('../fonts/itfshaheenArabicD-Medium.otf') format('opentype');
	font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'SHA';
	src: url('../fonts/itfshaheenArabicD-Bold.otf') format('opentype');
	font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'SHA';
	src: url('../fonts/itfshaheenArabicD-Black.otf') format('opentype');
	font-weight: 900; font-style: normal; font-display: swap;
}

:root{
	--c1: #6e4fdc;       /* بنفسجي أساسي */
	--c2: #9168ea;       /* بنفسجي فاتح */
	--c3: #e6c8fe;       /* لافندر فاتح */
	--c4: #dc8dd9;       /* وردي بنفسجي */
	--dark: #171231;     /* خلفية الهيدر/الفوتر الداكنة */
	--hero-dark: #0a0a0a;
	--gray: #666666;
	--gray2: #939597;
	--white: #ffffff;
	--radius: 16px;
	--container: 1400px;
	--font: 'SHA', 'Tajawal', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
	margin: 0;
	font-family: var(--font);
	color: #171231;
	background: #fff;
	overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4{ font-weight: 600; margin: 0 0 .5em; line-height: 1.3; }
p{ line-height: 1.9; color: var(--gray); }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.overline{
	font-size: clamp(1.1rem, 2vw, 1.6rem);
	font-weight: 400;
	letter-spacing: 2px;
	color: var(--c2);
	display: block;
	margin-bottom: .4em;
}
.overline--light{ color: var(--c3); }

.title-flag{
	display: inline-block;
	width: 20px; height: 19px;
	background: var(--c2);
	clip-path: polygon(100% 0, 86% 100%, 0 0);
	margin-inline-end: 10px;
}
.title-flag--sm{ width: 12px; height: 11px; flex-shrink: 0; }

/* ---------- Buttons (مطابقة لنظام الأزرار الأصلي في global.min.css) ---------- */
.btn{
	font-size: 1em;
	display: flex;
	align-items: center;
	text-align: center;
	gap: .4em;
	padding: .7em 1.3em;
	line-height: 1.3;
	user-select: none;
	background-color: transparent;
	box-shadow: none;
	text-transform: none;
	border: none;
	border-radius: 8px;
	width: fit-content;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	transition: all .2s ease-in-out;
}
.btn:hover{ transform: scale(1.03); }

.btn--sm{ font-size: .85em; }
.btn--md{ font-size: 1.2em; }
.btn--lg{ font-size: 1.4em; }

.btn--color1{ background-color: var(--c1); color: #fff; }
.btn--color2{ background-color: var(--c2); color: #fff; }
.btn--white{ background-color: #fff; color: var(--c1); }
.btn--outline-color1{ background-color: transparent; box-shadow: inset 0 0 0 2px var(--c1); color: var(--c1); font-weight: 400; }
.btn--outline-white{ background-color: transparent; box-shadow: inset 0 0 0 1px #fff; color: #fff; font-weight: 400; }
.btn--clear-dark{ background-color: transparent; color: var(--c2); }
.btn--clear-white{ background-color: transparent; color: rgba(255,255,255,.8); font-weight: 400; }

/* الزر المميز بحدود متدرجة وشارة دائرية بسهم — يُستخدم في الهيرو وقسم الشراكات */
.btn--outline-color2{
	position: relative;
	background: transparent;
	color: #fff;
	font-weight: 400;
	padding-block: .85em .5em;
	padding-inline: 1.3em 50px;
}
.btn--outline-color2::before{
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px;
	background: linear-gradient(90deg, #6E4FDC 5%, #9168EA 63%, #DC8DD9 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: -1;
	transition: all .3s cubic-bezier(.4,0,.2,1);
}
.btn__badge{
	position: absolute;
	top: 50%;
	inset-inline-end: -25px;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: linear-gradient(90deg, #6E4FDC 21%, #9168EA 63%, #DC8DD9 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .3s cubic-bezier(.4,0,.2,1);
}
.btn--outline-color2:hover{ background: linear-gradient(90deg, rgba(110,79,220,.12) 5%, rgba(145,104,234,.12) 63%, rgba(220,141,217,.12) 100%); }
.btn--outline-color2:hover .btn__badge{
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 0 20px rgba(110,79,220,.6), 0 0 40px rgba(145,104,234,.4);
}

/* زر شفاف بأيقونة SVG مخصّصة (مثال: "شاهد المزيد من الشراكات الناجحة") */
.btn--icon{ font-weight: 700; }
.btn--icon svg{ transition: transform .2s ease; }
.btn--icon:hover svg{ transform: translateX(4px) rotate(0deg); }

/* ---------- Header ---------- */
.header{
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 100;
	transition: background .35s ease, backdrop-filter .35s ease, padding .3s ease;
	background: var(--dark);
}
.header--trans{ background: transparent; }
.header.is-scrolled{
	background: rgba(23, 18, 49, .85);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.header__inner{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 18px;
}
.header__logo img{ height: 40px; }
.header__menu{ display: flex; gap: 8px; }
.header__menu a{
	color: #fff;
	padding: 10px 14px;
	font-size: .95rem;
	position: relative;
	transition: opacity .2s;
}
.header__menu li.is-active a,
.header__menu a:hover{ opacity: .75; }
.header__menu a::after{
	content: '';
	position: absolute;
	bottom: 4px; left: 14px; right: 14px;
	height: 2px; background: #fff;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .25s ease;
}
.header__menu li.is-active a::after,
.header__menu a:hover::after{ transform: scaleX(1); }

.header__actions{ display: flex; align-items: center; gap: 16px; }

/* ---------- Language switcher (مطابق تمامًا لتصميم الموقع الأصلي) ---------- */
.language-switcher{ position: relative; }
.language-switcher__trigger{
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8.5px 10px;
	background: transparent;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 26px;
	color: #fff;
	cursor: pointer;
	transition: all .3s ease;
	font-size: 14px;
	font-weight: 500;
	font-family: var(--font);
}
.language-switcher__trigger:hover{ background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.language-switcher__trigger:focus{ outline: 2px solid rgba(255,255,255,.5); outline-offset: 2px; }
.language-switcher__icon{ display: flex; align-items: center; }
.language-switcher__code{ font-weight: 600; letter-spacing: .5px; height: 16px; }
.language-switcher__dropdown{ display: flex; align-items: center; transition: transform .3s ease; }
.language-switcher__trigger[aria-expanded="true"] .language-switcher__dropdown svg{ transform: rotate(180deg); }

.language-switcher__dropdown-menu{
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-end: 0;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,.15);
	min-width: 120px;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all .3s ease;
}
.language-switcher__dropdown-menu[aria-hidden="false"]{ opacity: 1; visibility: visible; transform: translateY(0); }
.language-switcher__option{
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	color: #333;
	text-decoration: none;
	transition: background-color .2s ease;
}
.language-switcher__option:hover{ background: rgba(220,141,217,.1); color: var(--c2); }
.language-switcher__option:first-child{ border-radius: 8px 8px 0 0; }
.language-switcher__option:last-child{ border-radius: 0 0 8px 8px; }
.nav-toggle{
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}
.nav-toggle span{ width: 24px; height: 2px; background: #fff; display: block; }

.mobile-nav{
	position: fixed; inset-inline: 0; top: 0;
	background: var(--dark);
	z-index: 99;
	padding: 100px 24px 40px;
	transform: translateY(-100%);
	transition: transform .35s ease;
}
.mobile-nav.is-open{ transform: translateY(0); }
.mobile-nav ul{ display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a{ color: #fff; display: block; padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }

/* ---------- Hero ---------- */
.hero{
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	background-color: var(--hero-dark); /* نفس لون خلفية الهيرو الأصلي */
	color: #fff;
	overflow: hidden;
	padding-top: 140px;
	padding-bottom: 80px;
}
/* الصورة الخلفية الأصلية للموقع (Asset-2@2x) بنفس القيم الأصلية: cover + opacity .85 */
.hero__background-image{
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: .85;
	z-index: 0;
}
#hero-canvas{
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	z-index: 1;
	opacity: .55;
	mix-blend-mode: screen;
}
.hero__overlay{
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.6) 85%);
	z-index: 2;
	pointer-events: none;
}
.hero__social{
	position: absolute;
	inset-inline-end: 40px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 22px;
	z-index: 3;
}
.hero__social a{ color: #fff; opacity: .75; transition: opacity .2s; }
.hero__social a:hover{ opacity: 1; }
.hero__content{ position: relative; z-index: 3; max-width: 900px; }
.hero__title{
	font-size: clamp(2.4rem, 5vw, 4rem);
	font-weight: 600;
	margin-bottom: .4em;
}
.hero__subtitle{ color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 640px; margin-bottom: 2em; }
.scroll-indicator{
	position: absolute;
	bottom: 30px; left: 50%;
	transform: translateX(-50%);
	width: 26px; height: 42px;
	border: 2px solid rgba(255,255,255,.4);
	border-radius: 20px;
	z-index: 2;
}
.scroll-indicator span{
	position: absolute; top: 8px; left: 50%;
	width: 4px; height: 8px;
	background: #fff;
	border-radius: 2px;
	transform: translateX(-50%);
	animation: scrollDown 1.6s infinite;
}
@keyframes scrollDown{
	0%{ opacity: 1; top: 8px; }
	100%{ opacity: 0; top: 22px; }
}

/* ---------- Partners / About ---------- */
.partners-section{
	position: relative;
	background: var(--c1);
	color: #fff;
	padding: 110px 0;
	overflow: hidden;
}
.partners__deco{ position: absolute; opacity: .5; pointer-events: none; z-index: 0; }
.partners__deco--left{ inset-inline-start: -10%; top: -10%; width: 480px; }
.partners__deco--right{ inset-inline-end: -12%; bottom: -15%; width: 520px; }
.partners__layout{ position: relative; z-index: 1; }
.partners__content{ max-width: 620px; margin-bottom: 70px; }
.partners__content h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.partners__content p{ color: rgba(255,255,255,.85); }
.partners__section-title{ font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .5em; }
.partners__section p{ color: rgba(255,255,255,.85); max-width: 720px; margin-bottom: 2.5em; }

.partners__grid{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 22px;
	margin-bottom: 50px;
}
.partner-card{
	display: block;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: var(--radius);
	overflow: hidden;
	backdrop-filter: blur(6px);
	transition: transform .3s ease, background .3s ease;
}
.partner-card:hover{ transform: translateY(-6px); background: rgba(255,255,255,.1); }
.partner-card__thumb{ position: relative; aspect-ratio: 4/3; background: #fff; }
.partner-card__thumb img{ width: 100%; height: 100%; object-fit: cover; }
.partner-card__tags{
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(110,79,220,.05), rgba(23,18,49,.85));
	display: flex; flex-wrap: wrap; align-content: flex-end; gap: 6px;
	padding: 12px;
	opacity: 0;
	transition: opacity .25s ease;
}
.partner-card:hover .partner-card__tags{ opacity: 1; }
.partner-card__tags span{
	background: rgba(255,255,255,.15);
	color: #fff;
	font-size: .72rem;
	padding: 4px 10px;
	border-radius: 20px;
}
.partner-card__name{
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 18px;
}
.partner-card__name h4{ font-size: .95rem; margin: 0; }
.partner-card__name .dots{ display: flex; gap: 4px; }
.partner-card__name .dots i{ width: 6px; height: 6px; border-radius: 50%; background: var(--c3); display: block; }

/* ---------- Partners archive page (نفس الخلفية البنفسجية وبطاقات الشركاء الأصلية) ---------- */
.partners-archive__header{ position: relative; z-index: 1; margin-bottom: 50px; }
.partners__title{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.partners-archive-section .partners__grid{ position: relative; z-index: 1; margin-bottom: 0; }

/* ---------- Partner detail page ---------- */
.partner-hero{
	position: relative;
	min-height: 60vh;
	display: flex;
	align-items: flex-end;
	background-color: var(--hero-dark);
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 160px 0 60px;
}
.partner-hero__overlay{ position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,18,49,.35), rgba(23,18,49,.92)); }
.partner-hero__inner{ position: relative; z-index: 1; }
.partner-hero__logo{ max-width: 220px; margin-bottom: 24px; }
.partner-hero__logo img{ max-height: 70px; width: auto; }
.partner-hero__title{ font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: .5em; }
.partner-hero__description{ max-width: 700px; color: rgba(255,255,255,.88); font-size: 1.05rem; }
.partner-hero__categories{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.partner-hero__categories span{ background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 6px 16px; border-radius: 20px; font-size: .82rem; }

.partner-features{ padding: 70px 0; background: #f7f6fb; }
.partner-features__grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; text-align: center; }
.partner-features__grid .feature-number{ font-size: 2.2rem; font-weight: 700; color: var(--c1); }
.partner-features__grid .feature-label{ font-size: .9rem; color: var(--gray); }

.partner-back{ padding: 40px 0 0; }
.partner-back a{ color: var(--c1); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

.partners__cta{ text-align: center; }
.partners__cta .btn{ color: #fff; }
.partners__cta .btn:hover{ color: var(--c3); }

/* ---------- Services ---------- */
.services-section{
	position: relative;
	padding: 110px 0;
	overflow: hidden;
}
.services__deco{ position: absolute; inset-inline-end: -8%; top: 10%; width: 420px; opacity: .9; z-index: 0; }
.services__layout{
	position: relative; z-index: 1;
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: 60px;
}
.services__content h2{ font-size: clamp(1.8rem, 3.2vw, 2.4rem); display: flex; align-items: center; }
.services__content{ align-self: start; position: sticky; top: 140px; }
.services__list{ display: flex; flex-direction: column; }
.services__item{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 30px 0;
	border-bottom: 1px solid #eee;
	transition: padding-inline-start .3s ease;
}
.services__item:hover{ padding-inline-start: 12px; }
.services__item h4{ font-size: 1.2rem; margin-bottom: .3em; }
.services__item p{ margin: 0; }

/* ---------- Stats ---------- */
.stats-section{
	background: var(--dark);
	color: #fff;
	padding: 110px 0;
	text-align: center;
}
.stats-section h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 40px; }
.stats__layout{ display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; text-align: start; }
.stats__visual{ border-radius: var(--radius); overflow: hidden; aspect-ratio: 615/680; }
.stats__visual img{ width: 100%; height: 100%; object-fit: cover; }
.stats__grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}
.stat-card{
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.1);
	backdrop-filter: blur(8px);
	border-radius: var(--radius);
	padding: 34px 20px;
	transition: transform .3s ease, background .3s ease;
}
.stat-card:hover{ transform: translateY(-6px); background: rgba(255,255,255,.08); }
.stat-card__number{
	font-size: clamp(2rem, 3.6vw, 2.6rem);
	font-weight: 700;
	background: linear-gradient(90deg, var(--c3), var(--c2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: .3em;
}
.stat-card h3{ font-size: 1rem; margin-bottom: .3em; }
.stat-card p{ font-size: .85rem; color: rgba(255,255,255,.6); margin: 0; }

/* ---------- Campaigns ---------- */
.campaigns-section{ padding: 110px 0 60px; overflow: hidden; }
.campaigns-section h2{ font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 50px; }
.campaigns__track-wrap{ overflow-x: auto; scrollbar-width: none; }
.campaigns__track-wrap::-webkit-scrollbar{ display: none; }
.campaigns__track{
	display: flex;
	gap: 24px;
	padding: 0 24px 20px;
	width: max-content;
}
.campaign-card{
	width: 300px;
	flex-shrink: 0;
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
	background: var(--c1);
	color: #fff;
	transition: transform .35s ease;
}
.campaign-card:hover{ transform: translateY(-8px); }
.campaign-card__header{
	display: flex; align-items: center; gap: 10px;
	padding: 18px 20px;
}
.campaign-card__header h3{ font-size: 1rem; margin: 0; }
.campaign-card__header .arrow-up{ color: var(--c3); font-size: 1.1rem; }
.campaign-card__image{ aspect-ratio: 340/448; position: relative; }
.campaign-card__image img{ width: 100%; height: 100%; object-fit: cover; }
.campaign-card__name{
	position: absolute; bottom: 14px; inset-inline: 14px;
	background: rgba(23,18,49,.55);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: .8rem;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 8px;
	text-align: center;
}

/* ---------- Logo grid / gallery ---------- */
.logo-grid-section{ padding: 90px 0; background: #f7f6fb; }
.logo-grid__title{ display: flex; align-items: center; margin-bottom: 50px; }
.logo-grid__title h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.logo-grid__row{ overflow: hidden; margin-bottom: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-grid__scroll{ display: flex; gap: 20px; width: max-content; }
.logo-grid__row--ltr .logo-grid__scroll{ animation: scrollLeft 40s linear infinite; }
.logo-grid__row--rtl .logo-grid__scroll{ animation: scrollRight 40s linear infinite; }
.logo-grid__item{ width: 210px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(23,18,49,.06); }
.logo-grid__item img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 530/313; }
@keyframes scrollLeft{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@keyframes scrollRight{ from{ transform: translateX(-50%); } to{ transform: translateX(0); } }

/* ---------- CTA ---------- */
.cta-section{ padding: 100px 0; }
.cta-box{
	background: linear-gradient(120deg, var(--c1), var(--c2));
	border-radius: 28px;
	padding: 70px 40px;
	text-align: center;
	color: #fff;
}
.cta-box h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-box p{ color: rgba(255,255,255,.85); margin-bottom: 2em; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--c1); color: #fff; padding: 80px 0 0; }
.footer__grid{
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
	gap: 40px;
	padding-bottom: 60px;
	border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer__logo{ width: 150px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer__col h3{ color: #fff; margin-bottom: 1.2em; font-size: 1.05rem; }
.footer__col p{ color: rgba(255,255,255,.85); }
.footer__col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer__col a{ color: rgba(255,255,255,.85); transition: color .2s; }
.footer__col a:hover{ color: var(--c3); }
.footer__contact-link, .footer__address{ display: flex; align-items: center; gap: 8px; margin: .6em 0; color: rgba(255,255,255,.9) !important; }
.footer__map{ border-radius: 12px; overflow: hidden; }
.footer__map iframe{ width: 100%; height: 180px; border: 0; }
.footer__bottom{ padding: 22px 0; text-align: center; font-size: .85rem; color: rgba(255,255,255,.7); }

/* ---------- Reveal animation base (GSAP toggles .is-visible) ---------- */
[data-reveal]{ opacity: 0; transform: translateY(30px); }
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- Contact page ---------- */
.page-heading{
	background: var(--dark);
	color: #fff;
	padding: 180px 0 90px;
	text-align: center;
}
.page-heading h1{ font-size: clamp(2rem, 4vw, 3rem); }
.page-heading--image{ position: relative; background-size: cover; background-position: center; }
.page-heading__overlay{ position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,18,49,.45), rgba(23,18,49,.75)); }
.page-heading--image .container{ position: relative; z-index: 1; }

/* ---------- About page: Mission / Vision / Values (مطابق لتصميم mvv-section الأصلي) ---------- */
.mvv-section{
	position: relative;
	background-color: #000;
	color: #fff;
	padding: 5rem 0;
	overflow: hidden;
}
.mvv__section-overlay{
	position: absolute;
	top: 0; inset-inline: 0;
	width: 100%; height: 35%;
	background-image: url('../images/section-overlay.png');
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
	pointer-events: none;
	z-index: 0;
}
.mvv__header{ position: relative; z-index: 2; max-width: 900px; margin-bottom: 60px; }
.mvv__title{ font-size: clamp(1.7rem, 4vw, 3rem); font-weight: 500; line-height: 1.25; margin-bottom: .6em; color: var(--c3); }
.mvv__header p{ color: rgba(255,255,255,.75); margin: 0; }

.mvv__items{ position: relative; z-index: 2; display: flex; flex-direction: column; gap: 3em; }
.mvv__item{
	position: relative;
	display: flex;
	align-items: center;
	padding: 3em 2em;
	min-height: 320px;
	border: 2px solid transparent;
	border-image: linear-gradient(to top, rgba(255,255,255,.2), rgba(255,255,255,.7)) 1;
	overflow: hidden;
}
.mvv__item-overlay{
	position: absolute;
	bottom: 0; inset-inline-start: 0;
	width: 100%; height: 65%;
	background-image: url('../images/item-overlay.png');
	background-size: cover;
	background-position: bottom center;
	background-repeat: no-repeat;
	opacity: .6;
	z-index: 1;
	pointer-events: none;
	backdrop-filter: blur(10px);
}
.mvv__item-wrapper{
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 40px;
	width: 100%;
}
.mvv__item-icon{ flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.mvv__item-icon img{ width: 130px; height: auto; }
.mvv__item-content{ flex: 1; }
.mvv__item-title{ font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: .5em; color: var(--c3); }
.mvv__item-description p{ color: rgba(255,255,255,.85); margin: 0 0 .5em; line-height: 1.8; }
.mvv__item-description strong{ color: #fff; }

/* ---------- Contact page (يعيد استخدام مكوّن الهيرو + قسم النموذج المتدرّج) ---------- */
.section--form{
	position: relative;
	background:
		linear-gradient(135deg, rgba(110,79,220,.1) 0%, rgba(145,104,234,.15) 25%, rgba(220,141,217,.1) 50%, rgba(110,79,220,.05) 75%, rgba(145,104,234,.1) 100%),
		radial-gradient(circle at 20% 80%, rgba(110,79,220,.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(220,141,217,.1) 0%, transparent 50%),
		var(--c2);
	padding: 90px 0;
}
.container--form{ position: relative; z-index: 2; max-width: 760px; }
.contact-form-intro{ text-align: center; font-size: 1.05rem; color: #fff; margin-bottom: 2.5em; }
.section--form .form-group label{ color: #fff; }
.section--form .form-group input, .section--form .form-group textarea{ background: #fff; }

.careers-form{ position: relative; z-index: 1; background: #fff; padding: 4em 3em; border-radius: var(--radius) var(--radius) 0 0; }

.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group{ display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group.full{ grid-column: 1 / -1; }
.form-group label{ font-weight: 600; font-size: .9rem; }
.form-group input, .form-group textarea{
	border: 1.5px solid #e3e0ee;
	border-radius: 10px;
	padding: 14px 16px;
	font-family: var(--font);
	font-size: .95rem;
	resize: vertical;
	transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus{ outline: none; border-color: var(--c1); }
.contact-form .btn{ background: var(--c1); color: #fff; border: none; width: 100%; justify-content: center; }
.contact-form .btn:hover{ background: var(--c2); }
.form-message{ padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-size: .92rem; }
.form-message--success{ background: #e6f8ec; color: #1e7b42; }
.form-message--error{ background: #fdeaea; color: #b3261e; }

/* ---------- Careers page (مطابق لتصميم careers-content/why-join-us الأصلي) ---------- */
.hero--center .hero__content{ text-align: center; margin-inline: auto; }
.hero--center .scroll-indicator{ display: none; }

.careers-content{
	position: relative;
	margin-top: -220px;
	padding: 0 0 80px;
	background: linear-gradient(to bottom, transparent, #000 18%, #000 100%);
}
.careers-cards{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	padding: 160px 0 60px;
}
.career-card{
	position: relative;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.2);
	backdrop-filter: blur(10px);
	padding: 3em 2em;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: .8em;
	cursor: pointer;
	filter: blur(2px);
	opacity: .7;
	transition: all 1s cubic-bezier(.25,.46,.45,.94);
}
.career-card__title{ color: #fff; font-size: 1.4rem; margin: 0; transition: color .3s ease; }
.career-card__description{ color: rgba(255,255,255,.85); margin: 0; flex-grow: 1; transition: color .3s ease; }
.career-card.active{
	filter: blur(0);
	opacity: 1;
	background: rgba(255,255,255,.45);
	backdrop-filter: blur(20px);
	z-index: 2;
	transform: scale(1.15) translateY(-20px);
}
.career-card.active .career-card__title{ color: #171231; }
.career-card.active .career-card__description{ color: var(--gray); }
.career-card__cta{ margin-top: .5em; }

.why-join-us{
	position: relative;
	z-index: 1;
	background: rgba(110,79,220,.17);
	border-radius: var(--radius);
	padding: 4em 2em 2.5em;
	max-width: 95%;
	margin: 0 auto;
}
.why-join-us__title{ text-align: center; color: #fff; margin-bottom: 1.2em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.why-join-us__items{ display: flex; flex-direction: column; gap: 2em; align-items: center; }
.why-join-us__item{
	position: relative;
	display: flex;
	align-items: center;
	gap: 3em;
	padding: .8em 3em;
	width: 90%;
	background: linear-gradient(45deg, rgba(0,0,0,.25) 20%, transparent 40%, rgba(0,0,0,.12));
	backdrop-filter: blur(10px);
}
.why-join-us__item-title{ flex: 1; position: relative; }
.why-join-us__item-title::before{
	content: '';
	position: absolute;
	inset-inline-start: -1.5em;
	top: -10%;
	width: 2px;
	height: 120%;
	background: #fff;
}
.why-join-us__item-title h3{ color: #fff; margin: 0; font-size: 1.2rem; }
.why-join-us__item-description{ flex: 2; }
.why-join-us__item-description p{ color: rgba(255,255,255,.85); margin: 0; }

.application-note{ text-align: center; font-weight: 600; margin-bottom: 40px; color: var(--c1); }
.track-select{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; justify-content: center; }
.track-option{
	display: flex; align-items: center; gap: 8px;
	border: 1.5px solid #e3e0ee;
	border-radius: 999px;
	padding: 10px 20px;
	cursor: pointer;
	transition: all .2s ease;
	font-size: .9rem;
}
.track-option:has(input:checked){ background: var(--c1); border-color: var(--c1); color: #fff; }
.track-option input{ accent-color: var(--c1); }

/* ---------- Simple inner pages ---------- */
.content-section{ padding: 90px 0; }
.content-section .container{ max-width: 900px; }
.content-section .container.container--wide{ max-width: var(--container); }

/* ---------- Blog ---------- */
.blog__grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card{
	border: 1px solid #eee;
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover{ transform: translateY(-6px); box-shadow: 0 10px 30px rgba(23,18,49,.08); }
.blog-card__thumb{ aspect-ratio: 16/9; background: #f7f6fb; }
.blog-card__thumb img{ width: 100%; height: 100%; object-fit: cover; }
.blog-card__body{ padding: 22px; }
.blog-card__body h2{ font-size: 1.1rem; margin-bottom: .5em; }
.blog-card__body p{ font-size: .9rem; margin-bottom: 1em; }
.blog-card__more{ color: var(--c1); font-weight: 600; font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991px){
	.header__nav{ display: none; }
	.nav-toggle{ display: flex; }
	.services__layout{ grid-template-columns: 1fr; }
	.services__content{ position: static; }
	.contact-layout{ grid-template-columns: 1fr; }
	.footer__grid{ grid-template-columns: 1fr 1fr; }
	.stats__layout{ grid-template-columns: 1fr; }
	.stats__visual{ display: none; }
	.mvv__grid{ grid-template-columns: 1fr; }
	.careers-cards{ grid-template-columns: 1fr; gap: 20px; padding: 100px 0 40px; }
	.career-card{ filter: none; opacity: 1; }
	.career-card.active{ transform: none; }
	.why-join-us__item{ flex-direction: column; align-items: flex-start; gap: .8em; width: 100%; }
	.why-join-us__item-title::before{ display: none; }
}
@media (max-width: 640px){
	.hero{ padding-top: 110px; }
	.hero__social{ display: none; }
	.partners-section, .services-section, .stats-section, .campaigns-section, .cta-section{ padding: 70px 0; }
	.footer__grid{ grid-template-columns: 1fr; }
	.form-grid{ grid-template-columns: 1fr; }
	.mvv__item-wrapper{ flex-direction: column; text-align: center; gap: 20px; }
	.mvv__item{ min-height: auto; padding: 2.5em 1.5em; }
	.mvv__item-icon img{ width: 90px; }
}

/* position:fixed elements otherwise repeat/misplace on every printed page */
@media print{
	.mobile-nav, .nav-toggle, .scroll-indicator{ display: none !important; }
	.header{ position: absolute; }
}
