/* Add custom CSS styles below */ 
/* تصميم الشريط الإخباري */
.news-ticker {
  background-color: #000000; /* لون الخلفية */
  color: white; /* لون النص */
  padding: 10px 20px;
  overflow: hidden;
  position: relative;
  font-size: 16px;
  text-align: center;
}

/* غلاف العناصر */
.ticker-wrapper {
  display: inline-block;
  animation: scroll 15s linear infinite; /* الحركة */
  white-space: nowrap; /* منع النصوص من النزول لسطر جديد */
}

/* كل عنصر داخل الشريط */
.ticker-item {
  display: inline-block;
  margin-right: 50px; /* مسافة بين الأخبار */
}

/* حركة الشريط */
@keyframes scroll {
  0% {
    transform: translateX(300%);
  }
  100% {
    transform: translateX(-200%);
  }
}
/* الحاوية الرئيسية */
.category-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px;
}

/* العنصر الواحد (الأيقونة والنص) */
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  width: 120px;
  height: 120px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 10px;
}

/* التأثير عند التمرير */
.icon-item:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* الصورة داخل العنصر */
.icon-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

/* النص أسفل الصورة */
.icon-item span {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}