/* Import Arabic Fonts */
@import url("https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cairo:wght@300;400;600;700&display=swap");

@font-face {
  font-family: "HelveticaArabi";
  src: url("fonts/alfont_com_هلفيتيكا-عربي-.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Palestine";
  src: url("fonts/alfont_com_Palestine-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Elgharib-Lifta-Black-Line";
  src: url("fonts/alfont_com_Elgharib-Lifta-Black-Line.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: "Cairo", sans-serif;
  direction: rtl;
  background-color: #ffffff;
  color: #000;
  font-size: 16px;
  line-height: 1.6;
  padding-top: 25px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 1;
}
.animate-slide-up {
  animation: slideUp 1s ease-out forwards;
  opacity: 1;
}

/* نهاية الهيدر */

/* Section 1 Styles */
.main-content {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #ffffff;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #3498db;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2980b9;
}

/* Featured Story Card (Right Column) */
.featured-story-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  height: 386px;
  width: 81%;
  display: flex;
  align-items: flex-end;
  padding: 0;
  color: white;
  margin-top: 1px;
  margin-bottom: 0;
}

.featured-story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  display: block;
}

.featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 4px 4px;
  z-index: 1;
}

.featured-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px;
}

.featured-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
}

.featured-logo-text {
  text-align: center;
}

.featured-logo-text .arabic-text {
  font-family: "Cairo", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
}

