:root {
  --navy-950: #050b16;
  --navy-900: #071323;
  --navy-850: #0a1a31;
  --navy-800: #0f2545;
  --blue-600: #276cc8;
  --blue-500: #367ed6;
  --cyan-500: #20b9dc;
  --cyan-300: #65d8ee;
  --ink: #dcecff;
  --muted: #95abc9;
  --soft: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.13);
  --glass: rgba(7, 19, 35, .72);
  --shadow: 0 30px 90px rgba(0, 0, 0, .45);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(38, 108, 200, .28), transparent 28%),
    radial-gradient(circle at 78% 8%, rgba(32, 185, 220, .22), transparent 24%),
    linear-gradient(135deg, #03070f 0%, #071323 45%, #05101e 100%);
  font-family: 'Cairo', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: 'Inter', 'Cairo', system-ui, sans-serif; }
html[dir="ltr"] body { text-align: left; }
html[dir="rtl"] body { text-align: right; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 42px));
  margin-inline: auto;
}

.section-pad { padding: 112px 0; }

.ambient {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: .45;
  z-index: -2;
}
.ambient-one { top: 70px; inset-inline-start: -140px; background: rgba(39, 108, 200, .42); }
.ambient-two { bottom: -160px; inset-inline-end: -110px; background: rgba(32, 185, 220, .34); }
.grid-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,.2), transparent 90%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 10, 20, .68);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(22px);
}
.nav-wrap {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}
.brand img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(32,185,220,.25)); }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong {
  letter-spacing: .42em;
  font-weight: 900;
  font-size: 1.08rem;
}
html[dir="rtl"] .brand-text strong { letter-spacing: .34em; }
.brand-text small { color: var(--muted); font-size: .76rem; margin-top: 4px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #cfe3ff;
  font-size: .95rem;
  font-weight: 700;
}
.main-nav a { opacity: .82; transition: .25s ease; }
.main-nav a:hover { opacity: 1; color: var(--cyan-300); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle,
.nav-cta {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #e7f4ff;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: .25s ease;
  font-weight: 800;
  white-space: nowrap;
}
.nav-cta {
  border: 0;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 16px 38px rgba(32, 185, 220, .24);
}
.lang-toggle:hover,
.nav-cta:hover { transform: translateY(-2px); }
.menu-toggle { display: none; }

.hero { padding-top: 92px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 58px;
  align-items: center;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--cyan-300);
  background: rgba(32, 185, 220, .08);
  border: 1px solid rgba(32, 185, 220, .18);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--cyan-300);
  border-radius: 99px;
  box-shadow: 0 0 0 8px rgba(32,185,220,.12);
}
.hero h1 {
  margin: 24px 0 22px;
  max-width: 820px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 900;
}
html[dir="rtl"] .hero h1 { letter-spacing: -.03em; line-height: 1.14; }
.hero-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 2;
  max-width: 740px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 23px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: .28s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  color: white;
  box-shadow: 0 22px 50px rgba(32, 185, 220, .24);
}
.btn-ghost {
  color: #eaf6ff;
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.16);
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}
.hero-metrics div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
}
.hero-metrics strong {
  display: block;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 8px;
}
.hero-metrics span { color: var(--muted); font-size: .87rem; font-weight: 800; }

.hero-visual { min-height: 620px; display: grid; place-items: center; }
.orb-card {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.logo-orb {
  position: relative;
  z-index: 4;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 48px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    rgba(5, 13, 25, .56);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow), inset 0 0 80px rgba(32,185,220,.06);
  padding: 38px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(22px);
}
.logo-orb:before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(54,126,214,.8), rgba(32,185,220,.7), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.logo-orb img { filter: drop-shadow(0 24px 48px rgba(32,185,220,.18)); }
.orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(101,216,238,.26);
  animation: rotate 18s linear infinite;
}
.orbit-one { width: 94%; height: 94%; border-inline-start-color: rgba(39,108,200,.9); }
.orbit-two { width: 76%; height: 76%; border-block-start-color: rgba(32,185,220,.9); animation-direction: reverse; animation-duration: 14s; }
@keyframes rotate { to { transform: rotate(360deg); } }
.floating-card {
  position: absolute;
  z-index: 6;
  width: 190px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(6,18,35,.76);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
}
.floating-card span { display: block; color: var(--cyan-300); font-size: .76rem; font-weight: 900; margin-bottom: 5px; }
.floating-card strong { color: white; font-size: .94rem; }
.card-a { top: 62px; inset-inline-start: -10px; }
.card-b { bottom: 76px; inset-inline-end: -16px; }
.card-c { bottom: 14px; inset-inline-start: 68px; }

