/* =====================
   الإعدادات العامة
===================== */
:root {
  --bg: #56575a;
  --bg-alt: #56575a;
  --bg-soft: rgba(86, 87, 90, 0.18);
  --panel: rgba(40, 41, 44, 0.75);
  --panel-strong: rgba(30, 31, 34, 0.92);
  --border: rgba(239, 63, 53, 0.18);

  --text: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.72);
  --line: rgba(255, 255, 255, 0.08);

  --gold: #ef3f35;
  --gold-2: #ff6a61;
  --gold-soft: rgba(239, 63, 53, 0.14);

  --navy: #56575a;

  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --container: min(1240px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Kufi Arabic", "Tahoma", "Arial", "Segoe UI", sans-serif;
  background:
    radial-gradient(
      circle at top right,
      rgba(216, 179, 90, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at left center,
      rgba(73, 96, 172, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, #05070d 0%, #060913 48%, #070b12 100%);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(216, 179, 90, 0.25);
  color: var(--text);
}

/* =====================
   المؤشر والتقدم
===================== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(216, 179, 90, 0.6);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  z-index: 9999;
  transition:
    width 0.2s ease,
    height 0.2s ease,
    opacity 0.2s ease,
    transform 0.1s linear;
}

.cursor--dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(216, 179, 90, 0.65);
}

.cursor.is-hover {
  width: 70px;
  height: 70px;
  border-color: rgba(240, 211, 138, 0.8);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
  z-index: 1200;
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-2));
  box-shadow: 0 0 18px rgba(216, 179, 90, 0.5);
}

/* =====================
   شاشة التحميل والخلفية
===================== */
.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at center, rgba(216, 179, 90, 0.1), transparent 25%),
    #04050a;
  z-index: 2000;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--gold);
  animation: spin 1s linear infinite;
  box-shadow: 0 0 28px rgba(216, 179, 90, 0.2);
}

.loader__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.loader__mark,
.brand__mark {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 1px solid rgba(216, 179, 90, 0.55);
  background: linear-gradient(
    135deg,
    rgba(216, 179, 90, 0.2),
    rgba(216, 179, 90, 0.02)
  );
  box-shadow:
    inset 0 0 12px rgba(216, 179, 90, 0.15),
    0 0 18px rgba(216, 179, 90, 0.15);
  overflow: hidden;
}

.loader__mark::before,
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
}

.brand__mark::after,
.loader__mark::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(240, 211, 138, 0.3),
    transparent 65%
  );
  animation: sheen 3.5s linear infinite;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.site-backdrop__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}

.site-backdrop__orb--one {
  width: 340px;
  height: 340px;
  top: -60px;
  right: -80px;
  background: radial-gradient(
    circle,
    rgba(216, 179, 90, 0.22),
    transparent 70%
  );
}

.site-backdrop__orb--two {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 42%;
  background: radial-gradient(circle, rgba(57, 85, 160, 0.18), transparent 70%);
  animation-delay: -5s;
}

.site-backdrop__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
  opacity: 0.35;
}

