/* WAJD Academy homepage narrative sections. Copyright WAJD Group. Built by WAJD AI.
   Simple techniques only: alternating rows, soft tints, generous space, no animation. */

/* ---- Learner voices: the problem, in a learner's own words ---- */
.voices {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1060px;
  margin: 8px auto 0;
  text-align: left;
}
.voice {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.voice-bubble {
  position: relative;
  background: var(--tint, var(--light-bg));
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--text-dark);
}
.voice-bubble::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  background: var(--tint, var(--light-bg));
  transform: rotate(45deg);
  border-radius: 3px;
}
.voice-who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 14px;
}
.voice-who img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.voice-who b { display: block; font-size: .95rem; color: var(--text-dark); }
.voice-who span { display: block; font-size: .76rem; color: var(--text-light); font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px; }
.voice-answer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.voice-answer b { display: block; font-size: 1.06rem; color: var(--accent, var(--navy)); margin-bottom: 4px; }
.voice-answer p { margin: 0; font-size: .92rem; color: var(--text-mid); line-height: 1.5;
  min-height: 4.5em; }

/* ---- Bands: one per thing we do best, alternating ---- */
.band { padding: 54px 0; }
.band-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.band-flip .band-art { order: -1; }
.band-art { text-align: center; }
.band-art img { width: 100%; max-width: 260px; height: auto; }
.band-step {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--accent, var(--navy));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 13px;
  margin-bottom: 14px;
}
.band h2 { font-size: 1.85rem; line-height: 1.2; margin: 0 0 12px; color: var(--text-dark); }
.band-copy > p { font-size: 1.04rem; line-height: 1.6; color: var(--text-mid); margin: 0 0 18px; }
.band-list { list-style: none; margin: 0 0 22px; padding: 0; }
.band-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: .96rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.band-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent, var(--navy));
}

/* ---- The week: a plain narrative, navy band, type only ---- */
.week { background: var(--navy); color: var(--white); padding: 64px 24px; }
.week-inner { max-width: 940px; margin: 0 auto; text-align: center; }
.week h2 { color: var(--white); font-size: 1.9rem; margin: 0 0 10px; }
.week > .week-inner > p { color: rgba(255,255,255,.78); font-size: 1.04rem; max-width: 620px;
  margin: 0 auto 36px; line-height: 1.6; }
.week-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: left; }
.week-step { border-top: 3px solid var(--cyan); padding-top: 16px; }
.week-step b { display: block; font-size: .74rem; letter-spacing: .8px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 7px; }
.week-step p { margin: 0; font-size: .95rem; line-height: 1.55; color: rgba(255,255,255,.9); }

/* ---- Crew strip ---- */
.crew-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  gap: 26px 18px;
  max-width: 560px;
  margin: 4px auto 26px;
}
.crew-face { width: 96px; text-align: center; }
.crew-face img { width: 72px; height: 72px; object-fit: contain; }
.crew-face b { display: block; font-size: .9rem; color: var(--text-dark); margin-top: 4px; }
.crew-face span { display: block; font-size: .74rem; color: var(--text-light); }

@media (max-width: 900px) {
  .voices { grid-template-columns: 1fr; max-width: 460px; }
  .band-inner { grid-template-columns: 1fr; gap: 30px; }
  .band-flip .band-art { order: 0; }
  .band-art { order: -1; }
  .week-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .week-steps { grid-template-columns: 1fr; }
  .band h2 { font-size: 1.55rem; }
  .crew-face { width: 80px; }
  .crew-face img { width: 60px; height: 60px; }
}

/* Keep each promise in the headline unbroken. */
.nb { white-space: nowrap; }

@media (max-width: 560px) {
  .crew-strip { grid-template-columns: repeat(4, 1fr); max-width: 340px; gap: 18px 6px; }
}

/* ================================================================
   Shared story sections used on about, guide and courses.
   ================================================================ */

/* Dark page heads: text left, character right, so the art is never stranded. */
.hero-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
  text-align: left;
}
.hero-split .hero-split-art { text-align: center; }
.hero-split .hero-split-art img { width: 100%; max-width: 210px; height: auto; margin: 0 auto; }

