:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --panel: rgba(255,255,255,0.035);
  --gold: #d6ad54;
  --gold-light: #f5d88a;
  --text: #f7f3e8;
  --muted: #b7b1a4;
  --border: rgba(214,173,84,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Tajawal", sans-serif;
  overflow-x: hidden;
}
body.en { direction: ltr; font-family: "Montserrat", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: grid;
  place-items: center;
  transition: opacity .7s ease, visibility .7s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo-wrap {
  position: relative;
  width: min(330px, 70vw);
  overflow: hidden;
  border-radius: 20px;
}
.loader-logo { width: 100%; }
.shine {
  position: absolute;
  inset: -30% auto -30% -40%;
  width: 25%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation: shine 1.5s ease 1;
}
@keyframes shine { to { left: 120%; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5,5,5,.78);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar {
  min-height: 38px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
.clock-block {
  display: flex;
  align-items: center;
  gap: 9px;
  font-variant-numeric: tabular-nums;
}
.lang-btn {
  position: absolute;
  left: max(16px, calc((100% - 1120px)/2));
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
  cursor: pointer;
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img {
  width: 122px;
  height: 62px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 34px;
}
.nav-links a {
  color: #dfdbd2;
  font-size: 15px;
  transition: .25s;
}
.nav-links a:hover { color: var(--gold-light); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  background: var(--text);
}

.hero {
  min-height: 760px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(214,173,84,.12), transparent 34%),
    linear-gradient(180deg, #050505 0%, #080704 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% -10%;
  height: 52%;
  border-radius: 50%;
  border-top: 1px solid rgba(214,173,84,.25);
  box-shadow: 0 -12px 80px rgba(214,173,84,.08);
}
.world-lines {
  position: absolute;
  inset: 40% -20% -30%;
  opacity: .24;
  background-image:
    linear-gradient(rgba(214,173,84,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,173,84,.18) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(700px) rotateX(65deg);
  mask-image: radial-gradient(circle, black 20%, transparent 75%);
}
.orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .12;
  background: var(--gold);
}
.orb-one { top: 12%; right: -10%; }
.orb-two { bottom: 0; left: -10%; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: 100px 72px;
}
.hero-logo-card {
  width: min(430px, 80vw);
  margin: 0 auto 26px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.hero-logo-card img { width: 100%; }
.eyebrow {
  color: var(--gold-light);
  letter-spacing: .22em;
  font-size: 13px;
  margin: 0 0 14px;
}
.hero h1 {
  width: min(820px, 100%);
  margin: 0 auto 30px;
  font-size: clamp(34px, 5vw, 65px);
  line-height: 1.28;
  font-weight: 600;
}
.primary-btn, .outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.primary-btn {
  color: #111;
  background: linear-gradient(135deg, #b98d34, #f1d47a);
  box-shadow: 0 12px 35px rgba(214,173,84,.2);
  font-weight: 700;
}
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(214,173,84,.3); }

.section { padding: 90px 0; }
.section-heading {
  text-align: center;
  margin-bottom: 34px;
}
.section-heading span {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
}
.section-heading span::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
}
.align-start { text-align: start; }
.align-start span::after { margin-inline: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 245px;
  padding: 30px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  transition: .3s;
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245,216,138,.55);
}
.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  font-size: 29px;
  color: var(--gold-light);
}
.service-card h3 { margin: 0 0 12px; font-size: 21px; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.8; }

.about-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #090909, #050505);
  border-block: 1px solid rgba(255,255,255,.05);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
}
.about-text {
  color: #d4cec2;
  font-size: 19px;
  line-height: 2;
  margin: 0;
}
.about-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.about-visual img {
  width: 280px;
  border-radius: 22px;
  position: relative;
  z-index: 2;
}
.gold-ring {
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(214,173,84,.08);
}

.contact-section { padding: 80px 0; }
.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: radial-gradient(circle at 80% 20%, rgba(214,173,84,.08), transparent 35%);
}
.contact-box h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); }
.outline-btn {
  border: 1px solid var(--gold);
  color: var(--gold-light);
  white-space: nowrap;
}
.outline-btn:hover { background: var(--gold); color: #111; }

footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 28px 0;
  color: var(--muted);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .contact-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .topbar { justify-content: flex-end; padding-inline: 16px; }
  .clock-block { font-size: 11px; }
  .lang-btn { left: 16px; }

  .menu-toggle { display: block; cursor: pointer; }
  .nav-links {
    position: absolute;
    top: 114px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: rgba(10,10,10,.98);
    border: 1px solid var(--border);
    border-radius: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; }

  .hero { min-height: 700px; }
  .hero-content { padding-top: 70px; }
  .hero-logo-card { width: min(320px, 84vw); }
  .hero h1 { font-size: 36px; }

  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .about-section { padding: 70px 0; }
  .about-visual img { width: 230px; }
  .gold-ring { width: 270px; height: 270px; }
  .contact-box { padding: 30px 24px; }
  .footer-content { flex-direction: column; text-align: center; }
}
