.ms-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Partners carousel */
.partners-carousel {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.partners-carousel .carousel-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  will-change: transform;
  transition: transform 600ms ease;
}

/* أزرار التنقل */
.partners-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.partners-nav.prev { left: 8px; }
.partners-nav.next { right: 8px; }
.partners-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.05);
}

/* بطاقات الشعار */
.partner-logo {
  flex: 0 0 auto;
  background: #fff;
  color: #222;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  min-width: 150px;
  text-align: center;
  font-weight: 600;
}

/* حركة مستمرة عبر شريطين */
@keyframes partners-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .partners-carousel .carousel-track {
    animation: none;
  }
}

/* =============================
   Hero Slider (RTL)
   ============================= */
.hero-section {
  position: relative;
  padding: 0;
  min-height: 80vh;
  display: grid;
  place-items: stretch;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 80vh;
  isolation: isolate;
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 600ms ease;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-track { transition: none; }
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 100px 0;
  /* استخدم متغير CSS للخلفية مع قيمة احتياطية لضمان بقاء التدرج */
  background:
    linear-gradient(135deg, rgba(18, 4, 35, 0.68) 0%, rgba(35, 9, 64, 0.60) 45%, rgba(43, 10, 79, 0.55) 100%),
    var(--slide-bg, url('../images/slider01.jpg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 992px) {
  .hero-slide { padding: 88px 0 64px; }
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
  z-index: 2;
}
.hero-nav:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); transform: translateY(-50%) scale(1.05); }
.hero-nav.prev { left: 16px; right: auto; }
.hero-nav.next { right: 16px; left: auto; }

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.15);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.hero-dot:hover { transform: scale(1.15); }
.hero-dot.active { background: #8b5cf6; border-color: #8b5cf6; }

/* لا نعدّل نبض الصورة هنا حفاظاً على التأثيرات الحالية */

/* خلفية متدرجة لقسم نقاط القوة وفق الصورة */
.features-section.features-pro {
  position: relative;
  padding-top: 180px !important;
  padding-bottom: 200px !important;
  background: radial-gradient(1200px 500px at 15% 10%, rgba(155, 60, 255, 0.35) 0%, rgba(32, 8, 56, 0.15) 50%, transparent 70%),
              radial-gradient(800px 400px at 80% 30%, rgba(60, 200, 255, 0.25) 0%, rgba(16, 30, 60, 0.15) 45%, transparent 72%),
              linear-gradient(135deg, #120423 0%, #230940 40%, #250a46 55%, #3b0f63 80%, #2b0a4f 100%);
  color: #e9e4ff;
  overflow: hidden;
}

/* زيادة التباعد بين عنوان المزايا والبطاقات */
.features-section .features-heading { margin-bottom: 4rem; }
@media (max-width: 576px) { .features-section .features-heading { margin-bottom: 2.75rem; } }

/* خلفية قسم المنهجية بنفس خلفية الخدمات */
.process-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1100px 480px at 12% 12%, rgba(139, 92, 246, 0.32) 0%, rgba(30, 10, 60, 0.12) 52%, transparent 70%),
    radial-gradient(780px 380px at 82% 28%, rgba(34, 211, 238, 0.22) 0%, rgba(12, 24, 52, 0.12) 46%, transparent 72%),
    linear-gradient(135deg, #130426 0%, #230940 40%, #2a0b49 58%, #38105f 82%, #2b0a4f 100%);
  color: #e9e4ff;
  overflow: hidden;
}

.process-section::before,
.process-section::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.30;
  pointer-events: none;
}
.process-section::before { background: #8b5cf6; left: 6%; top: 16%; }
.process-section::after  { background: #22d3ee; right: 8%; bottom: 12%; }

.process-section .section-title { color: #ffffff; }
.process-section .section-description { color: rgba(255, 255, 255, 0.75); }

/* خلفية قسم الشركاء */
.partners-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1100px 520px at 95% -10%, rgba(111, 76, 255, 0.12), transparent 65%),
    radial-gradient(900px 480px at 5% 110%, rgba(45, 190, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #0d0f1a 0%, #0f1322 50%, #131735 100%);
  color: #eef0f6;
}

.partners-section::before,
.partners-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.partners-section::before {
  background: radial-gradient(800px 300px at 20% 50%, rgba(255, 255, 255, 0.04), transparent 60%);
  mix-blend-mode: overlay;
}
.partners-section::after {
  background: radial-gradient(600px 240px at 80% 40%, rgba(255, 255, 255, 0.03), transparent 60%);
  mix-blend-mode: overlay;
}

.partners-section .section-title, .services-section .section-title { color: #ffffff; }
.partners-section .section-description { color: rgba(255, 255, 255, 0.75); }
/* بطاقات الشركاء: شعار واسم */
.partners-section .partner-logo {
  flex-direction: column;
  gap: 10px;
  text-align: center;
  padding: 1.25rem;
}
.partners-section .partner-logo-img {
  max-width: 120px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.partners-section .partner-logo-name {
  font-weight: 700;
  color: inherit;
}


/* نقاط زخرفية خافتة لخلفية الخدمات */
.services-section.services-pro::before,
.services-section.services-pro::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.30;
  pointer-events: none;
}
.services-section.services-pro::before { background: #8b5cf6; left: 6%; top: 16%; }
.services-section.services-pro::after  { background: #22d3ee; right: 8%; bottom: 12%; }

/* عنوان كبير يشبه الصورة */
.features-heading .features-title {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* سهم زخرفي على اليمين */
.features-heading .features-arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-inline-start: 10px;
  border-inline-start: 7px solid #ffffff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.35));
}

/* بطاقة بزجاج متوهج وحافة كابسول للأيقونة */
.feature-card.pro {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  border: 1px solid rgba(172, 150, 255, 0.25);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  padding: 26px 22px 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.03);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  overflow: visible;
}
.feature-card.pro:focus-visible { outline: 2px solid #a77cff; outline-offset: 3px; }
.feature-card.pro:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.06);
  border-color: rgba(187, 170, 255, 0.45);
}

/* أيقونة ضمن كبسولة شفافة */
.feature-icon.capsule {
  width: 90px; height: 90px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin: -20px auto 18px;
  border: 1px solid rgba(190, 170, 255, 0.35);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  color: #c9b5ff;
  box-shadow: inset 0 0 22px rgba(166, 106, 255, 0.18), 0 8px 20px rgba(0,0,0,0.25);
}
.icon-svg { width: 30px; height: 30px; opacity: 0.92; }

/* العناوين والنصوص */
.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}
.feature-description {
  font-size: 0.92rem;
  color: #d8d2ff;
  margin: 6px 0 0;
  text-align: center;
}

/* خط تقدّم زخرفي أسفل البطاقة */
.feature-progress {
  position: absolute;
  inset-inline: 18px;
  bottom: 12px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
  border-radius: 999px;
  overflow: hidden;
}
.feature-card.pro:hover .feature-progress::after,
.feature-card.pro:focus-visible .feature-progress::after {
  animation-play-state: running;
}
.feature-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #b378ff 10%, #65e0ff 40%, #b378ff 70%, #ffffff 100%);
  transform: translateX(-60%);
  animation: progressMove 2.2s cubic-bezier(.23,1,.32,1) infinite;
  animation-play-state: paused;
}
@keyframes progressMove {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}

/* تأثير ميل مع المؤشر + إضاءة عند التحويم */
.feature-card.pro {
  transform-style: preserve-3d;
}
.feature-card.pro:hover .feature-icon,
.feature-card.pro:focus-visible .feature-icon {
  box-shadow: inset 0 0 28px rgba(166, 106, 255, 0.28), 0 10px 26px rgba(0,0,0,0.35);
  color: #e6daff;
}

/* نقاط زخرفية خافتة في الخلفية */
.features-section.features-pro::before,
.features-section.features-pro::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}
.features-section.features-pro::before { background: #b378ff; left: 6%; top: 22%; }
.features-section.features-pro::after { background: #62e7ff; right: 8%; top: 18%; }

/* حركة ناعمة مستمرة لنقاط الخلفية أثناء التنقل */
.features-section.features-pro::before { animation: driftDot1 28s ease-in-out infinite alternate; }
.features-section.features-pro::after  { animation: driftDot2 32s ease-in-out infinite alternate; }
@keyframes driftDot1 {
  0%   { transform: translate(0, 0); opacity: 0.35; }
  50%  { transform: translate(12px, -16px); opacity: 0.30; }
  100% { transform: translate(-14px, 10px); opacity: 0.28; }
}
@keyframes driftDot2 {
  0%   { transform: translate(0, 0); opacity: 0.34; }
  50%  { transform: translate(-10px, 14px); opacity: 0.30; }
  100% { transform: translate(12px, -12px); opacity: 0.27; }
}

/* حركة طفيفة مستمرة لأيقونات الكبسولة داخل بطاقات المزايا */
.feature-icon.capsule { animation: floatSoft 6.5s ease-in-out infinite; }
@keyframes floatSoft {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-4px); }
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .features-section.features-pro::before,
  .features-section.features-pro::after { animation: none; }
  .feature-icon.capsule { animation: none; }
}

/* حركات دخول عند الظهور */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.features-heading, .feature-card.pro { animation: fadeUp 700ms ease both; overflow: unset; }
.feature-card.pro:nth-child(1) { animation-delay: 80ms; }
.feature-card.pro:nth-child(2) { animation-delay: 160ms; }
.feature-card.pro:nth-child(3) { animation-delay: 240ms; }
.feature-card.pro:nth-child(4) { animation-delay: 320ms; }

/* تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .feature-card.pro, .features-heading { animation: none; }
  .feature-card.pro, .feature-card.pro:hover { transform: none !important; }
}

/* حركات إضافية احترافية لبطاقات المزايا: عند الظهور، التحويم، والنقر */
.feature-card.pro { will-change: transform, box-shadow; }
.feature-card.pro.in-view { animation: softLift 700ms cubic-bezier(.23,1,.32,1) both; }
@keyframes softLift {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* تأثير ضغط خفيف عند النقر */
.feature-card.pro:active { transform: translateY(-2px) scale(0.99); }

/* تأثير موجة (Ripple) عند النقر */
.feature-card.pro { overflow: hidden; }
.feature-card.pro .feature-ripple {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(139,92,246,0.6) 45%, rgba(34,211,238,0.4) 75%, transparent 100%);
  mix-blend-mode: screen;
  animation: rippleOut 650ms ease-out forwards;
}
@keyframes rippleOut {
  0%   { opacity: 0.85; transform: translate(-50%, -50%) scale(0.35); }
  60%  { opacity: 0.35; transform: translate(-50%, -50%) scale(10); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(14); }
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .feature-card.pro.in-view { animation: none; }
  .feature-card.pro .feature-ripple { animation-duration: 0ms; opacity: 0; }
}

/* خدمات - تصميم احترافي وكبسولات أيقونات */
.services-section.services-pro {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1100px 480px at 12% 12%, rgba(139, 92, 246, 0.32) 0%, rgba(30, 10, 60, 0.12) 52%, transparent 70%),
    radial-gradient(780px 380px at 82% 28%, rgba(34, 211, 238, 0.22) 0%, rgba(12, 24, 52, 0.12) 46%, transparent 72%),
    linear-gradient(135deg, #130426 0%, #230940 40%, #2a0b49 58%, #38105f 82%, #2b0a4f 100%);
  color: #e9e4ff;
  overflow: hidden;
}

/* خلفية قسم المدونة بنفس خلفية الخدمات */
.blog-section.blog-pro {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1100px 480px at 12% 12%, rgba(139, 92, 246, 0.32) 0%, rgba(30, 10, 60, 0.12) 52%, transparent 70%),
    radial-gradient(780px 380px at 82% 28%, rgba(34, 211, 238, 0.22) 0%, rgba(12, 24, 52, 0.12) 46%, transparent 72%),
    linear-gradient(135deg, #130426 0%, #230940 40%, #2a0b49 58%, #38105f 82%, #2b0a4f 100%);
  color: #e9e4ff;
  overflow: hidden;
}
.blog-section.blog-pro::before,
.blog-section.blog-pro::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.30;
  pointer-events: none;
}
.blog-section.blog-pro::before { background: #8b5cf6; left: 6%; top: 16%; }
.blog-section.blog-pro::after  { background: #22d3ee; right: 8%; bottom: 12%; }
.blog-section .section-title { color: #ffffff; }
.blog-section .section-description { color: rgba(255, 255, 255, 0.75); }

/* بطاقات المدونة - نفس نمط بطاقات الخدمات */
.blog-card.pro {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-right: 5px solid var(--secondary-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card.pro:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(92, 35, 130, 0.2);
}
.blog-card.pro:focus-visible { outline: 2px solid #8b5cf6; outline-offset: 3px; }

.blog-meta { display: flex; gap: 8px; align-items: center; }
.blog-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  box-shadow: 0 4px 12px rgba(139,92,246,.35);
}
.blog-date { color: #6b6b83; font-size: 0.8rem; }
.blog-title { color: var(--primary-color); font-weight: 700; font-size: 1.1rem; margin: 10px 0; }
.blog-excerpt { color: var(--gray-text); font-size: 0.95rem; line-height: 1.7; flex-grow: 1; }
.blog-readmore { color: var(--secondary-color); font-weight: 700; text-decoration: none; }
.blog-readmore:hover { text-decoration: underline; }

/* صورة مصغّرة للمقال داخل البطاقة */
.blog-card .blog-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.06);
}
.blog-card .blog-thumb img {
  width: 100%;
  height: 200px;
  display: block;
  object-fit: cover;
  transition: transform 300ms ease;
}
.blog-card.pro:hover .blog-thumb img { transform: scale(1.03); }
@media (min-width: 992px) {
  .blog-card .blog-thumb img { height: 220px; }
}

/* تقليل الحركة إذا فضّل المستخدم ذلك */
@media (prefers-reduced-motion: reduce) {
  .blog-card.pro, .blog-card.pro:hover { transition: none; transform: none; }
}

/* خدمات - بطاقات زجاجية بظلال وحدود متوهجة */
.services-section.services-pro .service-card.pro {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-right: none;
  position: relative;
  margin: 36px 14px 44px;
}
.services-section.services-pro .service-card.pro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}
.services-section.services-pro .service-card.pro:hover {
  box-shadow: 0 22px 60px rgba(92, 35, 130, 0.35);
  transform: translateY(-10px);
}

/* كبسولة الأيقونة: أكبر وعائمة فوق حافة البطاقة */
.services-section.services-pro .service-card.pro .service-icon.capsule {
  position: absolute;
  top: -28px;
  left: 18px;
  width: 90px;
  height: 90px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}
.services-section.services-pro .service-card.pro .service-icon.capsule .icon-svg {
  width: 40px;
  height: 40px;
  opacity: 0.95;
}

/* عناوين الأقسام: اهتزاز ناعم وكرة فوسفورية صغيرة */
.section-title {
  direction: rtl;
  position: relative;
  transform-origin: center;
  animation: soft-title-vibration 6s ease-in-out infinite;
  will-change: transform;
  display: block;
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-inline-end: 10px;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #22d3ee 45%, #8b5cf6 85%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset,
              0 0 10px 2px rgba(34, 211, 238, 0.85),
              0 0 22px 8px rgba(139, 92, 246, 0.45);
  animation: phosphor-blink 2.8s ease-in-out infinite;
}
@keyframes soft-title-vibration {
  0%   { transform: translate3d(0, 0, 0) rotate(0); }
  20%  { transform: translate3d(0.6px, -0.4px, 0) rotate(0.06deg); }
  40%  { transform: translate3d(0.3px, 0.5px, 0) rotate(-0.05deg); }
  60%  { transform: translate3d(-0.7px, -0.3px, 0) rotate(0.05deg); }
  80%  { transform: translate3d(-0.4px, 0.6px, 0) rotate(-0.06deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0); }
}
@keyframes phosphor-blink {
  0%, 100% {
    opacity: 0.82;
    filter: brightness(0.95);
    box-shadow: 0 0 8px 2px rgba(34, 211, 238, 0.75),
                0 0 20px 8px rgba(139, 92, 246, 0.35);
  }
  50% {
    opacity: 1;
    filter: brightness(1.08);
    box-shadow: 0 0 12px 3px rgba(34, 211, 238, 1),
                0 0 32px 12px rgba(139, 92, 246, 0.55);
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-title { animation: none; }
  .section-title::before { animation: none; }
}

/* وسم المقال: عائم فوق صورة المقال */
.blog-section.blog-pro .blog-card.pro { position: relative; }
.blog-section.blog-pro .blog-card.pro .blog-meta {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3;
  pointer-events: none;
}
.blog-section.blog-pro .blog-card.pro .blog-meta .blog-tag,
.blog-section.blog-pro .blog-card.pro .blog-meta .blog-date {
  color: #fff;
  font-weight: 600;
}
@media (min-width: 992px) {
  .blog-section.blog-pro .blog-card.pro .blog-meta { top: 16px; left: 16px; }
}

/* قسم التواصل: تنسيق زجاجي وحركات ناعمة وروابط شبكات كاملة */
.contact-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1100px 480px at 12% 12%, rgba(139, 92, 246, 0.32) 0%, rgba(30, 10, 60, 0.12) 52%, transparent 70%),
    radial-gradient(780px 380px at 82% 28%, rgba(34, 211, 238, 0.22) 0%, rgba(12, 24, 52, 0.12) 46%, transparent 72%),
    linear-gradient(135deg, #130426 0%, #230940 40%, #2a0b49 58%, #38105f 82%, #2b0a4f 100%);
  color: #e9e4ff;
  overflow: hidden;
  padding-block: 60px;
}
.contact-section::before,
.contact-section::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.30;
  pointer-events: none;
}
.contact-section::before { background: #8b5cf6; left: 6%; top: 16%; }
.contact-section::after  { background: #22d3ee; right: 8%; bottom: 12%; }
.contact-section .section-title { color: #ffffff; }
.contact-section .section-description { color: rgba(255, 255, 255, 0.75); }
.contact-section .contact-info,
.contact-section .contact-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.contact-section .contact-info { padding: 24px; animation: fadeInUpSoft 600ms ease both; }
.contact-section .contact-form { padding: 24px; animation: fadeInUpSoft 600ms ease both; animation-delay: 120ms; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 12px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.contact-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(-2px);
}
.contact-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.social-link {
  --accent: #8b5cf6;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: floatY 6s ease-in-out infinite;
}
.social-link:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 40px color-mix(in oklab, var(--accent) 55%, rgba(0,0,0,0.0) 45%);
  border-color: color-mix(in oklab, var(--accent) 40%, white 60%);
}
.social-link .social-icon { font-size: 18px; font-weight: 700; line-height: 1; }
.social-link:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,0.6), 0 0 0 6px var(--accent); }

.social-link--facebook { --accent: #1877F2; }
.social-link--instagram { --accent: #DD2A7B; }
.social-link--linkedin { --accent: #0A66C2; }
.social-link--whatsapp { --accent: #25D366; }
.social-link--twitter { --accent: #1DA1F2; }
.social-link--tiktok { --accent: #69C9D0; }
.social-link--youtube { --accent: #FF0000; }
.social-link--snapchat { --accent: #FFFC00; color: #000; }
.social-link--telegram { --accent: #26A4E3; }
.social-link--pinterest { --accent: #E60023; }

.contact-form .form-label { color: #fff; font-weight: 600; }
.contact-form .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}
.contact-form .form-control::placeholder { color: rgba(255, 255, 255, 0.6); }
.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #8b5cf6;
  box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.35);
}
.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  border: none;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:focus-visible { box-shadow: 0 0 0 0.25rem rgba(34, 211, 238, 0.5); outline: none; }

@keyframes fadeInUpSoft { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.row>* {
    margin-bottom: 41px;
}
/* =============================
   Footer (Professional Styling)
   ============================= */
.footer {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, #0d0f1a 0%, #11152a 55%, #0c1020 100%);
  color: #e9e4ff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.26;
  pointer-events: none;
}
.footer::before { background: #8b5cf6; left: 6%; top: -30px; }
.footer::after  { background: #22d3ee; right: 8%; bottom: -40px; opacity: 0.22; }

.footer .footer-title {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 10px 0 8px;
}
.footer .footer-description {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 8px;
}
.footer .footer-links li a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  transition: color 200ms ease;
}
.footer .footer-links li a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8b5cf6 0%, #22d3ee 100%);
  transition: width 220ms ease;
}
.footer .footer-links li a:hover { color: #ffffff; }
.footer .footer-links li a:hover::after { width: 100%; }

.footer .footer-social { margin-top: 8px; }
.footer .social-link {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.footer .social-link:hover {
  transform: translateY(-3px) scale(1.06);
}

.footer-divider {
  height: 1px;
  border: 0;
  margin: 16px 0 12px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(139, 92, 246, 0.35) 25%,
    rgba(34, 211, 238, 0.28) 75%,
    rgba(255, 255, 255, 0.06) 100%
  );
}
.footer-copyright {
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.95rem;
  margin: 0;
}

.footer img {
  display: block;
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, filter;
  animation: footerLogoPulse 2.4s ease-in-out infinite;
}

@keyframes footerLogoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25)) brightness(1);
  }
  50% {
    transform: scale(1.055);
    filter: drop-shadow(0 6px 22px rgba(139, 92, 246, 0.35)) brightness(1.06);
  }
}

@media (max-width: 576px) {
  .footer .footer-title { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .footer::before,
  .footer::after { display: none; }
  .footer img { animation: none; }
}

/* =============================
   Contact Cards (Transparent + Glow)
   ============================= */
.contact-section.contact-pro .card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.contact-section.contact-pro .card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.85), rgba(34, 211, 238, 0.85));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  pointer-events: none;
}

.contact-section.contact-pro .card::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(120px 120px at 50% 50%, rgba(34, 211, 238, 0.18), transparent 60%);
  filter: blur(16px);
  opacity: 0.25;
  pointer-events: none;
}

.contact-section.contact-pro .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.12), 0 6px 18px rgba(139, 92, 246, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-section.contact-pro .card:hover::before { opacity: 0.55; }

.contact-section.contact-pro .card-body { color: #eaf2ff; }
.contact-section.contact-pro .card-title { color: #eaf2ff; letter-spacing: 0.2px; }

.contact-section.contact-pro .form-control {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #eaf2ff;
}
.contact-section.contact-pro .form-control::placeholder { color: rgba(234, 242, 255, 0.6);
}
.contact-section.contact-pro .form-control:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .contact-section.contact-pro .card { transition: none; }
  .contact-section.contact-pro .card:hover { transform: none; }
}