    /* ============================
       RESET
    ============================ */
    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
    }
    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
    }

    html.light #neural-canvas {
  filter: opacity(0.3) brightness(0.6);
}

    /* ============================
       THEME VARIABLES
    ============================ */
    :root {
      --bg: #030712;
      --bg-elevated: #050b18;
      --card: #020617;
      --text: #e5e7eb;
      --muted: #9ca3af;
      --accent: #38bdf8;
      --accent-soft: rgba(56, 189, 248, 0.18);
      --border: #1f2937;
      --radius-lg: 18px;
      --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
    }
html.light {
      --bg: #f3f4f6;
      --bg-elevated: #ffffff;
      --card: #ffffff;
      --text: #0f172a;
      --muted: #6b7280;
      --accent: #0284c7;
      --accent-soft: rgba(2, 132, 199, 0.09);
      --border: #d1d5db;
      /* نخلي الشادو خفيف جداً في اللايت */
      --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
    }

    /* ============================
       BACKGROUND CANVAS (NEURAL + SPARKS)
    ============================ */
#neural-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh !important;
  z-index: -2;
  filter: blur(0.8px);
}
main {
    min-height: 0 !important;
    height: auto !important;
}

    /* ============================
       INTRO SPLASH
    ============================ */
    .intro {
      position: fixed;
      inset: 0;
      background: radial-gradient(circle at center, #0f172a, #000);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      color: #e5e7eb;
      font-weight: 800;
      letter-spacing: 0.25em;
      text-transform: uppercase;
    }
    .intro span {
      font-size: clamp(1.8rem, 4vw, 2.6rem);
      color: var(--accent);
      text-shadow: 0 0 30px rgba(56, 189, 248, 0.8);
    }
    .splash-gif {
  width: 420px;       /* حجم كبير وواضح */
  max-width: 70vw;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(56,189,248,0.6));
  animation: fadeIn 1.2s ease forwards;
}


    /* ============================
       LAYOUT
    ============================ */
    .page {
      position: relative;
      z-index: 1;
    }
    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* ============================
       NAVBAR
    ============================ */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(14px);
      background: linear-gradient(
        to bottom,
        rgba(3, 7, 18, 0.9),
        rgba(3, 7, 18, 0.6),
        transparent
      );
      border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    }
    .navbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.9rem 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 0.55rem;
    }
    .brand-mark {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      border: 1px solid rgba(56, 189, 248, 0.4);
      background: radial-gradient(circle at 30% 30%, #38bdf8, #0f172a);
      box-shadow: 0 0 18px rgba(56, 189, 248, 0.8);
    }
    .brand-title {
      font-weight: 800;
      font-size: 1.1rem;
      letter-spacing: 0.09em;
      text-transform: uppercase;
    }
    .nav-links {
      display: flex;
      gap: 1rem;
      font-size: 0.9rem;
    }
    .nav-links a {
      position: relative;
      color: var(--muted);
      text-decoration: none;
      padding: 0.25rem 0;
    }
    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -0.2rem;
      width: 0%;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s ease;
    }
    .nav-links a:hover {
      color: var(--text);
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .theme-toggle {
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.6);
      padding: 0.3rem 0.9rem;
      font-size: 0.8rem;
      color: var(--muted);
      cursor: pointer;
      background: rgba(15, 23, 42, 0.85);
    }
    .primary-chip {
      padding: 0.4rem 0.9rem;
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent);
      font-size: 0.75rem;
      border: 1px solid rgba(56, 189, 248, 0.4);
    }
    .lang-flag {
      width: 32px;
      height: 22px;
      border-radius: 4px;
      cursor: pointer;
      border: 1px solid rgba(148, 163, 184, 0.6);
      object-fit: cover;
    }

    @media (max-width: 768px) {
      .navbar-inner {
        padding-inline: 1rem;
      }
      .nav-links {
        display: none;
      }
    }

    /* ============================
       HERO
    ============================ */
    .hero {
      padding: 4.5rem 0 3.5rem;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
      gap: 3rem;
      align-items: center;
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.3rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(56, 189, 248, 0.35);
      background: radial-gradient(circle at left, rgba(56, 189, 248, 0.25), transparent);
      font-size: 0.75rem;
      color: var(--accent);
    }
    .eyebrow-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    }
    .hero-title {
      margin-top: 1rem;
      font-size: clamp(2.2rem, 4vw, 3.2rem);
      letter-spacing: -0.03em;
      line-height: 1.1;
    }
    .hero-title span {
      color: var(--accent);
    }
    .hero-body {
      margin-top: 1rem;
      color: var(--muted);
      font-size: 0.98rem;
      max-width: 34rem;
    }
    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-top: 1.5rem;
    }
    .hero-badge {
      padding: 0.3rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.5);
      font-size: 0.75rem;
      color: var(--muted);
    }
    .hero-cta {
      margin-top: 2rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      align-items: center;
    }
    .btn-primary {
      padding: 0.7rem 1.4rem;
      border-radius: 999px;
      border: none;
      cursor: pointer;
      background: linear-gradient(135deg, #38bdf8, #0ea5e9);
      color: #0b1120;
      font-weight: 600;
      font-size: 0.95rem;
      box-shadow: 0 10px 30px rgba(8, 47, 73, 0.7);
    }
    .btn-ghost {
      padding: 0.7rem 1.3rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.6);
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      font-size: 0.9rem;
    }

    /* HERO RIGHT – AI ORB CARD */
    .hero-orb-card {
      position: relative;
      border-radius: 26px;
      padding: 1.2rem;
      background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.98));
      border: 1px solid rgba(56, 189, 248, 0.4);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      min-height: 260px;
    }
    .hero-orb {
      position: absolute;
      inset: 15%;
      border-radius: 999px;
      background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.9), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.9), transparent 55%),
        radial-gradient(circle at 50% 120%, rgba(16, 185, 129, 0.9), transparent 60%);
      filter: blur(1px);
      opacity: 0.8;
    }
    .hero-orb-ring {
      position: absolute;
      inset: 18%;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.5);
      border-top-color: rgba(56, 189, 248, 0.9);
      animation: spin 10s linear infinite;
      mix-blend-mode: screen;
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    .hero-orb-content {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
    }
    .orb-tag {
      align-self: flex-start;
      padding: 0.25rem 0.7rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.85);
      color: var(--accent);
      font-size: 0.7rem;
      border: 1px solid rgba(148, 163, 184, 0.4);
    }
    .orb-title {
      margin-top: auto;
      font-size: 0.9rem;
      color: #e5e7eb;
      font-weight: 500;
    }
    .orb-meta {
      margin-top: 0.4rem;
      font-size: 0.75rem;
      color: var(--muted);
    }

    @media (max-width: 900px) {
      .hero-grid {
        grid-template-columns: minmax(0, 1fr);
      }
      .hero-orb-card {
        order: -1;
        margin-bottom: 1.5rem;
      }
    }

    /* ============================
       SECTIONS
    ============================ */
    section {
      padding: 3.5rem 0;
    }
    .section-header {
      margin-bottom: 1.5rem;
    }
    .section-kicker {
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 0.75rem;
      color: var(--muted);
      margin-bottom: 0.25rem;
    }
    .section-title {
      font-size: 1.6rem;
      letter-spacing: -0.03em;
      margin-bottom: 0.35rem;
    }
    .section-sub {
      color: var(--muted);
      font-size: 0.95rem;
      max-width: 40rem;
    }

    /* ============================
       SCROLL ANIMATIONS
    ============================ */
    [data-animate] {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    [data-animate].is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ============================
       SLIDER
    ============================ */
    .slider-shell {
      margin-top: 1.5rem;
      position: relative;
      border-radius: var(--radius-lg);
      background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.06), rgba(15, 23, 42, 0.98));
      border: 1px solid rgba(148, 163, 184, 0.4);
      padding: 1.5rem 3.2rem;
      box-shadow: var(--shadow-soft);
      overflow: hidden;
    }
    .slider-track {
      position: relative;
      height: 200px;
    }
    .slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transform: translateX(40px);
      transition: opacity 0.6s ease, transform 0.6s ease;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0.4rem;
    }
    .slide.is-active {
      opacity: 1;
      transform: translateX(0);
    }
    .slide-label {
      font-size: 0.8rem;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.16em;
    }
    .slide-title {
      font-size: 1.2rem;
      font-weight: 600;
    }
    .slide-body {
      font-size: 0.9rem;
      color: var(--muted);
      max-width: 34rem;
    }
    .slider-controls {
      position: absolute;
      inset-block: 0;
      inset-inline: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      pointer-events: none;
    }
    .slider-btn {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      border: none;
      background: rgba(15, 23, 42, 0.9);
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      pointer-events: auto;
      border: 1px solid rgba(148, 163, 184, 0.7);
      font-size: 1rem;
    }

    @media (max-width: 768px) {
      .slider-shell {
        padding-inline: 1.2rem;
      }
    }

    /* ============================
       GRIDS / CARDS
    ============================ */
    .grid {
      display: grid;
      gap: 1.4rem;
    }
    .grid-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .grid-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    @media (max-width: 900px) {
      .grid-3, .grid-2 {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .card {
      background: var(--bg-elevated);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      padding: 1.3rem 1.4rem;
      box-shadow: var(--shadow-soft);
      transition: 0.3s ease;
    }
    .card::before {
      /* إلغاء أي إضاءة داكنة إضافية */
      background: none;
      content: "";
      display: none;
    }
    .card-title {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 0.25rem;
    }
    .card-body {
      font-size: 0.9rem;
      color: var(--muted);
    }

    /* ============================
       SECTORS
    ============================ */
    .sector-pill {
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.45);
      padding: 0.55rem 0.85rem;
      font-size: 0.85rem;
      background: rgba(15, 23, 42, 0.85);
      color: var(--muted);
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }
    .sector-pill-dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent);
    }

    /* ============================
       PARTNERS
    ============================ */
    .partners-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1.4rem;
      align-items: center;
      margin-top: 1rem;
    }
    .partner-chip {
      padding: 0.6rem 1.1rem;
      border-radius: 999px;
      border: 1px dashed rgba(148, 163, 184, 0.6);
      font-size: 0.8rem;
      color: var(--muted);
      background: rgba(15, 23, 42, 0.8);
    }

    /* ============================
       DIGITAL BUSINESS CARD
    ============================ */
    .dbc-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 1.8rem;
      align-items: center;
      margin-top: 1.5rem;
    }
    .dbc-card {
      flex: 0 0 280px;
      max-width: 100%;
      border-radius: 22px;
      padding: 1.3rem;
      background: radial-gradient(circle at top, rgba(56, 189, 248, 0.16), rgba(15, 23, 42, 0.98));
      border: 1px solid rgba(56, 189, 248, 0.6);
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
    }
    .dbc-avatar {
      width: 58px;
      height: 58px;
      border-radius: 999px;
      border: 1px solid rgba(56, 189, 248, 0.7);
      background: radial-gradient(circle at 30% 20%, #38bdf8, #0f172a);
      margin-bottom: 0.6rem;
    }
    .dbc-name {
      font-size: 0.95rem;
      font-weight: 600;
    }
    .dbc-role {
      font-size: 0.8rem;
      color: var(--muted);
      margin-bottom: 0.5rem;
    }
    .dbc-meta {
      font-size: 0.75rem;
      color: var(--muted);
      margin-bottom: 0.7rem;
    }
    .dbc-actions {
      display: flex;
      gap: 0.45rem;
      flex-wrap: wrap;
    }
    .dbc-btn {
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.7);
      background: rgba(15, 23, 42, 0.9);
      color: #e5e7eb;
      font-size: 0.75rem;
      padding: 0.35rem 0.7rem;
      cursor: pointer;
    }

    /* ============================
       CONTACT / FOOTER
    ============================ */
    .contact-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
      gap: 2rem;
      align-items: flex-start;
    }
    @media (max-width: 900px) {
      .contact-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }
    .contact-panel {
      border-radius: var(--radius-lg);
      border: 1px solid rgba(148, 163, 184, 0.4);
      background: var(--bg-elevated);
      padding: 1.3rem 1.4rem;
      box-shadow: var(--shadow-soft);
      font-size: 0.92rem;
    }
    .contact-panel p {
      margin-bottom: 0.4rem;
    }
    .contact-label {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--muted);
    }
    footer {
      border-top: 1px solid rgba(148, 163, 184, 0.3);
      padding: 1.5rem 0;
      font-size: 0.8rem;
      color: var(--muted);
      text-align: center;
    }

    /* ============================
       LIGHT MODE OVERRIDES
       (لايت بالكامل – بدون إحساس دارك)
    ============================ */

    .light .navbar {
      background: rgba(255, 255, 255, 0.92);
      border-bottom: 1px solid rgba(209, 213, 219, 0.9);
    }

    .light .theme-toggle {
      background: #f9fafb;
      color: #4b5563;
    }

    .light .slider-shell {
      background: #ffffff;
      border-color: #e5e7eb;
      box-shadow: none; /* إلغاء الشدو الغامق في الكروزل */
    }

    .light .card,
    .light .contact-panel,
    .light .dbc-card,
    .light .hero-orb-card {
      background: #ffffff;
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
      border-color: #e5e7eb;
    }

    .light .hero-orb-card {
      background: radial-gradient(circle at top, rgba(2, 132, 199, 0.08), #ffffff);
      border-color: rgba(2, 132, 199, 0.45);
    }

    .light .sector-pill,
    .light .partner-chip,
    .light .dbc-btn,
    .light .orb-tag {
      background: #f9fafb;
      color: #4b5563;
      border-color: #d1d5db;
    }

    .light .dbc-card {
      background: #ffffff;
      border-color: #0ea5e9;
    }

    .light .slider-btn {
      background: #ffffff;
      color: #111827;
      border-color: #d1d5db;
    }
.splash-gif {
  width: 260px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(56,189,248,0.4));
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}



