/*
 * Indus Valley Tutoring — Global Stylesheet
 * indusvalleytutoring.com
 *
 * Typography:
 *   Headings  → Montserrat Bold
 *   Body      → Lato Regular / Bold
 * Colours:
 *   Deep Blue  → #1A3A6E
 *   Charcoal   → #333333
 */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Lato:ital,wght@0,400;0,700&display=swap');

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Colour & spacing tokens ── */
:root {
  --deep-blue:   #1A3A6E;
  --charcoal:    #333333;
  --white:       #ffffff;
  --band-light:  #F4F7FC;
  --nav-bg:      #1A3A6E;
  --nav-height:  58px;
  --hover-bg:    rgba(255, 255, 255, 0.15);
  --active-bg:   rgba(255, 255, 255, 0.25);
  --active-bar:  rgba(255, 255, 255, 0.90);
  --cred-bg:     #EEF3FB;
  --cred-border: #1A3A6E;
}

/* ── Base ── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ACCESSIBILITY — Skip link
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 9999;
  background: var(--deep-blue);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  top: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAVIGATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--nav-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Brand */
.nav-brand {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.2px;
}
.nav-brand-url {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.50);
  letter-spacing: 0.5px;
}

/* Nav list */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Every tab link */
.nav-list a {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 5px;
  border-bottom: 2px solid transparent;
  transition: background-color 0.18s ease,
              color 0.18s ease,
              border-bottom-color 0.18s ease;
  white-space: nowrap;
}

/* Mouseover highlight */
.nav-list a:hover {
  background-color: var(--hover-bg);
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

/* Current page tab */
.nav-list a[aria-current="page"] {
  background-color: var(--active-bg);
  color: var(--white);
  font-weight: 700;
  border-bottom-color: var(--active-bar);
}

/* Keyboard / screen-reader focus */
.nav-list a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

/* Mobile hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 5px;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.15s;
}
.nav-toggle:hover          { background-color: var(--hover-bg); }
.nav-toggle:focus-visible  { outline: 2px solid var(--white); outline-offset: 2px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO — Deep blue gradient over background image
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  background:
    linear-gradient(135deg, rgba(10, 80, 100, 0.88) 0%, rgba(15, 130, 145, 0.80) 100%),
    url('resource/images/homepage_header_bg.png') center / cover no-repeat;
  padding-top: 60px;
  padding-bottom: 40px;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 5vw, 48px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.3vw, 22px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION BANDS — alternating backgrounds
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.band-white {
  background: var(--white);
  padding: 40px 0 40px;
}

.band-light {
  background: var(--band-light);
  padding: 40px 0 72px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   OVERVIEW — Section layout
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ov-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Section heading — Montserrat Bold · 28px · Deep Blue · left-aligned */
.ov-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--deep-blue);
  text-align: left;
  margin-bottom: 20px;
}

/* Lead sentence — Lato Bold · 19px · Deep Blue · line-height 1.5 */
.ov-lead {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--deep-blue);
  line-height: 1.5;
  text-align: left;
  margin-bottom: 16px;
}

/* Body paragraph — Lato Regular · 16px · Charcoal · line-height 1.6 · max-width 800px */
.ov-body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.6;
  text-align: left;
  max-width: 800px;
}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   OVERVIEW — Credential lists with icons
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ov-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 800px;
}

.ov-list li {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.6;
  padding: 2px 0 2px 26px;
  position: relative;
}

/* Degree items — graduation cap icon */
.ov-list--degree li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231A3A6E' d='M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Faculty items — institution icon */
.ov-list--faculty li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231A3A6E' d='M4 10v7h3v-7H4zm6 0v7h3v-7h-3zM2 22h19v-3H2v3zm14-12v7h3v-7h-3zM11.5 1L2 6v2h19V6l-9.5-5z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Plain items — simple bullet dot */
.ov-list--plain li::before {
  content: '\2022';
  position: absolute;
  left: 6px;
  top: 2px;
  color: var(--deep-blue);
  font-size: 14px;
  line-height: 1.6;
}

