/* ============================================
   DocClinic - Public Site Premium Design
   RTL-First with Advanced Animations
   (عند بقاء كاش قديم على الاستضافة: زِد APP_ASSET_VERSION في .env)
   ============================================ */

   :root {
    /* Base Colors */
    --dc-bg: #0a0f1a;
    --dc-surface: rgba(255, 255, 255, 0.04);
    --dc-card: rgba(255, 255, 255, 0.06);
    --dc-card-hover: rgba(255, 255, 255, 0.09);
    --dc-text: #ffffff;
    --dc-text-secondary: rgba(255, 255, 255, 0.7);
    --dc-muted: rgba(255, 255, 255, 0.55);

    /* مكوّنات RGB للشفافيات — تتبدّل مع اختيار لون الثيم */
    --dc-rgb-primary: 37, 99, 235;
    --dc-rgb-accent: 14, 165, 233;
    
    /* Blue Primary Palette - Medical Theme */
    --dc-primary: #2563eb;
    --dc-primary-light: #3b82f6;
    --dc-primary-dark: #1d4ed8;
    --dc-primary-glow: rgba(var(--dc-rgb-primary), 0.4);
    --dc-accent: #0ea5e9;
    --dc-accent-glow: rgba(var(--dc-rgb-accent), 0.3);
    --dc-success: #10b981;
    --dc-warning: #f59e0b;
    --dc-danger: #ef4444;
    
    /* Gradients */
    --dc-gradient-primary: linear-gradient(135deg, #2563eb, #0ea5e9);
    --dc-gradient-hero: radial-gradient(ellipse at 30% 40%, rgba(var(--dc-rgb-primary), 0.15), transparent 50%);
    --dc-gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    
    /* Shadows */
    --dc-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.15);
    --dc-shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
    --dc-shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.3);
    --dc-shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.4);
    --dc-shadow-primary: 0 10px 40px rgba(var(--dc-rgb-primary), 0.3);
    
    /* Borders */
    --dc-radius-sm: 12px;
    --dc-radius-md: 18px;
    --dc-radius-lg: 24px;
    --dc-radius-xl: 32px;
    --dc-radius-full: 9999px;
    
    /* Animations */
    --dc-transition-fast: 0.2s ease;
    --dc-transition-base: 0.3s ease;
    --dc-transition-slow: 0.5s ease;
    --dc-transition-slower: 0.8s ease;

    /* Typography — Cairo لكل النصوص العربية */
    --dc-font-body: 'Cairo', 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --dc-font-display: 'Cairo', 'Tajawal', system-ui, sans-serif;
  }

  /* ألوان ثيم إضافية (زر منتقي الألوان — data-dc-theme على <html>) */
  html[data-dc-theme="teal"] {
    --dc-primary: #0d9488;
    --dc-primary-light: #14b8a6;
    --dc-primary-dark: #0f766e;
    --dc-accent: #2dd4bf;
    --dc-rgb-primary: 13, 148, 136;
    --dc-rgb-accent: 45, 212, 191;
    --dc-gradient-primary: linear-gradient(135deg, #0d9488, #2dd4bf);
  }

  html[data-dc-theme="violet"] {
    --dc-primary: #7c3aed;
    --dc-primary-light: #8b5cf6;
    --dc-primary-dark: #6d28d9;
    --dc-accent: #38bdf8;
    --dc-rgb-primary: 124, 58, 237;
    --dc-rgb-accent: 56, 189, 248;
    --dc-gradient-primary: linear-gradient(135deg, #7c3aed, #38bdf8);
  }

  html[data-dc-theme="rose"] {
    --dc-primary: #e11d48;
    --dc-primary-light: #f43f5e;
    --dc-primary-dark: #be123c;
    --dc-accent: #fb7185;
    --dc-rgb-primary: 225, 29, 72;
    --dc-rgb-accent: 251, 113, 133;
    --dc-gradient-primary: linear-gradient(135deg, #e11d48, #fb7185);
  }

  html[data-dc-theme="amber"] {
    --dc-primary: #d97706;
    --dc-primary-light: #f59e0b;
    --dc-primary-dark: #b45309;
    --dc-accent: #fbbf24;
    --dc-rgb-primary: 217, 119, 6;
    --dc-rgb-accent: 251, 191, 36;
    --dc-gradient-primary: linear-gradient(135deg, #d97706, #fbbf24);
  }
  
  /* ============================================
     Global Reset & Base
     ============================================ */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* مظهر داكن لعناصر النماذج الأصلية (خاصة قائمة <select> المنبثقة في Chrome/Edge) */
  html {
    color-scheme: dark;
    /* يمنع تصغير/تكبير النص غير المتوقع على iOS/Android */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-family: var(--dc-font-body);
  }
  
  body {
    font-family: var(--dc-font-body);
    background: var(--dc-bg);
    color: var(--dc-text);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  /* لا ترث الخط تلقائياً — فرض Cairo */
  button,
  input,
  select,
  textarea,
  optgroup,
  option {
    font-family: var(--dc-font-body);
  }

  /* محتوى المقالات: إلغاء خطوط المحرر المضمّنة */
  .dc-rich {
    font-family: var(--dc-font-body);
  }
  .dc-rich * {
    font-family: inherit !important;
  }
  .dc-rich code,
  .dc-rich pre,
  .dc-rich kbd,
  .dc-rich samp {
    font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace !important;
  }

  .dc-rich .fa,
  .dc-rich .fas,
  .dc-rich .far,
  .dc-rich .fab,
  .dc-rich .fa-solid,
  .dc-rich .fa-regular,
  .dc-rich .fa-brands {
    font-family: var(--fa-style-family, "Font Awesome 6 Free") !important;
  }
  .dc-rich .fab,
  .dc-rich .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
  }

  /* Particle canvas (local, no external libs) */
  #dcParticles{
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .9;
  }

  /* ============================================
     Showcase slider (3D cube / fallback)
     ============================================ */
  /* Swiper-inspired layout (scoped) */
  .dc-travel{
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 22px 0;
  }
  .dc-travel__grid{
    display: grid;
    grid-template-columns: 50% 45%;
    place-items: center;
    gap: 60px;
    padding: 20px 0;
  }
  .dc-travel__content{max-width: 820px;}
  .dc-travel__content h1{
    font-family: Cairo, "Tajawal", sans-serif !important;
    font-size: clamp(1.85rem, 5.2vw + 0.6rem, 3.5rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: 0.02em;
    margin-bottom: 26px;
    color: #fff;
    font-synthesis: none;
  }
  .dc-travel__content p{
    font-family: Cairo, "Tajawal", sans-serif !important;
    font-size: clamp(1.0625rem, 2.2vw + 0.75rem, 1.25rem);
    font-weight: 400;
    line-height: 1.75;
    margin-bottom: 26px;
    color: rgba(255,255,255,.92);
  }
  .dc-travel__actions{display:flex; gap:12px; flex-wrap:wrap;}
  .dc-travel__btn{
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: clamp(0.9375rem, 0.88rem + 0.4vw, 1rem);
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.22);
    outline: 0;
    padding: 10px 16px;
    border-radius: 12px;
    transform: translateY(0);
    transition: all .25s ease;
    text-decoration: none;
  }
  .dc-travel__btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.16);}
  .dc-travel__btn--primary{
    background: var(--dc-gradient-primary);
    border-color: rgba(255,255,255,.25);
    box-shadow: var(--dc-shadow-primary);
  }

  .dc-travel__slider .swiper{position:relative; width: 400px; height: 490px;}
  .dc-travel__slider .swiper-slide{
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.22);
    user-select: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--dc-shadow-lg);
  }
  .dc-travel__slider .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .dc-travel__slider .cost{
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 6px 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
  }
  .dc-travel__slider .overlay{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 160px;
    padding: 10px 20px;
    background: rgba(20, 28, 68, 0.30);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
  }
  .dc-travel__slider .overlay h1{
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
  }
  .dc-travel__slider .overlay p{
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.3;
    opacity: .95;
  }
  .dc-travel__slider .ratings{
    display:flex;
    column-gap: 10px;
    margin-top: 8px;
    align-items:center;
  }
  .dc-travel__slider .stars{display:flex; gap:6px;}
  .dc-travel__slider .star{
    width: 14px; height: 14px; display:inline-block;
    background: radial-gradient(circle at 30% 30%, #afe312, #7bbf05);
    clip-path: polygon(50% 0%, 63% 35%, 98% 35%, 70% 57%, 82% 92%, 50% 72%, 18% 92%, 30% 57%, 2% 35%, 37% 35%);
  }
  .dc-travel__slider .star.is-off{
    opacity: .22;
    filter: saturate(.6);
  }
  .dc-travel__slider .star.half{opacity:.55;}
  .dc-travel__slider .ratings span{font-size: .9rem; opacity:.85;}

  @media (max-width: 1050px){
    .dc-travel__slider .swiper{width:350px;height:450px;}
  }
  @media (max-width: 930px){
    .dc-travel__grid{
      grid-template-columns: 100%;
      gap: 44px;
      padding: 40px 0;
    }
    .dc-travel__content{text-align:center;}
    .dc-travel__actions{justify-content:center;}
    .dc-travel__btn{width: min(520px, 100%); justify-content: center; text-align: center;}
  }
  @media (max-width: 470px){
    .dc-travel__slider .swiper{width:300px;height:400px;}
    .dc-travel__content h1{ margin-bottom: 18px; }
    .dc-travel__content p{ margin-bottom: 20px; }
    .dc-travel__btn{
      min-height: 48px;
      padding: 12px 18px;
      font-size: 1rem;
    }
    .dc-travel__slider .overlay h1{
      font-size: clamp(1.05rem, 4vw + 0.5rem, 1.35rem);
      line-height: 1.25;
    }
    .dc-travel__slider .overlay p{
      font-size: 0.9375rem;
      line-height: 1.45;
    }
    .dc-travel__slider .ratings span{
      font-size: 0.875rem;
    }
  }
  
  /* Animated Background with Medical Floating Elements */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: 
      radial-gradient(ellipse at 20% 30%, rgba(var(--dc-rgb-primary), 0.08), transparent 50%),
      radial-gradient(ellipse at 80% 70%, rgba(var(--dc-rgb-accent), 0.06), transparent 50%),
      radial-gradient(ellipse at 40% 80%, rgba(var(--dc-rgb-primary), 0.04), transparent 60%);
    pointer-events: none;
    z-index: -2;
  }
  
  /* Animated Medical Icons Floating Background */
  .dc-floating-icons {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
  }
  
  .floating-icon {
    position: absolute;
    opacity: 0.04;
    animation: floatIcon 20s infinite linear;
    font-size: 60px;
  }
  
  .floating-icon:nth-child(1) { top: 10%; left: 5%; animation-duration: 25s; animation-delay: 0s; }
  .floating-icon:nth-child(2) { top: 60%; left: 85%; animation-duration: 30s; animation-delay: 2s; font-size: 80px; }
  .floating-icon:nth-child(3) { top: 30%; left: 90%; animation-duration: 22s; animation-delay: 5s; }
  .floating-icon:nth-child(4) { top: 70%; left: 10%; animation-duration: 28s; animation-delay: 1s; font-size: 50px; }
  .floating-icon:nth-child(5) { top: 85%; left: 45%; animation-duration: 35s; animation-delay: 8s; font-size: 45px; }
  .floating-icon:nth-child(6) { top: 15%; left: 70%; animation-duration: 26s; animation-delay: 3s; }
  .floating-icon:nth-child(7) { top: 45%; left: 20%; animation-duration: 32s; animation-delay: 6s; font-size: 55px; }
  .floating-icon:nth-child(8) { top: 50%; left: 50%; animation-duration: 40s; animation-delay: 10s; font-size: 70px; opacity: 0.03; }
  
  @keyframes floatIcon {
    0% {
      transform: translateY(0) rotate(0deg) scale(1);
    }
    33% {
      transform: translateY(-30px) rotate(5deg) scale(1.05);
    }
    66% {
      transform: translateY(30px) rotate(-5deg) scale(0.95);
    }
    100% {
      transform: translateY(0) rotate(0deg) scale(1);
    }
  }
  
  /* Grid Pattern Overlay */
  .dc-grid-overlay {
    position: fixed;
    inset: 0;
    background-image: 
      linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
  }
  
  /* Animated Blobs */
  .dc-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
    animation: blobFloat 15s ease-in-out infinite;
  }
  
  .dc-blob--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--dc-primary), transparent);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
  }
  
  .dc-blob--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--dc-accent), transparent);
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
    animation-duration: 18s;
  }
  
  .dc-blob--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--dc-rgb-primary), 0.4), transparent);
    top: 40%;
    right: 20%;
    animation-delay: 5s;
    animation-duration: 20s;
  }
  
  .dc-blob--4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(var(--dc-rgb-accent), 0.35), transparent);
    bottom: 20%;
    left: 10%;
    animation-delay: 8s;
    animation-duration: 22s;
  }
  
  @keyframes blobFloat {
    0%, 100% {
      transform: translate(0, 0) scale(1);
    }
    25% {
      transform: translate(30px, -20px) scale(1.1);
    }
    50% {
      transform: translate(-15px, 35px) scale(0.95);
    }
    75% {
      transform: translate(20px, 15px) scale(1.05);
    }
  }
  
  /* ============================================
     Typography
     ============================================ */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  /* العربية: تباعد حروف سالب يضعف الوضوح على الشاشات الصغيرة */
  [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    letter-spacing: 0;
  }
  
  .dc-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff, var(--dc-primary-light), var(--dc-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    animation: titleGlow 3s ease-in-out infinite;
  }
  
  @keyframes titleGlow {
    0%, 100% {
      filter: drop-shadow(0 0 20px rgba(var(--dc-rgb-primary), 0.3));
    }
    50% {
      filter: drop-shadow(0 0 40px rgba(var(--dc-rgb-primary), 0.5));
    }
  }
  
  .dc-subtitle {
    font-size: 18px;
    color: var(--dc-text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
  }
  
  /* ============================================
     Container & Layout
     ============================================ */
  .container {
    /* Full-width pages (no boxed layout) */
    max-width: 100%;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 56px);
    position: relative;
    z-index: 1;
  }
  
  /* ============================================
     Header with Glassmorphism
     ============================================ */
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(10, 15, 26, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--dc-transition-base);
  }

  /* Mobile nav */
  .dc-nav-toggle{
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--dc-radius-sm);
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(10px);
    cursor: pointer;
    position: relative;
    box-shadow: var(--dc-shadow-sm);
  }
  .dc-nav-toggle span{
    position: absolute;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    height: 2px;
    background: rgba(255,255,255,.85);
    border-radius: 2px;
    transition: transform var(--dc-transition-base), top var(--dc-transition-base), opacity var(--dc-transition-base);
  }
  .dc-nav-toggle span:nth-child(1){ top: 14px; }
  .dc-nav-toggle span:nth-child(2){ top: 21px; }
  .dc-nav-toggle span:nth-child(3){ top: 28px; }

  /* toggle button animation could be added here later */

  @media (max-width: 900px){
    .dc-nav-toggle{ display: inline-block; }
    .dc-nav{
      position: absolute;
      top: 68px;
      inset-inline-end: 16px;
      width: min(92vw, 380px);
      background: rgba(10, 15, 26, 0.86);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: var(--dc-radius-md);
      box-shadow: var(--dc-shadow-lg);
      backdrop-filter: blur(18px);
      overflow: hidden;
      transform: translateY(-8px) scale(0.985);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
      z-index: 120;
    }
    .dc-nav.is-open{
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }
    .dc-nav ul{
      flex-direction: column;
      gap: 0;
      padding: 10px;
    }
    .dc-nav li{ width: 100%; }
    .dc-nav a{
      display: flex;
      justify-content: space-between;
      width: 100%;
      align-items: center;
      padding: 14px 14px;
      border-radius: 12px;
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.4;
      min-height: 48px;
    }
    .dc-nav a.nav-cta{
      justify-content: center;
      gap: 8px;
      min-height: 48px;
      padding: 12px 16px;
      font-size: 0.9375rem;
    }
    .header-content{ position: relative; }
  }
  
  header.scrolled {
    background: rgba(10, 15, 26, 0.9);
    border-bottom-color: rgba(var(--dc-rgb-primary), 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }
  
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
  }
  
  /* Logo — صورة من إعدادات الموقع؛ حركة خفيفة بدون دوران */
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-align: start;
  }

  .logo-text__title {
    display: block;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0;
    background: var(--dc-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .logo-text__tag {
    margin: 0;
    color: var(--dc-text-secondary);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
  }
  
  /**
   * خلفية شفافة بلا إطار: خصوصية عالية + !important لتجاوز كاش CSS قديم على السيرفر.
   * إن بقي مربع ملون فهو غالباً جزء من بكسلات ملف الصورة (يُعاد تصدير PNG بخلفية شفافة).
   */
  header .header-content a.logo .logo-icon,
  .logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    position: relative;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible;
    outline: none !important;
  }

  header .header-content a.logo .logo-icon__img,
  .logo-icon__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 0;
    background: transparent !important;
    transform-origin: 50% 60%;
    /* ظل خفيف واحد فقط — الظلال الواسعة قد تبدو كمستطيل خلف الأيقونة */
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.28));
    pointer-events: none;
    animation: dcLogoCharm 5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    transition: transform 0.45s cubic-bezier(0.34, 1.45, 0.64, 1), filter 0.35s ease;
  }

  header .header-content a.logo:hover .logo-icon__img,
  .logo:hover .logo-icon__img {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.08);
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.38))
      drop-shadow(0 0 16px rgba(var(--dc-rgb-primary), 0.22));
  }

  /**
   * طفو لطيف + نبض + ميل بسيط (بدون دوران كامل)
   */
  @keyframes dcLogoCharm {
    0%,
    100% {
      transform: translateY(0) scale(1) rotate(0deg);
    }
    12% {
      transform: translateY(-5px) scale(1.06) rotate(-2.5deg);
    }
    24% {
      transform: translateY(-1px) scale(1.02) rotate(1.5deg);
    }
    36% {
      transform: translateY(-4px) scale(1.05) rotate(-1deg);
    }
    50% {
      transform: translateY(0) scale(1) rotate(0deg);
    }
    62% {
      transform: translateY(-3px) scale(1.04) rotate(2deg);
    }
    74% {
      transform: translateY(-1px) scale(1.01) rotate(-0.5deg);
    }
    86% {
      transform: translateY(-4px) scale(1.06) rotate(1deg);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .logo-icon__img {
      animation: none;
    }
    .logo:hover .logo-icon__img {
      transform: none;
    }
  }
  
  /* Navigation */
  nav ul {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
  }
  
  nav a {
    color: var(--dc-text-secondary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--dc-radius-sm);
    transition: all var(--dc-transition-fast);
    position: relative;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.3;
  }
  
  nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--dc-gradient-primary);
    border-radius: 2px;
    transition: transform var(--dc-transition-base);
  }
  
  nav a:hover::before {
    transform: translateX(-50%) scaleX(1);
  }
  
  nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
  }
  
  nav .nav-cta {
    background: var(--dc-gradient-primary);
    color: white !important;
    border: none;
    /* أصغر من روابط القائمة العادية مع بقاء وضوحه كزر */
    padding: 5px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    border-radius: var(--dc-radius-full);
    box-shadow: 0 3px 12px rgba(var(--dc-rgb-primary), 0.22);
    white-space: nowrap;
  }

  nav .nav-cta i {
    font-size: 0.85em;
    opacity: 0.95;
  }
  
  nav .nav-cta::before {
    display: none;
  }
  
  nav .nav-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 6px 18px rgba(var(--dc-rgb-primary), 0.32);
  }
  
  /* ============================================
     Hero Section with 3D Animation
     ============================================ */
  .dc-hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
  }
  
  .dc-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
  }
  
  /* Hero Content Animations */
  .dc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--dc-radius-full);
    margin-bottom: 24px;
    animation: slideInLeft 0.6s ease-out;
    backdrop-filter: blur(10px);
  }
  
  .dc-kicker span {
    font-size: 14px;
    font-weight: 500;
    color: var(--dc-primary-light);
  }
  
  .dc-kicker i {
    animation: pulse 2s infinite;
  }
  
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .dc-title {
    animation: fadeInUp 0.6s ease-out 0.1s both;
  }
  
  .dc-subtitle {
    animation: fadeInUp 0.6s ease-out 0.2s both;
  }
  
  .dc-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Hero Card with 3D Hover */
  .dc-hero-card {
    position: relative;
    border-radius: var(--dc-radius-xl);
    overflow: hidden;
    background: var(--dc-gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--dc-shadow-xl);
    transition: all var(--dc-transition-base);
    animation: fadeInRight 0.6s ease-out;
    transform-style: preserve-3d;
    perspective: 1000px;
  }
  
  .dc-hero-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(var(--dc-rgb-primary), 0.3);
  }
  
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .dc-hero-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--dc-transition-slow);
  }
  
  .dc-hero-card:hover img {
    transform: scale(1.05);
  }
  
  /* Pulsing ring behind hero card */
  .dc-hero-card::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(var(--dc-rgb-primary), 0.2), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulseRing 3s ease-in-out infinite;
  }
  
  @keyframes pulseRing {
    0%, 100% {
      opacity: 0.3;
      transform: scale(0.95);
    }
    50% {
      opacity: 0.6;
      transform: scale(1.05);
    }
  }
  
  /* ============================================
     Buttons
     ============================================ */
  .dc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--dc-radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--dc-transition-base);
    cursor: pointer;
    border: none;
    font-size: 15px;
    position: relative;
    overflow: hidden;
  }
  
  .dc-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }
  
  .dc-btn:hover::before {
    width: 300px;
    height: 300px;
  }
  
  .dc-btn--primary {
    background: var(--dc-gradient-primary);
    color: white;
    box-shadow: var(--dc-shadow-primary);
  }
  
  .dc-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(var(--dc-rgb-primary), 0.5);
  }
  
  .dc-btn--wa {
    background: rgba(var(--dc-rgb-primary), 0.15);
    border: 1px solid rgba(var(--dc-rgb-primary), 0.3);
    color: white;
  }
  
  .dc-btn--wa:hover {
    background: rgba(var(--dc-rgb-primary), 0.25);
    border-color: rgba(var(--dc-rgb-primary), 0.5);
    transform: translateY(-3px);
  }

  .dc-btn.dc-btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
  }
  .dc-btn.dc-btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.42);
  }
  
  /* ============================================
     Cards with Medical Theme
     ============================================ */
  .dc-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--dc-radius-lg);
    padding: 28px 24px;
    transition: all var(--dc-transition-base);
    position: relative;
    overflow: hidden;
  }
  
  .dc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--dc-gradient-primary);
    transform: scaleX(0);
    transition: transform var(--dc-transition-base);
  }
  
  .dc-card:hover::before {
    transform: scaleX(1);
  }
  
  .dc-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(var(--dc-rgb-primary), 0.2);
    box-shadow: var(--dc-shadow-lg);
  }
  
  /* Card Icon */
  .dc-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--dc-rgb-primary), 0.15);
    border-radius: var(--dc-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--dc-transition-base);
  }
  
  .dc-card:hover .dc-card-icon {
    background: var(--dc-gradient-primary);
    transform: scale(1.05) rotate(5deg);
  }
  
  .dc-card-icon i {
    font-size: 28px;
    color: var(--dc-primary-light);
    transition: all var(--dc-transition-base);
  }
  
  .dc-card:hover .dc-card-icon i {
    color: white;
  }
  
  .dc-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
  }
  
  .dc-card p {
    color: var(--dc-text-secondary);
    line-height: 1.7;
    margin: 0;
  }
  
  /* ============================================
     Section Styles
     ============================================ */
  .dc-section {
    padding: 80px 0;
    position: relative;
  }
  
  .dc-section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
  }
  
  .dc-section-title h2 {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, white, var(--dc-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
  }
  
  .dc-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--dc-gradient-primary);
    border-radius: 3px;
  }
  
  .dc-section-title .hint {
    color: var(--dc-text-secondary);
    font-size: 14px;
  }
  
  /* ============================================
     Grid System
     ============================================ */
  .dc-grid {
    display: grid;
    gap: 28px;
  }

  /* Extra breathing room for stacked cards on mobile */
  @media (max-width: 768px){
    .dc-grid{ gap: 34px; }
  }
  
  .dc-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ============================================
     Stats Section (home)
     ============================================ */
  .dc-stats-section{
    padding-block: 8px 12px;
  }

  .dc-stats-head{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 24px;
    margin-bottom: 28px;
  }

  .dc-stats-head__titles{
    max-width: min(640px, 100%);
  }

  .dc-stats-head__title{
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.25;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.88) 40%, var(--dc-primary-light) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  [dir="rtl"] .dc-stats-head__title{
    letter-spacing: 0;
  }

  .dc-stats-head__lead{
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--dc-text-secondary);
  }

  .dc-stats-live-pill{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--dc-radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,.88);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
    flex-shrink: 0;
  }

  .dc-stats-live-pill__dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
    animation: dcLivePulse 2.2s ease-out infinite;
  }

  @keyframes dcLivePulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
    70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
  }

  .dc-stats{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
  }

  .dc-stat-card{
    grid-column: span 4;
    position: relative;
    border-radius: calc(var(--dc-radius-lg) + 4px);
    padding: 1px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(var(--dc-rgb-primary), 0.35), rgba(255,255,255,.08) 45%, rgba(var(--dc-rgb-accent), 0.2));
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
    transition: transform var(--dc-transition-base), box-shadow var(--dc-transition-base);
  }

  .dc-stat-card__shine{
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 40%, rgba(255,255,255,.07) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.9s ease;
    pointer-events: none;
  }

  .dc-stat-card:hover .dc-stat-card__shine{
    transform: translateX(100%);
  }

  .dc-stat-card__body{
    position: relative;
    z-index: 1;
    height: 100%;
    border-radius: var(--dc-radius-lg);
    padding: 20px 20px 18px;
    background: linear-gradient(165deg, rgba(14, 18, 30, 0.92), rgba(10, 15, 26, 0.88));
    border: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(16px);
  }

  .dc-stat-card:hover{
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 28px 70px rgba(0,0,0,.26), 0 0 0 1px rgba(var(--dc-rgb-primary), 0.12);
  }

  .dc-stat-card--primary{
    background: linear-gradient(145deg, rgba(var(--dc-rgb-accent), 0.45), rgba(var(--dc-rgb-primary), 0.35), rgba(255,255,255,.1));
  }

  .dc-stat-top{
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
  }

  .dc-stat-titles{
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }

  .dc-stat-icon{
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: rgba(255,255,255,.95);
    background: linear-gradient(145deg, rgba(var(--dc-rgb-primary), 0.22), rgba(var(--dc-rgb-primary), 0.08));
    border: 1px solid rgba(var(--dc-rgb-primary), 0.28);
    box-shadow: 0 12px 28px rgba(var(--dc-rgb-primary), 0.12);
  }

  .dc-stat-icon svg{
    width: 24px;
    height: 24px;
    display: block;
  }

  .dc-stat-card--primary .dc-stat-icon{
    background: linear-gradient(145deg, rgba(var(--dc-rgb-accent), 0.28), rgba(var(--dc-rgb-accent), 0.1));
    border-color: rgba(var(--dc-rgb-accent), 0.35);
    box-shadow: 0 12px 32px rgba(var(--dc-rgb-accent), 0.14);
  }

  .dc-stat-label{
    font-weight: 800;
    letter-spacing: 0.01em;
    color: rgba(255,255,255,.94);
    font-size: 15px;
    line-height: 1.3;
  }

  .dc-stat-sub{
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255,255,255,.52);
    font-weight: 500;
  }

  .dc-stat-value{
    font-size: clamp(32px, 3.6vw, 46px);
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--dc-primary-light) 55%, var(--dc-accent) 130%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 18px rgba(var(--dc-rgb-primary), 0.15));
  }

  @media (max-width: 1100px){
    .dc-stat-card{ grid-column: span 6; }
  }

  /* جوال وتابلت: بطاقات بعرض كامل عمودياً (حتى لا تبقى عمودين مزدحمين بين 768–1100px) */
  @media (max-width: 991px){
    .dc-stats-section{
      padding-block: 16px 24px;
    }

    .dc-stats-head{
      flex-direction: column;
      align-items: stretch;
      gap: 14px 16px;
      margin-bottom: 22px;
    }

    .dc-stats-head__lead{
      font-size: 1rem;
      line-height: 1.72;
    }

    .dc-stats-live-pill{
      align-self: flex-start;
      font-size: 0.8125rem;
      padding: 10px 16px;
      letter-spacing: 0.02em;
    }

    .dc-stats{
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
      padding: 0;
      margin-inline: 0;
      overflow: visible;
    }

    .dc-stat-card{
      grid-column: 1 / -1;
      width: 100%;
      max-width: none;
    }

    .dc-stat-card:hover{
      transform: none;
    }

    .dc-stat-card__body{
      padding: 20px 18px 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .dc-stat-top{
      margin-bottom: 0;
      align-items: center;
      gap: 16px;
    }

    .dc-stat-icon{
      width: 52px;
      height: 52px;
      border-radius: 18px;
    }

    .dc-stat-icon svg{
      width: 26px;
      height: 26px;
    }

    .dc-stat-label{
      font-size: 1.0625rem;
      line-height: 1.35;
    }

    .dc-stat-sub{
      font-size: 0.9375rem;
      line-height: 1.5;
      color: rgba(255,255,255,.65);
    }

    .dc-stat-value{
      font-size: clamp(2.5rem, 11vw, 3.25rem);
      letter-spacing: 0;
      line-height: 1.05;
      align-self: flex-start;
    }
  }

  /* ============================================
     Articles (public)
     ============================================ */
  .dc-article-card{
    display: block;
    text-decoration: none !important;
    color: inherit;
    padding: 0;
  }
  /* Prevent hover-lift overlap for article cards (mobile/touch can "stick" hover) */
  .dc-article-card.dc-card:hover{
    transform: none;
  }
  .dc-article-card__img{
    height: 190px;
    overflow: hidden;
    border-radius: var(--dc-radius-lg) var(--dc-radius-lg) 0 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .dc-article-card__img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform var(--dc-transition-base), filter var(--dc-transition-base);
    filter: saturate(1.05) contrast(1.02);
  }
  .dc-article-card:hover .dc-article-card__img img{
    transform: scale(1.07);
    filter: saturate(1.15) contrast(1.05);
  }
  .dc-article-card__body{
    padding: 22px 22px 20px;
  }
  .dc-article-card__meta{
    margin: 6px 0 10px;
    font-size: 13px;
    color: rgba(255,255,255,.66);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .dc-dot{ opacity: .7; }
  .dc-article-card__more{
    margin-top: 14px;
    font-weight: 800;
    color: rgba(255,255,255,.86);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .dc-article-card__more::after{
    content:'←';
    display:inline-block;
    transform: translateX(0);
    transition: transform var(--dc-transition-base), opacity var(--dc-transition-base);
    opacity: .85;
  }
  .dc-article-card:hover .dc-article-card__more::after{
    transform: translateX(-4px);
    opacity: 1;
  }

  /* Featured articles section separation */
  .dc-featured-articles{
    margin: 18px 0 18px;
  }
  .dc-featured-articles__title{
    margin: 0 0 14px 0;
    font-weight: 900;
    letter-spacing: .2px;
  }
  .dc-articles-separator{
    height: 1px;
    margin: 22px 0 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(250, 204, 21, .45), rgba(59,130,246,.35), transparent);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
  }
  .dc-articles-grid{
    margin-top: 6px;
  }

  /* Featured badge (animated star) */
  .dc-article-card--featured{
    position: relative;
  }
  /* If featured card has no image, add top padding so badge doesn't cover title */
  .dc-article-card--featured.dc-article-card--noimg .dc-article-card__body{
    padding-top: 54px;
  }
  .dc-featured-badge{
    position: absolute;
    top: 12px;
    inset-inline-start: 12px; /* right in RTL, left in LTR */
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 6px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    animation: dcBadgeFloat 2.2s ease-in-out infinite;
  }
  .dc-featured-badge::before{
    content:"";
    display:none;
  }
  .dc-featured-badge__star{
    font-size: 20px;
    line-height: 1;
    color: #facc15;
    text-shadow: 0 2px 10px rgba(250,204,21,.55);
    transform-origin: 50% 50%;
    animation: dcStarPop 1.2s ease-in-out infinite;
  }
  @keyframes dcBadgeFloat{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-3px); }
  }
  @keyframes dcBadgeGlow{
    0%,100%{ opacity:.22; transform: scale(.92); }
    50%{ opacity:.50; transform: scale(1.05); }
  }
  @keyframes dcStarPop{
    0%,100%{ transform: rotate(-8deg) scale(1); }
    50%{ transform: rotate(10deg) scale(1.08); }
  }
  @media (prefers-reduced-motion: reduce){
    .dc-featured-badge, .dc-featured-badge::before, .dc-featured-badge__star{ animation: none !important; }
  }

  .dc-article-hero{
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 18px;
  }
  .dc-article-cover{
    border-radius: var(--dc-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    height: clamp(220px, 34vw, 380px);
  }
  .dc-article-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display:block;
  }
  .dc-article-kicker{
    display:flex;
    align-items:center;
    gap: 10px;
    color: rgba(255,255,255,.62);
    font-size: 13px;
  }
  .dc-link{ color: rgba(255,255,255,.86); text-decoration:none; }
  .dc-link:hover{ text-decoration: underline; }
  .dc-article-title{
    font-size: clamp(28px, 4.2vw, 44px);
    font-weight: 900;
    line-height: 1.1;
    margin: 10px 0 8px;
    letter-spacing: .2px;
  }
  .dc-article-meta{
    display:flex;
    align-items:center;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.68);
    font-size: 14px;
  }

  .dc-rich{
    color: rgba(255,255,255,.88);
    line-height: 1.9;
    font-size: 16px;
  }
  .dc-rich h1,.dc-rich h2,.dc-rich h3{ color: #fff; margin: 18px 0 10px; }
  .dc-rich p{ margin: 0 0 12px; }
  .dc-rich ul,.dc-rich ol{ margin: 10px 0 16px 0; padding-inline-start: 20px; }
  .dc-rich a{ color: rgba(255,255,255,.95); text-decoration: underline; text-decoration-color: rgba(59,130,246,.55); }
  .dc-rich img{ max-width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.10); }
  
  /* ============================================
     Reveal Animation
     ============================================ */
  [data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /*
    Fix: reveal translateY can visually overlap stacked cards (esp. article cards)
    while the animation is running. Keep reveal as opacity-only for article cards.
  */
  .dc-article-card[data-reveal]{
    transform: none;
  }
  
  [data-reveal].is-in {
    opacity: 1;
    transform: translateY(0);
  }

  .dc-article-card[data-reveal].is-in{
    transform: none;
  }
  
  /* Stagger children */
  .dc-grid [data-reveal]:nth-child(1) { transition-delay: 0s; }
  .dc-grid [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
  .dc-grid [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
  .dc-grid [data-reveal]:nth-child(4) { transition-delay: 0.3s; }
  .dc-grid [data-reveal]:nth-child(5) { transition-delay: 0.4s; }
  .dc-grid [data-reveal]:nth-child(6) { transition-delay: 0.5s; }

  .dc-stats-section .dc-stat-card[data-reveal] {
    transition-delay: var(--dc-stat-delay, 0ms);
  }
  
  /* ============================================
     Form Styles
     ============================================ */
  .form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--dc-radius-md);
    color: var(--dc-text);
    font-size: 15px;
    transition: all var(--dc-transition-base);
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--dc-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(var(--dc-rgb-primary), 0.2);
  }
  
  .form-control::placeholder {
    color: var(--dc-text-secondary);
  }
  
  .form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--dc-text-secondary);
    font-weight: 500;
    font-size: 14px;
  }
  
  select.form-control {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--dc-text);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--dc-radius-sm);
  }

  select.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--dc-text);
  }

  /* خيارات القائمة — تدعمها Chrome/Firefox/Safari بدرجات مختلفة */
  select.form-control option,
  select.form-control optgroup {
    background-color: #121a2b;
    color: #f8fafc;
  }

  select.form-control option:checked {
    background-color: #1e3a8a;
    color: #fff;
  }
  
  /* ============================================
     Pagination
     ============================================ */
  .mt-4 {
    margin-top: 48px;
  }

  /* أصناف مستخدمة في resources/views/site/* (كانت تعتمد على Bootstrap عبر app.css) */
  .d-flex {
    display: flex;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .align-items-center {
    align-items: center;
  }
  .align-items-start {
    align-items: flex-start;
  }
  .justify-content-between {
    justify-content: space-between;
  }
  .gap-2 {
    gap: 0.5rem;
  }
  .mb-3 {
    margin-bottom: 1rem;
  }
  .mt-1 {
    margin-top: 0.25rem;
  }
  .mt-2 {
    margin-top: 0.5rem;
  }
  .mt-3 {
    margin-top: 1rem;
  }
  .small {
    font-size: 0.875rem;
  }
  .text-danger {
    color: #f87171;
  }
  .row.g-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .row.g-3 > .col-12 {
    flex: 1 1 100%;
    min-width: 0;
  }
  @media (min-width: 768px) {
    .row.g-3 > .col-md-6 {
      flex: 1 1 calc(50% - 0.5rem);
      max-width: calc(50% - 0.5rem);
    }
  }
  
  .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .pagination a,
  .pagination span {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--dc-radius-sm);
    color: var(--dc-text-secondary);
    text-decoration: none;
    transition: all var(--dc-transition-fast);
  }
  
  .pagination a:hover {
    background: rgba(var(--dc-rgb-primary), 0.2);
    border-color: var(--dc-primary);
    color: white;
  }
  
  .pagination .active span {
    background: var(--dc-gradient-primary);
    color: white;
    border-color: transparent;
  }
  
  /* ============================================
     Medical Pulse Animation for Elements
     ============================================ */
  .dc-medical-pulse {
    animation: medicalPulse 2s ease-in-out infinite;
  }
  
  @keyframes medicalPulse {
    0%, 100% {
      opacity: 0.6;
    }
    50% {
      opacity: 1;
      text-shadow: 0 0 10px rgba(var(--dc-rgb-primary), 0.5);
    }
  }
  
  /* Heartbeat line divider */
  .dc-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--dc-primary), var(--dc-accent), transparent);
    margin: 40px 0;
    animation: heartbeatLine 1.5s ease-in-out infinite;
  }
  
  @keyframes heartbeatLine {
    0%, 100% {
      opacity: 0.3;
      transform: scaleX(1);
    }
    50% {
      opacity: 1;
      transform: scaleX(1.02);
    }
  }
  
  /* ============================================
     Responsive Design
     ============================================ */
  @media (max-width: 1200px) {
    .container {
      max-width: 960px;
    }
    
    .dc-title {
      font-size: 48px;
    }
  }
  
  @media (max-width: 992px) {
    .dc-hero-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
    
    .dc-hero-card {
      max-width: 500px;
      margin: 0 auto;
    }
    
    .dc-kicker {
      margin: 0 auto 24px;
    }
    
    .dc-actions {
      justify-content: center;
    }
    
    .dc-grid--3 {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .dc-section-title {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .dc-title {
      font-size: 40px;
    }
  }
  
  @media (max-width: 768px) {
    html {
      font-size: 106.25%;
    }

    .header-content {
      flex-direction: row;
      flex-wrap: wrap;
      padding: 12px 0;
      align-items: center;
    }
    
    nav ul {
      justify-content: center;
    }
    
    .dc-section {
      padding: 52px 0;
    }
    
    .dc-grid--3 {
      grid-template-columns: 1fr;
    }
    
    .dc-title {
      font-size: clamp(1.75rem, 6vw + 0.5rem, 2rem);
    }
    
    .dc-section-title h2 {
      font-size: clamp(1.5rem, 5vw + 0.35rem, 1.75rem);
      line-height: 1.25;
    }

    .dc-section-title .hint {
      font-size: 0.9375rem;
      line-height: 1.65;
    }
    
    .dc-hero {
      padding: 50px 0 40px;
    }

    .dc-subtitle {
      font-size: 1.0625rem;
      line-height: 1.75;
    }

    .dc-card h3 {
      font-size: 1.1875rem;
    }

    .dc-card p {
      font-size: 1.0625rem;
      line-height: 1.75;
    }

    .logo-text__title {
      font-size: clamp(1.125rem, 4vw + 0.5rem, 1.25rem);
    }

    .logo-text__tag {
      font-size: 0.875rem;
      opacity: 0.92;
    }

    .dc-rich {
      font-size: 1.0625rem;
      line-height: 1.85;
    }

    .dc-article-title {
      font-size: clamp(1.5rem, 5.5vw + 0.5rem, 2rem);
      line-height: 1.2;
    }

    .dc-article-card__meta {
      font-size: 0.875rem;
    }

    .form-control {
      font-size: 16px;
      min-height: 48px;
    }

    .form-label {
      font-size: 0.9375rem;
    }

    .footer-column p {
      font-size: 0.9375rem;
      line-height: 1.8;
    }

    .footer-column h3 {
      font-size: 1.125rem;
    }

    .quick-links a {
      font-size: 0.9375rem;
    }

    .footer-bottom p {
      font-size: 0.8125rem;
    }
  }
  
  @media (max-width: 480px) {
    html {
      font-size: 108%;
    }

    .container {
      padding: 0 max(16px, env(safe-area-inset-left, 0px)) 0 max(16px, env(safe-area-inset-right, 0px));
    }
    
    .dc-btn {
      padding: 14px 22px;
      font-size: 1rem;
      min-height: 48px;
    }
    
    .dc-card {
      padding: 22px 18px;
    }

    .footer-column p {
      font-size: 0.9375rem;
    }

    .footer-bottom p {
      font-size: 0.875rem;
    }

    .quick-links a {
      font-size: 0.9375rem;
      padding: 8px 0;
      min-height: 44px;
      align-items: center;
    }

    .dc-pricing-card__summary,
    .dc-pricing-card__facts,
    .dc-pricing-card__bullets {
      font-size: 0.9375rem;
    }

    .dc-pricing-block__title {
      font-size: 1.25rem;
    }
  }
  
  /* ============================================
     Loading Animation
     ============================================ */
  .dc-loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(var(--dc-rgb-primary), 0.2);
    border-top-color: var(--dc-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  /* ============================================
     Scrollbar Styling
     ============================================ */
  ::-webkit-scrollbar {
    width: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--dc-bg);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--dc-primary);
    border-radius: 5px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--dc-primary-light);
  }
  
  /* ============================================
     Selection Styling
     ============================================ */
  ::selection {
    background: var(--dc-primary);
    color: white;
  }
  /* ============================================
   Footer Premium Design
   ============================================ */