.splash-gif {
  width: 1200px;      /* كَبِّرها بالرقم ال إنت دايرو */
  height: auto;
  object-fit: contain;

  /* يخلي الصورة تتقلص لو الشاشة صغيرة */
  max-width: 85vw;
  max-height: 85vh;

  filter: drop-shadow(0 0 22px rgba(56,189,248,0.5));
}

footer {
    direction: rtl !important;
    text-align: right !important;
    unicode-bidi: plaintext;
    font-family: "Cairo", sans-serif;
}


/* إلغاء أي مساحات تحت الأقسام */

/* تصغير مساحة الفوتر */
footer {
    margin-top: 0 !important;
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
}
section {
    padding-bottom: 1rem !important;
    padding-top: 1rem !important;
}





 /*  الفوتر في المنتصف */
footer {
    direction: rtl;
    unicode-bidi: plaintext;
    font-family: "Cairo", sans-serif;
}
footer[data-i="footer"] {
  text-align: center !important;   /* أضف !important هنا */
  width: 100%;
  padding: 1.8rem 0;
  font-size: 1rem;
  color: var(--muted);
}













/* اللور*/




#page-loader {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.15);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.orb-loader {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #38bdf8, rgba(56,189,248,0.05)),
    radial-gradient(circle at 70% 70%, #0ea5e9, rgba(14,165,233,0.05)),
    radial-gradient(circle at center, rgba(255,255,255,0.2), transparent 60%);
  animation: orbPulse 1.2s ease-in-out infinite;
  box-shadow: 0 0 25px rgba(56,189,248,0.5);
}

