/* ==========================================================================
   الهوية اللونية الجديدة للموقع بالكامل: ثيم دعم محاربي السرطان 🎗️
   ========================================================================== */
:root {
  /* 1. الدرجة الوردية الحيوية (بديلة للبرتقالي): للأزرار النشطة، الخطوط السفلية، والروابط التفاعلية */
  --care-pink: #e83e8c;
  --care-pink-hover: #c2185b; /* درجة أغمق قليلاً عند تمرير الماوس (Hover) */

  /* 2. الدرجة الوردية الناعمة جداً (بديلة للكريمي والأبيض): لخلفيات السكاشن المنقسمة لراحة العين وقراءة النصوص */
  --care-pink-light: #fdf2f4;

  /* 3. الدرجة الداكنة الفخمة (بديلة للكحلي التقليدي): مائلة لصبغة باذنجانية داكنة جداً لتتناسق مع الوردي في الهيدر والفوتر والـ CTA */
  --care-pink-dark: #25161c;

  /* --- حيلة برمجية: إجبار الكود القديم على التحول تلقائياً --- */
  --care-orange: #e83e8c !important;
  --dropdown-dark-bg: #25161c !important;
}

/* ==========================================================================
   تنسيقات عامة لتوحيد الهوية على كل عناصر الموقع السابقة والقادمة
   ========================================================================== */

/* تطبيق الخلفية الوردية الهادئة على السكاشن الفاتحة تلقائياً */
.nutrition-section,
.cancer-awareness-section,
.cream-bg-section {
  background-color: var(--care-pink-light) !important;
}

/* الأزرار الرئيسية في الموقع بالكامل (مثل زر المزيد في الهيرو أو فرص العمل) */
.btn-orange,
.btn-cta-orange,
.main-hero-btn {
  background-color: var(--care-pink) !important;
  border-color: var(--care-pink) !important;
  color: #ffffff !important;
  border-radius: 0px !important; /* الحفاظ على الزوايا الحادة للموقع */
  transition: all 0.3s ease !important;
}

.btn-orange:hover,
.btn-cta-orange:hover,
.main-hero-btn:hover {
  background-color: var(--care-pink-hover) !important;
  border-color: var(--care-pink-hover) !important;
  transform: translateY(-3px);
}

/* روابط "اقرأ المزيد" والخطوط السفلية الشهيرة في الموقع */
.awareness-link,
.nutrition-link,
.read-more-link {
  color: #1a1a1a !important;
  transition: color 0.25s ease;
}

.awareness-link::after,
.nutrition-link::after,
.read-more-link::after {
  background-color: var(
    --care-pink
  ) !important; /* تحويل الخط السفلي العريض للوردي */
}

.awareness-link:hover,
.nutrition-link:hover,
.read-more-link:hover {
  color: var(--care-pink) !important;
}

/* السكاشن الداكنة (مثل سيكشن الدعوة للانضمام والـ Dropdown والفوتر) */
.join-us-cta-section,
.main-navbar .dropdown-menu,
.site-footer {
  background-color: var(--care-pink-dark) !important;
  border-top: 4px solid var(--care-pink) !important; /* شريط علوي وردي أنيق */
}

/* تعديل ألوان القائمة العلوية التفاعلية (Navbar) */
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--care-pink) !important;
}
/* الكود الأساسي للموقع */
body {
    font-family: 'Cairo', sans-serif !important;
}

/* إجبار الأيقونة داخل أي رابط على استخدام خط الأيقونات فقط */
.search-btn i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900; /* مهم جداً للأيقونات من نوع Solid */
}
/* تطبيق خط Cairo على كل مساحات الموقع لتوحيد الشكل */
body {
  background-color: #f5efe0;
  padding-top: 90px;
}

