/* ============================================================
   LOCAL VAZIRMATN PERSIAN FONT FACES
   ============================================================ */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html, body, button, input, select, textarea {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ============================================================
   BIODAROU ULTRA - CORPORATE ORANGE HEALTH DESIGN SYSTEM
   Modern, High-Contrast, Medical Biotech Aesthetics
   ============================================================ */

:root {
  /* Corporate Orange Palette - Lighter & Softer Modern Biotech Tones */
  --primary-900: #9a3412;
  --primary-800: #c2410c;
  --primary-700: #ea580c;
  --primary-600: #f97316; /* Soft vibrant corporate orange */
  --primary-500: #fb923c; /* Light warm coral orange */
  --primary-400: #fdba74; /* Soft peach orange */
  --primary-300: #fed7aa;
  --primary-200: #ffedd5;
  --primary-100: #fff7ed;
  --primary-50: #fffaf5;

  /* Golden Amber Plasma */
  --amber-gold: #f59e0b;
  --amber-light: #fef3c7;
  --crimson-blood: #dc2626;
  --crimson-light: #fee2e2;
  --emerald-safe: #059669;
  --emerald-light: #d1fae5;

  /* Slate & Charcoal Grey - Softened from pitch black towards grey */
  --dark-navy: #334155;   /* Modern Slate Charcoal Grey (replaces pitch black #18181b) */
  --dark-slate: #475569;  /* Balanced medium slate grey (replaces #27272a) */
  --slate-800: #475569;
  --slate-700: #64748b;
  --slate-600: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --font-sans: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px -2px rgba(249, 115, 22, 0.10), 0 3px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 16px 30px -4px rgba(249, 115, 22, 0.14), 0 6px 12px -4px rgba(0, 0, 0, 0.07);
  --shadow-xl: 0 24px 45px -8px rgba(30, 41, 59, 0.18);
  --shadow-orange-glow: 0 0 30px rgba(251, 146, 60, 0.30);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background-color: var(--slate-50);
  color: var(--dark-navy);
  font-size: 16px;
  line-height: 1.7;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================================
   TOP BAR & HEADER
   ============================================================ */
.top-bar {
  background: var(--dark-navy);
  color: var(--slate-200);
  font-size: 0.88rem;
  padding: 9px 0;
  border-bottom: 2px solid var(--primary-600);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-pill.orange {
  background: rgba(234, 88, 12, 0.2);
  color: #fdba74;
  border: 1px solid rgba(234, 88, 12, 0.5);
}

.badge-pill.green {
  background: rgba(5, 150, 105, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(5, 150, 105, 0.5);
}

.top-bar-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.top-bar-hotline a {
  color: var(--primary-400);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* SITE HEADER */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(234, 88, 12, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-texts .site-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-700);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.logo-texts span {
  font-size: 0.8rem;
  color: var(--slate-600);
  font-weight: 700;
  display: block;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
}

.nav-link {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--slate-700);
  padding: 8px 4px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-600);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-600), var(--amber-gold));
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* DROPDOWN MENU */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-chevron {
  font-size: 0.8rem;
  transition: transform var(--transition-fast);
  color: var(--primary-600);
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  min-width: 240px;
  background: var(--white);
  border: 1.5px solid var(--primary-100);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-fast);
  z-index: 1050;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: var(--white);
  transform: rotate(45deg);
  border-top: 1.5px solid var(--primary-100);
  border-right: 1.5px solid var(--primary-100);
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--slate-700);
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--slate-100);
}

.dropdown-menu li:last-child .dropdown-link {
  border-bottom: none;
}

.dropdown-link:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  padding-right: 25px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--dark-navy);
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  font-size: 0.96rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.35);
}

.btn-orange-gold {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 60%, #ea580c 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.30);
}

.btn-orange-gold:hover {
  background: linear-gradient(135deg, #fdba74 0%, #fb923c 60%, #f97316 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.40);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-800);
}

.btn-secondary {
  background: var(--slate-100);
  color: var(--dark-navy);
  border-color: var(--slate-200);
}

.btn-secondary:hover {
  background: var(--slate-200);
  color: var(--primary-700);
}

/* ============================================================
   1. CINEMATIC BIOTECH HERO SLIDER (اسلایدر مدرن و سینمایی بیودارو)
   ============================================================ */
.cinema-slider-wrap {
  position: relative;
  overflow: hidden;
  background: #252f3f;
  min-height: 720px;
  height: 85vh;
  max-height: 840px;
}

.cinema-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.cinema-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  z-index: 1;
  display: flex;
  align-items: center;
}

.cinema-slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Ken Burns background zoom */
.cinema-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.0);
  transition: transform 9s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.cinema-slide-item.active .cinema-slide-bg {
  transform: scale(1.06);
}

/* Directional gradient: soft slate charcoal on text side (RTL right), smooth fade to transparent on donor photo (left) */
.cinema-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(37, 47, 63, 0.88) 0%, rgba(37, 47, 63, 0.74) 36%, rgba(37, 47, 63, 0.38) 65%, rgba(37, 47, 63, 0.08) 86%, transparent 100%);
  z-index: 1;
}

.cinema-slide-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 47, 63, 0.25) 0%, transparent 22%, transparent 72%, rgba(37, 47, 63, 0.45) 100%);
}

.cinema-slide-container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 110px;
}

/* Slide Typography & Content */
.cinema-slide-content {
  max-width: 720px;
  color: #ffffff;
  text-align: right;
}

.cinema-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(234, 88, 12, 0.35);
  border: 1.5px solid #fb923c;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.pulse-beacon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fb923c;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.pulse-beacon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: pulseBeacon 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseBeacon {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.cinema-slide-title {
  font-size: 3.15rem;
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
  text-shadow: 4px 3px 14px rgba(0, 0, 0, 0.55), 2px 2px 4px rgba(0, 0, 0, 0.45);
}

