/* ════════════════════════════════════════════════════════════════
   HUMAN BRAIN WAVE — styles.css
   Combines: base styles + navbar/hero/about/services/contact/footer
             + inner pages: hero, features, timeline, order form
   ════════════════════════════════════════════════════════════════ */

/* ── Google Fonts (Arabic support) ──────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&family=Noto+Kufi+Arabic:wght@300;400;500;600;700;800&display=swap');

/* ── Reset & Root ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue:   #136ba6;
  --blue-d: #0d5285;
  --blue-l: #1f8cd6;
  --blue-xl:#e8f4fc;
  --white:  #ffffff;
  --off:    #f5fafd;
  --text:   #1a2533;
  --muted:  #5e7a91;
  --radius: 18px;
  --shadow: 0 12px 48px rgba(19,107,166,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* Arabic body font */
[lang="ar"] body,
[lang="ar"],
html[lang="ar"] body {
  font-family: 'Noto Kufi Arabic', sans-serif;
}

[dir="rtl"] { text-align: right; }

/* ── Custom Cursor ────────────────────────────────────────────── */
.cursor {
  width: 12px; height: 12px;
  background: var(--blue);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .1s, width .3s, height .3s, background .3s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform .18s ease, width .3s, height .3s, border-color .3s;
  opacity: .55;
}
body:hover .cursor { opacity: 1; }

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--off); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 99px; }

/* ════════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 16px 4%;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: background .4s, box-shadow .4s, padding .4s;
}
nav.scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(19,107,166,.12);
  padding: 10px 4%;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.45rem;
  color: var(--white); letter-spacing: -.5px;
  transition: color .4s;
  text-decoration: none;
  white-space: nowrap;
}
nav.scrolled .nav-logo { color: var(--blue); }

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: 10px;
  font-size: .84rem; font-weight: 500;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: color .3s, background .3s;
  white-space: nowrap;
  position: relative;
}
nav.scrolled .nav-item > a { color: var(--text); }
.nav-item > a:hover { background: rgba(255,255,255,.15); color: var(--white); }
nav.scrolled .nav-item > a:hover { background: var(--blue-xl); color: var(--blue); }
.nav-item > a.active { background: rgba(255,255,255,.2); color: var(--white); }
nav.scrolled .nav-item > a.active { background: var(--blue-xl); color: var(--blue); }

/* Underline effect (original style) */
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 13px;
  width: 0; height: 2px;
  background: var(--blue); border-radius: 99px;
  transition: width .3s;
}
.nav-links a:hover::after { width: calc(100% - 26px); }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: .8rem; font-weight: 600;
  color: var(--white); text-decoration: none;
  transition: all .3s;
}
nav.scrolled .lang-toggle {
  background: var(--blue-xl);
  border-color: rgba(19,107,166,.2);
  color: var(--blue);
}
.lang-toggle:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(19,107,166,.3); }
.lang-toggle::after { display: none !important; }

/* Dropdown item (LaravelLocalization) */
.dropdown-item {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 14px; border-radius: 10px;
  font-size: .82rem; font-weight: 500;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: color .3s, background .3s;
  white-space: nowrap;
}
.dropdown-item::after { display: none !important; }
nav.scrolled .dropdown-item { color: var(--text); }
.dropdown-item:hover { background: rgba(255,255,255,.15); color: var(--white); }
nav.scrolled .dropdown-item:hover { background: var(--blue-xl); color: var(--blue); }
.dropdown-item.active { color: #a8deff; font-weight: 700; }
nav.scrolled .dropdown-item.active { color: var(--blue); }

.nav-cta {
  padding: 9px 22px;
  background: var(--white); color: var(--blue) !important;
  border-radius: 99px; font-weight: 600 !important;
  font-size: .84rem !important;
  text-decoration: none;
  transition: all .3s;
  white-space: nowrap;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--blue-l) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(19,107,166,.35);
}
nav.scrolled .nav-cta { background: var(--blue); color: var(--white) !important; }
nav.scrolled .nav-cta:hover { background: var(--blue-d) !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 910;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 99px;
  transition: all .35s;
}
nav.scrolled .hamburger span { background: var(--blue); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu ──────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0;
  background: linear-gradient(160deg, #0a4878, var(--blue));
  z-index: 800;
  flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  opacity: 0; pointer-events: none;
  transform: translateY(-20px);
  transition: opacity .4s, transform .4s;
  display: none;
}
.mobile-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); display: flex; }
.mobile-menu a {
  font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 700;
  color: rgba(255,255,255,.85); text-decoration: none;
  padding: 10px 30px; border-radius: 16px;
  transition: color .2s, background .2s;
}
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.mobile-lang {
  margin-top: 20px;
  display: flex; gap: 12px;
}
.mobile-lang a {
  font-size: 1rem !important; padding: 8px 24px !important;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px;
}

/* ════════════════════════════════════════════════════════════════
   SECTION HELPERS
   ════════════════════════════════════════════════════════════════ */