/* التنسيق الأساسي للهيدر */
.custom-navbar {
  background-color: var(--nav-initial-bg) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

/* التحول اللوني الكامل عند السكرول */
.custom-navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* تنسيق خط اللوجو (care Egypt) */
.navbar-brand {
  font-weight: 800; /* عريض ومحدد */
  font-size: 0.7rem;
  letter-spacing: -0.5px;
}
.brand-orange {
  color: var(--care-orange);
}
.brand-blue {
  color: var(--care-blue);
}

/* تنسيق روابط القائمة العلوية */
.custom-navbar .nav-link {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 12px;
  padding: 6px 0;
  position: relative;
  transition: color 0.25s ease;
}
.custom-navbar .nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 3px;
  background: var(--care-pink);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
.custom-navbar .nav-link:hover::before,
.custom-navbar .nav-link.active-orange::before {
  width: 100%;
}

/* تمييز القسم النشط باللون الوردي */
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active-orange {
  color: var(--care-pink) !important;
}

/* رابط اللغة الإنجليزية وأيقونة البحث */
.lang-link {
  color: #555555 !important;
  font-weight: 600 !important;
}
.search-btn {
  color: var(--text-dark);
  font-size: 1.15rem;
  transition: color 0.25s;
}
.search-btn:hover {
  color: var(--care-orange);
}

/* --- تصميم القائمة المنسدلة (Dropdown) --- */
.custom-navbar .dropdown-menu {
  background-color: var(--care-pink-dark) !important;
  border: none;
  border-radius: 8px !important;
  padding: 8px 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  text-align: right;
  min-width: 210px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  margin-top: 10px;
}

/* تفعيل فتح القائمة بمجرد تمرير الماوس (Hover) */
.custom-navbar .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* تنسيق خطوط الروابط الداخلية للقائمة */
.custom-navbar .dropdown-item {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 10px 24px;
  transition: all 0.2s ease;
  position: relative;
  border-right: 3px solid transparent;
}
.custom-navbar .dropdown-item:hover {
  border-right-color: var(--care-pink);
  background: rgba(255,255,255,0.05) !important;
  color: var(--care-pink) !important;
}
.custom-navbar .dropdown-item.active-item {
  color: var(--care-pink) !important;
  border-right-color: var(--care-pink);
  background: rgba(255,255,255,0.03) !important;
}

/* تعديل سهم القائمة المنسدلة */
.custom-navbar .dropdown-toggle::after {
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
  transition: transform 0.25s ease;
}
/* قلب السهم للأعلى عند فتح القائمة تلقائياً */
.custom-navbar .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* --- تنسيقات سيكشن الواجهة الرئيسية (Hero Section) --- */
.hero-section {
  position: relative;
  /* تحديد ارتفاع السيكشن ليملأ الشاشة مع خصم حجم النوافبار */
  min-height: calc(100vh - 90px);
  /* ضع هنا رابط صورة الخلفية الرسمية الخاصة بمشروعك */
  background-image: url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?q=80&w=1920&auto=format&fit=crop");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* طبقة تظليل لحماية تباين النصوص */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.1),
    rgba(28, 29, 48, 0.45)
  );
  z-index: 1;
}

.z-index-2 {
  z-index: 2;
}

/* صندوق المحتوى الأبيض الأنيق */
.hero-content-box {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-top: 5px solid var(--care-orange); /* خط برتقالي علوي زي ستايل البراند */
  text-align: right;
}

/* تصميم الخط الجانبي الترحيبي */
.hero-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background-color: var(--care-orange);
  margin-left: 12px;
}

