:root {
  /* ألوان زينة (تقريب من الباليت اللي بعتّها) */
  --primary: #00525B;       /* تيل غامق */
  --primary-soft: #007783;  /* تيل متوسط */
  --accent: #FFC400;        /* أصفر */
  --teal-light: #3A9FAE;    /* تيل فاتح */
  --gray-light: #D2D3D4;    /* رمادي فاتح */
  --white: #FFFFFF;

  --text-main: #22252B;
  --text-muted: #6B7280;

  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 26px 70px rgba(0, 82, 91, 0.12);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

main.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 18px 72px;
}

/* ====== ANIMATION BASE ====== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ====== HERO ====== */

.hero-shell {
  position: relative;
  margin-bottom: 52px;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset-inline: 10%;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--teal-light));
  filter: drop-shadow(0 4px 10px rgba(255, 196, 0, 0.4));
}

.hero {
  background: var(--white);
  border-radius: 38px;
  padding: 30px 28px 34px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.9fr);
  gap: 26px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,120,131,0.14), transparent 60%);
  left: -120px;
  top: -160px;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 24px 20px 26px;
    border-radius: 28px;
  }
  .hero-shell::before {
    inset-inline: 18%;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--gray-light);
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.95);
  gap: 8px;
  margin-bottom: 12px;
}

.hero-badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.hero-title {
  font-size: 30px;
  margin: 0 0 10px;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 480px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

/* pill – تعديل عشان "لك ♂️" فوق والنص تحتها */
.pill {
  padding: 8px 16px;
  border-radius: 16px;
  background: rgba(58,159,174,0.09);
  border: 1px solid rgba(58,159,174,0.35);
  color: var(--primary);
  font-size: 13px;
  display: inline-flex;
  flex-direction: column;      /* مهم: عمودي */
  align-items: flex-start;     /* محاذاة يمين حسب الـ text-align */
  text-align: right;           /* عربي من اليمين */
  gap: 2px;
}

.pill strong {
  font-weight: 700;
  font-size: 14px;
  display: block;              /* سطر لوحده */
}

.hero-highlight {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 22px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ====== BUTTON PRIMARY (انضم الآن) ====== */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fff;                         /* لون النص */
  border-radius: 999px;
  padding: 11px 26px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(0, 82, 91, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease,
    color 0.16s ease;
}

/* نثبت اللون الأبيض حتى على الهوفر عشان ما يتأثر بـ a:hover العام */
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited {
margin-top:20px;
  color: #fff;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.1),
    rgba(255,255,255,0.7),
    rgba(255,255,255,0.1)
  );
  transform: translateX(-100%) skewX(-24deg);
  opacity: 0;
  pointer-events: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active {
  color: #fff !important;             /* أهم سطر لحل المشكلة */
  text-decoration: none;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 46px rgba(0, 82, 91, 0.55);
  filter: brightness(1.03);
}

.btn-primary:hover::after,
.btn-primary:focus::after,
.btn-primary:active::after {
  animation: button-shine 0.9s forwards;
  opacity: 1;
}

@keyframes button-shine {
  from { transform: translateX(-120%) skewX(-24deg); }
  to   { transform: translateX(220%) skewX(-24deg);  }
}

.btn-secondary {
  border-radius: 999px;
  border: 1px solid var(--gray-light);
  padding: 9px 20px;
  font-size: 14px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.92);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--teal-light);
  transform: translateY(-1px);
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.hero-right {
  padding-inline-start: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* البنر – صورة تظهر كاملة داخل الكادر مع border-radius مضبوط */
.hero-image {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  background: #e5e7eb;
}

/* الصورة نفسها – تملأ العرض مع كيرفات مظبوطة */
.hero-image-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

/* أوفرلاي ديكوري خفيف فوق الصورة */
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,82,91,0.08), rgba(255,196,0,0.03));
  pointer-events: none;
  z-index: 1;
}

.hero-image-img {
  position: relative;
  z-index: 2;
}

@media (max-width: 920px) {
  .hero-image {
    border-radius: 20px;
  }
}

/* ====== GENERIC SECTIONS ====== */

section {
  margin-bottom: 48px;
}

.section-header {
  margin-bottom: 20px;
  text-align: right;
}

/* سطر صغير فوق العنوان – كبرناه وخليناه أوضح */
.section-eyebrow {
  font-size: 14px;
  color: var(--teal-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
}

/* عنوان السكشن – أكبر وأسمك عشان عناوين زي "لماذا ٩٠ يوم؟" تبان قوية */
.section-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.5;
  color: var(--primary);
  font-weight: 800;
}

/* نص تعريفي تحت العنوان */
.section-lead {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
}

/* ====== STATS STRIP ====== */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

