:root {
  --gold: #c9972d;
  --gold-dark: #9e6d13;
  --gold-soft: #f3e1bb;
  --dark: #101317;
  --dark-2: #191f27;
  --text: #252525;
  --muted: #6d7278;
  --surface: #ffffff;
  --surface-2: #f8f8f8;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 18px 50px rgba(13, 18, 24, 0.08);
  --radius: 24px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.section {
  padding: 84px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-title {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 800;
}

.section-subtitle {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-block;
}

.section-text {
  color: var(--muted);
  max-width: 720px;
  font-size: 17px;
}

.topbar {
  background: linear-gradient(90deg, #11151c, #1b2430);
  color: #fff;
  font-size: 14px;
}

.topbar .container {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.96;
}

.socials {
  display: flex;
  gap: 8px;
  align-items: center;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  width: 92px;
  height: auto;
}

.brand-text h1 {
  margin: 0;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1;
}

.brand-text p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-lang-item {
  display: flex;
  align-items: center;
  margin-inline-start: 4px;
}

.nav-link {
  position: relative;
  color: #32363b;
  font-weight: 600;
  padding: 8px 0;
}
/* مسافة بين اللوجو والتابات في الإنجليزي */
body[dir="ltr"] .nav-links {
  margin-left: 40px;
}

/* في العربي نخليها من الناحية التانية */
body[dir="rtl"] .nav-links {
  margin-right: 60px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.lang-toggle {
  border: 1px solid rgba(201,151,45,0.35);
  border-radius: 999px;
  padding: 3px;
  display: inline-flex;
  gap: 3px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16,19,23,0.06);
}

.lang-toggle button {
  border: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  color: #444;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s ease;
}

.lang-toggle button.active {
  background: linear-gradient(135deg, var(--gold), #d9af50);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #222;
  position: relative;
  transition: 0.3s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(201,151,45,0.15), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(201,151,45,0.1), transparent 20%),
    linear-gradient(180deg, #fdfcfb 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - 90px);
  padding: 50px 0 70px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(201,151,45,0.1);
  color: var(--gold-dark);
  border: 1px solid rgba(201,151,45,0.22);
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.04;
  margin: 0 0 22px;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero-title .accent {
  color: var(--gold-dark);
}

.hero-text {
  font-size: 18px;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 32px;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  border: none;
  border-radius: 16px;
  padding: 15px 26px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #d8ad4b);
  color: #fff;
  box-shadow: 0 16px 26px rgba(201,151,45,0.25);
}

.btn-secondary {
  background: #fff;
  color: #333;
  border: 1px solid rgba(0,0,0,0.1);
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

.mini-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
}

.mini-card .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.mini-card strong {
  display: block;
  font-size: 15px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.visual-card {
  position: absolute;
  inset: 30px 0 0 0;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(16,19,23,0.07), rgba(201,151,45,0.07));
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(18, 19, 23, 0.12);
}

.cityline {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.03));
}

.building {
  position: absolute;
  bottom: 40px;
  right: 70px;
  width: min(68%, 420px);
  height: 72%;
  border-radius: 26px 26px 8px 8px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.78) 0 18px, rgba(255,255,255,0.2) 18px 24px),
    linear-gradient(135deg, #232935, #3d4653 35%, #8a939f 100%);
  transform: skewX(-8deg);
  border: 6px solid rgba(255,255,255,0.9);
}

.building::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.25) 0 1px, transparent 1px 14%),
    linear-gradient(rgba(255,255,255,0.25) 0 1px, transparent 1px 14%),
    linear-gradient(135deg, #1b2230, #556070);
  background-size: 48px 100%, 100% 48px, auto;
}

.building::after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: 0;
  width: 110px;
  height: 45%;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #737f8d, #232935);
}

.crane {
  position: absolute;
  top: 70px;
  right: 90px;
  width: 360px;
  height: 12px;
  background: linear-gradient(90deg, #dcb75e, var(--gold));
  transform: rotate(-8deg);
  transform-origin: left center;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5) inset;
}

