/* ==========================================================================
   sids-accent.css — ألوان الشعار الثلاثة (الأزرق · الأحمر · الأصفر) بلمسات خفيفة
   لا يغيّر أي تخطيط أو مقاس؛ زخارف رقيقة فقط (خطوط، نقاط، توهّج بشفافية عالية).
   لإيقافها كلها احذف ربط هذا الملف من الصفحات.
   ========================================================================== */
:root {
  --lg-blue: #0000ff;
  --lg-yellow: #ffe000;
  --lg-red: #ff0000;
  /* شريط ثلاثي بحدّ فاصل حاد كمربعات الشعار */
  --lg-tri: linear-gradient(90deg,
    rgba(0, 0, 255, 0.55) 0 33.34%,
    rgba(255, 0, 0, 0.55) 33.34% 66.67%,
    rgba(255, 224, 0, 0.9) 66.67% 100%);
}

/* 1) خط ثلاثي رفيع أسفل شريط التنقل (بعد التمرير فقط، وفي صفحات الدخول والتسجيل دائماً) */
nav.sheikan-nav-scrolled::after,
nav.sdis-nav-light::after,
.apoc-navigation-wrapper::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: var(--lg-tri); opacity: 0.55; pointer-events: none;
}

/* 2) ثلاث نقاط صغيرة قبل شارة كل قسم (مثل «ما نقدمه لك») */
.text-center > span.inline-block.rounded-full:first-child::before {
  content: ""; display: inline-block; width: 15px; height: 5px; margin-inline-end: 8px;
  vertical-align: middle; opacity: 0.85;
  background: linear-gradient(90deg,
    var(--lg-blue) 0 4px, transparent 4px 5.5px,
    var(--lg-red) 5.5px 9.5px, transparent 9.5px 11px,
    var(--lg-yellow) 11px 15px);
}

/* 3) عناوين الأقسام: للعناوين التي لها خط سفلي أصلاً (الخدمات/التطبيق/التواصل/.sx-title) نغيّر لونه فقط،
      وللعناوين المتوسطة الأخرى نضيف خطاً ثلاثياً قصيراً بلا أي تغيير في المسافات */
#services h2::after, #app h2::after, #contact h2::after, .sx-title::after { background: var(--lg-tri); }
section:not(#services):not(#app):not(#contact) .text-center > h2:not(.sx-title) { position: relative; }
section:not(#services):not(#app):not(#contact) .text-center > h2:not(.sx-title)::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 46px; height: 3px;
  transform: translateX(-50%); border-radius: 3px; background: var(--lg-tri); opacity: 0.6;
  pointer-events: none;
}

/* 4) بطاقات الخدمات: شريط الظهور عند التمرير بألوان الشعار بدل الذهبي */
#services .svc-card::after { background: var(--lg-tri); }

/* 5) أرقام «عن الجمعية»: حدّ علوي رفيع بلون من الشعار لكل بطاقة */
.grid-cols-3 > .text-center.bg-gray-50:nth-child(1) { box-shadow: inset 0 3px 0 0 rgba(0, 0, 255, 0.4); }
.grid-cols-3 > .text-center.bg-gray-50:nth-child(2) { box-shadow: inset 0 3px 0 0 rgba(255, 0, 0, 0.4); }
.grid-cols-3 > .text-center.bg-gray-50:nth-child(3) { box-shadow: inset 0 3px 0 0 rgba(255, 224, 0, 0.85); }

/* 6) زخارف بطاقة الشعار في «عن الجمعية» بتدرّج خفيف من الألوان الثلاثة */
.-inset-4.bg-gradient-to-br.rounded-3xl {
  background-image: linear-gradient(135deg, rgba(0, 0, 255, 0.07), rgba(255, 0, 0, 0.08) 55%, rgba(255, 224, 0, 0.17));
}
.absolute.bg-orange-100.rounded-full.w-20 { background-color: rgba(255, 224, 0, 0.35); }
.absolute.bg-green-100.rounded-full.w-32 { background-color: rgba(0, 0, 255, 0.07); }

/* 7) توهّج ناعم جداً خلف الهيدر الرئيسي وخلف صورة الهاتف */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 360px at 8% 20%, rgba(0, 0, 255, 0.07), transparent 70%),
    radial-gradient(560px 360px at 50% 108%, rgba(255, 0, 0, 0.06), transparent 70%),
    radial-gradient(480px 340px at 94% 84%, rgba(255, 224, 0, 0.15), transparent 70%);
}
#app .blur-3xl.bg-gradient-to-br { background-image: linear-gradient(135deg, var(--lg-blue), var(--lg-red) 55%, var(--lg-yellow)); opacity: 0.14; }

/* 8) خط ثلاثي في أعلى الفوتر */
footer { position: relative; }
footer::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: var(--lg-tri); opacity: 0.7; pointer-events: none; z-index: 2;
}

/* 9) تحديد النص بلمسة صفراء ناعمة */
::selection { background: rgba(255, 224, 0, 0.4); color: inherit; }

/* 10) استبدال النقش الإسلامي في خلفية السلايدر بزخرفة من هوية الشعار:
   مربعات صغيرة (أزرق · أصفر · أحمر) كمربعات الشعار، بشفافية عالية وتلاشٍ ناعم */
.hero-pattern,
.hero-pattern.is-end {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect x='14' y='14' width='14' height='14' rx='2' fill='%230000ff' fill-opacity='.55'/%3E%3Crect x='34' y='14' width='14' height='14' rx='2' fill='%23ff0000' fill-opacity='.55'/%3E%3Crect x='54' y='14' width='14' height='14' rx='2' fill='%23ffe000'/%3E%3Crect x='74' y='74' width='8' height='8' rx='1.5' fill='%230000ff' fill-opacity='.4'/%3E%3Crect x='88' y='74' width='8' height='8' rx='1.5' fill='%23ff0000' fill-opacity='.4'/%3E%3Crect x='102' y='74' width='8' height='8' rx='1.5' fill='%23ffe000' fill-opacity='.85'/%3E%3C/svg%3E");
  background-size: 120px 120px; background-repeat: repeat; background-position: left top;
  opacity: 0.22;
}
.hero-pattern.is-end { opacity: 0.2; }
@media (max-width: 900px) { .hero-pattern { opacity: 0.16; } }

@media (prefers-reduced-motion: reduce) { /* لا حركة هنا؛ الملف زخرفي ثابت */ }