/* About: what we believe, carried by the crew. */
.beliefs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto;
  text-align: left;
}
.belief {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent, var(--cyan));
  border-radius: 16px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
}
.belief img { width: 56px; height: 56px; object-fit: contain; }
.belief h3 { margin: 8px 0 8px; font-size: 1.12rem; color: var(--text-dark); }
.belief p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--text-mid); }
.belief .who { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .4px;
  text-transform: uppercase; color: var(--accent, var(--cyan)); margin-top: 12px; }

/* The promise: what stays free. */
.promise { background: var(--navy); color: var(--white); padding: 58px 24px; text-align: center; }
.promise h2 { color: var(--white); font-size: 1.9rem; margin: 0 0 10px; }
.promise > p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto 30px;
  font-size: 1.04rem; line-height: 1.6; }
.promise-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 900px; margin: 0 auto; text-align: left;
}
.promise-item { border-top: 3px solid var(--cyan); padding-top: 14px; }
.promise-item b { display: block; color: var(--white); font-size: 1rem; margin-bottom: 5px; }
.promise-item span { color: rgba(255,255,255,.78); font-size: .93rem; line-height: 1.5; }

/* Guide: the steps, tightened, each with a crew guide. */
.steps { max-width: 820px; margin: 0 auto; text-align: left; }
.step-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent, var(--cyan));
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 14px;
}
.step-row img { width: 56px; height: 56px; object-fit: contain; }
.step-n { font-size: .72rem; font-weight: 800; letter-spacing: .7px; text-transform: uppercase;
  color: var(--accent, var(--cyan)); display: block; margin-bottom: 4px; }
.step-row h3 { margin: 0 0 6px; font-size: 1.14rem; color: var(--text-dark); }
.step-row p { margin: 0; font-size: .96rem; line-height: 1.55; color: var(--text-mid); }

/* Courses: guided starting paths above the full catalogue. */
.paths {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1060px; margin: 0 auto; text-align: left;
}
.path {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  text-decoration: none;
  border-top: 4px solid var(--accent, var(--cyan));
}
.path:hover { box-shadow: var(--shadow-lg); }
.path img { width: 58px; height: 58px; object-fit: contain; }
.path h3 { margin: 8px 0 6px; font-size: 1.16rem; color: var(--text-dark); }
.path p { margin: 0 0 12px; font-size: .94rem; line-height: 1.55; color: var(--text-mid); }
.path .go { font-weight: 800; font-size: .9rem; color: var(--accent, var(--cyan)); }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .beliefs, .promise-list, .paths { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 560px) {
  .step-row { grid-template-columns: 1fr; gap: 10px; }
  .step-row img { width: 48px; height: 48px; }
}

/* .section lived only inside the homepage's inline styles, so these pages rendered
   flush left. Define it here for every page that loads this stylesheet. */
.section { padding: 70px 80px; }
.section.center { text-align: center; }

/* Four beliefs sit as two balanced rows, never three plus a stray one. */
.beliefs.four { grid-template-columns: repeat(2, 1fr); max-width: 760px; }

@media (max-width: 900px) {
  .section { padding: 44px 24px; }
  .beliefs.four { grid-template-columns: 1fr; max-width: 460px; }
}

/* When a belief label is a real link, keep it looking like one. */
a.who:hover { text-decoration: underline !important; }

/* Reusable dark hero. `.page-head` has no background of its own, so any page using a
   white line (-w) doodle or a white outline button must opt into this, or both vanish. */
.page-head.dark { background: var(--navy); color: #fff; padding: 50px 24px 42px; }
.page-head.dark h1 { color: #fff; }
.page-head.dark p { color: rgba(255,255,255,.78); line-height: 1.6; }
.page-head.dark .section-label,
.page-head.dark .eyebrow { background: rgba(0,188,212,.2); border-color: rgba(0,188,212,.35);
  color: var(--cyan); }
