/* =========================================================
   certification-paths.css — sirf .sec-paths ke andar apply hota hai
   (3 pricing-style cards, featured orange middle card,
    blue-dark background is section par hai — body par nahi)
   ========================================================= */

.sec-paths {
  --card-bg: #16182c;
  --card-border: rgba(160, 170, 220, 0.12);
  --orange-soft: rgba(244, 116, 74, 0.9);
  --text-muted: rgba(230, 228, 240, 0.72);
  --text-dark: #14121f;
  --text-primary: #fff;
  background: #0b0d1e;
}

/* ---------- Heading block ---------- */
/* Is section ka eyebrow white hai (base orange ko override) */
.sec-paths .eyebrow {
  font-size: 0.75rem;
  color: var(--text-primary);
}

.sec-paths .eyebrow::before {
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

.sec-paths .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  line-height: 1.2;
  margin-top: 1.25rem;
  max-width: 22ch;
}

.sec-paths .section-sub {
  margin-top: 1rem;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 58ch;
}

/* ---------- Card grid ---------- */
.sec-paths .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  align-items: stretch;
}

.sec-paths .card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Featured (middle) card */
.sec-paths .card--featured {
  background: linear-gradient(160deg, #f97b50 0%, var(--orange-deep) 100%);
  border: none;
  box-shadow: 0 24px 60px rgba(239, 99, 55, 0.35);
  transform: translateY(-16px);
}

.sec-paths .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sec-paths .card-step {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-soft);
}

.sec-paths .card--featured .card-step { color: rgba(255, 255, 255, 0.92); }

.sec-paths .badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.sec-paths .badge--free { background: var(--green); color: #fff; }
.sec-paths .badge--white { background: rgba(255, 255, 255, 0.92); color: var(--orange-deep); }
.sec-paths .badge--gold { background: rgba(232, 195, 74, 0.15); color: var(--gold); border: 1px solid rgba(232, 195, 74, 0.35); }

.sec-paths .card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  line-height: 1.25;
  margin-top: 1.5rem;
  color: var(--text-primary);
}

.sec-paths .card-desc {
  margin-top: 0.9rem;
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
}

.sec-paths .card--featured .card-desc { color: rgba(255, 250, 246, 0.92); }

.sec-paths .card-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-left: 0rem;
}

.sec-paths .card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.45;
}

.sec-paths .card--featured .card-list li { color: rgba(255, 250, 246, 0.95); }

.sec-paths .check {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  margin-top: 0.18em;
  stroke: var(--orange);
}

.sec-paths .card--featured .check { stroke: #fff; }

/* ---------- Buttons ---------- */
.sec-paths .card-btn {
  margin-top: auto;
  padding-top: 1.75rem;
}

.sec-paths .btn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.sec-paths .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sec-paths .btn .arrow { transition: transform 0.18s ease; }
.sec-paths .btn:hover .arrow { transform: translateX(3px); }
.sec-paths .btn:hover { transform: translateY(-2px); }

.sec-paths .btn--orange {
  background: linear-gradient(160deg, #f9825a 0%, var(--orange-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(239, 99, 55, 0.3);
}

.sec-paths .btn--orange:hover { filter: brightness(1.06); }

.sec-paths .btn--white {
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.sec-paths .btn svg { width: 1em; height: 1em; flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .sec-paths .cards { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .sec-paths .card--featured { transform: none; }
}
@media (max-width: 520px) {
  .sec-paths .card-list { display: none;}
  .sec-paths .card{
    background: #202020!important;
    box-shadow: initial!important;
    padding: clamp(1rem, 2.5vw, 2rem);
  }
  .sec-paths .card-step {
    font-size: 0.75rem;
  }
  .sec-paths .btn{    
    border: 1px solid var(--card-border)!important;
    background: #161515!important;
    color: #fff;
    box-shadow: initial!important;
    font-size: 0.85rem;
  }
  .sec-paths .card-title {
      font-size: clamp(1rem, 1.8vw, 1.55rem);
      margin-top: 1rem;
  }
  .sec-paths .card-desc {
    margin-top: 0.9rem;
    font-size: 0.78rem;
  }
  .sec-paths .badge{
    font-size: 0.55rem;
    padding: 0.4rem 0.85rem;
    border-radius: 5px;
  }
  .sec-paths .badge--white{
    color: rgba(255, 255, 255, 0.92);
    background: var(--orange-deep);
  }
}