section { padding: 110px 5%; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: .78rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.section-label::before {
  content: ''; width: 28px; height: 2px;
  background: var(--blue); border-radius: 99px; flex-shrink: 0;
}
[dir="rtl"] .section-label { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .section-label::before { order: 2; }

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -1px; line-height: 1.15;
  color: var(--text);
}
[lang="ar"] .section-title,
html[lang="ar"] .section-title { font-family: 'Noto Kufi Arabic', sans-serif; letter-spacing: 0; }
.section-title span { color: var(--blue); }

.section-sub {
  margin-top: 16px; font-size: 1.05rem; color: var(--muted);
  line-height: 1.75; font-weight: 300; max-width: 560px;
}

/* Reveal animations */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-36px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(36px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ════════════════════════════════════════════════════════════════
   HOME HERO  —  Video background version
   ════════════════════════════════════════════════════════════════ */
#home,
#home-hero {
  min-height: 100vh;
  background: linear-gradient(145deg, #0a3058 0%, #0b4a82 50%, #0e5a9a 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}

/* Subtle grid texture — sits above the video overlay */
#home::before,
#home-hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* ── Video element ─────────────────────────────────── */
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
  filter: blur(1px) brightness(0.9);
  animation: hero-vid-fade 1.8s ease forwards;
}
@keyframes hero-vid-fade {
  from { opacity: 0; filter: blur(4px) brightness(0.7); }
  to   { opacity: 0.5; filter: blur(1px) brightness(0.9); }
}

/* ── Base dark overlay ─────────────────────────────── */
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
}

/* ── Animated shimmer overlay ──────────────────────── */
.hero-overlay-shimmer {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(19,107,166,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(31,140,214,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 50% 80%, rgba(10,60,120,0.20) 0%, transparent 50%);
  background-size: 200% 200%, 200% 200%, 200% 200%;
  animation: hero-shimmer 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-shimmer {
  0%,100% { background-position: 0% 50%,   100% 0%,   50% 100%; }
  33%      { background-position: 50% 0%,   0% 100%,   100% 50%; }
  66%      { background-position: 100% 50%, 50% 50%,   0% 0%;    }
}

/* ── Particle canvas ───────────────────────────────── */
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 4;
  pointer-events: none;
}

/* ── Centered single-column layout ─────────────────── */
.hero-inner-v2 {
  grid-template-columns: 1fr !important;
  max-width: 900px !important;
  text-align: center;
  justify-items: center;
  z-index: 5;
}

.hero-content-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.hero-content-v2 .hero-sub   { max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-content-v2 .hero-actions { justify-content: center; }

/* Stat row — glass pill style */
.hero-stats-v2 {
  justify-content: center;
  margin-top: 52px;
  padding: 20px 36px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 20px;
  display: inline-flex !important;
  gap: 40px;
  flex-wrap: wrap;
  animation: hero-glass-in 0.9s 1.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes hero-glass-in {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.hero-stats-v2 .stat {
  border-left: 1px solid rgba(255,255,255,0.22);
  padding-left: 36px;
  transition: transform 0.3s ease;
}
.hero-stats-v2 .stat:first-child {
  border-left: none;
  padding-left: 0;
}
.hero-stats-v2 .stat:hover { transform: translateY(-3px); }

[dir="rtl"] .hero-stats-v2 .stat {
  border-left: none;
  border-right: 1px solid rgba(255,255,255,0.22);
  padding-left: 0; padding-right: 36px;
}
[dir="rtl"] .hero-stats-v2 .stat:first-child {
  border-right: none; padding-right: 0;
}

/* Blobs */
.blob, .home-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .25;
  animation: blobFloat 12s ease-in-out infinite;
}
.blob-1, .home-blob-1 { width: 520px; height: 520px; background: #fff;    top: -100px; right: -80px; animation-delay: 0s; }
.blob-2, .home-blob-2 { width: 360px; height: 360px; background: #1f8cd6; bottom: -80px; left: 5%; animation-delay: -4s; }
.blob-3, .home-blob-3 { width: 220px; height: 220px; background: #e8f4fc; top: 40%; left: 40%; animation-delay: -8s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(.95); }
}

.hero-inner,
.home-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 120px 5% 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white); padding: 8px 18px; border-radius: 99px;
  font-size: .82rem; font-weight: 500; letter-spacing: .8px;
  text-transform: uppercase; backdrop-filter: blur(8px);
  margin-bottom: 28px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s .3s forwards;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px;
  background: #7effd6; border-radius: 50%;
  box-shadow: 0 0 8px #7effd6;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.1; color: var(--white);
  letter-spacing: -1.5px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .9s .5s forwards;
}
[lang="ar"] .hero-title, html[lang="ar"] .hero-title { font-family: 'Noto Kufi Arabic', sans-serif; letter-spacing: 0; }
.hero-title span { color: #a8deff; }

.hero-sub {
  margin-top: 22px; font-size: 1.1rem; line-height: 1.75;
  color: rgba(255,255,255,.78); font-weight: 300;
  max-width: 480px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s .7s forwards;
}

.hero-actions {
  margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s .9s forwards;
}

.btn-primary {
  padding: 15px 36px; background: var(--white);
  color: var(--blue); border-radius: 99px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .25s, box-shadow .25s, background .25s;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  background: #eaf6ff;
}
.btn-outline {
  padding: 15px 36px; background: transparent;
  color: var(--white); border: 2px solid rgba(255,255,255,.5);
  border-radius: 99px; font-weight: 600; font-size: 1rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all .25s;
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* Hero stats */
.hero-stats {
  display: flex; gap: 30px; margin-top: 50px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s 1.1s forwards;
}
.stat { border-left: 2px solid rgba(255,255,255,.3); padding-left: 18px; }
[dir="rtl"] .stat { border-left: none; border-right: 2px solid rgba(255,255,255,.3); padding-left: 0; padding-right: 18px; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1;
}
.stat-num span { color: #a8deff; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.65); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* Hero Visual (card) */
.hero-visual {
  position: relative;
  opacity: 0; transform: translateX(40px);
  animation: fadeRight 1s .6s forwards;
}
[dir="rtl"] .hero-visual { transform: translateX(-40px); }

.hero-card {
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px; padding: 36px; position: relative;
}
.hero-card::before {
  content: '';
  position: absolute; inset: -1px; border-radius: 25px;
  background: linear-gradient(135deg, rgba(255,255,255,.3), transparent 60%);
  z-index: -1;
}
.hc-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.hc-icon svg { width: 28px; height: 28px; }
.hc-title {
  font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 700;
  color: var(--white); margin-bottom: 8px;
}
.hc-text { font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.6; }
.hc-progress { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.progress-row { display: flex; flex-direction: column; gap: 6px; }
.progress-label {
  display: flex; justify-content: space-between;
  font-size: .78rem; color: rgba(255,255,255,.75); font-weight: 500;
}
.progress-bar { height: 6px; background: rgba(255,255,255,.2); border-radius: 99px; overflow: hidden; }
.progress-fill {
  height: 100%; background: linear-gradient(90deg, #a8deff, var(--white));
  border-radius: 99px; width: 0;
  transition: width 1.5s ease 1.4s;
}

/* Floating mini-cards */
.float-card {
  position: absolute; background: var(--white); border-radius: 16px;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  animation: floatY 6s ease-in-out infinite;
}
.float-card:nth-child(2),
.float-card.fc-top { top: -28px; right: -28px; animation-delay: -2s; }
.float-card:nth-child(3),
.float-card.fc-bot { bottom: -28px; left: -28px; animation-delay: -4s; }
[dir="rtl"] .float-card:nth-child(2),
[dir="rtl"] .float-card.fc-top { right: auto; left: -28px; }
[dir="rtl"] .float-card:nth-child(3),
[dir="rtl"] .float-card.fc-bot { left: auto; right: -28px; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.fc-icon,
.fc-icon-mini {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--blue-xl);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fc-icon svg, .fc-icon-mini svg { width: 20px; height: 20px; stroke: var(--blue); }
.fc-num {
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800;
  color: var(--blue); line-height: 1;
}
.fc-lbl { font-size: .72rem; color: var(--muted); margin-top: 2px; }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.55); font-size: .75rem; letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeIn 1s 2s both;
}
.scroll-hint svg { animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)}50%{transform:translateY(6px)} }

/* ════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════════════════════════ */
#about { background: var(--white); position: relative; overflow: hidden; }
#about::before {
  content: '';
  position: absolute; right: -200px; top: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--blue-xl) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-image-wrap {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-l) 100%);
}
.about-image-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.about-svg-illo { width: 75%; opacity: .9; }
.about-deco {
  position: absolute; bottom: -24px; right: -24px;
  width: 140px; height: 140px;
  background: var(--blue-xl); border-radius: 24px; z-index: -1;
}
.about-accent {
  position: absolute; top: -18px; left: -18px;
  width: 80px; height: 80px;
  border: 3px solid var(--blue); border-radius: 18px; opacity: .25;
}
.about-stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.asc {
  background: var(--off); border-radius: 20px; padding: 24px; text-align: center;
  border: 1px solid rgba(19,107,166,.08);
  transition: transform .3s, box-shadow .3s;
}
.asc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.asc-num { font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.asc-label { font-size: .82rem; color: var(--muted); margin-top: 5px; font-weight: 400; }

.about-features { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.af-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: 16px;
  transition: background .3s, transform .3s;
}
.af-item:hover { background: var(--off); transform: translateX(6px); }
[dir="rtl"] .af-item:hover { transform: translateX(-6px); }
.af-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-xl); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.af-icon svg { width: 22px; height: 22px; }
.af-text h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .98rem; color: var(--text); margin-bottom: 4px; }
.af-text p { font-size: .88rem; color: var(--muted); line-height: 1.55; }

/* ════════════════════════════════════════════════════════════════
   SERVICES SECTION (Home)
   ════════════════════════════════════════════════════════════════ */
#services { background: var(--off); position: relative; overflow: hidden; }
#services::after {
  content: 'SERVICES';
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: 'Syne', sans-serif; font-size: 9rem; font-weight: 800;
  color: rgba(19,107,166,.04); white-space: nowrap; pointer-events: none; letter-spacing: -3px;
}
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px; flex-wrap: wrap; gap: 20px;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.service-card {
  background: var(--white); border-radius: 24px; padding: 36px 32px;
  border: 1px solid rgba(19,107,166,.07);
  transition: transform .35s, box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-l));
  opacity: 0; transition: opacity .35s;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: rgba(19,107,166,.15); }
.service-card:hover::before { opacity: 1; }

.sc-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: var(--blue-xl);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: background .3s, transform .3s;
}
.service-card:hover .sc-icon { background: var(--blue); transform: scale(1.08); }
.sc-icon svg { width: 28px; height: 28px; transition: stroke .3s; }
.service-card:hover .sc-icon svg { stroke: var(--white); }
.sc-title { font-family: 'Syne', sans-serif; font-size: 1.18rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.sc-desc { font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 26px; }

.sc-products { border-top: 1px solid rgba(19,107,166,.08); padding-top: 22px; }
.sc-products-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue); margin-bottom: 14px; }
.product-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid rgba(19,107,166,.06);
  transition: transform .2s;
}
.product-item:last-child { border-bottom: none; padding-bottom: 0; }
.product-item:hover { transform: translateX(4px); }
[dir="rtl"] .product-item:hover { transform: translateX(-4px); }
.pi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0; margin-top: 5px; transition: transform .2s;
}
.product-item:hover .pi-dot { transform: scale(1.5); }
.pi-name { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.pi-desc { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════
   QUICK SERVICES (Home page cards linking to inner pages)
   ════════════════════════════════════════════════════════════════ */
.quick-services { background: var(--off); padding: 100px 5%; }
.qs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }

.qs-card {
  background: var(--white); border-radius: 22px; padding: 32px 28px;
  border: 1px solid rgba(19,107,166,.07);
  transition: transform .35s, box-shadow .35s, border-color .35s;
  text-decoration: none; display: block;
  position: relative; overflow: hidden;
}
.qs-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-l));
  opacity: 0; transition: opacity .35s;
}
.qs-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(19,107,166,.15); }
.qs-card:hover::before { opacity: 1; }

