/* ==========================================================================
   أكاديمية التدريب والكوتشينج - ملف التنسيقات الرئيسي (style.css)
   تصميم فاخر، عصري، متجاوب، يدعم العربية RTL بالكامل
   ========================================================================== */

/* استيراد الخطوط العربية من Google Fonts مع توفير بدائل محلية */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800&display=swap');

/* --------------------------------------------------------------------------
   1. المتغيرات العامة ونظام الألوان (CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  /* ألوان الهوية البصرية المعتمدة */
  --color-burgundy-deep: #480B19;    /* الأحمر الداكن الفاخر */
  --color-burgundy-dark: #6D1025;    /* العنابي الداكن الرئيسي */
  --color-burgundy-medium: #8B1E35;  /* العنابي المتوسط */
  --color-burgundy-light: #A52B44;   /* عنابي فاتح للتأثيرات */
  
  --color-gold-bright: #D4AF37;      /* الذهبي اللامع للأزرار */
  --color-gold-light: #F4D77B;       /* الذهبي الفاتح للتدرجات */
  --color-gold-deep: #B38F22;        /* ذهبي غامق للحدود والتأثيرات */
  --color-gold-glow: rgba(212, 175, 55, 0.4);

  --color-white: #FFFFFF;
  --color-bg-light: #FAF7F5;         /* الخلفية الفاتحة الدافئة */
  --color-bg-card: #FFFFFF;          /* خلفية البطاقات البيضاء */
  --color-bg-surface: #F5EFEB;       /* أسطح الأقسام المميزة */
  --color-bg-muted: #EFE7E1;

  --color-text-dark: #282124;        /* لون النصوص الرئيسي */
  --color-text-body: #42383C;        /* لون نصوص الفقرات */
  --color-text-muted: #6B5E63;       /* النصوص الثانوية الهادئة */
  --color-text-light: #FAF7F5;       /* نصوص فوق الخلفيات الداكنة */

  --color-border: #E8DDD7;           /* الحدود الناعمة */
  --color-border-gold: rgba(212, 175, 55, 0.35);

  /* الخطوط */
  --font-heading: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-body: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;

  /* المسافات والأبعاد */
  --container-max: 1200px;
  --header-height: 80px;
  --header-height-mobile: 70px;

  /* الحواف الدائرية */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* الظلال */
  --shadow-sm: 0 4px 12px rgba(72, 11, 25, 0.04);
  --shadow-md: 0 8px 24px rgba(72, 11, 25, 0.08);
  --shadow-lg: 0 16px 40px rgba(72, 11, 25, 0.12);
  --shadow-gold: 0 6px 20px rgba(212, 175, 55, 0.35);
  --shadow-gold-hover: 0 10px 28px rgba(212, 175, 55, 0.5);

  /* الانتقالات */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

/* تنسيق النصوص والعناوين */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-burgundy-deep);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.6rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--color-text-body);
  margin-bottom: 1rem;
}

a {
  color: var(--color-burgundy-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--color-gold-bright);
  outline-offset: 3px;
}

/* الحاوية الرئيسية */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   3. الأزرار والمكونات العامة (Buttons & Badges)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition-normal);
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
}

/* الزر الذهبي اللامع (الرئيسي للحجز والإجراءات الهامة) */
.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-bright) 55%, var(--color-gold-deep) 100%);
  color: var(--color-text-dark);
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-hover);
  color: #1a1416;
}

.btn-gold:hover svg {
  transform: scale(1.15);
}

.btn-gold:active {
  transform: translateY(-1px);
}

/* الزر العنابي (للإجراءات الثانوية) */
.btn-burgundy {
  background: linear-gradient(135deg, var(--color-burgundy-medium) 0%, var(--color-burgundy-dark) 50%, var(--color-burgundy-deep) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(109, 16, 37, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-burgundy:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(109, 16, 37, 0.35);
  color: var(--color-gold-light);
}

.btn-burgundy:hover svg {
  transform: translateX(-4px);
}

/* زر محدد بإطار ذهبي / أبيض */
.btn-outline-gold {
  background: transparent;
  color: var(--color-burgundy-dark);
  border: 2px solid var(--color-gold-bright);
}

.btn-outline-gold:hover {
  background: var(--color-gold-bright);
  color: var(--color-text-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-burgundy-deep);
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
}

/* الشارات والأوسمة التوضيحية */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.badge-gold {
  background-color: rgba(212, 175, 55, 0.15);
  color: #8c6c10;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.badge-burgundy {
  background-color: rgba(109, 16, 37, 0.08);
  color: var(--color-burgundy-dark);
  border: 1px solid rgba(109, 16, 37, 0.2);
}

.badge-white {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

/* العناوين وأقسام الصفحات */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header .section-tag {
  margin-bottom: 0.75rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold-bright), transparent);
  border-radius: var(--radius-full);
}

.section-header p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

/* --------------------------------------------------------------------------
   4. الهيدر وشريط التنقل (Header & Navigation)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(109, 16, 37, 0.08);
  z-index: 1050;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(72, 11, 25, 0.08);
  height: 72px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  z-index: 1045;
}

/* شعار الأكاديمية */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid var(--color-gold-bright);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  transition: transform var(--transition-normal);
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(-3deg) scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-burgundy-deep);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--color-burgundy-medium);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* روابط التنقل الرئيسية */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-dark);
  position: relative;
  padding: 0.5rem 0.25rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--color-gold-bright), var(--color-gold-light));
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-burgundy-dark);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-burgundy-deep);
  font-weight: 700;
}

.nav-link.active::after {
  width: 100%;
  background: var(--color-gold-bright);
}

/* زر التواصل السريع بالهيدر */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-whatsapp {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
}

/* زر القائمة للموبايل (Hamburger Button) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  cursor: pointer;
  z-index: 1001;
  transition: background-color var(--transition-fast);
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--color-burgundy-deep);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* طبقة التعتيم للموبايل */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(40, 33, 36, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1040;
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.nav-backdrop.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   5. القسم الرئيسي (Hero Section)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 4.5rem);
  padding-bottom: 5.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(244, 215, 123, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(109, 16, 37, 0.08) 0%, transparent 40%),
              var(--color-bg-light);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: radial-gradient(var(--color-burgundy-deep) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  margin-bottom: 1.25rem;
}

.hero-title {
  color: var(--color-burgundy-deep);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.hero-title .highlight-gold {
  color: var(--color-burgundy-dark);
  position: relative;
  display: inline-block;
}

.hero-title .highlight-gold::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 10px;
  background-color: rgba(212, 175, 55, 0.25);
  border-radius: 4px;
  z-index: -1;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--color-text-body);
  line-height: 1.85;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  gap: 2rem;
  border-top: 1px solid rgba(109, 16, 37, 0.1);
  padding-top: 1.75rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-burgundy-dark);
}

.hero-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.2);
  color: #9c7711;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* العنصر البصري للقسم الرئيسي */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-main-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  z-index: 2;
  transition: transform var(--transition-normal);
}

.hero-main-card:hover {
  transform: translateY(-6px);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 91 / 120;
  background-color: var(--color-bg-muted);
}