@keyframes orbPulse {
  0%   { transform: scale(0.85); opacity: .7; }
  50%  { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.85); opacity: .7; }
}




/* ===========================
   MODERN HAMBURGER BUTTON
=========================== */
.mobile-menu-btn {
  display: none; /* مخفي افتراضياً */
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);

  flex-direction: column;
  justify-content: center;
  gap: 6px;

  transition: 0.3s ease;
}

.mobile-menu-btn span {
  height: 3px;
  width: 100%;
  background: var(--text);
  border-radius: 6px;
  transition: 0.35s ease;
}

/* X animation */
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===========================
   MOBILE DRAWER
=========================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100vh;

  display: flex;
  flex-direction: column;
  padding: 70px 25px 30px;
  gap: 20px;

  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(0,0,0,0.08);
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);

  transition: right 0.35s ease-in-out;
  z-index: 9999;
}

.mobile-drawer.open {
  right: 0;
}

/* Drawer Links */
.drawer-links a {
  font-size: 20px;
  font-weight: 700;
  display: block;
  text-align: right;
  color: var(--text);
  text-decoration: none;

  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.12);

  transition: 0.25s ease;
}

.drawer-links a:hover {
  transform: translateX(-5px);
  opacity: 1;
}

/* ===========================
   SUPPORT LIGHT / DARK THEMES
=========================== */

