@font-face {
  font-family: 'AlJazeeraArabic';
  src: url('../fonts/Al-Jazeera-Arabic-Regular.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'AlJazeeraArabic';
  src: url('../fonts/Al-Jazeera-Arabic-Bold.ttf') format('truetype');
  font-weight: bold;
}



body {
  font-family: 'AlJazeeraArabic', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  margin: 0;
  padding: 0;
}

/* رأس الصفحة */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #1a73e8;
  padding: 10px 15px;
}

.top-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.header-logo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.header-logo-title img {
  width: 70px;
  margin-bottom: 5px;
}

.header-logo-title h1 {
  font-size: 16px;
  margin: 0;
}
 .logo-title img {
  width: 90px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

/* زر القائمة */
.menu-toggle {
  align-self: flex-start;
  margin-right: auto;
  font-size: 26px;
  background: none;
  border: none;
  color: #1a73e8;
  cursor: pointer;
  margin-top: 0px;
  margin-left: 0px;
  z-index: 10;
}


/* القائمة */
nav ul {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.5); /* خلفية شفافة */
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  margin-top: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 180px;
  position: absolute;
  top: 80px;      /* 🔽 تظهر أسفل الهيدر */
  left: 10px;     /* 🔽 بجانب زر القائمة */
  z-index: 99;
  align-items: stretch;
  text-align: right;
  list-style: none; /* ✅ إزالة النقاط السودا */

}



nav ul.show {
  display: flex;
}

nav ul li {
  border: 1px solid #1a73e8;
  border-radius: 8px;
  margin: 5px 0;
  background-color: #f9f9f9;
  text-align: center;
  transition: background 0.3s ease;
}

nav ul li:hover {
  background-color: #e6f0ff;
}

nav ul li a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #1a73e8;
  font-weight: bold;
}


nav ul li a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  padding: 8px 0;
  display: block;
}

/* البانر */
.banner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  height: 150px;
  color: white;
  background-image: url('images/fateh.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding-bottom: 40px;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.banner h2 {
  font-size: 16px;
  margin: 0 0 5px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 4px #000;
}

.banner p {
  font-size: 14px;
  margin: 0;
  padding: 0 10px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 4px #000;
}

/* روابط مفيدة */
.features {
  padding: 30px 15px;
  background-color: #ffffff;
}

.features h3 {
  text-align: center;
  margin-bottom: 20px;
}

.box-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.useful-links {
  text-align: center;
  padding: 50px 20px;
}

.useful-links h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #000;
}

.box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
}

.box {
  background-color: #f9f9f9;
  border-radius: 20px;
  padding: 20px;
  width: 200px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.box:hover {
  transform: scale(1.05);
}

.box img {
  width: 70px;
  margin-bottom: 10px;
}

.box p {
  font-size: 16px;
  color: #222;
  font-weight: bold;
  margin: 0;
}

/* ✅ تعديل العرض للموبايل: مربعين جنب بعض وحجم أصغر */
@media (max-width: 768px) {
  .box-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .box {
    width: 80%;
    padding: 15px;
  }

  .box img {
    width: 50px;
  }

  .box p {
    font-size: 13px;
  }
}

/*عن المجلس */
.text-box {
  margin: 20px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
  font-size: 15px;
  color: #222;
}
/* الاخبار */

.news-container {
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  background: #fff;
  border-right: 5px solid #caaa00;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.2s ease;
}

.news-card:hover {
  transform: scale(1.02);
}

.news-card h3 {
  color: #1a73e8;
  font-size: 18px;
  margin-bottom: 8px;
}

.news-card p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin: 0;
}
/* الفعاليات */

.events-section {
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  background: #fff;
  border-right: 5px solid #caaa00;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.2s ease;
}

.event-card:hover  {
  transform: scale(1.02);
}

.event-card h3  {
  color: #1a73e8;
  font-size: 18px;
  margin-bottom: 8px;
}

