/* ==============================
   🎨 إعدادات عامة
============================== */
:root {
  --brand: #2d6df6;
  --brand-2: #2dc8f6;
  --gold: #f9b43a;
  --dark: #0f172a;
  --muted: #9ba9c6;
  --bg: #0b1022;
  --card: #101632;
  --radius: 1.25rem;
  --radius-full: 999px;
  --transition: all 0.6s ease;
}

/* خلفية عامة ناعمة */
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, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* تأثير ناعم للظهور */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== NAVBAR ====== */
.navbar {
  position: sticky !important;
  top: 0;
  right: 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);
}

/* ==============================
   🏞️ Hero Section
============================== */
.hero {
  text-align: center;
  padding: 7rem 2rem 5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent);
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  animation: fadeUp 1.2s ease forwards;
}

.text-blue {
  color: var(--brand-2);
}

.hero p {
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.8;
  margin-top: 1.5rem;
  animation: fadeUp 1.8s ease forwards;
}

/* ==============================
   💎 Cards & Sections
============================== */
.card-soft {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  animation: fadeUp 1.5s ease forwards;
}

.card-soft:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(45, 109, 246, 0.1);
}

.section-title {
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 1.2rem;
  color: #fff;
}

/* ==============================
   ✈️ List with icons
============================== */
.list-dot {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-dot li {
  position: relative;
  padding-inline-start: 2rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.list-dot li::before {
  content: "\f072";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  color: var(--brand);
  transition: var(--transition);
}

.list-dot li:hover::before {
  transform: rotate(-90deg);
  color: #ffd1ab;
}

/* ==============================
   🕒 Timeline Section
============================== */
.timeline {
  position: relative;
  margin: 2rem 0;
  padding-right: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  right: 15px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--brand), var(--brand-2));
  border-radius: var(--radius-full);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
  animation: fadeUp 1.5s ease forwards;
}

.timeline-number {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  box-shadow: 0 0 15px rgba(45, 200, 246, 0.5);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex: 1;
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(45, 109, 246, 0.2);
}

/* ==============================
   📱 Responsive
============================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .timeline::before {
    right: 8px;
  }
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-number {
    margin-bottom: 0.5rem;
  }
}

/* Countdown styles */
.countdown {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cd-box {
  min-width: 92px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
}
.cd-num {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}
.cd-label {
  font-size: 0.8rem;
  color: #cdd5e1;
}
.ribbon {
  display: inline-block;
  background: linear-gradient(90deg, #10b981, #34d399);
  color: #062b22;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
}
.offer {
  background: linear-gradient(90deg, #fde68a20, #f59e0b20);
  border: 1px dashed #f59e0b66;
  border-radius: 1rem;
}


/* ==============================
   ⚓ Footer
============================== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
footer:hover {
  color: #fff;
}
