:root {
  --navy: #112e57;
  --navy-mid: #112654;
  --blue: #1a4a8a;
  --accent: #00c6ff;
  --accent2: #6366f1;
  --neon-magenta: #ff00ff;
  --neon-lime: #39ff14;
  --neon-violet: #8a2be2;
  --neon-orange: #ff9500;
  --gold: #f0c040;
  --text: #e8eaf0;
  --muted: #8298c6;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border: rgba(0,198,255,0.15);
  --purple: #8b5cf6;
  --blue-gradient: #1e3a8a;
  --shadow-outer: rgba(139,92,246,0.6);
  --shadow-mid: rgba(0,198,255,0.5);
  --shadow-inner: rgba(99,102,241,0.2);
  --shadow-glow: rgba(0,114,255,0.15);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100vw; overflow-x: hidden; }
body { font-family: 'Cairo', sans-serif; background: var(--navy); color: var(--text); overflow-x: hidden; }
body.ltr { direction: ltr; text-align: left; font-family: 'Syne', sans-serif; }
body.ltr p, body.ltr li, body.ltr small { font-family: 'Cairo', sans-serif; font-weight: 400; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: rgba(3,10,67,0); }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--purple), var(--blue-gradient)); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(to bottom, #a855f7, #3b82f6); }
#bg-canvas { display: block; position: fixed; inset: 0; z-index: -1; background: var(--navy); overflow: hidden; }
.neon-grid { position: absolute; inset: 0; background-size: 50px 50px; background-image: linear-gradient(rgba(139,92,246,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(59,130,246,0.02) 1px, transparent 1px); animation: gridMove 20s linear infinite; }
@keyframes gridMove { 0% { transform: translate(0,0); } 100% { transform: translate(50px,50px); } }
.neon-lines { position: absolute; inset: 0; background: radial-gradient(ellipse 30% 20% at 20% 40%, rgba(139,92,246,0.12) 0%, transparent 50%), radial-gradient(ellipse 20% 30% at 80% 80%, rgba(59,130,246,0.10) 0%, transparent 50%), conic-gradient(from 0deg at 30% 60%, rgba(139,92,246,0.06), rgba(59,130,246,0.06), transparent 50%); animation: neonWave 12s ease-in-out infinite alternate; }
@keyframes neonWave { 0% { opacity:0.35; transform:scale(1) rotate(0deg); filter:hue-rotate(0deg) brightness(1); } 100% { opacity:0.6; transform:scale(1.05) rotate(0.5deg); filter:hue-rotate(60deg) brightness(1.15); } }
.neon-scan { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(139,92,246,0.08), transparent); animation: scanLine 4s linear infinite; transform: rotate(45deg); height: 2px; }
@keyframes scanLine { 0% { transform: translateX(-200%) translateY(-200%) rotate(45deg); opacity:0; } 50% { opacity:1; } 100% { transform: translateX(200%) translateY(200%) rotate(45deg); opacity:0; } }
.neon-particle { position: absolute; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent); animation: floatParticle 6s ease-in-out infinite; }
.neon-particle:nth-child(odd) { background:var(--neon-magenta); box-shadow:0 0 8px var(--neon-magenta); animation-duration:8s; }
.neon-particle:nth-child(3n) { background:var(--neon-lime); box-shadow:0 0 8px var(--neon-lime); animation-delay:-2s; }
.neon-particle:nth-child(4n) { background:var(--neon-violet); box-shadow:0 0 8px var(--neon-violet); animation-duration:7s; }
@keyframes floatParticle { 0%,100% { transform:translateY(0) scale(1); opacity:0.6; } 50% { transform:translateY(-20px) scale(1.2); opacity:1; } }
.connection-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform-origin: left center; opacity: 0.22; transition: all 0.3s; }
.code-rain { position: absolute; font-family: 'Courier New', monospace; font-size: 12px; color: var(--accent); text-shadow: 0 0 5px currentColor; animation: codeFall 10s linear infinite; white-space: nowrap; }
.code-rain:nth-child(odd) { color:var(--neon-magenta); animation-duration:12s; }
.code-rain:nth-child(3n) { color:var(--neon-lime); animation-delay:-3s; }
@keyframes codeFall { 0% { transform:translateY(-100vh) rotate(-2deg); opacity:0; } 10% { opacity:1; } 90% { opacity:1; } 100% { transform:translateY(100vh) rotate(2deg); opacity:0; } }
.prog-shape { position: absolute; font-size: 24px; font-family: 'Courier New', monospace; opacity: 0.1; animation: morphShape 15s ease-in-out infinite; }
@keyframes morphShape { 0%,100% { transform:scale(1) rotate(0deg); } 25% { transform:scale(1.1) rotate(90deg); } 50% { transform:scale(0.9) rotate(180deg); } 75% { transform:scale(1.2) rotate(270deg); } }
.neon-grid::before, .neon-grid::after { content:''; position:absolute; top:0; left:0; right:0; bottom:0; background: linear-gradient(45deg, transparent 49%, rgba(0,198,255,0.04) 50%, transparent 51%); animation: gridDash 3s linear infinite; }
.neon-grid::after { animation-delay:-1.5s; }
@keyframes gridDash { 0% { transform:translateX(-100%); } 100% { transform:translateX(100%); } }
/* NAVBAR */
#navbar { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 999; padding: 18px 0; transition: all 0.4s ease; background: transparent; box-sizing: border-box; }
#navbar.scrolled { background: rgba(10,22,40,0.95); backdrop-filter: blur(12px); padding: 12px 0; border-bottom: 1px solid var(--border); }
#navbar .container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
#navbar .d-flex.justify-content-between { flex-wrap: nowrap; align-items: center; gap: 8px; }
.brand-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.7rem; letter-spacing: -1px; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; flex-shrink: 0; }
.nav-link-custom { color: var(--muted) !important; font-weight: 600; font-size: 0.86rem; padding: 5px 12px !important; transition: color 0.3s; text-decoration: none; white-space: nowrap; }

