/* ================================================================
   Schedule Training HUB — Site Stylesheet
   scheduletraininghub.com
   ================================================================ */

:root {
  --orange:   #FF7A59;
  --navy:     #2D3E50;
  --teal:     #00A38D;
  --slate:    #334E68;
  --offwhite: #F5F8FA;
  --white:    #FFFFFF;
  --grey-lt:  #EEF1F4;
  --grey-md:  #B0BEC5;
  --radius:   8px;
  --shadow:   0 2px 16px rgba(45,62,80,.10);
  --maxw:     1140px;
  --ease:     .22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--offwhite);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--navy); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ───────────────────────────────────────────────────── */
.container  { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section--alt  { background: var(--offwhite); }
.section--white { background: var(--white); }
.section--dark { background: var(--navy); }
.section--teal { background: var(--teal); }
.text-center { text-align: center; }

/* ── Typography ───────────────────────────────────────────────── */
h1 { font-size: clamp(28px,5vw,48px); font-weight: 700; color: var(--navy); line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: clamp(22px,4vw,36px); font-weight: 700; color: var(--navy); margin-bottom: 16px; }
h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
h4 { font-size: 16px; font-weight: 700; color: var(--orange); margin-bottom: 8px; }
h5 { font-size: 14px; font-weight: 700; color: var(--navy); }
.lead   { font-size: 18px; line-height: 1.65; }
.subheading {
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
  display: block;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark p,
.section--dark li { color: var(--white); }
.section--teal h2,
.section--teal p  { color: var(--white); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 700;
  line-height: 1; cursor: pointer;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .15s, box-shadow .15s, background var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.btn--primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn--primary:hover { background: #e86744; color: var(--white); border-color: #e86744; }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: #1e2d3d; color: var(--white); }
.btn--teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn--teal:hover { background: #008070; color: var(--white); }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-full   { width: 100%; text-align: center; }

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.20);
}
.nav__inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.nav__logo-text {
  font-size: 19px; font-weight: 700;
  color: var(--white); letter-spacing: -.02em;
  text-decoration: none;
}
.nav__logo-text span { color: var(--orange); }
.nav__links {
  display: flex; align-items: center;
  gap: 4px; list-style: none;
}
.nav__links a {
  color: rgba(255,255,255,.85);
  font-size: 14px; font-weight: 600;
  padding: 6px 12px; border-radius: 4px;
  transition: background var(--ease), color var(--ease);
  text-decoration: none;
}
.nav__links a:hover,
.nav__links a.active { background: rgba(255,255,255,.1); color: var(--white); }
.nav__hamburger {
  display: none; background: none;
  border: none; cursor: pointer; padding: 4px;
}
.nav__hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0; border-radius: 2px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2a38 60%, #0d1e2c 100%);
  padding: 88px 0 72px; color: var(--white); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(255,122,89,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.hero h1 { color: var(--white); }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero__lead { font-size: 18px; color: rgba(255,255,255,.82); margin-bottom: 36px; line-height: 1.6; }
.hero__badge {
  display: inline-block;
  background: rgba(255,122,89,.18); color: var(--orange);
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid rgba(255,122,89,.35); margin-bottom: 20px;
}

/* ── Glance card ─────────────────────────────────────────────── */
.glance-card {
  background: var(--white); border: 1px solid var(--grey-lt);
  border-radius: 12px; padding: 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 20px;
}
.glance-card__title { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.glance-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.glance-stat {
  text-align: center; padding: 14px 10px;
  background: var(--offwhite); border-radius: var(--radius);
}
.glance-stat__num { font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1; }
.glance-stat__num--orange { color: var(--orange); }
.glance-stat__num--teal   { color: var(--teal); }
.glance-stat__lbl { font-size: 12px; color: var(--slate); margin-top: 4px; }

/* ── Trust strip ──────────────────────────────────────────────── */
.trust { background: var(--teal); padding: 16px 0; }
.trust__inner {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 28px;
}
.trust__item {
  display: flex; align-items: center;
  gap: 8px; color: var(--white);
  font-size: 13px; font-weight: 600;
}

/* ── Content cards ────────────────────────────────────────────── */
.card-grid-3 {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 22px; margin-top: 40px;
}
.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.card {
  background: var(--white); border: 1px solid var(--grey-lt);
  border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(45,62,80,.14); }
.card__icon { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p  { font-size: 14px; color: var(--slate); margin: 0; line-height: 1.55; }

/* ── Course card ─────────────────────────────────────────────── */
.course-card {
  max-width: 540px; margin: 40px auto 0;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 4px 24px rgba(45,62,80,.12);
  overflow: hidden;
}
.course-card__header {
  background: var(--orange); padding: 24px 28px;
}
.course-card__badge {
  display: inline-block;
  background: rgba(255,255,255,.22); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}
.course-card__title { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.course-card__sub   { font-size: 14px; color: rgba(255,255,255,.78); }
.course-card__body  { padding: 28px; }
.course-card__price { font-size: 34px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.course-card__note  { font-size: 13px; color: var(--grey-md); margin-bottom: 20px; }
.feature-list { list-style: none; margin-bottom: 24px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 14px; color: var(--slate);
  border-bottom: 1px solid var(--grey-lt);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ── Donate notice ────────────────────────────────────────────── */
.donate-notice {
  background: linear-gradient(90deg, #1a2a38 0%, var(--navy) 100%);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,.9); font-size: 14px;
}
.donate-notice__icon { font-size: 22px; flex-shrink: 0; }

/* PayPal donate button */
.paypal-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; width: 100%; padding: 14px 24px;
  background: #0070BA; color: var(--white);
  border: none; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; font-family: Arial, Helvetica, sans-serif;
  cursor: pointer; text-decoration: none;
  transition: background var(--ease);
}
.paypal-btn:hover { background: #005EA6; color: var(--white); transform: none; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq__list { margin-top: 40px; }
.faq__item { border-bottom: 1px solid var(--grey-lt); }
.faq__question {
  width: 100%; background: none; border: none;
  text-align: left; padding: 18px 0;
  font-size: 16px; font-weight: 700; color: var(--navy);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; font-family: Arial, Helvetica, sans-serif;
}
.faq__question:hover { color: var(--orange); }
.faq__chevron { font-size: 18px; color: var(--orange); flex-shrink: 0; transition: transform .25s; }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__answer p { font-size: 15px; color: var(--slate); padding-bottom: 18px; }
.faq__item.open .faq__answer { max-height: 400px; }
.faq__item.open .faq__chevron { transform: rotate(180deg); }

/* ── eBook CTA ────────────────────────────────────────────────── */
.ebook-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2a38 100%);
  padding: 64px 0;
}
.ebook-section__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.ebook-section h2 { color: var(--white); margin-bottom: 12px; }
.ebook-section p  { color: rgba(255,255,255,.80); font-size: 16px; }
.ebook-mockup {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px; padding: 36px 28px; text-align: center;
  color: rgba(255,255,255,.7); font-size: 14px;
}
.ebook-mockup strong { color: var(--white); display: block; margin: 10px 0 4px; }

/* ── Blog listing ─────────────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.post-card {
  background: var(--white); border: 1px solid var(--grey-lt);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease);
}
.post-card:hover { box-shadow: 0 8px 24px rgba(45,62,80,.15); transform: translateY(-3px); }
.post-card__img { aspect-ratio: 16/9; background: var(--grey-lt); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__img--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.post-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-card__date { font-size: 12px; color: var(--grey-md); margin-bottom: 8px; }
.post-card__title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__title a:hover { color: var(--orange); }
.post-card__excerpt { font-size: 14px; color: var(--slate); flex: 1; line-height: 1.55; }
.post-card__read { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--orange); }
.post-card__read:hover { color: var(--navy); }

/* ── Single post ─────────────────────────────────────────────── */
.post-header { background: var(--navy); padding: 56px 0 40px; }
.post-header h1 { color: var(--white); font-size: clamp(24px,4vw,40px); }
.post-meta { color: rgba(255,255,255,.65); font-size: 14px; margin-top: 12px; }
.post-body { background: var(--white); }
.post-content {
  max-width: 760px; margin: 0 auto;
  padding: 48px 24px 64px;
}
.post-content h2,
.post-content h3 { color: var(--navy); margin: 32px 0 12px; }
.post-content h2 { font-size: 26px; }
.post-content h3 { font-size: 20px; }
.post-content p  { line-height: 1.7; margin-bottom: 18px; }
.post-content ul,
.post-content ol { padding-left: 28px; margin-bottom: 18px; }
.post-content li { margin-bottom: 8px; line-height: 1.65; }
.post-content a  { color: var(--orange); }
.post-content a:hover { color: var(--navy); }
.post-content img { border-radius: var(--radius); margin: 24px 0; max-width: 100%; }
.post-content figure { margin: 24px 0; }
.post-content strong { color: var(--navy); }
.post-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 12px 20px; background: var(--offwhite);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0; font-style: italic; color: var(--slate);
}

/* ── Course pages ─────────────────────────────────────────────── */
.course-nav {
  background: var(--white); border: 1px solid var(--grey-lt);
  border-radius: var(--radius); padding: 24px; margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.course-nav h4 { margin-bottom: 16px; color: var(--navy); }
.module-list { list-style: none; }
.module-list > li { margin-bottom: 8px; }
.module-list > li > a {
  font-weight: 700; color: var(--navy); font-size: 14px;
  display: block; padding: 6px 0;
}
.module-list > li > a:hover { color: var(--orange); }
.step-list { list-style: none; padding-left: 16px; margin-top: 6px; }
.step-list li { margin-bottom: 4px; }
.step-list a { font-size: 13px; color: var(--slate); padding: 3px 0; display: block; }
.step-list a:hover { color: var(--orange); }
.step-list a.current { color: var(--orange); font-weight: 700; }
.lesson-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.lesson-content h2 { margin: 28px 0 12px; }
.lesson-content p  { line-height: 1.7; margin-bottom: 16px; }
.lesson-content ul,
.lesson-content ol { padding-left: 28px; margin-bottom: 16px; }
.lesson-content li { margin-bottom: 8px; }
.lesson-nav-btns { display: flex; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--grey-lt); }

/* ── Footer ───────────────────────────────────────────────────── */
footer { background: var(--navy); padding: 48px 0 24px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer__brand span { color: var(--orange); }
.footer__desc { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer__col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white); margin-bottom: 14px;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 9px; }
.footer__links a { color: rgba(255,255,255,.6); font-size: 14px; text-decoration: none; }
.footer__links a:hover { color: var(--orange); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; font-size: 13px; flex-wrap: wrap; gap: 8px;
  color: rgba(255,255,255,.45);
}
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { color: rgba(255,255,255,.45); font-size: 13px; text-decoration: none; }
.footer__legal a:hover { color: var(--orange); }

/* ── Breadcrumb ───────────────────────────────────────────────── */
.breadcrumb {
  background: var(--offwhite); padding: 12px 0;
  border-bottom: 1px solid var(--grey-lt);
  font-size: 13px; color: var(--grey-md);
}
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 6px; }

/* ── Intro two-col ───────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col--3-2 { grid-template-columns: 3fr 2fr; }
.checklist { list-style: none; margin-top: 20px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--grey-lt);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner    { grid-template-columns: 1fr; }
  .two-col        { grid-template-columns: 1fr; gap: 28px; }
  .two-col--3-2   { grid-template-columns: 1fr; }
  .card-grid-3    { grid-template-columns: 1fr 1fr; }
  .post-grid      { grid-template-columns: 1fr 1fr; }
  .footer__grid   { grid-template-columns: 1fr 1fr; }
  .lesson-layout  { grid-template-columns: 1fr; }
  .ebook-section__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section        { padding: 48px 0; }
  .card-grid-3    { grid-template-columns: 1fr; }
  .card-grid-2    { grid-template-columns: 1fr; }
  .post-grid      { grid-template-columns: 1fr; }
  .footer__grid   { grid-template-columns: 1fr; }
  .nav__links     { display: none; }
  .nav__hamburger { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy); padding: 16px; gap: 4px; z-index: 99;
  }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; text-align: center; }
}