/* يحافظ على أبعاد صورة البانر المربعة من دون قصّ أطرافها */
.hero-image-wrapper-square {
  aspect-ratio: 1 / 1;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-caption {
  margin-top: 1.25rem;
  text-align: center;
}

.hero-card-caption h4 {
  color: var(--color-burgundy-deep);
  margin-bottom: 0.25rem;
}

.hero-card-caption p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* عناصر زخرفية عائمة */
.floating-badge {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 10px 30px rgba(72, 11, 25, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  border: 1px solid rgba(212, 175, 55, 0.4);
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-badge-top {
  top: -20px;
  right: -20px;
}

.floating-badge-bottom {
  bottom: -20px;
  left: -20px;
  animation-delay: -2s;
}

.floating-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-burgundy-dark), var(--color-burgundy-deep));
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-badge-text {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-burgundy-deep);
  line-height: 1.3;
}

.floating-badge-text span {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   6. قسم عن الأكاديمية (About Section)
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold-bright), var(--color-burgundy-medium));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.4);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-burgundy-deep) 0%, var(--color-burgundy-dark) 100%);
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 16px rgba(109, 16, 37, 0.2);
}

.pillar-icon-box svg {
  width: 30px;
  height: 30px;
}

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--color-text-body);
  font-size: 0.98rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   7. بطاقات الدورات وشبكتها (Course Cards & Grid)
   -------------------------------------------------------------------------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.course-card {
  background: linear-gradient(165deg, var(--color-bg-card) 0%, #fffdf9 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(72, 11, 25, 0.16);
  border-color: rgba(212, 175, 55, 0.65);
}

.course-card:focus-within {
  border-color: var(--color-gold-bright);
}

.course-cover-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-burgundy-deep);
}

.course-cover-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(72, 11, 25, 0.04) 35%, rgba(72, 11, 25, 0.32) 100%);
  pointer-events: none;
}

.course-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.course-cover-placeholder .course-cover-img {
  position: relative;
  z-index: 2;
}

.course-image-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  background: linear-gradient(145deg, var(--color-burgundy-dark), var(--color-burgundy-deep));
  color: var(--color-white);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
}

.course-image-placeholder small {
  direction: ltr;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
}

.course-card:hover .course-cover-img {
  transform: scale(1.055);
}

.course-cover-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  box-shadow: 0 5px 14px rgba(72, 11, 25, 0.2);
}

.course-body {
  padding: 1.9rem 1.75rem 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-size: 1.5rem;
  color: var(--color-burgundy-deep);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.course-short-desc {
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.course-lectures-list {
  margin-bottom: 1.25rem;
}

.course-goal {
  margin: 0 0 1.5rem;
  padding: 1rem;
  border-right: 3px solid var(--color-gold-bright);
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
  color: var(--color-text-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.8;
}

/* قسم مخرجات التعلم / بنهاية الدورة */
.course-outcomes-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-burgundy-dark);
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.course-outcomes-header svg {
  color: var(--color-gold-bright);
  filter: drop-shadow(0 2px 3px rgba(179, 143, 34, 0.25));
}

.objectives-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.objective-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.65;
  padding: 0.15rem 0;
}

.objective-bullet {
  color: var(--color-gold-bright);
  flex-shrink: 0;
  margin-top: 0.24rem;
  font-size: 0.75rem;
}

/* الأهداف القابلة للطي والتوسيع */
.objectives-collapsible {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
}

.objectives-collapsible.expanded {
  display: flex;
}

.btn-toggle-details {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--color-burgundy-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  min-height: 54px;
  padding: 0.48rem 0.6rem 0.48rem 1rem;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, var(--color-bg-light) 100%);
  border: 1px solid rgba(109, 16, 37, 0.16);
  box-shadow: 0 3px 10px rgba(72, 11, 25, 0.04);
  text-align: right;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  width: 100%;
}

.btn-toggle-details:hover {
  background: linear-gradient(135deg, #fffdf8 0%, rgba(244, 215, 123, 0.16) 100%);
  border-color: var(--color-gold-bright);
  color: var(--color-burgundy-deep);
  box-shadow: 0 7px 16px rgba(72, 11, 25, 0.09);
  transform: translateY(-2px);
}

.btn-toggle-details:focus-visible {
  outline-offset: 2px;
}

.toggle-label {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.toggle-label > span {
  line-height: 1.4;
}

.toggle-label small {
  padding: 0.14rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(109, 16, 37, 0.07);
  color: var(--color-burgundy-medium);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.16);
  color: var(--color-burgundy-deep);
}

.btn-toggle-details svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-normal);
}

.btn-toggle-details.expanded svg {
  transform: rotate(180deg);
}

.btn-toggle-details.expanded {
  background: linear-gradient(135deg, var(--color-burgundy-dark), var(--color-burgundy-deep));
  border-color: var(--color-burgundy-deep);
  color: var(--color-white);
  box-shadow: 0 7px 16px rgba(72, 11, 25, 0.18);
}

.btn-toggle-details.expanded .toggle-label small {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-gold-light);
}

.btn-toggle-details.expanded .toggle-icon {
  background: var(--color-gold-light);
  color: var(--color-burgundy-deep);
}

.course-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
}

/* --------------------------------------------------------------------------
   8. صفحة وقسم الكوتشينج (Coaching & Parenting)
   -------------------------------------------------------------------------- */
.coaching-intro-layout {
  display: grid;
  gap: 1.5rem;
}

.coaching-page-intro .section-header,
.coaching-page-intro .coaching-intro-banner {
  margin-bottom: 0;
}

.coaching-intro-banner {
  background:
    radial-gradient(circle at 88% 18%, rgba(244, 215, 123, 0.18) 0, transparent 24%),
    linear-gradient(135deg, var(--color-burgundy-deep) 0%, var(--color-burgundy-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 3.25rem 3rem;
  margin-bottom: 4rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.coaching-intro-banner::before,
.coaching-intro-banner::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(244, 215, 123, 0.18);
  border-radius: 50%;
}

.coaching-intro-banner::before {
  width: 270px;
  height: 270px;
  top: -150px;
  left: -90px;
}

.coaching-intro-banner::after {
  width: 165px;
  height: 165px;
  bottom: -100px;
  left: 14%;
}

.coaching-intro-banner h3 {
  color: var(--color-gold-light);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.coaching-intro-banner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  line-height: 1.85;
  max-width: 900px;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .coaching-intro-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
    gap: clamp(2rem, 4vw, 4.5rem);
  }

  .coaching-page-intro .section-header {
    max-width: none;
    align-self: center;
    text-align: right;
  }

  .coaching-page-intro .section-header h1 {
    font-size: clamp(2.35rem, 3.4vw, 3.35rem);
    line-height: 1.35;
    text-wrap: balance;
  }

  .coaching-page-intro .section-header p {
    max-width: 620px;
    margin-inline-start: 0;
  }

  .coaching-intro-banner {
    display: flex;
    align-items: center;
    padding: 2.5rem 2.25rem;
    border-radius: var(--radius-lg);
  }

  .coaching-intro-banner h3 {
    font-size: 1.55rem;
    line-height: 1.55;
  }

  .coaching-intro-banner p {
    font-size: 1.02rem;
    line-height: 1.9;
  }
}

/* قسم تربية بالوحي المميز */
.parenting-section-card {
  background: linear-gradient(145deg, var(--color-white) 0%, #fffdf9 100%);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-lg);
  padding: 3.25rem 3rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.parenting-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.parenting-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(72, 11, 25, 0.16);
  aspect-ratio: 4/5;
  background-color: var(--color-burgundy-deep);
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.parenting-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.parenting-section-card:hover .parenting-cover img,
.coaching-card:hover .coaching-card-cover img {
  transform: scale(1.035);
}

.parenting-info h3 {
  font-size: 2.1rem;
  margin-bottom: 1rem;
}

.parenting-intro-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--color-text-body);
  margin-bottom: 1.5rem;
}

/* بطاقات مسارات رحلة التربية بالوحي */
.pathways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.pathway-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-lg);
  padding: 2.15rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 18px rgba(72, 11, 25, 0.045);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pathway-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold-bright);
  box-shadow: var(--shadow-md);
}

