/* ============================================================
   MSS Charms Co. — Main Stylesheet
   THEME: Heritage Purple & Gold  (modernised from the original site)
   Hero/Footer = Deep Purple | Content = White/Lavender-cream | Accent = Gold
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Design tokens ────────────────────────────────────────── */
:root {
  /*
   * ORIGINAL PALETTE — modernised
   * Purple-magenta sidebar/logo  →  --purple
   * Warm amber-gold trim         →  --gold
   * Rust/terracotta headers      →  --rust
   */

  /* Brand purple (from original magenta-purple logo background) */
  --purple:    #6C1A70;
  --purple-l:  #8A2892;
  --purple-d:  #481050;
  --purple-xl: #300A38;

  /* Brand gold (from original diamond-pattern & logo trim) */
  --gold:      #C89220;
  --gold-l:    #E8B040;
  --gold-d:    #8C6410;
  --gold-glow: rgba(200, 146, 32, 0.25);

  /* Heritage rust – used as a subtle accent (terracotta section bars in original) */
  --rust:      #B84028;

  /* Content backgrounds */
  --bg:        #FFFFFF;
  --bg2:       #F8F4FC;   /* faint lavender-cream — alternating sections */
  --bg3:       #EEE6F5;   /* deeper lavender fill — inputs, inner panels */
  --surface:   #FFFFFF;

  /* Borders */
  --border:    rgba(108, 26, 112, 0.10);
  --border2:   rgba(200, 146, 32, 0.32);

  /* Alias shorthands (components use these) */
  --accent:      var(--gold);
  --accent-l:    var(--gold-l);
  --accent-d:    var(--gold-d);
  --accent-glow: var(--gold-glow);
  --blue:        #1E52C0;
  --green:       #16B866;

  /* Light-theme text */
  --text:       #28103C;   /* deep purple-black */
  --text-sec:   #60507A;   /* medium purple-gray */
  --text-muted: #A090BC;   /* light purple-gray */

  --font-h: 'Syne', sans-serif;
  --font-b: 'DM Sans', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --r:      10px;
  --r-lg:   18px;
}

/* Hero & Footer run in dark-purple context — override text tokens */
#hero {
  --text:       #F8F0E8;
  --text-sec:   rgba(248, 240, 232, 0.68);
  --text-muted: rgba(248, 240, 232, 0.38);
  --border:     rgba(255, 255, 255, 0.12);
}
footer {
  --text:       #F8F0E8;
  --text-sec:   rgba(248, 240, 232, 0.65);
  --text-muted: rgba(248, 240, 232, 0.38);
  --border:     rgba(255, 255, 255, 0.12);
}

/* ── Base ─────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section   { padding: 50px 0; }

/* ── Typography utilities ─────────────────────────────────── */
.label {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--purple);
  font-family: var(--font-h); margin-bottom: 14px;
}
#hero .label { color: var(--gold); }

.deco {
  display: inline-block; width: 28px; height: 2px;
  background: var(--gold); border-radius: 2px;
  vertical-align: middle; margin-right: 8px;
}
.h2 {
  font-family: var(--font-h);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700; line-height: 1.12; letter-spacing: -.02em;
  color: var(--text); margin-bottom: 14px;
}
.sub {
  font-size: 17px; color: var(--text-sec);
  line-height: 1.75; max-width: 500px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-gold {
  display: inline-block;
  font-size: 15px; font-weight: 600;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-l) 100%);
  color: #1A0820;
  padding: 13px 28px; border-radius: var(--r);
  border: none; cursor: pointer; letter-spacing: .03em;
  transition: transform .15s, box-shadow .2s, opacity .2s;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--gold-glow);
  opacity: .92;
}
.btn-out {
  display: inline-block;
  font-size: 15px; font-weight: 500;
  background: transparent;
  color: var(--text-sec);
  padding: 12px 26px; border-radius: var(--r);
  border: 1.5px solid rgba(200, 146, 32, 0.45);
  cursor: pointer;
  transition: border-color .2s, color .2s, transform .15s, background .2s;
}
.btn-out:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
/* On dark (hero) context the outline button needs a light border */
#hero .btn-out {
  color: rgba(248,240,232,.75);
  border-color: rgba(248,240,232,.35);
}
#hero .btn-out:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}