.qs-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--blue-xl); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, transform .3s;
}
.qs-card:hover .qs-icon { background: var(--blue); transform: scale(1.08) rotate(-4deg); }
.qs-icon svg { width: 26px; height: 26px; stroke: var(--blue); transition: stroke .3s; }
.qs-card:hover .qs-icon svg { stroke: var(--white); }
.qs-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); margin-bottom: 8px; }
.qs-desc { font-size: .87rem; color: var(--muted); line-height: 1.62; }
.qs-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--blue);
  margin-top: 18px; transition: gap .25s;
}
.qs-card:hover .qs-arrow { gap: 10px; }
.qs-arrow svg { width: 15px; height: 15px; stroke: var(--blue); }

/* ════════════════════════════════════════════════════════════════
   CONTACT SECTION
   ════════════════════════════════════════════════════════════════ */
#contact {
  background: linear-gradient(150deg, #0a4878 0%, var(--blue) 60%, var(--blue-l) 100%);
  position: relative; overflow: hidden;
}
#contact::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.contact-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.contact-info .section-label { color: #a8deff; }
.contact-info .section-label::before { background: #a8deff; }
.contact-info .section-title { color: var(--white); }
.contact-info .section-sub { color: rgba(255,255,255,.72); max-width: 400px; }

.contact-details { margin-top: 38px; display: flex; flex-direction: column; gap: 20px; }
.cd-item {
  display: flex; gap: 16px; align-items: center;
  padding: 18px 22px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; backdrop-filter: blur(10px);
  transition: background .3s, transform .3s;
}
.cd-item:hover { background: rgba(255,255,255,.18); transform: translateX(6px); }
[dir="rtl"] .cd-item:hover { transform: translateX(-6px); }
.cd-icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cd-icon-wrap svg { width: 22px; height: 22px; stroke: var(--white); }
.cd-label { font-size: .75rem; color: rgba(255,255,255,.6); font-weight: 500; text-transform: uppercase; letter-spacing: .8px; }
.cd-value { font-size: .98rem; color: var(--white); font-weight: 500; margin-top: 2px; }

/* Contact Form */
.contact-form {
  background: var(--white); border-radius: 28px;
  padding: 44px 40px; box-shadow: 0 30px 90px rgba(0,0,0,.25);
}
.form-title {
  font-family: 'Syne', sans-serif; font-size: 1.35rem; font-weight: 800;
  color: var(--text); margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); letter-spacing: .2px; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 1.5px solid rgba(19,107,166,.15);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem; color: var(--text);
  background: var(--off); outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
[lang="ar"] .form-group input,
[lang="ar"] .form-group textarea,
[lang="ar"] .form-group select,
html[lang="ar"] .form-group input,
html[lang="ar"] .form-group textarea,
html[lang="ar"] .form-group select {
  font-family: 'Noto Kufi Arabic', sans-serif;
  direction: rtl;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(19,107,166,.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-l) 100%);
  color: var(--white); border: none; border-radius: 14px;
  font-family: 'Syne', sans-serif;
  font-size: 1rem; font-weight: 700; letter-spacing: .3px;
  cursor: pointer; transition: transform .25s, box-shadow .25s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 8px;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(19,107,166,.4); }
.form-submit:active { transform: translateY(0); }
.form-submit svg { width: 20px; height: 20px; }

/* Form success */
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; stroke: #22c55e; margin-bottom: 14px; }
.form-success h4 { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--text); }
.form-success p { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
footer {
  background: #081e30; padding: 72px 5% 36px;
  color: rgba(255,255,255,.65);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
  max-width: 1200px; margin: 0 auto;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-size: 1.7rem;
  font-weight: 800; color: var(--white); margin-bottom: 14px; display: block; text-decoration: none;
}
.footer-tagline { font-size: .9rem; line-height: 1.65; max-width: 280px; }
.footer-socials { margin-top: 24px; display: flex; gap: 12px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background .3s, border-color .3s, transform .3s;
}
.social-btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.social-btn svg { width: 18px; height: 18px; stroke: rgba(255,255,255,.7); }
.social-btn:hover svg { stroke: var(--white); }

.footer-col h5 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem; color: var(--white); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.55); text-decoration: none; font-size: .88rem;
  transition: color .2s, padding-left .2s; display: inline-block;
}
.footer-col ul li a:hover { color: var(--white); padding-left: 6px; }
[dir="rtl"] .footer-col ul li a:hover { padding-left: 0; padding-right: 6px; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: .82rem; }
.footer-bottom a { color: var(--blue-l); text-decoration: none; }
.footer-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: rgba(255,255,255,.35);
}
.footer-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 6px #22c55e; animation: pulse 2s infinite;
}

/* Back to top */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: var(--white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(19,107,166,.4);
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s, transform .3s, background .25s;
}
.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--blue-d); }
.back-top svg { width: 20px; height: 20px; }

/* ════════════════════════════════════════════════════════════════
   INNER PAGE HERO  (Software, Laser, Used, Service, Spare, Catheters, Order)
   ════════════════════════════════════════════════════════════════ */
.page-hero {
  min-height: 62vh;
  background: linear-gradient(145deg, #0a4878 0%, var(--blue) 55%, var(--blue-l) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 55px 55px;
}

/* Inner page blobs */
.ph-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .2;
  animation: blobFloat 14s ease-in-out infinite;
}
.ph-blob-1 { width: 440px; height: 440px; background: #fff; top: -120px; right: -60px; }
.ph-blob-2 { width: 300px; height: 300px; background: #a8deff; bottom: -60px; left: 8%; animation-delay: -5s; }

.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 130px 5% 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}

/* Page hero badge */
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  color: var(--white); padding: 7px 16px; border-radius: 99px;
  font-size: .78rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; backdrop-filter: blur(8px);
  margin-bottom: 22px;
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .7s .2s forwards;
}
.page-hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: #7effd6; border-radius: 50%;
  box-shadow: 0 0 7px #7effd6; animation: pulse 2s infinite;
}

.page-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800; line-height: 1.1;
  color: var(--white); letter-spacing: -1px;
  opacity: 0; transform: translateY(28px);
  animation: fadeUp .85s .35s forwards;
}
[lang="ar"] .page-hero-title, html[lang="ar"] .page-hero-title {
  font-family: 'Noto Kufi Arabic', sans-serif; letter-spacing: 0;
}
.page-hero-title em { font-style: normal; color: #a8deff; }

.page-hero-sub {
  margin-top: 18px; font-size: 1.05rem; line-height: 1.78;
  color: rgba(255,255,255,.76); font-weight: 300; max-width: 460px;
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .8s .5s forwards;
}

/* Stats row in page heroes */
.hero-stats-row {
  display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s .7s forwards;
}
.hs-stat { border-left: 2px solid rgba(255,255,255,.25); padding-left: 16px; }
[dir="rtl"] .hs-stat { border-left: none; border-right: 2px solid rgba(255,255,255,.25); padding-left: 0; padding-right: 16px; }
.hs-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.9rem; font-weight: 800; color: var(--white); line-height: 1;
}
[lang="ar"] .hs-num, html[lang="ar"] .hs-num { font-family: 'Noto Kufi Arabic', sans-serif; }
.hs-num span { color: #a8deff; }
.hs-label { font-size: .76rem; color: rgba(255,255,255,.6); margin-top: 3px; text-transform: uppercase; letter-spacing: .5px; }

/* Page hero image side */
.page-hero-visual {
  position: relative;
  opacity: 0; transform: translateX(40px);
  animation: fadeSlide .95s .5s forwards;
}
[dir="rtl"] .page-hero-visual { transform: translateX(-40px); }
@keyframes fadeSlide { to { opacity: 1; transform: translateX(0); } }

.ph-img-frame {
  border-radius: 28px; overflow: hidden;
  aspect-ratio: 4/3; position: relative;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.ph-img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; }
.ph-img-frame:hover img { transform: scale(1.04); }
.ph-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(19,107,166,.25) 0%, transparent 60%);
}

/* Floating badge on image */
.ph-float-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--white); border-radius: 18px; padding: 16px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  display: flex; align-items: center; gap: 14px;
  animation: floatY 6s ease-in-out infinite;
}
[dir="rtl"] .ph-float-badge { right: auto; left: -20px; }

.pfb-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-xl);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pfb-icon svg { width: 22px; height: 22px; stroke: var(--blue); }
.pfb-num {
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800;
  color: var(--blue); line-height: 1;
}
[lang="ar"] .pfb-num, html[lang="ar"] .pfb-num { font-family: 'Noto Kufi Arabic', sans-serif; }
.pfb-lbl { font-size: .72rem; color: var(--muted); margin-top: 2px; }