.pathway-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.pathway-title {
  font-size: 1.4rem;
  color: var(--color-burgundy-deep);
  margin-bottom: 0;
}

.pathway-quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-bottom: 1.5rem;
  background: var(--color-bg-light);
  padding: 1.1rem 1rem;
  border-radius: var(--radius-md);
  border-right: 3px solid var(--color-burgundy-medium);
}

.pathway-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0;
}

.pathway-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-burgundy-deep);
}

.pathway-feature-icon {
  color: var(--color-gold-bright);
  flex-shrink: 0;
}

/* الجلستان المجانيتان التوضيحيتان */
.free-sessions-box {
  background: linear-gradient(135deg, rgba(244, 215, 123, 0.2) 0%, rgba(212, 175, 55, 0.07) 100%);
  border: 1px solid rgba(179, 143, 34, 0.55);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.free-sessions-title {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  color: var(--color-burgundy-deep);
  margin-bottom: 1.5rem;
}

.free-sessions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: right;
  margin-bottom: 1.75rem;
}

.free-session-item {
  background: var(--color-white);
  padding: 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.free-session-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.free-session-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #8c6c10;
  background: rgba(212, 175, 55, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.free-session-item h4 {
  font-size: 1.15rem;
  color: var(--color-burgundy-deep);
  margin-bottom: 0.5rem;
}

.free-session-item p {
  font-size: 0.95rem;
  color: var(--color-text-body);
  margin-bottom: 0;
  line-height: 1.6;
}

.reassurance-note {
  background: var(--color-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-burgundy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.reassurance-note svg {
  color: var(--color-gold-bright);
  flex-shrink: 0;
}

/* بطاقات الكوتشينج الفردية */
.coaching-card {
  background: linear-gradient(145deg, var(--color-white) 0%, #fffdf9 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 2.75rem;
  margin-bottom: 3.25rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.coaching-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.4);
}

.coaching-card-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.75rem;
  align-items: center;
}

.coaching-card-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(72, 11, 25, 0.14);
  aspect-ratio: 4/5;
  background-color: var(--color-burgundy-deep);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.coaching-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.coaching-card-content h3 {
  font-size: 1.85rem;
  color: var(--color-burgundy-deep);
  margin-bottom: 1.25rem;
}

.coaching-quote-box {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.09), var(--color-bg-light) 40%);
  border-right: 4px solid var(--color-gold-bright);
  padding: 1.65rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  box-shadow: inset 0 0 0 1px rgba(72, 11, 25, 0.035);
}

.coaching-quote-box p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text-body);
  margin-bottom: 1rem;
}

.coaching-quote-box p:last-child {
  margin-bottom: 0;
}

.coaching-card:focus-within,
.parenting-section-card:focus-within {
  border-color: var(--color-gold-bright);
}

/* --------------------------------------------------------------------------
   9. صفحة عن المدرب (Trainer Profile)
   -------------------------------------------------------------------------- */
.trainer-hero-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-lg);
  padding: 3.5rem 3rem;
  margin-bottom: 4rem;
}

.trainer-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.trainer-photo-box {
  position: relative;
}

.trainer-photo-frame {
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--color-gold-bright);
  background-color: var(--color-burgundy-deep);
}

.trainer-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-hero-info h1 {
  font-size: 2.4rem;
  color: var(--color-burgundy-deep);
  margin-bottom: 0.5rem;
}

.trainer-job-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-burgundy-medium);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.trainer-job-title span {
  display: block;
}

.trainer-bio {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--color-text-body);
  margin-bottom: 2rem;
}

.trainer-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
}

.trainer-quick-facts div {
  min-width: 130px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.08);
}

.trainer-quick-facts dt {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.trainer-quick-facts dd {
  color: var(--color-burgundy-deep);
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 800;
  margin: 0.1rem 0 0;
}

/* شبكة الإنجازات والخبرات */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.experience-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.experience-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-md);
}

