 /*   Navbar Styles       */
body {
  font-family: 'Cairo', sans-serif;
}
.navbar {
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-wrap: wrap;
  direction: rtl;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 10px 15px;
  position: relative;
  min-height: 100px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
 
.navbar img {
  height: 80px;
  margin-right: 12px;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.navbar a {
  color: black;
  padding: 8px 15px;
  text-decoration: none;
  text-align: center;
  margin: 0 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.navbar-menu {
  display: flex;
  flex-wrap: wrap;
  font-size: 18px;
  justify-content: center;
  align-items: center;
  flex: 1;
  margin: 0 20px;
  padding: 0;
  list-style: none;
}

.navbar-menu a {
  font-size: 17px;
  position: relative;
  padding: 8px 15px;
  margin: 0 5px;
  white-space: nowrap;
}

.navbar-menu a:hover {
  color: #a80c0c;
  background-color: transparent;
}

.navbar .navbar-brand {
  color: black;
  font-size: 18px;
  font-weight: bold;
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.navbar-toggler {
  display: none;
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 20px;
  cursor: pointer;
  margin-right: 10px;
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
  .navbar {
    padding: 10px;
    min-height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar > a {
    display: flex;
    align-items: center;
    text-align: right;
    margin: 0;
    transform: scale(1);
    flex-grow: 1;
  }
  
  .navbar-brand {
    text-align: right;
    margin: 0 10px;
    line-height: 1.2;
  }
  
  .navbar-brand div:first-child {
    font-size: 16px !important;
  }
  
  .navbar-brand div:last-child {
    font-size: 13px !important;
    margin-top: 2px !important;
  }
  
  .navbar > a img {
    width: 60px;
    height: auto;
    margin-left: 10px;
  }
  
  .navbar-toggler {
    display: block;
    margin: 0;
    padding: 10px;
    font-size: 24px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
  }
  
  .navbar-menu {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    background: white;
    margin: 10px 0 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-menu a {
    width: 100%;
    text-align:center;
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px solid #f5f5f5;
  }
  
  .dropdown-content {
    position: static;
    box-shadow: none;
    display: none;
    padding: 0;
    background-color: #f9f9f9;
    
  }
  
  .dropdown.active .dropdown-content {
    display: block;
  }
  
  .dropdown .dropbtn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    margin: 0;
    background: none;
    border: none;
  }
  
  .navbar-buttons {
    order: 4;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    padding: 15px 20px;
    border-top: 1px solid #7e7d7d69;
  }
  
  .navbar-buttons a {
    margin: 0;
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
    min-width: 100px;
    font-size: 14px;
    flex: 1;
    max-width: 150px;
  }
}

/* Desktop Menu Styles */
@media (min-width: 992px) {
  .navbar-menu {
    display: flex !important;
  }
  
  .dropdown {
    position: relative;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    right: 0;
    border-radius: 4px;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .navbar-buttons {
    display: flex;
    gap: 10px;
  }
}
  
        /* القائمة المنسدلة */
 
 /* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  color: #333;
  padding: 8px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
  background: none;
  border: none;
  font-family: 'Cairo', sans-serif;
  white-space: nowrap;
}

.dropdown-arrow {
  margin-right: 5px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  right: 0;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.dropdown-content a {
  color: #333;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  text-align: right;
  transition: all 0.2s ease;
  font-size: 15px;
  font-family: 'Cairo', sans-serif;
  font-weight: normal;
  margin: 0;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #f8f8f8;
  color: #a80c0c;
  padding-right: 25px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Buttons */
.navbar-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 10px;
}

.btn-action {
  background: #8a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Active state for mobile menu */
.active .dropdown-arrow {
  transform: rotate(180deg);
}

/** الازرار الموجوده يسار navbar*/
.section-scroll.btn {
  font-size: 19px; /* حجم أكبر للنص */
  padding: 15px 25px; /* زيادة مساحة الحشو للزر */
  transition: all 0.3s ease; /* حركة سلسة للتأثيرات */
  color: #fff; /* نص أبيض بشكل افتراضي */
  background: #a80c0c; /* نفس اللون الأحمر */
  border-radius: 30px; /* استدارة أكثر للزر */
  display: inline-block;
  text-decoration: none;
  margin-left: 10px;
  margin-bottom: 10px;

}

.section-scroll.btn:hover {
  transform: scale(1.1); /* يكبر الزر عند المرور عليه */
  color: #ffffff; /* نص أبيض */
  background: #8a0a0a; /* يمكن تظليل اللون الأحمر قليلاً */
  box-shadow: 0 4px 10px rgba(171, 4, 4, 0.6); /* إضافة ظل لطيف */
}
 

/**  الخاص ب يحدث الان **/

#news-sidebar {
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  height: 100vh;
  background-color: #f9f9f9;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 1050;
  padding: 0;
  direction: rtl;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#news-sidebar.active {
  right: 0;
}

#news-sidebar .sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #fff;
  flex-shrink: 0;
  border-bottom: 1px solid #ddd;
}

#news-sidebar .sidebar-header h4 {
  margin: 0;
  font-weight: bold;
  color: #a80c0c;
  font-size: 22px;
}

#news-sidebar #close-news {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #a80c0c;
  line-height: 1;
}

#news-sidebar iframe {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: block;
  border: none;
}
 /*الزر العائم البريد الالكتروني  */ 
  .floating-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #a80c0c; /* أحمر */
            color: #fff;
            border: none;
            border-radius: 28px;
            min-width: 110px;
            height: 56px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1000;
            padding: 0 24px;
            transition: background 0.2s;
            font-weight: 500;
        }
        .floating-btn:hover {
            background: #a80c0c; /* أحمر غامق عند التحويم */
        }


