/* ==========================================================================
   صيدليتي (Saydalati) - صفحة سياسة الخصوصية
   الملف: style.css
   المتطلبات: HTML5 + CSS3 فقط، بدون أطر عمل
   ========================================================================== */

/* ==========================================================================
   1. متغيرات التصميم (Design Tokens)
   ========================================================================== */
:root {
  /* الألوان الأساسية */
  --primary: #1976D2;
  --primary-light: #42A5F5;
  --primary-dark: #1565C0;
  --secondary: #9C27B0;

  /* الألوان الوظيفية */
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --success: #4CAF50;
  --warning: #FFA726;
  --error: #EF5350;

  /* ألوان النصوص */
  --text-primary: #1A1A2E;
  --text-secondary: #6B7280;

  /* الخط الفاصل */
  --divider: #E5E7EB;

  /* الظلال */
  --shadow-sm: 0 2px 10px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 20px 50px rgba(25, 118, 210, 0.15);

  /* الانحناءات */
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 28px;

  /* المسافات */
  --space-section: 110px;
  --space-section-sm: 70px;

  /* الانتقالات */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: all 0.3s var(--ease);
}

/* ==========================================================================
   2. إعادة الضبط والأساسيات
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.8;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.4;
}

p {
  color: var(--text-secondary);
}

::selection {
  background: var(--primary-light);
  color: #fff;
}

/* شريط التمرير */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #c3cdd9;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ==========================================================================
   3. الحاوية العامة
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   4. الأزرار
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(25, 118, 210, 0.4);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* ==========================================================================
   5. شريط التنقل الثابت
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  box-shadow: 0 4px 24px rgba(26, 26, 46, 0.04);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--text-primary);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 6px 16px rgba(25, 118, 210, 0.35);
}

.brand-logo svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 10px;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(25, 118, 210, 0.06);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn-nav {
  padding: 10px 22px;
  font-size: 14px;
}

/* ==========================================================================
   6. الواجهة الرئيسية (Hero)
   ========================================================================== */
.hero {
  position: relative;
  padding: 90px 0 160px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, var(--secondary) 110%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}

/* تأثير الفقاعات الخلفية */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(500px 260px at 10% 80%, rgba(156, 39, 176, 0.35), transparent 60%),
    radial-gradient(700px 320px at 50% 110%, rgba(66, 165, 245, 0.35), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.hero-content {
  flex: 1 1 55%;
  max-width: 640px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.35);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.1); }
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  background: linear-gradient(180deg, #fff 60%, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 22px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* الرسم التوضيحي الطبي */
.hero-art {
  flex: 0 1 42%;
  position: relative;
  min-height: 420px;
}

.art-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  animation: float 6s ease-in-out infinite;
}

.art-card svg {
  width: 54px;
  height: 54px;
  color: #fff;
}