:root.light .mobile-drawer {
  background: rgba(255,255,255,0.97);
}
:root.light .drawer-links a {
  color: #222;
  border-bottom-color: rgba(0,0,0,0.14);
}

:root:not(.light) .mobile-drawer {
  background: rgba(15,15,25,0.92);
}
:root:not(.light) .drawer-links a {
  color: #f5f5f5;
  border-bottom-color: rgba(255,255,255,0.12);
}

/* ===========================
   MOBILE VIEW BEHAVIOUR
=========================== */
@media (max-width: 992px) {

  /* نخفي الروابط الأساسية */
  .nav-links {
    display: none !important;
  }

  /* نخلي الأكشن ظاهر */
  .nav-actions {
    display: flex !important;
    gap: 8px;
  }

  /* نخلي الشعار ظاهر */
  .brand {
    display: flex !important;
  }

  /* زر الهامبرقر فقط هنا */
  .mobile-menu-btn {
    display: flex !important;
  }

  /* ترتيب عناصر الهيدر */
  .navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-menu-btn { order: 1; }
  .brand            { order: 2; }
  .nav-actions      { order: 3; }
}

/* ===========================
   DESKTOP ONLY
=========================== */
@media (min-width: 993px) {
  .mobile-menu-btn {
    display: none !important; /* إخفاء الزر تماماً */
  }
}
@media (max-width: 992px) {

  .navbar-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
  }

  /* زر الهامبرقر على اليسار */
  .mobile-menu-btn {
    order: 1 !important;
    justify-self: start;
    display: flex !important;
  }

  /* الشعار في النص */
  .brand {
    order: 2 !important;
    justify-self: center;
    display: flex !important;
  }

  /* الأكشنات على اليمين */
  .nav-actions {
    order: 3 !important;
    justify-self: end;
    display: flex !important;
    gap: 6px;
  }
}