.experience-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.experience-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(109, 16, 37, 0.08);
  color: var(--color-burgundy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.experience-card-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.profile-detail {
  background-color: var(--color-bg-light);
  border-right: 3px solid var(--color-gold-bright);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--color-text-body);
  font-weight: 700;
  width: 100%;
  margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   10. قسم لماذا تختارنا والدعوة لاتخاذ إجراء (Why Us & CTA)
   -------------------------------------------------------------------------- */
.why-us-section {
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.why-card {
  background: var(--color-white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  text-align: center;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.4);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(244, 215, 123, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%);
  color: #9c7711;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

/* قسم الدعوة للعمل الأخير (CTA Banner) */
.cta-section {
  background: linear-gradient(135deg, var(--color-burgundy-deep) 0%, var(--color-burgundy-dark) 50%, #30060f 100%);
  color: var(--color-white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--color-gold-bright);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(var(--color-gold-bright) 1px, transparent 1px);
  background-size: 28px 28px;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3vw + 0.8rem, 2.6rem);
  margin-bottom: 1.25rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.85;
  margin-bottom: 2.25rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   11. الفوتر (Footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--color-burgundy-deep) 0%, #2a050d 100%);
  color: var(--color-white);
  padding-top: 4.5rem;
  border-top: 3px solid var(--color-gold-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-logo-img {
  border-color: var(--color-gold-light);
}

.footer-brand .brand-name {
  color: var(--color-white);
}

.footer-brand .brand-subtitle {
  color: var(--color-gold-light);
}

.footer-about-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: var(--color-gold-light);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-gold-bright);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  color: var(--color-gold-bright);
  transform: translateX(-4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.footer-contact-item svg {
  color: var(--color-gold-bright);
  flex-shrink: 0;
}

.footer-social-section {
  margin-top: 1.5rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.social-badge svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.social-badge:hover {
  background: var(--color-gold-bright);
  color: var(--color-burgundy-deep);
  transform: translateY(-3px);
  border-color: var(--color-gold-bright);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.45);
}

.social-badge:hover svg {
  transform: scale(1.12);
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a {
  color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   12. حركات التمرير والظهور (Animations & Utilities)
   -------------------------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* دعم تفضيلات تقليل الحركة (Accessibility) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   13. التجاوب مع مختلف أحجام الشاشات (Responsive Breakpoints)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-features {
    justify-content: center;
  }

  .parenting-top,
  .coaching-card-grid,
  .trainer-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .parenting-info,
  .coaching-card-content,
  .trainer-hero-info {
    text-align: right;
  }

  .parenting-cover,
  .coaching-card-cover,
  .trainer-photo-frame {
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

}

/* --------------------------------------------------------------------------
   14. تحسينات وتجاوب الهواتف الذكية (Mobile Experience & Ergonomics)
   -------------------------------------------------------------------------- */

/* إزالة التأخير عند النقر على الهواتف ومنع وميض المتصفح */
html {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button, a, .btn, .social-badge {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* زر الواتساب العائم الذكي للهواتف (Mobile WhatsApp Floating Action Button) */
.mobile-whatsapp-fab {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 20px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem 0.75rem 1.1rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.45);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fabPulse 3s infinite;
}

.mobile-whatsapp-fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

.mobile-whatsapp-fab:active {
  transform: scale(0.96);
  box-shadow: 0 3px 12px rgba(18, 140, 126, 0.4);
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(18, 140, 126, 0.45); }
  50% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.65); }
}

@media (min-width: 992px) {
  .mobile-whatsapp-fab {
    display: none !important;
  }
}

/* رأس القائمة الجانبية - مخفي تماماً على أجهزة سطح المكتب والكمبيوتر */
.mobile-drawer-header {
  display: none !important;
}

/* الشاشات اللوحية والهواتف الذكية (Tablets & Mobile < 992px) */
@media (max-width: 991px) {
  .site-header {
    height: var(--header-height-mobile);
  }

  .brand-logo-img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .brand-subtitle {
    font-size: 0.72rem;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1060;
  }

  .header-actions .btn-header-whatsapp {
    display: none;
  }

  /* تصميم الدرج الجانبي الحديث للموبايل (Mobile Drawer) */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-white) !important;
    box-shadow: -8px 0 32px rgba(72, 11, 25, 0.25);
    padding: 1.5rem 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px)) 1.5rem;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1060 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
  }

  .main-nav.active {
    right: 0;
  }

  .nav-backdrop {
    z-index: 1040;
  }

  .mobile-drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .drawer-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-burgundy-deep);
    position: relative;
    padding-right: 0.75rem;
  }

  .drawer-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--color-gold-bright), var(--color-gold-light));
    border-radius: var(--radius-full);
  }

  .drawer-close-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-burgundy-deep);
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .drawer-close-btn:active {
    background-color: var(--color-border);
    transform: scale(0.92);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-link {
    font-size: 1.12rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border-bottom: none;
    background-color: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover, .nav-link.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, rgba(244, 215, 123, 0.05) 100%);
    color: var(--color-burgundy-deep);
    border-right: 4px solid var(--color-gold-bright);
    font-weight: 700;
  }

  .nav-mobile-cta {
    display: block !important;
    margin-top: auto;
    padding-top: 1.5rem;
    width: 100%;
  }

  .drawer-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
  }

  .drawer-social-links .social-badge {
    background: var(--color-bg-light);
    color: var(--color-burgundy-deep);
    border-color: rgba(109, 16, 37, 0.15);
  }

  /* تحسينات الأقسام والمحتوى */
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .hero-section {
    padding-top: calc(var(--header-height-mobile) + 2rem);
    padding-bottom: 3.25rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
    width: 100%;
  }

  .pathways-grid,
  .free-sessions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .parenting-section-card,
  .coaching-card,
  .trainer-hero-card {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }

  .footer-links {
    align-items: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-social-links {
    justify-content: center;
  }

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

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .btn {
    min-height: 48px; /* معيار اللمس للهواتف */
    padding: 0.85rem 1.5rem;
  }
}

/* الشاشات الصغيرة جدًا (Small Phones < 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .hero-title {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
    line-height: 1.35;
  }

  .hero-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trainer-quick-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-card-stack {
    max-width: 320px;
    margin: 0 auto;
  }

  .floating-badge {
    position: static;
    margin: 0.85rem auto 0 auto;
    width: 100%;
    justify-content: center;
    animation: none;
    box-shadow: var(--shadow-sm);
  }

  .floating-badge-top {
    margin-bottom: 0.85rem;
  }

  .course-body {
    padding: 1.35rem 1.1rem 1.1rem 1.1rem;
  }

  .course-title {
    font-size: 1.3rem;
  }

  .course-short-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .objective-item {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .btn-toggle-details {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .parenting-info h3,
  .coaching-card-content h3,
  .trainer-hero-info h1 {
    font-size: 1.6rem;
  }

  .parenting-section-card,
  .coaching-card,
  .trainer-hero-card {
    padding: 1.5rem 1rem;
  }

  .free-sessions-box {
    padding: 1.25rem 0.85rem;
  }

  .free-session-item {
    padding: 1.15rem 0.85rem;
  }

  .reassurance-note {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    padding: 1rem 0.75rem;
  }

  .pathway-card {
    padding: 1.25rem 1rem;
  }

  .pathway-quote,
  .coaching-quote-box {
    padding: 1rem 0.85rem;
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .cta-section {
    padding: 3.5rem 0;
  }
}

/* --------------------------------------------------------------------------
   15. Ù„Ù…Ø³Ø§Øª Ø¨ØµØ±ÙŠØ© Ø®Ø§ØµØ© Ø¨Ø§Ù„ØµÙØ­Ø© Ø§Ù„Ø±Ø¦ÙŠØ³ÙŠØ©
   -------------------------------------------------------------------------- */
.home-page main > section {
  scroll-margin-top: 6.5rem;
}

.home-page .hero-section {
  isolation: isolate;
  padding-top: calc(var(--header-height) + 5.75rem);
  padding-bottom: 6.75rem;
  background:
    radial-gradient(circle at 15% 18%, rgba(244, 215, 123, 0.28) 0, rgba(244, 215, 123, 0.09) 18%, transparent 42%),
    radial-gradient(circle at 87% 75%, rgba(109, 16, 37, 0.12) 0, transparent 36%),
    linear-gradient(135deg, #fffdf9 0%, var(--color-bg-light) 58%, #f4ece7 100%);
}

.home-page .hero-section::before,
.home-page .hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.home-page .hero-section::before {
  width: min(43vw, 640px);
  aspect-ratio: 1;
  top: -25%;
  right: -15%;
  border: 1px solid rgba(212, 175, 55, 0.26);
  box-shadow: 0 0 0 28px rgba(212, 175, 55, 0.045), 0 0 0 58px rgba(109, 16, 37, 0.025);
}

.home-page .hero-section::after {
  width: 210px;
  height: 210px;
  left: -110px;
  bottom: -95px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 69%);
}

.home-page .hero-grid {
  grid-template-columns: minmax(0, 1.13fr) minmax(330px, 0.87fr);
  gap: clamp(3rem, 5vw, 5.5rem);
  position: relative;
  z-index: 1;
}

.home-page .hero-content {
  max-width: 680px;
}

.home-page .hero-badge {
  padding: 0.48rem 1.05rem;
  box-shadow: 0 7px 20px rgba(179, 143, 34, 0.1);
}

.home-page .hero-title {
  max-width: 660px;
  font-size: clamp(2.25rem, 3.2vw + 1rem, 3.75rem);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.home-page .hero-desc {
  max-width: 600px;
  color: #493d41;
}

.home-page .hero-actions .btn {
  min-height: 54px;
}

.home-page .hero-features {
  gap: clamp(0.85rem, 2.2vw, 2rem);
  max-width: 640px;
}

.home-page .hero-feature-item {
  line-height: 1.45;
}

.home-page .hero-visual {
  padding: 1.4rem 0;
}

.home-page .hero-card-stack::before,
.home-page .hero-card-stack::after {
  content: '';
  position: absolute;
  inset: 2.4rem 0.8rem 0.2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-md);
}

.home-page .hero-card-stack::before {
  transform: rotate(4deg) translate(-0.3rem, 0.4rem);
}

