/* ================================
   EDS SOLUTIONS — Premium Landing
   ================================ */

:root {
  --eds-navy: #07142e;
  --eds-navy-2: #0b1d3a;
  --eds-blue: #276ef1;
  --eds-sky: #4aa3ff;
  --eds-cyan: #22d3ee;
  --eds-light: #f6f9ff;

  --text: #0b1220;
  --muted: #5b6b84;
  --line: rgba(15, 23, 42, 0.12);

  --shadow-sm: 0 10px 24px rgba(2, 8, 23, 0.08);
  --shadow-md: 0 18px 50px rgba(2, 8, 23, 0.12);
  --shadow-lg: 0 26px 70px rgba(2, 8, 23, 0.18);

  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;

  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  padding-top: 78px;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(39,110,241,.10), transparent 55%),
    radial-gradient(900px 600px at 85% 15%, rgba(34,211,238,.10), transparent 55%),
    #ffffff;
  line-height: 1.65;
}

html[dir="rtl"] body {
  font-family: "Tajawal", "Segoe UI", system-ui, sans-serif;
}

/* ================================
   NAVBAR
   ================================ */
.navbar {
  background: rgba(7, 20, 46, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(39,110,241,1), rgba(34,211,238,.85));
  box-shadow: 0 14px 32px rgba(39,110,241,.25);
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), transparent 60%);
  transform: rotate(18deg);
}

.navbar .nav-link {
  color: rgba(226,232,240,.86);
  font-weight: 650;
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.6rem 0.7rem;
  border-radius: 999px;
}

.navbar .nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }

.btn-eds-primary {
  background: linear-gradient(135deg, var(--eds-blue), var(--eds-sky));
  border: 0;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(39,110,241,.22);
  border-radius: 14px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.btn-eds-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(39,110,241,.28);
  color: #fff;
}

.btn-eds-outline {
  border: 1px solid rgba(39,110,241,.28);
  color: var(--eds-blue);
  font-weight: 700;
  border-radius: 14px;
  background: #fff;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.btn-eds-outline:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  color: var(--eds-blue);
}

.language-switcher {
  display: inline-flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.10);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
}

.lang-btn {
  border: none;
  background: transparent;
  color: rgba(226,232,240,.9);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.lang-btn.active,
.lang-btn:hover {
  background: #ffffff;
  color: var(--eds-navy);
}

.language-dropdown .form-select {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  min-width: 120px;
  font-weight: 700;
  border-radius: 12px;
}

.language-dropdown .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(74, 163, 255, 0.25);
  border-color: rgba(74, 163, 255, 0.7);
}

/* ================================
   HERO
   ================================ */
.hero-section {
  position: relative;
  padding: 120px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(34,211,238,.25), transparent 55%),
    radial-gradient(circle at 15% 15%, rgba(39,110,241,.22), transparent 55%),
    linear-gradient(135deg, var(--eds-navy), var(--eds-navy-2));
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 30% 20%, rgba(0,0,0,1), transparent 60%);
  opacity: 0.18;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
  opacity: .9;
}

.hero-glow-1 {
  width: 520px;
  height: 520px;
  background: rgba(39,110,241,.28);
  top: -180px;
  left: -180px;
}

.hero-glow-2 {
  width: 520px;
  height: 520px;
  background: rgba(34,211,238,.22);
  bottom: -220px;
  right: -220px;
}

.hero-kicker {
  color: rgba(219,234,254,.85);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.hero-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  margin-bottom: 14px;
}

.hero-subtitle {
  color: rgba(226,232,240,.78);
  font-size: 1.05rem;
  max-width: 56ch;
}

/* Highlights */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero-highlight {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 180px;
}

.hero-highlight-title {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(226,232,240,.70);
  font-weight: 800;
  margin-bottom: 3px;
}

.hero-highlight-text {
  font-weight: 700;
  color: #fff;
}

/* Hero Card */
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(74,163,255,.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-card > * { position: relative; z-index: 1; }

.stat-card {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.10);
}

