 /* تنسيق الخط العام */
html {
  font-family: 'Cairo', sans-serif;
}

body { 
  font-family: 'Cairo', sans-serif;
}

/* الحاوية الرئيسية */
.view-container {
  width: 90%;
  margin: 0 auto;
  padding: 20px 0;
}

/* عنوان القسم */
.title-bar {
  background-color: #66638F;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 24px;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

/* شبكة البطاقات */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

/* تصميم البطاقة */
.card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block !important; /* تمنع تأثير flex إن وجد */
}

/* تأثير عند التحويم */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* تنسيق الصورة داخل البطاقة */
.card img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 3px solid #ccc;
}

/* عنوان البطاقة */
.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

/* نص البطاقة */
.card p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}
.AssociationPrograms {
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto; 
  margin: 30px auto; /* مسافة من الأعلى والأسفل، وتوسيط أفقي */
}
 
/* العنوان الكامل كسطر */
.sitetitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px; /* مسافة بين الصورة والنص */
  font-size: 35px;
  color: #66638F;
  margin-top: 10px;
  font-weight: normal !important;
  text-align: center;
}

/* الصورة داخل العنوان */
.title-img {
  width: 50px;
  height: auto;
}

/* النص داخل العنوان */
.sitetext {
  font-size: 25px;
  color: #66638F;
  direction: rtl;
}


/* إعداد الحركات */
.animate-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease;
}
.animate-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease;
}
.animate-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.in-view {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}