.nav-link-custom:hover { color: var(--accent) !important; }
.lang-btn { border: 1px solid var(--accent); color: var(--accent); background: transparent; padding: 6px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: all 0.3s; font-family: 'Syne', sans-serif; white-space: nowrap; flex-shrink: 0; }
.lang-btn:hover { background: var(--accent); color: var(--navy); }
.navbar-toggler-custom { background: none; border: 1px solid var(--border); padding: 8px 12px; border-radius: 8px; cursor: pointer; flex-shrink: 0; transition: border-color 0.3s; }
.navbar-toggler-custom:hover { border-color: var(--accent); }
.navbar-toggler-custom span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; transition: background 0.3s; }
.navbar-toggler-custom:hover span { background: var(--accent); }
#mobile-menu { display: none; background: rgba(10,22,40,0.98); backdrop-filter: blur(16px); border-radius: 12px; border: 1px solid var(--border); padding: 12px 16px; margin-top: 10px; width: 100%; box-sizing: border-box; }
body:not(.ltr) #mobile-menu { text-align: right; }
body.ltr #mobile-menu { text-align: left; }
#mobile-menu .nav-link-custom { display: block; padding: 10px 8px !important; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.95rem; }
#mobile-menu .nav-link-custom:last-child { border-bottom: none; }
/* HERO */
#hero { min-height: 100vh; 
  display: flex;
   align-items: center; 
  padding-top: 100px; 
  position: relative; 
  overflow: hidden; 
  background: radial-gradient(ellipse 80% 50% at 20% 30%, #6d28d9 0%, transparent 50%), radial-gradient(ellipse 60% 40% at 80% 70%, #4c1d95 0%, transparent 50%), radial-gradient(ellipse 50% 30% at 40% 80%, #1e40af 0%, transparent 50%), radial-gradient(ellipse 40% 25% at 60% 60%, #0c2d57 0%, transparent 50%), linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); 
  background-size: 200% 200%, 180% 180%, 150% 150%, 120% 120%, 100% 100%; 
  animation: gradientShift 8s ease-in-out infinite; }
@keyframes gradientShift { 
  0% { background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%; } 
  25% { background-position: 50% 50%, 50% 50%, 100% 100%, 0% 0%; } 
  50% { background-position: 100% 0%, 0% 100%, 50% 50%, 0% 0%; } 
  75% { background-position: 50% 50%, 50% 50%, 0% 0%, 0% 0%; }
   100% { background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%; } }

.hero-tag { display: inline-block; 
  background: rgba(0,198,255,0.08); 
  border: 1px solid rgba(0,198,255,0.25);
   color: var(--accent); 
   text-shadow: 0 0 10px rgba(0,198,255,0.25); 
   padding: 6px 18px;
    border-radius: 50px;
     font-size: 0.8rem; 
     font-weight: 700; 
     letter-spacing: 2px;
      text-transform: uppercase; 
      margin-bottom: 24px; }
.hero-title { 
  font-family: 'Syne', sans-serif; 
  font-size: clamp(2.4rem, 5vw, 4rem); 
  font-weight: 800; 
  line-height: 1.1; 
  margin-bottom: 24px; }
body:not(.ltr) .hero-title { 
  font-family: 'Cairo', sans-serif;
   font-size: clamp(2.4rem, 5vw, 4.2rem); }
.hero-title .highlight { 
  background: linear-gradient(135deg, var(--accent), var(--accent2)); 
  -webkit-background-clip: text;
   -webkit-text-fill-color: transparent; 
   background-clip: text; }
.hero-sub { 
  font-size: 1.1rem;
   color: var(--muted);
    line-height: 1.9; 
    max-width: 560px; 
    margin-bottom: 40px; }

.btn-primary-custom { 
  background: linear-gradient(135deg, var(--accent2), var(--accent)); 
  color: white;
   border: none; 
  padding: 14px 36px; 
  border-radius: 50px;
   font-weight: 700;
    font-size: 1rem; 
    text-decoration: none; 
    display: inline-block; 
    transition: all 0.3s; 
    box-shadow: 0 8px 32px rgba(0,114,255,0.35);
    cursor: pointer; }
.btn-primary-custom:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,114,255,0.5); color: white; }
.btn-outline-custom { border: 1px solid var(--border); color: var(--text); padding: 14px 36px; border-radius: 50px; font-weight: 600; font-size: 1rem; text-decoration: none; display: inline-block; transition: all 0.3s; margin-inline-start: 14px; }
.btn-outline-custom:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual { position: relative; perspective: 1200px; transform-style: preserve-3d; height: 100%; margin-top: 30px; }
.hero-img-wrapper { position: relative; transform-style: preserve-3d; border-radius: 24px; overflow: visible; transition: transform 0.1s ease-out; animation: frameRotate 10s ease-in-out infinite; box-shadow: 0 40px 120px rgba(109,40,217,0.7), 0 20px 60px rgba(76,29,149,0.6), 0 8px 32px rgba(59,130,246,0.5), 0 0 60px rgba(30,64,175,0.4); }
@keyframes frameRotate { 0%,100% { filter: brightness(1) drop-shadow(0 0 20px rgba(109,40,217,0.5)); } 50% { filter: brightness(1.1) drop-shadow(0 0 30px rgba(59,130,246,0.6)); } }
.hero-img-wrapper::after { content:''; position:absolute; inset:10px; border-radius:20px; background: linear-gradient(135deg, rgba(59,130,246,0.22), rgba(109,40,217,0.14)); animation: subtleGlow 8s ease-in-out infinite; opacity:0.25; mix-blend-mode: normal; }
@keyframes subtleGlow { 0%,100% { opacity:0.20; filter:brightness(1); } 50% { opacity:0.30; filter:brightness(1.05); } }
.hero-img-wrapper img { width: 100%; display: block; z-index: 2; position: relative; border-radius: 20px; box-shadow: 0 0 20px rgba(109,40,217,0.8), 0 0 40px rgba(109,40,217,0.6), 0 0 60px rgba(59,130,246,0.5), inset 0 0 20px rgba(139,92,246,0.3); transition: transform 0.3s ease-out; animation: floatImage 10s ease-in-out infinite; }
@keyframes floatImage { 0%,100% { transform:translateY(0) rotateX(0deg) rotateY(0deg); } 33% { transform:translateY(-10px) rotateX(2deg) rotateY(-1deg); } 66% { transform:translateY(-5px) rotateX(-1deg) rotateY(2deg); } }