.home-page .hero-card-stack::after {
  transform: rotate(-3deg) translate(0.4rem, 0.7rem);
}

.home-page .hero-main-card {
  padding: 0.8rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 55px rgba(72, 11, 25, 0.18);
}

.home-page .hero-image-wrapper {
  border-radius: calc(var(--radius-xl) - 0.5rem);
}

.home-page .hero-card-caption {
  padding: 0.25rem 0.75rem 0.6rem;
}

.academy-card-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-family: var(--font-heading);
}

.academy-card-name {
  color: var(--color-burgundy-deep);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.35;
}

.academy-card-subtitle {
  color: var(--color-burgundy-medium);
  font-size: 0.84rem;
  font-weight: 600;
}

.courses-coaching-cta-section {
  background-color: var(--color-white);
  text-align: center;
}

.courses-coaching-cta {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 14%, rgba(244, 215, 123, 0.2), transparent 29%),
    linear-gradient(135deg, #fffdfa 0%, #f8f0df 100%);
  box-shadow: var(--shadow-md);
}

.courses-coaching-cta h3 {
  font-size: 1.55rem;
  margin-bottom: 0.8rem;
}

.courses-coaching-cta p {
  max-width: 570px;
  margin: 0 auto 1.5rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.home-page .home-intro-section,
.home-page .home-programs-section,
.home-page .home-coaching-section {
  position: relative;
  overflow: hidden;
}

.home-page .home-intro-section {
  background:
    linear-gradient(90deg, transparent 0, rgba(244, 215, 123, 0.08) 50%, transparent 100%),
    var(--color-white);
}

.home-page .home-intro-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 50%;
  top: -210px;
  left: -105px;
  pointer-events: none;
}

.home-page .section-header {
  position: relative;
}

.home-page .section-header h2 {
  text-wrap: balance;
}

.home-page .about-grid {
  gap: 1.4rem;
}

.home-page .pillar-card {
  min-height: 100%;
  padding: 2rem 1.55rem;
  background: linear-gradient(155deg, #fff 0%, #fdf9f6 100%);
  box-shadow: 0 10px 24px rgba(72, 11, 25, 0.045);
}

.home-page .pillar-card:nth-child(even) {
  background: linear-gradient(155deg, #fffdf7 0%, #f8f1e7 100%);
}

.home-page .pillar-card:hover .pillar-icon-box {
  transform: translateY(-3px) rotate(-3deg);
}

.home-page .pillar-icon-box {
  transition: transform var(--transition-normal);
}

.home-page .home-programs-section {
  background:
    radial-gradient(circle at 92% 12%, rgba(244, 215, 123, 0.17), transparent 24%),
    var(--color-bg-light);
}

.home-page .home-programs-section::after,
.home-page .home-coaching-section::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px dashed rgba(179, 143, 34, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.home-page .home-programs-section::after {
  left: -80px;
  bottom: 6rem;
}

.home-page .home-coaching-section {
  background:
    radial-gradient(circle at 7% 8%, rgba(109, 16, 37, 0.055), transparent 24%),
    var(--color-white);
}

.home-page .home-coaching-section::after {
  right: -80px;
  top: 7rem;
}

.home-page .home-programs-section .container,
.home-page .home-coaching-section .container {
  position: relative;
  z-index: 1;
}

.home-page .course-card {
  box-shadow: 0 12px 28px rgba(72, 11, 25, 0.075);
}

.home-page .course-card::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 0;
  right: 1.4rem;
  left: 1.4rem;
  height: 3px;
  border-radius: 0 0 var(--radius-full) var(--radius-full);
  background: linear-gradient(90deg, transparent, var(--color-gold-bright), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.home-page .course-card:hover::before {
  opacity: 1;
}

.home-page .course-cover-wrapper {
  aspect-ratio: 4 / 5;
}

.home-page .course-cover-img--relationship {
  object-fit: contain;
}

.home-page .course-body {
  padding: 1.6rem 1.55rem 1.45rem;
}

.home-page .course-title {
  font-size: 1.42rem;
}

.home-page .course-short-desc {
  line-height: 1.85;
}

.home-page .why-us-section {
  background:
    radial-gradient(circle at 50% 0, rgba(244, 215, 123, 0.19), transparent 28%),
    var(--color-bg-light);
}

.home-page .why-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(72, 11, 25, 0.04);
}

.home-page .why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  width: 0;
  height: 3px;
  background: var(--color-gold-bright);
  transition: width var(--transition-normal), right var(--transition-normal);
}

.home-page .why-card:hover::after {
  right: 0;
  width: 100%;
}

.home-page .cta-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(244, 215, 123, 0.28), transparent 28%),
    radial-gradient(circle at 89% 80%, rgba(212, 175, 55, 0.16), transparent 25%),
    linear-gradient(135deg, #fffdf8 0%, #f8f0df 100%);
}

.home-page .cta-content {
  max-width: 770px;
}

.home-page .cta-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(109, 16, 37, 0.1);
}

.home-page .cta-content h2 {
  color: var(--color-burgundy-deep);
}

.home-page .cta-content p {
  color: var(--color-text-body);
}

.home-page .cta-card .btn-outline-white {
  color: var(--color-burgundy-deep);
  border-color: rgba(109, 16, 37, 0.28);
}

.home-page .cta-card .btn-outline-white:hover {
  background: var(--color-burgundy-deep);
  border-color: var(--color-burgundy-deep);
  color: var(--color-white);
}

.home-page .cta-buttons .btn {
  min-height: 54px;
}

@media (max-width: 1024px) {
  /* صفحة الرئيسية تفرض شبكة من عمودين بتخصيص أعلى؛ نعيدها لعمود واحد
     هنا كي لا تمتد بطاقة الواجهة والنص أفقياً على الأجهزة اللوحية والهواتف. */
  .home-page .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .home-page .hero-section {
    padding-top: calc(var(--header-height) + 4rem);
  }

  .home-page .hero-content {
    max-width: 730px;
  }

  .home-page .hero-desc {
    max-width: 680px;
  }

  .home-page .hero-card-stack {
    max-width: 410px;
  }
}

@media (max-width: 991px) {
  .home-page .hero-section {
    padding-top: calc(var(--header-height-mobile) + 2.75rem);
    padding-bottom: 4.25rem;
  }

  .home-page .hero-card-stack::before,
  .home-page .hero-card-stack::after {
    inset: 1.7rem 0.55rem 0.2rem;
  }

  .home-page .home-intro-section,
  .home-page .home-programs-section,
  .home-page .home-coaching-section {
    overflow: clip;
  }
}

