:root {
  --bg-primary: #08111f;
  --bg-secondary: #0d1829;
  --bg-card: #111d32;
  --bg-card-hover: #172845;
  --accent: #d18b2f;
  --accent-light: #e8a849;
  --accent-glow: rgba(209, 139, 47, 0.15);
  --text-primary: #f0f2f5;
  --text-secondary: #8899ad;
  --text-muted: #5a6b7f;
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(209, 139, 47, 0.25);
  --radius: 8px;
  --radius-lg: 16px;
  --nav-height: 80px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Barlow Condensed', 'Barlow', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-arabic: 'Noto Kufi Arabic', sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
}

html[dir="rtl"] body {
  font-family: var(--font-arabic), var(--font-body);
}

html[dir="rtl"] .section-title,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-content h1 {
  font-family: var(--font-arabic), var(--font-display);
  text-transform: none;
  letter-spacing: 0;
}

html[dir="rtl"] .hero-title-accent,
html[dir="rtl"] .yellow-text {
  letter-spacing: 0;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

html[dir="rtl"] .service-card h3,
html[dir="rtl"] .section-tag,
html[dir="rtl"] .cmd-tag,
html[dir="rtl"] .cmd-title,
html[dir="rtl"] .nav-links a,
html[dir="rtl"] .stat-label,
html[dir="rtl"] .hero-badge,
html[dir="rtl"] .location-title {
  font-family: var(--font-arabic), var(--font-heading);
}

html[dir="rtl"] .cmd-message-body {
  padding-left: 0;
  padding-right: 32px;
  border-left: none;
  border-right: 1px solid var(--border-accent);
}

html[dir="rtl"] .cmd-signature-area {
  padding-left: 0;
  padding-right: 32px;
}

html[dir="rtl"] .cmd-pillars li {
  padding-left: 0;
  padding-right: 28px;
}

html[dir="rtl"] .cmd-pillars li::before {
  left: auto;
  right: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

/* ─── Navigation ─── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 0 5%;
}

#main-nav.scrolled {
  background: rgba(8, 17, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 40px;
}

.site-logo {
  position: absolute;
  top: 10px;
  left: 15px;
  z-index: 9999;
}

.site-logo img {
  width: 200px !important;
  height: 200px !important;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
}

.nav-logo-img {
  height: 56px;
  width: 56px;
  object-fit: cover;
  border-radius: 50%;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  transition: opacity 0.3s;
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.9;
}

html[dir="rtl"] .nav-logo {
  margin-right: 0;
  margin-left: 40px;
}

html[dir="rtl"] .site-logo {
  left: auto;
  right: 15px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

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

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

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-arabic), var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}

.lang-toggle:hover {
  background: var(--accent-glow);
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.nav-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.nav-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero ─── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #08111f;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: zoomBackground 18s ease-in-out infinite alternate;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  pointer-events: none;
}

@keyframes zoomBackground {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,17,31,0.7) 0%, rgba(8,17,31,0.4) 40%, rgba(8,17,31,0.6) 70%, rgba(8,17,31,0.95) 100%),
    linear-gradient(90deg, rgba(8,17,31,0.6) 0%, transparent 50%, rgba(8,17,31,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 5%;
  max-width: 1000px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero-title,
.hero-content h1 {
  font-family: var(--font-arabic), var(--font-display);
  font-weight: 700;
  font-size: 70px !important;
  line-height: 1.3;
  letter-spacing: 2px;
  word-spacing: 10px;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title-accent,
.yellow-text {
  color: var(--accent);
  display: inline-block;
  letter-spacing: 0.08em;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.white-text {
  color: var(--text-primary);
  display: inline-block;
}

.hero-subtitle,
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(209, 139, 47, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ─── Section Common ─── */
.section-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}

/* ─── Stats ─── */
.stats-section {
  padding: 80px 5%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 20px;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  display: inline;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 12px;
}

.stat-bar {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
  opacity: 0.4;
}

/* ─── Managing Director Message ─── */
.cmd-section {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #050d1a 0%, #0a1628 30%, #0d1a30 70%, #08111f 100%);
}

.cmd-bg-accent {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(209, 139, 47, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(20, 60, 120, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cmd-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23d18b2f' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cmd-header {
  text-align: center;
  margin-bottom: 80px;
}

.cmd-header-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 16px auto;
}

.cmd-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.cmd-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-primary);
  line-height: 1.3;
}