/* Spaced variant has larger padding-top — re-align bullet */
.ov-list--plain.ov-list--spaced li::before {
  top: 6px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WHY CHOOSE US — Card grid
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 12px;
}

@media (min-width: 560px) {
  .why-grid--2col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 700px) {
  .why-grid--3col {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.content-link {
  color: var(--deep-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.content-link:hover { opacity: 0.75; }

.why-card {
  background: var(--white);
  border-radius: 10px;
  border-top: 4px solid var(--deep-blue);
  padding: 18px 22px 16px;
  box-shadow: 0 2px 16px rgba(26, 58, 110, 0.09);
  position: relative;
  overflow: hidden;
}

/* Large decorative number — purely visual */
.why-card-num {
  position: absolute;
  top: -6px;
  right: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 80px;
  line-height: 1;
  color: rgba(26, 58, 110, 0.06);
  pointer-events: none;
  user-select: none;
}

.why-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--deep-blue);
  margin-bottom: 10px;
  position: relative;
}

.why-card-body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.6;
  position: relative;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FADE-IN ON SCROLL — progressive enhancement
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.fade-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-ready.visible {
  opacity: 1;
  transform: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   EMPTY PAGES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-empty {
  min-height: 60vh;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER — Two-column layout
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer {
  background: var(--deep-blue);
  color: rgba(255, 255, 255, 0.60);
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  padding: 36px 28px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.2px;
}

.footer-tagline {
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  justify-content: flex-end;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  transition: color 0.15s, background-color 0.15s;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.10);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE — Tablet & Mobile
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 820px) {
  /* Show hamburger, hide tab list by default */
  .nav-toggle { display: block; }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--nav-bg);
    padding: 6px 0 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    z-index: 199;
  }
  .nav-list.is-open { display: flex; }

  .nav-list a {
    padding: 12px 24px;
    border-radius: 0;
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: 15px;
  }
  .nav-list a:hover {
    border-left-color: rgba(255, 255, 255, 0.60);
    border-bottom: none;
  }
  .nav-list a[aria-current="page"] {
    border-left-color: var(--white);
    border-bottom: none;
  }

  /* Hero */
  .hero          { padding-top: 44px; padding-bottom: 60px; }
  .hero-title    { font-size: 34px; }
  .hero-subtitle { font-size: 18px; }

  /* Bands & sections */
  .band-white,
  .band-light    { padding: 48px 0; }
  .ov-section    { padding: 0 20px; }
  .ov-heading    { font-size: 23px; }
  .ov-lead       { font-size: 17px; }

  /* Footer: stack on tablet */
  .footer-inner  { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-nav    { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .nav-inner     { padding: 0 16px; }
  .hero-title    { font-size: 28px; }
  .hero-subtitle { font-size: 17px; }

}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FAQ — Accordion
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.faq-list {
  margin: 20px 0 0;
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid #dde4f0;
}

.faq-item:first-child {
  border-top: 1px solid #dde4f0;
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--deep-blue);
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker               { display: none; }

.faq-num {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-blue);
  opacity: 0.50;
  min-width: 20px;
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--deep-blue);
  opacity: 0.55;
  transition: transform 0.2s ease;
  margin-left: auto;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 2px 0 20px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.7;
}

.faq-answer p + p {
  margin-top: 12px;
}

.faq-answer a {
  color: var(--deep-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  opacity: 0.75;
}

.faq-answer .ov-list--plain {
  margin-top: 8px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MODAL — Overlay, box, and forms
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: 10px;
  padding: 32px 36px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0 0 22px;
  padding-right: 28px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--charcoal);
  padding: 4px 8px;
  border-radius: 4px;
}

.modal-close:hover       { color: var(--deep-blue); }
.modal-close:focus       { outline: 2px solid var(--deep-blue); outline-offset: 2px; }

.modal-form .form-group-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--deep-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 22px 0 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid #dde4f0;
}

.modal-form .form-group-label:first-child {
  margin-top: 0;
}

.modal-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.modal-form label {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
}