.gradient-text-orange {
  background: linear-gradient(135deg, #fdba74 0%, #fb923c 60%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  text-shadow: 3px 2px 24px rgba(249, 115, 22, 0.4);
}

.cinema-slide-desc {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 2.05;
  color: #ffffff;
  margin: 0 0 32px 0;
  max-width: 660px;
  text-shadow: 3px 2px 10px rgba(0, 0, 0, 0.5), 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.cinema-slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 34px;
}

.cinema-main-btn {
  padding: 15px 32px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 14px;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.cinema-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(249, 115, 22, 0.5);
  color: #ffffff;
}

.cinema-glass-btn {
  padding: 15px 26px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.cinema-glass-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.cinema-slide-pills {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 25px;
}

.quick-pill {
  background: rgba(8, 13, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 10px 18px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  font-family: 'Vazirmatn', sans-serif !important;
}

.quick-pill strong {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ff9838;
  line-height: 1.3;
  font-family: 'Vazirmatn', sans-serif !important;
}

.quick-pill span {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.4;
  font-family: 'Vazirmatn', sans-serif !important;
}

/* Floating Glass Badge over photo */
.cinema-floating-badge {
  align-self: flex-end;
  margin-bottom: 20px;
  animation: floatCinemaBadge 4.5s ease-in-out infinite;
}

.floating-badge-inner {
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  padding: 16px 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  white-space: nowrap;
}

.floating-badge-inner .badge-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.floating-badge-inner strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.floating-badge-inner span {
  display: block;
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 2px;
}

@keyframes floatCinemaBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Staggered entrance animations on slide activation */
.cinema-slide-item.active .cinema-slide-badge {
  animation: slideFadeDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both 0.15s;
}

.cinema-slide-item.active .cinema-slide-title {
  animation: slideFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both 0.3s;
}

.cinema-slide-item.active .cinema-slide-desc {
  animation: slideFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both 0.45s;
}

.cinema-slide-item.active .cinema-slide-actions {
  animation: slideFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both 0.6s;
}

.cinema-slide-item.active .cinema-slide-pills {
  animation: slideFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both 0.75s;
}

.cinema-slide-item.active .cinema-floating-badge {
  animation: slideFadeRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) both 0.5s;
}

@keyframes slideFadeDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFadeRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================================
   FLOATING BOTTOM DOCK CONTROLS (نوار مدرن و شیشه‌ای کنترل اسلایدر)
   ============================================================ */
.cinema-slider-dock {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 10;
}

.dock-wrapper {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.dock-counter {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  flex-shrink: 0;
  font-family: 'Vazirmatn', sans-serif !important;
}

.dock-curr-num {
  font-size: 1.45rem;
  color: #fb923c;
  line-height: 1;
  font-weight: 900;
  font-family: 'Vazirmatn', sans-serif !important;
}

.dock-sep {
  color: #64748b;
  font-size: 1rem;
  font-family: 'Vazirmatn', sans-serif !important;
}

.dock-total-num {
  color: #94a3b8;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Vazirmatn', sans-serif !important;
}

.dock-timeline {
  display: flex;
  gap: 16px;
  flex: 1;
  justify-content: center;
  max-width: 840px;
}

.dock-timeline-item {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  text-align: right;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-family: 'Vazirmatn', sans-serif !important;
}

.dock-timeline-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.timeline-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  overflow: hidden;
}

.timeline-fill {
  width: 0%;
  height: 100%;
  background: #fb923c;
  border-radius: 999px;
  transition: width 0.1s linear;
}

.dock-timeline-item.active .timeline-fill {
  background: #fdba74;
}

.timeline-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  transition: color 0.2s ease;
  line-height: 1.5;
  font-family: 'Vazirmatn', sans-serif !important;
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 4px;
}

.timeline-num {
  color: #fb923c;
  font-weight: 800;
  font-size: 0.92rem;
  margin-left: 4px;
}

.dock-timeline-item.active .timeline-text {
  color: #ffffff;
  font-weight: 800;
}

.dock-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.dock-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dock-arrow-btn:hover {
  background: #fb923c;
  border-color: #fb923c;
  transform: scale(1.08);
}

/* ============================================================
   CEO STATEMENT SECTION (سخن مدیرعامل)
   ============================================================ */
.ceo-section {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fef3c7 100%);
  padding: 85px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(234, 88, 12, 0.2);
  border-bottom: 1px solid rgba(234, 88, 12, 0.2);
}

.ceo-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 900px) {
  .ceo-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
}

.ceo-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ceo-photo-frame {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 40%, #f59e0b 80%, #ea580c 100%);
  background-size: 250% 250%;
  box-shadow: 0 14px 34px -4px rgba(249, 115, 22, 0.30),
    0 0 0 6px rgba(249, 115, 22, 0.10),
    0 0 0 12px rgba(249, 115, 22, 0.04);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  animation: ceoRingPulse 8s ease infinite;
}

@keyframes ceoRingPulse {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.ceo-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 4px solid var(--white);
  background: var(--white);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ceo-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.ceo-photo-frame:hover {
  transform: translateY(-8px) scale(1.06);
  box-shadow: 0 22px 48px -4px rgba(234, 88, 12, 0.55),
    0 0 0 9px rgba(234, 88, 12, 0.22),
    0 0 0 18px rgba(234, 88, 12, 0.08);
}

.ceo-photo-frame:hover img {
  transform: scale(1.12);
  filter: contrast(105%) brightness(102%);
}

.ceo-quote-box {
  position: relative;
}

.ceo-quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: rgba(234, 88, 12, 0.25);
  font-family: serif;
  margin-bottom: -20px;
}

.ceo-title-header {
  margin-bottom: 22px;
}

.ceo-subtitle {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-700);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ceo-name {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--dark-navy);
  line-height: 1.3;
}

.ceo-message-text {
  font-size: 1.12rem;
  line-height: 2.1;
  color: var(--slate-800);
  margin-bottom: 28px;
  text-align: justify;
}

.ceo-signature-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px dashed rgba(234, 88, 12, 0.3);
  padding-top: 22px;
  margin-top: 20px;
}

.ceo-signature-img {
  max-height: 65px;
  width: auto;
  filter: contrast(1.2);
}

.ceo-role-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--primary-800);
}

/* ============================================================
   FACILITIES & DONOR EXPERIENCE PHOTO GALLERY
   ============================================================ */
.gallery-section {
  padding: 80px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  background: var(--white);
  transition: all var(--transition-fast);
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-500);
}

.gallery-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.08);
}

.gallery-body {
  padding: 18px 20px;
}

.gallery-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-700);
  background: var(--primary-50);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.gallery-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 6px;
}