.stats-row { display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--accent); display: block; }
.stat-label { font-size: 0.8rem; color: var(--muted); }
/* SECTIONS */
section { padding: 100px 0; position: relative; }
section::before { content:''; position:absolute; top:0; inset-inline-start:0; width:2px; height:100%; background: linear-gradient(to bottom, transparent 0%, var(--accent) 50%, transparent 100%); animation: lineMove 3s ease-in-out infinite; }
@keyframes lineMove { 0%,100% { opacity:0.3; transform:translateY(-20px); } 50% { opacity:0.8; transform:translateY(20px); } }
.section-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block; }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
body:not(.ltr) .section-title { font-family: 'Cairo', sans-serif; }
.section-desc { color:var(--muted); line-height:1.9; max-width:600px; }
.divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--accent), transparent); margin-bottom: 24px; border-radius: 2px; }
body.ltr .divider { background: linear-gradient(90deg, var(--accent), transparent); }
body:not(.ltr) .divider { background: linear-gradient(270deg, var(--accent), transparent); }
/* ABOUT */
#about { background: rgba(0, 0, 0, 0.5); }
.feature-list { list-style:none; padding:0; margin-top:32px; }
.feature-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.95rem; color: var(--text); }
.feature-list li:last-child { border-bottom:none; }
.feature-list .icon { width:34px; height:34px; background: rgba(0,198,255,0.1); border-radius: 8px; display: flex; align-items:center; justify-content:center; color: var(--accent); flex-shrink: 0; font-size: 0.85rem; }
.tech-frame { position: relative; display: inline-block; width: 100%; max-width: 500px; }
.tech-frame img { width: 100%; height: auto; max-height: 400px; object-fit: cover; border-radius: 24px; display: block; border: 2px solid #00c6ff; box-shadow: 0 0 20px rgba(0,198,255,0.8), inset 0 1px 0 rgba(255,255,255,0.1); animation: floatImageSlow 3s ease-in-out infinite, imageGlow 2s ease-in-out infinite alternate; }
@keyframes floatImageSlow { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes imageGlow { 0% { box-shadow:0 0 20px rgba(0,198,255,0.8), inset 0 1px 0 rgba(255,255,255,0.1); } 100% { box-shadow:0 0 30px rgba(0,198,255,1), inset 0 1px 0 rgba(255,255,255,0.2); } }
.tech-badge { position: absolute; background: rgba(0,0,0,0.3); color: #00c6ff; font-size: 0.75rem; font-weight: 700; padding: 6px 12px; border: 2px solid #00c6ff; border-radius: 12px; box-shadow: 0 0 20px rgba(0,198,255,0.8); z-index: 10; white-space: nowrap; transform: translate(-50%, -50%); animation: badgeGlow 2s ease-in-out infinite alternate; }
@keyframes badgeGlow { 0% { box-shadow:0 0 20px rgba(0,198,255,0.8); } 100% { box-shadow:0 0 30px rgba(0,198,255,1); } }
.tech-badge.left { left:-10px; }
.tech-badge.right { right:-10px; }
.founding-badge { position: absolute; bottom: -10px; left: 10px; background: #0a1628f8; color: #0d6efd; padding: 12px 20px; border: 2px solid #fff; border-radius: 16px; font-weight: 800; z-index: 10; box-shadow: 0 10px 30px rgba(0,0,0,0.7); }
/* SERVICES */
#services { background: var(--navy-mid); }
.service-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; height: 100%; transition: all 0.4s ease; position: relative; overflow: hidden; }
.service-card::before { content:''; position:absolute; top:0; inset-inline-start:0; inset-inline-end:0; height:2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity:0; transition: opacity 0.4s; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(0,198,255,0.35); background: rgba(0,198,255,0.05); }
.service-card:hover::before { opacity:1; }
.service-icon { width:60px; height:60px; background: linear-gradient(135deg, rgba(0,114,255,0.2), rgba(0,198,255,0.1)); border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:1.6rem; color:var(--accent); margin-bottom:24px; border:1px solid rgba(0,198,255,0.2); }
.service-title { font-weight:700; font-size:1.15rem; margin-bottom:12px; color:white; }
.service-desc { color:var(--muted); font-size:0.9rem; line-height:1.8; }
/* ERP */
#erp { background: rgba(0, 0, 0, 0.5); }
.erp-item { background:linear-gradient( #134f977d,rgba(41, 29, 138, 0.188)); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; display: flex; align-items: center; gap: 14px; transition: all 0.3s; }
.erp-item:hover { border-color: var(--accent); background: rgba(0,198,255,0.05); transform: translateX(-4px); }
body.ltr .erp-item:hover { transform: translateX(4px); }
.erp-dot { width:10px; height:10px; background: var(--accent); border-radius:50%; flex-shrink:0; box-shadow: 0 0 10px var(--accent); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.2); opacity:0.7; } }
.erp-label { font-size:0.9rem; font-weight:600; }
.erp-grid {
  display: grid;
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: column;
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 575px) {
  .erp-grid {
    grid-template-rows: unset;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
}
/* WHY US */
#why { background: var(--navy-mid); }
.why-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 32px; height: 100%; transition: all 0.4s; }
.why-card:hover { border-color: rgba(0,198,255,0.4); transform: translateY(-6px); }
.why-num { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800; color: rgba(0,198,255,0.15); line-height: 1; margin-bottom: 16px; display: block; }
.why-title { font-weight:700; font-size:1.05rem; margin-bottom:10px; color:white; }
.why-desc { font-size:0.88rem; color:var(--muted); line-height:1.8; }
/* CLIENTS */
#clients { background: rgba(0, 0, 0, 0.5); }
.clients-slider-section {
  position: relative;
  margin-top: 48px;
}

.clients-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  pointer-events: none; 
  padding: 0 10px;
  z-index: 5;
}

.clients-arrow {
  width: 42px;
  height: 42px;
  margin-top: 0;
  pointer-events: auto; 

  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--accent);
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.clients-arrow:hover {
  background: linear-gradient(to bottom, rgba(139, 90, 245, 0.258), rgb(53, 95, 249));
  border-color: var(--accent);
  transform: scale(1.08);
}
.clients-arrow:active { transform: scale(0.95); }

.clients-scroll-wrapper {
  overflow: hidden;
  cursor: grab;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  padding: 8px 0 16px;
  user-select: none;
}
.clients-scroll-wrapper.is-dragging { cursor: grabbing; }

.clients-track {
  display: flex;
  gap: 16px;
  width: max-content;
  transition: none;
  will-change: transform;
}


.client-card {
  flex-shrink: 0;
  width: 160px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s, transform 0.2s;
  pointer-events: none;
}
.clients-scroll-wrapper:not(.is-dragging) .client-card { pointer-events: auto; }
.client-card:hover {
  border-color: rgba(0,198,255,0.4);
  transform: translateY(-4px);
}

/* ── اللوجو أو الحرف الأول ── */
.client-logo {
  width: 56px; height: 56px;

  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.client-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.client-logo.is-fallback {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  border: 1px solid;
}

/* ── اسم الشركة ── */
.client-card-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  direction: rtl;
}
.client-name-en{
  direction: ltr;
  unicode-bidi: embed;
  text-align: center;
}
.client-flag {
  margin-top: 10px;
  display: block;
  line-height: 1;
  text-align: center;
 
}
.client-flag-img {
  width: 50px;
  object-fit: cover;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
}
#logo-showcase{
  position:relative;
  padding:70px 0;
  overflow:hidden;
  background: url('../images/8.jpg') center/cover no-repeat;
  
}

.logo-stage{
  position:relative;
  z-index:2;
}

.logo-3d{
  perspective:1200px;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:25px;
}

.logo-3d img{
  width:340px;
  max-width:85%;

  transform-style:preserve-3d;
  animation:spin3d 6s linear infinite;

  filter: drop-shadow(0 25px 50px rgba(0,198,255,0.35));
}


@keyframes spin3d{
  0%{
    transform:rotateY(0deg) rotateX(10deg);
  }
  100%{
    transform:rotateY(360deg) rotateX(10deg);
  }
}
.logo-title{
  font-size:2.3rem;
  font-weight:800;
  color: rgb(8, 16, 46) ;
}

.logo-sub{
  color:rgba(255,255,255,0.65);
  margin-top:10px;
}

/* TESTIMONIALS */
#testimonials { background: rgba(0, 0, 0, 0.5); }

.testimonial-card {
   background: linear-gradient(to bottom, rgb(73, 102, 153), rgb(19, 43, 130));

  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; inset-inline-start: 0; inset-inline-end: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,198,255,0.35);
  background: rgba(0,198,255,0.04);
}
.testimonial-card:hover::before { opacity: 1; }