.stat-card h2 {
  font-weight: 900;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.stat-card p {
  margin: 0;
  color: rgba(226,232,240,.78);
  font-weight: 600;
  font-size: .92rem;
}

.badge-pill {
  background: rgba(34,211,238, 0.16);
  border: 1px solid rgba(34,211,238, 0.18);
  color: rgba(226,232,240,.92);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.hero-card-footer {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
}

.hero-card-footer-title {
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-card-footer-sub {
  color: rgba(226,232,240,.75);
  font-weight: 600;
  font-size: .92rem;
}

/* ================================
   SECTIONS
   ================================ */
.section {
  padding: 86px 0;
  position: relative;
}

.section-alt {
  background: var(--eds-light);
}

.section-kicker {
  color: var(--eds-blue);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  font-size: 0.82rem;
}

.section-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--eds-navy);
  margin-top: 6px;
}

.section-subtitle {
  color: var(--muted);
  font-weight: 500;
}

/* ================================
   CARDS + HOVER
   ================================ */
.animated-card {
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.animated-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.service-card,
.process-card,
.solution-card,
.impact-card,
.client-card,
.testimonial-card,
.contact-form,
.contact-highlight,
.outcome-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::before,
.process-card::before,
.solution-card::before,
.impact-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(74,163,255,.18), transparent 70%);
  opacity: 0.85;
  pointer-events: none;
  transition: transform .25s var(--ease);
}
.service-card:hover::before,
.process-card:hover::before,
.solution-card:hover::before,
.impact-card:hover::before,
.testimonial-card:hover::before {
  transform: scale(1.2);
}

/* ================================
   SERVICES
   ================================ */
.service-card {
  padding: 28px;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--eds-blue), var(--eds-sky));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(39,110,241,.22);
  margin-bottom: 16px;
}

.service-icon-img { width: 30px; height: 30px; }

.service-card h5 {
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.service-card p { color: var(--muted); }

.service-list {
  list-style: none;
  padding-left: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  color: #42536c;
  font-weight: 650;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eds-blue), var(--eds-cyan));
  box-shadow: 0 0 0 5px rgba(39,110,241, 0.12);
}

.service-footer {
  margin-top: 16px;
  font-weight: 900;
  color: var(--eds-blue);
  letter-spacing: -0.01em;
}

/* Delivery flow */
.delivery-flow {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(39,110,241,0.08), rgba(34,211,238,0.06));
  border: 1px solid rgba(15,23,42,0.08);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.delivery-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(39,110,241,0.20), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.delivery-step { position: relative; z-index: 1; padding: 10px; }
.delivery-step h6 { font-weight: 900; color: var(--eds-navy); margin-bottom: 6px; }
.delivery-step p { margin: 0; color: var(--muted); font-weight: 500; }

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--eds-blue);
  margin-bottom: 10px;
  position: relative;
  animation: pulse 2.4s ease-in-out infinite;
}

.delivery-step:nth-child(2) .step-dot { animation-delay: 0.4s; }
.delivery-step:nth-child(3) .step-dot { animation-delay: 0.8s; }
.delivery-step:nth-child(4) .step-dot { animation-delay: 1.2s; }

/* ================================
   SOLUTIONS (Image Stack)
   ================================ */
.image-stack { position: relative; min-height: 340px; }
.image-card {
  border-radius: var(--radius-lg);
  position: absolute;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.25);
  overflow: hidden;
}

.image-card-primary {
  background-image:
    linear-gradient(135deg, rgba(39,110,241,0.80), rgba(7,20,46,0.92)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=80");
  width: 82%;
  height: 310px;
  top: 0;
  left: 0;
}

.image-card-secondary {
  background-image:
    linear-gradient(135deg, rgba(34,211,238,0.55), rgba(7,20,46,0.92)),
    url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1200&q=80");
  width: 72%;
  height: 270px;
  bottom: -22px;
  right: 0;
}

/* Solution cards */
.solution-card { padding: 18px; }
.solution-card h6 { font-weight: 900; margin-bottom: 6px; }
.solution-card p { margin: 0; color: var(--muted); }

/* ================================
   PROCESS
   ================================ */
.process-card { padding: 22px; height: 100%; }
.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(39,110,241, 0.10);
  color: var(--eds-blue);
  font-weight: 900;
  margin-bottom: 14px;
}

