/* =========================================================
   Inspire Softech - Home page styles
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 48px;
  padding-top: 80px; padding-bottom: 72px;
}
.hero-copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-badge {
  align-self: flex-start;
  color: var(--blue); background: var(--pill);
  border-radius: 999px; padding: 8px 16px;
}
.hero-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 64px; line-height: 1.05;
  color: var(--navy);
}
.hero-title .accent { color: var(--orange); }
.hero-lead { margin: 0; max-width: 520px; font-size: 18px; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Passport card (the only shadow on the site) */
.hero-art { flex: 1 1 380px; display: flex; justify-content: center; min-width: 0; }
.passport {
  width: 100%; max-width: 440px;
  background: var(--paper);
  border: 1px solid #DDD3BC;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(11, 46, 89, .12);
  transform: rotate(2deg);
}
.passport-label { color: #8A6D2F; }
.passport-title {
  margin: 6px 0 18px;
  font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--navy);
}
.stamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; justify-items: center; }
.stamp { width: 100%; height: auto; }
.stamp-1 { transform: rotate(-7deg); color: var(--blue); }
.stamp-2 { transform: rotate(5deg); color: var(--orange-deep); }
.stamp-empty {
  width: 100%; aspect-ratio: 1 / 1;
  border: 2px dashed #B7C2D6; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted); text-align: center;
}
.passport-meta {
  margin-top: 20px; display: flex; justify-content: space-between; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.passport-meta strong { color: var(--navy); }
.passport-bar { height: 10px; margin-top: 8px; background: #E3E9F3; border-radius: 999px; overflow: hidden; }
.passport-bar span { display: block; height: 100%; width: 60%; background: var(--orange); }

/* ---------- Stats band ---------- */
.stats { background: var(--navy); color: #fff; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px; text-align: center;
  padding-top: 36px; padding-bottom: 36px;
}
.stat-value { font-family: var(--font-head); font-weight: 800; font-size: 34px; line-height: 1.2; }
.stat-label { font-size: 13px; color: #D6E0F0; }

/* ---------- Sections ---------- */
.section { padding-top: 56px; padding-bottom: 24px; }
.section-first { padding-top: 80px; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 8px; margin-bottom: 24px;
}
.link-strong { font-weight: 700; font-size: 15px; color: var(--blue); display: inline-flex; align-items: center; min-height: 44px; }
.link-strong:hover { text-decoration: underline; }

/* ---------- Pick your path ---------- */
.grid-250 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.path-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px;
  transition: border-color .15s ease;
}
.path-card:hover { border-color: var(--blue); }
.path-time { color: var(--blue); letter-spacing: 2px; }
.path-name { font-family: var(--font-head); font-weight: 600; font-size: 24px; color: var(--navy); }
.path-text { font-size: 15px; color: var(--ink-soft); }

/* ---------- Program cards ---------- */
.grid-280 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.program {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px;
}
.program-featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.badge-i {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--blue); background: var(--pill);
  border-radius: 6px; padding: 4px 8px;
}
.program-featured .badge-i { background: #FFB48A; color: var(--navy); padding: 4px 10px; }
.program-title { font-weight: 700; font-size: 19px; color: var(--navy); }
.program-featured .program-title { color: #fff; }
.program-meta { font-size: 14px; color: var(--muted); }
.program-featured .program-meta { color: #D6E0F0; }
.program-stamp { font-size: 13px; color: var(--muted); }
.program-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 8px;
}
.program-fee { font-size: 18px; color: var(--navy); }
.program-featured .program-fee { color: #fff; }
.note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- Quiz ---------- */
.quiz {
  background: var(--pill); border-radius: 20px; padding: 36px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.quiz-copy { flex: 1 1 320px; min-width: 0; }
.quiz-copy p { margin: 8px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 460px; }
.quiz-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip {
  min-height: 44px; padding: 0 18px;
  background: #fff; color: var(--navy);
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: border-color .15s ease;
}
.chip:hover { border-color: var(--navy); }
.chip::after { content: " \25BE"; font-size: 11px; color: var(--muted); }

/* ---------- Why Inspire ---------- */
.grid-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.why-item { border-top: 3px solid var(--blue); padding-top: 14px; }
.why-item:nth-child(even) { border-top-color: var(--orange); }
.why-item strong { display: block; font-size: 15px; color: var(--navy); }
.why-item p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Partners ---------- */
.partners { text-align: center; padding-top: 64px; padding-bottom: 8px; }
.partners-label { color: var(--muted); }
.partners-row {
  margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--muted);
}

/* ---------- Testimonials ---------- */
.testimonial {
  margin: 0; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px;
}
.testimonial blockquote { margin: 0; font-size: 16px; color: var(--ink-soft); }
.testimonial figcaption { font-size: 13px; color: var(--muted); }
.testimonial figcaption strong { color: var(--navy); }

/* ---------- Follow band + CTA ---------- */
.follow {
  background: var(--charcoal); color: #fff; border-radius: 20px; padding: 36px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.follow[hidden] { display: none; }
.follow-copy { flex: 1 1 320px; min-width: 0; }
.follow-title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1.2; }
.follow-copy p { margin: 8px 0 0; font-size: 15px; color: #D6E0F0; max-width: 460px; }
.follow-links { display: flex; flex-wrap: wrap; gap: 10px; }
.follow-links a, .follow-later {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid #5A6478; border-radius: 10px;
  background: transparent; color: #fff;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: border-color .15s ease;
}
.follow-links a:hover, .follow-later:hover { border-color: #fff; }
.follow-later { color: #D6E0F0; border-color: transparent; text-decoration: underline; }

.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 40px;
}
.cta-title { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--navy); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 48px; padding-bottom: 48px; gap: 36px; }
  .hero-title { font-size: 48px; }
  .passport { transform: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 32px; padding-bottom: 40px; }
  .hero-title { font-size: 38px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn-i { flex: 1 1 100%; }
  .section-first { padding-top: 56px; }
  .quiz, .follow { padding: 28px 22px; }
  .stat-value { font-size: 28px; }
  .cta-actions .btn-i { flex: 1 1 100%; }
}