@media (max-width: 600px) {
  .home-page .hero-title {
    letter-spacing: -0.02em;
  }

  .home-page .hero-card-stack::before,
  .home-page .hero-card-stack::after {
    display: none;
  }

  .home-page .hero-main-card {
    padding: 0.65rem;
  }

  .home-page .hero-card-caption {
    padding: 0.45rem 0.35rem 0.15rem;
  }

  .academy-card-name {
    font-size: 1.22rem;
  }

  .academy-card-subtitle {
    font-size: 0.75rem;
  }

  .courses-coaching-cta {
    width: calc(100% - 0.25rem);
    padding: 1.5rem 0.9rem;
    border-radius: var(--radius-lg);
  }

  .courses-coaching-cta h3 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
  }

  .courses-coaching-cta p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .courses-coaching-cta .btn {
    min-height: 44px;
    padding: 0.65rem 0.9rem;
    font-size: 0.86rem;
  }

  .home-page .why-us-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .home-page .why-card {
    min-width: 0;
    padding: 1rem 0.65rem;
    border-radius: var(--radius-md);
  }

  .home-page .why-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 0.7rem;
  }

  .home-page .why-icon svg {
    width: 22px;
    height: 22px;
  }

  .home-page .why-card h3 {
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0.45rem;
  }

  .home-page .why-card p {
    font-size: 0.76rem;
    line-height: 1.55;
  }

  .home-page .cta-section {
    padding: 1.25rem 0;
  }

  .home-page .cta-card {
    width: calc(100% - 1.5rem);
    padding: 1.45rem 1rem;
    border-radius: var(--radius-lg);
  }

  .home-page .cta-content h2 {
    font-size: 1.35rem;
    line-height: 1.45;
    margin-bottom: 0.65rem;
  }

  .home-page .cta-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .home-page .cta-buttons {
    gap: 0.65rem;
  }

  .home-page .cta-buttons .btn {
    min-height: 44px;
    padding: 0.65rem 0.9rem;
    font-size: 0.86rem;
  }

  .home-page .hero-features {
    border-top-color: rgba(109, 16, 37, 0.12);
  }

  .home-page .pillar-card {
    padding: 1.6rem 1.3rem;
  }

  .home-page .course-body {
    padding: 1.35rem 1.15rem 1.15rem;
  }

  .home-page .home-intro-section::before,
  .home-page .home-programs-section::after,
  .home-page .home-coaching-section::after {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   تحسين الكثافة البصرية على الهاتف: محتوى أصغر دون الإخلال بسهولة اللمس
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  :root {
    --header-height-mobile: 64px;
  }

  html {
    font-size: 15px;
  }

  .brand-logo-img {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-subtitle {
    font-size: 0.66rem;
  }

  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header p {
    font-size: 1rem;
    line-height: 1.7;
  }

  /* صفحة الدورات: نزيل الفراغ العلوي الزائد ونضغط بطاقات البرامج. */
  .courses-page #main-content {
    padding-top: calc(var(--header-height-mobile) + 1.5rem) !important;
  }

  .courses-page .courses-grid {
    gap: 1.25rem;
  }

  .courses-page .course-card {
    max-width: 340px;
    width: calc(100% - 0.75rem);
    margin-inline: auto;
    border-radius: var(--radius-md);
  }

  .courses-page .course-cover-wrapper {
    /* أغلفة الدورات طولية وتتضمن نصوصاً في أعلى وأسفل التصميم؛ لا نقصّها إلى مربع على الهاتف. */
    aspect-ratio: 4 / 5;
  }

  .courses-page .course-cover-img {
    object-position: center;
  }

  .courses-page .course-cover-badge {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.76rem;
  }

  .courses-page .course-body {
    padding: 1.1rem 1rem 1rem;
  }

  .courses-page .course-title {
    font-size: 1.22rem;
    margin-bottom: 0.55rem;
  }

  .courses-page .course-short-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.9rem;
  }

  .courses-page .course-outcomes-header {
    padding-top: 0.8rem;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
  }

  .courses-page .objectives-list {
    gap: 0.45rem;
    margin-bottom: 0.9rem;
  }

  .courses-page .objective-item {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .courses-page .btn-toggle-details {
    min-height: 50px;
    margin-bottom: 0.9rem;
    padding: 0.4rem 0.5rem 0.4rem 0.8rem;
  }

  .courses-page .toggle-label small {
    font-size: 0.7rem;
    padding-inline: 0.45rem;
  }

  .courses-page .toggle-icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .courses-page .course-footer {
    padding-top: 0.9rem;
  }

  .courses-page .course-footer .btn {
    min-height: 44px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  /* فوتر أقصر وأكثر كثافة مع الحفاظ على ترتيب واضح للروابط. */
  .site-footer {
    padding-top: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 1rem;
    padding-bottom: 2rem;
  }

  .footer-brand,
  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .footer-about-text {
    font-size: 0.84rem;
    line-height: 1.65;
    margin-top: 0.85rem;
    margin-bottom: 0;
  }

  .footer-title {
    font-size: 1rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.45rem;
  }

  .footer-links {
    gap: 0.5rem;
  }

  .footer-link,
  .footer-contact-item {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .footer-contact-info {
    gap: 0.65rem;
  }

  .footer-contact-info .btn {
    min-height: 44px;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.86rem !important;
  }

  .footer-social-section {
    margin-top: 1rem;
  }

  .footer-social-section > span {
    font-size: 0.8rem !important;
  }

  .footer-social-links {
    gap: 0.55rem;
    margin-top: 0.55rem;
  }

  .social-badge {
    width: 36px;
    height: 36px;
  }

  .social-badge svg {
    width: 17px;
    height: 17px;
  }

  .footer-bottom {
    padding: 1.1rem 0;
    font-size: 0.78rem;
    line-height: 1.6;
  }
}

/* ترتيب أوضح لرأس الفوتر وعناصر التواصل على الهاتف. */
@media (max-width: 600px) {
  .site-header {
    box-shadow: 0 2px 12px rgba(72, 11, 25, 0.06);
  }

  .header-container {
    gap: 0.75rem;
  }

  .brand-logo {
    gap: 0.6rem;
    min-width: 0;
  }

  .brand-name {
    white-space: nowrap;
  }

  .footer-brand .brand-logo {
    justify-content: center;
    width: 100%;
  }

  .footer-brand .brand-text {
    text-align: right;
  }

  .footer-grid > div:not(.footer-brand):not(:last-child) {
    padding-top: 0.2rem;
  }

  .footer-grid > :last-child {
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-contact-info .btn {
    width: min(100%, 340px);
    align-self: center;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .mobile-whatsapp-fab {
    width: 54px;
    height: 54px;
    min-height: 54px;
    justify-content: center;
    padding: 0;
    left: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-whatsapp-fab span {
    display: none;
  }
}

/* تخطيط الفوتر على الهاتف: هوية، روابط، ثم تواصل بترتيب ثابت وواضح. */
@media (max-width: 600px) {
  .site-footer {
    padding-top: 2rem;
  }

  .footer-grid {
    grid-template-areas:
      "brand brand"
      "pages programs"
      "contact contact";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 0.75rem;
    padding-bottom: 1.6rem;
  }

  .footer-brand {
    grid-area: brand;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-grid > :nth-child(2) {
    grid-area: pages;
  }

  .footer-grid > :nth-child(3) {
    grid-area: programs;
  }

  .footer-grid > :last-child {
    grid-area: contact;
    padding-top: 1.35rem;
  }

  .footer-brand .brand-logo {
    width: auto;
  }

  .footer-about-text {
    max-width: 390px;
    text-align: center;
  }

  .footer-grid > div:not(.footer-brand):not(:last-child) {
    padding-top: 0;
  }

  .footer-title {
    display: table;
    margin-right: auto;
    margin-left: auto;
  }

  .footer-links {
    align-items: stretch;
    gap: 0.35rem;
  }

  .footer-link {
    justify-content: center;
    min-height: 30px;
    padding: 0.15rem 0.25rem;
    text-align: center;
  }

  .footer-contact-info {
    align-items: center;
  }

  .footer-contact-item {
    width: fit-content;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.05);
  }

  .footer-social-section {
    width: 100%;
    text-align: center;
  }

  .footer-bottom {
    justify-content: center;
    padding-top: 0.9rem;
    padding-bottom: 1rem;
  }
}

/* نسخة مختصرة للفوتر على الهاتف: الروابط الأهم والتواصل السريع فقط. */
@media (max-width: 600px) {
  .site-footer {
    padding-top: 1.35rem;
  }

  .footer-grid {
    gap: 1.15rem 0.5rem;
    padding-bottom: 1.1rem;
  }

  .footer-about-text,
  .footer-contact-info .btn,
  .footer-social-section > span {
    display: none;
  }

  .footer-brand .brand-logo-img {
    width: 36px;
    height: 36px;
  }

  .footer-title {
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
  }

  .footer-title::after {
    width: 28px;
  }

  .footer-links {
    gap: 0.15rem;
  }

  .footer-link {
    min-height: 26px;
    font-size: 0.78rem;
    padding: 0.1rem;
  }

  .footer-grid > :nth-child(3) .footer-links li:nth-child(n + 4) {
    display: none;
  }

  .footer-grid > :last-child {
    padding-top: 0.85rem;
  }

  .footer-contact-info {
    gap: 0;
  }

  .footer-contact-item {
    padding: 0.3rem 0.6rem;
    font-size: 0.78rem;
  }

  .footer-social-section {
    margin-top: 0.7rem;
  }

  .footer-social-links {
    margin-top: 0;
  }

  .footer-bottom {
    padding-top: 0.7rem;
    padding-bottom: 0.8rem;
    font-size: 0.72rem;
  }
}

/* لمسات بصرية احترافية للفوتر المختصر على الهاتف. */
@media (max-width: 600px) {
  .site-footer {
    background:
      radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.13), transparent 30%),
      linear-gradient(155deg, #520d1d 0%, #2a050d 72%);
    border-top-width: 2px;
  }

  .footer-brand .brand-logo {
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(244, 215, 123, 0.24);
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.045);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  }

  .footer-brand .brand-name {
    font-size: 1rem;
  }

  .footer-brand .brand-subtitle {
    color: rgba(244, 215, 123, 0.88);
    font-size: 0.62rem;
  }

  .footer-grid > :nth-child(2),
  .footer-grid > :nth-child(3) {
    padding-inline: 0.25rem;
  }

  .footer-grid > :nth-child(2) {
    border-left: 1px solid rgba(244, 215, 123, 0.15);
  }

  .footer-title {
    color: var(--color-gold-light);
    letter-spacing: 0.01em;
  }

  .footer-link {
    color: rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-xs);
    transition: color var(--transition-fast), background-color var(--transition-fast);
  }

  .footer-link:active {
    color: var(--color-gold-light);
    background-color: rgba(255, 255, 255, 0.08);
  }

  .footer-contact-item {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(244, 215, 123, 0.3);
    background-color: rgba(255, 255, 255, 0.065);
  }

  .social-badge {
    width: 34px;
    height: 34px;
    border-color: rgba(244, 215, 123, 0.4);
    background-color: rgba(255, 255, 255, 0.06);
  }

  .social-badge svg {
    width: 16px;
    height: 16px;
  }

  .footer-bottom {
    color: rgba(255, 255, 255, 0.58);
  }
}

/* تأثيرات تفاعلية هادئة للفوتر على الهاتف. */
@media (max-width: 600px) {
  .site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }

  .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 12%;
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent);
    box-shadow: 0 0 16px rgba(244, 215, 123, 0.6);
    opacity: 0.9;
    pointer-events: none;
  }

  .site-footer .container {
    position: relative;
    z-index: 1;
  }

  .footer-brand .brand-logo {
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  }

  .footer-brand .brand-logo::after {
    content: '';
    position: absolute;
    top: -35%;
    bottom: -35%;
    width: 24px;
    right: -40px;
    transform: skewX(-22deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    animation: footer-logo-sheen 8s ease-in-out infinite;
    pointer-events: none;
  }

  .footer-link {
    position: relative;
  }

  .footer-link::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.15rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-gold-light);
    box-shadow: 0 0 8px rgba(244, 215, 123, 0.8);
    opacity: 0;
    transform: translateY(-50%) scale(0.2);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .footer-link:active::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  .social-badge {
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
  }

  .social-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(244, 215, 123, 0);
    transition: border-color var(--transition-fast), transform var(--transition-normal);
  }

  .social-badge:active {
    transform: scale(0.92);
    background-color: rgba(212, 175, 55, 0.22);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
  }

  .social-badge:active::after {
    border-color: rgba(244, 215, 123, 0.65);
    transform: scale(1.08);
  }
}

