/* =========================================================
   Nawar's Legacy Company (NLC) — site stylesheet
   Works for both the English (LTR / Arial) page and the
   Arabic (RTL / Cairo) page. Direction-specific rules are
   scoped under html[dir="rtl"].
   ========================================================= */

:root{
  --navy:        #262B5C;
  --navy-deep:   #1D2148;
  --orange:      #F2690C;
  --orange-deep: #D6580A;
  --teal:        #12A088;
  --paper:       #F5F4F8;
  --paper-2:     #FFFFFF;
  --ink:         #201F33;
  --ink-soft:    #57576E;
  --line:        #E4E2ED;

  --font-en: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-ar: 'Cairo', Arial, sans-serif;

  --wrap: 1140px;
  --radius: 4px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-en);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
html[dir="rtl"] body{ font-family:var(--font-ar); }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-weight:800; color:var(--navy); }
p{ margin:0; }
section{ position:relative; }

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

/* ---------- signature signal-arc motif ---------- */
.signal{
  position:absolute;
  width:120px; height:120px;
  pointer-events:none;
  opacity:.5;
}
.signal svg{ width:100%; height:100%; }

/* ---------- eyebrow / kicker ---------- */
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--orange);
  margin-bottom:14px;
}
.kicker::before{
  content:"";
  width:26px; height:2px;
  background:var(--orange);
  display:inline-block;
}
html[dir="rtl"] .kicker{ letter-spacing:0; }

/* ---------- top nav ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(38,43,92,.97);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:78px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:43px; width:auto; }
.brand span{
  color:#fff; font-weight:800; font-size:14px; letter-spacing:.03em;
  display:none;
}
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{
  color:#D9D9E6; font-size:14.5px; font-weight:600;
  transition:color .15s ease;
}
.nav-links a:hover{ color:#fff; }
.nav-actions{ display:flex; align-items:center; gap:14px; }
.lang-switch{
  border:1px solid rgba(255,255,255,.28);
  color:#fff; font-size:13px; font-weight:700;
  padding:8px 14px; border-radius:99px;
  letter-spacing:.02em;
}
.lang-switch:hover{ background:rgba(255,255,255,.1); }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:12px 22px;
  border-radius:var(--radius);
  font-weight:700; font-size:14.5px;
  cursor:pointer; border:none;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{ background:var(--orange); color:#fff; }
.btn-primary:hover{ background:var(--orange-deep); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover{ border-color:#fff; }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:var(--navy-deep); }

.nav-toggle{ display:none; }

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:640px;
  display:flex; align-items:center;
  color:#fff;
  overflow:hidden;
  background:var(--navy-deep);
}
.hero-bg{
  position:absolute; inset:0;
  background-image:url('assets/hero.jpg');
  background-size:cover; background-position:center;
  opacity:.34;
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(115deg, rgba(29,33,72,.98) 30%, rgba(29,33,72,.72) 62%, rgba(242,105,12,.35) 100%);
}
html[dir="rtl"] .hero-overlay{
  background:linear-gradient(245deg, rgba(29,33,72,.98) 30%, rgba(29,33,72,.72) 62%, rgba(242,105,12,.35) 100%);
}
.hero-inner{ position:relative; z-index:2; padding:120px 0 100px; }
.hero h1{
  color:#fff;
  font-size:clamp(34px,5vw,58px);
  line-height:1.12;
  max-width:760px;
  margin-bottom:22px;
  letter-spacing:-.01em;
}
.hero h1 em{
  font-style:normal;
  color:var(--orange);
}
.hero p.lead{
  color:#CBCBE0;
  font-size:18px;
  max-width:600px;
  margin-bottom:36px;
}
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:56px; }
.hero-stats{
  display:flex; gap:0;
  border-top:1px solid rgba(255,255,255,.18);
  padding-top:28px;
  max-width:640px;
  flex-wrap:wrap;
}
.hero-stats .stat{
  padding-inline-end:36px;
  margin-inline-end:36px;
  border-inline-end:1px solid rgba(255,255,255,.18);
}
.hero-stats .stat:last-child{ border-inline-end:none; }
.hero-stats .num{ font-size:28px; font-weight:800; color:#fff; }
.hero-stats .lbl{ font-size:13px; color:#B8B8D0; margin-top:4px; }

.tower-mark{
  position:absolute;
  inset-inline-end:6%;
  top:50%;
  transform:translateY(-50%);
  width:280px; height:280px;
  opacity:.16;
  z-index:1;
}

/* ---------- section headers ---------- */
.section-head{ max-width:680px; margin-bottom:44px; }
.section-head h2{ font-size:clamp(26px,3.4vw,38px); margin-bottom:14px; }
.section-head p{ color:var(--ink-soft); font-size:16.5px; }