.trust-strip { padding: 0 0 34px; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(18px);
}
.strip-grid span {
  padding: 20px 12px;
  text-align: center;
  color: #d2e8ff;
  font-weight: 900;
  border-inline-end: 1px solid rgba(255,255,255,.08);
}
.strip-grid span:last-child { border-inline-end: 0; }

.split-grid {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 44px;
  align-items: start;
}
.section-heading h2,
.center-heading h2,
.standard-card h2,
.contact-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 900;
}
html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .center-heading h2,
html[dir="rtl"] .standard-card h2,
html[dir="rtl"] .contact-copy h2 { letter-spacing: -.02em; line-height: 1.24; }
.about-panel,
.standard-card,
.contact-card,
.project-card,
.service-card {
  background: linear-gradient(145deg, rgba(255,255,255,.086), rgba(255,255,255,.034));
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 22px 76px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
}
.about-panel { padding: 34px; border-radius: var(--radius-xl); }
.about-panel > p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 2.05;
  margin: 0 0 26px;
}
.mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mission-grid article {
  border-radius: 24px;
  padding: 24px;
  background: rgba(3, 7, 15, .26);
  border: 1px solid rgba(255,255,255,.08);
}
.mission-grid span { color: var(--cyan-300); font-weight: 900; font-size: .86rem; }
.mission-grid h3 { margin: 12px 0 0; font-size: 1.05rem; line-height: 1.75; color: white; }

.center-heading { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.center-heading .section-kicker { margin-inline: auto; }
.center-heading p { color: var(--muted); margin: 18px auto 0; line-height: 1.8; font-size: 1.06rem; max-width: 680px; }
.services-section { background: linear-gradient(180deg, transparent, rgba(255,255,255,.028), transparent); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 28px;
  min-height: 250px;
  transition: .28s ease;
}
.service-card:before,
.project-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(32,185,220,.18), transparent 34%);
  opacity: 0;
  transition: .28s ease;
}
.service-card:hover,
.project-card:hover { transform: translateY(-7px); border-color: rgba(101,216,238,.26); }
.service-card:hover:before,
.project-card:hover:before { opacity: 1; }
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(39,108,200,.95), rgba(32,185,220,.95));
  box-shadow: 0 18px 38px rgba(32,185,220,.18);
  margin-bottom: 28px;
}
.service-card h3,
.project-card h3 {
  position: relative;
  margin: 0 0 12px;
  font-size: 1.28rem;
  color: white;
}
.service-card p,
.project-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.compact-heading { margin-bottom: 36px; max-width: 780px; }
.projects-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 30px;
  min-height: 260px;
}
.project-card.featured { grid-row: span 2; min-height: 538px; display: flex; flex-direction: column; justify-content: flex-end; }
.project-topline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 70px;
}
.featured .project-topline { margin-bottom: auto; }
.project-topline span {
  color: var(--cyan-300);
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.project-topline small { color: rgba(255,255,255,.4); font-weight: 900; font-size: 1.4rem; }
.project-card.featured h3 { font-size: clamp(2.2rem, 5vw, 4.6rem); letter-spacing: -.045em; }

.standard-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  border-radius: 38px;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 0% 0%, rgba(39,108,200,.28), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
}
.standard-card p { color: var(--muted); line-height: 1.9; margin: 20px 0 0; }
.why-list { display: grid; gap: 14px; }
.why-list div {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 22px;
  background: rgba(3,7,15,.28);
  border: 1px solid rgba(255,255,255,.08);
}
.why-list strong { color: var(--cyan-300); font-size: 1rem; }
.why-list span { color: #e4f2ff; font-weight: 800; line-height: 1.7; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.timeline-item {
  padding: 24px 20px;
  border-radius: 26px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  min-height: 170px;
}
.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(32,185,220,.12);
  color: var(--cyan-300);
  font-weight: 900;
  margin-bottom: 22px;
}
.timeline-item h3 { margin: 0; line-height: 1.65; font-size: 1.02rem; color: white; }

