@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;
}


/* إعداد عام */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'AlJazeeraArabic', sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* الهيدر */
header {
  background-color: #ffffff;
  border-bottom: 2px solid rgb(189, 189, 189);
  padding: 5px 10px; /* كان 10px 20px */
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 10px 8px; /* تقليل البادينغ */
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-title img {
  height: 50px; /* كان 60px */
}

.logo-title h1 {
  font-size: 20px; /* كان 20px */
  margin: 0;
  color: #000;
}

.top-bar nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-bar nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}


nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
}

nav a.active {
  border-bottom: 2px solid #ffffff;
}

/* ✨ خلفية البانر */
.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 450px;
  color: white;
  background-image: url('images/fateh.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  width: 100%;
  padding: 20px;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.banner h2,
.banner p {
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 4px #000;
}

/* المميزات */
.features {
  padding: 40px 20px;
  background-color: #ffffff;
}

.features h3 {
  text-align: center;
  margin-bottom: 30px;
}

.box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.box {
  background-color: #f9f9f9;
  border-radius: 20px;
  padding: 20px;
  width: 138px;      /* ✅ العرض الموحد */
  height: 124px;     /* ✅ الارتفاع الموحد */
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.box:hover {
  transform: translateY(-5px);
}

.box img {
  width: 40px;
  margin-bottom: 10px;
}
.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;
  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;
}

/*عن المجلس*/
.content-box {
  background-color: #f9f9f9;
  margin: 40px auto;
  padding: 30px;
  width: 80%;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.content-box h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #222;
}
/* الاخبار*/

.news-item {
  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);
}

.news-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #222;
}

.news-item p {
  margin: 0;
  font-size: 16px;
  color: #444;
}
/* الفعاليات*/
.event-item {
  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 h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #222;
}

.event-item p {
  margin: 0;
  font-size: 16px;
  color: #444;
}
/* تقديم الشكوى*/
.complaint-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background-color: #fff;
  border-right: 5px solid #caaa00;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.complaint-form label {
  font-weight: bold;
  color: #222;
}

.complaint-form input,
.complaint-form select,
.complaint-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 15px;
}

.complaint-form button {
  background-color: #caaa00;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.complaint-form button:hover {
  background-color: #caaa00;
}
/*  تواصلمعنا*/
.contact-container {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

.contact-container h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.contact-container .desc {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 25px;
}

.contact-box {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item h3 {
  color: #d4af37;
  font-size: 1.2em;
  margin-bottom: 8px;
}

.contact-item p {
  color: #333;
  font-size: 1em;
}

/* أزرار السوشيال في صفحة التواصل (ديسكتوب) */
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  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: 480px) {
  .social-btn { padding: 8px 10px; font-size: 14px; }
  .social-btn .fa { font-size: 16px; }
}
/*  البرامج  */


/* البرامج */

/* البرامج */

body {
  font-family: 'Cairo', sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 30px;
}

.programs-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 20px;
}

.program-box {
  width: 100%;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  border-right: 8px solid #eac60a;
  box-sizing: border-box;
  position: relative;
}

.program-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-box h3 {
  margin-top: 0;
  color: #1f2c3e;
  font-size: 18px;
  margin-bottom: 15px;
  text-align: right;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

table th,
table td {
  font-size: 14px;
  padding: 10px;
  color: #b58a00;
  text-align: center;
  vertical-align: middle;
}

table th {
  background-color: #f9f9f9;
  color: #333;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}

table td {
  border-bottom: 1px solid #eee;
}




/* الادمن تسجيل الدخول */


.login-container {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 350px;
  text-align: center;
  position: relative;
}

.login-container h2 {
  margin-bottom: 20px;
  color: #1f2c3e;
}

.login-container input {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.login-container button {
  width: 100%;
  padding: 12px;
  background-color: #eac60a;
  color: #1f2c3e;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

#error-message {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}




/*ادمن */
body {
  font-family: 'Cairo', sans-serif;
  background-color: #f7f7f7;
  margin: 0;
  padding: 20px;
}

.admin-header {
  text-align: center;
  margin-bottom: 30px;
}

.admin-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.admin-section {
  background: white;
  border-radius: 16px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  position: relative;
}

.admin-section h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #1f2c3e;
}

.admin-section button {
  margin: 5px 10px 5px 0;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background-color: #eac60a;
  color: #1f2c3e;
  font-weight: bold;
  cursor: pointer;
}

.hidden {
  display: none;
}
.images-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
  }
  .images-scroll img {
    height: 120px;
    border-radius: 8px;
  }




  body {
  font-family: 'Cairo', sans-serif;
  background: #f9f9f9;
  direction: rtl;
  padding: 20px;
}

h2, h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

#loginBox,
#dashboard {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

input[type="text"],
input[type="password"],
input[type="file"],
textarea {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

button {
  background-color: #ffc107;
  border: none;
  color: #000;
  padding: 12px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e0a800;
}

.content-list {
  margin-top: 20px;
}

.content-item {
  background: #f1f1f1;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
}

.content-item img {
  max-width: 100px;
  border-radius: 5px;
  margin-left: 10px;
}

hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid #ddd;
}
.images-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  margin-top: 10px;
  padding-bottom: 10px;
}

.images-scroll img {
  height: 140px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.images-scroll img:hover {
  transform: scale(1.05);
  cursor: pointer;
}


.event-box, .news-box {
  background: #fff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scrollable-photos {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  margin-top: 10px;
}

.scrollable-photos img {
  height: 120px;
  border-radius: 8px;
  flex-shrink: 0;
}
.complaint-messages {
  margin-top: 30px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
}

.complaint-box {
  background-color: #fff;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 6px;
}



.updates-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin: 40px 0;
}

.update-box {
  flex: 1 1 45%;
  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: #000000;
  margin-bottom: 10px;
}

.update-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.update-box li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.update-box li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .updates-section {
    flex-direction: column;
  }

  .update-box {
    flex: 1 1 100%;
  }
}
.event-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.event-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #ccc;
}

.event-info h4 {
  margin: 0;
  font-size: 17px;
  color: #333;
}

.event-info p {
  margin: 4px 0 0;
  color: #666;
  font-size: 14px;
}
.popup-overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 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;
}
.news-item {
  border: 1px solid #ddd;
  border-radius: 10px;
   border-right: 5px solid #caaa00;
  padding: 15px;
  margin: 10px 0;
  background-color: #fff;
  transition: 0.3s;
}

.news-item:hover {
  background-color: #f5f5f5;
  transform: scale(1.01);
}

.news-item h4 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #000000;
}

.news-item p {
  margin: 4px 0;
  color: #444;
}



.content-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.news-card {
  background-color: #fff;
  border-radius: 10px;
   border-right: 5px solid #caaa00;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px 20px;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: scale(1.02);
}

.news-card h3 {
  color: #000000;
  font-size: 18px;
  margin-bottom: 10px;
}

.news-card p {
  margin: 5px 0;
  font-size: 15px;
  color: #444;
}