.event-card p  {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

/* تقديم الشكوى */
/* شكوى - تنسيق النموذج */
.complaint-form-section {
  background-color: #f9f9f9;
  padding: 20px;
  margin: 20px 10px;
  border-radius: 15px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.complaint-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.complaint-form label {
  font-weight: bold;
  font-size: 15px;
  color: #333;
}

.complaint-form input,
.complaint-form select,
.complaint-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.complaint-form input:focus,
.complaint-form select:focus,
.complaint-form textarea:focus {
  border-color: #007bff;
  outline: none;
}

.complaint-form button {
  background-color: #ffc107;
  color: #000;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.complaint-form button:hover {
  background-color: #e0a800;
}


/* تواصل معنا  */
/* تنسيق قسم التواصل */
.contact-wrapper {
  padding: 30px 20px;
  display: flex;
  justify-content: center;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 350px;
  text-align: center;
}

.contact-card h3 {
  font-size: 18px;
  color: #caaa00;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 15px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* أزرار السوشيال في صفحة التواصل */
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.social-btn .fa {
  font-size: 18px;
}

.social-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.social-btn.instagram { background: #E1306C; }
.social-btn.facebook  { background: #1877F2; }
.social-btn.telegram  { background: #0088cc; }
.social-btn.whatsapp  { background: #25D366; color: #0b3d1a; }

/* حجم أصغر للشاشات الصغيرة */
@media (max-width: 400px) {
  .social-btn { padding: 8px 10px; font-size: 14px; }
  .social-btn .fa { font-size: 16px; }
}
/*  البرامج الاكادمبه   */


.programs-mobile-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

.program-mobile-box {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 15px 20px;
  position: relative;
  overflow: hidden;
  border-right: 8px solid #eac60a;
  box-sizing: border-box;
}

.program-mobile-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 100%;
  background-color: #eac60a;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.program-mobile-box h3 {
  margin-top: 0;
  font-size: 16px;
  color: #1f2c3e;
  margin-bottom: 12px;
  text-align: right;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 11px;
}

th, td {
  padding: 8px;
  color: #b58a00;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
}

th {
  background-color: #f1f1f1;
  color: #444;
  font-weight: bold;
}




.image-slider {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  margin-top: 10px;
  padding-bottom: 5px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.image-slider img {
  flex: 0 0 auto;
  width: 250px;
  height: auto;
  border-radius: 10px;
  scroll-snap-align: start;
}
.card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  margin: 15px 0;
  background: #fff;
}
.card-photos {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  margin-top: 10px;
}
.card-photos img {
  height: 100px;
  border-radius: 8px;
}



/* قسم التحديثات (الفعاليات والأخبار) */
.updates-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 15px;
}

.update-box {
  background-color: #fff;
  border: 2px solid #c3c3c3;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.update-box:hover {
  transform: translateY(-5px);
}

.update-box h3 {
  font-size: 20px;
  color: #000;
  margin-bottom: 10px;
}

/* العناصر داخل قسم الفعاليات */

.event-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
   
  padding-bottom: 10px;
  cursor: pointer;
  background-color: #ffffff;
  padding: 20px;
  border-right: 5px solid #caaa00;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.event-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #ccc;
}

.event-info h4 {
  margin: 0;
  font-size: 11px;
  color: #333;
}

.event-info p {
  margin: 4px 0 0;
  color: #666;
  font-size: 14px;
}

/* العناصر داخل قسم الأخبار */


/* العناصر داخل قسم الأخبار */
.news-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  border-right: 5px solid #caaa00;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.news-item:hover {
  background-color: #f5f5f5;
  transform: scale(1.01);
}

.news-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #ccc;
  flex-shrink: 0;
}

.news-info {
  flex: 1;
}

.news-info h4 {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.news-info p {
  margin: 4px 0 0;
  color: #666;
  font-size: 13px;
}




/* البوكس المنبثق للفعالية */
.popup-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  direction: rtl;
  text-align: right;
}

.popup-images {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 10px;
}

.popup-images img {
  height: 100px;
  border-radius: 8px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s;
}

.popup-images img:hover {
  transform: scale(1.1);
}

/* الصورة المكبرة */
.fullscreen-image {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.fullscreen-image img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #fff;
  cursor: zoom-out;
}




