.ep-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.ep-bar {
  height: var(--hdr-h);
  background: var(--hdr-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  position: relative;
}
.ep-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}
.ep-brand img {
  width: 32px;
  height: auto;
  display: block;
}
.ep-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}
.ep-text strong {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-text em {
  font-style: normal;
  font-size: 11px;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-nav-toggle {
  display: none;
  position: relative;
  z-index: 1002;
  background: #113a6c;
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ep-nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 10px;
  background: #fff;
}
.ep-nav-toggle span:nth-child(1) {
  margin-top: 12px;
}
.ep-nav {
  display: flex;
  gap: 24px;
  padding: 10px 14px;
  background: transparent;
}
.ep-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.ep-backdrop {
  display: none;
  border: none;
  position: fixed;
  inset: var(--hdr-h) 0 0 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}
@media (max-width: 768px) {
  .ep-nav {
    position: fixed;
    inset: var(--hdr-h) auto 0 0;
    width: 78vw;
    max-width: 320px;
    background: var(--hdr-bg);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    z-index: 1001;
  }
  .ep-nav a {
    padding: 12px 10px;
    border-radius: 8px;
  }
  .ep-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }
  .ep-nav-toggle {
    display: block;
  }
  .ep-backdrop {
    display: block;
  }
  .ep-header.open .ep-nav {
    transform: translateX(0);
  }
  .ep-header.open .ep-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (min-width: 769px) {
  .ep-backdrop {
    display: none !important;
  }
}
/* modern circular hamburger override */
.nav-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 10px rgba(15, 42, 67, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  border: none;
  display: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s ease, box-shadow 0.35s ease, transform 0.25s ease;
}
.nav-toggle:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(15, 42, 67, 0.35);
}
.nav-toggle:active {
  transform: scale(0.94);
}
.nav-toggle:focus {
  outline: none;
}
.nav-toggle:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}
.nav-toggle .hamburger,
.nav-toggle .hamburger:before,
.nav-toggle .hamburger:after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #fff;
  content: '';
  display: block;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease,
    background 0.3s ease;
}
.nav-toggle .hamburger:before {
  transform: translate(-50%, calc(-50% - 6px));
}
.nav-toggle .hamburger:after {
  transform: translate(-50%, calc(-50% + 6px));
}
.nav-toggle[aria-expanded='true'] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded='true'] .hamburger:before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .hamburger:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) {
  .nav-toggle .hamburger,
  .nav-toggle .hamburger:before,
  .nav-toggle .hamburger:after {
    transition: none;
  }
}
:root {
  /* primary brand colors remain */
  --primary: #0f2a43;
  --primary-dark: #0a1f33;
  --primary-light: #1a3a5a;
  --secondary: #b9985a;
  --secondary-dark: #a0854f;
  --secondary-light: #d4b873;

  /* page background and card backgrounds */
  --page-bg: #00274e; /* full page background (requested) */
  --bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.02)
  ); /* card / surface background */
  --bg-alt: #083654; /* slightly lighter alt backgrounds */
  --bg-muted: #073046;
  --bg-light: #0b3350;

  /* text colors for dark background */
  --text: #e6f0fa; /* primary text (light) */
  --text-muted: rgba(230, 240, 250, 0.9);
  --text-light: rgba(230, 240, 250, 0.75);

  /* borders/shadows adjusted for dark theme */
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.04);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.65);

  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --max-width: 1200px;
  --container-padding: var(--space-16);
  --header-height: 92px; /* increased to match screenshot ~92px */
  --font-size-xs: clamp(12px, 0.72rem + 0.2vw, 14px);
  --font-size-sm: clamp(13px, 0.76rem + 0.4vw, 16px);
  --font-size-base: clamp(15px, 0.9rem + 0.5vw, 18px);
  --font-size-lg: clamp(17px, 1rem + 0.7vw, 20px);
  --font-size-xl: clamp(19px, 1.1rem + 0.9vw, 24px);
  --font-size-2xl: clamp(22px, 1.15rem + 1.4vw, 30px);
  --font-size-3xl: clamp(26px, 1.25rem + 2vw, 38px);
  --font-size-4xl: clamp(30px, 1.35rem + 2.6vw, 46px);
  --line-height-tight: 1.4;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.7;
  /* chevrons / decorative icon settings */
  --chevron-size-desktop: 96px;
  --chevron-size-default: 64px;
  --chevron-size-mobile: 44px;
  --chevron-stroke-desktop: 0.5;
  --chevron-stroke-default: 0.5;
  --chevron-stroke-mobile: 0.3;
  --chevron-offset-desktop: 2px; /* distance from top/side on desktop */
  --chevron-offset-mobile: 15px; /* distance on mobile */
}
* {
  box-sizing: border-box;
}
body {
  font-family: 'Tajawal', 'Cairo', 'Noto Sans Arabic', Arial, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background: var(--page-bg);
  color: var(--text);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.skip-link {
  position: absolute;
  top: -1000px;
  left: 0;
  background: #0b2d50;
  color: #fff;
  padding: 8px 14px;
  z-index: 10000;
  border-radius: 6px;
  text-decoration: none;
  font-size: var(--font-size-sm);
}
.skip-link:focus {
  top: 8px;
  right: 8px;
  left: auto;
  outline: 3px solid #fff;
  box-shadow: 0 0 0 4px #0b2d50;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
}
img,
video,
svg,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
}
.grid {
  display: grid;
  gap: var(--space-24);
}
.grid.cols-1 {
  grid-template-columns: 1fr;
}
@media (min-width: 360px) {
  .grid.cols-sm-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 480px) {
  .grid.cols-sm-2-480 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .grid.cols-md-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid.cols-lg-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1280px) {
  .grid.cols-xl-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1536px) {
  .grid.cols-2xl-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-32);
  }
}
h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: var(--line-height-tight);
  margin: 0 0 var(--space-16);
  color: var(--text);
}
h2 {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  line-height: var(--line-height-tight);
  margin: 0 0 var(--space-12);
  color: var(--text);
}
h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  line-height: var(--line-height-tight);
  margin: 0 0 var(--space-8);
  color: var(--text);
}
h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: var(--line-height-tight);
  margin: 0 0 var(--space-8);
  color: var(--text);
}
p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin: 0 0 var(--space-16);
  color: var(--text-muted);
}
.lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--text-muted);
  margin-bottom: var(--space-20);
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.site-header {
  background: linear-gradient(
    180deg,
    rgba(0, 39, 78, 0.95),
    rgba(0, 39, 78, 0.85)
  );
  border-bottom: 1px solid var(--border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-20);
  padding: 12px 0; /* reduced vertical padding to keep header height consistent */
  min-height: var(--header-height);
  height: var(--header-height);
}
.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-right {
  flex: 0 0 auto;
  gap: var(--space-12);
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 4px; /* tighter spacing between logo and caption */
}
.logo img {
  height: 89px !important; /* force smaller logo */
  display: block;
  max-height: 89px !important;
  width: auto !important;
  transition: transform 0.2s ease;
}
.logo:hover img {
  transform: scale(1.05);
}
.logo:hover .company-name {
  transform: translateY(-1px);
  text-shadow: 0 2px 4px rgba(11, 45, 80, 0.2);
}
.company-name {
  color: var(--text);
  font-size: 12px; /* slightly smaller label under logo */
  font-weight: 600;
  font-family: Arial, Helvetica, 'Noto Sans Arabic', 'Tajawal', sans-serif;
  text-align: center;
  line-height: 1.1;
  margin: 3px 0 0; /* less top margin so it sits closer to logo */
  white-space: nowrap;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .logo {
    flex-direction: column; /* stack vertically on mobile */
    gap: 6px;
  }
  .logo img {
    height: 32px !important; /* smaller logo on mobile */
    max-height: 32px !important;
  }
  .company-name {
    white-space: normal;
    font-size: 13px;
  }
}
.nav {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  align-items: center;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-sm);
  padding: var(--space-8) var(--space-12);
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
  min-height: 44px;
}
.nav a:hover {
  background: var(--bg-alt);
  color: var(--primary-dark);
  transform: translateY(-1px);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-16) var(--space-32);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 48px;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn:focus {
  outline: none;
}
.btn:focus-visible,
.nav a:focus-visible,
.skip-link:focus-visible,
.whatsapp-float:focus-visible,
.contact-card a:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(185, 152, 90, 0.35);
}
.btn:focus:not(:focus-visible),
.nav a:focus:not(:focus-visible) {
  outline: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(15, 42, 67, 0.2);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 42, 67, 0.3);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(185, 152, 90, 0.2);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(185, 152, 90, 0.3);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}