.process-card h5 { font-weight: 900; margin-bottom: 8px; }
.process-card p { margin: 0; color: var(--muted); }

.outcome-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.outcome-card { padding: 18px; text-align: center; background: #fff; }
.outcome-card h4 { font-weight: 900; margin-bottom: 6px; color: var(--eds-navy); }
.outcome-card p { margin: 0; color: var(--muted); font-weight: 600; }

/* ================================
   IMPACT + CLIENTS + TESTIMONIALS
   ================================ */
.impact-card { padding: 22px; }
.impact-card h3 { font-weight: 900; margin-bottom: 8px; }
.impact-card p { margin: 0; color: var(--muted); }

.client-card {
  padding: 18px;
  border-radius: 14px;
  text-align: center;
  font-weight: 900;
  color: var(--eds-navy);
  background: #fff;
}

.testimonial-card { padding: 28px; }
.testimonial-card p { color: #334155; font-weight: 600; font-size: 1.02rem; }
.testimonial-card h6 { font-weight: 900; }

/* ================================
   CTA SECTION
   ================================ */
.section-cta {
  background: linear-gradient(135deg, var(--eds-navy), #123c9b);
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

/* ================================
   CONTACT
   ================================ */
.contact-section { position: relative; }
.contact-section::before {
  content: "";
  position: absolute;
  top: 60px;
  right: 10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(74, 163, 255, 0.22), transparent 70%);
  opacity: 0.9;
  pointer-events: none;
}

.contact-highlight { padding: 20px; }
.contact-highlight h5 { font-weight: 900; margin-bottom: 8px; }
.contact-highlight p { color: var(--muted); font-weight: 500; }

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.contact-details h6 { margin-bottom: 4px; font-weight: 900; color: var(--eds-navy); }
.contact-details p { margin: 0; color: var(--muted); font-weight: 600; }

.contact-form {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-lg);
}

.form-control,
.form-select {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 12px 14px;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(39, 110, 241, 0.15);
  border-color: rgba(39, 110, 241, 0.70);
}

.styled-select {
  background-color: #ffffff;
  border: 1px solid rgba(39, 110, 241, 0.25);
  padding-right: 2.8rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #276ef1 50%),
    linear-gradient(135deg, #276ef1 50%, transparent 50%),
    linear-gradient(to right, rgba(39, 110, 241, 0.14), rgba(39, 110, 241, 0.05));
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px),
    100% 0;
  background-size: 6px 6px, 6px 6px, 2.8rem 100%;
  background-repeat: no-repeat;
  font-weight: 800;
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--eds-navy-2);
  color: #ffffff;
  padding: 44px 0;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* ================================
   WHATSAPP FLOAT
   ================================ */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  background: #25d366;
  color: #ffffff;
  border-radius: 999px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.whatsapp-icon { font-size: 1.1rem; }

html[dir="rtl"] .whatsapp-float { right: auto; left: 22px; }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 991px) {
  .hero-section { padding: 100px 0 74px; }
  .hero-card { padding: 22px; }

  .contact-details { grid-template-columns: 1fr; }

  .image-stack { min-height: 380px; }
  .image-card-primary,
  .image-card-secondary {
    position: relative;
    width: 100%;
    height: 240px;
    margin-bottom: 18px;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  body { padding-top: 74px; }
  .section { padding: 66px 0; }
  .hero-section { padding: 92px 0 66px; }

  .outcome-grid { grid-template-columns: 1fr; }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 9px 12px;
    font-size: 0.9rem;
  }
  html[dir="rtl"] .whatsapp-float { left: 14px; }
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(39,110,241,0.35); }
  70% { transform: scale(1.12); box-shadow: 0 0 0 12px rgba(39,110,241,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(39,110,241,0); }
}

/* RTL minor fixes */
html[dir="rtl"] .service-list li { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .service-list li::before { left: auto; right: 0; }