/* =====================
   الحاوية والهيدر
===================== */
.container {
  width: var(--container);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.header {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    backdrop-filter 0.25s ease,
    border-color 0.25s ease;
}

.header.is-scrolled .header__inner {
  background: rgba(7, 10, 17, 0.75);
  backdrop-filter: blur(24px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(7, 10, 18, 0.34);
  backdrop-filter: blur(18px);
  transition: inherit;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  animation: pulse 4s ease-in-out infinite;
}

.brand__mark--small {
  width: 18px;
  height: 18px;
}

.brand__text {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.brand__text small {
  color: var(--gold-2);
  font-size: 0.75rem;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav__link {
  position: relative;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(239, 63, 53, 0.8),
    transparent
  );
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
  background: rgba(239, 63, 53, 0.1);
  box-shadow: inset 0 0 0 1px rgba(216, 179, 90, 0.12);
  transform: translateY(-1px);
}

.nav__link.active::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.menu-btn span {
  position: absolute;
  right: 16px;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    top 0.25s ease,
    opacity 0.25s ease;
}

.menu-btn span:first-child {
  top: 20px;
}

.menu-btn span:last-child {
  top: 30px;
}

.menu-btn.is-open span:first-child {
  top: 25px;
  transform: rotate(45deg);
}

.menu-btn.is-open span:last-child {
  top: 25px;
  transform: rotate(-45deg);
}

/* =====================
   القائمة المتنقلة
===================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.62);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 1100;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__panel {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(7, 10, 17, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mobile-menu__close {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.5rem;
}

.mobile-nav {
  display: grid;
  gap: 8px;
}

.mobile-nav__link {
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.mobile-nav__link:hover {
  transform: translateX(-4px);
  background: rgba(239, 63, 53, 0.1);
}

/* =====================
   الأزرار المشتركة
===================== */
.btn,
.scroll-indicator,
.service-card__toggle,
.contact__cta-row button,
.contact__cta-row a,
.form__actions button {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.btn::before,
.service-card__toggle::before,
.contact__cta-row button::before,
.form__actions button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 40%,
    transparent 60%
  );
  transform: translateX(130%);
  transition: transform 0.6s ease;
}

.btn:hover::before,
.service-card__toggle:hover::before,
.contact__cta-row button:hover::before,
.form__actions button:hover::before {
  transform: translateX(-130%);
}

.btn:hover,
.scroll-indicator:hover,
.service-card__toggle:hover,
.contact__cta-row button:hover,
.form__actions button:hover {
  transform: translateY(-2px);
}

.btn--primary {
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(239, 63, 53, 0.96),
    rgba(201, 45, 36, 0.92)
  );
  color: #111;
  font-weight: 700;
  box-shadow:
    0 14px 30px rgba(216, 179, 90, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--ghost {
  padding: 14px 22px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* =====================
   القسم الرئيسي
===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.brand__logo {
  height: 50px; /* عدلها حسب التصميم */
  width: auto;
  display: block;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at var(--mx, 72%) var(--my, 28%),
      rgba(239, 63, 53, 0.16),
      transparent 22%
    ),
    linear-gradient(
      180deg,
      rgba(86, 87, 90, 0.18),
      rgba(63, 64, 66, 0.82) 78%,
      rgba(45, 46, 49, 0.96)
    );
  z-index: 0;
}

.hero__spotlight {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(
      circle at 65% 35%,
      rgba(239, 63, 53, 0.18),
      transparent 22%
    ),
    radial-gradient(
      circle at 30% 18%,
      rgba(255, 255, 255, 0.05),
      transparent 18%
    );
  filter: blur(8px);
  animation: drift 18s ease-in-out infinite;
}

.hero__particles,
.hero__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__particles span {
  position: absolute;
  width: var(--size, 4px);
  height: var(--size, 4px);
  border-radius: 50%;
  background: rgba(240, 211, 138, 0.85);
  box-shadow: 0 0 16px rgba(216, 179, 90, 0.75);
  top: var(--top);
  right: var(--right);
  animation: particleRise var(--duration, 10s) linear infinite;
  opacity: 0.8;
}

.hero__scene::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 11, 0.86));
}

.hero__tower,
.hero__beam {
  position: absolute;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 24px rgba(0, 0, 0, 0.24);
}

.hero__tower::before,
.hero__tower::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size:
    100% 28px,
    28px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.96), transparent 98%);
  opacity: 0.4;
}

.hero__tower--one {
  right: 8%;
  width: 14%;
  height: 35%;
  border-radius: 18px 18px 0 0;
}

.hero__tower--two {
  right: 26%;
  width: 10%;
  height: 27%;
  border-radius: 18px 18px 0 0;
  animation: float 8s ease-in-out infinite;
}

.hero__tower--three {
  right: 42%;
  width: 7%;
  height: 22%;
  border-radius: 18px 18px 0 0;
  animation: float 10s ease-in-out infinite reverse;
}

.hero__beam {
  width: 32%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(216, 179, 90, 0.95),
    transparent
  );
  transform-origin: right center;
  box-shadow: 0 0 22px rgba(216, 179, 90, 0.45);
}