.cmd-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.cmd-portrait-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 120px;
}

.cmd-portrait-frame {
  position: relative;
  width: 280px;
  height: 340px;
  margin-bottom: 32px;
}

.cmd-portrait-border {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-accent);
  border-radius: 4px;
}

.cmd-portrait-img {
  position: absolute;
  inset: 8px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1829, #1a2a45);
}

.cmd-portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.cmd-portrait-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111d32 0%, #1a2a45 50%, #0d1829 100%);
  position: relative;
}

.cmd-portrait-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center 30%, rgba(209, 139, 47, 0.08) 0%, transparent 60%);
}

.cmd-portrait-placeholder span {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.5;
  letter-spacing: 8px;
}

.cmd-portrait-corner {
  position: absolute;
  width: 20px;
  height: 20px;
}

.cmd-portrait-corner--tl {
  top: -4px;
  left: -4px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.cmd-portrait-corner--tr {
  top: -4px;
  right: -4px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.cmd-portrait-corner--bl {
  bottom: -4px;
  left: -4px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.cmd-portrait-corner--br {
  bottom: -4px;
  right: -4px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.cmd-name-plate {
  text-align: center;
}

.cmd-name-plate strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cmd-name-plate span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.cmd-company {
  margin-top: 4px;
  font-size: 0.75rem !important;
  letter-spacing: 1px !important;
  color: var(--text-muted) !important;
}

.cmd-message-col {
  position: relative;
  padding: 0;
}

.cmd-quote-mark {
  width: 48px;
  height: 48px;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 24px;
}

.cmd-message-body {
  position: relative;
  padding-left: 32px;
  border-left: 1px solid var(--border-accent);
}

.cmd-message-body p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.cmd-greeting {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: 1.2rem !important;
  color: var(--text-primary) !important;
  font-style: italic;
  margin-bottom: 28px !important;
}

.cmd-pillars {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.cmd-pillars li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 2.2;
}

.cmd-pillars li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent);
  background: transparent;
  transform: translateY(-50%) rotate(45deg);
}

.cmd-signature-area {
  margin-top: 48px;
  padding-top: 32px;
  padding-left: 32px;
  border-top: 1px solid var(--border);
}


.cmd-sig-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cmd-sig-name strong {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.cmd-sig-name span {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── About ─── */
.about-section {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.chairman-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
}

.chairman-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.chairman-icon {
  width: 64px;
  height: 64px;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.7;
}

.chairman-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.chairman-card blockquote {
  border: none;
  padding: 0;
  margin: 0;
}

.chairman-card blockquote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-secondary);
  font-style: italic;
}

.chairman-name {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.chairman-name strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.chairman-name span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-block {
  margin-bottom: 36px;
}

.about-block h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.about-block p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.value-item {
  text-align: center;
  padding: 20px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.value-item:hover {
  border-color: var(--border-accent);
  background: var(--accent-glow);
}

.value-item svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 8px;
}

.value-item span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ─── Services ─── */
.services-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 32px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--accent-glow);
}

.service-card:hover .service-icon {
  color: var(--accent-light);
  transform: scale(1.08);
}

.service-card:hover .service-line {
  width: 100%;
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  margin-bottom: 24px;
  transition: all 0.4s;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

.service-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: all 0.5s;
}

/* ─── Projects ─── */
.projects-section {
  padding: 120px 0;
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(209, 139, 47, 0.25), 0 0 40px rgba(209, 139, 47, 0.08);
}

.project-card:hover .project-img img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.05);
}

.project-card:hover .project-img::after {
  opacity: 0.35;
}

.project-card--wide {
  grid-column: span 2;
}

.project-card--wide .project-img {
  height: 340px;
}

.project-img {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.project-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 30, 0.05) 0%, rgba(6, 14, 30, 0.25) 40%, rgba(6, 14, 30, 0.85) 100%);
  opacity: 0.65;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.project-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(209, 139, 47, 0.08) 0%, transparent 50%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s;
}