.gallery-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.7;
}

/* ============================================================
   CENTERS SELECTOR CARDS
   ============================================================ */
.section-pad {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-600);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--dark-navy);
  line-height: 1.35;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.9;
}

.centers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.center-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
}

.center-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-600);
}

.center-card-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  color: var(--primary-800);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-200);
}

.center-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.center-details-list {
  list-style: none;
  margin-bottom: 26px;
  flex-grow: 1;
}

.center-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--slate-700);
  line-height: 1.8;
}

.center-details-list li strong {
  color: var(--dark-navy);
  min-width: 85px;
}

.center-footer-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
}

/* ============================================================
   PLASMA VS BLOOD COMPARISON
   ============================================================ */
.comparison-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--primary-100);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 35px;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

.comp-table th,
.comp-table td {
  padding: 20px 26px;
  border-bottom: 1px solid var(--slate-200);
}

.comp-table th {
  background: var(--slate-100);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-navy);
}

.comp-table th.highlight-plasma {
  background: var(--primary-600);
  color: var(--white);
}

.comp-table tr:hover td {
  background: #fffaf5;
}

/* ============================================================
   MEDICINES SHOWCASE
   ============================================================ */
.medicines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.medicine-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1.5px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.medicine-card:hover {
  border-color: var(--primary-600);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.medicine-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-800);
  background: var(--primary-100);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 14px;
}

.medicine-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 4px;
}

.medicine-latin {
  font-size: 0.88rem;
  color: var(--slate-500);
  margin-bottom: 14px;
  direction: ltr;
  text-align: right;
  font-weight: 600;
}

.medicine-desc {
  font-size: 0.94rem;
  color: var(--slate-700);
  line-height: 1.8;
  flex-grow: 1;
}

/* ============================================================
   TIMELINE STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  padding: 30px 22px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--slate-200);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.step-card:hover {
  border-color: var(--primary-600);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.step-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.8;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-accordion {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 26px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  background: #fffaf5;
  color: var(--primary-700);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary-600);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 26px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  color: var(--slate-700);
  font-size: 1.02rem;
  line-height: 1.9;
}

.faq-item.active .faq-answer {
  padding: 0 26px 22px;
  max-height: 500px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-navy);
  color: #a1a1aa;
  padding: 75px 0 25px;
  border-top: 5px solid var(--primary-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-widget h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-500);
  border-radius: var(--radius-full);
}

.footer-widget p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--primary-400);
  padding-right: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
}

/* FLOATING BUTTON */
.floating-hotline-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: var(--white);
  padding: 13px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  z-index: 999;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.floating-hotline-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px rgba(234, 88, 12, 0.65);
  color: var(--white);
}

/* ============================================================
   RESPONSIVE FORM & TABLE ARCHITECTURE
   ============================================================ */
.booking-form-card {
  background: var(--white);
  color: var(--dark-navy);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  box-sizing: border-box;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
  text-align: right;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #1e293b;
}

.form-group label .required-star {
  color: #ef4444;
  margin-right: 4px;
  font-weight: 900;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  box-sizing: border-box;
  transition: all 0.25s ease;
  line-height: 1.5;
}

.form-control:focus {
  border-color: #ea580c;
  outline: none;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
  background-color: #ffffff;
}

.form-control::placeholder {
  color: #94a3b8;
  font-size: 0.9rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.comparison-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--primary-100);
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 35px;
  width: 100%;
}

.comp-table,
.table-styled {
  min-width: 620px;
  width: 100%;
  border-collapse: collapse;
}

/* ============================================================
   OFF-CANVAS MOBILE DRAWER & BACKDROP
   ============================================================ */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 27, 0.65);
  backdrop-filter: blur(5px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 320px;
  max-width: 88vw;
  height: 100%;
  background: #ffffff;
  z-index: 10001;
  box-shadow: -10px 0 40px rgba(11, 31, 58, 0.28);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  direction: rtl;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 2px solid #f59e0b;
  background: linear-gradient(125deg, #0b1f3a 0%, #0e5a7a 100%);
  color: #ffffff;
}

.mobile-drawer-header .logo-box {
  max-width: calc(100% - 46px);
  gap: 10px;
}

.mobile-drawer-header .logo-box img {
  background: rgba(255, 255, 255, 0.95);
  padding: 3px 6px;
  border-radius: 8px;
}

.mobile-drawer-header .site-title {
  color: #ffffff !important;
  font-size: 0.98rem !important;
  font-weight: 800;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: #f97316;
  border-color: #f97316;
  color: #ffffff;
}

.mobile-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--slate-800);
  font-weight: 700;
  font-size: 0.98rem;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--primary-50);
  color: var(--primary-700);
}

.mobile-dropdown-item {
  display: flex;
  flex-direction: column;
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--slate-800);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.mobile-dropdown-toggle:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: var(--primary-200);
}

.mobile-dropdown-arrow {
  font-size: 1.1rem;
  color: var(--primary-600);
  transition: transform 0.3s ease;
}

.mobile-submenu {
  display: none;
  list-style: none;
  padding: 6px 12px 6px 16px;
  margin: 6px 0 10px 0;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  border-right: 3px solid var(--primary-600);
}

.mobile-submenu.open {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-sublink {
  display: block;
  padding: 8px 10px;
  color: var(--slate-700);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.mobile-sublink:hover {
  background: var(--primary-100);
  color: var(--primary-800);
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
}

/* Social Media Pills (Instagram & Bale) */
.top-bar-content {
  flex-wrap: nowrap !important;
  gap: 10px;
}

.top-bar-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}

.top-bar-badges .badge-pill {
  font-size: 0.72rem;
  padding: 3px 9px;
  white-space: nowrap;
}

.top-bar-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.top-bar-social-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.top-bar-phone-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.social-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.instagram-pill {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
  box-shadow: 0 2px 8px rgba(221, 42, 123, 0.28);
}

.bale-pill {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.28);
}