.hero__beam--one {
  --r: -10deg;
  top: 29%;
  right: 18%;
  animation: sweep 8s ease-in-out infinite;
}

.hero__beam--two {
  --r: -26deg;
  top: 26%;
  right: 32%;
  animation: sweep 10s ease-in-out infinite reverse;
}

.hero__beam--three {
  --r: -14deg;
  top: 34%;
  right: 44%;
  animation: sweep 12s ease-in-out infinite;
}

.hero__inner {
  max-width: 760px;
  margin-inline-start: auto;
  text-align: right;
}

.hero__brandline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.hero__title {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 6.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  animation: rise 0.9s ease both;
}

.hero__subtitle {
  margin: 22px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--gold-2);
  max-width: 62ch;
  line-height: 1.8;
}

.hero__description {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.95;
  max-width: 66ch;
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
  justify-content: flex-start;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  gap: 8px;
  width: 110px;
  padding: 14px 12px 16px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.08);
}

.scroll-indicator i {
  position: relative;
  width: 12px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.scroll-indicator i::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
  animation: wheel 1.4s ease-in-out infinite;
}

/* =====================
   العناوين العامة
===================== */
.section {
  position: relative;
  padding: 118px 0;
}

.section--alt {
  background: linear-gradient(
    180deg,
    rgba(239, 63, 53, 0.05),
    rgba(255, 255, 255, 0)
  );
}

.section__heading {
  max-width: 760px;
  margin-bottom: 48px;
  text-align: right;
}

.section__eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  letter-spacing: 0.12em;
  font-size: 0.9rem;
}

.section__heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
}

.section__heading p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

/* =====================
   البطاقات الزجاجية
===================== */
.glass-card {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 180deg,
    transparent 0 16%,
    rgba(239, 63, 53, 0.95) 22%,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 46%,
    transparent 58%,
    rgba(239, 63, 53, 0.85) 72%,
    transparent 84%,
    rgba(255, 255, 255, 0.12) 92%,
    transparent 100%
  );
  opacity: 0.35;
  animation: borderRotate 9s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    transparent
  );
  opacity: 0;
  transform: translateX(-30%);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

.glass-card:hover::after {
  opacity: 1;
  transform: translateX(30%);
}

.glass-card:hover {
  transform: translateY(-6px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   من نحن
===================== */
.about__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.about__content {
  padding-inline-start: 10px;
}

.about__lead {
  margin: 0;
  color: var(--muted);
  line-height: 2;
  font-size: 1.04rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.about__stat {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: float 10s ease-in-out infinite;
  will-change: transform;
}

.about__stat:nth-child(2n) {
  animation-delay: -2.5s;
}

.about__stat:nth-child(3n) {
  animation-delay: -4s;
}

.about__stat strong {
  display: block;
  font-size: 2rem;
  color: var(--gold-2);
  margin-bottom: 8px;
}

.about__stat span {
  color: var(--muted);
}

.about__visual {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: 0.6s ease;
}
.about__visual:hover img {
  transform: scale(1.1);
}

.collage {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.collage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.45));
}

.collage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.16;
}

.collage--large {
  inset: 24px 140px 110px 24px;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(216, 179, 90, 0.28),
      transparent 24%
    ),
    linear-gradient(
      160deg,
      rgba(7, 12, 20, 0.85),
      rgba(18, 26, 44, 0.95) 60%,
      rgba(5, 7, 13, 0.96)
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent);
}

.collage--large::after {
  background-image:
    linear-gradient(
      180deg,
      transparent 0 68%,
      rgba(216, 179, 90, 0.55) 68% 72%,
      transparent 72% 100%
    ),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size:
    100% 100%,
    26px 26px,
    26px 26px;
  opacity: 0.22;
}

.collage--mid {
  width: 34%;
  height: 30%;
  left: 16px;
  bottom: 18px;
  background: linear-gradient(
    160deg,
    rgba(19, 24, 38, 0.88),
    rgba(8, 12, 20, 0.95)
  );
  animation: float 9s ease-in-out infinite;
}