.cta {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  font-weight: 700;
  font-size: var(--font-size-base);
  padding: var(--space-16) var(--space-24);
  box-shadow: 0 4px 12px rgba(185, 152, 90, 0.2);
}
.cta:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(185, 152, 90, 0.3);
}
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 42, 67, 0.7) 0%,
    rgba(15, 42, 67, 0.4) 100%
  );
}
.hero-content {
  position: relative;
  padding: var(--space-80) 0 var(--space-48) 0;
}
.badge {
  background: var(--secondary);
  color: #fff;
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.hero h1 {
  color: #fff;
  max-width: 800px;
}
.hero-subtitle {
  color: #e6ecf2;
  font-size: var(--font-size-lg);
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: var(--space-16);
  margin-top: var(--space-24);
}
/* قسم "من نحن" الجديد */
.about-us-section {
  padding: 60px 20px;
  background: #0f2a43;
}

.about-us-section .container {
  padding: 0;
  max-width: 1200px;
}

.custom-card {
  background: transparent;
  border-radius: 16px;
  box-shadow: none;
  overflow: hidden;
  border: none;
  max-width: 1200px;
  margin: 0 auto;
}

/* إجبار التخطيط الأفقي */
.about-us-section .row {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
}

.about-us-section .col-lg-6 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  display: flex !important;
}