/* ============================================================
   GLOBAL RESPONSIVE BREAKPOINTS (ALL DEVICES)
   ============================================================ */

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-bar-content {
    flex-wrap: wrap !important;
    justify-content: center;
  }

  /* Switch to sleek Tablet/Mobile Header + Off-Canvas Drawer */
  .main-nav {
    display: none !important;
  }

  .mobile-toggle-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-size: 1.3rem;
    flex-shrink: 0;
  }

  .header-wrapper {
    padding: 10px 0;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .logo-box {
    gap: 10px;
    min-width: 0;
    flex: 1;
  }

  .logo-img {
    height: 38px;
    width: auto;
    max-width: 115px;
    flex-shrink: 0;
  }

  .logo-texts {
    min-width: 0;
  }

  .logo-texts .site-title {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .logo-texts span:not(.site-title) {
    display: none;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .header-booking-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
    border-radius: 10px;
  }

  /* Ensure Cinema Hero Slider Never Clips on Tablet/Mobile */
  .cinema-slider-wrap {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0;
  }

  .cinema-slides-track {
    position: relative;
    height: auto;
  }

  .cinema-slide-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    pointer-events: none;
  }

  .cinema-slide-item.active {
    position: relative;
    inset: auto;
    pointer-events: auto;
  }

  .cinema-slide-container {
    padding-top: 36px;
    padding-bottom: 105px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cinema-slide-content {
    max-width: 100%;
    width: 100%;
  }

  .cinema-slide-overlay {
    background: linear-gradient(180deg, rgba(22, 30, 46, 0.82) 0%, rgba(22, 30, 46, 0.72) 55%, rgba(22, 30, 46, 0.90) 100%);
  }

  .cinema-floating-badge {
    display: none;
  }

  .ceo-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .centers-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .medicines-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .medicines-catalog-grid {
    grid-template-columns: 1fr;
  }

  .slide-title,
  .cinema-slide-title {
    font-size: 2.1rem;
    line-height: 1.35;
  }
}

/* Tablets & Mobile Landscape (max-width: 768px) */
@media (max-width: 768px) {

  /* Top Bar */
  .top-bar-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 6px 0;
  }

  .top-bar-badges {
    display: none;
  }

  .top-bar-hotline {
    font-size: 0.8rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .top-bar-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  /* Cinema Hero Slider Mobile */
  .cinema-slide-container {
    padding-top: 26px;
    padding-bottom: 120px;
  }

  .cinema-slide-badge {
    font-size: 0.78rem;
    padding: 6px 12px;
    margin-bottom: 14px;
  }

  .cinema-slide-title {
    font-size: 1.65rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .cinema-slide-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 20px;
  }

  .cinema-slide-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .cinema-slide-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.92rem;
  }

  .cinema-slide-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 18px;
  }

  .quick-pill {
    padding: 8px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .quick-pill strong {
    font-size: 0.95rem;
  }

  .quick-pill span {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  /* Position Slider Dock Cleanly Above Floating FAB */
  .cinema-bottom-dock {
    bottom: 66px !important;
  }

  .dock-timeline-item .timeline-text {
    display: none;
  }

  .dock-wrapper {
    padding: 8px 14px;
    gap: 12px;
  }

  /* CEO Section Mobile */
  .ceo-section {
    padding: 50px 0;
  }

  .ceo-photo-frame {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .ceo-name {
    font-size: 1.65rem;
    line-height: 1.35;
  }

  .ceo-message-text {
    font-size: 0.95rem;
    line-height: 1.85;
    text-align: justify;
  }

  .ceo-signature-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .ceo-signature-img {
    max-width: 170px;
  }

  /* Grids */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .medicines-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Booking Form Card */
  .booking-form-card {
    padding: 24px 18px !important;
    border-radius: var(--radius-lg) !important;
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Floating Hotline */
  .floating-hotline-btn {
    bottom: 16px;
    left: 16px;
    padding: 10px 16px;
    font-size: 0.86rem;
  }

  /* Center Cards */
  .center-footer-actions {
    flex-direction: column;
    gap: 10px;
  }

  .center-footer-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Compact Smartphones (max-width: 480px) */
@media (max-width: 480px) {
  .top-bar-badges {
    display: none;
    /* Only show hotline on tiny screens */
  }

  .top-bar-hotline {
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
  }

  .slide-title {
    font-size: 1.55rem;
  }

  .booking-btn-text {
    display: none;
    /* Show icon only for button */
  }

  .header-booking-btn {
    padding: 8px 10px;
    border-radius: var(--radius-sm);
  }

  .section-pad {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.65rem;
    line-height: 1.35;
  }

  .filter-btn {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    padding: 10px;
  }
}

/* ============================================================
   MEDICINES CATALOG & CLINICAL PROFILE STYLES
   ============================================================ */
.medicine-filter-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.filter-btn {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1.5px solid var(--slate-200);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  background: var(--primary-50);
  border-color: var(--primary-400);
  color: var(--primary-700);
}

.filter-btn.active {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.medicines-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .medicines-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .medicines-catalog-grid {
    grid-template-columns: 1fr;
  }
}

.med-item-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.med-item-card:hover {
  border-color: var(--primary-500);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.med-image-wrap {
  width: 100%;
  height: 240px;
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.med-image-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.med-item-card:hover .med-image-wrap img {
  transform: scale(1.08);
}

.medicine-card-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px;
  border: 1px solid var(--slate-200);
  transition: transform 0.3s ease;
}

.medicine-card:hover .medicine-card-img {
  transform: scale(1.06);
}

.med-card-header {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  padding: 26px 28px 20px;
  border-bottom: 1px solid rgba(234, 88, 12, 0.15);
}

.med-tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.med-item-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--primary-900);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.med-item-latin {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-600);
  direction: ltr;
  text-align: right;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.med-card-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.med-lead-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--slate-800);
  margin: 0;
}

.med-lead-text strong {
  color: var(--primary-800);
}

.med-detail-box {
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border-right: 3px solid var(--primary-600);
}

.med-detail-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--slate-800);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.med-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.med-detail-list li {
  font-size: 0.91rem;
  line-height: 1.75;
  color: var(--slate-700);
  position: relative;
  padding-right: 16px;
}

.med-detail-list li::before {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--primary-600);
  font-weight: bold;
}

.med-donor-impact {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border: 1px solid rgba(234, 88, 12, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--primary-900);
  margin-top: auto;
}

.med-donor-impact span {
  font-size: 1.3rem;
  line-height: 1;
}

