/* ==========================================================================
   NAJAH MEDIA / CRO LANDING PAGE - MOROCCAN B2B LANGUAGE CENTERS
   High-converting direct-response layout (Reference Booking Clone)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Alexandria:wght@400;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8fafc;
  
  --text-primary: #0f2942;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --brand-navy: #0f2942;
  --brand-navy-light: #1e3a8a;
  
  --amber-primary: #d97706;
  --amber-hover: #b45309;
  --amber-bg: #fef3c7;
  --amber-border: #fde68a;
  
  --emerald-primary: #16a34a;
  --emerald-hover: #15803d;
  --emerald-bg: #dcfce7;
  --emerald-border: #86efac;

  --accent-red: #dc2626;
  --accent-red-bg: #fee2e2;
  --accent-red-border: #fca5a5;
  
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(15, 41, 66, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 41, 66, 0.07), 0 2px 4px -2px rgba(15, 41, 66, 0.05);
  --shadow-card: 0 20px 25px -5px rgba(15, 41, 66, 0.06), 0 8px 10px -6px rgba(15, 41, 66, 0.04);
  --shadow-cta: 0 10px 20px -3px rgba(22, 163, 74, 0.35);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  /* Typography */
  --font-arabic: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 30px 16px 50px 16px;
}

/* Base Page Wrapper - Max 1024px on Desktop */
.page-wrapper {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

/* Main Elevated Card */
.main-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
  .main-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }
}

/* 2. Target Callout Pill */
.target-callout-wrapper {
  text-align: center;
  margin-bottom: 22px;
}

.target-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-hover);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.08);
}

/* 3. The Big Pain Headline */
.main-headline {
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.4px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.main-headline .highlight-amber {
  color: var(--amber-primary);
  background: linear-gradient(180deg, rgba(254, 243, 199, 0) 65%, #fef3c7 65%);
  padding: 0 4px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .main-headline {
    font-size: 1.45rem;
    line-height: 1.42;
  }
}

/* 4 & 5. Hero Unified Card: Image First + Text */
.hero-unified-card {
  max-width: 860px;
  margin: 0 auto 26px auto;
  background-color: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-image-wrap {
  width: 100%;
  overflow: hidden;
  background-color: #0f172a;
}

.hero-classroom-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hero-unified-card:hover .hero-classroom-img {
  transform: scale(1.012);
}

.hero-unified-card .brutal-subheadline {
  margin: 0;
  border-radius: 0;
  border-right: none;
  border-top: 1px solid var(--border-light);
  background-color: #f8fafc;
  padding: 20px 24px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: right;
}

@media (max-width: 768px) {
  .hero-unified-card .brutal-subheadline {
    padding: 16px 18px;
    font-size: 0.95rem;
  }
}

/* Fast-Jump CTA Button */
.fast-jump-cta-wrap {
  max-width: 860px;
  margin: 0 auto 34px auto;
  display: flex;
  justify-content: center;
}

.fast-jump-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 580px;
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 18px 28px;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-arabic);
  box-shadow: var(--shadow-cta);
  transition: all 0.2s ease;
  cursor: pointer;
}

.fast-jump-cta-btn:hover {
  background: linear-gradient(180deg, #15803d 0%, #166534 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -3px rgba(22, 163, 74, 0.45);
}

.fast-jump-cta-btn:active {
  transform: translateY(0);
}

.fast-jump-cta-btn:hover .cta-arrow {
  transform: translateX(-4px);
}

/* 6. The 3 Qualification Segmentation Cards */
.segmentation-section {
  margin: 34px auto 32px auto;
  max-width: 860px;
}

.section-title-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-align: center;
}

.cards-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qualification-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.qualification-card:hover {
  transform: translateX(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.card-badge-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background-color: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
}

.qualification-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.6;
}

.qualification-card p strong {
  color: var(--text-primary);
  font-weight: 800;
}

/* 7. The Bridge / Transition Text */
.bridge-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px auto 36px auto;
  text-align: center;
  max-width: 860px;
}

.bridge-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.65;
}

/* ==========================================================================
   8. RESPONSIVE BOOKING SECTION: 2-COLUMN LAYOUT ON DESKTOP
   ========================================================================== */

.booking-main-wrapper {
  margin: 40px auto 0 auto;
  max-width: 860px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 20px 45px -15px rgba(15, 41, 66, 0.08), 0 0 0 1px rgba(15, 41, 66, 0.03);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .booking-main-wrapper {
    padding: 26px 18px;
    border-radius: 18px;
    margin-top: 28px;
  }
}

/* Subtle Top Decorative Accent Glow */
.booking-main-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 4px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.1) 0%, #10b981 50%, rgba(217, 119, 6, 0.1) 100%);
  border-radius: 0 0 8px 8px;
}

/* Header Section */
.booking-header {
  text-align: center;
  margin-bottom: 28px;
}


/* Service Notice Notes */
.service-notice-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-top: 10px;
}