.drawer-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;

  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.drawer-close-btn:hover {
  background: rgba(255,255,255,0.35);
}

/* للثيم الداكن */
:root:not(.light) .drawer-close-btn {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}













/* ======================
   AI SLIDER STYLING
====================== */


.ai-slider {
  position: relative;
  width: 92%;
  height: 430px;
  overflow: hidden;
  border-radius: 22px;
  margin: 0 auto;
  background: #000;
}

.ai-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.ai-slide.active {
  opacity: 1;
  transform: scale(1.03);
}

.ai-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(1.2);
}

.ai-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 16px;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: white;
  cursor: pointer;
  border-radius: 12px;
  transition: 0.25s;
  z-index: 10;
}

.ai-nav:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}

.ai-nav.prev { left: 18px; }
.ai-nav.next { right: 18px; }

.ai-dots {
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;
  z-index: 12;
}

.ai-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: 0.3s;
}

.ai-dots span.active {
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  transform: scale(1.2);
}

/* MOBILE */
@media (max-width: 768px) {
  .ai-slider { height: 250px; }
  .ai-nav { padding: 6px 10px; font-size: 18px; }
  .ai-dots span { width: 8px; height: 8px; }
}

@media (max-width: 480px) {
  .ai-slider { height: 200px; }
}
#ai-slider-section {
  max-width: 1550px;     /* نفس عرض الموقع */
  margin: 0 auto;        /* توسيط السلايدر */
  padding: 20px 0;       /* مسافات لطيفة فوق وتحت */
}

.ai-slider {
  border-radius: 20px;   /* نفس تصميم بقية الموقع */
  overflow: hidden;
}
.container {
    width: 100%;
    max-width: 1450px;    /* 🔥 عرض جميل ورايق */
    margin: 0 auto;
    padding: 0 20px;
}


/* =============================
   FORCE TEAM HIERARCHY
============================= */
.team-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3rem 4rem !important;
    justify-items: center !important;
    align-items: start !important;
}

/* الرئيس فوق لوحده */
.team-center {
    grid-column: 1 / 3 !important;
    justify-self: center !important;
    max-width: 380px !important;
}