footer {
  position: relative;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.95) 0%, #050a12 100%);
  border-top: 1px solid rgba(var(--dc-rgb-primary), 0.2);
  margin-top: 80px;
  overflow: hidden;
}

/* Footer Glow Effect */
footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 0%, rgba(var(--dc-rgb-primary), 0.08), transparent 50%);
  pointer-events: none;
}

/* Footer Wave Animation */
footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--dc-primary), 
    var(--dc-accent), 
    var(--dc-primary), 
    transparent
  );
  animation: footerWave 3s ease-in-out infinite;
}

@keyframes footerWave {
  0%, 100% {
    transform: translateX(-100%);
    opacity: 0.5;
  }
  50% {
    transform: translateX(0%);
    opacity: 1;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 60px 0 40px;
  position: relative;
  z-index: 2;
}

/* Footer Columns */
.footer-column {
  animation: footerFadeUp 0.6s ease-out backwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }

@keyframes footerFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-column h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff, var(--dc-primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--dc-gradient-primary);
  border-radius: 2px;
  animation: titleLineExpand 0.8s ease-out;
}

@keyframes titleLineExpand {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 40px;
    opacity: 1;
  }
}

.footer-column p {
  color: var(--dc-text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--dc-radius-sm);
  color: var(--dc-text-secondary);
  font-size: 18px;
  transition: all var(--dc-transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dc-gradient-primary);
  transform: scaleX(0);
  transition: transform var(--dc-transition-base);
  z-index: -1;
}