@media (max-width: 840px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 14px 30px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset-inline-start: -40px;
  top: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,196,0,0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.06);
  border-color: rgba(0,82,91,0.12);
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-main {
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 196, 0, 0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

/* ====== TWO COLUMNS ====== */

.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

@media (max-width: 840px) {
  .two-cols {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset-inline-end: -30px;
  top: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,120,131,0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0,0,0,0.07);
  border-color: rgba(0,82,91,0.14);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--primary);
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.card ul {
  margin: 0 0 6px;
  padding-inline-start: 18px;
  font-size: 14px;
  color: var(--text-main);
}

.card li {
  margin-bottom: 4px;
}

.card-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ====== OFFER ====== */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

@media (max-width: 840px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

.offer-banner {
  margin-top: 22px;
  border-radius: var(--radius-xl);
  padding: 18px 18px 20px;
  background: linear-gradient(90deg, var(--primary), var(--primary-soft));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.offer-banner::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, rgba(255,196,0,0.6), transparent 50%);
  opacity: 0.22;
  pointer-events: none;
}

.offer-banner strong {
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.offer-deadline {
  font-size: 13px;
  opacity: 0.96;
  position: relative;
  z-index: 1;
}

.offer-chip {
  background: rgba(255,255,255,0.12);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);
  font-size: 12px;
  position: relative;
  z-index: 1;
}

/* ====== FEATURES ====== */

.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-pill {
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,0.05);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-pill::before {
  content: "•";
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.feature-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.04);
  border-color: rgba(0,82,91,0.16);
}

/* ====== VIDEO SECTION ====== */

.video-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-soft);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

/* فيديو ريسبونسيف بنسبة 16:9 */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 18px;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 18px;
}

/* Placeholder لو مفيش فيديو */
.video-placeholder {
  width: 100%;
  padding-bottom: 56.25%;
  background: linear-gradient(145deg, #f9fafb, #e5e7eb);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,82,91,0.1), rgba(255,196,0,0.05));
  z-index: 1;
}

.video-play-button {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-play-button:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.video-play-icon {
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid var(--primary);
  margin-left: 5px;
}

.video-caption {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ====== DOCTOR SECTION ====== */

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.04);
  padding: 18px 18px 20px;
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.5fr);
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.doctor-card::before {
  content: "";
  position: absolute;
  inset-inline-end: -120px;
  top: -160px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,159,174,0.25), transparent 65%);
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 840px) {
  .doctor-card {
    grid-template-columns: 1fr;
  }
}

.doctor-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.doctor-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.doctor-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 6px;
  position: relative;
  z-index: 1;
}

.doctor-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 196, 0, 0.12);
  color: var(--accent);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

/* حاوية صورة الدكتور – مع border-radius واضح */
.doctor-photo {
  background: #f3f4f6;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: 0 16px 36px rgba(0,0,0,0.06);
  z-index: 1;
  min-height: 250px;
}

/* الصورة نفسها تغطي الكادر مع نفس الكيرف */
.doctor-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Placeholder نصي لو مفيش صورة */
.doctor-photo::after {
  content: "مساحة لصورة د. نور / د. نهى";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* لما فيه صورة – شيل الـ placeholder */
.doctor-photo.has-image::after {
  content: none;
}

/* ====== SUCCESS STORIES ====== */

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

@media (max-width: 840px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

.story-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 14px 16px;
  border: 1px solid rgba(0,0,0,0.04);
  font-size: 13px;
  color: var(--text-muted);
  box-shadow: 0 12px 26px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.story-card::before {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  bottom: -40px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,196,0,0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
  border-color: rgba(0,82,91,0.16);
}

.story-card:hover::before {
  opacity: 1;
}

.story-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: 4px;
}

/* ====== FAQ ====== */

.faq-list {
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 18px 44px rgba(0,0,0,0.04);
  padding: 10px 8px;
}

details {
  border-bottom: 1px solid rgba(226,232,240,0.9);
  padding: 8px 10px;
  transition: background 0.15s ease;
}

details:last-of-type {
  border-bottom: none;
}

details[open] {
  background: #f9fafb;
}

summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }

summary span.icon {
  font-size: 18px;
  color: var(--accent);
  transform: translateY(-1px);
  transition: transform 0.18s ease;
}

details[open] summary span.icon {
  transform: rotate(90deg);
}

details p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 8px 2px 4px;
}

/* ====== FOOTER STRIP ====== */

.footer-strip {
  margin-top: 44px;
  padding: 16px 18px 14px;
  border-radius: 24px;
  border: 1px solid var(--gray-light);
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  box-shadow: 0 16px 38px rgba(0,0,0,0.03);
}

.footer-strip-text {
  font-size: 14px;
  color: var(--primary);
}

.footer-strip-meta {
  font-size: 12px;
  color: var(--text-muted);
  text-align: left;
}

@media (max-width: 720px) {
  .footer-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-strip-meta {
    text-align: right;
  }
}

/* في وضع تعديل إليمنتور: إظهر كل عناصر .reveal حتى لو الجافاسكربت ما اشتغلش */
.elementor-editor-active .reveal,
body.elementor-editor-active .reveal {
  opacity: 1 !important;
  transform: none !important;
}