.bg-red-custom {
  background-color: #a80c0c;
  color: white;
  padding: 60px 0 30px;
  font-size: 16px;
}

.rtl-footer {
  direction: rtl;
  text-align: right;
}

.footer-col {
  width: 100%;
  max-width: 23%;
  margin-bottom: 30px;
}

.footer-title {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-title a{
      color: #e0e0e0;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social-links a {
  display: inline-block;
  margin-left: 12px;
  font-size: 20px;
  color: #ffffff;
  transition: color 0.3s ease;
}

.footer-social-links a:hover {
  color: #a80c0c;
}

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

@media (max-width: 768px) {
  .footer-col {
    max-width: 100%;
    text-align: center;
  }

  .rtl-footer {
    text-align: center;
  }
}
.footer-sections {
  direction: rtl;
}

/*  إعدادات أساسية الصوره الرئيسية */

.home-section {
  margin: 0;
  padding: 0;
  position: relative;
}

.slider-container {
  position: relative;
  width: 100vw;
  height: 90vh;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: calc(100vw * 6);
  transition: transform 0.7s ease;
}

.slide {
  width: 100vw;
  position: relative;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
  display: block;
}

/*عنوان داخل الصورة  */
.caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.3);
  text-align: center;
  padding: 20px;
}

.caption .title {
  font-family: 'Cairo', sans-serif;
  font-size: 27px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.caption .subtitle {
  font-family: 'Cairo', sans-serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 3px;
}

/* الأسهم */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 50%;
  padding: 8px 12px;
  z-index: 20;
  cursor: pointer;
}
.slider-prev { left: 10px; }
.slider-next { right: 25px; }

.slider-prev i, .slider-next i {
  font-size: 2rem;
  color: #b30000;
}

/* responsive */
@media (max-width: 900px) {
  .slider-container {
    height: 50vh;
  }
  .slide img {
    height: 50vh;
  }
  .caption .title {
    font-size: 24px;
  }
  .caption .subtitle {
    font-size: 19.2px;
  }
}