.social-link:hover::before {
  transform: scaleX(1);
}

.social-link:hover {
  color: white;
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 5px 20px rgba(var(--dc-rgb-primary), 0.3);
}

/* Quick Links */
.quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li {
  margin-bottom: 12px;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dc-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: all var(--dc-transition-fast);
  padding: 5px 0;
  position: relative;
}

.quick-links a i {
  font-size: 12px;
  transition: transform var(--dc-transition-fast);
}

.quick-links a:hover {
  color: white;
  transform: translateX(-5px);
}

.quick-links a:hover i {
  transform: translateX(-3px);
  color: var(--dc-primary-light);
}

.quick-links .badge-new {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--dc-radius-full);
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  vertical-align: middle;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: var(--dc-muted);
  font-size: 13px;
  margin: 0;
  animation: footerBottomFade 0.6s ease-out 0.4s both;
}

@keyframes footerBottomFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Floating Medical Icons in Footer */
footer .floating-medical-icons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.footer-medical-icon {
  position: absolute;
  opacity: 0.03;
  font-size: 80px;
  animation: footerFloatIcon 20s infinite linear;
}

.footer-medical-icon:nth-child(1) {
  bottom: 10%;
  left: 5%;
  animation-duration: 25s;
  font-size: 100px;
}
.footer-medical-icon:nth-child(2) {
  bottom: 20%;
  right: 8%;
  animation-duration: 30s;
  animation-delay: 2s;
}
.footer-medical-icon:nth-child(3) {
  bottom: -10%;
  left: 20%;
  animation-duration: 22s;
  animation-delay: 5s;
  font-size: 120px;
}
.footer-medical-icon:nth-child(4) {
  bottom: 30%;
  right: 25%;
  animation-duration: 28s;
  animation-delay: 8s;
}