.collage--small {
  width: 28%;
  height: 24%;
  right: 18px;
  top: 18px;
  background: linear-gradient(
    160deg,
    rgba(29, 38, 61, 0.92),
    rgba(10, 13, 24, 0.95)
  );
  animation: float 11s ease-in-out infinite reverse;
}

.collage__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent 20%,
      rgba(216, 179, 90, 0.15) 50%,
      transparent 80%
    ),
    radial-gradient(circle at 75% 28%, rgba(216, 179, 90, 0.2), transparent 16%);
  mix-blend-mode: screen;
  animation: drift 16s ease-in-out infinite;
}

/* =====================
   الرؤية والرسالة
===================== */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.vision-card {
  padding: 28px;
  min-height: 300px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: var(--gold-2);
  background: rgba(216, 179, 90, 0.08);
  border: 1px solid rgba(239, 63, 53, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 24px rgba(216, 179, 90, 0.08);
}

.card-icon svg {
  width: 30px;
  height: 30px;
}

.vision-card h3,
.value-card h3,
.service-card h3,
.project-card h3,
.contact__info h3,
.map-card__head h3 {
  margin: 18px 0 12px;
  font-size: 1.4rem;
}

.vision-card p,
.value-card p,
.service-card p,
.project-card p,
.contact__info p,
.map-card__head p {
  color: var(--muted);
  line-height: 1.9;
}

/* =====================
   لماذا نحن
===================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  padding: 24px;
  min-height: 220px;
}

.value-card .card-icon {
  width: 54px;
  height: 54px;
  font-size: 1.4rem;
}

/* =====================
   الخدمات
===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  perspective: 1200px;
}

.service-card {
  padding: 24px;
  min-height: 320px;
  transform-style: preserve-3d;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(216, 179, 90, 0.08);
}

.service-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-card__toggle {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.service-card__extra {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
  opacity: 0;
  transform: translateY(-8px);
}

.service-card.is-open .service-card__extra {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

.service-card.is-open {
  border-color: rgba(216, 179, 90, 0.18);
}

.service-card p {
  margin-bottom: 0;
}

/* =====================
   المشاريع
===================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 340px;
  border-radius: 28px;
  overflow: hidden;
  grid-column: span 4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.project-card--featured {
  grid-column: span 8;
  min-height: 420px;
}

.project-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.4s ease;
  filter: saturate(1.04) contrast(1.04);
}

.project-card:hover .project-card__media {
  transform: scale(1.08);
}

.project-card__media::before,
.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
}

.project-card__media::before {
  background: linear-gradient(180deg, rgba(2, 4, 8, 0.05), rgba(2, 4, 8, 0.8));
}

.project-card__media::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.16;
}

.project-card__media--one {
  background:
    radial-gradient(
      circle at 72% 28%,
      rgba(216, 179, 90, 0.28),
      transparent 18%
    ),
    linear-gradient(145deg, rgba(9, 14, 24, 0.2), rgba(7, 11, 18, 0.85)),
    linear-gradient(90deg, rgba(43, 57, 90, 0.9), rgba(8, 12, 20, 0.95));
}

.project-card__media--two {
  background:
    radial-gradient(
      circle at 70% 35%,
      rgba(216, 179, 90, 0.2),
      transparent 18%
    ),
    linear-gradient(155deg, rgba(30, 36, 56, 0.92), rgba(7, 11, 18, 0.95));
}

.project-card__media--three {
  background:
    radial-gradient(
      circle at 34% 28%,
      rgba(216, 179, 90, 0.18),
      transparent 18%
    ),
    linear-gradient(155deg, rgba(20, 24, 37, 0.92), rgba(7, 11, 18, 0.95));
}

.project-card__media--four {
  background:
    radial-gradient(
      circle at 35% 25%,
      rgba(216, 179, 90, 0.24),
      transparent 18%
    ),
    linear-gradient(150deg, rgba(10, 14, 24, 0.84), rgba(35, 44, 67, 0.92));
}

.project-card__media--five {
  background:
    radial-gradient(
      circle at 70% 28%,
      rgba(216, 179, 90, 0.17),
      transparent 18%
    ),
    linear-gradient(145deg, rgba(17, 22, 34, 0.9), rgba(7, 11, 18, 0.95));
}

.project-card__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(4, 6, 11, 0.88) 35%,
    rgba(4, 6, 11, 0.96)
  );
}

.project-card__eyebrow {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

/* =====================
   الإحصائيات
===================== */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.counter-card {
  display: grid;
  gap: 10px;
  padding: 28px 24px;
  text-align: center;
}

.counter-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--gold-2);
  text-shadow: 0 0 20px rgba(216, 179, 90, 0.2);
}