.featured-logo-text .english-text {
  font-family: "Cairo", sans-serif;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* تعديل العنوان ليكون تحت الصورة */
.featured-title {
  font-family: "Palestine", sans-serif;
  font-size: 1.9rem;
  font-weight: 200 !important; /* تأكيد إزالة البولد */
  font-style: normal; /* تأكد أنه مش italic */
  line-height: 1;
  margin-top: 15px;
  margin-bottom: 0;
  color: #333;
  text-shadow: none;
}
.story-thumbnail {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0; /* مهم */
}


/* Left Column: Small Story Cards */
.col-lg-4 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
}
.story-row {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
    margin-bottom: 20px;
  overflow: hidden;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
  height: 140px;
  direction: rtl;

  /* ✅ التكبير */
  width: 130%; /* أو 110% حسب ذوقك */

  /* ✅ الإزاحة */
  transform: translateX(
    140px
  ); /* حرك البطاقة لليسار (يظهر كأنها لليمين في RTL) */
}
.text-card {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* ✅ فراغ صغير على يمين النص (بينه وبين الصورة) */
  margin-right: 10px;
}
.image-card {
  position: relative;
  width: 200px;
  height: 150px;
  overflow: hidden;
  border-radius: 0 !important;
}
.story-row,
.image-card,
.image-card img {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.image-card {
  position: relative;
}

.color-strip,
.color-strip1,
.color-strip2 {
  position: absolute;
  right: 0;
  top: 0;
  width: 8px;
  height: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  z-index: 2; /* ✅ هذا هو المفتاح */
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}

.color-strip3 {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 12px;
  background-color: #5CE1E6;
  border-radius: 0 !important;
}

/* ✅ الخط الملون بجانب الصورة من الجهة اليسرى */

.color-strip1 {
  position: absolute;
  right: 0; /* ✅ بدلاً من left */
  top: 0;
  height: 100%;
  width: 12px;
  background-color: #FFF559; /* لون الخط */
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.color-strip2 {
  position: absolute;
  right: 0; /* ✅ بدلاً من left */
  top: 0;
  height: 100%;
  width: 12px;
  background-color: #8C52FF; /* لون الخط */
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.color-strip3 {
  position: absolute;
  right: 0; /* ✅ بدلاً من left */
  top: 0;
  height: 100%;
  width: 12px;
  background-color: #5CE1E6; /* لون الخط */
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.card-title {
  font-size: 1.1rem; /* حجم الخط */
  font-family: "Palestine", sans-serif; /* نوع الخط */
  font-weight: 200; /* السماكة */
  color: #000; /* لون الخط */
  margin-bottom: 8px;
}


.card-description {
  font-size: 1rem; /* حجم الخط */
  font-family: "HelveticaArabi", sans-serif; /* نوع الخط */
  font-weight: 600; /* السماكة */
  color: #333; /* لون الخط */
  line-height: 1.6; /* ارتفاع السطر */
  opacity: 0.85;
}

.text-card {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-card h3 {
  font-family: "Cairo", sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.3;
}
/* تنسيق القائمة الأساسية */
.category-news-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 14px;
}

/* الأيقونة */
.category-news-list .list-icon {
  width: 20px;
  height: 20px;
}
.category-image {
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* الحركة عند الوقوف */
.category-image:hover {
  transform: scale(1.03); /* تكبير خفيف */
}

/* حركة عند الـ hover */
.category-news-list li:hover {
  background-color: #ffffff;
  transform: translateX(-4px);
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); */
}

/* في الشاشات الصغيرة (الجوال) - نخلي التنسيق عمودي */
@media (max-width: 768px) {
  .category-news-list li {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    gap: 4px;
  }
}
/* الصورة الكبيرة */
.category-image.large-image {
  transition: transform 0.4s ease;
  border-radius: 10px;
}

.category-image.large-image:hover {
  transform: scale(1.02);
}

/* العنوان الكبير */
.category-article-title1 {
  transition: color 0.3s ease, transform 0.3s ease;
  font-weight: bold;
  margin-top: 12px;
}

.category-article-title1:hover {
  color: #000000; /* لون جذاب يناسب اقتصاد الناس */
  transform: translateX(-5px);
}

.text-card p {
  font-family: "Cairo", sans-serif;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  opacity: 0.8;
}
.category-news-list1 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-news-list1 li {
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.category-news-list1 li a {
  display: flex;
  align-items: start;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.category-news-list1 li a:hover {
  background-color: #ffffff;
  transform: translateX(-5px);
  color: #000000;
}

/* حجم ونوع الخط */
.category-news-list1 li a span {
  font-size: 19px; /* عدل الحجم زي ما بدك */
  font-family: 'HelveticaArabi', sans-serif; /* أو أي خط تاني */
  font-weight: 500; /* ممكن تخليه bold أو normal حسب الحاجة */
  line-height: 1.6;
}

.list-icon {
  width: 18px;
  height: 18px;
}

/* Color Classes */
.light-blue {
  background-color: #ccf1f6;
}

.light-purple {
  background-color: #eabcf1;
}

.light-yellow {
  background-color: #f2e879;
}

/* Responsive Design */
@media (max-width: 991px) {
  .col-lg-4 {
    margin-bottom: 30px;
  }

  .featured-story-card {
    height: 300px;
  }

  .featured-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .featured-story-card {
    height: 250px;
  }

  .featured-title {
    font-size: 1.2rem;
    text-align: center;
  }

  .story-row {
    height: auto;
    min-height: 100px;
  }

  .text-card h3 {
    font-size: 1rem;
  }

  .text-card p {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .main-content {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .featured-story-card {
    height: 200px;
  }

  .featured-title {
    font-size: 1.2rem;
  }
}

/* السكشن 2 */
.second-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background-color: #ffffff;
}

.category-header {
  font-family: "Palestine", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.custom-video-wrapper {
  position: relative;
  width: 100%;
  height: 500px; /* ← اتحكم بالارتفاع من هنا */
  overflow: hidden;
}

.custom-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.email-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.email-modal-content {
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  font-family: 'Cairo', sans-serif;
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); */
  position: relative;
}

.email-modal-content h5 {
  margin-bottom: 20px;
}

.email-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.submit-btn {
  background-color: #d35400;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #b34700;
}

.close-btn {
  position: absolute;

  top: 10px;
  left: 15px;
  font-size: 22px;
  color: #999;
  cursor: pointer;
}
.close-btn1 {
  position: absolute;
    font-family: 'Cairo', sans-serif;

  top: 10px;
  left: 15px;
  font-size: 15px;
  color: #060606;
  cursor: pointer;
}
.category-card {
  border-radius: 12px;
  padding: 16px;
  height: 280px;
  text-align: center;
}

.category-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
.large-image {
  height: 280px; /* فقط للصورة الرابعة */
}
.category-article-title {
  font-family: "Cairo", sans-serif;
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.category-news-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end; /* 🔹 محاذاة لليمين */
  text-align: right;         /* 🔹 النص لليمين */
}

.category-news-list .list-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.category-news-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Cairo", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 8px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 6px;
}

.category-news-list li:last-child {
  border-bottom: none;
}

.light-green {
  background-color: #FEFFC4;
}

.light-orange {
  background-color: #f4cab2;
}

.light-purple {
  background-color: #ddb7f7;
}
.category-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-news-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-family: "Cairo", sans-serif;
  font-size: 1rem;
}

.category-news-list .list-icon {
  width: 18px;
  height: 18px;
  margin-top: 4px; /* علشان تتوازن مع النص */
}

.category-article-title {
  font-family: "Palestine", sans-serif;
  font-size: 1.1rem;
  font-weight: normal;
  color: #333;
  margin: 0;
  line-height: 1.8;
  letter-spacing: 0.5px;
  text-align: center;
}

/* تأثير عند المرور */
.category-article-title1:hover {
  transform: translateX(-5px);   /* تحريك لليسار */
  color: #161515;                /* تغيير اللون */
}

.category-article-title1 {
  font-family: "Palestine", sans-serif;
  font-size: 1.9rem;
  font-weight: normal;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #000000;
  margin: 0;
  line-height: 1.8;
  letter-spacing: 0.5px;
  text-align: right; /* 🔹 المحاذاة لليمين */
}

.category-news-list1 {
  font-family: "HelveticaArabi", sans-serif;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
  padding: 0;
  margin: 0;
  list-style: none;
}
.category-news-list,
.category-news-list li,
.category-news-list li i {
  font-family: "Palestine", sans-serif !important;
  font-size: 1.1rem !important;
  color: #333;
  line-height: 1.8;
}
section {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
section > *:last-child {
  margin-bottom: 0 !important;
}

.section-divider {
  border: none;
  border-top: 2px dotted #000000;
  margin: 40px 0;
  width: 99vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.section-photoart {
  border: none;
  border-top: 2px dotted #000000;
  margin: 40px 0;
  width: 99vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.category-icon {
  width: 24px;
  height: 24px;
  margin-left: 6px;
  vertical-align: middle;
  object-fit: contain;
}
.custom-row {
  display: flex;
  flex-wrap: wrap;
}

.custom-small-col {
  flex: 0 0 21.6666%;
  max-width: 21.6666%;
  margin-bottom: 20px;
}

.custom-large-col {
  flex: 0 0 35%;
  max-width: 35%;
  margin-bottom: 20px;
}
/* بداية سكشن 3 */
.articles-section {
  background-color: #ffffff;

  padding: 16px 0;
  margin-top: 0;
  text-align: right;
}

.section-title {
  font-family: "Palestine", sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: right;
  justify-content: right;
  gap: 8px;
  color: #333;
}

.articles-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}
.article-item {
  width: 200px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;     /* يوسّط المحتوى أفقي */
  justify-content: flex-start; /* يبدأ من الأعلى بدون مسافات إجبارية */
}

.square-thumb {
  width: 160px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2px; /* مسافة صغيرة فقط بين الصورة والعنوان */
}

.article-author {
  font-size: 18px;
  font-weight: 700;
  font-family: "Palestine", sans-serif;

  max-width: 160px;
  margin: 10px; /* شيل المسافات تماماً */
  line-height: 1.2;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



.article-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s;
}

.article-item img:hover {
  transform: scale(1.03);
}

/* سكشن5 */
.video-library {
  padding: 40px 0;
  background-color: #ffffff;
}

.video-library .section-title {
  font-family: "Palestine", sans-serif;
  font-size: 2rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  color: #333;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.small-videos {
  flex: 1 1 45%;
  max-width: 45%;
  border: 2px solid #ccc;
  border-radius: 20px;
  padding: 20px;
}

.small-video-grid {
  display: grid;
  grid-template-columns: 3fr 3fr;
  gap: 20px;
}

.video-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
}

.video-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.video-card .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 12px;
  border-radius: 50%;
}

.video-title {
  margin-top: 8px;
  font-family: "Palestine", sans-serif;
  font-size: 1.1rem;
  color: #000;
  line-height: 1.4;
}

.featured-video {
  flex: 1 1 50%;
  max-width: 50%;
}

.featured-video-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.featured-video-card img {
  width: 100%;
    height: 500px;
  display: block;
  border-radius: 12px;
}


.play-icon-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 12px;
  border-radius: 50%;
}

.video-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(60, 57, 55, 0.85); /* بني غامق شفاف */
  padding: 35px 25px 30px; /* Top, Sides, Bottom */
  color: #fff;
  text-align: center;
  font-family: "Palestine", sans-serif;
  line-height: 1.9;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  backdrop-filter: blur(0.5px); /* تأثير خفيف اختياري */
}



.video-text-overlay h4 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.video-text-overlay p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.featured-video-caption {
  background: rgba(111, 58, 29, 0.75);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-top: 16px; /* ✨ هذه تعمل المسافة */
}

.featured-video-caption h4 {
  font-family: "Palestine", sans-serif;
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 8px;
}
.featured-video-caption p {
  font-family: "Cairo", sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}
/* سكشن 6 */
.social-participation {
  background-color: #ffffff;
  padding: 30px 0;
  text-align: right;
}

.participation-box {
  display: flex;
  align-items: center;
  gap: 25px;
  background-color: #e4f193;
  padding: 10px 20px;
  border: 3px dotted #000000;
  border-radius: 25px;
  flex-wrap: wrap;
  width: 92%; /* 🔧 تصغير العرض الكلي */
  margin: 0 auto; /* توسيط البوكس */
}

.participation-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.participation-title {
  font-family: "Palestine", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  color: #333;
  line-height: 1.2;
}

.participation-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.participation-description {
  flex: 1;
  max-width: 100%; /* 🔁 السماح بتمدد النص */
  font-family: "Elgharib-Lifta-Black-Line", sans-serif;
  font-size: 1.6rem;
  color: #333;
  line-height: 1.5;
  white-space: normal; /* ✅ إلغاء منع التفاف النص */
  overflow: visible; /* ✅ إلغاء الإخفاء */
  text-overflow: unset;
  text-align: center;
  direction: ltr;
}

@media (max-width: 768px) {
  .participation-box {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 15px;
      /* أصغر من قبل */

    width: 90%; /* أصغر شوي للموبايل */
  }

  .participation-title {
    font-size: 0.8rem;
  }

  .participation-icon {
    width: 50px;
    height: 50px;
  }

  .participation-description {
    font-size: 1rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: 100%;
  }
}

/* سكشن 7 */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  direction: rtl;
}

.content-wrapper {
  background-color: #ffffff;

  display: flex;
  gap: 20px;
  padding: 20px;
  max-width: 1300px;
  margin: auto;
  box-sizing: border-box;
}

.culture-section {
  flex: 0 0 65%;

  padding: 20px;
  border-radius: 12px;
  /* box-shadow: 0 0 0px rgba(255, 255, 255, 0.1); */
}

.blog-section {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* Culture Big Item */
.culture-section {
  padding: 20px;
}

.culture-title {
  font-family: "Palestine", sans-serif;
  font-size: 1.9rem !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.culture-title img {
  width: 36px;
  height: auto;
}

/* ✅ أعلى السكشن: صورة كبيرة + النص */
.culture-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.culture-top .culture-text {
  flex: 1;
  min-width: 250px;
}

.culture-top .culture-text h3 {
  font-family: "Palestine", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.culture-top .culture-text p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.culture-big-image {
  width: 350px;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  max-width: 100%;
}

/* ✅ شبكة الصور تحت */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.culture-card img {
  width: 250px;
  height: 160px;
  border-radius: 12px;
  object-fit: cover;
  max-width: 100%;
}

.culture-card h4 {
  font-family: "Palestine", sans-serif;
  font-size: 1.1rem;
  margin-top: 10px;
}

/* Blog List */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
}

.blog-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-item h4 {
  font-size: 1rem;
  color: #333;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column;
  }

  .culture-section,
  .blog-section {
    flex: 0 0 100%;
  }

  .culture-grid {
    flex-direction: column;
  }

  .culture-card {
    flex: 1 1 100%;
  }
}
.section-title {
  font-family: "Palestine", sans-serif;
  font-size: 1.9rem !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-title img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.video-title {
  font-family: "Palestine", sans-serif;
  font-size: 1.4rem !important;
  color: #333;
  line-height: 1.3;
  margin: 10px 0;
}
.blog-image {
  width: 105px !important;
  height: 100px;
  border-radius: 50%; /* ⬅️ يخلي الصورة دائرية بالكامل */
  object-fit: cover; /* ⬅️ يضمن أن وجه الشخص يظل واضح */
  border: 2px solid #fff; /* (اختياري) إطار أبيض ناعم حول الصورة */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  */
}

.culture-title {
  font-family: "Palestine", sans-serif;
  font-size: 2.5rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  box-shadow: none; /* شيل الشدو */
}

.culture-title img {
  width: 36px;
  height: auto;
}
.culture-description {
  font-family: "HelveticaArabi", sans-serif;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  margin-top: 10px;
}
/* سكشن 8 */
.accountability-section {
  background-color: #ffffff;
  padding: 30px 0;
  text-align: right;
}


.accountability-box {
  display: flex;
  align-items: center;
  gap: 25px;
  background-color: #e7e1f3;
  padding: 10px 20px;
  border: 3px dotted #000000;
  border-radius: 25px;
  flex-wrap: wrap;
  width: 80%;       /* ✅ كان 92% */
  margin: 0 auto;
}

.accountability-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.accountability-title {
  font-family: "Palestine", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  color: #333;
  line-height: 1.2;
}

.accountability-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.accountability-left {
  flex: 1;
  max-width: 100%;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accountability-description {
  font-family: "Elgharib-Lifta-Black-Line", sans-serif;
  font-size: 1.6rem;
  color: #333;
  line-height: 1.5;
  white-space: normal;
  overflow: visible;
  text-align: center;
  direction: rtl;
}

/* ✅ موبايل */
@media (max-width: 768px) {
  .accountability-box {
    flex-direction: column;
    text-align: center;
    gap: 15px;

    padding: 15px;
    width: 85%;
  }

  .accountability-title {
    font-size: 1rem;
  }

  .accountability-icon {
    width: 30px;
    height: 30px;
  }

  .accountability-description {
    font-size: 0.7rem;
    white-space: normal;
    overflow: visible;
    text-align: center;
  }
}

/* سكشم9 */
.photoart-section {
  background-color: #ffffff;

  padding: 30px 20px;
  direction: rtl;
  max-width: 1200px;
  margin: 0 auto;
}

.photoart-title {
  font-family: "Palestine", sans-serif;
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.modalTitle {
  font-family: "HelveticaArabi", sans-serif;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 30px;
}
.photoart-title img {
  width: 28px;
  height: 28px;
}

.photoart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.photoart-card {
  text-align: center;
  transition: transform 0.3s ease;
}
/* يغطي السكشن لكن بدون تعتيم */
.section-modal {
  position: fixed;
  inset: 0; /* اختصار top/left/right/bottom */
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}

.section-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 25px 20px;
  width: min(400px, 90%);
  text-align: center;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);

  /* ✅ التوسيط */
  margin: auto;
  animation: fadeInUp 0.4s ease; /* حركة لطيفة */
}

/* زر الإغلاق */
.section-modal-content .close-btn{
  position:absolute; top:8px; right:12px; font-size:20px; cursor:pointer;
}

/* إزالة أي خطوط/تزيين وروابط زرقاء داخل المودال */
.section-modal-content,
.section-modal-content *{
  text-decoration: none !important;
}
.section-modal-content a{
  color: inherit !important;
  border-bottom: 0 !important;
  outline: none !important;
}
.section-modal-content a:focus,
.section-modal-content button:focus,
.section-modal-content input:focus{
  outline: none !important;
  box-shadow: none !important;
  border-color: #ddd;         /* اختياري: لون هادئ للفوكس */
}

/* عناصر الإدخال */
.section-modal-content .email-input{
  width:100%; padding:10px 12px; border:1px solid #ddd; border-radius:10px; margin-bottom:10px;
}
.section-modal-content .submit-btn{
  background:#8f1eae; color:#fff; border:0; border-radius:10px; padding:10px 14px; font-weight:700; cursor:pointer;
}

/* أنيميشن لطيف */
@keyframes fadeInUp{ from{transform:translateY(20px);opacity:0} to{transform:translateY(0);opacity:1} }
/* إزالة التزيين واللون الأزرق من كل الروابط */
a {
  text-decoration: none !important;
  color: inherit !important;
}

/* لو بدك تغيّر اللون الافتراضي للعنوان */
.photoart-caption a,
.photoart-caption {
  color: #000 !important;   /* أسود، غيّره للون اللي بدك */
  font-weight: 600;         /* اختياري: ثخانة للنص */
}

.photoart-cover {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
  transition: transform 0.3s ease;
}

.photoart-cover:hover {
  transform: scale(1.02);
}

.photoart-caption {
  margin-top: 10px;
  font-family: "Palestine", sans-serif;
  font-size: 1.2rem;
  color: #333;
}
.section-photoart {
  border: none;
  border-top: 3px dotted #000;
  margin: 40px 0;
}
/* سكشن10 */
/* ===== Split layout ===== */
.split-section{
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;               /* ✅ اسمح بالنزول لسطر ثاني */
}

/* أعمدة الديسكتوب */
.life-container{
  flex: 0 0 35%;
  max-width: 40%;
  min-width: 280px;              /* تأمين حد أدنى */
}
.consultations-section{
  flex: 0 0 65%;
  max-width: 55%;                /* ✅ تأكد من المسافة العادية */
  min-width: 320px;
}

/* ===== عنوان حياتنا ===== */
.life-title{
  font-family: "Palestine", sans-serif;
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  margin-right: 6%;
}
.life-title img{ width:28px; height:28px; }

/* ===== الصندوق المنقّط ===== */
.life-section{
  border: 1px dashed #030303;
  border-radius: 12px;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 90%;
  max-width: 800px;
  margin-right: auto;            /* يبقى يمين مع RTL */
  margin-left: 0;
}

/* ===== بطاقة حياتنا ===== */
.life-card{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  padding: 10px 15px;
  gap: 15px;
  height: 140px;
  box-sizing: border-box;
  background: #fff;
}

/* الصورة */
.life-card img{
  width: 230px;
  height: 130px !important;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* النص */
.life-text{ flex:1; text-align:right; }
.life-text h4{
  font-family: "Palestine", sans-serif;
  margin-bottom: 8px;
  font-size: 1.2rem; color:#222;
}
.life-text p{
  font-size: .95rem;
  font-family: "HelveticaArabi", sans-serif;
  color:#555; line-height:1.6;
}

/* ===== نقاط التكسّر (ريسبونسف) ===== */

/* تابلت وأصغر: وسّط صندوق حياتنا */
@media (max-width: 767px){
  .life-section{ margin: 0 auto; }
}

/* ≤ 992px: خلي العمودين صفين فوق بعض */
@media (max-width: 992px){
  .life-container,
  .consultations-section{
    flex: 0 0 100%;
    max-width: 100%;
  }
  .life-title{ margin-right: 0; text-align: center; justify-content: center; }
}

/* ≤ 768px: قلّب بطاقة حياتنا عموديًا والصورة تتمدّد */
@media (max-width: 768px){
  .life-card{
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }
  .life-card img{
    width: 100%;
    height: auto !important;      /* ✅ لا تكسر الارتفاع */
    max-height: 220px;
  }
}

/* ≤ 420px: ضبط هوامش وتباعد */
@media (max-width: 420px){
  .split-section{ gap: 16px; }
  .life-card{ padding: 10px 12px; }
}
   /* تقسيم العمودين في سكشن split إذا ما كان موجود */
        .split-section {
            display: flex;
            gap: 20px;
            align-items: flex-start;
            flex-wrap: wrap;
        }

        .life-container {
            flex: 1 1 55%;
        }

        .consultations-section {
            flex: 1 1 45%;
        }

        /* بطاقات الاستشارات */
        .consultation-card {
            background: #fff;
            border: 1px solid #e7ebef;
            border-radius: 22px;
  padding: 18px 18px;        /* كان 20px قللناه */
            /* box-shadow: 0 6px 18px rgba(0, 0, 0, .06); */
            transition: transform .2s ease, box-shadow .2s ease;
        }

        .consultation-card:hover {
            transform: translateY(-3px);
            /* box-shadow: 0 10px 22px rgba(0, 0, 0, .08); */
        }

        .consultation-icon {
      width: 60px;
  height: 60px;
  font-size: 24px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            margin-inline: auto;
            color: #0A2C38;
            background: #edf2f7;
        }

        .business-card .consultation-icon {
            background: #e6f8f0;
        }

        .law-card .consultation-icon {
            background: #e8f0ff;
        }

        .health-card .consultation-icon {
            background: #fff0ec;
        }

        .consultation-title {
            font-family: "Palestine", sans-serif;
            text-align: center;
            color: #0A2C38;
           margin: 10px 0 4px;
  font-size: 1.1rem;
        }

        .consultation-description {
            font-family: "Cairo", sans-serif;
            color: #6c757d;
            text-align: center;
            line-height: 1.9;
  margin-bottom: 10px;
  font-size: 0.9rem;        }

        .consultation-features {
            list-style: none;
            padding: 0;
            margin: 0 0 18px;
        }

        .consultation-features li {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
             padding: 6px 0; /* كان 9px قللناه */
  font-size: 0.9rem;
            border-bottom: 1px dashed #e5e7eb;
            font-family: "Cairo", sans-serif;
            color: #2f3b45;
        }

        .consultation-features li:last-child {
            border-bottom: none;
        }

        .consultation-features li::after {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            font-size: 14px;
            color: #16a34a;
        }

     .btn-consultation {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 28px;
    background: #de876d;
    color: #fff !important; /* خط أبيض */
    text-decoration: none;
    font-weight: 700;
    font-family: "Cairo", sans-serif;
    transition: filter .15s ease, transform .05s ease;
}

   .btn-consultation1 {
            display: block;
            width: 100%;
            text-align: center;
  padding: 8px 12px;
  font-size: 0.9rem;
              border-radius: 28px;
            background: #2bb9c3;
    color: #fff !important; /* خط أبيض */
            text-decoration: none;
            font-weight: 700;
            font-family: "Cairo", sans-serif;
            transition: filter .15s ease, transform .05s ease;
        }
           .btn-consultation2 {
            display: block;
            width: 100%;
            text-align: center;
  padding: 8px 12px;
  font-size: 0.9rem;
              border-radius: 28px;
            background: #05975d;
    color: #fff !important; /* خط أبيض */
            text-decoration: none;
            font-weight: 700;
            font-family: "Cairo", sans-serif;
            transition: filter .15s ease, transform .05s ease;
        }
        .btn-consultation:hover {
            filter: brightness(1.08);
        }

        .btn-consultation:active {
            transform: translateY(1px);
        }

        /* استجابة */
        @media (max-width: 992px) {

            .life-container,
            .consultations-section {
                flex: 1 1 100%;
            }
        }

/* الفوتؤ */
.site-footer {
  background-color: #ffffff;

  padding: 40px 20px;
  direction: rtl;
  font-family: "Palestine", sans-serif;
}

.newsletter-button {
  background-color: #f5f7c3;
  border: none;
  padding: 10px 20px;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 20px;
  transition: background-color 0.3s;
}

.newsletter-button:hover {
  background-color: #e1e4aa;
}
.instagram-stories-section {
  background: #ffffff;
  direction: rtl;
}

.section-title {
  font-family: "Palestine", sans-serif;
  font-size: 1.7rem !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.stories-wrapper {
  position: relative;
  overflow: visible; /* مهم حتى لا يُقص الزر */
  padding: 0 80px; /* لإعطاء مساحة للأسهم يمين ويسار */
}

.story-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  z-index: 10;
  cursor: pointer;
}

.story-nav-left {
  left: -60px; /* خروج الزر عن الحاوية */
}

.story-nav-right {
  right: -60px;
}


.stories-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 10px;
  display: flex;

  /* لإخفاء الشريط */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}
.story-image {
  flex: 0 0 auto;
  width: 140px;
  margin: 0 6px;
  border-radius: 12px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.stories-container::-webkit-scrollbar {
  display: none; /* Chrome and Safari */
}
/* Responsive */
@media (max-width: 768px) {
  .story-image {
    width: 150px;
    height: 200px;
  }

  .stories-container {
    gap: 15px;
  }

  .story-nav {
    padding: 8px 12px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .story-image {
    width: 120px;
    height: 160px;
  }

  .stories-container {
    gap: 10px;
  }
}

.section-heading-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  direction: rtl;
}

.heading-icon {
  width: 28px;
  height: auto;
}

.section-title {
  font-family: "Palestine", sans-serif;
  font-size: 2rem;
  margin-bottom: 30px;
  display: flex;
  align-items: right;
  justify-content: right;
  gap: 8px;
  color: #333;
}

/* الخط السفلي */
.section-underline {
  border: none;
  border-top: 3px dotted #000;
  margin: 40px 0;
  width: 95vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
/* سكشن البودكاست */
.podcast-section {
  background-color: #f6f3fa; /* لون خلفية فاتح بنفسجي */
  padding: 60px 0;
  border-radius: 20px;
  margin-top: 40px;
}

/* عنوان القسم */
.podcast-section .section-title {
  font-family: "Palestine", sans-serif;
  font-size: 2.2rem;
  color: #3c1361;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start; /* محاذاة لليسار */
}

/* البطاقات */
.podcast-section .article-item {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08); */
  transition: transform 0.3s ease;
}

.podcast-section .article-item:hover {
  transform: translateY(-5px);
}
/* حاوية مربعة للصورة */



/* الصورة داخل المربع */
.square-thumb .article-photo{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;      /* يقص الزوايد */
  display: block;
}

/* العنصر */
.article-item{ text-align: center; }



/* ✅ استجابة عامة لكل العناصر التي لا تغطيها الميديا كويريز */
@media (max-width: 1200px) {
  .custom-small-col, .custom-large-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 992px) {
  .custom-small-col, .custom-large-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .video-grid {
    flex-direction: column;
  }

  .featured-video,
  .small-videos {
    max-width: 100%;
  }

  .split-section {
    flex-direction: column;
  }

  .advice-cards {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .culture-top {
    flex-direction: column;
    align-items: center;
  }

  .culture-big-image {
    width: 100%;
    height: auto;
  }

  .culture-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .advice-card {
    width: 100%;
  }

  .participation-box,
  .accountability-section {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .life-card {
    flex-direction: column;
    height: auto;
    align-items: flex-start;
  }

  .life-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
  }

  .story-row {
    flex-direction: column;
    transform: translateX(0); /* إلغاء الإزاحة */
    width: 100%; /* ترجع الحجم الطبيعي */
  }

  .featured-story-card {
    width: 100%;
  }
}
/* موبايل فقط (≤ 768px) */
@media (max-width: 768px){
  /* عنوان القسم (الأيقونة + النص) بالوسط */
  .consultations-section .section-title{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  /* وسّط الأعمدة داخل الصف */
  .consultations-section .row{
    justify-content: center !important;
  }

  /* خلي كل عمود يوسّط البطاقة */
  .consultations-section .col-lg-4,
  .consultations-section .col-md-6{
    display: flex;
    justify-content: center;
  }

  /* حجم أنيق للبطاقات وتوسيطها */
  .consultations-section .consultation-card{
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    text-align: center;
  }

  /* تحسينات داخل البطاقة */
  .consultations-section .consultation-icon{
    margin-inline: auto;
    width: 56px;
    height: 56px;
  }
  .consultations-section .consultation-features li{
    justify-content: center;
    gap: 8px;
  }
  .consultations-section .btn-consultation{
    max-width: 260px;
    margin-inline: auto;
  }

  /* الزر العائم: يمين الشاشة بقوة */
  .floating-btn{
    position: fixed !important;
    bottom: 20px !important;
    right: 16px !important;
    left: auto !important;

    /* دعم المنطقيات */
    inset-block-end: 20px !important;
    inset-inline-end: 16px !important;
    inset-inline-start: auto !important;

    transform: none !important;     /* يلغي translateX(-50%) */
    translate: none !important;      /* إن وُجد */
    margin: 0 !important;
    z-index: 9999 !important;
  }

  /* التغطية لو كان عليه ستايل إنلاين أو اسم مختلف */
  [class*="floating"][style]{
    position: fixed !important;
    right: 16px !important;
    left: auto !important;
    bottom: 20px !important;
    transform: none !important;
  }
}
/* بالموبايل: عنوان "مستشارك الخاص" على اليمين */
@media (max-width: 768px){
  .consultations-section .section-title{
    justify-content: flex-start !important; /* يمين */
    text-align: right !important;
    gap: 8px;
        padding-inline-start: 12px;  /* في RTL = padding-right */

  }
  .consultations-section .section-title img{
    margin-left: 6px;   /* فراغ بسيط بين الأيقونة والكلمة */
    margin-right: 6px;
  }
}
