/* =========================================================
   JP Tutoring – Sitewide Styles (match landing page look)
   ========================================================= */

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {font-family
  : Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a; background: #ffffff; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 800; }

/* ---------- Theme ---------- */
:root{
  --ink:#0f172a;
  --shade:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --lite:#f8fafc;
  --brand:#111827;
  --accent:#111827;
  --success:#16a34a;
  --warn:#d97706;
  --shadow: 0 10px 30px rgba(2,6,23,0.06);
}

/* ---------- Layout ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 1.6rem; }
.section { padding: 4rem 0; }
.light { background: var(--lite); }
.page { padding-top: 2rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ---------- Header / Nav ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.navbar { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: .6rem; align-items: center; font-weight: 800; }
.brand .logo { width: 275px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.nav { display: flex; gap: 1rem; }
.nav a { font-weight: 600; position: relative; padding-bottom: .2rem; }
.nav a::after { content:""; position: absolute; left:0; right:0; bottom:-2px; height:2px; background: transparent; transition: background .2s; }
.nav a:hover::after { background: var(--ink); }
.mobile { display: none; }
.cta { padding: 0.1rem 2rem; border-radius: 5px; background: var(--brand); color: #fff; font-weight: 700; }
/* Prevent hover underline on the CTA button */
.nav a.cta::after {
  display: none;
}

.nav a.cta:hover::after {
  display: none;
}

.nav a.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

/* Hide navigation on mobile */
.nav {
  display: flex;
  gap: 1.25rem;
}

@media (max-width: 860px) {
  .nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;          /* height of your header */
    right: 1rem;
    width: 200px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 1rem;
  }

  .nav.nav-open {
    display: flex;      /* appears when .nav-open is toggled */
  }

  .mobile {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
  }

  .mobile.active {
    transform: rotate(90deg); /* optional rotation effect */
    transition: transform 0.2s;
  }
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 860px) {
  .index-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Hero (Home) ---------- */
.hero h1 { font-size: clamp(2.1rem, 3.2vw, 3.2rem); line-height: 1.2; margin: 0 0 .6rem; }
.badge { display: inline-block; padding: .25rem .6rem; border-radius: 999px; background: var(--ink); color:#fff; font-size:.75rem; font-weight:700; }
.sub { color: var(--muted); max-width: 60ch; }

/* ---------- Mini Hero (Subpages) ---------- */
.hero--mini { padding: 2.5rem 0; background: var(--lite); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.2; margin: 0; }
.lead { color: var(--muted); margin-top: .4rem; }

/* ---------- Cards / Buttons / KPIs ---------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 1.25rem; box-shadow: var(--shadow);
  
}

.card.emph { border: 2px solid var(--ink); }


.btn {
  display: inline-block; padding: .9rem 1.35rem; border-radius: 12px; font-weight: 800;
  transition: transform .04s ease, opacity .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(15,23,42,.12); }
.btn.primary:hover { opacity: .95; box-shadow: 0 10px 26px rgba(15,23,42,.18); }
.btn.ghost { border: 2px solid var(--ink); color: var(--ink); background: #fff; }
.btn.ghost:hover { background: #fff; opacity: .9; }
.kpi { font-size: 1.6rem; font-weight: 900; }
/* ---------- Submit Button ---------- */
.submit {
  display: inline-block;
  background: var(--brand, #0b132b); /* dark navy/black tone */
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  letter-spacing: 0.3px;
}

.submit:hover,
.submit:focus {
  background: #1c2541; /* slightly lighter on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Disabled state */
.submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
/* Mission Hero Section */
.mission-hero {
  background: #f5f6f7; /* soft grey like your example */
  text-align: center;
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mission-hero .mission-quote {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink, #0b132b);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.mission-hero .mission-sub {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--muted, #4a5568);
  margin-bottom: 2rem;
}

.mission-form {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
}

.mission-form input[type="email"] {
  flex: 1;
  min-width: 250px;
  padding: 0.9rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-size: 1rem;
}

.mission-form .submit {
  background: var(--ink, #0b132b);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 0.9rem 1.4rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mission-form .submit:hover {
  background: #1c2541;
  transform: translateY(-2px);
}

.mission-quote {
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink, #0b132b);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.mission-quote .highlight {
  display: inline-block;
  font-weight: 800;
  color: var(--brand, #0b132b);
  border-bottom: 3px solid var(--brand, #0b132b);
  padding-bottom: 2px;
}


/* Responsive */
@media (max-width: 600px) {
  .mission-hero .mission-quote { font-size: 1.6rem; }
  .mission-form { flex-direction: column; }
  .mission-form .submit { width: 100%; }
}



/* ---------- Lists / Utilities ---------- */
.list-check { padding-left: 0; margin: .5rem 0; }
.list-check li { list-style: none; margin: .4rem 0; padding-left: 1.1rem; position: relative; }
.list-check li:before { content: '✔'; position: absolute; left: 0; color: var(--success); }
.notice { font-size: .85rem; color: var(--muted); }
.media-bar { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; opacity: .9; filter: grayscale(20%); }
.placeholder { background: #e5e7eb; border-radius: 16px; height: 300px; display: grid; place-items: center; color:#555; }

/* ---------- Section headers ---------- */
.section-title { font-size: clamp(1.6rem, 2.2vw, 2rem); margin: 0 0 .75rem; }
.section-sub { color: var(--muted); margin-bottom: 1.25rem; }

/* ---------- Proof / Testimonials ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial { display: grid; gap: .5rem; align-content: start; }
.testimonial .name { font-weight: 800; }
.testimonial .meta { color: var(--muted); font-size: .9rem; }
.quote {
  position: relative; padding-left: 2rem;
}
.quote::before {
  content: "“"; position: absolute; left: 0; top: -8px; font-size: 2.2rem; color: #cbd5e1;
}


/* ----------- Thankyou ---------------- */
/* --- Thank You page enhancements --- */
.trial-box {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  background: #fff;
}

.trial-box .btn {
  display: block;
  width: fit-content;
  margin-top: 1rem;
}

/* emphasize quick links */
.next-links {
  margin-top: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.next-links a.link-strong {
  text-decoration: none;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
}
.next-links a.link-strong:hover {
  border-bottom-color: var(--ink);
  transform: translateY(-1px);
}
.dot-divider::before {
  content: "•";
  color: var(--muted);
}

/* --- Case Study highlight on Thank You page --- */
.case-highlight {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  background: #fff;
}

.case-intro {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 1rem 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.case-intro strong {
  font-weight: 700;
}

.case-highlight .btn-outline {
  display: inline-block;
  font-weight: 600;
}


/* optional: subtle hover for the box */
.trial-box:hover {
  transform: translateY(-2px);
  transition: all .25s ease;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
}


/* ---------- Tabs (optional) ---------- */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
.tab { border: 1px solid var(--line); padding: .5rem .75rem; border-radius: 8px; cursor: pointer; background: #fff; font-weight: 600; }
.tab.active { border-color: var(--ink); }

/* ---------- Forms (squeeze / contact / book-call) ---------- */
form input, form select, form textarea {
  width: 100%; padding: .9rem 1rem; border: 1px solid var(--line);
  border-radius: 12px; font: inherit; outline: none; background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease;
}
form input:focus, form select:focus, form textarea:focus {
  border-color: #c7ccd6; box-shadow: 0 0 0 4px rgba(15,23,42,.07);
}
form button { margin-top: .8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 700px){ .form-row { grid-template-columns: 1fr; } }

/* ---------- Tables (workshops) ---------- */
.table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.table th, .table td {
  padding: .75rem 1rem; background: #fff; border: 1px solid var(--line); text-align: left;
}
.table th { background: #f1f5f9; font-weight: 800; }
.table tr:hover td { background: #fafbfc; }

/* ---------- Urgency / Countdown (optional banner) ---------- */
.urgency-bar { padding: 1rem 0; background: var(--lite); border-bottom: 1px solid var(--line); }
.urgency-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.countdown-wrap { display: flex; gap: 10px; align-items: center; }
.countdown-badge { display: inline-block; padding: .35rem .65rem; border-radius: 10px; background: #0b5; color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
#countdown.badge { background: #0b5; }

/* ---------- Prose (privacy/terms copy) ---------- */
.prose { max-width: 75ch; }
.prose h2 { margin: 1.25rem 0 .5rem; }
.prose p { margin: .6rem 0; }
.prose ul { margin: .6rem 0 .6rem 1.1rem; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); }

/* ---------- Optional Floating CTA ---------- */

.floating-cta { position: fixed; left: 0; right: 0; bottom: 0; background: var(--ink); color: #fff; padding: .75rem 0; z-index: 9999; }
.floating-cta .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.floating-cta .btn { background: #fff; color: var(--ink); }


/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .mobile { display: block; }
  .placeholder { height: 320px; }
 
}


/* ===== New FAQ row style (like the reference image) ===== */
/* Reduce white space above/below FAQ heading */
.hero.hero-compact {
  padding-top: 1rem;     /* previously around 3–5rem */
  padding-bottom: 0.5rem;
}

.hero.hero-compact .container {
  margin-top: 0;
}

.hero.hero-compact h1 {
  margin-bottom: 0.5rem;   /* tighten spacing below heading */
}

.hero.hero-compact .lead {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* If .section has large padding, tone it down for this page */
.section {
  padding-top: 0.1rem;
}

:root{
  /* keep black/white; change this to a color (e.g. #d9412e) if you want the red accent */
  --accent: var(--ink);
  --faq-line: #e8e8e8;
}

.faq{ border-top: 0; }

/* Each item = a flat row with a hairline separator */
.faq-item{
  border-bottom: 1.5px solid var(--faq-line);
}

/* Question row */
.faq-trigger{
  width: 100%;
  display: block;
  text-align: start;
  background: transparent;
  border: 0;
  padding: 1rem 2.5rem 1rem 0; /* space for chevron on right */
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  position: relative;
  cursor: pointer;
}

/* Thin top accent for section group (optional: first item) */
.faq-item:first-child{
  border-top: 5px solid var(--accent);
}

/* Hover/focus states */
.faq-trigger:hover{ background: #f7f6f6; }
.faq-trigger:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Right chevron (replaces the +) */
.faq-trigger::after{
  content: "▾";  /* caret */
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 1.1rem;
  color: var(--ink);
  transition: transform .2s ease;
}

/* Rotate chevron when open */
.faq-trigger[aria-expanded="true"]::after{
  transform: translateY(-50%) rotate(180deg);
}

/* Hide the old + span if you kept it */
.faq-icon{ display: none !important; }

/* Answer panel: clean spacing, subtle divider */
.faq-panel{
  padding: 0 0 1rem 0;
  margin-top: -.25rem; /* pull panel a touch closer to question */
  max-width: 170ch;
  color: #222;
}

/* Optional: category heading style like the screenshot’s “General information” */
.faq-group-title{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
  text-align: left;
  position: relative;
  color: var(--ink);
}
.faq-group-title::before,
.faq-group-title::after{
  content: "";
  display: inline-block;
  height: 3px;
  width: 90px;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 .5rem;
}

/* Grid layout */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
/* About page spacing */
.about-hero { padding-top: 1.75rem; padding-bottom: .75rem; }

/* Story column */
.about-bio { display: flex; flex-direction: column; gap: 1rem; max-width: 70ch; }
.about-bio p { color:#222; }

/* CTA row */
.about-cta { display:flex; gap:.75rem; flex-wrap:wrap; margin-top:.5rem; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Right card */
.about-card{
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 6px 10px rgba(0,0,0,.06);
  background:#fff;
  align-self:start;
}

.about-card ul{ margin:.25rem 0 .5rem 1.1rem; }
.about-card ul.compact li{ margin:.15rem 0; }
.about-card hr{ border:0; border-top:1px solid #eaeaea; margin:.75rem 0; }





/* Results page */
.results-hero { margin-bottom: 1.25rem; }
.results-hero .lead { max-width: 120ch; color: var(--muted); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Results Page Refined Layout */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.result-card {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  padding: 1.25rem 1.5rem;
}

.result-card h2 {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.result-card .summary {
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1rem;
}

.result-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0.6rem 0 0.25rem;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.result-card p {
  margin: 0 0 0.6rem;
  line-height: 1.55;
  color: #222;
}

.result-card blockquote {
  margin: 0.75rem 0 0;
  padding-left: 0.75rem;
  border-left: 3px solid var(--ink);
  font-style: italic;
  color: #222;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 860px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

.result-meta {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: .6rem;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding: .6rem;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: .6rem;
}
.before-after div { font-size: .95rem; }
.before-after span {
  display: inline-block;
  font-weight: 700;
  margin-right: .35rem;
}
.before-after b { font-weight: 800; }

.what-worked { margin: .4rem 0 .6rem 1.1rem; }
.what-worked li { margin: .15rem 0; }



/* Brunson-style stack + CTA */
.results-stack { margin-top: 1.25rem; }
.results-stack h3 { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; margin-bottom: .35rem; }
.results-stack ul { margin-left: 1.1rem; }
.results-stack li { margin: .25rem 0; }

.results-cta {
  margin-top: 1.25rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.results-cta p { color: var(--muted); margin: .25rem 0 .6rem; }
.btn-outline-res {
  display: inline-block;
  padding: .6rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  margin-left: .4rem;
}
.btn-outline-res:hover { background: var(--ink); color: #fff; transform: translateY(-1px); transition: all .2s ease; }

.results-note {
  color: var(--muted);
  font-size: .9rem;
  margin-top: .75rem;
}

/* Mobile */
@media (max-width: 860px) {
  .results-grid { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
}

/* Workshops page */
/* Expectations (reuse from earlier if already added) */
.workshop-flow{
  display:grid; grid-template-columns: repeat(5, minmax(0,1fr));
  gap:.75rem; margin:1rem 0 1.25rem;
}
.flow-step{
  border:1.5px solid var(--ink); border-radius:var(--radius);
  padding:.75rem; background:#fff; box-shadow:0 4px 16px rgba(0,0,0,.05);
  font-size:.95rem; line-height:1.45;
}
.flow-step span{
  display:inline-grid; place-items:center; width:1.6rem; height:1.6rem;
  border-radius:999px; border:1px solid var(--ink); font-weight:700; margin-right:.5rem;
}
.flow-step b{ display:block; margin:.25rem 0 .15rem; }

/* Scheduler block */
.scheduler-wrap{ margin-top:1rem; }
.scheduler-note{ color:var(--muted); margin:.25rem 0 1rem; }
.scheduler-placeholder{
  border:2px dashed var(--line, #ddd); border-radius:var(--radius);
  min-height:480px; display:flex; align-items:center; justify-content:center;
  background:#fafafa; color:var(--muted); font-style:italic;
}

/* Testimonial */
.testimonial{
  border:1.5px solid var(--ink); border-radius:var(--radius);
  padding:1rem 1.25rem; margin-top:1.25rem; background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.testimonial blockquote{
  margin:0; padding-left:.8rem; border-left:3px solid var(--ink);
  font-style:italic; color:#222; line-height:1.6;
}
.testimonial .cite{ margin-top:.5rem; color:var(--muted); }
.consult-cta .btn-outline{ margin-top:.6rem; }

/* Consultation CTA */
.consult-cta{
  margin-top:1.25rem; text-align:center;
  border:1.5px solid var(--ink); border-radius:var(--radius);
  padding:1rem; box-shadow:0 6px 18px rgba(0,0,0,.06); background:#fff;
}

.consult-cta .cite{ margin-top:.5rem; color:var(--muted); }

.consult-cta blockquote{
  margin:0; padding-left:.8rem; border-left:3px solid var(--ink);
  font-style:italic; color:#222; line-height:1.6;
}

/* Buttons (if not already present) */
.btn-outline{
  display:inline-block; padding:.6rem 1rem; border:1.5px solid var(--ink);
  border-radius:999px; text-decoration:none; color:var(--ink); font-weight:600;
}
.btn-outline:hover{ background:var(--ink); color:#fff; transform:translateY(-1px); transition:all .2s ease; }

/* Responsive */
@media (max-width:1100px){ .workshop-flow{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width:800px){
  .workshop-flow{ grid-template-columns: 1fr 1fr; }
  .workshop-box { grid-template-columns: 1fr;}
    .scheduler-placeholder{ min-height:360px; }
}

/* 2-column layout */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* Shared card base */
.card {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Testimonial */

.testimonial h3 {
  margin-bottom: .5rem;
}
.testimonial blockquote {
  margin: 0 0 .6rem;
  padding-left: .8rem;
  border-left: 3px solid var(--ink);
  font-style: italic;
  color: #222;
  line-height: 1.6;
}
.testimonial .cite {
  color: var(--muted);
  margin-bottom: .6rem;
}

/* Consultation CTA */
.consult-cta h3 {
  margin-bottom: .5rem;
}
.consult-cta p {
  margin-bottom: .6rem;
}

/* Buttons (if not already included) */
.btn-outline {
  display: inline-block;
  padding: .6rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
  transition: all .2s ease;
}

/* Responsive */
@media (max-width: 860px) {
  .workshops-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Flow rail (cleaner expectations) --- */
.flow-rail{
  list-style:none; margin:1rem 0 1.5rem; padding:0;
  display:grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap:1rem;
  position:relative;
}

/* horizontal connector line */
.flow-rail::before{
  content:""; position:absolute; left:calc(2.2rem / 2); right:calc(2.2rem / 2);
  top:1.35rem; height:2px; background:#e6e6e6;
}

/* each step */
.flow-rail .step{
  position:relative; display:flex; gap:.6rem; align-items:flex-start;
}

/* number bubble */
.flow-rail .num{
  display:inline-grid; place-items:center;
  width:2.2rem; height:2.2rem; border-radius:999px;
  border:2px solid var(--ink); background:#fff; font-weight:800;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  z-index:1;
}

/* text block */
.flow-rail .text{ display:flex; flex-direction:column; gap:.15rem; }
.flow-rail .label{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; font-weight:700; font-size:1.02rem; color:var(--ink);
}
.flow-rail .desc{ color:var(--muted); font-size:.95rem; }

/* subtle emphasis on hover/focus */
.flow-rail .step:hover .num,
.flow-rail .step:focus-within .num{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.10);
}

/* --- Mobile: vertical rail --- */
@media (max-width: 860px){
  .flow-rail{
    grid-template-columns: 1fr; gap:1rem; padding-left:.4rem;
  }
  .flow-rail::before{
    left:1.1rem; right:auto; top:0.5rem; bottom:0.5rem; width:2px; height:auto;
  }
  .flow-rail .step{
    align-items:center;
  }
}

/* --- Box styling --- */
.workshop-box {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0 2rem;
  text-align: center;
}

.workshop-box h2 {
  margin-bottom: 1.2rem;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.7rem;
}

/* --- Flow rail (clean expectations) --- */
.flow-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  text-align: left;
}

/* horizontal connector line */
.flow-rail::before {
  content: "";
  position: absolute;
  left: calc(2.2rem / 2);
  right: calc(2.2rem / 2);
  top: 1.35rem;
  height: 2px;
  background: #e6e6e6;
}

/* step formatting */
.flow-rail .step {
  position: relative;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.flow-rail .num {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  z-index: 1;
}

.flow-rail .text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.flow-rail .label {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}
.flow-rail .desc {
  color: var(--muted);
  font-size: 0.95rem;
}

/* hover/focus subtle lift */
.flow-rail .step:hover .num,
.flow-rail .step:focus-within .num {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
}

/* --- Mobile vertical layout --- */
@media (max-width: 860px) {
  .flow-rail {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 0.4rem;
  }

  .flow-rail::before {
    left: 1.1rem;
    right: auto;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    height: auto;
  }

  .flow-rail .step {
    align-items: center;
  }

  .workshop-box {
    padding: 1.25rem 1.5rem;
  }
}

/* --- Enquiry Section --- */
.enquiry-section {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 2rem 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.enquiry-section h2 {
   font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.enquiry-section p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

/* Enquiry buttons */
.enquiry-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.enquiry-buttons .btn {
  min-width: 160px;
  text-align: center;
}

/* Responsive layout */
@media (max-width: 680px) {
  .enquiry-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  .enquiry-section {
    padding: 1.5rem 1rem;
  }
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

/* ===== Modal Popup ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  }

  .open-modal {
  cursor: pointer;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.modal-content p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Close Button (X) */
.close-modal {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.4rem;
  cursor: pointer;
  color: #555;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.popup-form .form-group {
  display: flex;
  gap: 0.5rem;
}

.popup-form input,
.popup-form select {
  padding: 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.popup-form .submit {
  background: var(--ink, #0b132b);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.popup-form .submit:hover {
  background: #1c2541;
  transform: translateY(-2px);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 600px) {
  .popup-form .form-group {
    flex-direction: column;
  }
}


/* Countdown layout */
.countdown-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.countdown {
  display: flex;
  gap: 1rem;
}

.time-box {
  min-width: 70px;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  border: 1.5px solid var(--ink);
  text-align: center;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.time-box .num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}

.time-box .label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 860px) {
  .countdown-wrap {
    grid-template-columns: 1fr;
    
  }
  .workshop.countdown {
    grid-template-columns: 1fr;
    
  }

}
.social-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
}