.about-us-section .text-content {
  background: #0f2a43;
  color: #fff;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 40px;
}

.about-us-section .text-content h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-us-section .text-content p {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  opacity: 0.95;
}

.about-us-section .text-content .lead {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  opacity: 0.95;
}

.icon-container {
  position: absolute;
  color: var(
    --secondary-light
  ) !important; /* إجبار اللون الذهبي، لا يصبح أزرق */
  z-index: 10;
  text-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* منع التأثير على التفاعلات */
}

/* make the actual font-awesome icon larger and crisp */
.icon-container i,
.icon-container .fa-solid {
  font-size: 64px; /* main size */
  line-height: 1;
  color: var(--secondary-light) !important; /* force gold color */
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.45);
  display: block;
  transform: translateZ(0);
}

/* Inline SVG chevrons (thin strokes, gold) */
.chevrons-svg {
  width: var(--chevron-size-default);
  height: var(--chevron-size-default);
  overflow: visible;
}
.chevrons-svg polyline {
  fill: none;
  stroke: var(--secondary-light);
  stroke-width: var(--chevron-stroke-default); /* thin stroke */
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
}
@media (min-width: 1024px) {
  .chevrons-svg {
    width: var(--chevron-size-desktop);
    height: var(--chevron-size-desktop);
  }
  .chevrons-svg polyline {
    stroke-width: var(--chevron-stroke-desktop);
  }
}
@media (max-width: 768px) {
  .chevrons-svg {
    width: var(--chevron-size-mobile);
    height: var(--chevron-size-mobile);
  }
  .chevrons-svg polyline {
    stroke-width: var(--chevron-stroke-mobile);
  }
}

/* larger on large screens to match the reference */
@media (min-width: 1024px) {
  .icon-container i,
  .icon-container .fa-solid {
    font-size: 88px;
  }
}

.icon-container.start {
  top: var(--chevron-offset-desktop);
  left: var(--chevron-offset-desktop);
}

.icon-container.end {
  bottom: var(--chevron-offset-desktop);
  right: var(--chevron-offset-desktop);
}

/* scale down on small screens so it doesn't overpower layout */
@media (max-width: 768px) {
  .icon-container i,
  .icon-container .fa-solid {
    font-size: 44px;
  }
  .icon-container.start {
    top: var(--chevron-offset-mobile);
    left: var(--chevron-offset-mobile);
  }
  .icon-container.end {
    bottom: var(--chevron-offset-mobile);
    right: var(--chevron-offset-mobile);
  }
}

.about-us-section .image-container {
  padding: 0;
  height: 400px;
  overflow: hidden;
  width: 100%;
  display: flex;
  position: relative;
}