.clinical-table-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.table-header-box {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  padding: 24px 30px;
  border-bottom: 1px solid rgba(234, 88, 12, 0.15);
}

/* ============================================================
   HIGH-VISIBILITY CTA STYLES: درخواست اهدای پلاسما (کاملاً دم‌دست و چشم‌نواز)
   ============================================================ */
.header-booking-btn {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  color: #ffffff !important;
  padding: 11px 24px !important;
  border-radius: 9999px !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.45) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  animation: glowPulseOrange 2.5s infinite;
}

@keyframes glowPulseOrange {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(234, 88, 12, 0.45);
  }
  50% {
    box-shadow: 0 6px 28px rgba(234, 88, 12, 0.8), 0 0 0 5px rgba(234, 88, 12, 0.25);
  }
}

.header-booking-btn:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 8px 30px rgba(234, 88, 12, 0.75) !important;
  color: #ffffff !important;
}

/* Floating Action Button (دم‌دست روی تمام صفحات دسکتاپ و موبایل) */
.floating-hotline-btn {
  position: fixed !important;
  bottom: 25px !important;
  left: 25px !important;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  color: #ffffff !important;
  padding: 14px 26px !important;
  border-radius: 9999px !important;
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.55) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 800 !important;
  font-size: 1.02rem !important;
  z-index: 99999 !important;
  border: 2px solid rgba(255, 255, 255, 0.45) !important;
  animation: pulseFloatingFAB 2.4s infinite !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

@keyframes pulseFloatingFAB {
  0% {
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.55), 0 0 0 0 rgba(234, 88, 12, 0.65);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 14px 35px rgba(234, 88, 12, 0.7), 0 0 0 14px rgba(234, 88, 12, 0);
    transform: scale(1.04);
  }
  100% {
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.55), 0 0 0 0 rgba(234, 88, 12, 0);
    transform: scale(1);
  }
}

.floating-hotline-btn:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 15px 40px rgba(234, 88, 12, 0.8) !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .floating-hotline-btn {
    bottom: 20px !important;
    left: 15px !important;
    padding: 12px 20px !important;
    font-size: 0.92rem !important;
  }
}

/* News & Announcements Section */
.news-section {
  padding: 70px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.news-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.news-img-box {
  height: 215px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #334155;
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-card-img {
  transform: scale(1.08);
}

.news-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.15) 0%, rgba(51, 65, 85, 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.news-badge-wrap {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.news-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.news-badge.orange {
  background: rgba(234, 88, 12, 0.9);
  color: #ffffff;
}

.news-badge.blue {
  background: rgba(2, 132, 199, 0.9);
  color: #ffffff;
}

.news-badge.green {
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
}

.news-badge.dark {
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.news-icon-overlay {
  font-size: 3.5rem;
  opacity: 0.3;
  transition: transform 0.4s ease;
}

.news-card:hover .news-icon-overlay {
  transform: scale(1.15) rotate(-5deg);
  opacity: 0.45;
}

.news-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  gap: 8px;
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.6;
  margin: 0 0 12px;
}

.news-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-title a:hover {
  color: #ea580c;
}

.news-excerpt {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0 0 20px;
  flex-grow: 1;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ea580c;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: gap 0.2s ease;
  margin-top: auto;
}

.news-read-more:hover {
  gap: 10px;
  color: #c2410c;
}

@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
   ULTRA-ATTRACTIVE SCHEMATIC SHOWCASE SECTION (۹ مرحله اهدا)
   ============================================================ */
.schematic-showcase-section {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 50%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  padding: 85px 0;
}

.schematic-interactive-wrap {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Steps Journey Container */
.schematic-steps-journey {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
}

.journey-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1.5px dashed #e2e8f0;
}

.journey-badge {
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.journey-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.journey-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
  position: relative;
}

.journey-step-card:hover {
  background: #ffffff;
  border-color: #ea580c;
  transform: translateX(-4px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.12);
}

.journey-step-card.highlight-step {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #ea580c;
}

.journey-step-card.reward-step {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #10b981;
}

.step-badge-num {
  font-size: 0.82rem;
  font-weight: 900;
  color: #ea580c;
  background: #ffffff;
  border: 1.5px solid #ea580c;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.18);
  margin-top: 2px;
}

.journey-step-card.reward-step .step-badge-num {
  color: #10b981;
  border-color: #10b981;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.18);
}

.step-icon-box {
  font-size: 1.45rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  flex-grow: 1;
}

.step-content h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.4;
}

.step-content p {
  font-size: 0.88rem;
  color: #475569;
  margin: 0;
  line-height: 1.7;
}

.journey-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

/* Artwork Showcase Frame (Sticky on Desktop) */
.schematic-artwork-frame {
  position: sticky;
  top: 100px;
}

.artwork-card {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artwork-card:hover {
  border-color: #ea580c;
  box-shadow: 0 20px 50px rgba(234, 88, 12, 0.12);
}

.artwork-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.artwork-badge {
  font-size: 0.82rem;
  font-weight: 800;
  background: #0284c7;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
}

.artwork-zoom-hint {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.artwork-img-container {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #e2e8f0;
  padding: 16px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.artwork-schematic-img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.artwork-schematic-img:hover {
  transform: scale(1.04);
}

.artwork-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.metric-item {
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 8px;
  border: 1px solid #e2e8f0;
}

.metric-num {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  color: #ea580c;
  line-height: 1.2;
}

.metric-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  margin-top: 4px;
  line-height: 1.4;
}

@media (max-width: 992px) {
  .schematic-interactive-wrap {
    grid-template-columns: 1fr;
  }

  .schematic-artwork-frame {
    position: static;
    order: -1;
    margin-bottom: 25px;
  }
}

.step-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.step-pill.highlight {
  background: rgba(2, 132, 199, 0.12);
  border-color: #0284c7;
  color: #0284c7;
}

.step-pill.orange {
  background: rgba(234, 88, 12, 0.12);
  border-color: #ea580c;
  color: #ea580c;
}

.step-arrow {
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Donor Club Portal Styles */
.club-tabs-nav {
  scrollbar-width: thin;
}

.club-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 18px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: 'Vazirmatn', sans-serif !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.club-tab-btn:hover {
  color: #ea580c;
}

.club-tab-btn.active {
  color: #ea580c;
  border-bottom-color: #ea580c;
  background: rgba(234, 88, 12, 0.06);
  border-radius: 8px 8px 0 0;
}

.digital-donor-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.digital-donor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(234, 88, 12, 0.35) !important;
}

@media (max-width: 900px) {
  #tab-overview > div {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   INTERACTIVE PUBLIC TRANSIT ROUTING ENGINE (TEHRAN NAVIGATOR)
   ============================================================ */
.transit-navigator-box {
  margin-top: 45px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 24px;
  padding: 38px 34px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.07);
}

.transit-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.transit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid rgba(234, 88, 12, 0.25);
  color: #c2410c;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.transit-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.4;
}

.transit-desc {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.8;
}

.transit-step-block {
  margin-bottom: 24px;
}

.transit-step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
}

.transit-step-label .step-num {
  width: 28px;
  height: 28px;
  background: #ea580c;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 900;
  flex-shrink: 0;
  margin: 0;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}

.transit-dest-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.transit-dest-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  cursor: pointer;
  text-align: right;
  transition: all 0.25s ease;
  font-family: inherit;
  width: 100%;
}

.transit-dest-btn:hover {
  border-color: #ea580c;
  background: #fffaf5;
  transform: translateY(-2px);
}

.transit-dest-btn.active {
  border-color: #ea580c;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.18);
}

.transit-dest-btn .dest-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.transit-dest-btn .dest-text {
  flex-grow: 1;
}

.transit-dest-btn .dest-text strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.transit-dest-btn .dest-text small {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

.transit-dest-btn .dest-status-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  background: #e2e8f0;
  color: #475569;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.transit-dest-btn.active .dest-status-badge {
  background: #ea580c;
  color: #ffffff;
  font-weight: 800;
}

.transit-origin-bar {
  display: flex;
  gap: 12px;
  align-items: center;
}

.transit-select-wrap {
  flex: 1;
}

.transit-select {
  width: 100%;
  padding: 13px 18px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.transit-select:focus {
  border-color: #ea580c;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.btn-transit-gps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-transit-gps:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.transit-map-hint {
  font-size: 0.88rem;
  color: #475569;
  margin-top: 10px;
  background: #f8fafc;
  padding: 8px 14px;
  border-radius: 8px;
  border-right: 3px solid #0284c7;
  display: flex;
  align-items: center;
  gap: 6px;
}

.transit-main-layout {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr;
  gap: 24px;
  margin-top: 24px;
}

.transit-map-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #cbd5e1;
  min-height: 480px;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.transit-leaflet-map {
  width: 100%;
  height: 100%;
  min-height: 480px;
  z-index: 1;
}

.map-floating-legend {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.orange {
  background: #ea580c;
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.3);
}

.legend-dot.blue {
  background: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.3);
}

.legend-dot.pink {
  background: #ec4899;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.25);
}

.legend-dot.green {
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
}

.legend-dash {
  width: 18px;
  height: 3px;
  border-top: 3px dashed #ea580c;
  display: inline-block;
}

.transit-directions-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.transit-direction-header {
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  color: #ffffff;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(51, 65, 85, 0.15);
}

.badge-route-status {
  display: inline-block;
  font-size: 0.78rem;
  background: rgba(234, 88, 12, 0.25);
  color: #fdba74;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 800;
  border: 1px solid rgba(234, 88, 12, 0.35);
  margin-bottom: 6px;
}

#transitSelectedOriginTitle {
  font-size: 1.22rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
}