.t-service-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  background: rgba(0,198,255,0.08);
  color: var(--accent);
  border: 1px solid rgba(0,198,255,0.2);
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.t-quote {
  font-size: 48px;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -10px;
  font-family: Georgia, serif;
}
.t-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
  flex: 1;
}
.t-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 3px; }
.t-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
}
.t-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  flex-shrink: 0;
}
.t-name { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.t-company { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }


/* CONTACT */
#contact { background: var(--navy-mid); }

.contact-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 24px; padding: 40px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-icon-wrap { width:48px; height:48px; background: rgba(0,198,255,0.1); border-radius:12px; display:flex; align-items:center; justify-content:center; color:var(--accent); flex-shrink:0; font-size:1.1rem; border:1px solid rgba(0,198,255,0.2); }
.contact-label { font-size:0.78rem; color:var(--muted); margin-bottom:4px; }
.contact-value { font-weight:600; font-size:0.95rem; color:var(--text); word-break:break-all; }
.contact-value a { color:var(--accent); text-decoration:none; }
.contact-value a:hover { text-decoration:underline; }

.form-control-custom { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 12px; color: var(--text); padding: 14px 18px; width: 100%; font-family: 'Cairo', sans-serif; font-size: 0.9rem; transition: border-color 0.3s; outline: none; }
.form-control-custom::placeholder { color:var(--muted); }
.form-control-custom:focus { border-color:var(--accent); }
.form-control-custom.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.10);
}
.form-control-custom.is-valid {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.10);
}
.form-group { margin-bottom:16px; }
.invalid-feedback {
  font-size: 0.8rem;
  color: #f87171;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  animation: fadeInErr 0.2s ease;
}
.invalid-feedback::before {
  content: "⚠";
  font-size: 0.75rem;
  flex-shrink: 0;
}
@keyframes fadeInErr {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 
   PHONE INPUT — كود الدولة + رقم الهاتف*/


.phone-field-wrapper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  overflow: visible;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.phone-field-wrapper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,198,255,0.12);
}
.phone-field-wrapper.is-valid {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}
.phone-field-wrapper.is-invalid-phone {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}


.phone-field-wrapper {
  direction: ltr !important;
}


.phone-dial-section {

  position: relative;
  flex-shrink: 0;
  order: 1;
}
.phone-dial-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px 0 14px;
  height: 100%;
  min-height: 50px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  border-right: 1px solid var(--border);
  border-radius: 11px 0 0 11px;
  transition: background 0.2s;
  white-space: nowrap;
}
.phone-dial-btn:hover { background: rgba(0,198,255,0.07); }

.phone-flag { font-size: 19px; line-height: 1; }
.phone-dial-code {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.5px;
  min-width: 32px;
}
.phone-chevron {
  width: 13px; height: 13px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.phone-dial-btn[aria-expanded="true"] .phone-chevron {
  transform: rotate(180deg);
}

.phone-number-section {
  flex: 1;
  min-width: 0;
  order: 2;
}
.phone-number-input {
  width: 100%;
  height: 100%;
  min-height: 50px;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  padding: 0 14px;
  outline: none;
  direction: ltr;
  text-align: left;
  letter-spacing: 0.5px;
  border-radius: 0 11px 11px 0;
}
.phone-number-input::placeholder { color: var(--muted); font-size: 0.88rem; }

/* ── Dropdown ── */
.phone-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: 300px;
  background: #0d1e38;
  border: 1px solid rgba(0,198,255,0.25);
  border-radius: 14px;
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}
.phone-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}
.phone-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--text);
  font-family: 'Cairo', sans-serif;
  outline: none;
}
.phone-search-input::placeholder { color: var(--muted); }
.phone-country-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 5px;
}
.phone-country-list::-webkit-scrollbar { width: 4px; }
.phone-country-list::-webkit-scrollbar-thumb { background: rgba(0,198,255,0.2); border-radius: 4px; }
.phone-country-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  transition: background 0.15s;
}
.phone-country-item:hover { background: rgba(0,198,255,0.08); }
.phone-country-item.active { background: rgba(0,198,255,0.12); color: var(--accent); }
.phone-country-item .ci-flag { font-size: 17px; flex-shrink: 0; }
.phone-country-item .ci-name { flex: 1; font-weight: 500; font-size: 12.5px; }
.phone-country-item .ci-en { font-size: 11px; color: var(--muted); }
.phone-country-item.active .ci-en { color: rgba(0,198,255,0.6); }
.phone-country-item .ci-dial { font-size: 12px; font-weight: 700; color: var(--accent); direction: ltr; flex-shrink: 0; }
.phone-no-results { padding: 18px; text-align: center; font-size: 13px; color: var(--muted); }

