body {
  height: 100vh !important;  
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  background: #f5f8fc;
}

/* -------- Logo -------- */
.Logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* -------- Navbar -------- */
.navbar {
  background: linear-gradient(135deg, #007bff, #0056b3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 30px;
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
  margin: 0 12px;
  transition: 0.3s;
  position: relative;
}

.nav-link:hover {
  color: #ffe600 !important;
}

.nav-item.active .nav-link {
  color: #ffe600 !important;
  font-weight: bold;
  border-bottom: 2px solid #ffe600;
}
.btn-outline-primary{
  color: #e9eef6;
}

/* زر التسجيل */
.regist {
  margin: 0 15px;
  padding: 8px 18px;
  color: #333 !important;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}
.regist:hover {
  background: #ffd500;
  color: #000 !important;
}

/* -------- Footer -------- */
footer {
  width: 100%;
  background: #222;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  margin-top: 30px;
  border-top: 3px solid #007bff;
}

footer h4 {
  margin: 10px 0;
  font-size: 16px;
  font-weight: 400;
}

footer h4 a {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}
footer h4 a:hover {
  color: #ffe600;
}

/* -------- Buttons -------- */
.btn-outline-secondary {
  margin: 10px;
  padding: 10px 18px;
  border-radius: 25px;
  border: 2px solid #007bff;
  color: #007bff;
  background: transparent;
  transition: 0.3s;
  cursor: pointer;
}
.btn-outline-secondary:hover {
  background: #007bff;
  color: #fff;
}
 /* ===== Scrollbar عام (يعمل على المتصفحات الحديثة) ===== */
 html { scrollbar-gutter: stable; }

 /* Firefox */
 * {
   scrollbar-width: thin;                 /* رفيع */
   scrollbar-color: #0d6efd #e9eef600;      /* thumb / track */
 }
 
 /* WebKit (Chrome / Edge / Safari) */
 ::-webkit-scrollbar {
   width: 10px;            /* شريط عمودي */
   height: 10px;           /* شريط أفقي (مثلاً لقسم الكروت) */
 }
 ::-webkit-scrollbar-track {
   background: #e9eef600;
   border-radius: 8px;
 }
 ::-webkit-scrollbar-thumb {
   background: linear-gradient(180deg, #3b82f6, #06b6d4);
   border-radius: 8px;
   border: 2px solid #e9eef6; /* مساحة تباين لطيفة */
 }
 ::-webkit-scrollbar-thumb:hover {
   background: linear-gradient(180deg, #2563eb, #0891b2);
 }
 
 /* ===== تمرير أفقي أنيق لقسم الكروت ===== */
 .card-deck {
   overflow-x: auto;                 /* فعّل التمرير الأفقي */
   display: flex;
   gap: 16px;
   padding-bottom: 12px;             /* مساحة للـ scrollbar */
   scroll-snap-type: x mandatory;    /* سناب سلس */
   -webkit-overflow-scrolling: touch;
 }
 
 .card-deck .card {
   scroll-snap-align: start;         /* تثبيت كل كارت عند الحافة */
   flex: 0 0 320px;                   /* عرض ثابت لكل كارت في الشريط */
 }
 
 /* اختيارية: إخفاء حدود التركيز الزرقاء على الضغط بالماوس مع إبقائها للكيبورد */
 * { outline: none; }
 *:focus-visible { outline: 2px solid #0d6efd; outline-offset: 2px; }
 /* شريط التمرير في الهيدر */
 #scroll-bar {
   position: fixed;
   top: 0;
   left: 0;
   height: 5px; /* سمك الخط */
   width: 0%;
   background: linear-gradient(90deg, #0d6efd, #06b6d4);
   z-index: 99999;
   transition: width 0.15s ease-out;
 }
     .blue-btn {
       background-color: #007bff;
       /* أزرق */
       color: #fff;
       /* أبيض */
       border: none;
       padding: 10px 20px;
       border-radius: 8px;
       font-size: 16px;
       cursor: pointer;
       transition: 0.3s;
     }
  
     .blue-btn:hover {
       background-color: #0056b3;
       /* أزرق أغمق عند الهوفر */
     }
  
     .btn-wrapper a {
       text-decoration: none;
       margin-right: 10px;
     }