.transit-modes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.transit-mode-card {
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.transit-mode-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.transit-mode-card .mode-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.transit-mode-card .mode-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.transit-mode-card .mode-title-wrap {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.transit-mode-card .mode-title-wrap strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
}

.transit-mode-card .mode-title-wrap .mode-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
}

.transit-mode-card .mode-speed-tag {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.metro-card .mode-speed-tag {
  background: #e0f2fe;
  color: #0369a1;
}

.brt-card .mode-speed-tag {
  background: #fef3c7;
  color: #b45309;
}

.taxi-card .mode-speed-tag {
  background: #f1f5f9;
  color: #475569;
}

.transit-mode-card .mode-body {
  padding: 16px 20px;
  font-size: 0.94rem;
  line-height: 1.85;
  color: #334155;
}

.transit-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.transit-step-item:last-child {
  margin-bottom: 0;
}

.transit-step-item .step-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ea580c;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 3px;
}

.transit-step-item .step-desc {
  flex: 1;
  color: #1e293b;
}

.transit-step-item .step-desc strong {
  color: #0f172a;
  font-weight: 800;
}

.transit-step-item .step-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  margin-right: 6px;
}

.transit-step-item .step-tag.metro-line {
  background: #dbeafe;
  color: #1e40af;
}

.transit-step-item .step-tag.brt-line {
  background: #ffedd5;
  color: #9a3412;
}

.transit-step-item .step-tag.walk {
  background: #dcfce7;
  color: #166534;
}

.transit-external-apps {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
}

.apps-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
}

.apps-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.app-btn.app-neshan {
  background: #059669;
  color: #ffffff;
}

.app-btn.app-balad {
  background: #0284c7;
  color: #ffffff;
}

.app-btn.app-google {
  background: #ea4335;
  color: #ffffff;
}

.app-btn.app-snapp {
  background: #00d170;
  color: #064e3b;
}

.app-btn.app-tapsi {
  background: #ff5722;
  color: #ffffff;
}

/* Pulse animation for map markers */
.biodarou-pulse-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.biodarou-pulse-pin {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ea580c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.5);
  z-index: 2;
}

.biodarou-pulse-ring {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.35);
  animation: biodarou-marker-pulse 2s infinite ease-out;
  z-index: 1;
}

@keyframes biodarou-marker-pulse {
  0% {
    transform: scale(0.7);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.biodarou-origin-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.5);
}

@media (max-width: 992px) {
  .transit-dest-selector {
    grid-template-columns: 1fr;
  }

  .transit-origin-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-transit-gps {
    justify-content: center;
  }

  .transit-main-layout {
    grid-template-columns: 1fr;
  }

  .transit-map-wrapper {
    min-height: 360px;
    height: 360px;
  }

  .transit-leaflet-map {
    min-height: 360px;
    height: 360px;
  }
}