.about-us-section .image-container img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0 16px 16px 0;
  transition: transform 0.3s ease;
}

.about-us-section .image-container:hover img {
  transform: scale(1.02);
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
  .about-us-section .row {
    flex-direction: column !important;
  }

  .about-us-section .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .about-us-section .text-content {
    min-height: 300px;
    text-align: center;
  }

  .about-us-section .image-container {
    height: 250px;
  }

  .about-us-section .image-container img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .icon-container.start {
    top: 15px;
    left: 15px;
  }

  .icon-container.end {
    bottom: 15px;
    right: 15px;
  }
}

/* القسم القديم (للاحتفاظ بالتوافق) */
.about-section {
  padding: var(--space-80) 0 var(--space-64);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-48);
  align-items: center;
}
.about-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
  margin-top: var(--space-24);
}
.value-card {
  background: #ffffff; /* خلفية بيضاء */
  padding: var(--space-20);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-8);
  color: #000000; /* أسود */
}
.value-card p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: #000000; /* أسود */
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.value-icon {
  font-size: 32px;
  margin-bottom: var(--space-12);
}
.vision-section {
  padding: var(--space-80) 0 var(--space-64);
}
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-48);
  align-items: center;
}
.vision-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}
.service-grid {
  display: grid;
  gap: var(--space-32);
  margin-top: var(--space-48);
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1280px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1536px) {
  .service-grid {
    gap: var(--space-40);
  }
}
.service-card {
  background: #ffffff; /* خلفية بيضاء */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  display: block;
  overflow: hidden;
  transition: all 0.3s ease;
}
.service-card .service-icon {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card .service-icon img {
  width: 100%;
  height: 280px;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.service-card .card-caption {
  background: #ffffff; /* أبيض بالكامل */
  padding: var(--space-24) var(--space-20);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: none;
  box-shadow: none;
}
.service-card h3 {
  margin: 0 0 var(--space-8);
  font-size: var(--font-size-xl);
  color: #000000; /* أسود */
  font-weight: 600;
}
.service-card p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: #000000; /* أسود */
}
.service-card:hover .service-icon img {
  transform: scale(1.04);
}
.cta-section {
  padding: var(--space-64) 0 var(--space-64);
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: #fff;
  text-align: center;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-20);
  max-width: 820px;
  margin: 0 auto;
}
.cta-inner h2 {
  color: #fff;
  margin: 0;
  font-size: var(--font-size-3xl);
}
.btn-cta {
  background: var(--secondary);
  color: #fff;
  border: 2px solid var(--secondary);
  padding: var(--space-16) var(--space-32);
  border-radius: var(--radius);
  font-size: var(--font-size-base);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(185, 152, 90, 0.3);
  transition: all 0.3s ease;
}
.btn-cta:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(185, 152, 90, 0.4);
}
.cta-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-sm);
}
.contact {
  padding: var(--space-80) 0 var(--space-64);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-48);
  align-items: start;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}