/* Default — floating over dark purple hero */
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 0 28px; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand     { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.nav-logo-icon {
  height: 60px; width: auto; flex-shrink: 0;
  border-radius: 6px;
  /* background: #fff; */
  /* padding: 3px 8px; */
  display: block;
}
.nav-brand-tag { font-size: 11px; color: rgba(248,240,232,.85); letter-spacing: .1em; text-transform: uppercase; padding-left: 2px; font-weight: 600; margin-bottom: 8px;}
.nav-links           { display: flex; gap: 26px; list-style: none; }
.nav-links a         { font-size: 15px; color: rgba(248,240,232,.85); transition: color .2s; font-weight: 600;}
.nav-links a:hover   { color: #F8F0E8; }
.nav-cta {
  font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--gold-l));
  color: #1A0820; padding: 8px 20px; border-radius: var(--r);
  transition: opacity .2s, transform .15s;
  box-shadow: 0 3px 14px var(--gold-glow);
}
.nav-cta:hover { opacity: .88; transform: translateY(-1px); }

.nav-actions {
  display: flex; align-items: center; gap: 14px;
}

/* Language toggle button */
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ar); font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,.15);
  color: #F8F0E8;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 30px;
  padding: 6px 14px 6px 10px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.lang-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1A0820;
  transform: translateY(-1px);
}
.lang-globe { font-size: 15px; line-height: 1; }
#nav.scrolled .lang-btn {
  background: rgba(108,26,112,.10);
  color: var(--purple);
  border-color: rgba(108,26,112,.40);
}
#nav.scrolled .lang-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1A0820;
}

.burger       { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span  { display: block; width: 22px; height: 1.5px; background: #F8F0E8; transition: background .3s; }

/* Scrolled — white bar over light content sections */
#nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  box-shadow: 0 2px 24px rgba(108,26,112,.08);
}
#nav.scrolled .nav-brand-name      { color: var(--purple); }
#nav.scrolled .nav-brand-tag       { color: var(--text-sec); }
#nav.scrolled .nav-links a         { color: var(--text-sec); }
#nav.scrolled .nav-links a:hover   { color: var(--purple); }
#nav.scrolled .burger span         { background: var(--purple); }

/* Mobile menu */
.mob-menu {
  display: none; position: fixed;
  top: 76px; left: 0; right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(108,26,112,.10);
  padding: 16px 28px 28px;
  z-index: 899; flex-direction: column; gap: 2px;
}
.mob-menu.open       { display: flex; }
.mob-menu a          { font-size: 16px; color: var(--text-sec); padding: 12px 0; border-bottom: 1px solid var(--border); }
.mob-cta             { margin-top: 14px !important; background: linear-gradient(135deg, var(--gold), var(--gold-l)); color: #1A0820 !important; text-align: center; padding: 13px !important; border-radius: var(--r); font-weight: 600; border-bottom: none !important; }
.mob-lang-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 10px; width: 100%;
  font-family: var(--font-ar); font-size: 15px; font-weight: 700;
  background: rgba(108,26,112,.08);
  color: var(--purple);
  border: 1.5px solid rgba(108,26,112,.25);
  border-radius: var(--r); padding: 12px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.mob-lang-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1A0820;
}

/* ════════════════════════════════════════════════════════════
   HERO  — deep purple-magenta (brand primary)
   ════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  /* display: flex; align-items: center; */
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
  background:
    linear-gradient(to right, rgba(2,10,22,0.82) 0%, rgba(2,10,22,0.70) 35%, rgba(2,10,22,0.40) 65%, rgba(2,10,22,0.05) 100%),
    url('../images/hero-bg.png') center / cover no-repeat;
  color: var(--text);
}