/* ── فاصل قبل "أخرى" ── */
.phone-list-divider {
  height: 1px;
  background: rgba(0,198,255,0.12);
  margin: 4px 10px;
}

.phone-country-item.other-item {
  color: var(--muted);
  font-style: italic;
}
.phone-country-item.other-item:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.phone-country-item.other-item.active { background: rgba(0,198,255,0.08); color: var(--accent); font-style: normal; }

/* ── Footer: hint + counter ── */
.phone-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; min-height: 18px; }
.phone-hint { font-size: 12px; color: var(--muted); transition: color 0.2s; }
.phone-hint.ok { color: #22c55e; }
.phone-hint.err { color: #ef4444; }
.phone-counter { font-size: 12px; color: var(--muted); }
.phone-counter.full { color: #22c55e; font-weight: 600; }
.phone-counter.over { color: #ef4444; font-weight: 600; }


/* FOOTER */
footer { background: rgba(0, 0, 0, 0.5); border-top: 1px solid var(--border); padding: 32px 0; text-align: center; color: var(--muted); font-size: 0.85rem; }
.footer-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.footer-content .brand-logo { font-size:1.3rem !important; }
.footer-content p { color:var(--muted); font-size:0.85rem; }

/* Social Icons (Footer) */
.footer-social {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-top:14px;
}

.footer-social .social-icon {
  width:50px;
  border-radius:50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,198,255);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: all 0.25s ease;
}

.footer-social .social-icon img {
  width:30px;
  object-fit:contain;
  opacity:0.92;
}

.footer-social .social-icon:hover {
  transform: translateY(-3px);
  border-color: rgba(0,198,255,0.35);
  box-shadow: 0 10px 30px rgba(0,198,255,0.12);
  background: rgb(0, 129, 164);
}

body.ltr .footer-social { direction:ltr; }
body:not(.ltr) .footer-social { direction:rtl; }

/* FADE ANIMATION */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }

/* 
 HEX 3D WIDGET
 */
.hex3d-wrapper { position: relative; width: 100%; height: 160px; margin-top: 30px; display: flex; align-items: center; justify-content: center; overflow: visible; }
.hex3d-scene { position: relative; width: 120px; height: 120px; transform-style: preserve-3d; animation: hexRotate 8s linear infinite; }
@keyframes hexRotate { 0% { transform: rotateX(25deg) rotateY(0deg) rotateZ(0deg); } 100% { transform: rotateX(25deg) rotateY(360deg) rotateZ(0deg); } }
.hex-face { position: absolute; top: 0; left: 0; width: 120px; height: 120px; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background: transparent; }
.hex-front { background: rgba(139,92,246,0.08); transform: translateZ(30px); outline: 2px solid rgba(139,92,246,0.7); box-shadow: 0 0 15px rgba(139,92,246,0.5), 0 0 30px rgba(139,92,246,0.3), inset 0 0 20px rgba(139,92,246,0.1); animation: hexFacePulse 3s ease-in-out infinite; }
.hex-back { background: rgba(0,114,255,0.06); transform: translateZ(-30px) rotateY(180deg); outline: 2px solid rgba(0,198,255,0.5); box-shadow: 0 0 12px rgba(0,198,255,0.4), inset 0 0 15px rgba(0,198,255,0.08); }
@keyframes hexFacePulse { 0%,100% { box-shadow: 0 0 15px rgba(139,92,246,0.5), 0 0 30px rgba(139,92,246,0.3), inset 0 0 20px rgba(139,92,246,0.1); } 50% { box-shadow: 0 0 25px rgba(139,92,246,0.8), 0 0 50px rgba(139,92,246,0.5), inset 0 0 30px rgba(139,92,246,0.2); } }
.hex-side { position: absolute; background: transparent; clip-path: none; width: 60px; height: 2px; top: 50%; left: 50%; transform-origin: left center; transform-style: preserve-3d; }
.hex-side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(139,92,246,0.8), rgba(0,198,255,0.8)); box-shadow: 0 0 6px rgba(139,92,246,0.8), 0 0 12px rgba(0,198,255,0.5); animation: edgePulse 3s ease-in-out infinite; }
@keyframes edgePulse { 0%,100% { opacity:0.7; } 50% { opacity:1; } }
.hex-side-1 { transform: translateZ(30px) rotate(0deg) rotateX(-90deg); }
.hex-side-2 { transform: translateZ(30px) rotate(60deg) rotateX(-90deg); }
.hex-side-3 { transform: translateZ(30px) rotate(120deg) rotateX(-90deg); }
.hex-side-4 { transform: translateZ(30px) rotate(180deg) rotateX(-90deg); }
.hex-side-5 { transform: translateZ(30px) rotate(240deg) rotateX(-90deg); }
.hex-side-6 { transform: translateZ(30px) rotate(300deg) rotateX(-90deg); }
.hex-vertex { position: absolute; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent), 0 0 16px var(--accent), 0 0 24px rgba(0,198,255,0.5); animation: vertexPulse 2s ease-in-out infinite; transform: translateZ(30px); }
.hex-v1 { top: -4px; left: 56px; animation-delay:0s; }
.hex-v2 { top: 25px; left:107px; animation-delay:0.33s; }
.hex-v3 { top: 83px; left:107px; animation-delay:0.66s; }
.hex-v4 { top:116px; left: 56px; animation-delay:1s; }
.hex-v5 { top: 83px; left:  5px; animation-delay:1.33s; }
.hex-v6 { top: 25px; left:  5px; animation-delay:1.66s; }
@keyframes vertexPulse { 0%,100% { transform:translateZ(30px) scale(1); opacity:0.8; } 50% { transform:translateZ(30px) scale(1.4); opacity:1; box-shadow:0 0 12px var(--accent),0 0 24px var(--accent),0 0 40px rgba(0,198,255,0.8); } }
.hex-core { position: absolute; top:50%; left:50%; width:20px; height:20px; margin:-10px; background: radial-gradient(circle, rgba(139,92,246,0.9), rgba(0,198,255,0.6), transparent); border-radius: 50%; box-shadow: 0 0 20px rgba(139,92,246,0.8), 0 0 40px rgba(0,198,255,0.6), 0 0 60px rgba(139,92,246,0.4); transform: translateZ(31px); animation: corePulse 2s ease-in-out infinite; }
@keyframes corePulse { 0%,100% { transform:translateZ(31px) scale(1); opacity:0.8; } 50% { transform:translateZ(31px) scale(1.5); opacity:1; } }
.hex-orbit { position: absolute; border-radius: 50%; animation: orbitSpin linear infinite; }
.hex-orbit::after { content:''; position:absolute; width:6px; height:6px; background:var(--accent); border-radius:50%; box-shadow:0 0 8px var(--accent),0 0 16px rgba(0,198,255,0.6); top:-3px; left:50%; margin-left:-3px; }
.hex-orbit-1 { width:180px; height:180px; top:50%; left:50%; margin:-90px; border:1px dashed rgba(139,92,246,0.2); animation-duration:6s; animation-name:orbitSpin; }
.hex-orbit-1::after { background:rgba(139,92,246,0.9); box-shadow:0 0 8px rgba(139,92,246,0.9),0 0 16px rgba(139,92,246,0.5); }
.hex-orbit-2 { width:220px; height:220px; top:50%; left:50%; margin:-110px; border:1px dashed rgba(0,198,255,0.15); animation-duration:9s; animation-name:orbitSpin; animation-direction:reverse; }
.hex-orbit-2::after { background:rgba(0,198,255,0.9); box-shadow:0 0 8px rgba(0,198,255,0.9),0 0 16px rgba(0,198,255,0.5); }
.hex-orbit-3 { width:260px; height:260px; top:50%; left:50%; margin:-130px; border:1px dashed rgba(99,102,241,0.1); animation-duration:14s; animation-name:orbitSpin; }
.hex-orbit-3::after { width:4px; height:4px; top:-2px; margin-left:-2px; background:rgba(99,102,241,0.9); box-shadow:0 0 6px rgba(99,102,241,0.9); }
@keyframes orbitSpin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* 
 RESPONSIVE
 */