.modal-form label .optional {
  font-weight: 400;
  color: #777;
  font-size: 13px;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid #c0c8d8;
  border-radius: 5px;
  padding: 9px 11px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
  outline: 2px solid var(--deep-blue);
  outline-offset: 1px;
  border-color: var(--deep-blue);
}

.modal-form textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-form .char-hint {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #888;
  text-align: right;
}

.modal-submit {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  background: var(--deep-blue);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.modal-submit:hover  { opacity: 0.88; }
.modal-submit:focus  { outline: 2px solid var(--deep-blue); outline-offset: 3px; }

.form-thanks {
  display: none;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.6;
  padding: 12px 0;
}

.form-thanks strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.modal-form .radio-group {
  display: flex;
  gap: 24px;
  padding: 4px 0;
}

.modal-form .radio-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 400;
  cursor: pointer;
}

.modal-form .radio-group input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--deep-blue);
}

@media (max-width: 480px) {
  .modal-box        { padding: 24px 18px; }
  .modal-title      { font-size: 18px; }
  .faq-answer       { padding-left: 20px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   COURSE CARDS — Courses listing page
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.course-card {
  background: var(--white);
  border-radius: 10px;
  border-top: 4px solid var(--deep-blue);
  padding: 22px 24px 20px;
  box-shadow: 0 2px 16px rgba(26, 58, 110, 0.09);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-card-grade {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--deep-blue);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.70;
}

.course-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--deep-blue);
  margin: 0;
}

.course-card-body {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.course-card-link {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--deep-blue);
  text-decoration: none;
  margin-top: 4px;
  transition: opacity 0.15s;
}

.course-card-link:hover { opacity: 0.70; }
.course-card-link:focus { outline: 2px solid var(--deep-blue); outline-offset: 2px; border-radius: 2px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BOOK CARDS — Course detail pages
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.book-card {
  background: var(--cred-bg);
  border-left: 4px solid var(--cred-border);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin-bottom: 16px;
}

.book-card-title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--deep-blue);
  margin-bottom: 8px;
  line-height: 1.4;
}

.book-card-meta {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 12px;
}

.book-buy-link {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--deep-blue);
  text-decoration: none;
  border: 1.5px solid var(--deep-blue);
  border-radius: 5px;
  padding: 5px 14px;
  transition: background-color 0.15s, color 0.15s;
}

.book-buy-link:hover { background-color: var(--deep-blue); color: var(--white); }
.book-buy-link:focus { outline: 2px solid var(--deep-blue); outline-offset: 2px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION SUB-HEADING — h3 within content sections
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-subheading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--deep-blue);
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 3px solid var(--deep-blue);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BOOKS LABEL — Required / Optional badge
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.books-section-label {
  display: inline-block;
  background: var(--deep-blue);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SPACED LIST — more breathing room between items
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ov-list--spaced li {
  padding-top: 6px;
  padding-bottom: 6px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SCHEDULE TABLE — Course detail pages
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.schedule-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 28px;
  margin: 20px 0 0;
  max-width: 700px;
  background: var(--cred-bg);
  border-radius: 10px;
  padding: 24px 28px;
}

.schedule-label {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--deep-blue);
  padding: 3px 0;
  white-space: nowrap;
}

.schedule-value {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.6;
  padding: 3px 0;
}

.batch-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.batch-list li {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.6;
  padding: 2px 0 2px 18px;
  position: relative;
}

.batch-list li::before {
  content: '\2022';
  position: absolute;
  left: 4px;
  color: var(--deep-blue);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA — Course detail call-to-action
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cta-wrap {
  margin-top: 28px;
}

.cta-btn {
  display: inline-block;
  background: var(--deep-blue);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.cta-btn:hover { opacity: 0.85; }
.cta-btn:focus { outline: 2px solid var(--deep-blue); outline-offset: 3px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PRINT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle    { display: none; }
  .hero          { background: none; padding-top: 20px; }
  .hero-title    { color: #000; }
  .hero-subtitle { color: #333; }
  body           { background: #fff; color: #000; }
}