.project-card:hover .project-img::before {
  opacity: 1;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.project-info {
  padding: 28px 24px;
  position: relative;
}

.project-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(209, 139, 47, 0.1));
  opacity: 0.4;
  transition: opacity 0.4s;
}

.project-card:hover .project-info::before {
  opacity: 1;
}

.project-client {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.project-info h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 8px 0 12px;
  transition: color 0.3s;
}

.project-card:hover .project-info h3 {
  color: var(--accent);
}

.project-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.project-tags span {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.3s;
}

.project-card:hover .project-tags span {
  border-color: rgba(209, 139, 47, 0.3);
  color: var(--accent);
}

/* ─── Clients ─── */
.clients-section {
  padding: 100px 40px;
  background: var(--bg-secondary);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  min-height: 100px;
}

.client-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.client-card img {
  width: 100%;
  height: 100%;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.client-card:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.03);
}

/* ─── Equipment ─── */
.equipment-section {
  padding: 120px 0;
}

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

.equip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all 0.4s;
}

.equip-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.equip-card:hover .equip-img img {
  transform: scale(1.05);
}

.equip-img {
  height: 100%;
  min-height: 220px;
  overflow: hidden;
}

.equip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.equip-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.equip-info h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.equip-specs {
  list-style: none;
}

.equip-specs li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.equip-specs li:last-child {
  border-bottom: none;
}

.equip-specs span {
  color: var(--text-muted);
}

.equip-specs strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ─── HSE ─── */
.hse-section {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.hse-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.hse-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.hse-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hse-shield {
  text-align: center;
}

.hse-shield svg {
  width: 180px;
  height: 210px;
  color: var(--accent);
}

.hse-shield-label {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.hse-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hse-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.hse-item:hover {
  border-color: var(--border-accent);
  background: rgba(209, 139, 47, 0.03);
}

.hse-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.hse-item h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.hse-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── Org Chart ─── */
.org-section {
  padding: 120px 0;
}

.org-chart {
  max-width: 1000px;
  margin: 0 auto;
}

.org-level {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.org-connector {
  width: 1px;
  height: 40px;
  background: var(--border-accent);
  margin: 0 auto;
  position: relative;
}

.org-connector::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 500px;
  height: 1px;
  background: var(--border-accent);
}

.org-level--mid .org-connector::before {
  width: 80%;
}

.org-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  transition: all 0.3s;
  min-width: 180px;
}

.org-node:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.org-node--primary {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  border-color: var(--border-accent);
  padding: 32px 48px;
}

.org-node-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin: 0 auto 12px;
}

.org-node strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.org-node span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.org-node--sm {
  padding: 16px 20px;
  min-width: 140px;
}

.org-node--sm strong {
  font-size: 0.8rem;
}

/* ─── Careers ─── */
.careers-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.career-benefit {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.career-benefit svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.career-benefit h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.career-benefit p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

.careers-form-wrap,
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.careers-form-wrap h3,
.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

/* ─── Forms ─── */
.form-group {
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238899ad' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  margin-right: 12px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
  min-height: 24px;
}

.form-status.success {
  color: #4ade80;
}

.form-status.error {
  color: #f87171;
}

/* ─── Company Location ─── */
.location-section {
  padding: 120px 0;
  background: #07152d;
  position: relative;
  text-align: center;
}
.location-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.location-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.location-text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}
.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
}

@media (max-width: 600px) {
  .location-section {
    padding: 80px 20px;
  }
  .location-title {
    font-size: 1.8rem;
  }
  .map-container iframe {
    height: 300px;
  }
}

/* ─── Contact ─── */
.contact-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-item a:hover {
  color: var(--accent);
}

/* ─── Footer ─── */
.site-footer {
  background: #050a13;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.7;
}

.footer-contact a {
  color: var(--text-muted);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ─── WhatsApp Button ─── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  transform: scale(0);
  opacity: 0;
}

.whatsapp-btn.visible {
  transform: scale(1);
  opacity: 1;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
}

html[dir="rtl"] .whatsapp-btn {
  right: auto;
  left: 28px;
}