.service-notice-banner {
  display: inline-block;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.scarcity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.08);
  margin-bottom: 14px;
}

.scarcity-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: scarcityPulse 1.8s infinite;
}

@keyframes scarcityPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.booking-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.booking-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 16px auto;
  line-height: 1.65;
}

.booking-trust-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.booking-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-navy-light);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.booking-trust-chip svg {
  color: var(--emerald-primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .booking-title {
    font-size: 1.45rem;
  }
  .booking-subtitle {
    font-size: 0.92rem;
  }
  .booking-trust-chip {
    font-size: 0.78rem;
    padding: 3px 10px;
  }
}

/* Progress Bar & Milestone Tracker */
.form-progress-wrap {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 26px;
  box-shadow: 0 2px 8px rgba(15, 41, 66, 0.04);
}

.progress-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.step-indicator-text {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-tag-pill {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-navy-light);
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 6px;
}

.step-percentage-text {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--emerald-primary);
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.progress-bar-track {
  width: 100%;
  height: 8px;
  background-color: #f1f5f9;
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: var(--radius-pill);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: progressShimmer 2.2s infinite;
}

@keyframes progressShimmer {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.milestones-stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
}

.milestone-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  transition: all 0.25s ease;
  user-select: none;
}

.milestone-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.milestone-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.milestone-item.active {
  color: var(--text-primary);
  font-weight: 800;
}

.milestone-item.active .milestone-num {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 41, 66, 0.15);
}

.milestone-item.completed {
  color: var(--emerald-primary);
}

.milestone-item.completed .milestone-num {
  background: var(--emerald-primary);
  border-color: var(--emerald-primary);
  color: #ffffff;
}

@media (max-width: 640px) {
  .milestones-stepper {
    gap: 4px;
  }
  .milestone-label {
    display: none;
  }
  .milestone-item {
    justify-content: center;
  }
  .milestone-num {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
  }
}

.form-status-alert {
  display: none;
  background-color: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #b91c1c;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
  align-items: center;
  gap: 10px;
  animation: alertFadeIn 0.3s ease;
}

.form-status-alert.visible {
  display: flex;
}

@keyframes alertFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FORM STEPS ARCHITECTURE & ANIMATIONS
   ========================================================================== */

.multistep-form-container {
  width: 100%;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: stepFadeSlide 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stepFadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-error-shake {
  animation: stepShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes stepShake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* Step Header Box */
.step-header-box {
  margin-bottom: 24px;
  text-align: right;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--amber-bg);
  color: var(--amber-hover);
  border: 1px solid var(--amber-border);
  margin-bottom: 12px;
}

.step-question-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.step-question-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .step-question-title {
    font-size: 1.2rem;
  }
  .step-question-desc {
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   CLEAN & INTERACTIVE OPTION CARDS (WITHOUT STICKERS/COMMENTS)
   ========================================================================== */

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.option-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  box-shadow: 0 1px 3px rgba(15, 41, 66, 0.04);
}

.option-card:hover {
  border-color: #93c5fd;
  background-color: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -2px rgba(15, 41, 66, 0.07);
}

.option-card.selected,
.option-card:has(input:checked) {
  border-color: var(--emerald-primary);
  background: #f0fdf4;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.22);
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  pointer-events: none;
}

.option-label {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  transition: color 0.2s ease;
}

.option-card.selected .option-label,
.option-card:has(input:checked) .option-label {
  color: #15803d;
  font-weight: 800;
}

.option-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-right: 12px;
}

.option-indicator::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--emerald-primary);
  transform: scale(0);
  transition: transform 0.2s ease;
}

.option-card.selected .option-indicator,
.option-card:has(input:checked) .option-indicator {
  border-color: var(--emerald-primary);
  background-color: #ffffff;
}

.option-card.selected .option-indicator::after,
.option-card:has(input:checked) .option-indicator::after {
  transform: scale(1);
}

.autre-specify-wrap {
  margin-top: 10px;
  margin-bottom: 20px;
}

/* ==========================================================================
   STEP 5: CONTACT INFORMATION FORM FIELDS
   ========================================================================== */

.contact-fields-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-label .required-star {
  color: #dc2626;
  font-weight: 900;
}

.form-label-hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.input-with-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-leading-icon {
  position: absolute;
  right: 14px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-input, 
.form-select {
  width: 100%;
  padding: 14px 16px 14px 16px;
  font-size: 0.98rem;
  font-family: var(--font-arabic);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  background-color: #ffffff;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  direction: rtl;
}

.input-with-icon-wrap .form-input,
.input-with-icon-wrap .form-select {
  padding-right: 44px;
}

.form-input:focus, 
.form-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-input::placeholder {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Custom Select Dropdown Styling */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 16px 16px;
  padding-left: 40px;
  cursor: pointer;
}

/* Moroccan Phone Input Special Layout */
.phone-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-country-code {
  position: absolute;
  left: 12px;
  direction: ltr;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f2942;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 5px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  user-select: none;
}

.phone-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.form-input.phone-input {
  padding-left: 95px;
  padding-right: 44px;
  direction: ltr;
  text-align: right;
  letter-spacing: 0.5px;
}

.phone-whatsapp-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #15803d;
}