.art-card p {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.art-card-main {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  z-index: 3;
}

.art-card-1 {
  top: 8%;
  right: 0;
  width: 150px;
  height: 150px;
  animation-delay: 1.2s;
}

.art-card-2 {
  bottom: 6%;
  left: 0;
  width: 150px;
  height: 150px;
  animation-delay: 2.4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.art-card-main.float-reverse { transform: translate(-50%, -50%) translateY(0); }

/* الحلقات المزخرفة */
.art-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  animation: spin 40s linear infinite;
}

.art-ring-1 {
  width: 340px;
  height: 340px;
  top: 12%;
  left: 8%;
}

.art-ring-2 {
  width: 240px;
  height: 240px;
  bottom: 4%;
  right: 6%;
  animation-direction: reverse;
  animation-duration: 30s;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* الموجة السفلية */
.hero-wave {
  position: absolute;
  bottom: -1px;
  right: 0;
  left: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 110px;
}

/* ==========================================================================
   7. الأقسام العامة
   ========================================================================== */
.section {
  padding: var(--space-section) 0;
}

.section-tinted {
  background: linear-gradient(180deg, #F0F4F9, var(--bg));
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 50px;
  background: rgba(25, 118, 210, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-title-start {
  text-align: right;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  line-height: 2;
}

/* ==========================================================================
   8. شبكات البطاقات
   ========================================================================== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   9. البطاقات العامة
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

/* أيقونة البطاقة */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-4deg);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  line-height: 1.9;
}

/* ألوان الأيقونات */
.icon-blue { background: rgba(25, 118, 210, 0.1); color: var(--primary); }
.icon-purple { background: rgba(156, 39, 176, 0.1); color: var(--secondary); }
.icon-green { background: rgba(76, 175, 80, 0.1); color: var(--success); }
.icon-orange { background: rgba(255, 167, 38, 0.12); color: #E68A00; }
.icon-red { background: rgba(239, 83, 80, 0.1); color: var(--error); }
.icon-cyan { background: rgba(0, 172, 193, 0.1); color: #00ACC1; }
.icon-indigo { background: rgba(63, 81, 181, 0.1); color: #3F51B5; }

/* ==========================================================================
   10. بطاقة نبذة عن السياسة
   ========================================================================== */
.about-card {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.08), rgba(156, 39, 176, 0.08));
  top: -100px;
  left: -80px;
  pointer-events: none;
}

.about-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.about-icon svg {
  width: 42px;
  height: 42px;
}

.about-text p {
  font-size: 16px;
  margin-bottom: 14px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   11. بطاقات الاستخدام المرقمة
   ========================================================================== */
.card-step {
  padding-top: 40px;
}

.step-num {
  position: absolute;
  top: 20px;
  left: 26px;
  font-size: 44px;
  font-weight: 900;
  color: rgba(26, 26, 46, 0.07);
  line-height: 1;
  transition: var(--transition);
}

.card:hover .step-num {
  color: rgba(25, 118, 210, 0.15);
}

/* ==========================================================================
   12. قائمة المشاركة
   ========================================================================== */
.share-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.share-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.share-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.share-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.share-icon svg {
  width: 24px;
  height: 24px;
}

.share-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.share-item p {
  font-size: 14.5px;
  line-height: 1.9;
}

/* ==========================================================================
   13. بطاقات الأمان
   ========================================================================== */
.card-security {
  text-align: center;
}

.card-security .card-icon {
  margin-inline: auto;
}

/* ==========================================================================
   14. حقوق المستخدم
   ========================================================================== */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.right-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.right-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(76, 175, 80, 0.4);
}

.check-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #66BB6A);
  color: #fff;
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.35);
}

.check-icon svg {
  width: 20px;
  height: 20px;
}

.right-item h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.right-item p {
  font-size: 14px;
  line-height: 1.9;
}

/* ==========================================================================
   15. خدمات الطرف الثالث
   ========================================================================== */
.card-partner {
  text-align: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 22px;
  transition: var(--transition);
}

.partner-logo svg {
  width: 38px;
  height: 38px;
}

.card-partner:hover .partner-logo {
  transform: scale(1.08) rotate(-4deg);
}

.partner-supabase { background: #DBF3E4; color: #2E9B6B; }
.partner-firebase { background: #FFF0D4; color: #F57C00; }
.partner-apple { background: #E6E9F0; color: #37474F; }
.partner-google { background: #E3F0FA; color: #4285F4; }

/* ==========================================================================
   16. خصوصية الأطفال
   ========================================================================== */
.children-card {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  background: linear-gradient(135deg, #FFF7EC, #FFFBF3);
  border: 1.5px solid rgba(255, 167, 38, 0.45);
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  box-shadow: 0 14px 40px rgba(255, 167, 38, 0.12);
  position: relative;
  overflow: hidden;
}

.children-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 167, 38, 0.1);
  bottom: -90px;
  left: -70px;
}

.children-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--warning), #FFB74D);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 167, 38, 0.4);
}

.children-icon svg {
  width: 42px;
  height: 42px;
}

.children-text p {
  font-size: 16px;
  margin-bottom: 12px;
  color: #6B5B3E;
}

.children-text p:last-child {
  margin-bottom: 0;
}

.children-text a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.children-text a:hover {
  color: var(--primary-dark);
}

/* ==========================================================================
   17. قسم التواصل معنا
   ========================================================================== */
.section-contact {
  padding-bottom: 140px;
}

.contact-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 56px 52px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
  text-align: right;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: var(--transition);
}

.contact-row:hover {
  border-color: var(--primary);
  background: rgba(25, 118, 210, 0.04);
  transform: translateX(-6px);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  min-width: 110px;
}

.contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  direction: ltr;
  unicode-bidi: embed;
}

.contact-arrow {
  margin-inline-start: auto;
  color: var(--text-secondary);
  display: flex;
  transition: var(--transition);
}

.contact-arrow svg {
  width: 20px;
  height: 20px;
}

.contact-row:hover .contact-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

.contact-note {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(76, 175, 80, 0.08);
  border: 1px dashed rgba(76, 175, 80, 0.5);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
}

.note-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  flex-shrink: 0;
}

.note-icon svg {
  width: 20px;
  height: 20px;
}

.contact-note p {
  font-size: 14.5px;
  color: #2E7D32;
}

.contact-note strong {
  color: #1B5E20;
}

/* ==========================================================================
   18. التذييل
   ========================================================================== */
.footer {
  background: linear-gradient(180deg, #0B1B33 0%, #0E2445 100%);
  color: #fff;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 200px at 85% 0%, rgba(66, 165, 245, 0.15), transparent 60%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-footer .brand-text {
  color: #fff;
}

.footer-desc {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  line-height: 2;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(-4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   19. التجاوب مع الشاشات (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }

  .hero-art {
    min-height: 380px;
    width: 100%;
    max-width: 520px;
  }

  .hero {
    padding-bottom: 150px;
  }
}

@media (max-width: 900px) {
  :root {
    --space-section: 80px;
    --space-section-sm: 50px;
  }

  .nav-links {
    display: none;
  }

  .grid-3,
  .rights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .share-list {
    grid-template-columns: 1fr;
  }

  .about-card,
  .children-card {
    flex-direction: column;
    padding: 40px 32px;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  :root {
    --space-section: 60px;
  }

  .container {
    padding: 0 18px;
  }

  .btn-nav {
    display: none;
  }

  .navbar-inner {
    height: 68px;
  }

  .hero {
    padding: 60px 0 130px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-art {
    min-height: 300px;
  }

  .art-card-main {
    width: 160px;
    height: 160px;
  }

  .art-card-1,
  .art-card-2 {
    width: 120px;
    height: 120px;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .rights-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 28px 22px;
  }

  .about-card,
  .children-card,
  .contact-card {
    padding: 34px 24px;
  }

  .about-icon,
  .children-icon {
    width: 72px;
    height: 72px;
  }

  .contact-row {
    flex-wrap: wrap;
  }

  .contact-label {
    min-width: 0;
  }

  .contact-arrow {
    display: none;
  }

  .contact-value {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   20. تفضيلات تقليل الحركة
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