.contact-card {
  display: flex;
  gap: var(--space-16);
  align-items: flex-start;
  background: #ffffff; /* أبيض */
  padding: var(--space-16) var(--space-20);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.06); /* حد خفيف */
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  font-size: 26px;
  line-height: 1;
}
.card-label {
  font-weight: 600;
  font-size: var(--font-size-sm);
  margin-bottom: 4px;
  color: #000000; /* أسود */
}
.card-value {
  color: #000000; /* أسود */
}
.card-value a {
  color: #000000; /* أسود */
  text-decoration: none;
}
.card-value a:hover {
  text-decoration: underline;
}
.contact-actions {
  display: flex;
  gap: var(--space-16);
  margin-top: var(--space-12);
}
.site-footer {
  background: linear-gradient(180deg, #071b2e, #041623);
  color: #fff;
  padding: var(--space-48) 0 var(--space-24);
  margin-top: var(--space-80);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-40);
}
.footer-inner .brand h3 {
  margin: 0 0 var(--space-8);
  font-size: var(--font-size-xl);
  color: #fff;
}
.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-sm);
}
.social a {
  color: #fff;
  text-decoration: none;
  font-size: var(--font-size-sm);
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.social a:hover {
  background: rgba(255, 255, 255, 0.15);
}
.social {
  display: flex;
  gap: var(--space-12);
  align-items: center;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #fff;
}
.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
@-webkit-keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
}
@media (max-width: 768px) {
  .about-grid,
  .vision-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
  .about-content h2,
  .vision-content h2 {
    font-size: var(--font-size-xl);
  }
  .contact-actions {
    flex-direction: column;
  }
  .contact-actions .btn {
    width: 100%;
  }
  .cta-inner h2 {
    font-size: var(--font-size-xl);
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-16);
  }
  .values-grid,
  .goals-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
  .company-name {
    font-size: 12px;
    letter-spacing: 0.2px;
  }
  .nav-toggle {
    display: block;
    z-index: 90;
    padding: var(--space-8);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
  }
  .nav-toggle:hover {
    background: var(--bg-light);
  }
  .nav {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(2, 40, 70, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    padding: var(--space-20);
    gap: var(--space-8);
    transform: translateY(-120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 80;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav[data-mobile-menu].open {
    transform: translateY(0);
  }
  .nav a {
    padding: var(--space-16) var(--space-20);
    border-radius: var(--radius);
    text-align: center;
    font-size: var(--font-size-base);
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }
  .nav a:hover {
    background: var(--bg-alt);
    border-color: var(--border);
    transform: translateY(-1px);
  }
  .header-inner {
    gap: var(--space-12);
    padding: var(--space-12) var(--space-16);
    justify-content: space-between;
  }
}
@media (max-width: 768px) {
  .logo {
    flex-direction: column; /* stack vertically on mobile */
    gap: 4px;
  }
  .logo img {
    height: 60px !important;
    max-height: 60px !important;
  }
  .company-name {
    white-space: normal;
    font-size: 13px;
  }
}
.nav a {
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-sm);
  border: none;
  background: transparent;
}
.nav a:hover {
  background: var(--bg-alt);
  transform: none;
}
.nav-toggle {
  display: none !important;
}
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(2, 40, 70, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 80;
  }
  .nav[data-mobile-menu].open {
    transform: translateY(0);
  }
}

/* Mobile header layout & hamburger visibility */
@media (max-width: 768px) {
  .nav-toggle {
    display: block !important;
  }
  .header-inner {
    flex-direction: row; /* move logo to the other side on mobile */
    justify-content: space-between;
  }
  .header-left {
    display: none;
  }
}
/* Hide navigation and toggle entirely on mobile as requested */
/* @media (max-width: 768px) {
  .nav,
  nav[data-mobile-menu],
  .nav.open,
  nav[data-mobile-menu].open {
    display: none !important;
  }
  .nav-toggle {
    display: none !important;
  }
} */
@media (max-width: 320px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-float svg {
    width: 20px;
    height: 20px;
  }
}
@media (min-width: 881px) and (max-width: 1199px) {
  .hero h1 {
    font-size: var(--font-size-3xl);
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .hero h1 {
    font-size: var(--font-size-4xl);
  }
}

/* هوامش جانبية للمحتوى على الجوال */
@media (max-width: 600px) {
  .container,
  .about-section,
  .vision-section,
  .services,
  .cta-section,
  .contact,
  .footer-inner {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }
  /* make logo and label more compact on small screens */
  .logo img {
    height: 36px;
    max-height: 36px;
  }
  .company-name {
    font-size: 11px;
  }
}
/* === Fix: Mobile nav fully hidden until toggle is pressed === */
@media (max-width: 768px) {
  /* الزر يبان على الجوال حتى لو في سطر قديم يخفيه */
  .nav-toggle {
    display: block !important;
    z-index: 90;
  }

  /* الحالة الافتراضية (مغلقة): مخفية تمامًا ولا تلتقط نقرات */
  #main-navigation[data-mobile-menu] {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    transform: translateY(-110%); /* خارج الشاشة */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border-bottom: 0 !important; /* لا خط */
    box-shadow: none !important; /* لا ظل */
    transition: transform 0.3s ease, opacity 0.25s ease, visibility 0.25s ease;
    z-index: 80;
  }

  /* حالة الفتح */
  #main-navigation[data-mobile-menu].open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: var(--shadow) !important;
  }

  /* الروابط داخل القائمة */
  #main-navigation[data-mobile-menu] a {
    padding: var(--space-16) var(--space-20);
    border-radius: var(--radius);
    text-align: center;
    font-size: var(--font-size-base);
    font-weight: 600;
  }
}
:root {
  --wa-green: #25d366; /* لون واتساب */
  --wa-dark: #0a2d57; /* لون إضافي من الهوية */
}