/* ==========================================================================
   STEP NAVIGATION BUTTONS & CTA ACTIONS
   ========================================================================== */

.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-light);
}

.step-actions.single-next {
  justify-content: flex-end;
}

.step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 800;
  font-family: var(--font-arabic);
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.step-btn.prev-btn {
  background-color: #f1f5f9;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-light);
}

.step-btn.prev-btn:hover {
  background-color: #e2e8f0;
  color: var(--text-primary);
  transform: translateX(2px);
}

.step-btn.next-btn {
  background: linear-gradient(180deg, #1e3a8a 0%, #0f2942 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 41, 66, 0.25);
  margin-right: auto;
}

.step-btn.next-btn:hover {
  background: linear-gradient(180deg, #2563eb 0%, #1e3a8a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 41, 66, 0.35);
}

.btn-arrow {
  display: inline-block;
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.step-btn.next-btn:hover .btn-arrow {
  transform: translateX(-4px);
}

.step-btn.prev-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   FINAL SUBMIT CTA BUTTON (HIGH-CONVERTING EMERALD GLOW)
   ========================================================================== */

.cta-submit-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  border: none;
  color: #ffffff;
  padding: 18px 26px;
  border-radius: 14px;
  font-size: 1.18rem;
  font-weight: 900;
  font-family: var(--font-arabic);
  cursor: pointer;
  box-shadow: 0 10px 24px -4px rgba(22, 163, 74, 0.45);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.cta-submit-btn .cta-btn-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.cta-submit-btn .cta-btn-sub {
  font-size: 0.82rem;
  font-weight: 700;
  color: #dcfce7;
  letter-spacing: 0.3px;
}

.cta-submit-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #15803d 0%, #166534 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(22, 163, 74, 0.55);
}

.cta-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.cta-submit-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
}

/* Animated Button Shimmer Shine */
.cta-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: ctaShine 3.5s infinite;
}

@keyframes ctaShine {
  0%, 60% { left: -100%; }
  100% { left: 160%; }
}

.cta-arrow {
  display: inline-block;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.cta-submit-btn:hover:not(:disabled) .cta-arrow {
  transform: translateX(-5px);
}

/* ==========================================================================
   TRUST & CONFIDENTIALITY GUARANTEES ROW
   ========================================================================== */

.form-guarantee-row {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.guarantee-icon {
  color: var(--emerald-primary);
  display: flex;
  align-items: center;
}

@media (max-width: 640px) {
  .form-guarantee-row {
    gap: 10px;
    font-size: 0.78rem;
  }
}

/* Footer / Privacy note */
.minimal-footer {
  margin-top: 36px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================================================
   THANK-YOU PAGE SPECIFIC STYLING
   ========================================================================== */

.thankyou-card {
  text-align: center;
  padding: 44px 28px;
  max-width: 680px;
  margin: 0 auto;
}

.success-check-bubble {
  width: 80px;
  height: 80px;
  background: var(--emerald-bg);
  border: 2px solid var(--emerald-border);
  color: var(--emerald-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 20px auto;
  box-shadow: 0 8px 16px -2px rgba(22, 163, 74, 0.2);
}

.thankyou-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.thankyou-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 28px;
  line-height: 1.6;
}

.appointment-details-card {
  background-color: #f8fafc;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
  text-align: right;
}

.details-header {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-navy);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.details-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.94rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.details-row:last-child {
  border-bottom: none;
}

.details-label {
  color: var(--text-muted);
  font-weight: 600;
}

.details-val {
  color: var(--text-primary);
  font-weight: 800;
}

.checklist-section {
  margin-top: 0;
  text-align: right;
  background-color: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
}

.checklist-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.5;
}

.checklist-item:last-child {
  margin-bottom: 0;
}

.checklist-check {
  color: var(--emerald-primary);
  font-weight: 900;
  flex-shrink: 0;
}

/* ==========================================================================
   PLATFORM NAVIGATION BAR FOR LANGUAGE CENTER
   ========================================================================== */
.centre-langue-topbar {
  background: rgba(15, 41, 66, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.topbar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.topbar-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-brand-text {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.topbar-link:hover,
.topbar-link.active {
  color: #ffffff;
  font-weight: 800;
}

.topbar-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.topbar-back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.footer-platform-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.footer-platform-link {
  color: var(--brand-navy-light);
  text-decoration: none;
  font-weight: 700;
}

.footer-platform-link:hover {
  text-decoration: underline;
}

.footer-sep {
  color: var(--text-light);
}

@media (max-width: 768px) {
  .topbar-nav {
    display: none;
  }
}