@keyframes footerFloatIcon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  footer {
    margin-top: 60px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 0 30px;
    text-align: center;
  }
  
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .quick-links a {
    justify-content: center;
  }
  
  .quick-links a:hover {
    transform: translateX(0);
  }
  
  .quick-links a:hover i {
    transform: translateX(0);
  }
}

/* Newsletter Section (Optional) */
.footer-newsletter {
  margin-top: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--dc-radius-md);
  color: white;
  font-size: 14px;
  transition: all var(--dc-transition-fast);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--dc-primary);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
  padding: 12px 20px;
  background: var(--dc-gradient-primary);
  border: none;
  border-radius: var(--dc-radius-md);
  color: white;
  cursor: pointer;
  transition: all var(--dc-transition-fast);
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Footer Back to Top Button */
.back-to-top {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 45px;
  height: 45px;
  background: rgba(var(--dc-rgb-primary), 0.2);
  border: 1px solid rgba(var(--dc-rgb-primary), 0.3);
  border-radius: var(--dc-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dc-primary-light);
  cursor: pointer;
  transition: all var(--dc-transition-base);
  opacity: 0;
  visibility: hidden;
  z-index: 10;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dc-gradient-primary);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}

/* Footer Cards/Badges */
.footer-badges {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--dc-radius-sm);
  font-size: 12px;
  color: var(--dc-text-secondary);
  transition: all var(--dc-transition-fast);
}