.section{ padding:88px 0; }
.section.tight{ padding:64px 0; }
.section.alt{ background:var(--paper-2); }

/* ---------- about ---------- */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.about-media{ position:relative; }
.about-media img{
  border-radius:var(--radius);
  box-shadow:0 24px 48px -20px rgba(38,43,92,.35);
}
.about-media .est-badge{
  position:absolute;
  bottom:-24px;
  inset-inline-start:-24px;
  background:var(--orange);
  color:#fff;
  padding:18px 22px;
  border-radius:var(--radius);
  box-shadow:0 16px 30px -10px rgba(242,105,12,.5);
}
.est-badge .num{ font-size:26px; font-weight:800; line-height:1; }
.est-badge .txt{ font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; opacity:.92; margin-top:4px; }
html[dir="rtl"] .est-badge .txt{ letter-spacing:0; }

.about-copy p{ color:var(--ink-soft); margin-bottom:16px; font-size:16px; }
.about-copy p:last-child{ margin-bottom:0; }

.offices{ display:flex; gap:26px; margin-top:28px; flex-wrap:wrap; }
.offices .office{ font-size:14px; font-weight:700; color:var(--navy); display:flex; align-items:center; gap:8px; }
.offices .office svg{ width:16px; height:16px; color:var(--orange); flex:none; }