@keyframes footer-logo-sheen {
  0%, 68%, 100% {
    right: -40px;
  }
  82% {
    right: calc(100% + 16px);
  }
}

@media (hover: hover) and (pointer: fine) {
  .footer-brand .brand-logo:hover {
    transform: translateY(-2px);
    border-color: rgba(244, 215, 123, 0.5);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }

  .footer-link:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  .social-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.28);
  }
}

/* الفوتر على الأجهزة اللوحية والهواتف الأفقية: عمودان بدلاً من قائمة طويلة. */
@media (min-width: 601px) and (max-width: 991px) {
  .site-footer {
    padding-top: 3.25rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 3rem;
    text-align: right;
  }

  .footer-brand,
  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .footer-brand {
    max-width: 680px;
    justify-self: center;
    text-align: center;
  }

  .footer-brand .brand-logo {
    justify-content: center;
  }

  .footer-title::after {
    right: 0;
    left: auto;
    transform: none;
  }

  .footer-links {
    align-items: flex-start;
  }

  .footer-contact-info {
    align-items: center;
  }

  .footer-contact-item,
  .footer-social-links {
    justify-content: center;
  }

  .footer-social-section {
    text-align: center;
  }

  .footer-bottom {
    justify-content: center;
  }
}

/* الهواتف الضيقة جداً: تتكدس المجموعات لتظل النصوص واضحة وقابلة للمس. */
@media (max-width: 359px) {
  .footer-grid {
    grid-template-areas:
      "brand"
      "pages"
      "programs"
      "contact";
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .footer-grid > :nth-child(2),
  .footer-grid > :nth-child(3) {
    padding-inline: 0;
    border-left: 0;
  }

  .footer-grid > :nth-child(3) {
    padding-top: 0.8rem;
    border-top: 1px solid rgba(244, 215, 123, 0.12);
  }

  .footer-links {
    align-items: center;
  }

  .footer-link {
    max-width: 250px;
    margin-inline: auto;
  }
}

/* قائمة تنقل أكثر وضوحاً وأناقة على الشاشات الواسعة. */
@media (min-width: 992px) {
  .site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(109, 16, 37, 0.1);
    box-shadow: 0 1px 0 rgba(72, 11, 25, 0.025);
  }

  .site-header.scrolled {
    box-shadow: 0 8px 24px rgba(72, 11, 25, 0.09);
  }

  .header-container {
    gap: 2rem;
  }

  .brand-logo {
    gap: 0.7rem;
  }

  .brand-logo-img {
    width: 54px;
    height: 54px;
    border-width: 1px;
    border-radius: 14px;
    box-shadow: 0 5px 14px rgba(72, 11, 25, 0.13);
  }

  .brand-name {
    font-size: 1.4rem;
    letter-spacing: -0.3px;
  }

  .brand-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0;
  }

  .nav-list {
    gap: 0.15rem;
    padding: 0.28rem;
    border: 1px solid rgba(109, 16, 37, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fcf9f7 100%);
    box-shadow: 0 4px 14px rgba(72, 11, 25, 0.045);
  }

  .nav-link {
    padding: 0.58rem 1.05rem 0.62rem;
    border-radius: 13px;
    font-size: 0.98rem;
    line-height: 1.5;
    transition: color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  }

  .nav-link::after {
    right: 50%;
    bottom: 0.3rem;
    width: 0;
    height: 2px;
    transform: translateX(50%);
  }

  .nav-link:hover {
    background-color: rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    width: 18px;
  }

  .nav-link.active {
    background: linear-gradient(135deg, rgba(244, 215, 123, 0.38), rgba(212, 175, 55, 0.13));
    color: var(--color-burgundy-deep);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.16);
  }

  .btn-header-whatsapp {
    min-height: 44px;
    padding: 0.58rem 1.25rem;
    border: 1px solid rgba(179, 143, 34, 0.35);
    border-radius: 14px;
    background: linear-gradient(135deg, #f4d77b 0%, #d4af37 100%);
    box-shadow: 0 5px 14px rgba(179, 143, 34, 0.2);
  }

  .btn-header-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(179, 143, 34, 0.28);
  }
}