.hero-tag {
  color: var(--care-blue);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* تنسيق العنوان الرئيسي الصارم */
.hero-title {
  color: #1c1d30;
  font-weight: 800 !important; /* عريض جداً وجذاب للعين */
  font-size: 2.5rem;
  line-height: 1.4;
}

/* تنسيق الوصف */
.hero-desc {
  color: #4a4a4a;
  font-size: 1.1rem;
  font-weight: 500 !important;
  line-height: 1.8;
}

/* --- أزرار السيكشن الحادة (بدون كيرف زوايا) لتطابق الصورة تماماً --- */
.btn-hero-orange {
  background-color: var(--care-orange) !important;
  color: #ffffff !important;
  border: 2px solid var(--care-orange) !important;
  font-size: 1.05rem;
}

.btn-hero-orange:hover {
  background-color: #d6561b !important;
  border-color: #d6561b !important;
  transform: translateY(-2px);
}

.btn-hero-outline {
  background-color: transparent !important;
  color: #1c1d30 !important;
  border: 2px solid #1c1d30 !important;
  font-size: 1.05rem;
}

.btn-hero-outline:hover {
  background-color: #1c1d30 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* أنيميشن خفيف لظهور الصندوق بشكل راقي أول ما الصفحة تفتح */
.animate-fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ضبط استجابة الشاشات الصغيرة (الموبايل) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-content-box {
    margin: 15px;
    padding: 30px 20px !important;
  }
}

/* --- تنسيقات سيكشن آخر الأخبار وقصص النجاح --- */
.news-stories-section {
  background-color: #ffffff;
}

/* تنسيق العناوين الرئيسية */
.title-line {
  display: inline-block;
  width: 30px;
  height: 3px;
  background-color: var(--care-orange);
  margin-left: 10px;
}
.title-tag {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.text-orange {
  color: var(--care-orange);
}
.text-blue {
  color: var(--care-blue);
}

.section-main-title {
  color: #1c1d30;
  font-weight: 800 !important;
  font-size: 2.2rem;
  margin-top: 5px;
}

/* زر عرض الكل الحاد */
.btn-view-all {
  background-color: transparent !important;
  color: #1c1d30 !important;
  border: 2px solid #1c1d30 !important;
  border-radius: 0px !important; /* زوايا حادة تماماً */
  padding: 10px 22px;
  font-size: 0.95rem;
}
.btn-view-all:hover {
  background-color: #1c1d30 !important;
  color: #ffffff !important;
}

/* --- تصميم هيكل الكروت الاحترافي --- */
.news-card {
  background-color: #ffffff;
  border: 1px solid #eef0f4;
  border-radius: 0px !important; /* زوايا حادة ومربعة تماماً */
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s ease;
}

/* تأثير رفع الكارت عند الـ Hover */
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* حاوية الصورة وتأثير التكبير المحدود */
.card-img-container {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.news-card:hover .card-img-container img {
  transform: scale(1.06); /* تأثير زووم ناعم جداً على الصورة */
}

/* البادج الملون (برتقالي لقصص النجاح، كحلي للأخبار) */
.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 0px !important;
}
.bg-orange {
  background-color: var(--care-orange) !important;
}
.bg-blue {
  background-color: var(--care-blue) !important;
}

/* محتوى الكارت الداخلي */
.card-body-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: right;
}

.card-date {
  color: #8c93a0;
  font-size: 0.85rem;
  font-weight: 600;
}

/* عناوين الكروت وروابطها */
.card-title a {
  color: #1c1d30;
  text-decoration: none;
  font-weight: 700 !important;
  font-size: 1.25rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.card-title a:hover {
  color: var(--care-orange);
}

.card-text {
  color: #5a616c;
  font-size: 0.95rem;
  font-weight: 500 !important;
  line-height: 1.7;
}

/* روابط القراءة السفلية */
.card-read-more {
  text-decoration: none;
  font-size: 0.95rem;
  margin-top: auto; /* دفع الرابط لأسفل الكارت دائماً لتوحيد المحاذاة */
  display: inline-flex;
  align-items: center;
}
.card-read-more i {
  transition: transform 0.25s ease;
}
.card-read-more:hover i {
  transform: translateX(-4px); /* حركة خفيفة للسهم لليسار عند الهوفر */
}

.fs-7 {
  font-size: 0.75rem;
}

/* --- تنسيقات سيكشن نبذة عنا المميز --- */
.about-summary-section {
  background-color: var(
    --nav-initial-bg
  ); /* استخدام نفس الدرجة الكريمي المتناسقة */
  position: relative;
  overflow: hidden;
}

/* تنسيق خط التأسيس الرقمي الضخم */
.history-badge-year {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.big-year-number {
  font-size: 5rem;
  font-weight: 900 !important;
  color: var(--care-blue);
  opacity: 0.15; /* يعطي عمق خلفي خفيف وفخم للرقم */
  letter-spacing: -2px;
  margin-bottom: -10px;
}

.year-label {
  font-size: 1.25rem;
  position: relative;
  top: -25px; /* تداخل احترافي مع الرقم الخلفي */
  padding-right: 5px;
}

.about-sub-title {
  font-size: 1.8rem;
  color: var(--care-blue);
}

.about-paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 500 !important;
}

/* --- تنسيق الكروت الحادة (Pillar Cards) --- */
.pillar-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 0px !important; /* زوايا حادة تماماً ومربعة تطابق البراند */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  text-align: right;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* حركة الكارت العادي عند التحويم بالماوس */
.pillar-card:not(.active-pillar):hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border-right: 4px solid var(--care-orange); /* ظهور خط برتقالي جانبي تفاعلي */
}

.pillar-icon-wrapper {
  display: inline-block;
}

.pillar-title {
  color: #1c1d30;
  font-size: 1.15rem;
}

.pillar-desc {
  line-height: 1.6;
  font-weight: 500 !important;
}

/* تمييز الكارت الرابع "نناضل من أجل النساء والفتيات" بخلفية داكنة ثابتة لإبراز رسالة كير الأساسية */
.active-pillar {
  background-color: var(--dropdown-dark-bg) !important;
  border: none;
  box-shadow: 0 15px 35px rgba(28, 29, 48, 0.15);
}

.active-pillar:hover {
  transform: translateY(-5px);
  background-color: #24263e !important; /* تفتيح خفيف جداً عند الهوفر */
}

/* توافق الشاشات الصغيرة */
@media (max-width: 991px) {
  .big-year-number {
    font-size: 4rem;
  }
  .year-label {
    top: -15px;
  }
}

/* --- تنسيقات سيكشن مكافحة الفقر الأصلي --- */
.poverty-fighting-section {
  position: relative;
  background-color: var(
    --nav-initial-bg
  ); /* تضمن ثبات اللون الكريمي في العمق */
}

/* الكتلة البرتقالية العلوية وسماكة ألوان كير */
.orange-top-block {
  background-color: var(--care-orange) !important;
  /* إعطاء مساحة سفلية إضافية عشان الصور ترتكز جواها */
  padding-bottom: 120px !important;
}

/* الخط العمودي الأبيض الجانبي الملازم للعنوان الحاد */
.vertical-white-bar {
  display: inline-block;
  width: 6px;
  height: 75px; /* طول الخط متناسق مع حجم الخط الكبير */
  background-color: #ffffff;
}

/* تصميم العنوان العملاق */
.poverty-main-title {
  font-size: 3.8rem; /* خط ضخم جداً وخاطف للعين زي الصورة */
  font-weight: 900 !important;
  letter-spacing: -1px;
  line-height: 1.2;
}

/* الوصف الصغير أسفل العنوان */
.poverty-sub-desc {
  font-size: 1.25rem;
  font-weight: 600 !important;
  opacity: 0.95;
  max-width: 700px;
}

/* --- حيلة التداخل البصري (Overlap Magic) --- */
.image-overlap-row {
  /* دفع شبكة الصور بالكامل لتدخل في مساحة البلوك السفلي بنسبة مدروسة */
  margin-bottom: -180px;
  position: relative;
  z-index: 5;
}

/* تصميم كروت التركيز الحادة 100% وبدون أي إنحناءات */
.focus-area-card {
  position: relative;
  height: 380px; /* طول الكارت العمودي الفخم الظاهر بالصورة */
  overflow: hidden;
  border-radius: 0px !important; /* حاد تماماً لتطابق تام */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.focus-area-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* تأثير زووم سينمائي ناعم جداً عند الهوفر */
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.focus-area-card:hover img {
  transform: scale(1.08);
}

/* الليبل (الكتابة البيضاء) بأسفل الكارت */
.focus-card-overlay-label {
  position: absolute;
  bottom: 20px;
  right: 20px; /* المحاذاة في الركن السفلي الأيمن تماماً */
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); /* لضمان وضوح النص فوق أي صورة */
  z-index: 2;
}

/* غطاء تظليل ناعم بأسفل الكروت لحماية قراءة النصوص */
.focus-area-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  z-index: 1;
}

