:root {
  --primary: #0B1F33;
  --orange: #E45A27;
  --white: #FFFFFF;
  --bg-light: #F8F9FA;
  --border: #E8EDF3;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --success: #10B981;
  --warning: #F59E0B;
}

body {
  font-family: 'Cairo', 'Segoe UI', system-ui, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.growth-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 3%;
}

.growth-hero {
  background: linear-gradient(135deg, #0B1F33 0%, #1E3A5F 100%);
  color: var(--white);
  padding: 60px 30px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 40px;
}

.growth-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.growth-hero p {
  font-size: 18px;
  color: #CBD5E1;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.btn-primary-orange {
  background-color: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary-orange:hover {
  background-color: #c8481b;
  transform: translateY(-2px);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(11, 31, 51, 0.08);
}

.stage-number {
  background: rgba(228, 90, 39, 0.1);
  color: var(--orange);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 15px;
}

.stage-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.stage-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================================
   Q-DASH Business Journey Roadmap & Stage Cards Redesign
   ============================================================ */

/* ── Roadmap Progress Line Stepper ── */
.growth-journey-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 36px;
  box-shadow: 0 4px 16px rgba(11, 31, 51, 0.03);
  scrollbar-width: thin;
}

.growth-journey-stepper::-webkit-scrollbar {
  height: 4px;
}
.growth-journey-stepper::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.stepper-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.stepper-pill:hover {
  background: rgba(228, 90, 39, 0.08);
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

.stepper-pill-num {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
}

.stepper-arrow {
  color: #94A3B8;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── Premium 4-Column Stage Cards Grid ── */
.growth-journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

@media (max-width: 1199px) {
  .growth-journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .growth-journey-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Individual Premium Stage Card ── */
.journey-card {
  background: #FFFFFF;
  border: 1px solid rgba(11, 31, 51, 0.08);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  animation: qdStageFadeUp 0.5s ease-out forwards;
  animation-delay: calc(var(--stage-i, 1) * 0.03s);
}

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

.journey-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--card-accent, var(--orange));
  opacity: 0.85;
  transition: height 0.3s ease;
}

.journey-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 18px 40px rgba(11, 31, 51, 0.12);
  border-color: var(--card-accent, var(--orange));
}

.journey-card:hover::before {
  height: 6px;
}

/* ── Card Header Row ── */
.journey-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.journey-step-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  color: var(--card-accent, var(--primary));
  background: var(--card-bg, rgba(11, 31, 51, 0.06));
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-transform: uppercase;
}

.journey-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--card-bg, rgba(228, 90, 39, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* ── Card Content ── */
.journey-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.journey-card-title {
  font-size: 18.5px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.journey-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 18px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Card Footer Action Button ── */
.journey-card-footer {
  padding-top: 14px;
  border-top: 1px dashed rgba(11, 31, 51, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.journey-card-btn {
  color: var(--card-accent, var(--orange));
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, transform 0.2s ease;
}

.journey-card:hover .journey-card-btn {
  gap: 10px;
}

.step-form-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.progress-bar-container {
  background: var(--bg-light);
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 30px;
}

.progress-bar-fill {
  background: var(--orange);
  height: 100%;
  transition: width 0.3s ease;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(228, 90, 39, 0.15);
}