/* Background deco */
.hero-bg              { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,146,32,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,146,32,.08) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-glow-g {
  position: absolute; width: 900px; height: 700px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,146,32,.22) 0%, transparent 65%);
  top: -120px; right: -200px; pointer-events: none;
}
.hero-glow-b {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138,40,146,.35) 0%, transparent 70%);
  bottom: 20px; left: -150px; pointer-events: none;
}
.hero-stripe {
  position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(160deg, transparent 40%, rgba(200,146,32,.1) 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-line {
  position: absolute; top: 0; right: 22%; width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(200,146,32,.45) 40%, transparent);
}
.hero-content { position: relative; z-index: 1; max-width: 740px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(200,146,32,.12);
  border: 1px solid rgba(200,146,32,.35);
  border-radius: 40px; padding: 6px 16px 6px 10px; margin-bottom: 28px;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  animation: blink 2.5s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(1.4); }
}
.hero-badge-t { font-size: 13px; color: var(--gold); letter-spacing: .06em; }
.hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700; line-height: 1.04; letter-spacing: -.025em;
  color: var(--text); margin-bottom: 26px;
}
.hero-h1 .gold { color: var(--gold); }
.hero-h1 .bl   { display: block; }
.hero-p        { font-size: 18px; color: var(--text-sec); max-width: 520px; line-height: 1.78; margin-bottom: 38px; }
.hero-btns     { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 1;
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 60px; padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat-n      { font-family: var(--font-h); font-size: 32px; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 4px; }
.stat-n span { color: var(--gold); }
.stat-l      { font-size: 13px; color: var(--text-muted); letter-spacing: .04em; }

/* ════════════════════════════════════════════════════════════
   ABOUT  — lavender-cream bg, white card
   ════════════════════════════════════════════════════════════ */
#about { background: var(--bg2); }
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.about-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(108,26,112,.10);
}
.about-card-top  { height: 4px; background: linear-gradient(90deg, var(--purple), var(--gold)); }
.about-card-body { padding: 32px 30px 28px; }
.about-est {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,26,112,.07);
  border: 1px solid rgba(108,26,112,.18);
  border-radius: 6px; padding: 5px 13px;
  font-size: 13px; font-weight: 500; color: var(--purple);
  letter-spacing: .04em; margin-bottom: 18px;
}
.about-card-h  { font-family: var(--font-h); font-size: 21px; font-weight: 700; margin-bottom: 10px; color: var(--purple-d); }
.about-card-p  { font-size: 15px; color: var(--text-sec); line-height: 1.7; }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.pillar {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 15px;
  transition: border-color .2s, box-shadow .2s;
}
.pillar:hover { border-color: rgba(108,26,112,.25); box-shadow: 0 4px 18px rgba(108,26,112,.08); }
.pillar-ico   { font-size: 18px; margin-bottom: 6px; }
.pillar-n     { font-size: 14px; font-weight: 600; color: var(--purple-d); }
.pillar-s     { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.mission-block {
  background: rgba(108,26,112,.05);
  border-radius: 0 var(--r) var(--r) 0;
  border-left: 3px solid var(--purple);
  padding: 18px 22px; margin-top: 28px;
}
.mission-lbl { font-size: 11px; color: var(--purple); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 7px; }
.mission-txt { font-size: 15px; color: var(--text-sec); line-height: 1.7; font-style: italic; }

/* ════════════════════════════════════════════════════════════
   LEADERSHIP SECTION
   ════════════════════════════════════════════════════════════ */
.leadership-sec { background: var(--bg); }

.ceo-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 52px 60px;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 48px rgba(108,26,112,.09);
}
.ceo-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
}
/* Subtle purple wash on left behind image */
.ceo-wrap::after {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 300px;
  background: linear-gradient(to right, rgba(108,26,112,.05), transparent);
  pointer-events: none;
}

.ceo-img-col { display: flex; justify-content: center; position: relative; z-index: 1; }
.ceo-img {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover; object-position: top center;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(200,146,32,.12), 0 8px 32px rgba(108,26,112,.20);
  display: block;
}