/* Corner decoration */
.ph-deco-corner {
  position: absolute; width: 100px; height: 100px;
  border: 3px solid rgba(255,255,255,.2); border-radius: 22px;
  left: -14px; top: -14px;
}
[dir="rtl"] .ph-deco-corner { left: auto; right: -14px; }

/* ════════════════════════════════════════════════════════════════
   PAGE BODY (content below inner page hero)
   ════════════════════════════════════════════════════════════════ */
.page-body { padding: 100px 5%; background: var(--white); }

/* ── Features Grid ─────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  margin-top: 56px;
}
.feature-card {
  background: var(--off); border-radius: 22px; padding: 32px 28px;
  border: 1px solid rgba(19,107,166,.07);
  display: flex; gap: 20px; align-items: flex-start;
  transition: transform .35s, box-shadow .35s, border-color .35s;
  opacity: 0; transform: translateY(30px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(19,107,166,.15); }

.fc-icon-wrap {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--blue-xl); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, transform .3s;
}
.feature-card:hover .fc-icon-wrap { background: var(--blue); transform: scale(1.08) rotate(-4deg); }
.fc-icon-wrap svg { width: 24px; height: 24px; stroke: var(--blue); transition: stroke .3s; }
.feature-card:hover .fc-icon-wrap svg { stroke: var(--white); }
.fc-text h4 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--text); margin-bottom: 7px;
}
[lang="ar"] .fc-text h4, html[lang="ar"] .fc-text h4 { font-family: 'Noto Kufi Arabic', sans-serif; }
.fc-text p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ── Description Block ─────────────────────────────────────── */
.desc-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; margin-top: 80px;
}
.desc-body {
  font-size: 1.04rem; color: var(--text); line-height: 1.82;
  font-weight: 300; margin-top: 20px;
}
.desc-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px; padding: 14px 32px;
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  color: var(--white); border-radius: 99px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.desc-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(19,107,166,.38); }
.desc-cta svg { width: 18px; height: 18px; }

.desc-image {
  border-radius: 28px; overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow); position: relative;
}
.desc-image img { width: 100%; height: 100%; object-fit: cover; }
.desc-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(19,107,166,.15), transparent 60%);
}

/* ════════════════════════════════════════════════════════════════
   TECH STRIP (Software page)
   ════════════════════════════════════════════════════════════════ */
.tech-strip { background: var(--off); padding: 50px 5%; overflow: hidden; }
.tech-strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center;
}
.tech-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 99px;
  background: var(--white); border: 1px solid rgba(19,107,166,.1);
  font-size: .84rem; font-weight: 600; color: var(--text);
  box-shadow: 0 4px 16px rgba(19,107,166,.06);
  transition: all .3s;
}
.tech-chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.tech-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════════
   COUNTER / STATS SECTION (Software, Laser pages)
   ════════════════════════════════════════════════════════════════ */
.counter-section {
  background: linear-gradient(135deg, var(--blue-d), var(--blue));
  padding: 80px 5%;
}
.counter-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  text-align: center;
}
.counter-num {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem; font-weight: 800; color: var(--white); line-height: 1;
}
[lang="ar"] .counter-num, html[lang="ar"] .counter-num { font-family: 'Noto Kufi Arabic', sans-serif; }
.counter-num span { color: #a8deff; }
.counter-label { font-size: .9rem; color: rgba(255,255,255,.65); margin-top: 8px; text-transform: uppercase; letter-spacing: 1px; }

/* ════════════════════════════════════════════════════════════════
   APPLICATIONS GRID (Laser page)
   ════════════════════════════════════════════════════════════════ */
.applications-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 56px;
}
.app-card {
  border-radius: 22px; overflow: hidden;
  position: relative; aspect-ratio: 3/4; cursor: pointer;
  transition: transform .4s, box-shadow .4s;
}
.app-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(19,107,166,.25); }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.app-card:hover img { transform: scale(1.07); }
.app-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,72,120,.9) 0%, rgba(10,72,120,.2) 60%, transparent 100%);
}
.app-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 20px; }
.app-card-title {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--white); margin-bottom: 5px;
}
[lang="ar"] .app-card-title, html[lang="ar"] .app-card-title { font-family: 'Noto Kufi Arabic', sans-serif; }
.app-card-sub { font-size: .78rem; color: rgba(255,255,255,.7); }

/* ════════════════════════════════════════════════════════════════
   PROCESS TIMELINE (Service page)
   ════════════════════════════════════════════════════════════════ */
.process-timeline { position: relative; margin-top: 80px; padding-bottom: 40px; }
.process-timeline::before {
  content: '';
  position: absolute; left: 28px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--blue-l), transparent);
}
[dir="rtl"] .process-timeline::before { left: auto; right: 28px; }

.pt-step {
  display: flex; gap: 28px; align-items: flex-start;
  padding-bottom: 44px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[dir="rtl"] .pt-step { flex-direction: row-reverse; }
.pt-step.visible { opacity: 1; transform: translateY(0); }

.pt-num {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); color: var(--white);
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(19,107,166,.12);
  position: relative; z-index: 1;
}
[lang="ar"] .pt-num, html[lang="ar"] .pt-num { font-family: 'Noto Kufi Arabic', sans-serif; }

.pt-content {
  background: var(--off); border-radius: 20px; padding: 26px 28px;
  flex: 1; border: 1px solid rgba(19,107,166,.07);
  transition: box-shadow .3s, transform .3s;
}
.pt-content:hover { box-shadow: var(--shadow); transform: translateX(6px); }
[dir="rtl"] .pt-content:hover { transform: translateX(-6px); }
.pt-title {
  font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
[lang="ar"] .pt-title, html[lang="ar"] .pt-title { font-family: 'Noto Kufi Arabic', sans-serif; }
.pt-desc { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════════
   ORDER PAGE
   ════════════════════════════════════════════════════════════════ */
.order-section {
  padding: 0 5% 100px; background: var(--off);
  position: relative; overflow: hidden;
}
.order-section::before {
  content: '';
  position: absolute; right: -200px; top: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--blue-xl) 0%, transparent 70%);
  pointer-events: none;
}
.order-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px;
  align-items: start; padding-top: 80px;
}
.order-benefits { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.ob-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: 16px;
  background: var(--white); border: 1px solid rgba(19,107,166,.08);
  transition: transform .3s, box-shadow .3s;
}
.ob-item:hover { transform: translateX(5px); box-shadow: var(--shadow); }
[dir="rtl"] .ob-item:hover { transform: translateX(-5px); }
.ob-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--blue-xl);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.ob-icon svg { width: 20px; height: 20px; stroke: var(--blue); }
.ob-title { font-weight: 600; font-size: .92rem; color: var(--text); margin-bottom: 3px; }
.ob-desc { font-size: .82rem; color: var(--muted); line-height: 1.5; }

.order-form-card {
  background: var(--white); border-radius: 28px; padding: 48px 42px;
  box-shadow: 0 20px 70px rgba(19,107,166,.1);
  border: 1px solid rgba(19,107,166,.07);
}
.form-card-title {
  font-family: 'Syne', sans-serif; font-size: 1.45rem; font-weight: 800;
  color: var(--text); margin-bottom: 30px;
}
[lang="ar"] .form-card-title, html[lang="ar"] .form-card-title { font-family: 'Noto Kufi Arabic', sans-serif; }