.footer-badge:hover {
  border-color: rgba(var(--dc-rgb-primary), 0.3);
  color: white;
}

.footer-badge i {
  font-size: 14px;
  color: var(--dc-primary-light);
}

/* RTL Support for Footer */
[dir="rtl"] .quick-links a:hover {
  transform: translateX(5px);
}

[dir="rtl"] .quick-links a:hover i {
  transform: translateX(3px);
}

[dir="rtl"] .back-to-top {
  right: auto;
  left: 30px;
}

@media (max-width: 768px) {
  [dir="rtl"] .back-to-top {
    right: auto;
    left: 20px;
  }
}

/* ============================================
   Pricing (public)
   ============================================ */
.dc-pricing-hero {
  align-items: flex-start;
}
.dc-pricing-hero__text {
  flex: 1;
  min-width: min(100%, 320px);
}
.dc-pricing-hero__text .hint {
  margin-top: 12px;
  max-width: 640px;
}
.dc-pricing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.dc-btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--dc-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--dc-text);
  text-decoration: none !important;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color var(--dc-transition-fast), background var(--dc-transition-fast);
}
.dc-btn--ghost:hover {
  border-color: rgba(var(--dc-rgb-primary), 0.45);
  background: rgba(var(--dc-rgb-primary), 0.12);
}
.dc-pricing-block {
  margin-bottom: 56px;
}
.dc-pricing-block__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dc-pricing-block__title i {
  color: var(--dc-primary-light);
}
.dc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1100px) {
  .dc-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .dc-pricing-grid {
    grid-template-columns: 1fr;
  }
}
.dc-pricing-card {
  position: relative;
  padding: 26px 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}
