/* إعادة تعيين التنسيقات */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Almarai", sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    text-align: right; /* محاذاة النص إلى اليمين */
    direction: rtl; /* النص من اليمين إلى اليسار */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* الحاوية العلوية */
.top-header {
    padding: 10px 0;
    background-color: #111;
background-image: linear-gradient(to left,red, white, black );

}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: ltr; /* إعادة تعيين اتجاه النص للعناصر المحددة */
}

.top-header .email {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.top-header .email i {
    color: #fff;
}

.top-header .social-icons {
    display: flex;
    gap: 15px;
    z-index: 2;
}

.top-header .social-icons a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.top-header .social-icons a:hover {
    color: #df1212;
}

/* الخط الفاصل */
.header-divider {
    height: 2px;
    background-color: #eedede;
}

/* الحاوية السفلية */
.bottom-header {
    padding: 10px 0;
    background-color: #000;
    background-image: linear-gradient(to left, red, white, black);

}

.bottom-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    direction: ltr;
}

.bottom-header .logo {
    height: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #CE1126, #FFFFFF, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo img {
    height: 450%; /* تعديل الارتفاع حسب الحاجة */
    max-width: 100%; /* حتى لا يتجاوز العرض الحاوية */
    object-fit: contain; /* الحفاظ على الأبعاد */
    margin-top: 15px;
}
    
.bottom-header .menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 29px;
}

.bottom-header .menu ul li a {
    color: #0a66ef;
    font-family: Arial, sans-serif;
   
    text-decoration: none;
    font-size: 30px;
    transition: color 0.3s ease;
}

.bottom-header .menu ul li a:hover {
    color: #f3ecec;
    background-color: #CE1126;
    border-radius: 5px;
    padding: 10px 15px;
    display: inline-block; /* لمنع تمدد العناصر */
}




/* تنسيق القائمة */
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px; 
    font-weight: 600;
    transition: color 0.3s ease;
    text-align: center;
}

.menu ul li a:hover {
    color: #ccc;
}

/* زر القائمة */
.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    position: absolute;
padding: top 1px;
    right: 10px;
    z-index: 1001; 
}

/* القائمة المنسدلة للشاشات الصغيرة */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .bottom-header .menu ul {
        display: none;
        flex-direction: column-reverse;
        background-color: #333;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 10px;
        z-index: 100;
    }

    .bottom-header .menu ul.active {
        display: flex;
    }

    .bottom-header .menu ul li {
        margin: 0 100px;
        text-align: center;
        background-color:rgb(0, 255, 145);
    }
}
.bottom-header .menu ul li :hover{
    background-color: black;
}

/* باقي التنسيقات */
.email a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.email a:hover {
    color: #ccc;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-icon {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.search-icon:hover {
    color: #ccc;
}

.search-box {
    display: none;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 10px;
    margin-left: 10px;
}

.search-input {
    border: none;
    background: transparent;
    color: white;
    font-size: 14px;
    outline: none;
    width: 150px;
}

.search-input::placeholder {
    color: #ccc;
}

