/* الإعدادات العامة */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #e9eaf5;
  color: #1a1a1a;
}

/* الترويسة */
header {
  background-color: #0d1b3d;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* روابط الترويسة */
nav a {
  color: #d0d0d0;
  margin: 0 12px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #ffffff;
}
nav {
  margin-top: 15px;
  padding: 10px 0;
  background-color: #112044; /* أزرق أفتح قليلًا من الخلفية */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* تنسيق الحاوية العلوية */
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* الشعار */
.logo {
  height: 90px;
  width: auto;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 6px;
  box-shadow: 0 0 10px rgba(255,255,255,0.25);
}

/* استجابة الشعار حسب حجم الشاشة */
@media (max-width: 768px) {
  .logo {
    height: 60px;
  }
}
@media (min-width: 1200px) {
  .logo {
    height: 90px;
  }
}

/* العنوان المتدرج المضيء */
header h1 {
  margin: 0;
  font-size: 1.8em;
  font-weight: bold;
  background: linear-gradient(90deg, #ffffff, #b0cfff, #ffffff);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shine 4s linear infinite;
  text-align: center;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* تنسيق العناوين */
h1, h2 {
  color: #0d1b3d;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #cc1e1e;
  margin: 8px 0 20px;
}

/* محتوى الصفحة */
main {
  padding: 30px 20px;
}

/* التذييل */
footer {
  background-color: #0d1b3d;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}
.articles-container {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.article-card {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card h3 {
  color: #0d1b3d;
  margin-top: 0;
}

.article-card a {
  display: inline-block;
  margin-top: 10px;
  color: #1c3fa8;
  font-weight: bold;
  text-decoration: none;
}

.article-card a:hover {
  text-decoration: underline;
}