/* Order success state */
.form-success .fs-check {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(34,197,94,.1); margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.form-success .fs-check svg { width: 36px; height: 36px; stroke: #22c55e; margin: 0; }
.form-success h4 { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--text); }
[lang="ar"] .form-success h4, html[lang="ar"] .form-success h4 { font-family: 'Noto Kufi Arabic', sans-serif; }

/* ════════════════════════════════════════════════════════════════
   KEYFRAMES
   ════════════════════════════════════════════════════════════════ */
@keyframes fadeUp   { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeRight{ to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn   { to { opacity: 1; } }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid         { grid-template-columns: repeat(2, 1fr); }
  .qs-grid               { grid-template-columns: repeat(2, 1fr); }
  .footer-grid           { grid-template-columns: 1fr 1fr; }
  .counter-grid          { grid-template-columns: 1fr 1fr; }
  .applications-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* Navbar */
  .nav-links             { display: none; }
  .hamburger             { display: flex; }

  /* Heroes */
  .hero-inner,
  .home-hero-inner       { grid-template-columns: 1fr; text-align: center; padding-top: 140px; }
  .hero-sub              { margin: 16px auto 0; }
  .hero-actions          { justify-content: center; }
  .hero-stats            { justify-content: center; }
  .hero-visual           { display: none; }

  .page-hero-inner       { grid-template-columns: 1fr; text-align: center; padding-top: 120px; gap: 40px; }
  .page-hero-sub         { margin: 14px auto 0; }
  .hero-stats-row        { justify-content: center; }
  .page-hero-visual      { display: none; }
  [dir="rtl"] .page-hero-inner { text-align: center; }
  [dir="rtl"] .section-label  { justify-content: center; }

  /* Sections */
  .about-grid            { grid-template-columns: 1fr; }
  .contact-inner         { grid-template-columns: 1fr; }
  .contact-form          { padding: 32px 24px; }
  .services-grid         { grid-template-columns: 1fr; }
  .features-grid         { grid-template-columns: 1fr; }
  .desc-block            { grid-template-columns: 1fr; gap: 40px; }
  .order-grid            { grid-template-columns: 1fr; gap: 40px; }
  .order-form-card       { padding: 32px 24px; }
}

@media (max-width: 768px) {
  .form-row              { grid-template-columns: 1fr; }
  .applications-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .qs-grid               { grid-template-columns: 1fr; }
  .counter-grid          { grid-template-columns: 1fr; }
  .applications-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  section                { padding: 80px 5%; }
  .footer-grid           { grid-template-columns: 1fr; }
  .footer-bottom         { flex-direction: column; text-align: center; }
  .about-stat-cards      { grid-template-columns: 1fr 1fr; }
  .page-hero-inner       { padding-top: 100px; }
}

.img-service{
  width: 60px;
  height: 60px;
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE  —  Split-screen portal selector
═══════════════════════════════════════════════════════════ */

body.landing-body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #050d1a;
  font-family: 'Syne', sans-serif;
  height: 100vh;
  width: 100vw;
}

/* Canvas — full-screen neural particle background */
#landing-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Top header bar ─────────────────────────────── */
.lb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  background: linear-gradient(to bottom, rgba(5,13,26,0.7) 0%, transparent 100%);
}

.lb-logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.lb-logo-mark:hover { opacity: 1; }

.lb-lang {
  display: flex;
  gap: 6px;
}
.lb-lang-item {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.lb-lang-item:hover, .lb-lang-item.active {
  color: white;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
}

/* ── Split container ─────────────────────────────── */
.lb-split {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100vw;
  height: 100vh;
}

/* ── Individual panels ─────────────────────────────── */
.lb-panel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: flex 0.95s cubic-bezier(0.76, 0, 0.24, 1);
}

.lb-split:hover .lb-panel:not(:hover) { flex: 0.38; }
.lb-split:hover .lb-panel:hover       { flex: 1.62; }

/* Medical — deep navy/blue */
.lb-medical {
  background: linear-gradient(145deg, #030b18 0%, #0a2550 55%, #0e4880 100%);
}
/* Energy — deep green/teal */
.lb-energy {
  background: linear-gradient(145deg, #030d06 0%, #072618 55%, #0c5232 100%);
}

/* Radial cursor-follow glow (JS sets --mx/--my) */
.lb-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--glow-col, rgba(0,0,0,0)) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.lb-medical { --glow-col: rgba(19,107,166,0.28); }
.lb-energy  { --glow-col: rgba(16,185,129,0.28); }
.lb-panel:hover::after { opacity: 1; }

/* Animated blobs */
.lb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  pointer-events: none;
  animation: lb-blob-float 10s ease-in-out infinite;
  transition: opacity 0.6s ease;
}
.lb-panel:hover .lb-blob { opacity: 0.18; }

.lb-medical .lb-blob-1 { width:320px; height:320px; background:#136ba6; top:15%;  left:15%;  animation-delay:0s; }
.lb-medical .lb-blob-2 { width:220px; height:220px; background:#00b4f0; bottom:20%; right:15%; animation-delay:4s; }
.lb-energy  .lb-blob-1 { width:320px; height:320px; background:#10b981; top:15%;  right:15%; animation-delay:2s; }
.lb-energy  .lb-blob-2 { width:220px; height:220px; background:#f59e0b; bottom:20%; left:15%;  animation-delay:6s; }

@keyframes lb-blob-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(20px,-22px) scale(1.06); }
  66%      { transform: translate(-16px,14px) scale(0.94); }
}

/* Grid overlay pattern */
.lb-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

/* Decorative ring behind icon */
.lb-deco-ring {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  transition: transform 0.9s cubic-bezier(0.34,1.56,0.64,1), opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
}
.lb-panel:hover .lb-deco-ring {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Corner label */
.lb-corner-label {
  position: absolute;
  bottom: 28px;
  left: 32px;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: 'Syne', sans-serif;
  transition: color 0.5s ease;
}
[dir="rtl"] .lb-corner-label { left: auto; right: 32px; }
.lb-panel:hover .lb-corner-label { color: rgba(255,255,255,0.07); }

/* ── Panel content ─────────────────────────────── */
.lb-panel-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 40px 60px;
  max-width: 480px;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.lb-panel:hover .lb-panel-content { transform: translateY(-6px); }

/* Icon */
.lb-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

.lb-icon {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}
.lb-icon-medical {
  background: rgba(19,107,166,0.15);
  border: 1px solid rgba(168,222,255,0.18);
  box-shadow: 0 0 0 0 rgba(19,107,166,0);
}
.lb-icon-energy {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(110,231,183,0.18);
  box-shadow: 0 0 0 0 rgba(16,185,129,0);
}
.lb-medical:hover .lb-icon-medical {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 24px 60px rgba(19,107,166,0.5), 0 0 80px rgba(19,107,166,0.2);
}
.lb-energy:hover .lb-icon-energy {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 24px 60px rgba(16,185,129,0.5), 0 0 80px rgba(16,185,129,0.2);
}

/* Pulse ring around icon */
.lb-icon-pulse {
  position: absolute;
  inset: -14px;
  border-radius: 40px;
  border: 1px solid transparent;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.5s ease;
  animation: lb-icon-ring 2.5s ease-in-out infinite;
  animation-play-state: paused;
}
.lb-icon-pulse-medical { border-color: rgba(168,222,255,0.25); }
.lb-icon-pulse-energy  { border-color: rgba(110,231,183,0.25); }
.lb-panel:hover .lb-icon-pulse {
  opacity: 1;
  transform: scale(1);
  animation-play-state: running;
}
@keyframes lb-icon-ring {
  0%,100% { transform: scale(1);    opacity: 0.4; }
  50%      { transform: scale(1.1); opacity: 0;   }
}

/* Eyebrow */
.lb-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 10px;
  transition: color 0.4s ease;
}
.lb-panel:hover .lb-eyebrow { color: rgba(255,255,255,0.6); }

/* Main title */
.lb-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 14px;
  color: white;
  font-style: normal;
}
.lb-highlight { font-style: normal; display: block; }
.lb-highlight-medical { color: #7ec8f5; }
.lb-highlight-energy  { color: #6ee7b7; }

/* Description */
.lb-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin: 0 0 36px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  transition: color 0.4s ease;
}
.lb-panel:hover .lb-desc { color: rgba(255,255,255,0.7); }

/* CTA button */
.lb-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease 0.05s, transform 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.05s, box-shadow 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(10px);
}
.lb-panel:hover .lb-cta {
  opacity: 1;
  transform: translateY(0);
}
.lb-cta-medical {
  background: rgba(19,107,166,0.2);
  color: #a8deff;
  border: 1px solid rgba(168,222,255,0.25);
}
.lb-cta-medical:hover {
  background: rgba(19,107,166,0.35);
  box-shadow: 0 8px 32px rgba(19,107,166,0.35);
}
.lb-cta-energy {
  background: rgba(16,185,129,0.2);
  color: #6ee7b7;
  border: 1px solid rgba(110,231,183,0.25);
}
.lb-cta-energy:hover {
  background: rgba(16,185,129,0.35);
  box-shadow: 0 8px 32px rgba(16,185,129,0.35);
}

/* ── Center divider ─────────────────────────────── */
.lb-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 0.5px);
  width: 1px;
  z-index: 10;
  pointer-events: none;
}
[dir="rtl"] .lb-divider { left: auto; right: calc(50% - 0.5px); }
.lb-divider-glow {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,0.12) 20%,
    rgba(255,255,255,0.2)  50%,
    rgba(255,255,255,0.12) 80%,
    transparent 100%
  );
}