/* ─── Scroll Animations ─── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .project-card--wide {
    grid-column: span 2;
  }

  .project-card--wide .project-img {
    height: 280px;
  }

  .clients-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .cmd-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cmd-portrait-col {
    position: static;
  }

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

  .hse-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

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

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

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

  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav-logo {
    margin-right: 24px;
  }

  .nav-logo-img {
    height: 48px;
    width: 48px;
  }

  .site-logo img {
    width: 160px !important;
    height: 160px !important;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  html[dir="rtl"] .nav-logo {
    margin-left: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .cmd-section {
    padding: 80px 0;
  }

  .cmd-header {
    margin-bottom: 48px;
  }

  .cmd-portrait-frame {
    width: 220px;
    height: 270px;
  }

  .cmd-portrait-placeholder span {
    font-size: 3rem;
  }

  .cmd-message-body {
    padding-left: 20px;
  }

  .cmd-message-body p {
    font-size: 0.95rem;
  }

  .cmd-signature-area {
    padding-left: 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 17, 31, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-menu-btn {
    display: flex;
  }

  .nav-logo {
    margin-right: 0;
  }

  .nav-logo-img {
    height: 40px;
    width: 40px;
  }

  .site-logo img {
    width: 90px !important;
    height: auto !important;
  }

  .site-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 999;
  }

  html[dir="rtl"] .site-logo {
    left: auto;
    right: 15px;
  }

  .nav-actions {
    position: absolute;
    top: 20px;
    right: 15px;
    z-index: 999;
  }

  html[dir="rtl"] .nav-actions {
    right: auto;
    left: 15px;
  }

  html[dir="rtl"] .nav-logo {
    margin-left: 0;
  }

  .hero-title,
  .hero-content h1 {
    font-size: 48px !important;
    line-height: 1.3;
    word-spacing: 8px;
  }

  .hero-subtitle,
  .hero-content p {
    font-size: 18px !important;
    padding: 0 20px;
  }

  .hero-badge {
    font-size: 14px;
    padding: 10px 20px;
  }

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

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

  .project-card--wide {
    grid-column: span 1;
  }

  .project-card--wide .project-img,
  .project-img {
    height: 240px;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .equip-card {
    grid-template-columns: 1fr;
  }

  .equip-img {
    min-height: 200px;
  }

  .org-level {
    flex-direction: column;
    align-items: center;
  }

  .org-node {
    min-width: auto;
    width: 100%;
    max-width: 280px;
  }

  .careers-form-wrap,
  .contact-form-wrap {
    padding: 28px 20px;
  }

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

  .stat-item::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title,
  .hero-content h1 {
    font-size: 28px !important;
    line-height: 1.4;
    word-spacing: 6px;
  }

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

  .clients-section {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .about-values {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── Mobile Performance Boost ─── */

h1, h2, h3, p, span {
  transform: translateZ(0);
}

.nav-logo-img,
.site-logo img {
  transform: translateZ(0);
  will-change: transform;
}

button,
.btn {
  transform: translateZ(0);
}

section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
}

.fade-up {
  animation: fadeUp .5s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-video {
    opacity: 0.65;
  }

  section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* حل تقطيع النص العربي بالموبايل */
@media (max-width: 768px) {
  html[dir="rtl"] .section-tag,
  html[dir="rtl"] .stat-label,
  html[dir="rtl"] .cmd-tag,
  html[dir="rtl"] .hero-badge,
  html[dir="rtl"] .section-title,
  html[dir="rtl"] .section-desc,
  html[dir="rtl"] .hero-subtitle,
  html[dir="rtl"] .hero-content p,
  html[dir="rtl"] .hero-title,
  html[dir="rtl"] .hero-content h1,
  html[dir="rtl"] .hero-title-accent,
  html[dir="rtl"] .yellow-text,
  html[dir="rtl"] .location-title,
  html[dir="rtl"] .cmd-title,
  html[dir="rtl"] .service-card h3,
  html[dir="rtl"] .nav-links a {
    letter-spacing: 0 !important;
    line-height: 2 !important;
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    display: block !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  html[dir="rtl"] .nav-links a {
    display: inline-block !important;
  }
}