.counter-card span {
  color: var(--muted);
}

/* =====================
   التواصل
===================== */
.contact__grid {
  display: grid;
  grid-template-columns: 0.86fr 1.1fr 0.84fr;
  gap: 18px;
  align-items: stretch;
}

.contact__info,
.contact__form,
.map-card {
  padding: 26px;
}

.contact-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list span {
  color: var(--gold-2);
  font-size: 0.95rem;
}

.contact-list strong {
  color: var(--text);
  font-weight: 600;
  line-height: 1.8;
}

.contact-list a:hover,
.footer__links a:hover,
.footer__social a:hover {
  color: var(--gold-2);
}

.contact__cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  position: relative;
}

.field--full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 22px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(216, 179, 90, 0.45);
  box-shadow: 0 0 0 4px rgba(216, 179, 90, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.field label {
  position: absolute;
  right: 16px;
  top: 16px;
  color: rgba(245, 247, 251, 0.58);
  pointer-events: none;
  transition:
    transform 0.2s ease,
    top 0.2s ease,
    font-size 0.2s ease,
    color 0.2s ease;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 8px;
  font-size: 0.76rem;
  color: var(--gold-2);
}

.field select {
  appearance: none;
}

.field__static {
  top: 8px;
  font-size: 0.76rem;
  color: var(--gold-2);
}

.field select:required:invalid + .field__static {
  top: 16px;
  font-size: 1rem;
  color: rgba(245, 247, 251, 0.58);
}

.field select:required:valid + .field__static,
.field select:focus + .field__static {
  top: 8px;
  font-size: 0.76rem;
  color: var(--gold-2);
}

.form__actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.map-card {
  display: grid;
  gap: 18px;
}

.map-card__map {
  position: relative;
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 55% 45%,
      rgba(216, 179, 90, 0.18),
      transparent 18%
    ),
    linear-gradient(180deg, rgba(10, 14, 24, 0.86), rgba(7, 10, 17, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.35;
}

.map-radar {
  position: absolute;
  inset: 18% 12%;
  border-radius: 50%;
  border: 1px solid rgba(216, 179, 90, 0.25);
  box-shadow:
    0 0 0 40px rgba(216, 179, 90, 0.02),
    0 0 0 88px rgba(216, 179, 90, 0.02);
  animation: pulse 6s ease-in-out infinite;
}

.map-pin,
.map-pin__pulse {
  position: absolute;
  left: 52%;
  top: 54%;
  transform: translate(-50%, -50%);
}

.map-pin {
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 0 24px rgba(216, 179, 90, 0.55);
}

.map-pin__pulse {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(216, 179, 90, 0.22);
  animation: pulse 3s ease-in-out infinite;
}

/* =====================
   الفوتر والتنبيهات
===================== */
.footer {
  position: relative;
  padding: 34px 0 24px;
  background: rgba(2, 4, 8, 0.9);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

.footer__brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer__links,
.footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__social a,
.footer__social button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  cursor: pointer;
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__divider {
  margin-top: 26px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(239, 63, 53, 0.95),
    rgba(255, 255, 255, 0.16),
    transparent
  );
  opacity: 0.8;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: min(420px, calc(100% - 48px));
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(7, 10, 17, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: var(--shadow);
  transform: translateY(24px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  z-index: 1600;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =====================
   الحركة
===================== */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-14px) translateX(8px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -10px, 0);
  }
}

@keyframes sweep {
  0%,
  100% {
    opacity: 0.35;
    transform: rotate(var(--r, -12deg)) scaleX(0.85);
  }
  50% {
    opacity: 1;
    transform: rotate(var(--r, -12deg)) scaleX(1.15);
  }
}

@keyframes borderRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-120%) rotate(12deg);
  }
  100% {
    transform: translateX(120%) rotate(12deg);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wheel {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(9px);
    opacity: 0.15;
  }
}

