body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  background: #f5f5f5;
  color: #333;
  direction: rtl;
}

header {
  background-color: #007bff;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

/* الحاوية */
.hero-video{
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  background: #000;
}

/* الفيديو */
.hero-video__el{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

/* زر دائري في منتصف الحافة السفلية */
.scroll-btn{
  position: absolute;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0));
  transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.95); color: #111;
  display: grid; place-items: center; cursor: pointer; z-index: 2;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform .2s ease, background .2s ease;
}
.scroll-btn:hover{ transform: translateX(-50%) translateY(-2px); }
.scroll-btn:active{ transform: translateX(-50%); }

#next{ scroll-margin-top: 0; }

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.stat-box {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.stat-box h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #007bff;
}

.stat-box p {
  font-size: 2rem;
  margin-top: 10px;
  color: #333;
}

.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.card h4 {
  color: #007bff;
  margin-bottom: 10px;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: white;
  background: #007bff;
  padding: 8px 15px;
  border-radius: 6px;
}

.map-link {
  text-align: center;
  margin: 30px 0;
}

.map-link a {
  background: #28a745;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
}

.load-more-pdfs {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.load-more-pdfs a {
  background: #007bff;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 15px;
  transition: background 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.load-more-pdfs a:hover {
  background: #0056b3;
}

footer {
  background: #f0f0f0;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #ddd;
}

@media (max-width: 600px) {
  .stat-box p { font-size: 1.5rem; }
  .card h4 { font-size: 1rem; }
}