.dc-pricing-card__ribbon {
  position: absolute;
  top: 16px;
  left: -36px;
  transform: rotate(-42deg);
  background: var(--dc-gradient-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 40px;
  box-shadow: var(--dc-shadow-sm);
}
[dir="rtl"] .dc-pricing-card__ribbon {
  left: auto;
  right: -36px;
  transform: rotate(42deg);
}
.dc-pricing-card__head h4 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
}
.dc-pricing-card__summary {
  font-size: 14px;
  color: var(--dc-text-secondary);
  margin: 0 0 8px;
  line-height: 1.6;
}
.dc-pricing-card__meta {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--dc-radius-full);
  background: rgba(var(--dc-rgb-primary), 0.12);
  border: 1px solid rgba(var(--dc-rgb-primary), 0.22);
  color: rgba(255, 255, 255, 0.85);
}
.dc-pricing-card__price {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dc-pricing-card__discount {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: var(--dc-radius-full);
  margin-bottom: 10px;
}
.dc-pricing-card__amount-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.dc-pricing-card__list {
  font-size: 18px;
  color: var(--dc-muted);
}
.dc-pricing-card__final {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--dc-primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dc-pricing-card__save {
  display: block;
  font-size: 13px;
  color: var(--dc-success);
  font-weight: 700;
  margin-top: 6px;
}
.dc-pricing-card__period {
  display: block;
  font-size: 12px;
  color: var(--dc-muted);
  margin-top: 8px;
}
.dc-pricing-card__facts,
.dc-pricing-card__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--dc-text-secondary);
}
.dc-pricing-card__facts li,
.dc-pricing-card__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.dc-pricing-card__facts i,
.dc-pricing-card__bullets i {
  margin-top: 3px;
  color: var(--dc-primary-light);
  flex-shrink: 0;
}
.dc-pricing-footnote {
  font-size: 13px;
  color: var(--dc-muted);
  margin-top: 24px;
  line-height: 1.7;
}
.dc-pricing-empty {
  padding: 32px;
  text-align: center;
}
.dc-pricing-empty h3 {
  margin-bottom: 10px;
}