/* زر واتساب */
.wa-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  width: 56px; /* مبدئياً أيقونة فقط */
  padding: 0 14px;
  border-radius: 999px;
  background: var(--wa-green);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  overflow: hidden;
  transition: width 0.32s ease, box-shadow 0.32s ease, transform 0.18s ease;
}

.wa-ic {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

/* النص بجانب الأيقونة */
.wa-label {
  font-family: 'Tajawal', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* لما يضاف كلاس .scrolling يظهر النص */
.wa-fab.scrolling {
  width: 130px; /* توسعة عشان النص يدخل */
}
.wa-fab.scrolling .wa-label {
  opacity: 1;
  transform: translateX(0);
}

/* على الديسكتوب يظهر بالـ hover */
@media (hover: hover) and (pointer: fine) {
  .wa-fab:hover {
    width: 168px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  }
  .wa-fab:hover .wa-label {
    opacity: 1;
    transform: translateX(0);
  }
}

/* لما الشاشة صغيرة نخلي الوضع هو نفسه بس يظهر فقط عند السكرول */
@media (max-width: 768px) {
  .wa-fab {
    bottom: 16px;
    right: 16px;
  }
}

/* تقليل الحركة للي مفعّلينها */
@media (prefers-reduced-motion: reduce) {
  .wa-fab,
  .wa-label {
    transition: none !important;
  }
}

/* تأثير ضغط */
.wa-fab:active {
  transform: scale(0.97);
}

/* تباين للتركيز */
.wa-fab:focus-visible {
  outline: 3px solid #fff;
  box-shadow: 0 0 0 4px var(--wa-dark), 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* س */

.contact--footer {
  padding: 48px 0;
  color: #fff;
}
.contact__title {
  font-weight: 900;
  margin-bottom: 8px;
}
.contact__intro {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.contact__grid {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}
.contact__card {
  background: #fff;
  color: #0f2a43;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.contact__icon {
  font-size: 20px;
  margin-top: 2px;
}
.contact__label {
  font-weight: 700;
  margin-bottom: 4px;
}
.contact__value a {
  color: inherit;
  text-decoration: none;
}
.contact__value a:hover {
  text-decoration: underline;
}

.contact__mapWrap {
  margin: 16px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.contact__mapWrap a {
  display: block;
}
.contact__mapWrap a:hover {
  opacity: 0.95;
}
.contact__map {
  width: 100%;
  height: 220px;
  border: 0;
}

.contact__actions {
  margin-top: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn--primary {
  background: #f7c531;
  color: #0a2d57;
}
.btn--primary:hover {
  box-shadow: 0 4px 12px rgba(247, 197, 49, 0.3);
}
.btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
/* ألوان ويمكنك تعديلها */
:root {
  --title-color: #fff; /* لون النص */
  --bar-color: #f1c40f; /* الأصفر */
  --bar-height: 4px; /* سماكة الخط */
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px; /* المسافة بين النص والخطين */
  color: var(--title-color);
  font-weight: 800;
  margin: 0; /* عدّل حسب احتياجك */
  text-align: center;
}

.section-title > span {
  white-space: nowrap; /* حتى لا يلف النص */
}

/* الخطان الجانبيان */
.section-title::before,
.section-title::after {
  content: '';
  height: var(--bar-height);
  background: var(--bar-color);
  border-radius: 2px;
  flex: 1 1 140px; /* يتمدد لكن أساسه 140px */
  max-width: 320px; /* لا يتجاوز هذا الطول */
}

/* جوال */
@media (max-width: 768px) {
  .section-title {
    font-size: 22px;
    gap: 10px;
  }
  .section-title::before,
  .section-title::after {
    flex-basis: 100px; /* خطوط أقصر على الجوال */
    max-width: 120px;
  }
}

/* سطح مكتب */
@media (min-width: 992px) {
  .section-title::before,
  .section-title::after {
    flex-basis: 250px !important; /* الطول الأساسي */
    max-width: 450px !important; /* الطول الأقصى */
  }
}