/* ── Bottom hint ─────────────────────────────────── */
.lb-hint {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  font-family: 'DM Sans', sans-serif;
  animation: lb-hint-pulse 3.5s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes lb-hint-pulse {
  0%,100% { opacity: 0.25; }
  50%      { opacity: 0.55; }
}

/* ── Mobile layout ─────────────────────────────── */
@media (max-width: 768px) {
  body.landing-body { overflow: auto; height: auto; min-height: 100vh; }
  .lb-split {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  .lb-panel {
    flex: none;
    height: 50vh;
    min-height: 300px;
  }
  .lb-split:hover .lb-panel:not(:hover),
  .lb-split:hover .lb-panel:hover { flex: none; }
  .lb-panel-content { padding: 32px 24px; }
  .lb-divider { display: none; }
  .lb-cta { opacity: 1; transform: translateY(0); }
  .lb-icon { width: 72px; height: 72px; }
  .lb-title { font-size: 1.9rem; }
  .lb-corner-label { font-size: 2.5rem; }
  .lb-hint { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   ENERGY PAGE  —  Video hero + tab content
═══════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────── */
.en-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Animated CSS gradient fallback */
.en-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #030d06, #072618, #0c4a28, #136ba6, #0c4a28, #030d06);
  background-size: 400% 400%;
  animation: en-gradient 14s ease infinite;
}
@keyframes en-gradient {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.en-hero-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  z-index: 1;
}

.en-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(3,13,6,0.78) 0%,
    rgba(7,38,24,0.65) 50%,
    rgba(3,13,6,0.82) 100%
  );
}

.en-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.en-hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  color: white;
  padding: 0 5%;
  max-width: 860px;
}