@media (min-width:1200px) {
   .brand-logo { font-size:1.7rem; } 
   .nav-link-custom { font-size:0.82rem; padding:5px 10px !important; } 
   .lang-btn { font-size:0.85rem; padding:6px 18px; } 
   .hero-title { font-size:4rem; } 
   .section-title { font-size:2.8rem; } 
   .erp-grid { grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); } }

@media (min-width:992px) and (max-width:1199px) { .brand-logo { font-size:1.5rem; } .nav-link-custom { font-size:0.82rem; padding:6px 10px !important; } .lang-btn { font-size:0.8rem; padding:6px 14px; } .hero-title { font-size:3.5rem; } .section-title { font-size:2.5rem; } .erp-grid { grid-template-columns:repeat(4,1fr); } }
@media (min-width:768px) and (max-width:991px) { #navbar { padding:14px 0; } .brand-logo { font-size:1.4rem; } .lang-btn { font-size:0.8rem; padding:5px 14px; } .hero-title { font-size:3rem; } .hero-sub { font-size:1.1rem; } .section-title { font-size:2.2rem; } section { padding:80px 0; } .service-card { padding:32px 28px; } .why-card { padding:30px; } .erp-grid { grid-template-columns:repeat(3,1fr); } }
@media (min-width:576px) and (max-width:767px) {
   #navbar { padding:12px 0; } 
   .brand-logo { font-size:1.3rem; } 
   .lang-btn { font-size:0.78rem; padding:5px 14px; } 
   .hero-title { font-size:2.5rem; } 
   .hero-sub { font-size:1.05rem; } 
   .section-title { font-size:2rem; }
    section { padding:70px 0; } 
    section::before { display:none; }

    /* Hero CTA (two buttons side-by-side on responsive) */
    .hero-cta { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; align-items:center; }
    .hero-cta .btn-primary-custom,
    .hero-cta .btn-outline-custom { margin-top:0; flex:1 1 220px; }
    .btn-outline-custom { display:inline-block; text-align:center; margin-inline-start:0; }

    .stats-row { justify-content:center; }
    .service-card { padding:28px 24px; } 
    .why-card { padding:28px; } 
    .erp-grid { grid-template-columns:repeat(2,1fr); } .contact-card
     { padding:28px; }
      #mobile-menu { border-radius:10px; padding:10px 14px; }
       .neon-scan, .code-rain, .connection-line { display:none; } 
       .neon-grid { background-size:32px 32px; background-image: radial-gradient(circle, rgba(139,92,246,0.35) 1px, transparent 1px); animation: dotsPulse 6s ease-in-out infinite; opacity:0.6; } 
       .neon-grid::before, .neon-grid::after { display:none; } 
       .neon-lines { opacity:0.12; animation:none; } 
       .neon-particle { opacity:0.25; animation-duration:10s !important; } 
       .prog-shape { opacity:0.06; animation:none; } 
       .hex-orbit-1 { width:160px; height:160px; margin:-80px; } 
       .hex-orbit-2 { width:195px; height:195px; margin:-97px; } 
       .hex-orbit-3 { width:230px; height:230px; margin:-115px; } }

@media (max-width:575px) { #navbar { padding:10px 0; }
 #navbar .container { padding-left:12px; padding-right:12px; }
  .brand-logo { font-size:1.2rem; letter-spacing:-0.5px; }
  .lang-btn { font-size:0.72rem; padding:5px 12px; } 
  .navbar-toggler-custom { padding:6px 10px; }
   .navbar-toggler-custom span { width:20px; height:2px; margin:3px 0; } 
   #mobile-menu { border-radius:10px; padding:8px 12px; margin-top:10px; }
    #mobile-menu .nav-link-custom { font-size:0.9rem; padding:10px 6px !important; }
     #hero { padding-top:80px; }
      .hero-title { font-size:1.9rem; line-height:1.2; } 
      .hero-sub { font-size:0.95rem; margin-bottom:28px; } 
      .hero-tag { font-size:0.7rem; padding:5px 14px; letter-spacing:1px; } 
      .hero-visual { margin-top:20px; } 
      .btn-primary-custom { padding:12px 24px; font-size:0.9rem; } 
      #hero .row { display: flex; flex-direction: column; }
    
  #hero .col-lg-6:first-child {
    display: flex;
    flex-direction: column;
  }
 #hero .col-lg-6:first-child .hero-tag   { order:1; }
#hero .col-lg-6:first-child .hero-title { order:2; }
#hero .col-lg-6:first-child .hero-sub   { order:3; }
#hero .col-lg-6:first-child .hero-cta   { order:4; }

#hero .hero-visual {
  order:5;
}