.ceo-info  { position: relative; z-index: 1; }
.ceo-name  { font-family: var(--font-h); font-size: 30px; font-weight: 700; color: var(--purple-d); line-height: 1.1; margin-bottom: 6px; }
.ceo-title {
  font-size: 16px; font-weight: 600; letter-spacing: .03em;
  color: var(--gold-d);
  margin-bottom: 0;
}
.ceo-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: 2px; margin: 22px 0;
}
.ceo-quote {
  font-size: 17px; color: var(--text-sec);
  line-height: 1.78; font-style: italic;
  max-width: 580px;
  border-left: 3px solid rgba(108,26,112,.25);
  padding-left: 20px;
}

/* ════════════════════════════════════════════════════════════
   SERVICES  — white bg, elevated cards with purple top bar
   ════════════════════════════════════════════════════════════ */
#services { background: var(--bg); }
.svc-hd {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px; margin-bottom: 52px;
}
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; }

.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px 52px;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 18px rgba(108,26,112,.06);
  transition: border-color .25s, transform .2s, box-shadow .25s;
  cursor: pointer;
}
/* Purple-to-gold top bar on hover */
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  opacity: 0; transition: opacity .25s;
}
.svc-card:hover {
  border-color: rgba(108,26,112,.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(108,26,112,.14), 0 0 0 1px rgba(108,26,112,.1);
}
.svc-card:hover::before { opacity: 1; }
.svc-ico {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(108,26,112,.08);
  border: 1px solid rgba(108,26,112,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.svc-n     { font-family: var(--font-h); font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--purple-d); }
.svc-d     { font-size: 14px; color: var(--text-sec); line-height: 1.65; }
.svc-arrow {
  position: absolute; bottom: 20px; right: 20px;
  font-size: 16px; color: var(--text-muted);
  transition: color .2s, transform .2s;
}
.svc-card:hover .svc-arrow { color: var(--purple); transform: translateX(4px); }

/* ════════════════════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(40,5,60,.75);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--r-lg); width: 100%; max-width: 920px;
  position: relative; overflow: hidden;
  animation: modal-in .3s ease;
  box-shadow: 0 30px 90px rgba(40,5,60,.25);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.modal-top    { height: 3px; background: linear-gradient(90deg, var(--purple), var(--gold)); }
.modal-header { padding: 28px 32px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-title  { font-family: var(--font-h); font-size: 24px; font-weight: 700; color: var(--purple-d); }
.modal-close {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text-sec); width: 60px; height: 36px; border-radius: 8px;
  cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s; flex-shrink: 0;
}
.modal-close:hover { background: var(--bg3); color: var(--purple); }
.modal-body        { padding: 24px 32px 36px; }

.m-block            { margin-bottom: 28px; }
.m-block:last-child { margin-bottom: 0; }
.m-title {
  font-family: var(--font-h); font-size: 13px; font-weight: 700;
  color: var(--purple); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.m-intro { font-size: 16px; color: var(--text-sec); line-height: 1.75; margin-bottom: 16px; }
.m-img-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 20px;
  align-items: start; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 18px; margin-bottom: 14px;
}
.m-img-row img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; display: block; }
.m-list        { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.m-list li     { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-sec); line-height: 1.6; }
.m-list li::before { content: '—'; color: var(--purple); font-weight: 600; flex-shrink: 0; margin-top: 1px; }
.m-img-grid            { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 12px; margin-bottom: 16px; }
.m-img-grid img        { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.m-img-grid .m-img-cap { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 5px; }
.m-hero-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--border); margin-bottom: 18px; display: block; }

/* ════════════════════════════════════════════════════════════
   CLIENTS  — lavender-cream bg
   ════════════════════════════════════════════════════════════ */
#clients { background: var(--bg2); }
.clients-hd      { text-align: center; margin-bottom: 52px; }
.clients-hd .sub { margin: 0 auto; text-align: center; }
.clients-grid    { display: grid; grid-template-columns: repeat(auto-fit,minmax(195px,1fr)); gap: 14px; }
.c-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 18px 16px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 2px 12px rgba(108,26,112,.05);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.c-card:hover {
  border-color: rgba(108,26,112,.25);
  box-shadow: 0 8px 28px rgba(108,26,112,.10);
  transform: translateY(-2px);
}
.c-init {
  width: 40px; height: 40px; border-radius: 9px;
  background: linear-gradient(135deg, var(--purple-d), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 14px; font-weight: 700;
  color: #FFFFFF; flex-shrink: 0;
}
.c-name { font-size: 14px; font-weight: 500; color: var(--purple-d); line-height: 1.35; }

/* ════════════════════════════════════════════════════════════
   CONTACT  — white bg
   ════════════════════════════════════════════════════════════ */
#contact { background: var(--bg); }
.contact-wrap  { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-items { margin-top: 28px; }
.ci            { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ci:last-child { border-bottom: none; }
.ci-ico {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(108,26,112,.08);
  border: 1px solid rgba(108,26,112,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0; margin-top: 2px;
}
.ci-lbl         { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.ci-val         { font-size: 15px; color: var(--text); }
.ci-val a       { color: var(--purple); transition: color .2s; }
.ci-val a:hover { color: var(--gold); }

.form-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 34px 30px;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 48px rgba(108,26,112,.09);
}
.form-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
}
.form-h { font-family: var(--font-h); font-size: 21px; font-weight: 700; margin-bottom: 22px; color: var(--purple-d); }
.form-row  { margin-bottom: 14px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.f-lbl { display: block; font-size: 13px; color: var(--text-sec); letter-spacing: .04em; margin-bottom: 6px; }
.f-inp, .f-sel, .f-ta {
  width: 100%; background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--r); color: var(--text);
  font-family: var(--font-b); font-size: 15px; padding: 10px 13px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.f-inp:focus, .f-sel:focus, .f-ta:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(108,26,112,.12);
}
.f-inp::placeholder, .f-ta::placeholder { color: var(--text-muted); }
.f-ta  { resize: vertical; min-height: 100px; }
.f-sel { appearance: none; cursor: pointer; }
.f-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--gold) 100%);
  color: #FFFFFF; border: none; border-radius: var(--r); padding: 13px;
  font-family: var(--font-b); font-size: 16px; font-weight: 600;
  cursor: pointer; margin-top: 6px;
  transition: transform .15s, box-shadow .2s, opacity .2s;
  box-shadow: 0 4px 20px rgba(108,26,112,.25);
}
.f-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(108,26,112,.3);
  opacity: .92;
}
.f-note { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 12px; }
#f-res  { font-size: 14px; font-weight: 500; text-align: center; margin-top: 12px; min-height: 22px; }

/* ════════════════════════════════════════════════════════════
   FOOTER  — deep purple (matches hero)
   ════════════════════════════════════════════════════════════ */
footer {
  background: linear-gradient(135deg, #481050 0%, #2A0638 100%);
  border-top: none; padding: 40px 0 28px;
  color: var(--text);
}
.ft-inner      { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.ft-brand     { display: flex; align-items: center; }
.ft-logo-icon {
  height: 60px; width: auto;
  border-radius: 6px;
  /* background: #fff; */
  /* padding: 4px 10px; */
  display: block;
}
.ft-sub        { font-size: 12px; color: rgba(248,240,232,.82); margin-top: 3px; letter-spacing: .06em; text-transform: uppercase; }
.ft-copy       { font-size: 13px; color: rgba(248,240,232,.82); }
.ft-links      { display: flex; gap: 22px; }
.ft-links a    { font-size: 13px; color: rgba(248,240,232,.85); transition: color .2s; }
.ft-links a:hover { color: var(--gold); }

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════ */
.fu { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
.fu.vis { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 920px) {
  .ceo-wrap { grid-template-columns: 1fr; gap: 32px; padding: 36px 32px; text-align: center; }
  .ceo-img-col { justify-content: center; }
  .ceo-divider { margin: 18px auto; }
  .ceo-quote { border-left: none; padding-left: 0; }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .nav-links, .nav-actions { display: none; }
  .burger                    { display: flex; }
  .m-img-row                 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ceo-wrap  { padding: 28px 20px; }
  .ceo-img   { width: 120px; height: 120px; }
  .ceo-name  { font-size: 24px; }
  .section       { padding: 64px 0; }
  .form-2col     { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .hero-stats    { gap: 22px; }
  .ft-inner      { flex-direction: column; align-items: flex-start; }
  .modal-header, .modal-body { padding-left: 20px; padding-right: 20px; }
  .m-img-grid    { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════
   RTL — Arabic language overrides
   ════════════════════════════════════════════════════════════ */
[dir="rtl"] {
  font-family: var(--font-ar), sans-serif;
}
[dir="rtl"] body,
[dir="rtl"] .sub,
[dir="rtl"] .hero-p,
[dir="rtl"] .about-card-p,
[dir="rtl"] .mission-txt,
[dir="rtl"] .ceo-quote,
[dir="rtl"] .m-intro,
[dir="rtl"] .m-list li,
[dir="rtl"] .ci-val,
[dir="rtl"] .f-inp,
[dir="rtl"] .f-sel,
[dir="rtl"] .f-ta {
  font-family: var(--font-ar), sans-serif;
  line-height: 1.85;
}
[dir="rtl"] .h2,
[dir="rtl"] .hero-h1,
[dir="rtl"] .ceo-name,
[dir="rtl"] .about-card-h,
[dir="rtl"] .modal-title,
[dir="rtl"] .form-h,
[dir="rtl"] .svc-n,
[dir="rtl"] .nav-brand-name {
  font-family: var(--font-ar), sans-serif;
  letter-spacing: 0;
}

/* Flip flex directions */
[dir="rtl"] .nav-inner,
[dir="rtl"] .ft-inner,
[dir="rtl"] .hero-btns,
[dir="rtl"] .hero-stats,
[dir="rtl"] .ci,
[dir="rtl"] .c-card,
[dir="rtl"] .about-pillars,
[dir="rtl"] .svc-hd,
[dir="rtl"] .hero-badge {
  flex-direction: row-reverse;
}
[dir="rtl"] .ft-links,
[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}
[dir="rtl"] .nav-brand { align-items: flex-end; }
[dir="rtl"] .nav-brand-tag { letter-spacing: 0; }
[dir="rtl"] .ceo-wrap { direction: rtl; }
[dir="rtl"] .ceo-quote { border-left: none; border-right: 3px solid rgba(108,26,112,.25); padding-left: 0; padding-right: 20px; }
[dir="rtl"] .mission-block { border-left: none; border-right: 3px solid var(--purple); border-radius: var(--r) 0 0 var(--r); }
[dir="rtl"] .about-card-body,
[dir="rtl"] .ceo-info,
[dir="rtl"] .modal-body,
[dir="rtl"] .form-box { text-align: right; }
[dir="rtl"] .modal-header { flex-direction: row-reverse; }
[dir="rtl"] .deco { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero-stats div { text-align: right; }
[dir="rtl"] .svc-arrow { left: 20px; right: auto; transform: scaleX(-1); }
[dir="rtl"] .svc-card:hover .svc-arrow { transform: scaleX(-1) translateX(-4px); }
[dir="rtl"] .f-lbl,
[dir="rtl"] .ci-lbl { text-align: right; }
[dir="rtl"] .clients-hd,
[dir="rtl"] .clients-hd .sub { text-align: right; }
[dir="rtl"] .m-list li { flex-direction: row-reverse; }
[dir="rtl"] .m-list li::before { margin-top: 0; }

@media (max-width: 920px) {
  [dir="rtl"] .ceo-wrap { text-align: right; }
  [dir="rtl"] .ceo-divider { margin: 18px 0; }
}
