body {
  background-color: #111;
  color: white;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
  padding: 1rem 2rem;
}

.card {
  background-color: #1c1c1c;
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

.card img {
  height: 400px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.card-body {
  padding: 1rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: bold;
}

.slider {
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.slider img {
  width: 100%;
  height: 45vh;
  object-fit: contain;
  display: block;
  background-color: #000;
  border-radius: 12px;
}

#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 22px;
  background-color: #0d6efd;
  color: white;
  border: none;
  cursor: pointer;
  padding: 12px 15px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}
#back-to-top:hover {
  background-color: #0b5ed7;
}

@media (max-width: 768px) {
  .card img {
    height: 300px;
  }
  .slider img {
    height: 30vh;
  }
}
/* تخصيص شكل أزرار التنقل في السلايدر */
.slick-dots {
  position: absolute;
  bottom: 15px;
  display: flex !important;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.slick-dots li {
  margin: 0;
}

.slick-dots li button {
  width: 30px;
  height: 5px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0; /* يخفي الرقم الافتراضي */
}

.slick-dots li.slick-active button {
  background-color: #0d6efd;
  width: 40px; /* تكبير المستطيل النشط */
}