#hero .col-lg-6:first-child .stats-row {
  order:6;
}

         #hero .hero-visual { width: 100%; }
          #hero .hero-visual { margin-top: 18px; }
           .hero-cta{display:flex;gap:12px;flex-wrap:wrap;}
            .hero-cta{flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;} 
            .hero-cta .btn-outline-custom{margin-inline-start:0;margin-top:0;display:inline-block;} 
            .hero-cta .btn-primary-custom{margin-top:0;} 
            .btn-outline-custom { padding:12px 24px; font-size:0.9rem; display:block; text-align:center; } 
            .stats-row { gap:16px; flex-direction:row; flex-wrap:wrap; justify-content:center; align-items:center; } 
            .stat-item { flex: 0 0 auto; }
             .stat-num { font-size:1.8rem; } 
             .stat-label { font-size:0.7rem; } 
             section { padding:50px 0; }
              section::before { display:none; } 
              .section-title { font-size:1.6rem; } 
              .section-desc { font-size:0.9rem; }
               .tech-frame img { max-height:280px; } 
               .tech-badge { font-size:0.6rem; padding:4px 8px; }
                .tech-badge.left { left:10px; transform:translateX(0) translateY(-50%); } 
                .tech-badge.right { right:10px; transform:translateX(0) translateY(-50%); } .founding-badge { padding:10px 16px; } .founding-badge div:first-child { font-size:1.2rem; } .founding-badge div:last-child { font-size:0.75rem; } .service-card { padding:24px 20px; } .service-icon { width:50px; height:50px; font-size:1.4rem; } .service-title { font-size:1rem; } .service-desc { font-size:0.85rem; } .erp-grid { grid-template-columns:1fr; gap:12px; } .erp-item { padding:16px 18px; } .erp-label { font-size:0.85rem; } .why-card { padding:24px; } .why-num { font-size:2.5rem; } 
                .why-title { font-size:0.95rem; } .why-desc { font-size:0.8rem; } .feature-list li { font-size:0.9rem; } .feature-list .icon { width:30px; height:30px; font-size:0.8rem; } .contact-card { padding:24px 20px; } .contact-info-item { margin-bottom:16px; } .contact-label { font-size:0.85rem; } .contact-value { font-size:0.9rem; } .neon-scan, .code-rain, .connection-line { display:none; } .neon-grid { background-size:32px 32px; background-image: radial-gradient(circle, rgba(139,92,246,0.35) 1px, transparent 1px); animation: dotsPulse 6s ease-in-out infinite; opacity:0.55; } .neon-grid::before, .neon-grid::after { display:none; } 
                .neon-lines { opacity:0.1; animation:none; } .neon-particle { opacity:0.2; animation-duration:10s !important; } 
                .prog-shape { opacity:0.05; animation:none; } .hex3d-wrapper { height:130px; margin-top:20px; } .hex3d-scene { width:90px; height:90px; } .hex-face { width:90px; height:90px; } .hex-front { transform:translateZ(22px); } .hex-back { transform:translateZ(-22px) rotateY(180deg); } .hex-core { transform:translateZ(23px); } .hex-side-1 { transform:translateZ(22px) rotate(0deg) rotateX(-90deg); } .hex-side-2 { transform:translateZ(22px) rotate(60deg) rotateX(-90deg); } .hex-side-3 { transform:translateZ(22px) rotate(120deg) rotateX(-90deg); } .hex-side-4 { transform:translateZ(22px) rotate(180deg) rotateX(-90deg); } .hex-side-5 { transform:translateZ(22px) rotate(240deg) rotateX(-90deg); } .hex-side-6 { transform:translateZ(22px) rotate(300deg) rotateX(-90deg); } 
                .hex-v1 { top: -4px; left:41px; } .hex-v2 { top: 18px; left:82px; } .hex-v3 { top: 63px; left:82px; } .hex-v4 { top: 86px; left:41px; } .hex-v5 { top: 63px; left: 0px; } .hex-v6 { top: 18px; left: 0px; } .hex-orbit-1 { width:140px; height:140px; margin:-70px; } .hex-orbit-2 { width:170px; height:170px; margin:-85px; } .hex-orbit-3 { width:200px; height:200px; margin:-100px; } .hero-img-wrapper::before, .hero-img-wrapper::after { animation-duration:12s; opacity:0.4; } }