/* Donor Panel Demo Chips & Search */
.btn-demo-chip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-demo-chip:hover {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
  transform: translateY(-1px);
}

/* ============================================================
   OFFICIAL PHYSICAL-STYLE DONOR ID CARD & SECURITY CERTIFICATE
   Inspired by Iranian Organ & Plasma Donor Identification Cards
   ============================================================ */
.official-card-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.printable-donor-card-wrap {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  perspective: 1000px;
}

.official-donor-id-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.586 / 1;
  min-height: 385px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 55%, #eef6ff 100%);
  border-radius: 18px;
  box-shadow:
    0 20px 40px -15px rgba(11, 31, 58, 0.25),
    0 8px 20px -8px rgba(14, 90, 122, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1.5px solid #cbd5e1;
  user-select: none;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  font-feature-settings: "liga" 1, "calt" 1;
}

/* Precision Iranian Tricolor Top Micro-Ribbon */
.card-tricolor-top-bar {
  position: relative;
  width: 100%;
  height: 4px;
  flex-shrink: 0;
  background: linear-gradient(to left,
    #16a34a 0%, #16a34a 33.33%,
    #ffffff 33.33%, #ffffff 66.66%,
    #dc2626 66.66%, #dc2626 100%
  );
  z-index: 15;
}

/* Subtle Guilloche SVG Background Security Pattern */
.card-guilloche-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Executive Dark Navy Header Band */
.card-header-row {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px 10px;
  background: linear-gradient(125deg, #0b1f3a 0%, #0f365c 58%, #0e5a7a 100%);
  color: #ffffff;
}

.card-header-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-header-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.8);
  flex-shrink: 0;
}

.card-company-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fcd34d;
  letter-spacing: 0;
}

.card-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.card-calligraphy-title {
  font-size: 1.38rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.card-subtitle-en {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.56rem;
  font-weight: 700;
  color: rgba(186, 230, 253, 0.82);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.card-header-logo {
  flex-shrink: 0;
}

.card-logo-pill {
  background: rgba(255, 255, 255, 0.96);
  padding: 5px 11px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.card-header-logo .card-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Gold Metallic Divider */
.card-gold-divider {
  position: relative;
  z-index: 6;
  height: 2.5px;
  width: 100%;
  flex-shrink: 0;
  background: linear-gradient(90deg, #b45309 0%, #facc15 35%, #fef08a 50%, #d97706 75%, #92400e 100%);
}

/* Card Body Content Area */
.card-body-content {
  flex: 1;
  padding: 13px 18px 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 6;
  gap: 8px;
}

/* Semi-transparent Watermark Background */
.card-body-content::before {
  content: '';
  position: absolute;
  top: 46%;
  left: 38%;
  transform: translate(-50%, -50%);
  width: 175px;
  height: 175px;
  background-image: url('../images/biodarou-official-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.045;
  pointer-events: none;
  z-index: -1;
}

/* Card Middle Grid (Photo + Information) */
.card-middle-grid {
  display: flex;
  align-items: stretch;
  gap: 16px;
  flex: 1;
}

/* Photo Column (3x4 Portrait with Metallic Frame + Smart Chip) */
.card-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  width: 126px;
}

.card-photo-frame {
  position: relative;
  width: 118px;
  height: 158px; /* Larger 3x4 portrait aspect filling photo column */
  border: 2px solid #d4af37;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  box-shadow:
    0 6px 14px rgba(15, 23, 42, 0.14),
    inset 0 0 0 2px #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-holo-corner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(45deg, rgba(212, 175, 55, 0.85) 0%, rgba(56, 189, 248, 0.55) 55%, transparent 56%);
  pointer-events: none;
}

.donor-photo-render {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Status Approval Badges */
.photo-approval-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 2.5px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.photo-approval-badge.approved {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.photo-approval-badge.pending {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.photo-approval-badge.rejected {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.card-smart-chip {
  margin-top: 2px;
  opacity: 0.92;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.12));
}

/* Donor Information Data Column */
.card-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.card-info-row.full-name-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #dbeafe;
  border-right: 4px solid #0e5a7a;
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.card-info-row.full-name-row .card-label {
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 700;
}

.card-info-row.full-name-row .card-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0b1f3a;
  line-height: 1.3;
}

.card-info-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}

.info-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 10px;
}

.info-cell.highlight-cell {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #bae6fd;
}

.info-cell .card-label {
  color: #64748b;
  font-weight: 700;
  font-size: 0.62rem;
}

.info-cell .card-val {
  color: #0f172a;
  font-weight: 800;
  font-size: 0.78rem;
}

.info-cell .font-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  letter-spacing: 0;
}

.info-cell .highlight-code {
  color: #0369a1;
  font-weight: 900;
}

.info-cell .count-val {
  color: #ea580c;
  font-weight: 900;
  font-size: 0.82rem;
}

.info-cell .expire-val {
  color: #047857;
  font-weight: 800;
}

.info-cell.full-width-cell {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
}

/* Card Bottom Humanitarian Pledge & Security Strip */
.card-footer-pledge {
  margin-top: 2px;
  padding-top: 7px;
  border-top: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-footer-left-seal {
  flex-shrink: 0;
}

.card-gmp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #0b1f3a;
  color: #fcd34d;
  border: 1px solid #d4af37;
  border-radius: 6px;
  padding: 3px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.48rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.card-gmp-badge .gmp-star {
  font-size: 0.7rem;
  color: #facc15;
}

.pledge-quote {
  margin: 0;
  font-size: 0.63rem;
  color: #065f46;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  font-style: italic;
  flex: 1;
}

.card-barcode {
  flex-shrink: 0;
  background: #ffffff;
  padding: 2px 4px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
}

/* Card Action Buttons (Upload, Download, Print) */
.card-action-btns-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   PRINT MEDIA STYLES FOR OFFICIAL DONOR CARD
   Enables 100% true-to-size physical PVC / paper card printing
   ============================================================ */
@media print {
  @page {
    size: A4 portrait;
    margin: 15mm;
  }

  body * {
    visibility: hidden !important;
  }

  body, html {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
  }

  #printableDonorCardWrap,
  #printableDonorCardWrap * {
    visibility: visible !important;
  }

  #printableDonorCardWrap {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 20mm auto !important;
    padding: 0 !important;
    width: 140mm !important;
    max-width: 100% !important;
    display: block !important;
    box-shadow: none !important;
  }

  .official-donor-id-card {
    min-height: unset !important;
    height: auto !important;
    aspect-ratio: 1.58 / 1 !important;
    width: 100% !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .card-action-btns-row,
  .donor-lookup-card,
  #donorLoginGate,
  #donorSessionBar,
  .top-bar,
  .site-header,
  .site-footer,
  .club-tabs-nav,
  #photoUploadStatusBox {
    display: none !important;
  }
}

/* Donor Login Form Responsive */
@media (max-width: 768px) {
  #donorLoginForm {
    grid-template-columns: 1fr !important;
  }
  #donorLoginForm button[type="submit"] {
    width: 100%;
    justify-content: center;
  }
}