/* ============================================
   Theme color picker (public site)
   ============================================ */
.dc-theme-picker {
  position: fixed;
  z-index: 200;
  inset-inline-end: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: inherit;
}

.dc-theme-picker__toggle {
  width: 48px;
  height: 48px;
  border-radius: var(--dc-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--dc-gradient-primary);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 22px rgba(var(--dc-rgb-primary), 0.35);
  transition: transform var(--dc-transition-fast), box-shadow var(--dc-transition-fast);
}

.dc-theme-picker__toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(var(--dc-rgb-primary), 0.45);
}

.dc-theme-picker__toggle:focus-visible {
  outline: 2px solid var(--dc-primary-light);
  outline-offset: 3px;
}

.dc-theme-picker__toggle svg {
  display: block;
}

.dc-theme-picker__panel {
  width: min(260px, calc(100vw - 32px));
  padding: 14px 14px 12px;
  border-radius: var(--dc-radius-md);
  background: rgba(10, 15, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: var(--dc-shadow-lg);
}

.dc-theme-picker__panel[hidden] {
  display: none !important;
}

.dc-theme-picker__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dc-text-secondary);
}

.dc-theme-picker__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dc-theme-picker__swatch {
  width: 40px;
  height: 40px;
  border-radius: var(--dc-radius-full);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: transform var(--dc-transition-fast), box-shadow var(--dc-transition-fast);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.dc-theme-picker__swatch:hover {
  transform: scale(1.08);
}

.dc-theme-picker__swatch:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.dc-theme-picker__swatch.is-active {
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.2),
    0 0 0 3px rgba(var(--dc-rgb-primary), 0.55);
  border-color: #fff;
}

