/* ============================================================
   منظمة دواك علينا - التنسيق العام للموقع (RTL)
   ============================================================ */
:root {
  --primary: #0e7a54;
  --primary-dark: #0a5c3f;
  --primary-deep: #073d2a;
  --primary-soft: #e6f4ee;
  --accent: #f5a623;
  --accent-dark: #d98e0b;
  --ink: #14261d;
  --body: #3d4a43;
  --muted: #7a8a81;
  --line: #e3ebe6;
  --bg: #ffffff;
  --bg-alt: #f5f9f7;
  --danger: #d64545;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(9, 61, 42, 0.08);
  --shadow-lg: 0 18px 44px rgba(9, 61, 42, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container.narrow { width: min(860px, 92%); }

.accent { color: var(--accent); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.4; font-weight: 800; }

/* ============ الأزرار ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.25s;
  white-space: nowrap;
}
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-sm { padding: 7px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--primary-deep); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ============ الشريط العلوي ============ */
.topbar {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 7px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar-contact { display: flex; gap: 18px; }
.topbar-note { font-weight: 600; color: rgba(255,255,255,0.65); }

/* ============ الترويسة ============ */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; color: var(--primary); display: inline-flex; flex: 0 0 auto; }
.brand-logo svg { width: 100%; height: 100%; }
.brand-logo.big { width: 64px; height: 64px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.35; }
.brand-text strong { color: var(--ink); font-size: 20px; font-weight: 900; }
.brand-text small { color: var(--muted); font-size: 11.5px; font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a {
  padding: 9px 14px;
  color: var(--body);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
}
.main-nav > a:hover { color: var(--primary); background: var(--primary-soft); }
.main-nav > a.active { color: var(--primary); background: var(--primary-soft); }
.nav-cta { margin-inline-start: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--ink); transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ قسم البطل ============ */
.hero {
  background:
    radial-gradient(1100px 480px at 88% -10%, rgba(14, 122, 84, 0.14), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(245, 166, 35, 0.10), transparent 60%),
    var(--bg);
  padding: 64px 0 76px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }

.hero-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 1px solid rgba(14, 122, 84, 0.18);
}
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; margin-bottom: 18px; }
.hero-lead { font-size: 18px; color: var(--body); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-trust { display: flex; gap: 38px; }
.hero-trust > div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 26px; font-weight: 900; color: var(--primary); }
.hero-trust span { color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* لوحة البصر */
.hero-art { position: relative; min-height: 380px; }
.hero-orb {
  position: absolute; inset: 6% 4%;
  background: linear-gradient(140deg, var(--primary) 0%, #12a06e 55%, #16b87d 100%);
  border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
.hero-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
}
.hero-card strong { display: block; color: var(--ink); font-size: 14.5px; }
.hero-card small { color: var(--muted); font-size: 12px; font-weight: 600; }
.hc-icon { width: 40px; height: 40px; color: var(--primary); flex: 0 0 auto; }
.hc-icon svg { width: 100%; height: 100%; }
.hero-card-1 { top: 10%; right: 2%; animation: bob 5s ease-in-out infinite; }
.hero-card-2 { bottom: 22%; right: 30%; animation: bob 6s 0.6s ease-in-out infinite; }
.hero-card-3 { top: 40%; left: 0; animation: bob 5.5s 0.3s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-cross {
  position: absolute;
  bottom: 6%;
  left: 14%;
  width: 54px; height: 54px;
  background: var(--accent);
  color: #fff;
  font-size: 30px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.4);
  animation: bob 6.5s 1s ease-in-out infinite;
}

/* ============ شريط الخدمات السريع ============ */
.quick-strip { background: var(--bg-alt); border-block: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 18px;
  color: var(--ink);
  border-inline-end: 1px solid var(--line);
  transition: 0.25s;
}
.quick-item:last-child { border-inline-end: 0; }
.quick-item:hover { background: #fff; color: var(--ink); }
.qi-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  flex: 0 0 auto;
}
.quick-item strong { display: block; font-weight: 800; }
.quick-item small { color: var(--muted); font-weight: 600; font-size: 12.5px; }

/* ============ الأقسام العامة ============ */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-weight: 600; }

.kicker {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 800;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.h2-accent { position: relative; padding-inline-start: 16px; margin-bottom: 18px; font-size: 26px; }
.h2-accent::before {
  content: '';
  position: absolute; inset-inline-start: 0; top: 6px; bottom: 6px;
  width: 5px; border-radius: 4px;
  background: linear-gradient(var(--primary), var(--accent));
}
.h2-accent.center { padding-inline-start: 0; text-align: center; }
.h2-accent.center::before { display: none; }

/* ============ من نحن باختصار ============ */
.about-quick { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
.aq-text h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.aq-text > p { margin-bottom: 18px; }
.check-list li {
  position: relative;
  padding-inline-start: 32px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--ink);
}
.check-list li::before {
  content: '✓';
  position: absolute; inset-inline-start: 0; top: 0;
  width: 22px; height: 22px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 7px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900;
}
.aq-text .btn { margin-top: 10px; }

.aq-cards { display: grid; gap: 18px; }
.aq-card {
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.aq-card h3 { margin-bottom: 8px; font-size: 19px; }
.aq-card p { font-size: 14.5px; }
.aq-vision { background: var(--primary-deep); color: rgba(255,255,255,0.85); }
.aq-vision h3 { color: #fff; }
.aq-mission { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.aq-mission::after {
  content: '';
  position: absolute; inset-inline-end: -30px; top: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--primary-soft);
}

/* ============ بطاقات الخدمات والدورات ============ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(14,122,84,0.25); }

.card-icon {
  width: 58px; height: 58px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  flex: 0 0 auto;
}
.card-icon svg { width: 30px; height: 30px; }
.card-icon.big { width: 74px; height: 74px; border-radius: 20px; }
.card-icon.big svg { width: 38px; height: 38px; }

.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card h3 a { color: var(--ink); }
.service-card h3 a:hover { color: var(--primary); }
.service-card p { font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.card-link { font-weight: 800; font-size: 14px; }

.card-img { margin: -28px -24px 18px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; height: 190px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.card:hover .card-img img { transform: scale(1.05); }

.center-more { text-align: center; margin-top: 36px; }

/* بطاقة الدورة */
.course-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.course-date {
  background: var(--primary-deep);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.course-badge {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
}
.course-card h3 { font-size: 18px; margin-bottom: 10px; }
.course-card h3 a { color: var(--ink); }
.course-card h3 a:hover { color: var(--primary); }
.course-card p { font-size: 14px; margin-bottom: 14px; flex: 1; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.course-meta span {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--body);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

/* ============ خطوات العمل ============ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  transition: 0.3s;
}
.step:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-num {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--primary), #14a06c);
  color: #fff;
  font-weight: 900;
  font-size: 19px;
  border-radius: 13px;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(14, 122, 84, 0.3);
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--body); }

/* ============ الفريق ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: 0.3s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-photo {
  width: 84px; height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--primary), #16b87d);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(14, 122, 84, 0.3);
}
.team-card h3 { font-size: 16.5px; margin-bottom: 4px; }
.team-role {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.team-card p { font-size: 13px; color: var(--muted); }

/* ============ الرؤية والرسالة والقيم ============ */
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vmv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  transition: 0.3s;
}
.vmv-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.vmv-icon {
  width: 66px; height: 66px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-size: 30px;
  background: var(--primary-soft);
  border-radius: 50%;
}
.vmv-card h3 { font-size: 20px; margin-bottom: 10px; }
.vmv-card p { font-size: 14.5px; }

/* الأهداف */
.goals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.goal {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: 0.3s;
}
.goal:hover { background: #fff; box-shadow: var(--shadow); }
.goal strong { color: var(--accent); font-size: 24px; font-weight: 900; line-height: 1; }
.goal h4 { font-size: 16.5px; }
.goal p { font-size: 13.5px; }

/* ============ نطاقات الصفحات الداخلية ============ */
.page-hero {
  background:
    radial-gradient(800px 300px at 85% -20%, rgba(245,166,35,0.18), transparent 60%),
    linear-gradient(140deg, var(--primary-deep) 0%, var(--primary-dark) 60%, var(--primary) 100%);
  color: #fff;
  padding: 58px 0 64px;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.82); font-weight: 600; max-width: 640px; font-size: 16.5px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,0.8); }
.crumbs a:hover { color: #fff; }

.lead-para { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }

/* تفاصيل الخدمة/الدورة */
.service-detail .detail-img { border-radius: var(--radius); margin-bottom: 28px; max-height: 420px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.detail-icon-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.detail-icon-row h2 { font-size: 24px; }
.detail-para { margin-bottom: 14px; font-size: 16px; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* تفاصيل الدورة */
.course-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
.course-main .detail-img { border-radius: var(--radius); margin-bottom: 26px; box-shadow: var(--shadow); }
.course-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}
.fact {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.fact-label { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.fact strong { color: var(--ink); font-size: 14.5px; }

.course-aside { position: sticky; top: 96px; }
.reg-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.reg-box h3 { font-size: 19px; margin-bottom: 6px; }
.reg-note { color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 18px; }

/* ============ النماذج ============ */
.form .form-group { margin-bottom: 18px; }
.form label { display: block; font-weight: 700; color: var(--ink); font-size: 14px; margin-bottom: 7px; }
.form label b { color: var(--danger); }
.form label small { color: var(--muted); font-weight: 600; }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="password"],
.form input[type="url"],
.form input[type="number"],
.form input[type="date"],
.form select,
.form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: 0.2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 122, 84, 0.12);
}
.form textarea { resize: vertical; }
.form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .form-row > .grow { grid-column: auto; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }

.check-row { display: flex !important; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); cursor: pointer; margin-top: 12px; }
.check-row input { width: 18px; height: 18px; accent-color: var(--primary); }

/* تنبيهات */
.alert { border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 18px; font-size: 14.5px; font-weight: 600; }
.alert ul { margin-top: 6px; padding-inline-start: 20px; list-style: disc; }
.alert-success { background: #e8f7ef; color: #12603f; border: 1px solid #bfe8d2; }
.alert-error { background: #fdeeee; color: #9c2b2b; border: 1px solid #f5cbcb; }
.alert-info { background: #e9f3fb; color: #1e5c8e; border: 1px solid #c9e2f5; }

/* نجاح كبير */
.big-success {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 50px 30px;
}
.bs-icon {
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  background: #e8f7ef;
  color: var(--primary);
  font-size: 38px;
  font-weight: 900;
  border-radius: 50%;
}
.big-success h3 { font-size: 24px; margin-bottom: 10px; }
.big-success p { margin-bottom: 8px; }
.ref-num { color: var(--primary); font-size: 18px; }
.big-success .btn { margin-top: 16px; }

/* ============ صفحة طلب الدواء ============ */
.request-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
.request-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.request-aside { display: grid; gap: 20px; position: sticky; top: 96px; }
.aside-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.aside-box h3 { font-size: 17px; margin-bottom: 14px; }
.aside-box .check-list li { font-size: 13.5px; }
.aside-box.highlight { background: var(--primary-deep); border-color: var(--primary-deep); }
.aside-box.highlight h3 { color: #fff; }
.num-list { counter-reset: n; }
.num-list li {
  counter-increment: n;
  position: relative;
  padding-inline-start: 34px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
  font-weight: 600;
}
.num-list li::before {
  content: counter(n);
  position: absolute; inset-inline-start: 0; top: 0;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.14);
  border-radius: 7px;
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}

/* ============ صفحة التواصل ============ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: 0.3s;
}
.contact-card:hover { box-shadow: var(--shadow); }
.cc-icon { font-size: 24px; display: block; margin-bottom: 8px; }
.contact-card h4 { font-size: 14.5px; margin-bottom: 4px; }
.contact-card p { font-size: 13px; color: var(--body); font-weight: 600; }
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1faa53;
  color: #fff;
  font-weight: 800;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  transition: 0.25s;
}
.whatsapp-btn:hover { background: #178a43; color: #fff; transform: translateY(-2px); }
.whatsapp-btn span { font-size: 20px; }
.social-follow h4 { margin-bottom: 10px; }
.footer-social { display: flex; gap: 10px; }

.contact-form-col .form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

/* ============ حالات فارغة ============ */
.empty-state {
  text-align: center;
  padding: 70px 20px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 16px; }

/* ============ شريط الدعوة ============ */
.cta-band {
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(255,255,255,0.12), transparent 60%),
    linear-gradient(120deg, var(--primary-deep), var(--primary-dark));
  padding: 64px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.75); font-weight: 600; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ الفوتر ============ */
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,0.72); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr; gap: 34px; padding-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-logo { width: 38px; height: 38px; color: #fff; }
.footer-brand strong { color: #fff; font-size: 19px; }
.footer-about p { font-size: 13.5px; margin-bottom: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.09);
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
  transition: 0.25s;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; position: relative; padding-bottom: 8px; }
.footer-col h4::after {
  content: '';
  position: absolute; inset-inline-start: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: rgba(255,255,255,0.72); font-size: 13.5px; font-weight: 600; }
.footer-col ul a:hover { color: #fff; padding-inline-start: 4px; }
.footer-contact li { font-size: 13.5px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.09); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.6); font-weight: 700; }
.footer-bottom a:hover { color: #fff; }

/* ============ التجاوب ============ */
@media (max-width: 1024px) {
  .cards-grid, .vmv-grid, .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-item:nth-child(2) { border-inline-end: 0; }
  .quick-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .about-quick { grid-template-columns: 1fr; }
  .course-layout, .request-layout, .contact-layout { grid-template-columns: 1fr; }
  .course-aside, .request-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-note { display: none; }
  .topbar-contact { justify-content: center; width: 100%; }
  .nav-toggle { display: flex; }
  /* backdrop-filter يجعل fixed محصوراً داخل الترويسة على الجوال فنلغيه هنا */
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 90px 22px 30px;
    gap: 6px;
    box-shadow: -20px 0 50px rgba(0,0,0,0.15);
    transform: translateX(-105%);
    transition: transform 0.35s ease;
    z-index: 95;
    overflow-y: auto;
  }
  html[dir="rtl"] .main-nav { inset: 0 auto 0 0; transform: translateX(105%); box-shadow: 20px 0 50px rgba(0,0,0,0.15); }
  html[dir="rtl"] .main-nav.open { transform: translateX(0); }
  .main-nav > a { padding: 12px 16px; border-radius: 12px; }
  .nav-cta { margin: 10px 0 0; justify-content: center; }
  .nav-toggle { position: relative; z-index: 96; }
  .cards-grid, .vmv-grid, .goals-grid, .team-grid, .steps-grid { grid-template-columns: 1fr; }
  .form .form-row { grid-template-columns: 1fr; }
  .course-facts { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .hero { padding: 44px 0 54px; }
  .hero-trust { gap: 20px; flex-wrap: wrap; }
  .hero-trust strong { font-size: 21px; }
  .section { padding: 54px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .quick-grid { grid-template-columns: 1fr; }
  .quick-item { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .quick-item:last-child { border-bottom: 0; }
  .contact-cards { grid-template-columns: 1fr; }
  .course-facts { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