/* البلوك السفلي الكريمي اللي بيستقبل الجزء الساقط من الصور */
.cream-bottom-block {
  background-color: var(--nav-initial-bg);
  height: 140px; /* مسافة مريحة قبل السيكشن التالي */
  width: 100%;
}

/* ريسبونسيف الموبايل والشاشات الصغيرة */
@media (max-width: 768px) {
  .poverty-main-title {
    font-size: 2.3rem;
  }
  .vertical-white-bar {
    height: 50px;
  }
  .image-overlap-row {
    margin-bottom: -140px;
  }
  .focus-area-card {
    height: 280px;
  }
}

/* --- تنسيقات سيكشن الدعوة للانضمام (Join Us CTA) --- */
.join-us-cta-section {
  /* الاعتماد على كحلي كير الداكن جداً لكسر الألوان الفاتحة */
  background-color: var(--dropdown-dark-bg) !important;
  position: relative;
  border-top: 4px solid var(--care-orange); /* لمسة البراند البرتقالية أعلى السيكشن */
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

/* الخط التزييني الصغير فوق العنوان */
.cta-mini-line {
  display: block;
  width: 45px;
  height: 4px;
  background-color: var(--care-orange);
}

/* تنسيق العنوان الرئيسي الضخم */
.cta-main-title {
  font-size: 2.8rem;
  font-weight: 900 !important;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* تنسيق النص المساعد */
.cta-description {
  font-size: 1.25rem;
  font-weight: 600 !important;
  color: #e2e4e9;
  line-height: 1.7;
  max-width: 650px;
}

/* --- أزرار التفاعل الحادة (بدون أي إنحناء 0px) --- */

/* الزر البرتقالي (فرص العمل) */
.btn-cta-orange {
  background-color: var(--care-orange) !important;
  color: #ffffff !important;
  border: 2px solid var(--care-orange) !important;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.btn-cta-orange:hover {
  background-color: #d6561b !important;
  border-color: #d6561b !important;
  transform: translateY(-3px); /* تأثير رفع خفيف عند التحويم */
  box-shadow: 0 8px 20px rgba(240, 108, 36, 0.25);
}

/* الزر الشفاف (التطوع) */
.btn-cta-outline {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  font-size: 1.05rem;
}

.btn-cta-outline:hover {
  background-color: #ffffff !important;
  color: var(--dropdown-dark-bg) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

/* ضبط الاستجابة على الشاشات الصغيرة (الموبايل) */
@media (max-width: 768px) {
  .cta-main-title {
    font-size: 2rem;
  }
  .cta-description {
    font-size: 1.1rem;
  }
  .join-us-cta-section {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
  }
}

/* --- تنسيقات سيكشن التوعية المنفصل (Cancer Awareness) --- */

/* --- تنسيق سيكشن التوعية بالسرطان المتطابق --- */
.cancer-awareness-section {
  /* درجة وردية ناعمة جداً ومريحة للعين لخلفية النصوص */
  background-color: #fdf2f4;
  overflow: hidden;
}

/* لضمان تطابق ارتفاع الصورة مع النص تلقائياً */
.cancer-awareness-section .row.g-0 {
  display: flex;
  flex-wrap: wrap;
}

/* حاوية الصورة الحادة */
.awareness-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 500px; /* ارتفاع افتراضي فخم للشاشات الكبيرة */
}

.awareness-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* حاوية النصوص والمحاذاة الداخلية النظيفة */
.awareness-text-wrapper {
  text-align: right;
  padding: 60px 10% !important; /* هوامش داخلية متناسقة ومريحة للعين */
}

/* العنوان الرئيسي الصارم */
.awareness-title {
  color: #1c1d30;
  font-size: 2.8rem;
  font-weight: 800 !important;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* الفقرة النصية */
.awareness-desc {
  color: #4a4a4a;
  font-size: 1.2rem;
  font-weight: 600 !important;
  line-height: 1.8;
  margin-bottom: 35px;
}

/* --- تصميم رابط "اقرأ المزيد" بالخط السفلي الوردي الصريح --- */
.awareness-link {
  color: #1c1d30;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 8px;
  display: inline-block;
  transition: color 0.25s ease;
}

/* رسم الخط السفلي السميك والمحدد الظاهر في ستايل الموقع */
.awareness-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 4px; /* سمك الخط المظبوط */
  background-color: #e83e8c; /* اللون الوردي الصريح للتوعية بالسرطان */
  transition: background-color 0.25s ease;
}

/* تأثير تحويم الماوس */
.awareness-link:hover {
  color: #e83e8c;
}
.awareness-link:hover::after {
  background-color: #1c1d30; /* يقلب لون الخط لكحلي داكن عند الـ Hover */
}

/* ريسبونسيف الشاشات الصغيرة والموبايل */
@media (max-width: 991px) {
  .awareness-image-wrapper {
    min-height: 300px; /* تقليص حجم الصورة على الموبايل لراحة التصفح */
  }
  .awareness-title {
    font-size: 2rem;
  }
  .awareness-text-wrapper {
    padding: 40px 20px !important;
  }
}

/* --- تنسيقات سيكشن التغذية (ثيم دعم مرضى السرطان) --- */
.nutrition-section {
  /* درجة وردية ناعمة ومريحة جداً للعين لتضمن وضوح النصوص والقراءة */
  background-color: #fdf2f4;
  overflow: hidden;
}

/* لضمان تطابق ارتفاع كتلة الفيديو مع كتلة النص تلقائياً */
.nutrition-section .row.g-0 {
  display: flex;
  flex-wrap: wrap;
}

/* حاوية النصوص والمحاذاة الداخلية */
.nutrition-text-wrapper {
  text-align: right;
  padding: 60px 10% !important; /* مسافات داخلية متناسقة ومريحة */
  width: 100%;
}

/* العنوان الرئيسي العريض */
.nutrition-title {
  color: #1c1d30; /* كحلي كير الداكن لتباين ممتاز مع الوردي */
  font-size: 3rem;
  font-weight: 800 !important;
  margin-bottom: 25px;
}

/* الفقرة النصية الشارحة */
.nutrition-desc {
  color: #4a4a4a;
  font-size: 1.2rem;
  font-weight: 600 !important;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 580px;
}

/* --- تصميم رابط "اقرأ المزيد" بالخط الوردي القوي --- */
.nutrition-link {
  color: #1c1d30;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 8px;
  display: inline-block;
  transition: color 0.25s ease;
}

/* الخط السفلي باللون الوردي الحيوي المعتمد عالمياً للتوعية */
.nutrition-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 4px; /* سمك الخط المظبوط */
  background-color: #e83e8c; /* الوردي الصريح */
  transition: background-color 0.25s ease;
}

/* تأثيرات التحويم بالماوس */
.nutrition-link:hover {
  color: #e83e8c;
}
.nutrition-link:hover::after {
  background-color: #1c1d30; /* يقلب لون الخط لكحلي داكن عند الهوفر */
}

/* ضبط حاوية الفيديو لتملأ المساحة بالكامل */
.nutrition-video-wrapper {
  width: 100%;
  min-height: 450px;
}
.nutrition-video-wrapper .ratio {
  height: 100% !important;
}
.nutrition-video-wrapper iframe {
  border: none;
  width: 100%;
  height: 100%;
}

/* ريسبونسيف الشاشات الصغيرة والموبايل */
@media (max-width: 991px) {
  .nutrition-video-wrapper {
    min-height: 280px;
  }
  .nutrition-title {
    font-size: 2.2rem;
  }
  .nutrition-text-wrapper {
    padding: 40px 20px !important;
  }
}

/* --- تنسيقات سيكشن أين نعمل الموحد (Where We Work) --- */
.where-we-work-section {
  /* استدعاء الخلفية الوردية الناعمة من المتغيرات العالمية اللي عملناها */
  background-color: var(--care-pink-light, #fdf2f4) !important;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
}

/* حاوية النصوص والتنظيم البصري المتناسق مع الصورة */
.work-text-block {
  text-align: right;
  padding: 40px 10% !important; /* مسافات داخلية مريحة ومطابقة لأبعاد الموقع */
}

/* العنوان الرئيسي الضخم الصارم */
.work-main-title {
  color: var(--care-pink-dark, #25161c);
  font-size: 3rem;
  font-weight: 800 !important;
  margin-bottom: 25px;
}

/* الفقرة الشارحة للمحافظات */
.work-paragraph {
  color: #4a4a4a;
  font-size: 1.2rem;
  font-weight: 600 !important;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 520px; /* الحفاظ على تماسك الأسطر الشبيه بالصورة */
}

/* --- تصميم رابط "اقرأ المزيد" بالخط الوردي السميك --- */
.work-read-more-link {
  color: var(--care-pink-dark, #25161c);
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 8px;
  display: inline-block;
  transition: color 0.25s ease;
}

.work-read-more-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 4px; /* السمك المظبوط للخط السفلي للبراند */
  background-color: var(--care-pink, #e83e8c); /* تطبيق الوردي الصريح */
  transition: background-color 0.25s ease;
}

/* تأثير التحويم بالماوس (Hover) */
.work-read-more-link:hover {
  color: var(--care-pink, #e83e8c);
}
.work-read-more-link:hover::after {
  background-color: var(
    --care-pink-dark,
    #25161c
  ); /* يقلب الخط داكن عند الهوفر */
}

/* --- التحكم في الخريطة وتحويل لونها البرتقالي لوردي برمجياً --- */
.map-container-wrapper {
  padding: 20px 8%;
}

.original-map-asset {
  max-height: 420px;
  object-fit: contain;
  /* السطر ده بيقوم بإزاحة درجة اللون البرتقالي ويحولها لوردي متناسق مع الثيم تلقائياً */
  filter: hue-rotate(135deg) saturate(1.3) contrast(1.1);
}

/* ريسبونسيف الشاشات الصغيرة والموبايل */
@media (max-width: 991px) {
  .work-main-title {
    font-size: 2.2rem;
  }
  .work-text-block {
    padding: 30px 20px !important;
  }
  .original-map-asset {
    max-height: 300px; /* تصغير الخريطة على الموبايل لعدم تشتيت العين */
  }
}

/* --- تنسيقات سيكشن القائمة البريدية (ثيم دعم السرطان) --- */
.newsletter-section {
  /* استخدام الخلفية الوردية الناعمة والمريحة للعين */
  background-color: var(--care-pink-light, #fdf2f4) !important;
  padding: 80px 0;
  position: relative;
  text-align: right;
}

/* حاوية المحتوى مع إزاحة مريحة لترك مساحة للشريط الجانبي */
.newsletter-content-wrapper {
  padding-right: 40px;
}

/* الشريط العمودي الموضح في الصورة (تحوّل للوردي الداعم) */
.vertical-accent-bar {
  position: absolute;
  right: 0;
  top: 0;
  width: 15px; /* سمك الشريط المظبوط */
  height: 100%;
  background-color: var(--care-pink, #e83e8c);
}

/* العنوان الضخم الصريح الشبيه بالصورة */
.newsletter-heading {
  color: var(--care-pink-dark, #25161c);
  font-size: 2.8rem;
  font-weight: 800 !important;
  line-height: 1.4;
  margin-bottom: 40px;
}

/* تصميم الحقول الحادة (بدون انحناءات زوايا) لتطابق التصميم الأصلي */
.form-control-custom {
  width: 100%;
  padding: 14px 15px;
  font-size: 1.1rem;
  border: 2px solid #1a1a1a;
  background-color: #ffffff;
  color: #1a1a1a;
  text-align: right;
  border-radius: 0px; /* زوايا حادة 100% */
  outline: none;
  transition: border-color 0.3s ease;
}

/* تأثير عند الضغط والكتابة داخل الحقل */
.form-control-custom:focus {
  border-color: var(--care-pink, #e83e8c);
  box-shadow: none;
}

/* تصميم زر "تأكيد" بإطار وردي أنيق يقلب لخلفية كاملة عند الهوفر */
.btn-submit-custom {
  background-color: #ffffff;
  color: var(--care-pink, #e83e8c);
  border: 2px solid var(--care-pink, #e83e8c);
  padding: 10px 50px;
  font-size: 1.2rem;
  border-radius: 0px; /* زوايا حادة مطابقة للصورة */
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit-custom:hover {
  background-color: var(--care-pink, #e83e8c);
  color: #ffffff;
}

/* نص reCAPTCHA الصغير الهادئ */
.recaptcha-text {
  font-size: 0.9rem;
  color: #666666;
  margin-top: 35px;
}

/* متجاوب تماماً مع الشاشات الصغيرة والموبايل */
@media (max-width: 991px) {
  .newsletter-heading {
    font-size: 2rem;
  }
  .newsletter-content-wrapper {
    padding-right: 25px;
  }
  .btn-submit-custom {
    width: 100%; /* الزر يصبح بكامل العرض لتسهيل الضغط على الموبايل */
    text-align: center;
  }
}

/* ==========================================================================
   تنسيقات بنر "كير تحارب الفقر" والفوتر (ثيم دعم مرضى السرطان)
   ========================================================================== */

/* --- 1. تنسيقات البنر العريض --- */
.poverty-banner-section {
  position: relative;
  overflow: hidden;
}
.banner-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px; /* ارتفاع ممتاز ومناسب للصورة الأصلية */
}
.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* طبقة تظليل ناعمة عشان النص الأبيض ينطق بوضوح */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
}
/* تموضع النصوص فوق الصورة جهة اليمين */
.banner-text-container {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: right;
}
.banner-title {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 900 !important;
  margin-bottom: 25px;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}
/* زر الـ CTA الوردي الحاد المخصص للثيم الإنساني الجديد */
.btn-pink-cta {
  background-color: var(--care-pink, #e83e8c) !important;
  color: #ffffff !important;
  border: none;
  padding: 12px 35px;
  font-size: 1.1rem;
  border-radius: 0px !important; /* زوايا حادة تماماً كالأصل */
  transition: all 0.3s ease;
}
.btn-pink-cta:hover {
  background-color: var(--care-pink-hover, #c2185b) !important;
  transform: translateY(-2px);
}
/* --- الفوتر الإبداعي الجديد لثيم التوعية بالسرطان --- */
.custom-creative-footer {
  background-color: var(
    --care-pink-dark,
    #25161c
  ) !important; /* لون باذنجاني داكن جداً وفخم */
  color: #ffffff;
  font-family: inherit;
  position: relative;
  border-top: 4px solid var(--care-pink, #e83e8c); /* شريط وردي علوي صريح كبصمة تصميمية */
}

/* 1. شريط التوعية العلوي اللامع */
.footer-awareness-ribbon {
  background-color: rgba(232, 62, 140, 0.1); /* تظليل وردي شفاف جذاب */
  padding: 15px 0;
  border-bottom: 1px solid rgba(232, 62, 140, 0.2);
  text-align: right;
}
.ribbon-text {
  color: #fdf2f4;
  font-size: 1.05rem;
}
.btn-ribbon-cta {
  background-color: var(--care-pink, #e83e8c);
  color: #ffffff !important;
  text-decoration: none;
  padding: 6px 20px;
  font-size: 0.95rem;
  font-weight: bold;
  display: inline-block;
  transition: all 0.25s ease;
}
.btn-ribbon-cta:hover {
  background-color: var(--care-pink-hover, #c2185b);
  transform: scale(1.03);
}

/* 2. حاوية المحتوى الرئيسي للفوتر */
.footer-main-content {
  padding: 60px 0 40px 0;
}
.footer-col-title {
  color: var(
    --care-pink,
    #e83e8c
  ); /* العناوين تظهر بالوردي الحيوي لتنطق فوق الداكن */
  font-size: 1.3rem;
  font-weight: 800 !important;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
/* خط تفريقي صغير تحت عنوان كل عمود */
.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: #ffffff;
}

/* 3. تنسيق روابط التنقل والتحويم الذكي */
.footer-links-navigation li {
  margin-bottom: 12px;
}
.footer-links-navigation a {
  color: #d1cbd0;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}
.footer-links-navigation a:hover {
  color: var(--care-pink, #e83e8c);
  transform: translateX(
    -5px
  ); /* إزاحة خفيفة جهة اليمين عند الهوفر تمنح لمسة جمالية */
}

/* 4. معلومات التواصل والأيقونات */
.footer-contact-info li {
  margin-bottom: 15px;
  color: #d1cbd0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 1rem;
}
.footer-contact-info i {
  color: var(--care-pink, #e83e8c);
  font-size: 1.1rem;
}
.footer-social-icons {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}
.social-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}
.social-icon:hover {
  background-color: var(--care-pink, #e83e8c);
  color: #ffffff !important;
  transform: translateY(-3px);
}

/* 5. لوجو ووصف البراند */
.footer-custom-logo {
  max-width: 140px;
  height: auto;
  filter: brightness(0) invert(1); /* تحويل اللوجو للون الأبيض ليتناسب مع الخلفية الداكنة */
}
.footer-brand-desc {
  color: #d1cbd0;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

/* 6. شريط الحقوق السفلي */
.footer-bottom-copyright {
  background-color: #1a0f13; /* درجة أغمق بقليل للفصل البصري المحترف */
  padding: 20px 0;
  font-size: 0.95rem;
  color: #9c9196;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-legal-links a {
  color: #9c9196;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.2s;
}
.footer-legal-links a:hover {
  color: var(--care-pink, #e83e8c);
}

.card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ريسبونسيف كامل للموبايل */
@media (max-width: 991px) {
  .footer-awareness-ribbon {
    text-align: center;
  }
  .footer-awareness-ribbon .container {
    justify-content: center !important;
    gap: 15px;
  }
  .btn-ribbon-cta {
    width: 100%;
    text-align: center;
  }
  .footer-col-title {
    margin-bottom: 15px;
  }
  .footer-contact-info li,
  .footer-social-icons {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   Mobile Burger Menu Enhancements
   ========================================================================== */
@media (max-width: 991.98px) {
  .custom-navbar .navbar-collapse {
    background-color: var(--care-pink-dark, #25161c);
    border-top: 3px solid var(--care-pink, #e83e8c);
    margin-top: 12px;
    border-radius: 0;
    padding: 15px 0;
    max-height: 80vh;
    overflow-y: auto;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .custom-navbar .nav-item {
    width: 100%;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin: 0 !important;
  }
  .custom-navbar .nav-item:last-child {
    border-bottom: none;
  }
  .custom-navbar .nav-link {
    color: #ffffff !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    font-size: 1rem;
    display: block;
  }
  .custom-navbar .nav-link:hover,
  .custom-navbar .nav-link.active-orange {
    color: var(--care-pink, #e83e8c) !important;
    background-color: rgba(255, 255, 255, 0.04);
  }

  .custom-navbar .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    position: static !important;
    float: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none;
  }
  .custom-navbar .dropdown-item {
    color: #d1cbd0 !important;
    padding: 12px 35px !important;
    font-size: 0.95rem;
  }
  .custom-navbar .dropdown-item:hover,
  .custom-navbar .dropdown-item.active-item {
    color: var(--care-pink, #e83e8c) !important;
  }
  .custom-navbar .dropdown-toggle::after {
    float: left;
    margin-top: 8px;
  }
  .custom-navbar .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .custom-navbar .dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .custom-navbar .navbar-toggler {
    background-color: var(--care-pink-dark, #25161c);
    border: 2px solid var(--care-pink, #e83e8c);
    border-radius: 0;
    padding: 8px 12px;
    transition: all 0.3s ease;
  }
  .custom-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(232, 62, 140, 0.25);
  }
  .custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .search-box-right {
    position: absolute;
    left: 15px;
    top: 12px;
  }
  .search-box-right a {
    color: #ffffff !important;
    background-color: var(--care-pink-dark, #25161c);
    padding: 8px 12px;
    display: inline-block;
  }
}
