:root {
  --brand: #2d6df6;
  --brand-2: #2dc8f6;
  --dark: #0f172a;
  --muted: #64748b;
  --bg: #0b1022;
  --card: #0f1530;
  --radius: 1.25rem;
  --radius-full: 999px;
  --transition: all 1s ease;

} /* ====== GENERAL ====== */
html,
body {
  background: radial-gradient(
      1200px 600px at 80% -10%,
      rgba(45, 109, 246, 0.25),
      transparent
    ),
    radial-gradient(
      1000px 500px at -10% 110%,
      rgba(45, 200, 246, 0.25),
      transparent
    ),
    var(--bg);
  color: #e5e7eb;
  font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
} 

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background-color: rgba(35, 155, 182, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
} 

/* Logo */
.navbar img {
  position: relative;
  top: 5px;
  right: 210px;
  width: 60px;
  height: auto;
}
@media (max-width: 992px) {
  .navbar img {
    display: block;
    position: absolute;
    right: 180px;
    margin-inline-end: 0.75rem;
  }
} 

/* Brand text */
.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff !important;
  margin-inline-end: 4.5rem;
} 

/* Links */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #f0f4f8 !important;
  transition: var(--transition);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
}
.navbar-nav .nav-link:hover {
  color: #f9b43a !important;
}

/* Dropdown */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.dropdown-item {
  font-weight: 500;
  color: #222;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.dropdown-item:hover {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff !important;
}

/* Submenu RTL fix */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: -0.25rem;
}
@media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
} 

/* Navbar when scrolled */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.285) !important;
} 

/* Toggler */
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  filter: invert(1);
}

/* Space below navbar */
div.space {
  height: 90px;
}
.badge-glow {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

/* ====== CARDS ====== */
.card-soft {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-soft:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(45, 109, 246, 0.25);
}

/* ====== HERO & CONTENT ====== */
.text-blue {
  color: var(--brand-2);
}
.btn-brand {
  background: var(--brand);
  border: none;
  color: #fff;
}
.btn-brand:hover {
  background: #1e55d3;
}
.btn-ghost {
  background: transparent;
  color: #cdd5e1;
  border: 1px solid #334155;
}
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 7rem;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      600px 260px at 20% 10%,
      rgba(45, 109, 246, 0.25),
      transparent
    ),
    radial-gradient(
      700px 300px at 80% 90%,
      rgba(45, 200, 246, 0.18),
      transparent
    );
  pointer-events: none;
}

/* ====== FOOTER ====== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #97a3b6;
  background: #0b1022;
  text-align: center;
}

/* ====== JOIN US ====== */
/* li.join-us a {
        position: absolute;
        left: 300px;
        color: #f9b43a !important;
        font-weight: bold;
        transition: transform 0.6s ease;
      }
      
      li.join-us a:hover {
        color: #8e6620 !important;
        transform: translateY(-5px);
        transition: transform 0.6s ease;
      } */