/* Points Badge & Breakdown Modal Styling */
.clickable-points-card {
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.clickable-points-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45) !important;
  border-color: #fbbf24 !important;
}

.clickable-points-chip {
  cursor: pointer;
  transition: all 0.2s ease !important;
}

.clickable-points-chip:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5) !important;
}

#floatingPointsBadge {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#floatingPointsBadge:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.55) !important;
}

@keyframes starBounce {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.25) rotate(15deg);
  }
}

.points-star-animate {
  display: inline-block;
  animation: starBounce 2.5s infinite ease-in-out;
}

@media (max-width: 768px) {
  #floatingPointsBadge {
    bottom: 80px;
    right: 15px;
    padding: 8px 14px;
  }
  #pointsBreakdownModal {
    width: 96% !important;
    max-height: 92vh !important;
  }
}

/* ============================================================
   PROFESSIONAL IMAGE GALLERY & LIGHTBOX EFFECTS
   ============================================================ */
.biodarou-gallery-toolbar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-search-box .form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.96rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gallery-search-box .form-control:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.16);
  outline: none;
}

.gallery-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.gallery-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-pill-btn:hover {
  border-color: #fb923c;
  color: #c2410c;
  background: #fff7ed;
  transform: translateY(-2px);
}

.gallery-pill-btn.active {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  border-color: #ea580c;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.28);
}

.gallery-pill-btn .pill-count {
  background: rgba(15, 23, 42, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.gallery-pill-btn.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.biodarou-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.gallery-card {
  margin: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.38s ease,
              opacity 0.45s ease;
}

.gallery-card.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
}

.gallery-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card:hover {
  transform: translateY(-7px);
  border-color: #fb923c;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14), 0 0 0 2px rgba(249, 115, 22, 0.18);
}

.gallery-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0f172a;
}

.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.gallery-card:hover .gallery-card-media img {
  transform: scale(1.09);
  filter: saturate(1.08) contrast(1.03);
}

.gallery-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.26) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-card-shine {
  transform: translateX(120%);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 35%, rgba(15, 23, 42, 0.72) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.gallery-zoom-icon {
  align-self: flex-end;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-zoom-icon {
  transform: scale(1);
  opacity: 1;
}

.gallery-cat-badge {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.45);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.gallery-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.gallery-card-body h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.55;
}

.gallery-card-body p {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Fullscreen Lightbox Modal */
.biodarou-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.biodarou-lightbox.open {
  display: flex;
  animation: lightboxFade 0.24s ease;
}

@keyframes lightboxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.biodarou-lightbox-dialog {
  position: relative;
  max-width: 1020px;
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.biodarou-lightbox-stage {
  position: relative;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 74vh;
}

.biodarou-lightbox-stage img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-close-btn,
.lightbox-nav-btn {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  cursor: pointer;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.lightbox-close-btn {
  top: 14px;
  left: 14px;
}

.lightbox-nav-btn.prev {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav-btn.next {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close-btn:hover,
.lightbox-nav-btn:hover {
  background: #f97316;
  border-color: #f97316;
}

.biodarou-lightbox-caption {
  padding: 16px 22px;
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 2px solid #f97316;
}

.biodarou-lightbox-caption h4 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
}

.biodarou-lightbox-caption p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.88rem;
}

.lightbox-counter-badge {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.45);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Categorized Albums Overview Grid */
.biodarou-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.biodarou-album-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.biodarou-album-card:hover,
.biodarou-album-card:focus-visible {
  transform: translateY(-7px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
  border-color: #f97316;
  outline: none;
}

.album-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.album-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.biodarou-album-card:hover .album-card-media img {
  transform: scale(1.08);
  filter: brightness(0.92);
}

.biodarou-album-card:hover .gallery-card-shine {
  left: 130%;
}

.album-count-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  z-index: 3;
}

.album-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.album-card-body h2,
.album-card-body h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.album-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.72) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.biodarou-album-card:hover .album-hover-overlay,
.biodarou-album-card:focus-visible .album-hover-overlay {
  opacity: 1;
}

.album-hover-pill {
  background: rgba(249, 115, 22, 0.94);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.biodarou-album-card:hover .album-hover-pill,
.biodarou-album-card:focus-visible .album-hover-pill {
  transform: translateY(0);
}

.album-open-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ea580c;
  transition: transform 0.25s ease;
  display: inline-block;
}

.biodarou-album-card:hover .album-open-link {
  transform: translateX(-4px);
}

.gallery-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

/* Official Aparat Video Gallery Grid & Cinema Modal */
.biodarou-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  border-color: #f97316;
  outline: none;
}

.video-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.video-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.video-card:hover .video-card-media img {
  transform: scale(1.06);
  filter: brightness(0.8);
}

.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.55) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.94);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  padding-right: 3px;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.45);
  transition: transform 0.28s ease, background 0.25s ease;
}

.video-card:hover .video-play-btn {
  transform: scale(1.12);
  background: #ea580c;
}

.video-duration-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.86);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.video-card-body {
  padding: 16px 18px;
}

.video-card-body h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.6;
}

.video-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 700;
}

.video-channel-tag {
  color: #ea580c;
}

.biodarou-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.biodarou-video-modal.open {
  display: flex;
}

.biodarou-video-modal-dialog {
  width: 100%;
  max-width: 920px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
}

.biodarou-video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.biodarou-video-modal-header h4 {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
}

.biodarou-video-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.biodarou-video-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