/* Badge */
.en-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 22px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.28);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 28px;
}
.en-badge-dot {
  width: 7px; height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Title */
.en-hero-title {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 20px;
  animation: fadeUp 0.9s ease 0.15s both;
}
.en-hero-highlight {
  background: linear-gradient(135deg, #34d399, #6ee7b7, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* Description */
.en-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
  animation: fadeUp 0.9s ease 0.3s both;
}

/* Scroll indicator */
.en-scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  animation: fadeIn 1s ease 1s both;
}
.en-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(110,231,183,0.7), transparent);
  animation: en-scroll-line 2.2s ease-in-out infinite;
}
@keyframes en-scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── Tab section ─────────────────────────────────── */
.en-tabs-section {
  padding: 90px 5% 0;
  background: var(--off, #f5fafd);
}

.en-tabs-header {
  text-align: center;
  margin-bottom: 52px;
}
.en-tabs-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--text, #1a2533);
  margin: 0 0 14px;
}
.en-tabs-header p {
  color: var(--muted, #5e7a91);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.en-tabs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}

/* Tab card base */
.en-tab-card {
  position: relative;
  padding: 44px 36px;
  border-radius: 26px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
  color: white;
  border: 2px solid transparent;
  user-select: none;
}
.en-tab-card:focus { outline: 2px solid rgba(255,255,255,0.4); outline-offset: 3px; }

.en-tab-power {
  background: linear-gradient(135deg, #0a2d5e, #1260aa);
}
.en-tab-clean {
  background: linear-gradient(135deg, #064e3b, #0d9e6a);
}

.en-tab-card:hover, .en-tab-card.active {
  transform: translateY(-8px);
}
.en-tab-power:hover, .en-tab-power.active {
  box-shadow: 0 28px 70px rgba(19,107,166,0.42);
  border-color: rgba(168,222,255,0.18);
}
.en-tab-clean:hover, .en-tab-clean.active {
  box-shadow: 0 28px 70px rgba(16,185,129,0.38);
  border-color: rgba(110,231,183,0.18);
}

/* Shimmer overlay on active */
.en-tab-card::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.en-tab-card:hover::before, .en-tab-card.active::before { opacity: 1; }

.en-tab-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.en-tab-card:hover .en-tab-icon, .en-tab-card.active .en-tab-icon {
  transform: scale(1.12);
}

.en-tab-num {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  font-family: 'Syne', sans-serif;
  line-height: 1;
  transition: color 0.4s ease;
}
[dir="rtl"] .en-tab-num { right: auto; left: 24px; }
.en-tab-card:hover .en-tab-num, .en-tab-card.active .en-tab-num { color: rgba(255,255,255,0.1); }

.en-tab-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0 0 10px;
}
.en-tab-desc {
  font-size: 0.87rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin: 0 0 26px;
}
.en-tab-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: gap 0.3s ease, color 0.3s ease;
}
.en-tab-card:hover .en-tab-cta, .en-tab-card.active .en-tab-cta {
  gap: 14px;
  color: rgba(255,255,255,0.9);
}

/* Active indicator bar */
.en-tab-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 0 0 24px 24px;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.en-tab-power .en-tab-bar { background: rgba(168,222,255,0.6); }
.en-tab-clean .en-tab-bar { background: rgba(110,231,183,0.6); }
.en-tab-card.active .en-tab-bar { transform: scaleX(1); }

/* ── Content area ─────────────────────────────────── */
.en-content-area {
  padding: 0 5% 100px;
  background: var(--off, #f5fafd);
}

.en-section {
  display: none;
  animation: en-reveal 0.65s cubic-bezier(0.34,1.56,0.64,1) both;
}
.en-section.active { display: block; }

@keyframes en-reveal {
  from { opacity: 0; transform: translateY(48px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Section header */
.en-section-header {
  text-align: center;
  padding: 64px 0 52px;
}
.en-section-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.en-badge-power { background: rgba(19,107,166,0.1);  color: #136ba6; }
.en-badge-clean { background: rgba(16,185,129,0.1);  color: #059669; }

.en-section-header h3 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  color: var(--text, #1a2533);
  margin: 0 0 16px;
}
.en-section-header p {
  color: var(--muted, #5e7a91);
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Photo grid */
.en-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}

.en-photo-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(19,107,166,0.08);
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
  cursor: pointer;
}
.en-photo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(19,107,166,0.16);
}

.en-photo-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.en-photo-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}
.en-photo-card:hover .en-photo-img img { transform: scale(1.1); }

/* Overlay on photo hover */
.en-photo-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}
.en-overlay-power { background: rgba(19,107,166,0.52); }
.en-overlay-clean { background: rgba(16,185,129,0.52); }
.en-photo-card:hover .en-photo-overlay { opacity: 1; }

/* Tag chip on photo */
.en-photo-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}
[dir="rtl"] .en-photo-tag { left: auto; right: 12px; }
.en-tag-power { background: rgba(19,107,166,0.85); color: #a8deff; }
.en-tag-clean { background: rgba(16,185,129,0.85); color: #d1fae5; }

.en-photo-info { padding: 24px; }
.en-photo-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text, #1a2533);
  margin: 0 0 9px;
}
.en-photo-info p {
  font-size: 0.87rem;
  color: var(--muted, #5e7a91);
  line-height: 1.65;
  margin: 0;
}

/* Feature strips */
.en-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.en-feature {
  padding: 30px 26px;
  border-radius: 18px;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.en-section-power .en-feature {
  background: rgba(19,107,166,0.05);
  border: 1px solid rgba(19,107,166,0.1);
}
.en-section-clean .en-feature {
  background: rgba(16,185,129,0.05);
  border: 1px solid rgba(16,185,129,0.1);
}
.en-feature:hover { transform: translateY(-6px); }
.en-section-power .en-feature:hover { box-shadow: 0 14px 40px rgba(19,107,166,0.12); }
.en-section-clean .en-feature:hover { box-shadow: 0 14px 40px rgba(16,185,129,0.12); }

.en-feature-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.en-fi-power { background: rgba(19,107,166,0.1); color: #136ba6; }
.en-fi-clean { background: rgba(16,185,129,0.1); color: #059669; }

.en-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #1a2533);
  margin: 0 0 9px;
}
.en-feature p {
  font-size: 0.85rem;
  color: var(--muted, #5e7a91);
  line-height: 1.65;
  margin: 0;
}

/* ── Energy page responsive ─────────────────────── */
@media (max-width: 900px) {
  .en-tabs-grid    { grid-template-columns: 1fr; }
  .en-photo-grid   { grid-template-columns: repeat(2, 1fr); }
  .en-features     { grid-template-columns: 1fr; }
  .en-hero-title   { font-size: clamp(2rem, 7vw, 3.2rem); }
}
@media (max-width: 580px) {
  .en-photo-grid   { grid-template-columns: 1fr; }
  .en-tabs-section { padding-top: 60px; }
  .en-tab-card     { padding: 32px 24px; }
}

/* ═══════════════════════════════════════════════════════════
   LANDING PANEL VIDEO BACKGROUNDS
═══════════════════════════════════════════════════════════ */

.lb-panel-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  transition: opacity 0.8s ease;
}
.lb-panel:hover .lb-panel-video { opacity: 0.62; }

/* Colored tint overlay on top of video */
.lb-panel-video-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.lb-medical-tint {
  background: linear-gradient(145deg,
    rgba(3,11,24,0.78) 0%,
    rgba(10,37,80,0.68) 55%,
    rgba(14,72,128,0.58) 100%
  );
}


/* Lift all panel children above video + tint */
.lb-blob         { z-index: 2; }
.lb-grid-overlay { z-index: 2; }
.lb-deco-ring    { z-index: 2; }
.lb-panel-content { z-index: 5; }
.lb-corner-label  { z-index: 2; }
.lb-panel::after  { z-index: 3; }

/* ═══════════════════════════════════════════════════════════
   ENERGY PAGE — MINI TOPBAR
═══════════════════════════════════════════════════════════ */

.en-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.en-topbar.en-topbar-solid {
  background: rgba(5,13,26,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  padding: 12px 36px;
}

.en-tb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.en-tb-logo:hover { opacity: 1; }

.en-tb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.en-tb-link, .en-tb-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}
.en-tb-link {
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.1);
}
.en-tb-link:hover {
  color: white;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
.en-tb-portal {
  color: #6ee7b7;
  border: 1px solid rgba(110,231,183,0.25);
  background: rgba(110,231,183,0.08);
}
.en-tb-portal:hover {
  background: rgba(110,231,183,0.18);
  border-color: rgba(110,231,183,0.4);
}
.en-tb-lang {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.en-tb-lang:hover, .en-tb-lang.en-tb-lang-active {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}

/* Hero padding-top to clear the topbar */
.en-hero { padding-top: 0; }

/* ═══════════════════════════════════════════════════════════
   ENERGY PAGE — CONTENT COMPONENTS
═══════════════════════════════════════════════════════════ */

/* ── Company Overview ─────────────────────────────── */
.ec-overview {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
  padding: 0 0 52px;
  border-bottom: 1px solid rgba(19,107,166,0.1);
  margin-bottom: 60px;
}
.en-section-clean .ec-overview { border-color: rgba(16,185,129,0.1); }

.ec-overview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.ec-tag {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.ec-tag-loc {
  background: rgba(19,107,166,0.08);
  color: #136ba6;
  border: 1px solid rgba(19,107,166,0.15);
}
.ec-tag-ind {
  background: rgba(19,107,166,0.05);
  color: #5e7a91;
  border: 1px solid rgba(19,107,166,0.1);
}
.ec-tag-clean-pill {
  background: rgba(16,185,129,0.08);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.15);
}

.ec-overview-text h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
}
.ec-overview-text p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 14px;
  font-size: 0.95rem;
}

.ec-overview-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.ec-pillar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(19,107,166,0.06);
  border: 1px solid rgba(19,107,166,0.12);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.ec-pillar-clean {
  background: rgba(16,185,129,0.06);
  border-color: rgba(16,185,129,0.12);
}

.ec-overview-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.ec-overview-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.ec-overview-photo:hover img { transform: scale(1.04); }

.ec-photo-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(19,107,166,0.85);
  color: white;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.ec-photo-badge-clean { background: rgba(16,185,129,0.85); }

/* ── Block header ─────────────────────────────────── */
.ec-block-header {
  text-align: center;
  margin-bottom: 40px;
}
.ec-block-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ec-badge-power { background: rgba(19,107,166,0.1); color: #136ba6; }
.ec-badge-clean { background: rgba(16,185,129,0.1); color: #059669; }

.ec-block-header h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
}
.ec-block-header p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Core Services ─────────────────────────────────── */
.ec-services-wrap { margin-bottom: 64px; }
.ec-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ec-service-card {
  background: white;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(19,107,166,0.07);
  border: 1px solid rgba(19,107,166,0.08);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}
.ec-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(19,107,166,0.14);
}

.ec-service-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(19,107,166,0.07);
  position: absolute;
  top: 16px; right: 24px;
  font-family: 'Syne', sans-serif;
  line-height: 1;
}
[dir="rtl"] .ec-service-num { right: auto; left: 24px; }

.ec-service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ec-si-power { background: rgba(19,107,166,0.1); color: #136ba6; }

.ec-service-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.ec-service-card > p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0 0 18px;
}
.ec-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ec-service-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text);
  padding: 8px 12px;
  background: rgba(19,107,166,0.04);
  border-radius: 10px;
  border-left: 3px solid rgba(19,107,166,0.25);
}
[dir="rtl"] .ec-service-list li { border-left: none; border-right: 3px solid rgba(19,107,166,0.25); }
.ec-service-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #136ba6;
  flex-shrink: 0;
}

/* ── Products Grid ─────────────────────────────────── */
.ec-products-wrap { margin-bottom: 64px; }
.ec-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ec-product-card {
  background: white;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 6px 24px rgba(19,107,166,0.07);
  border: 1px solid rgba(19,107,166,0.08);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}
.ec-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(19,107,166,0.14);
}

.ec-product-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.ec-pi-power { background: rgba(19,107,166,0.1); color: #136ba6; }

.ec-product-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.3;
}
.ec-product-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ec-product-card ul li {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.5;
}
.ec-product-card ul li::before {
  content: '—';
  color: #136ba6;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Industries Served ─────────────────────────────── */
.ec-industries-wrap { margin-bottom: 64px; }
.ec-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.ec-industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
}
.ec-it-power {
  background: rgba(19,107,166,0.06);
  border: 1px solid rgba(19,107,166,0.12);
}
.ec-it-power:hover {
  background: rgba(19,107,166,0.12);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(19,107,166,0.12);
}
.ec-it-power svg { color: #136ba6; }

/* ── Mission & Vision ─────────────────────────────── */
.ec-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 64px;
}
.ec-mv-card {
  padding: 36px 32px;
  border-radius: 22px;
  color: white;
  position: relative;
  overflow: hidden;
}
.ec-mv-mission  { background: linear-gradient(135deg, #0a2d5e, #136ba6); }
.ec-mv-vision   { background: linear-gradient(135deg, #1260aa, #0a2d5e); }
.ec-mv-mission-clean { background: linear-gradient(135deg, #064e3b, #10b981); }
.ec-mv-vision-clean  { background: linear-gradient(135deg, #0d9e6a, #064e3b); }

.ec-mv-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.ec-mv-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ec-mv-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: white;
}
.ec-mv-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}
.ec-mv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ec-mv-list li {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.ec-mv-list li::before {
  content: '✦';
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Technology Cards ─────────────────────────────── */
.ec-tech-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 64px;
}

.ec-tech-card {
  background: white;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.1);
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.ec-tech-card:hover {
  box-shadow: 0 24px 64px rgba(16,185,129,0.16);
  transform: translateY(-4px);
}

.ec-tech-header {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 200px;
}

.ec-tech-thumb {
  position: relative;
  overflow: hidden;
}
.ec-tech-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.ec-tech-card:hover .ec-tech-thumb img { transform: scale(1.07); }

/* Color overlays on technology card images */
.ec-th-solar .ec-tech-thumb::after { content:''; position:absolute; inset:0; background: linear-gradient(135deg, rgba(245,158,11,0.35), rgba(16,185,129,0.25)); }
.ec-th-wind  .ec-tech-thumb::after { content:''; position:absolute; inset:0; background: linear-gradient(135deg, rgba(59,130,246,0.35), rgba(16,185,129,0.25)); }
.ec-th-hydro .ec-tech-thumb::after { content:''; position:absolute; inset:0; background: linear-gradient(135deg, rgba(6,182,212,0.35), rgba(16,185,129,0.25)); }

.ec-tech-header-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(16,185,129,0.08);
}
.ec-tech-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.ec-th-solar .ec-tech-icon-wrap { background: linear-gradient(135deg, #f59e0b, #10b981); }
.ec-th-wind  .ec-tech-icon-wrap { background: linear-gradient(135deg, #3b82f6, #10b981); }
.ec-th-hydro .ec-tech-icon-wrap { background: linear-gradient(135deg, #06b6d4, #10b981); }

.ec-tech-header-content h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
}
.ec-tech-header-content p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

.ec-tech-body { padding: 28px 32px; }
.ec-tech-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ec-tech-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #059669;
  margin: 0 0 14px;
}
.ec-tech-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ec-tech-col ul li {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ec-tech-col ul li::before {
  content: '›';
  color: #10b981;
  font-size: 1.1rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.ec-benefits-list li {
  align-items: center !important;
}
.ec-benefit-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ec-bd-solar { background: #f59e0b; }
.ec-bd-wind  { background: #3b82f6; }
.ec-bd-hydro { background: #06b6d4; }
.ec-benefits-list li::before { display: none !important; }

/* ── Core Services Grid ─────────────────────────────── */
.ec-core-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.ec-core-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: rgba(16,185,129,0.05);
  border: 1px solid rgba(16,185,129,0.1);
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  transition: all 0.35s ease;
}
.ec-core-item:hover {
  background: rgba(16,185,129,0.1);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(16,185,129,0.12);
}
.ec-core-item svg { flex-shrink: 0; margin-top: 1px; }

/* ── Why Choose + Contact ─────────────────────────── */
.ec-why-contact {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  margin-bottom: 40px;
  align-items: start;
}
.ec-why-card {
  background: white;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 8px 32px rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.1);
}
.ec-why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ec-why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ec-why-icon {
  width: 32px; height: 32px;
  background: rgba(16,185,129,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.ec-why-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.ec-why-item p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.ec-contact-card {
  background: linear-gradient(145deg, #064e3b, #0d9e6a);
  border-radius: 24px;
  padding: 36px 32px;
  color: white;
  position: relative;
  overflow: hidden;
}
.ec-contact-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.ec-contact-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ec-contact-card h4 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: white;
}
.ec-contact-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0 0 24px;
}
.ec-contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ec-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}
.ec-contact-item:hover {
  background: rgba(255,255,255,0.2);
  transform: translateX(4px);
}
[dir="rtl"] .ec-contact-item:hover { transform: translateX(-4px); }

/* ── Responsive for energy content ─────────────────── */
@media (max-width: 1100px) {
  .ec-products-grid { grid-template-columns: repeat(2, 1fr); }
  .ec-core-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ec-overview        { grid-template-columns: 1fr; }
  .ec-overview-photo  { max-width: 480px; margin: 0 auto; }
  .ec-services-grid   { grid-template-columns: 1fr; }
  .ec-mv-grid         { grid-template-columns: 1fr; }
  .ec-tech-header     { grid-template-columns: 1fr; }
  .ec-tech-thumb      { height: 200px; }
  .ec-tech-cols       { grid-template-columns: 1fr; }
  .ec-why-contact     { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .ec-products-grid   { grid-template-columns: 1fr; }
  .ec-core-grid       { grid-template-columns: 1fr; }
  .en-topbar          { padding: 14px 20px; }
  .en-tb-logo span    { display: none; }
  .en-tb-lang         { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS — global overrides
   ════════════════════════════════════════════════════════════════ */

/* ── 1. Hide custom cursor on touch devices ─────────────────── */
@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none !important; }
}

/* ── 2. Section padding (between 480px–768px was unchanged) ─── */
@media (max-width: 768px) {
  section          { padding: 80px 5%; }
  .page-body       { padding: 70px 5%; }
  .quick-services  { padding: 70px 5%; }
  footer           { padding: 56px 5% 28px; }
  .footer-grid     { gap: 28px; }
}

/* ── 3. Navbar logo – very small screens ────────────────────── */
@media (max-width: 380px) {
  .nav-logo { font-size: 1.15rem; }
}

/* ── 4. Mobile menu – scrollable + smaller text ─────────────── */
@media (max-width: 900px) {
  .mobile-menu {
    overflow-y: auto;
    padding: 80px 20px 40px;
    gap: 4px;
    justify-content: flex-start;
    align-items: center;
  }
  .mobile-menu a {
    font-size: 1.4rem;
    padding: 10px 28px;
  }
  .mobile-lang { margin-top: 16px; }
}

/* ── 5. Hero inner – small padding on phones ─────────────────── */
@media (max-width: 480px) {
  .hero-inner,
  .home-hero-inner { padding: 110px 4% 60px; }
  .page-hero-inner { padding: 100px 4% 60px; }
}

/* ── 6. Hero action buttons – compact on small screens ───────── */
@media (max-width: 480px) {
  .btn-primary,
  .btn-outline  { padding: 13px 24px; font-size: .92rem; }
  .hero-actions { gap: 10px; }
}

/* ── 7. Hero stats (old style) on phones ─────────────────────── */
@media (max-width: 480px) {
  .hero-stats    { gap: 16px; }
  .stat          { padding-left: 12px; }
  [dir="rtl"] .stat { padding-right: 12px; }
  .stat-num      { font-size: 1.6rem; }
}

/* ── 8. Glass stats bar (hero-stats-v2) on tablets ──────────── */
@media (max-width: 768px) {
  .hero-stats-v2 {
    gap: 24px;
    padding: 16px 22px;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-around;
  }
  .hero-stats-v2 .stat { padding-left: 20px; }
  [dir="rtl"] .hero-stats-v2 .stat { padding-right: 20px; padding-left: 0; }
}

/* Glass stats bar – stack vertically on phones */
@media (max-width: 480px) {
  .hero-stats-v2 {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 20px;
  }
  .hero-stats-v2 .stat {
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,.18);
    padding-left: 0;
    padding-bottom: 12px;
    width: 100%;
  }
  .hero-stats-v2 .stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  [dir="rtl"] .hero-stats-v2 .stat {
    border-right: none;
    border-left: none;
    padding-right: 0;
  }
}

/* ── 9. Hide floating deco cards & overlapping ornaments ──────── */
@media (max-width: 900px) {
  .float-card    { display: none; }
  .ph-float-badge { display: none; }
  .ph-deco-corner { display: none; }
  .about-deco,
  .about-accent  { display: none; }
  .scroll-hint   { display: none; }
}

/* ── 10. Section label + sub centered on mobile ──────────────── */
@media (max-width: 900px) {
  .section-label { justify-content: center; }
  .section-sub   { text-align: center; margin-left: auto; margin-right: auto; }
}

/* ── 11. About section alignment on mobile ───────────────────── */
@media (max-width: 900px) {
  .about-image-wrap { max-width: 420px; margin: 0 auto; }
  .about-stat-cards { max-width: 420px; margin: 28px auto 0; }
  .about-features   { max-width: 540px; margin: 30px auto 0; }
}

/* ── 12. Hero stats row on inner pages ───────────────────────── */
@media (max-width: 480px) {
  .hero-stats-row { gap: 14px; flex-wrap: wrap; }
  .hs-num         { font-size: 1.5rem; }
}

/* ── 13. Contact form padding on phones ──────────────────────── */
@media (max-width: 480px) {
  .contact-form { padding: 28px 18px; border-radius: 18px; }
}

/* ── 14. RTL back-to-top & WhatsApp button position ─────────── */
[dir="rtl"] .back-top { right: auto; left: 28px; }

/* ── 15. Landing page – extra small screens ──────────────────── */
@media (max-width: 480px) {
  .lb-panel       { height: 45vh; min-height: 250px; }
  .lb-title       { font-size: 1.55rem; }
  .lb-icon        { width: 60px; height: 60px; }
  .lb-header      { padding: 16px 18px; }
  .lb-logo-mark   { font-size: .75rem; }
}

/* ── 16. Energy hero & tabs on phones ────────────────────────── */
@media (max-width: 580px) {
  .en-tabs-section { padding: 60px 4% 0; }
  .ec-why-card,
  .ec-contact-card { padding: 24px 20px; }
  .ec-service-card,
  .ec-mv-card      { padding: 28px 22px; }
}

/* ── 17. Services grid single column below 600px ─────────────── */
@media (max-width: 600px) {
  .qs-grid         { grid-template-columns: 1fr; }
  .services-grid   { grid-template-columns: 1fr; }
}

/* ── 18. Tech strip wrap properly on mobile ──────────────────── */
@media (max-width: 600px) {
  .tech-strip-inner { gap: 10px; }
  .tech-chip        { font-size: .78rem; padding: 8px 14px; }
}

/* ── 19. Counter section numbers on phones ───────────────────── */
@media (max-width: 480px) {
  .counter-num { font-size: 2.6rem; }
}

/* ── 20. Applications grid – keep 2 col until 480px ─────────── */
@media (max-width: 480px) {
  .applications-grid { grid-template-columns: 1fr; }
}

/* ── 21. Order form on mobile ────────────────────────────────── */
@media (max-width: 480px) {
  .order-form-card { padding: 28px 18px; border-radius: 18px; }
}

/* ── 22. Features grid – 1 col on mobile ────────────────────── */
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .desc-block    { gap: 32px; }
}

/* ── 23. Ensure no horizontal overflow anywhere ──────────────── */
.hero-inner,
.home-hero-inner,
.page-hero-inner,
.hero-stats-v2,
.contact-inner,
.about-grid,
.services-grid,
.qs-grid,
.footer-grid {
  min-width: 0;
}