@media (max-width:360px) { .brand-logo { font-size:1.05rem; } .lang-btn { font-size:0.68rem; padding:4px 10px; } .navbar-toggler-custom { padding:5px 8px; } .navbar-toggler-custom span { width:18px; } .hero-title { font-size:1.65rem; } .hero-sub { font-size:0.88rem; } .section-title { font-size:1.4rem; } #mobile-menu .nav-link-custom { font-size:0.85rem; } }

@keyframes dotsPulse { 0%,100% { opacity:0.5; background-size:32px 32px; } 50% { opacity:0.7; background-size:33px 33px; } }
@media (prefers-reduced-motion: reduce) { .hex3d-scene, .hex-orbit, .hex-vertex, .hex-core, .hex-face, .hex-front { animation:none !important; } }

@media (max-width: 768px) {
  #bg-canvas { display: none; }
  body { background-color: #0a0f1c; background-image: linear-gradient(rgba(0,198,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,198,255,0.08) 1px, transparent 1px); background-size: 40px 40px; position: relative; overflow-x: hidden; }
  body::before { content: ""; position: fixed; width: 100%; height: 100%; background-image: radial-gradient(circle, rgba(0,198,255,0.4) 2px, transparent 2px); background-size: 80px 80px; animation: moveDots 20s linear infinite; pointer-events: none; z-index: 0; }
  @keyframes moveDots { from { transform: translateY(0); } to { transform: translateY(100px); } }
  .hex3d-scene { width: 100px; height: 100px; transform: scale(0.95) rotateX(25deg); }
  .hex-face { width: 100px; height: 100px; }
  .hex-side { display: none !important; }
  .hex-front { transform: translateZ(24px); box-shadow: 0 0 18px rgba(139,92,246,0.5), 0 0 30px rgba(59,130,246,0.4); }
  .hex-back { transform: translateZ(-24px) rotateY(180deg); }
  .hex-core { transform: translateZ(25px); width: 18px; height: 18px; }
  .hex-vertex { transform: translateZ(24px); }
  .hex-orbit-1 { width: 150px; height: 150px; margin: -75px; }
  .hex-orbit-2 { width: 180px; height: 180px; margin: -90px; }
  .hex-orbit-3 { width: 210px; height: 210px; margin: -105px; }
  /* Phone input على الموبايل */
  .phone-dropdown { width: 260px; }
  .phone-dial-btn { min-height: 46px; }
  .phone-number-input { min-height: 46px; }
}
.clw-wrap{display:flex;justify-content:center;padding:20px 10px 50px 0;position:relative}
.clw-scene{ padding-right: 50px;   position:relative;width:1000px; max-width:85% }
.clw-svg{width:100%;filter:drop-shadow(0 10px 25px rgba(99,102,241,0.3)) drop-shadow(0 4px 10px rgba(0,198,255,0.18));animation:clwFlt 4s ease-in-out infinite}
@keyframes clwFlt{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.clw-brand3d{animation:clwBr 2.5s ease-in-out infinite}
@keyframes clwBr{0%,100%{filter:drop-shadow(0 0 6px #6366f1) drop-shadow(0 0 14px #00c6ff) brightness(1)}50%{filter:drop-shadow(0 0 10px #6366f1) drop-shadow(0 0 20px #00c6ff) brightness(1.3)}}
.clw-bubble{position:absolute;top:-20px;right:-15px;width:148px;z-index:10;animation:clwBI .6s cubic-bezier(.34,1.56,.64,1) forwards}
body.ltr .clw-bubble{right:auto;left:-45px}
@keyframes clwBI{from{opacity:0;transform:scale(.7) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}
.clw-binner{background:rgba(8,14,36,0.94);border:1px solid rgba(99,102,241,.6);border-radius:16px 16px 16px 4px;padding:10px 12px 9px;position:relative}
body.ltr .clw-binner{border-radius:16px 16px 4px 16px}
.clw-binner::after{content:'';position:absolute;bottom:14px;left:-8px;width:0;height:0;border:4px solid transparent;border-right-color:rgba(99,102,241,.6)}
body.ltr .clw-binner::after{left:auto;right:-8px;border-right-color:transparent;border-left-color:rgba(99,102,241,.6)}
.clw-bhead{display:flex;align-items:center;gap:6px;margin-bottom:7px}
.clw-dot{width:6px;height:6px;border-radius:50%;background:#00c6ff;box-shadow:0 0 7px #00c6ff;animation:clwDB 1.4s ease-in-out infinite}
@keyframes clwDB{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}
.clw-lbl{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#6366f1;font-family:'Syne',sans-serif}
.clw-typed{font-size:10.5px;line-height:1.6;color:#c8d0e8;min-height:44px;font-family:'Cairo',sans-serif}
.clw-cur{display:inline-block;width:2px;height:11px;background:#6366f1;vertical-align:middle;margin-right:1px;animation:clwCB .65s steps(1) infinite}
body.ltr .clw-cur{margin-right:0;margin-left:1px}
@keyframes clwCB{0%,100%{opacity:1}50%{opacity:0}}
.clw-prog{display:flex;gap:4px;margin-top:7px}
body.ltr .clw-prog{flex-direction:row-reverse}
.clw-pd{width:5px;height:5px;border-radius:50%;background:rgba(99,102,241,.2);transition:background .3s}
.clw-pd.on{background:#6366f1;box-shadow:0 0 5px #6366f1}
.clw-corner{ margin-right: 50px; position:absolute;width:10px;height:10px;opacity:.35}
.clw-tl{top:4px;left:4px;border-top:1.5px solid #6366f1;border-left:1.5px solid #6366f1}
.clw-tr{top:4px;right:4px;border-top:1.5px solid #00c6ff;border-right:1.5px solid #00c6ff}
.clw-bl{bottom:4px;left:4px;border-bottom:1.5px solid #00c6ff;border-left:1.5px solid #00c6ff}
.clw-br{bottom:4px;right:4px;border-bottom:1.5px solid #6366f1;border-right:1.5px solid #6366f1}
@media(max-width:575px){
  .clw-scene{width:280px }
  .clw-bubble{width:120px;top:-35px}
  body.ltr .clw-bubble{right:auto;left:-45px}
  .clw-typed{font-size:10px;min-height:40px}
  .stat-num{
    font-size: 1.2rem;
    letter-spacing: -0.5px;
  }

   .stats-row{
    gap: 7px;
  }

  body.ltr .stat-item{
    min-width: 72px;
  }
  


}

@media(max-width:380px){
  .clw-scene{width:205px}
  .clw-bubble{width:110px;top:-55px}
  body.ltr .clw-bubble{right:auto;left:-15px}
  .clw-typed{font-size:9.5px;min-height:38px}
}