/* تذييل الصفحة */
.footer {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.footer-menu ul li {
    margin-left: 20px;
}

.footer-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-menu ul li a:hover {
    text-decoration: underline;
}










/* تهيئة عامة - خطوط وألوان */
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@400;700&display=swap');

:root {
  --primary-color: #C00;
  --secondary-color: #333;
  --light-gray: #f5f5f5;
  --white: #ffffff;
}


/* النشرة البريدية */
.newsletter {
    background: var(--primary-color);
    color: var(--white);
    padding: 30px;
    text-align: center;
    margin-top: 40px;
  }
  
  .newsletter input {
    padding: 10px;
    width: 60%;
    border: none;
    border-radius: 4px;
  }
  
  .newsletter button {
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    margin-right: 5px;
  }
  
  /* تجاوب مع الشاشات الصغيرة */
  @media (max-width: 768px) {
    .hero-section {
      grid-template-columns: 1fr;
    }
    
    .content-grid {
      grid-template-columns: 1fr;
    }
    
    .newsletter input {
      width: 100%;
      margin-bottom: 10px;
    }
  }
  
  
  a{
    text-decoration: none;
    color: #000000;
  }
  a:hover{
    color: #CE1126;
  }
  
  /* وضع هذا في ملف CSS الخاص بك */
  .footer ~ ul, 
  .footer ~ li, 
  .newsletter + ul, 
  .newsletter + li {
    display: none !important;
  }
  
  
  .social-share-container {
      display: flex;
      align-items: center;  /* محاذاة رأسية */
      gap: 15px;           /* مسافة بين العناصر */
      margin: 15px 0;
  }
  
  .social-media {
      display: flex;
      gap: 10px;           /* مسافة بين الأيقونات */
  }
  
  .social-media a {
      color: #fff;
      font-size: 20px;
      transition: 0.3s;
  }
  
  .share-button {
      background: #4267B2;
      color: white;
      border: none;
      padding: 8px 15px;
      border-radius: 5px;
      cursor: pointer;
      transition: 0.3s;
      display: flex;
      align-items: center;
      gap: 5px;
  }
  
  .white-stripe {
    /* تأثيرات إضافية */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
  }
  
  /* تنسيقات العناصر الداخلية */
  .national-symbol {
    text-align: center;
  }
  .eagle-icon {
    width: 100px;
    height: auto;
    animation: float 3s ease-in-out infinite;
  }
  
  .eagle-icon{
    visibility: hidden; /* يخفي المحتوى مع الحفاظ على المساحة */
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  /* حجم أساسي للأيقونة */
  .share-button i {
    font-size: 7px; /* الحجم الافتراضي */
  }
  
  /* تعديل الحجم للشاشات الصغيرة */
  @media (max-width: 768px) {
    .share-button i {
      font-size: 14px; /* حجم أصغر للجوال */
    }
    
    .share-button {
      padding: 5px 10px; /* تعديل حجم الزر نفسه */
      font-size: 12px; /* حجم نص أصغر */
    }
  }
  
  @media (max-width: 768px) {
    .social-media-wrapper {
      text-align: center;
    }
    
    .social-media {
      display: inline-flex; /* يحافظ على التنسيق الأفقي */
    }
  }
  
  .social-container {
    display: flex;
    align-items: center; /* يضمن محاذاة جميع العناصر */
    gap: 10px;
  }
  
  .share-pin {
    margin: 0;
    padding: 0;
    line-height: 1; /* يمنع أي فراغ غير ضروري */
  }
  
  .share-pin {
    display: inline-flex; /* بدلاً من inline-block */
    align-items: center; /* محاذاة رأسية */
    vertical-align: middle; /* محاذاة مع العناصر المجاورة */
    position: relative;
    top: 1px; /* تعديل دقيق للموقع */
  }
  
  
  .yemen-stats {
    display: flex;
    justify-content: space-around;
  }
  .stat-item {
    text-align: center;
  }
  .number {
    font-size: 2rem;
    color: #CE1126;
    font-weight: bold;
  }
  .yemen-stats {
    display: flex;
    justify-content: space-around;
    position: relative; /* هذه السطر ضروري */
    padding-bottom: 40px; /* لتجنب تداخل المحتوى */
  }
  
  
  
  
.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.about-header p {
  font-size: 1.2rem;
  color: #555;
}

/* أنماط الأقسام */
section {
  margin-bottom: 3rem;
}

h2 {
  font-size: 2rem;
  color: #2c3e50;
  border-bottom: 2px solid #e74c3c;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  color: #3498db;
  margin-bottom: 0.5rem;
}

/* أنماط أهدافنا */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.goal-card {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* أنماط فريق التحرير */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #e74c3c;
}

.team-member h3 {
  color: #2c3e50;
  margin: 0.5rem 0;
}

.team-member p:first-of-type {
  font-weight: bold;
  color: #e74c3c;
  margin-bottom: 0.5rem;
}

/* أنماط الجمهور */
.audience-section ul {
  list-style-type: none;
  padding: 0;
}

.audience-section li {
  background-color: #f9f9f9;
  margin-bottom: 0.5rem;
  padding: 0.8rem;
  border-right: 3px solid #3498db;
}

/* أنماط مقاييس النجاح */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.metric-card {
  background-color: #f0f8ff;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

/* أنماط الختام */
.closing-section {
  text-align: center;
  padding: 2rem;
  background-color: #f5f5f5;
  border-radius: 8px;
  margin-top: 3rem;
}

.signature {
  font-weight: bold;
  font-size: 1.2rem;
  color: #e74c3c;
  margin-top: 1rem;
}

/* التنسيق للعرض على الأجهزة المحمولة */
@media (max-width: 768px) {
  .about-header h1 {
      font-size: 2rem;
  }
  
  .goals-grid, .team-grid, .metrics-grid {
      grid-template-columns: 1fr;
  }
  
  .team-member img {
      width: 120px;
      height: 120px;
  }
}
  
  
  /* أنماط عامة لصفحة من نحن */
.about-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px; /* هوامش على الجانبين */
  font-size: 30px;
  color: #333333;
  line-height: 1.6;
}

/* أنماط الشعار */
.logo-container {
  text-align: center;
  margin: 20px 0;
}

.site-logo {
  max-height: 220px;
  width: auto;
}

/* هامش بعد الهيدر */
.header-margin {
  height: 30px;
}

/* تعديل الألوان حسب الهوية (أحمر، أبيض، أسود) */
.about-header h1 {
  color: #000; /* أسود */
}

h2 {
  color: #000; /* أسود */
  border-bottom: 2px solid #d40000; /* أحمر */
}

h3 {
  color: #d40000; /* أحمر */
}

.goal-card {
  background-color: #fff; /* أبيض */
  border: 1px solid #eee;
}
.goal-card p{
  font-size: 16px;
}
.team-member {
  background-color: #fff; /* أبيض */
}
.team-member p{
  font-size: 16px;
}
.team-member img {
  border: 3px solid #d40000; /* أحمر */
}

.team-member p:first-of-type {
  color: #d40000; /* أحمر */
}

.audience-section li {
  border-right: 3px solid #d40000; /* أحمر */
}

.metric-card {
  border-left: 4px solid #d40000; /* أحمر */
}

.signature {
  color: #d40000; /* أحمر */
}

/* بقية الأنماط تبقى كما هي مع تعديل الألوان */
/* ... */