/* ============================================================
   QRKavach — How It Works page styles
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.qkhiw-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 120px 24px 96px;
  text-align: center;
}

.qkhiw-hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.qkhiw-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.18;
}
.qkhiw-hero__blob--1 {
  width: 480px; height: 480px;
  background: #2563EB;
  top: -120px; left: -100px;
}
.qkhiw-hero__blob--2 {
  width: 360px; height: 360px;
  background: #7C3AED;
  top: -60px; right: -80px;
}
.qkhiw-hero__blob--3 {
  width: 300px; height: 300px;
  background: #2563EB;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
}

.qkhiw-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.qkhiw-hero__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #2563EB;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.qkhiw-hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  color: #111827;
  margin: 0 0 20px;
  font-family: 'Manrope', sans-serif;
}

.qkhiw-hero__title--accent {
  background: linear-gradient(90deg, #2563EB 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.qkhiw-hero__sub {
  font-size: 18px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

/* ── Process Section ─────────────────────────────────────────── */
.qkhiw-process {
  background: #F3F3F6;
  padding: 96px 24px;
}

.qkhiw-process__inner {
  max-width: 960px;
  margin: 0 auto;
}

/* Timeline wrapper */
.qkhiw-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Vertical gradient line — runs through the centre (node) column */
.qkhiw-timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #A5B4FC 0%, #7C3AED 100%);
  border-radius: 2px;
  z-index: 0;
}

/* ── Step — 3-column grid: [meta | node | card] or [card | node | meta] ── */
.qkhiw-step {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

/* ── Node (always in centre column) ─────────────────────────── */
.qkhiw-step__node {
  grid-column: 2;
  justify-self: center;
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 0 5px #F3F3F6, 0 4px 16px rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}

.qkhiw-step__node span {
  font-size: 14px;
  font-weight: 800;
  color: #2563EB;
  font-family: 'Manrope', sans-serif;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ── Left steps (1, 3): text col-1 | node col-2 | card col-3 ── */
.qkhiw-step--left .qkhiw-step__meta { grid-column: 1; text-align: right; padding-right: 40px; }
.qkhiw-step--left .qkhiw-step__node { grid-column: 2; }
.qkhiw-step--left .qkhiw-step__card { grid-column: 3; padding-left: 40px; }

/* ── Right steps (2, 4): card col-1 | node col-2 | text col-3 ── */
.qkhiw-step--right .qkhiw-step__card { grid-column: 1; padding-right: 40px; }
.qkhiw-step--right .qkhiw-step__node { grid-column: 2; }
.qkhiw-step--right .qkhiw-step__meta { grid-column: 3; text-align: left; padding-left: 40px; }

/* ── Image card ──────────────────────────────────────────────── */
.qkhiw-step__card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 40px rgba(87, 77, 235, 0.08);
}

.qkhiw-step__img-wrap {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #EEF2FF;
}

.qkhiw-step__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Link badge below image */
.qkhiw-step__card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #2563EB;
  text-decoration: none;
  cursor: default;
}
a.qkhiw-step__card-link { cursor: pointer; }
a.qkhiw-step__card-link:hover { text-decoration: underline; }

/* ── Text meta ───────────────────────────────────────────────── */
.qkhiw-step__meta {
  min-width: 0;
}

.qkhiw-step__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #111827;
  margin: 0 0 12px;
  font-family: 'Manrope', sans-serif;
  line-height: 1.2;
}

.qkhiw-step__desc {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.7;
  margin: 0;
}

/* ── Why QRKavach ────────────────────────────────────────────── */
.qkhiw-why {
  background: #fff;
  padding: 96px 24px;
  text-align: center;
}

.qkhiw-why__inner {
  max-width: 960px;
  margin: 0 auto;
}

.qkhiw-why__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #2563EB;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.qkhiw-why__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #111827;
  margin: 0 0 56px;
  font-family: 'Manrope', sans-serif;
}

.qkhiw-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.qkhiw-why-card {
  background: #F8F9FB;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #E7E8EB;
}

.qkhiw-why-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.qkhiw-why-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px;
  font-family: 'Manrope', sans-serif;
}

.qkhiw-why-card__body {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.qkhiw-cta {
  background: linear-gradient(135deg, #004AC6 0%, #4C41E0 55%, #7C04D3 100%);
  padding: 96px 24px;
  text-align: center;
}

.qkhiw-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.qkhiw-cta__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  font-family: 'Manrope', sans-serif;
}

.qkhiw-cta__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 40px;
  line-height: 1.6;
}

.qkhiw-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.qkhiw-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.18s;
  white-space: nowrap;
}
.qkhiw-cta__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.qkhiw-cta__btn--primary {
  background: #fff;
  color: #2563EB;
}

.qkhiw-cta__btn--secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .qkhiw-hero { padding: 80px 20px 64px; }

  .qkhiw-process { padding: 64px 20px; }
  .qkhiw-timeline { gap: 48px; }
  .qkhiw-timeline__line { display: none; }

  /* Stack all steps vertically: node → meta → card */
  .qkhiw-step,
  .qkhiw-step--left,
  .qkhiw-step--right {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .qkhiw-step__node { order: 0; align-self: flex-start; }
  .qkhiw-step__meta { order: 1; text-align: left !important; padding: 0 !important; }
  .qkhiw-step__card { order: 2; padding: 0 !important; }

  .qkhiw-step__img-wrap { height: 180px; }

  .qkhiw-why { padding: 64px 20px; }
  .qkhiw-why__grid { grid-template-columns: 1fr; gap: 20px; }

  .qkhiw-cta { padding: 64px 20px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .qkhiw-step { grid-template-columns: 1fr 64px 1fr; }
  .qkhiw-step--left .qkhiw-step__meta { padding-right: 24px; }
  .qkhiw-step--left .qkhiw-step__card  { padding-left: 24px; }
  .qkhiw-step--right .qkhiw-step__card { padding-right: 24px; }
  .qkhiw-step--right .qkhiw-step__meta { padding-left: 24px; }
  .qkhiw-step__img-wrap { height: 170px; }
  .qkhiw-why__grid { gap: 20px; }
}