.dc-theme-picker__swatch--default {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
}

.dc-theme-picker__swatch--teal {
  background: linear-gradient(135deg, #0d9488, #2dd4bf);
}

.dc-theme-picker__swatch--violet {
  background: linear-gradient(135deg, #7c3aed, #38bdf8);
}

.dc-theme-picker__swatch--rose {
  background: linear-gradient(135deg, #e11d48, #fb7185);
}

.dc-theme-picker__swatch--amber {
  background: linear-gradient(135deg, #d97706, #fbbf24);
}

/* ——— Cairo لكل النصوص (بدون app.css/Tailwind) + إعادة خط Font Awesome ——— */
html[lang="ar"] body {
  font-family: Cairo, "Tajawal", sans-serif !important;
}
html[lang="ar"] body * {
  font-family: inherit !important;
}
html[lang="ar"] body .fab,
html[lang="ar"] body .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
}
html[lang="ar"] body .fa,
html[lang="ar"] body .fas,
html[lang="ar"] body .far,
html[lang="ar"] body .fal,
html[lang="ar"] body .fa-solid,
html[lang="ar"] body .fa-regular {
  font-family: "Font Awesome 6 Free" !important;
}
html[lang="ar"] body .dc-rich code,
html[lang="ar"] body .dc-rich pre,
html[lang="ar"] body .dc-rich kbd,
html[lang="ar"] body .dc-rich samp {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace !important;
}

/* عنوان الهيرو: اسم الخط صريح + أوزان Cairo (فوق أي Inter / ui-sans) */
html[lang="ar"] main .dc-travel .dc-travel__content > h1 {
  font-family: Cairo, "Tajawal", sans-serif !important;
  font-weight: 800 !important;
  font-style: normal !important;
  font-synthesis: none !important;
}