@media (min-width: 1200px) {
  .header-container {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
    gap: 1.5rem;
  }

  .brand-logo {
    justify-self: start;
  }

  .main-nav {
    position: static;
    grid-column: 2;
    transform: none;
  }

  .header-actions {
    justify-self: end;
  }
}

/* درج تنقل مريح وسهل الاستخدام للشاشات الأصغر. */
@media (max-width: 991px) {
  .main-nav {
    width: min(86vw, 360px);
    max-width: none;
    padding: 1.25rem 1.15rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(circle at 92% 4%, rgba(244, 215, 123, 0.24), transparent 24%),
      linear-gradient(165deg, #fffefd 0%, var(--color-bg-light) 100%) !important;
    border-left: 1px solid rgba(212, 175, 55, 0.28);
  }

  .main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    right: 1.15rem;
    left: 1.15rem;
    height: 3px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, transparent, var(--color-gold-bright), transparent);
  }

  .mobile-drawer-header {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .drawer-close-btn {
    width: 40px;
    height: 40px;
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 3px 10px rgba(72, 11, 25, 0.06);
  }

  .nav-list {
    gap: 0.5rem;
  }

  .nav-link {
    min-height: 50px;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(109, 16, 37, 0.08);
    box-shadow: 0 2px 8px rgba(72, 11, 25, 0.025);
  }

  .nav-link:hover,
  .nav-link.active {
    border-right-width: 4px;
    border-color: rgba(212, 175, 55, 0.4);
    border-right-color: var(--color-gold-bright);
    box-shadow: 0 5px 14px rgba(72, 11, 25, 0.07);
  }

  .main-nav.active .nav-list li {
    animation: nav-item-enter 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .main-nav.active .nav-list li:nth-child(2) { animation-delay: 0.04s; }
  .main-nav.active .nav-list li:nth-child(3) { animation-delay: 0.08s; }
  .main-nav.active .nav-list li:nth-child(4) { animation-delay: 0.12s; }

  .nav-mobile-cta {
    padding-top: 1.15rem;
  }

  .nav-mobile-cta .btn {
    min-height: 48px;
  }

  .mobile-menu-toggle {
    border-color: rgba(212, 175, 55, 0.42);
    background: linear-gradient(145deg, #fff, var(--color-bg-light));
    box-shadow: 0 4px 12px rgba(72, 11, 25, 0.06);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  }

  .mobile-menu-toggle:active {
    transform: scale(0.94);
    box-shadow: none;
  }

  /* عند فتح الدرج، زر الإغلاق الداخلي هو الإجراء الوحيد للإغلاق. */
  .nav-open .mobile-menu-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-open .site-header {
    background-color: rgba(255, 255, 255, 0.99);
  }
}

@keyframes nav-item-enter {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* تأثيرات دقيقة لقائمة التنقل نفسها. */
@media (min-width: 992px) {
  .nav-list {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }

  .nav-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    right: -90px;
    z-index: 0;
    transform: skewX(-22deg);
    background: linear-gradient(90deg, transparent, rgba(244, 215, 123, 0.3), transparent);
    animation: navigation-sheen 12s ease-in-out infinite;
    pointer-events: none;
  }

  .nav-list > li {
    position: relative;
    z-index: 1;
  }

  .nav-link.active {
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.15), 0 4px 12px rgba(179, 143, 34, 0.12);
  }

  .nav-link.active::after {
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
    animation: active-navigation-marker 2.4s ease-in-out infinite;
  }
}

@media (max-width: 991px) {
  .main-nav.active {
    box-shadow: -12px 0 38px rgba(72, 11, 25, 0.28);
  }

  .mobile-menu-toggle.active {
    background: linear-gradient(145deg, rgba(244, 215, 123, 0.32), rgba(255, 255, 255, 0.96));
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12), 0 6px 18px rgba(72, 11, 25, 0.1);
  }

  .nav-link {
    isolation: isolate;
    overflow: hidden;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    border-radius: var(--radius-full);
    background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold-deep));
    transition: transform var(--transition-normal);
  }

  .nav-link.active::before,
  .nav-link:active::before {
    transform: scaleY(1);
  }

  .nav-link:active {
    transform: scale(0.985);
  }

  .nav-backdrop.active {
    animation: navigation-backdrop-in 0.3s ease-out both;
  }
}

@keyframes navigation-sheen {
  0%, 68%, 100% {
    right: -90px;
  }
  82% {
    right: calc(100% + 20px);
  }
}

@keyframes active-navigation-marker {
  0%, 100% {
    opacity: 0.75;
    transform: translateX(50%) scaleX(0.9);
  }
  50% {
    opacity: 1;
    transform: translateX(50%) scaleX(1.12);
  }
}

@keyframes navigation-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* بطاقات الكوتشينج أكثر كثافة على الهاتف، من دون تصغير مناطق اللمس. */
@media (max-width: 600px) {
  .coaching-page .parenting-section-card,
  .coaching-page .coaching-card {
    padding: 1.15rem 0.9rem;
    margin-bottom: 1.85rem;
    border-radius: 20px;
  }

  .coaching-page .parenting-top,
  .coaching-page .coaching-card-grid {
    gap: 1.35rem;
  }

  .coaching-page .parenting-top {
    margin-bottom: 1.5rem;
  }

  .coaching-page .parenting-info h3,
  .coaching-page .coaching-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
  }

  .coaching-page .parenting-intro-text {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
  }

  .coaching-page .pathways-grid {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .coaching-page .pathway-card {
    padding: 1rem 0.85rem;
    border-radius: var(--radius-md);
  }

  .coaching-page .pathway-header {
    margin-bottom: 0.8rem;
  }

  .coaching-page .pathway-title {
    font-size: 1.12rem;
  }

  .coaching-page .pathway-features {
    gap: 0.55rem;
  }

  .coaching-page .pathway-feature-item {
    font-size: 0.92rem;
  }

  .coaching-page .free-sessions-box {
    margin-bottom: 1.5rem;
  }
}