.contact-section { padding-bottom: 90px; }
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 38px;
  align-items: start;
}
.contact-copy p { color: var(--muted); line-height: 1.9; font-size: 1.05rem; margin: 22px 0 26px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-links a {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #e7f5ff;
  font-weight: 800;
}
.contact-card { border-radius: 34px; padding: 34px; min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
.contact-card-icon { width: 72px; height: 72px; display: inline-grid; place-items: center; border-radius: 24px; background: linear-gradient(135deg, rgba(32,185,220,.22), rgba(52,119,208,.18)); color: #e7faff; border: 1px solid rgba(255,255,255,.12); font-size: 2rem; font-weight: 950; margin-bottom: 20px; }
.contact-card h3 { font-size: clamp(1.65rem, 4vw, 3.1rem); margin: 12px 0; letter-spacing: -.03em; color: white; }
.contact-card p { color: var(--muted); line-height: 1.9; margin: 0 0 22px; }
.contact-email-btn { align-self: flex-start; }
html[dir="rtl"] .contact-email-btn { align-self: flex-start; }
.contact-card small { color: var(--muted); margin-top: 16px; display: block; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
label { display: grid; gap: 8px; color: #d8eaff; font-weight: 900; margin-bottom: 14px; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(3,7,15,.32);
  color: #eef8ff;
  padding: 14px 15px;
  outline: none;
  transition: .2s ease;
}
select option { background: #071323; color: white; }
input:focus, textarea:focus, select:focus { border-color: rgba(101,216,238,.58); box-shadow: 0 0 0 4px rgba(32,185,220,.10); }
textarea { resize: vertical; min-height: 128px; }
.form-submit { width: 100%; border: 0; cursor: pointer; }
.form-note { color: var(--muted); margin: 12px 0 0; font-size: .9rem; text-align: center; }

.site-footer {
  border-top: 1px solid rgba(255,255,255,.09);
  background: rgba(3,7,15,.48);
  padding: 34px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 26px;
  align-items: center;
}
.footer-grid img { width: 68px; margin-bottom: 10px; }
.footer-grid p { margin: 0; color: var(--muted); }
.footer-links { display: flex; gap: 18px; color: #dcecff; font-weight: 800; }
.copyright { color: var(--muted); font-weight: 700; }

.reveal { opacity: 0; transform: translateY(22px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .18s; }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    border-radius: 16px;
    padding: 11px;
    cursor: pointer;
  }
  .menu-toggle span { width: 22px; height: 2px; background: #eef8ff; display: block; border-radius: 99px; }
  .main-nav.open {
    display: grid;
    position: absolute;
    top: 86px;
    inset-inline: 21px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(4,10,20,.95);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(20px);
  }
  .hero-grid,
  .split-grid,
  .standard-card,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-row: auto; min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section-pad { padding: 76px 0; }
  .nav-wrap { height: 76px; gap: 10px; }
  .brand img { width: 46px; height: 46px; }
  .brand-text small { display: none; }
  .nav-cta { display: none; }
  .main-nav.open { top: 76px; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(2.28rem, 12vw, 4.1rem); }
  .hero-metrics,
  .strip-grid,
  .mission-grid,
  .services-grid,
  .timeline,
  .form-row { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .floating-card { width: 154px; padding: 12px; }
  .card-a { top: 24px; inset-inline-start: 0; }
  .card-b { bottom: 60px; inset-inline-end: 0; }
  .card-c { bottom: 4px; inset-inline-start: 30px; }
  .logo-orb { width: 78%; border-radius: 34px; padding: 24px; }
  .strip-grid span { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .strip-grid span:last-child { border-bottom: 0; }
  .about-panel,
  .contact-card { padding: 26px; border-radius: 28px; min-height: auto; }
  .service-card,
  .project-card { padding: 24px; min-height: auto; }
  .project-card.featured { min-height: 320px; }
  .footer-links { flex-wrap: wrap; }
}