/* الكروت تحت */
.team-card {
    max-width: 340px !important;
    width: 100% !important;
}


:root {
    --orb-text-color: #e5e7eb; /* دارك */
}

:root.light {
    --orb-text-color: #0f172a; /* لايت */
}
.hero-orb-content,
.hero-orb-content * {
    color: var(--orb-text-color) !important;
}











#heroTypingMain,
#heroTypingSub {
  border-right: 3px solid currentColor;
  padding-right: 4px;
  white-space: nowrap;
  animation: caretBlink .8s infinite;
}

@keyframes caretBlink {
  0%, 100% { border-color: transparent; }
  50% { border-color: currentColor; }
}
/* العنوان في الوضع الفاتح */
:root.light .hero-title {
  color: #000; /* أسود */
}

/* العنوان في الوضع الداكن */
:root.dark .hero-title {
  color: #fff; /* أبيض */
}

/* نفس الشي للنص الفرعي */
:root.light .hero-body {
  color: #444; /* رمادي غامق */
}

:root.dark .hero-body {
  color: #dcdcdc; /* رمادي فاتح */
}
#heroTypingMain,
#heroTypingSub {
  color: inherit;
  display: inline-block;
  white-space: normal;
  line-height: 1.6;
}
:root.light #heroTypingMain,
:root.light #heroTypingSub {
  color: #0f172a !important;
}

:root.dark #heroTypingMain,
:root.dark #heroTypingSub {
  color: #e5e7eb !important;
}
.accent {
  color: var(--accent) !important;
}
/* إصلاح لون العنوان */
#heroTypingDark {
  color: inherit !important;
}

#heroTypingBlue {
  color: var(--accent) !important;
  font-weight: inherit;
}

/* لما يكون الموقع فاتح */
:root.light #heroTypingBlue {
  color: #0284c7 !important; /* الأزرق الفاتح */
}

/* لما يكون الموقع داكن */
:root:not(.light) #heroTypingBlue {
  color: #38bdf8 !important; /* الأزرق النيّون */
}



/* ===============================
   FIX: SPLASH RESPONSIVE MOBILE
   =============================== */

.intro {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, #0f172a, #000);
  z-index: 2000;
}

/* الكمبيوتر */
.splash-gif {
  width: 500px;
  height: auto;
  max-width: 70vw;
  max-height: 70vh;
  object-fit: contain;
}

/* الهاتف */
@media (max-width: 768px) {
  .splash-gif {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;

    object-fit: cover !important;  /* يملا الشاشة بالكامل */
  }
}

/* أصغر هواتف */
@media (max-width: 480px) {
  .splash-gif {
    object-fit: contain !important;  /* لو عايز تحافظ على اللوقو بالكامل */
  }
}





/* الروابط – الوضع الداكن */
:root:not(.light) p[data-i="contact_follow"] a {
    color: #ffffff !important;
}

/* الروابط – الوضع الفاتح */
:root.light p[data-i="contact_follow"] a {
    color: #0f172a !important;
}
:root.light p[data-i="contact_follow"] {
    color: #0f172a !important;
}

:root:not(.light) p[data-i="contact_follow"] {
    color: #ffffff !important;
}



/* ============ CONTACT PAGE – FIX LIGHT MODE ============ */

html.light .contact-wrapper {
  background: #ffffff;                /* أبيض نقي */
  border: 1px solid #cbd5e1;          /* سماوي/رمادي واضح */
  box-shadow: 0 0 25px rgba(0,0,0,0.06);
}

html.light .contact-wrapper h1 {
  color: #0284c7 !important;          /* أزرق واضح */
}

html.light .contact-wrapper p {
  color: #475569 !important;          /* رمادي غامق وواضح */
}






/* الكروت */
html.light .contact-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

html.light .contact-card h3 {
  color: #0f172a !important;          /* أسود */
}
html.light .contact-card p {
  color: #475569 !important;
}

html.light .contact-card i {
  color: #0284c7 !important;
}

/* السوشيال */
html.light .social-icons a {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
  border: 1px solid #cbd5e1;
}

html.light .social-icons a:hover {
  background: #0284c7 !important;
  color: white !important;
}