@keyframes particleRise {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-120vh) scale(1.2);
    opacity: 0;
  }
}

/* =====================
   التوافقية والاستجابة
===================== */
@media (max-width: 1180px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .about__layout,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .project-card,
  .project-card--featured {
    grid-column: span 6;
  }

  .counters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact__form {
    order: 1;
  }

  .map-card {
    order: 2;
  }
}

@media (max-width: 760px) {
  .header {
    top: 10px;
  }

  .header__inner {
    min-height: 66px;
    border-radius: 24px;
  }

  .brand__text strong {
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 128px;
  }

  .hero__inner {
    max-width: 100%;
  }

  .hero__actions,
  .contact__cta-row,
  .form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about__stats,
  .vision-grid,
  .values-grid,
  .services-grid,
  .counters-grid,
  .contact__form {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card--featured {
    grid-column: auto;
    min-height: 320px;
  }

  .hero__scene {
    opacity: 0.45;
  }

  .hero__tower--one {
    width: 24%;
    right: 6%;
  }

  .hero__tower--two {
    width: 18%;
    right: 32%;
  }

  .hero__tower--three {
    width: 14%;
    right: 56%;
  }

  .section {
    padding: 92px 0;
  }

  .about__visual {
    min-height: 380px;
  }

  .map-card__map {
    min-height: 300px;
  }

  .cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .cursor,
  .cursor--dot {
    display: none;
  }
}

.whatsapp-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  min-height: 100%;
}

.whatsapp-box__head h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 6px;
}

.whatsapp-box__head p {
  color: rgba(255, 255, 255, 0.7);
}

.whatsapp-box__icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 42px;
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.25);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.15);
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  padding: 14px 24px;
  border-radius: 14px;
  transition: 0.3s;
}

.btn--whatsapp:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
}

.map-card__map--iframe {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.map-card__map--iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  transition: transform 0.5s ease;
}

.map-card__map--iframe:hover iframe {
  transform: scale(1.03);
}

.footer__bottom {
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Company Profile Page  */
/* =========================
   سكشن Company Profile
========================= */

.profile-pages {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

/* الكارد */

.profile-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  cursor: pointer;
  transition: 0.45s ease;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-card:hover {
  transform: translateY(-10px);
  border-color: rgba(216, 179, 90, 0.4);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(216, 179, 90, 0.1);
}

/* صورة الصفحة */

.profile-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.profile-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.profile-card:hover img {
  transform: scale(1.04);
}

/* المحتوى */

.profile-card__content {
  padding: 22px;
}

.profile-card__content span {
  color: #ff6a61;
  font-weight: 700;
  font-size: 14px;
}

.profile-card__content h3 {
  color: #fff;
  margin-top: 10px;
  font-size: 24px;
}

.profile-card__content p {
  margin-top: 10px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================
   العارض Fullscreen
========================= */

.profile-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(14px);
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
}

.profile-viewer.active {
  opacity: 1;
  visibility: visible;
}

.profile-viewer img {
  width: 90%;
  max-width: 1400px;
  border-radius: 22px;
  object-fit: contain;

  transform: scale(0.9);
  transition: 0.4s ease;
}

.profile-viewer.active img {
  transform: scale(1);
}

/* الأزرار */

.viewer-btn {
  position: absolute;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;

  cursor: pointer;
  transition: 0.3s ease;
  backdrop-filter: blur(10px);
}

.viewer-btn:hover {
  background: #ff6a61;
  color: #05070d;
}

.viewer-prev {
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.viewer-next {
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.viewer-close {
  top: 30px;
  right: 30px;
}

/* موبايل */

@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-viewer img {
    width: 95%;
  }

  .viewer-btn {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }

  .viewer-prev {
    right: 10px;
  }

  .viewer-next {
    left: 10px;
  }
}