/********قسم الاحصائيات********/

 .stats-clean {
    background:rgb(253, 250, 250);
    padding: 60px 0;
    direction: rtl;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    gap: 50px;
    width: 100%;
    box-sizing: border-box;
  }
  .stat-block {
    text-align: center;
    color:#a80c0c;
    padding: 0 15px;
    cursor: default;
  }
  .stat-icon {
    font-size: 40px;
    color: #a80c0c;
    margin-bottom: 12px;
  }
  .stat-number {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
  }
  .stat-label {
    font-size: 23px;
    font-weight: 700;
    color: #444;
    margin-top: 6px;
  }

  /* Responsive */
  @media (max-width: 650px) {
    .stats-clean {
      flex-direction: column;
      gap: 20px;
      padding: 20px 0;
    }
  }
  /*******الايقونات الموجوده في قسم البوابه الجغرافية********/ 
   /* تأثير تكبير بسيط عند التمرير على الصور */
  .icon-hover {
    transition: transform 0.3s ease;
  }
  .icon-hover:hover {
    transform: scale(1.1);
  }
  

    
 /****قسم الاهداف****/
  
   #goals .goals-title {
      text-align: center;
      font-size: 30px;
      margin-bottom: 50px;
      color: #b30000;
      font-weight: bold;
    }
    #goals .goals-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
    }
    #goals .goal-item {
      text-align: center;
      width: 150px;
    }

    #goals .goal-circle {
      background: #fff;
      border: 3px solid #b30000;
      border-radius: 50%;
      width: 150px;
      height: 150px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
      margin: 0 auto 15px auto;
    }
    #goals .goal-circle:hover {
      transform: scale(1.05);
      border-color: #800000;
      box-shadow: 0 6px 12px rgba(179, 0, 0, 0.4);
    }
    #goals .goal-circle i {
      font-size: 70px;
      color: #b30000;
      line-height: 1;
    }
    #goals .goal-text {
      font-size:1.6rem;
      color: #000000;
      line-height: 1.5;
      margin-top: 8px;
    }
    /****قسم المباديء***/
 .principle-box {
  width: 250px;
  background-color: #b30000;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  position: relative;
  transition: all 0.3s ease;
  text-align: center;
  cursor: default;
}

.principle-box:hover {
  background-color: #fff; 
  box-shadow: 0 6px 20px rgba(168, 12, 12, 0.15);
}

.principle-img img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.principle-box:hover .principle-img img {
  transform: scale(1.2);  

}

.principle-title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff !important;
}
.principle-desc {
  font-size: 14.5px;
  color: #444;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, height 0.4s ease;
}
.principle-box:hover .principle-desc {
  opacity: 1;
  height: auto;
  margin-top: 10px;
}
/**** قسم الشهداء*****/
 @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
 .memorial-wall {
  background: #1c1c1c;
  padding: 20px 20px;
  text-align: center;
}
.memorial-title {
  font-size: 2.5rem;
  color: #f5f5f5;
  margin-bottom: 10px;
}
.memorial-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 40px;
}
.slider-wrapper {
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}
.wall-slider {
  display: flex;
  gap: 30px;
  padding: 10px;
  justify-content: center;
  overflow: hidden;
  scroll-behavior: smooth;
  transition: transform 0.3s ease;
  width: fit-content;
  /* max-width: 860px;  <-- احذف أو علّق هذا السطر */
  margin: 0 auto;
}
.wall-slider::-webkit-scrollbar {
  display: none;
}
.memorial-card {
  background: #2c2c2c;
  border: 1px solid #444;
  border-radius: 12px;
  width: 260px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  position: relative;
}
.memorial-card:hover {
  transform: translateY(-5px);
}
.memorial-photo-frame {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.memorial-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  background: black;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0,0,0,0.7);
}
.memorial-card-info {
  padding: 15px;
  text-align: center;
}
.memorial-card-info h4 {
  font-size: 17px;
  margin: 5px 0;
  color: #fff;
}
.memorial-card-info .date {
  font-size: 14px;
  color: #e74c3c;
  margin-bottom: 8px;
}
.memorial-card-info .desc {
  font-size: 14px;
  color: #ddd;
}
 #memorial-wall .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 50px;
  color: #e74c3c;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s;
  padding: 4px;
}
.left-arrow {
  left: 70px;
}
.right-arrow {
  right: 70px;
}
  #memorial-wall.arrow:hover {
  color: #ff6b6b;
}
/* للتأكد من أن القسم قابل للتموضع النسبي */
.memorial-wall {
  position: relative;
}
/**contact page***/
 /* حاوية الكروت */
    #contact .container > div.flex-container {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: center;
      align-items: stretch;
      flex-direction: row;
      width: 100%;
    }
    /* كرت النموذج وكرت معلومات الاتصال */
    #contact form, 
    #contact .contact-info {
      flex: 1 1 500px;
      max-width: 500px;
      background: #fff;
      padding: 35px 40px;
      border-radius: 20px;
      box-shadow: 0 6px 20px rgba(168, 12, 12, 0.12);
      font-weight: 300;
      font-size: 15px;
      box-sizing: border-box;
    }
    /* تجاوب للشاشات الصغيرة */
    @media (max-width: 768px) {
      #contact .container > div.flex-container {
        flex-direction: column;
        gap: 30px;
      }
      #contact form, 
      #contact .contact-info {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 30px 25px;
      }
    } 

 