/* ---------- vision / mission ---------- */
.vm-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.vm-card{
  background:var(--navy);
  color:#fff;
  padding:40px 36px;
  border-radius:var(--radius);
  position:relative;
  overflow:hidden;
}
.vm-card.teal{ background:var(--teal); }
.vm-card .ic{ width:44px; height:44px; color:#fff; margin-bottom:22px; }
.vm-card h3{ color:#fff; font-size:21px; margin-bottom:14px; }
.vm-card p{ color:rgba(255,255,255,.86); font-size:15.5px; }

/* ---------- values ---------- */
.values-band{
  background:var(--navy-deep);
  background-image:linear-gradient(120deg, rgba(29,33,72,.94), rgba(29,33,72,.82)), url('assets/values-bg.jpg');
  background-size:cover; background-position:center;
  color:#fff;
}
.values-band .section-head h2{ color:#fff; }
.values-band .section-head p{ color:#C6C6DC; }
.values-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:rgba(255,255,255,.14);
  border-radius:var(--radius);
  overflow:hidden;
}
.value-card{
  background:var(--navy-deep);
  padding:34px 26px;
}
.value-card .ic{ width:38px; height:38px; color:var(--orange); margin-bottom:20px; }
.value-card h3{ color:#fff; font-size:16.5px; margin-bottom:10px; line-height:1.35; }
.value-card p{ color:#B7B7CE; font-size:14px; }

/* ---------- services ---------- */
.services-list{ display:flex; flex-direction:column; gap:0; margin-top:8px; }
.service-row{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:26px;
  padding:32px 0;
  border-top:1px solid var(--line);
}
.service-row:last-child{ border-bottom:1px solid var(--line); }
.service-row .ic-wrap{
  width:58px; height:58px;
  border-radius:50%;
  background:rgba(18,160,136,.1);
  display:flex; align-items:center; justify-content:center;
  color:var(--teal);
}
.service-row .ic-wrap svg{ width:28px; height:28px; }
.service-row h3{ font-size:19px; margin-bottom:8px; }
.service-row p{ color:var(--ink-soft); font-size:15.5px; max-width:760px; }
.service-index{
  font-size:12.5px; font-weight:800; color:var(--orange);
  letter-spacing:.1em; margin-bottom:6px; display:block;
}

/* ---------- business domains ---------- */
.domains{
  background:var(--navy-deep);
  background-image:linear-gradient(120deg, rgba(29,33,72,.92), rgba(29,33,72,.85)), url('assets/domains-bg.jpg');
  background-size:cover; background-position:center;
  color:#fff;
}
.domains .section-head h2{ color:#fff; }
.domains .section-head p{ color:#C6C6DC; }
.domain-list{ display:grid; grid-template-columns:1fr 1fr; gap:16px; max-width:920px; }
.domain-item{
  display:flex; align-items:center; gap:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  padding:20px 22px;
  border-radius:var(--radius);
}
.domain-item .ic{ width:22px; height:22px; color:var(--orange); flex:none; }
.domain-item span{ font-weight:700; font-size:15.5px; }

/* ---------- clients ---------- */
.clients-band{ text-align:center; }
.clients-band .section-head{ margin-left:auto; margin-right:auto; text-align:center; }
.client-chips{
  display:flex; flex-wrap:wrap; gap:12px;
  justify-content:center;
  margin-top:8px;
}
.client-chips span{
  border:1px solid var(--line);
  background:var(--paper-2);
  padding:12px 22px;
  border-radius:99px;
  font-weight:700;
  font-size:14.5px;
  color:var(--navy);
}

/* ---------- contact / cta ---------- */
.cta-band{
  background:var(--orange);
  color:#fff;
  padding:64px 0;
}
.cta-inner{
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
}
.cta-inner h2{ color:#fff; font-size:clamp(24px,3vw,32px); max-width:560px; }
.cta-inner p{ color:rgba(255,255,255,.9); margin-top:10px; font-size:15.5px; }

.contact-grid{
  display:grid; grid-template-columns:1.1fr .9fr; gap:60px;
}
.contact-info h2{ margin-bottom:16px; }
.contact-info p.lead{ color:var(--ink-soft); font-size:16px; margin-bottom:32px; }
.contact-list{ display:flex; flex-direction:column; gap:22px; }
.contact-list li{ display:flex; gap:16px; align-items:flex-start; }
.contact-list .ic-wrap{
  width:44px; height:44px; border-radius:50%;
  background:rgba(38,43,92,.08);
  display:flex; align-items:center; justify-content:center;
  color:var(--navy); flex:none;
}
.contact-list .ic-wrap svg{ width:20px; height:20px; }
.contact-list .lbl{ font-size:12.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-soft); margin-bottom:4px; }
html[dir="rtl"] .contact-list .lbl{ letter-spacing:0; }
.contact-list .val{ font-weight:700; color:var(--navy); font-size:15.5px; }

.contact-card{
  background:var(--navy);
  color:#fff;
  padding:40px 36px;
  border-radius:var(--radius);
}
.contact-card h3{ color:#fff; margin-bottom:10px; font-size:20px; }
.contact-card p{ color:#C6C6DC; font-size:15px; margin-bottom:26px; }
.contact-card .btn{ width:100%; margin-bottom:12px; }

/* ---------- footer ---------- */
footer{ background:var(--navy-deep); color:#B7B7CE; padding:50px 0 26px; }
.foot-top{
  display:flex; justify-content:space-between; align-items:flex-start; gap:30px; flex-wrap:wrap;
  padding-bottom:34px; margin-bottom:26px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.foot-brand img{ height:40px; margin-bottom:14px; }
.foot-brand p{ max-width:320px; font-size:14px; color:#9E9EB8; }
.foot-links{ display:flex; gap:64px; flex-wrap:wrap; }
.foot-links h4{ color:#fff; font-size:13px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:16px; }
html[dir="rtl"] .foot-links h4{ letter-spacing:0; }
.foot-links ul{ display:flex; flex-direction:column; gap:10px; }
.foot-links a{ font-size:14.5px; color:#B7B7CE; }
.foot-links a:hover{ color:#fff; }
.foot-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; color:#8A8AA6; }

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .nav-links{ display:none; }
  .about-grid, .vm-grid, .contact-grid{ grid-template-columns:1fr; }
  .values-grid{ grid-template-columns:repeat(2,1fr); }
  .domain-list{ grid-template-columns:1fr; }
  .service-row{ grid-template-columns:52px 1fr; }
  .tower-mark{ display:none; }
  .foot-links{ gap:36px; }
}
@media (max-width: 560px){
  .values-grid{ grid-template-columns:1fr; }
  .hero-inner{ padding:90px 0 70px; }
  .about-media .est-badge{ inset-inline-start:12px; bottom:-18px; padding:14px 18px; }
  .cta-inner{ flex-direction:column; align-items:flex-start; }
}