.crane::before {
  content: "";
  position: absolute;
  left: 86px;
  top: -18px;
  width: 14px;
  height: 200px;
  background: linear-gradient(180deg, #d7a73f, #a86b10);
}

.crane::after {
  content: "";
  position: absolute;
  right: 40px;
  top: 6px;
  width: 3px;
  height: 118px;
  background: #b97f19;
  box-shadow: 0 12px 0 0 #b97f19;
}

.hero-orbit,
.hero-orbit-two {
  position: absolute;
  border: 2px solid rgba(201,151,45,0.18);
  border-radius: 50%;
}

.hero-orbit {
  width: 520px;
  height: 520px;
  left: -60px;
  top: 40px;
}

.hero-orbit-two {
  width: 640px;
  height: 640px;
  left: -130px;
  top: -15px;
}

.diamond {
  position: absolute;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #e8cb80, var(--gold));
  transform: rotate(45deg);
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(201,151,45,0.18);
}

.stats-bar {
  margin-top: -32px;
  position: relative;
  z-index: 3;
}

.stats-grid {
  background: linear-gradient(135deg, #0f141b, #1d2330);
  color: #fff;
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(16,19,23,0.14);
}

.stat-item {
  padding: 28px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  text-align: start;
  border-inline-start: 1px solid rgba(255,255,255,0.08);
}

.stat-item:first-child {
  border-inline-start: none;
}

.stat-item .num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-item .label {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
}

.stat-icon {
  color: var(--gold);
  font-size: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 26px;
  height: 100%;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: rgba(201,151,45,0.12);
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.card-title {
  margin: 0 0 12px;
  font-size: 24px;
}

.card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-weight: 700;
}

.about-visual {
  position: relative;
  background: linear-gradient(140deg, rgba(201,151,45,0.14), rgba(16,19,23,0.06));
  border-radius: 28px;
  min-height: 520px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-visual::before,
.about-visual::after {
  content: "";
  position: absolute;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.6));
}

.about-visual::before {
  width: 52%;
  height: 68%;
  top: 60px;
  left: 11%;
  transform: rotate(-8deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.about-visual::after {
  width: 36%;
  height: 42%;
  bottom: 50px;
  right: 10%;
  transform: rotate(12deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.visual-badge {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  z-index: 2;
}

.visual-badge strong {
  display: block;
  font-size: 28px;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.visual-badge span {
  color: var(--muted);
  font-size: 14px;
}

.visual-badge.one { top: 34px; right: 30px; }
.visual-badge.two { bottom: 34px; left: 28px; }

.dark-section {
  background: linear-gradient(135deg, #0e1217, #181f28);
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.dark-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 26px;
}

.dark-card p {
  color: rgba(255,255,255,0.76);
}

.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 18px;
}

.filter-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  color: #555;
}

.filter-chip.active,
.filter-chip:hover {
  background: linear-gradient(135deg, var(--gold), #dcb75e);
  color: #fff;
  border-color: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-thumb {
  height: 230px;
  position: relative;
  overflow: hidden;
}

.project-thumb.modern-villa {
  background:
    linear-gradient(180deg, rgba(54,73,94,0.1), rgba(24,27,31,0.12)),
    linear-gradient(180deg, #a8d1f1 0 55%, #efe9d8 55% 100%);
}

.project-thumb.office-tower {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.12)),
    linear-gradient(135deg, #92b0cb, #445a74 60%, #1c2d40);
}

.project-thumb.factory {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(0,0,0,0.08)),
    linear-gradient(135deg, #98d1eb, #dce8ef 45%, #99c2d9);
}

.project-thumb.school {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.08)),
    linear-gradient(135deg, #f0d7a2, #f2ebd5 50%, #bdd0df);
}

.project-thumb::before,
.project-thumb::after {
  content: "";
  position: absolute;
  inset: auto;
}

.project-thumb.modern-villa::before {
  width: 70%;
  height: 46%;
  left: 15%;
  bottom: 28px;
  background: linear-gradient(135deg, #efece2, #d4d0c2);
  box-shadow: 0 -62px 0 -28px #ebe5d8, 58px -18px 0 -30px #c9c6bd;
}

.project-thumb.office-tower::before {
  width: 40%;
  height: 76%;
  left: 30%;
  bottom: 0;
  background: linear-gradient(135deg, #2b3645, #627284);
  box-shadow: -86px 30px 0 -34px #354555, 86px 50px 0 -40px #39495a;
}

.project-thumb.factory::before {
  width: 78%;
  height: 42%;
  left: 11%;
  bottom: 42px;
  background: linear-gradient(135deg, #e9edf0, #bed1df);
  box-shadow: 0 -28px 0 -10px #ffffff;
}

.project-thumb.school::before {
  width: 76%;
  height: 38%;
  left: 12%;
  bottom: 34px;
  background: linear-gradient(135deg, #f7f3ea, #d7d0c1);
  box-shadow: -40px 8px 0 -20px #e3ddd1, 44px 10px 0 -22px #d9d4c6;
}

.project-body {
  padding: 20px;
}

.project-tag {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16,19,23,0.06);
  color: #333;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-body h3 {
  margin: 0 0 10px;
}

.project-body p {
  color: var(--muted);
  margin: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.blog-cover {
  height: 180px;
  background: linear-gradient(135deg, rgba(201,151,45,0.25), rgba(16,19,23,0.15));
  position: relative;
}

.blog-cover::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.4));
}

.blog-body {
  padding: 22px;
}

.blog-date {
  font-size: 14px;
  color: var(--gold-dark);
  font-weight: 700;
}

.page-hero {
  position: relative;
  padding: 90px 0 74px;
  background: linear-gradient(180deg, #fdfbf7, #fff);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 0%, rgba(201,151,45,0.15), transparent 28%);
}

.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.contact-info {
  background: linear-gradient(135deg, #11161d, #1f2733);
  color: #fff;
  padding: 28px;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(16, 19, 23, 0.12);
}

.info-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(201,151,45,0.16);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 22px;
}

.contact-form {
  background: #fff;
  padding: 28px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(201,151,45,0.8);
  box-shadow: 0 0 0 4px rgba(201,151,45,0.12);
}

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

.file-note {
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(39, 174, 96, 0.12);
  color: #127240;
}

.form-status.error {
  background: rgba(220, 53, 69, 0.12);
  color: #b31936;
}

.map-card {
  margin-top: 18px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-placeholder {
  min-height: 260px;
  background: linear-gradient(135deg, rgba(201,151,45,0.12), rgba(16,19,23,0.1));
  display: grid;
  place-items: center;
  padding: 22px;
  text-align: center;
  color: #333;
}

.footer {
  background: #0f141b;
  color: rgba(255,255,255,0.88);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1fr;
  gap: 28px;
}

.footer h3,
.footer h4 {
  color: #fff;
  margin-top: 0;
}

.footer p,
.footer li,
.footer a {
  color: rgba(255,255,255,0.78);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding: 18px 0;
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.hide {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-grid,
  .grid-2,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .projects-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-visual {
    min-height: 540px;
  }

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

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(92vw, 360px);
    background: #fff;
    padding: 24px;
    transform: translateX(110%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 60;
  }

  body[dir="rtl"] .nav-panel {
    inset: 0 auto 0 0;
    transform: translateX(-110%);
    box-shadow: 10px 0 30px rgba(0,0,0,0.12);
  }

  .nav-panel.open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  body[dir="rtl"] .nav-links {
    align-items: flex-end;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  body[dir="rtl"] .nav-actions {
    justify-content: flex-end;
  }

  .hero-badges,
  .cards-grid,
  .projects-grid,
  .why-grid,
  .blog-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .topbar .container {
    flex-direction: column;
    padding: 10px 0;
  }

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

  .stat-item {
    border-inline-start: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    justify-content: flex-start;
  }

  .stat-item:first-child {
    border-top: none;
  }

  .hero-grid {
    min-height: auto;
    padding: 36px 0 60px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .building {
    right: 30px;
    width: 66%;
  }

  .crane {
    width: 270px;
    right: 30px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 68px;
  }

  .brand-text h1 {
    font-size: 20px;
  }

  .section,
  .page-hero {
    padding: 68px 0;
  }

  .hero-title {
    font-size: 40px;
  }

  .button-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .contact-info,
  .contact-form,
  .card,
  .dark-card,
  .project-card,
  .blog-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .project-body,
  .blog-body {
    padding: 18px;
  }

  .navbar {
    min-height: 78px;
  }
}


/* Final responsive fixes */
@media (min-width: 861px) {
  .nav-panel {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
  }

  body[dir="rtl"] .nav-panel {
    justify-content: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  body[dir="rtl"] .nav-links {
    justify-content: flex-start;
  }

  .nav-lang-item {
    margin-inline-start: 0;
  }
}

@media (max-width: 1180px) and (min-width: 861px) {
  .navbar {
    gap: 12px;
  }

  .brand img {
    width: 76px;
  }

  .brand-text h1 {
    font-size: 21px;
  }

  .brand-text p {
    font-size: 11px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-link {
    font-size: 14px;
  }

  .lang-toggle button {
    padding: 5px 8px;
    font-size: 11px;
  }
}

@media (max-width: 860px) {
  .navbar {
    min-height: 74px;
  }

  .brand img {
    width: 62px;
  }

  .brand-text h1 {
    font-size: 18px;
  }

  .brand-text p {
    font-size: 10px;
  }

  .nav-panel {
    top: 0;
    bottom: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 86px 24px 28px;
  }

  .nav-panel::before {
    content: "";
    position: fixed;
    top: 24px;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: #222;
    box-shadow: 0 9px 0 #222, 0 18px 0 #222;
    opacity: 0.75;
  }

  body[dir="rtl"] .nav-panel::before {
    left: 24px;
  }

  body[dir="ltr"] .nav-panel::before {
    right: 24px;
  }

  .nav-links {
    gap: 0;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    font-size: 17px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-lang-item {
    width: 100%;
    padding-top: 16px;
    justify-content: flex-start;
  }

  body[dir="rtl"] .nav-lang-item {
    justify-content: flex-end;
  }

  .lang-toggle {
    transform: scale(0.92);
    transform-origin: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .button-row {
    justify-content: center;
  }

  .hero-visual {
    min-height: 380px;
  }

  .visual-card {
    inset: 0;
  }

  .hero-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-badges {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mini-card {
    padding: 12px 8px;
  }

  .mini-card strong {
    font-size: 13px;
  }

  .cards-grid,
  .projects-grid,
  .why-grid,
  .blog-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .building {
    width: 70%;
    height: 66%;
    right: 22px;
  }

  .crane {
    width: 220px;
    right: 22px;
    top: 48px;
  }
}


/* V2 fixes: centered desktop navigation, working mobile side menu, and opening animations */
.header {
  z-index: 500;
}

.navbar {
  position: relative;
}

@media (min-width: 861px) {
  .navbar {
    justify-content: flex-start;
  }

  .brand {
    margin-inline-start: auto;
  }

  .menu-toggle {
    display: none !important;
  }

  .nav-panel {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2;
  }

  .nav-links {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(14px, 1.25vw, 24px) !important;
    white-space: nowrap;
  }

  .nav-link {
    font-size: clamp(14px, 1vw, 16px);
  }

  .nav-lang-item {
    margin-inline-start: 0 !important;
  }

  .lang-toggle button {
    padding: 5px 9px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 860px) {
  .header {
    position: sticky;
    top: 0;
  }

  .navbar {
    min-height: 76px;
    justify-content: space-between;
    direction: rtl;
  }

  .brand {
    max-width: calc(100% - 92px);
    overflow: hidden;
  }

  .brand-text h1 {
    white-space: nowrap;
  }

  .menu-toggle {
    display: inline-flex !important;
    position: relative;
    z-index: 1201;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .menu-toggle.is-open span {
    background: transparent;
  }

  .menu-toggle.is-open span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle.is-open span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .nav-panel {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(82vw, 340px) !important;
    height: 100vh !important;
    background: #fff !important;
    padding: 92px 24px 30px !important;
    transform: translateX(-105%) !important;
    transition: transform 0.35s ease !important;
    z-index: 1200 !important;
    box-shadow: 18px 0 45px rgba(0, 0, 0, 0.16) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    pointer-events: none;
    overflow-y: auto;
  }

  body[dir="ltr"] .nav-panel {
    left: auto !important;
    right: 0 !important;
    transform: translateX(105%) !important;
    box-shadow: -18px 0 45px rgba(0, 0, 0, 0.16) !important;
  }

  .nav-panel.open,
  body[dir="rtl"] .nav-panel.open,
  body[dir="ltr"] .nav-panel.open {
    transform: translateX(0) !important;
    pointer-events: auto;
  }

  .nav-panel::before {
    display: none !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    gap: 0 !important;
  }

  .nav-link {
    width: 100% !important;
    display: block;
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: right;
    font-size: 18px;
  }

  body[dir="ltr"] .nav-link {
    text-align: left;
  }

  .nav-lang-item {
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    padding-top: 20px;
  }

  body[dir="ltr"] .nav-lang-item {
    justify-content: flex-start !important;
  }

  .lang-toggle {
    transform: none !important;
  }

  .lang-toggle button {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }

  .mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(16, 19, 23, 0.45);
    backdrop-filter: blur(2px);
    z-index: 1199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Opening animation */
@keyframes siteFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.header {
  animation: siteSlideDown 0.65s ease both;
}

.hero-content .eyebrow {
  animation: siteFadeUp 0.7s ease 0.12s both;
}

.hero-title {
  animation: siteFadeUp 0.75s ease 0.24s both;
}

.hero-text {
  animation: siteFadeUp 0.75s ease 0.36s both;
}

.hero-content .button-row {
  animation: siteFadeUp 0.75s ease 0.48s both;
}

.hero-badges .mini-card {
  animation: siteFadeUp 0.65s ease both;
}

.hero-badges .mini-card:nth-child(1) { animation-delay: 0.58s; }
.hero-badges .mini-card:nth-child(2) { animation-delay: 0.68s; }
.hero-badges .mini-card:nth-child(3) { animation-delay: 0.78s; }
.hero-badges .mini-card:nth-child(4) { animation-delay: 0.88s; }

.hero-visual {
  animation: siteScaleIn 0.9s ease 0.28s both;
}

.stats-grid {
  animation: siteFadeUp 0.8s ease 0.72s both;
}


/* V3 fixes: no blur overlay, clickable mobile menu, logo direction by language */
@media (min-width: 861px) {
  .navbar {
    position: relative !important;
    justify-content: center !important;
  }

  .brand {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 3;
  }

  body[dir="rtl"] .brand {
    right: 0 !important;
    left: auto !important;
    direction: rtl;
  }

  body[dir="ltr"] .brand {
    left: 0 !important;
    right: auto !important;
    direction: ltr;
  }

  .nav-panel {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    z-index: 4;
  }

  .nav-links {
    justify-content: center !important;
    align-items: center !important;
  }
}

@media (max-width: 860px) {
  .header {
    z-index: 9000 !important;
  }

  .navbar {
    direction: ltr !important;
  }

  body[dir="rtl"] .navbar {
    flex-direction: row-reverse !important;
  }

  body[dir="ltr"] .navbar {
    flex-direction: row !important;
  }

  .brand {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 2;
  }

  body[dir="rtl"] .brand {
    direction: rtl;
    text-align: right;
  }

  body[dir="ltr"] .brand {
    direction: ltr;
    text-align: left;
  }

  .nav-panel {
    z-index: 9500 !important;
    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
    pointer-events: auto;
  }

  body[dir="rtl"] .nav-panel {
    left: 0 !important;
    right: auto !important;
    transform: translateX(-105%) !important;
  }

  body[dir="ltr"] .nav-panel {
    right: 0 !important;
    left: auto !important;
    transform: translateX(105%) !important;
  }

  body[dir="rtl"] .nav-panel.open,
  body[dir="ltr"] .nav-panel.open,
  .nav-panel.open {
    transform: translateX(0) !important;
  }

  .mobile-backdrop,
  .mobile-backdrop.show {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .nav-panel .nav-link,
  .nav-panel .lang-toggle button {
    position: relative;
    z-index: 9600;
    pointer-events: auto;
  }

  body[dir="rtl"] .nav-panel .nav-link {
    text-align: right !important;
  }

  body[dir="ltr"] .nav-panel .nav-link {
    text-align: left !important;
  }
}


/* V4 image replacement system: all previous CSS drawings are replaced with easy image paths */
.hero-image-card,
.about-image-card {
  width: 100%;
  height: 620px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(18, 19, 23, 0.12);
  border: 1px solid rgba(201,151,45,0.18);
  background: #f8fafc;
}

.about-image-card {
  height: 520px;
}

.hero-image-card img,
.about-image-card img,
.project-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-thumb {
  background: #f8fafc !important;
}

.project-thumb::before,
.project-thumb::after {
  display: none !important;
}

.project-thumb.modern-villa,
.project-thumb.office-tower,
.project-thumb.factory,
.project-thumb.school {
  background: #f8fafc !important;
}

@media (max-width: 860px) {
  .hero-image-card { height: 360px; }
  .about-image-card { height: 360px; }
}

@media (max-width: 520px) {
  .hero-image-card { height: 300px; }
  .about-image-card { height: 300px; }
}
/* ====== Mobile Fixes ====== */
@media (max-width: 768px) {

  /* الأزرار */
  .btn,
  button {
    width: 100%;
    font-size: 16px;
    padding: 14px;
    border-radius: 12px;
  }

  /* زر Google Form */
  .btn-primary {
    margin-top: 10px;
  }

}
@media (max-width: 768px) {

  .contact-form {
    padding: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px;
  }

}
@media (max-width: 768px) {

  iframe {
    width: 100%;
    height: 250px;
    border-radius: 12px;
  }

  .map-container {
    margin-top: 20px;
    overflow: hidden;
  }

}
@media (max-width: 768px) {

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

}


/* Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 900;
}

.mobile-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* تأكد إن المينيو مقفول */
.nav-panel {
  transform: translateX(-100%);
}

body[dir="ltr"] .nav-panel {
  transform: translateX(100%);
}

.nav-panel.open {
  transform: translateX(0) !important;
}



.contact-boxes {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-option {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  border-radius: 24px;
  background: #fff;
  border: 2px solid rgba(201,151,45,0.3);
  font-size: 22px;
  font-weight: 800;
  color: #333;
  transition: 0.3s;
  text-align: center;
}

.contact-option:hover {
  background: linear-gradient(135deg, #c9972d, #dcb75e);
  color: #fff;
  transform: translateY(-5px);
}

/* تثبيت الجزء الأسود */
/* .sticky-box {
  position: sticky;
  top: 120px;
} */

/* موبايل */
@media (max-width: 768px) {
  .sticky-box {
    position: relative;
    top: 0;
  }
}

















@media (max-width: 991px) {

  .contact-grid {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .contact-boxes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
  }

  .contact-option {
    width: 85%;
    max-width: 320px;
  }

}





.projects-maps-section{
    width:100%;
    padding:80px 5%;
}

.maps-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.map-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    border:1px solid #eee;
}

.map-card iframe{
    width:100%;
    height:320px;
    border:none;
}

.map-content{
    padding:25px;
}

.map-content h3{
    font-size:30px;
    margin-bottom:15px;
    color:#111;
}

.map-content p{
    font-size:17px;
    line-height:1.8;
    color:#666;
}

/* TABLET */
@media(max-width:992px){

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

}

/* MOBILE */
@media(max-width:768px){

    .projects-maps-section{
        padding:60px 20px;
    }

    .map-card iframe{
        height:260px;
    }

    .map-content h3{
        font-size:24px;
    }

}