.elementor-12628 .elementor-element.elementor-element-fa8021a{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-04c500f *//* ============================================================
   ONTARIO CURRICULUM ONLINE TUITION — STYLESHEET
   PDOTuitionServices.com

   Design concept: "Curriculum Record"
   Ontario's own curriculum documents are organised into
   lettered/numbered strands (A, B, C, D) with a restrained
   provincial palette. This sheet borrows that structural
   language — a coded left-rail on every card, a document-paper
   background, and the white trillium (Ontario's official
   flower) as a single quiet motif.

   ADJUSTED FOR CURRENT MARKUP
   - Class names updated throughout: curriculum-structure,
     curriculum-levels, curriculum-subjects, curriculum-
     distinctive, tuition-approach, online-tuition-benefits,
     schoolwork-support, assessment-evaluation, elementary-
     secondary, student-support, why-pdo, tuition-process,
     tuition-faq, final-cta.
   - There's no standalone "introduction" or "get-started"
     section in this version of the page, so their design
     ideas were folded elsewhere rather than dropped: the
     drop-cap / raised-note "document flourish" now lives on
     the hero's own paragraphs, and the dark ink CTA treatment
     now belongs to the final-cta section (two buttons).
   - FAQ markup changed from <details>/<summary> to
     <button aria-expanded>/<div>, so that whole block was
     rewritten — record numbering and strand colour survive,
     the custom plus/minus marker logic doesn't (JS already
     swaps the glyph), and :has() drives the open-state card
     styling since aria-expanded lives on a descendant.
   - Strand-colour cycling refactored onto one --accent custom
     property set by nth-child, so the same four rules now
     drive every grid, including the 16-item subject grid,
     instead of being re-declared per card family.

   Palette
   --paper        #F6F3EA  document paper background
   --ink          #1E2A3D  primary text / headings
   --ink-soft     #55627A  secondary text
   --burgundy     #832232  primary accent (strand A)
   --burgundy-deep#5E1B27  hover / pressed state
   --teal         #2F5D62  secondary accent (strand B)
   --gold         #B08A34  tertiary accent (strand C)
   --slate        #3F5170  quaternary accent (strand D)
   --line         #DDD5C2  hairline borders on paper
   --white        #FFFFFF  card surface
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,500&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --paper: #f6f3ea;
  --paper-deep: #efe9da;
  --ink: #1e2a3d;
  --ink-soft: #55627a;
  --burgundy: #832232;
  --burgundy-deep: #5e1b27;
  --teal: #2f5d62;
  --gold: #b08a34;
  --slate: #3f5170;
  --line: #ddd5c2;
  --line-strong: #c9bfa4;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(30, 42, 61, 0.06);
  --shadow-md: 0 12px 28px -14px rgba(30, 42, 61, 0.28);
  --shadow-lg: 0 22px 44px -18px rgba(30, 42, 61, 0.34);
  --radius-sm: 4px;
  --radius-md: 8px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

section { padding: 88px 24px; position: relative; }
.container { max-width: 1140px; margin: 0 auto; }

::selection { background: var(--burgundy); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   SHARED: SECTION HEADINGS
   Covers both the wrapped .section-heading pattern used by
   most sections, and the two sections (assessment-evaluation,
   elementary-secondary) that place a bare <h2> + <p class=
   "section-intro"> straight in .container without that wrapper.
   ============================================================ */

.section-heading,
.ontario-assessment-evaluation > .container > .section-intro,
.ontario-elementary-secondary > .container > .section-intro {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.ontario-assessment-evaluation > .container > h2,
.ontario-elementary-secondary > .container > h2 {
  display: block;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 0.4em;
}

.section-heading h2,
.ontario-assessment-evaluation > .container > h2,
.ontario-elementary-secondary > .container > h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.section-heading h2::after,
.ontario-assessment-evaluation > .container > h2::after,
.ontario-elementary-secondary > .container > h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  border-radius: 2px;
}

.section-heading p,
.section-intro {
  margin: 12px auto 0;
  font-size: 1.03rem;
}

/* Alternate paper tone for every other content band, giving the
   page quiet rhythm without borrowed shadow-card SaaS styling */
.ontario-curriculum-structure,
.ontario-curriculum-subjects,
.ontario-tuition-approach,
.ontario-schoolwork-support,
.ontario-elementary-secondary,
.ontario-why-pdo,
.ontario-tuition-faq {
  background: var(--paper-deep);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    background-color 0.28s var(--ease), border-color 0.28s var(--ease), color 0.28s var(--ease);
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.35s var(--ease);
  /* Negative z-index keeps this sweep beneath the button's own
     in-flow text — an absolutely-positioned pseudo-element with
     z-index:auto/0 paints AFTER inline text in stacking order,
     which is what blanks the label out on hover otherwise. */
  z-index: -1;
}

.btn-primary:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover::before { transform: translateX(0); }

.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
  border-color: var(--ink);
}

.btn-secondary:active { transform: translateY(0); }

@media (max-width: 640px) {
  .hero-actions,
  .final-cta-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* ============================================================
   HERO
   Carries the "document flourish" that the old standalone
   introduction section used to hold: a drop cap on the first
   paragraph and a raised margin-note treatment on the last,
   since this page folds all three lede paragraphs into the
   hero rather than giving them their own section.
   ============================================================ */

.ontario-curriculum-hero {
  padding: 132px 24px 108px;
  background:
    radial-gradient(ellipse 620px 420px at 88% -8%, rgba(131, 34, 50, 0.07), transparent 60%),
    var(--paper);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.ontario-curriculum-hero::before {
  /* a quiet three-petal trillium silhouette, Ontario's provincial
     flower, standing in for the maple-leaf cliché */
  content: "";
  position: absolute;
  top: 50%;
  right: -60px;
  width: 360px;
  height: 360px;
  transform: translateY(-50%) rotate(8deg);
  background:
    radial-gradient(circle at 50% 22%, var(--burgundy) 0 15%, transparent 16%),
    radial-gradient(circle at 26% 62%, var(--teal) 0 15%, transparent 16%),
    radial-gradient(circle at 74% 62%, var(--gold) 0 15%, transparent 16%);
  opacity: 0.09;
  filter: blur(0.3px);
  pointer-events: none;
}

.hero-content { max-width: 700px; position: relative; }

.ontario-curriculum-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); max-width: 16ch; }

/* the h1's immediate h2 sibling reads as a lede line rather
   than a second section heading */
.ontario-curriculum-hero h1 + h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--teal);
  margin-bottom: 22px;
  transition: color 0.3s var(--ease);
}

.hero-content p { font-size: 1.05rem; max-width: 58ch; }

/* Drop cap on the opening paragraph */
.hero-content p:nth-of-type(1)::first-letter {
  font-family: 'Newsreader', serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--burgundy);
  float: left;
  line-height: 0.8;
  padding-right: 10px;
  padding-top: 6px;
  transition: color 0.3s var(--ease);
}

.hero-content p:nth-of-type(1):hover::first-letter { color: var(--teal); }

/* Closing paragraph raised into a margin note */
.hero-content p:nth-of-type(3) {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  max-width: 58ch;
  transition: border-left-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.hero-content p:nth-of-type(3):hover {
  border-left-color: var(--burgundy);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0; }

.hero-support {
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
  max-width: 50ch;
  margin: 0;
}

@media (max-width: 640px) {
  .ontario-curriculum-hero { padding: 96px 20px 72px; }
  .ontario-curriculum-hero::before { display: none; }
  .hero-content p:nth-of-type(1)::first-letter { float: none; font-size: inherit; color: inherit; padding: 0; }
}

/* ============================================================
   CARD SYSTEM — shared across every grid section

   Every card family shares the same structural language: a
   strand-colour rail on the left edge that widens on hover,
   echoing how Ontario curriculum documents colour-code their
   four strands (A/B/C/D). Colour now comes from one --accent
   variable set per-card by nth-child, so the same handful of
   rules drives all nine grids below — including the 16-item
   subject grid — instead of naming every card family for
   every strand position.
   ============================================================ */

.curriculum-structure-grid,
.curriculum-levels-grid,
.curriculum-subjects-grid,
.curriculum-distinctive-grid,
.tuition-approach-grid,
.online-tuition-benefits-grid,
.assessment-content,
.student-support-grid,
.why-pdo-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.curriculum-subjects-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }

.curriculum-structure-card,
.curriculum-level-card,
.curriculum-subject-card,
.curriculum-distinctive-card,
.tuition-approach-card,
.online-tuition-benefit-card,
.assessment-card,
.student-support-card,
.why-pdo-feature {
  --accent: var(--burgundy);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.curriculum-subject-card { padding: 26px 24px; }

/* strand cycle: 1st burgundy (default above), 2nd teal, 3rd gold, 4th slate, repeats */
.curriculum-structure-card:nth-child(4n+2),
.curriculum-level-card:nth-child(4n+2),
.curriculum-subject-card:nth-child(4n+2),
.curriculum-distinctive-card:nth-child(4n+2),
.tuition-approach-card:nth-child(4n+2),
.online-tuition-benefit-card:nth-child(4n+2),
.assessment-card:nth-child(4n+2),
.student-support-card:nth-child(4n+2),
.why-pdo-feature:nth-child(4n+2) { --accent: var(--teal); }

.curriculum-structure-card:nth-child(4n+3),
.curriculum-level-card:nth-child(4n+3),
.curriculum-subject-card:nth-child(4n+3),
.curriculum-distinctive-card:nth-child(4n+3),
.tuition-approach-card:nth-child(4n+3),
.online-tuition-benefit-card:nth-child(4n+3),
.assessment-card:nth-child(4n+3),
.student-support-card:nth-child(4n+3),
.why-pdo-feature:nth-child(4n+3) { --accent: var(--gold); }

.curriculum-structure-card:nth-child(4n+4),
.curriculum-level-card:nth-child(4n+4),
.curriculum-subject-card:nth-child(4n+4),
.curriculum-distinctive-card:nth-child(4n+4),
.tuition-approach-card:nth-child(4n+4),
.online-tuition-benefit-card:nth-child(4n+4),
.assessment-card:nth-child(4n+4),
.student-support-card:nth-child(4n+4),
.why-pdo-feature:nth-child(4n+4) { --accent: var(--slate); }

.curriculum-structure-card:hover,
.curriculum-level-card:hover,
.curriculum-subject-card:hover,
.curriculum-distinctive-card:hover,
.tuition-approach-card:hover,
.online-tuition-benefit-card:hover,
.assessment-card:hover,
.student-support-card:hover,
.why-pdo-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-left-width: 7px;
}

.curriculum-structure-card h3,
.curriculum-level-card h3,
.curriculum-subject-card h3,
.curriculum-distinctive-card h3,
.tuition-approach-card h3,
.online-tuition-benefit-card h3,
.assessment-card h3,
.student-support-card h3,
.why-pdo-feature h3 {
  font-size: 1.16rem;
  margin-bottom: 0.45em;
  transition: color 0.25s var(--ease);
}

.curriculum-subject-card h3 { font-size: 1.05rem; }

.curriculum-structure-card:hover h3,
.curriculum-level-card:hover h3,
.curriculum-subject-card:hover h3,
.curriculum-distinctive-card:hover h3,
.tuition-approach-card:hover h3,
.online-tuition-benefit-card:hover h3,
.assessment-card:hover h3,
.student-support-card:hover h3,
.why-pdo-feature:hover h3 {
  color: var(--accent);
}

.curriculum-structure-card p,
.curriculum-level-card p,
.curriculum-subject-card p,
.curriculum-distinctive-card p,
.tuition-approach-card p,
.online-tuition-benefit-card p,
.assessment-card p,
.student-support-card p,
.why-pdo-feature p {
  font-size: 0.96rem;
  max-width: none;
  margin-bottom: 0;
}

.curriculum-subject-card p { font-size: 0.9rem; }

/* Micro-hover: heading underline sweeps in, colour-matched via --accent */
.curriculum-structure-card h3::after,
.curriculum-level-card h3::after,
.curriculum-subject-card h3::after,
.curriculum-distinctive-card h3::after,
.tuition-approach-card h3::after,
.online-tuition-benefit-card h3::after,
.assessment-card h3::after,
.student-support-card h3::after,
.why-pdo-feature h3::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  margin-top: 6px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.curriculum-structure-card:hover h3::after,
.curriculum-level-card:hover h3::after,
.curriculum-subject-card:hover h3::after,
.curriculum-distinctive-card:hover h3::after,
.tuition-approach-card:hover h3::after,
.online-tuition-benefit-card:hover h3::after,
.assessment-card:hover h3::after,
.student-support-card:hover h3::after,
.why-pdo-feature:hover h3::after {
  width: 32px;
}

@media (prefers-reduced-motion: reduce) {
  .curriculum-structure-card, .curriculum-level-card, .curriculum-subject-card,
  .curriculum-distinctive-card, .tuition-approach-card, .online-tuition-benefit-card,
  .assessment-card, .student-support-card, .why-pdo-feature { transition: none; }
}

/* ============================================================
   CURRICULUM STRUCTURE — numbered corner mark (real document
   order, not decoration) to distinguish it from the plain
   levels grid directly beneath it
   ============================================================ */

.ontario-curriculum-structure { counter-reset: strand; }

.curriculum-structure-card { counter-increment: strand; }

.curriculum-structure-card::after {
  content: counter(strand, upper-alpha);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  opacity: 0.45;
  transition: opacity 0.25s var(--ease);
}

.curriculum-structure-card:hover::after { opacity: 0.9; }

/* ============================================================
   TUITION APPROACH — sequenced steps, numbered by real order
   ============================================================ */

.ontario-tuition-approach { counter-reset: approach; }

.tuition-approach-card { counter-increment: approach; }

.tuition-approach-card::after {
  content: counter(approach, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  opacity: 0.45;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.tuition-approach-card:hover::after { opacity: 0.9; transform: scale(1.1); }

/* ============================================================
   SCHOOLWORK SUPPORT — split layout: intro copy beside a
   coded list of touchpoints
   ============================================================ */

.schoolwork-support-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}

.schoolwork-support-intro h3 { font-size: 1.2rem; }
.schoolwork-support-intro p { font-size: 1.02rem; }

.schoolwork-support-list { display: grid; gap: 14px; }

.schoolwork-support-item {
  --accent: var(--burgundy);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-left-width 0.28s var(--ease);
}

.schoolwork-support-item:nth-child(2) { --accent: var(--teal); }
.schoolwork-support-item:nth-child(3) { --accent: var(--gold); }
.schoolwork-support-item:nth-child(4) { --accent: var(--slate); }

.schoolwork-support-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-left-width: 6px;
}

.schoolwork-support-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35em;
  transition: color 0.2s var(--ease);
}

.schoolwork-support-item:hover h3 { color: var(--accent); }
.schoolwork-support-item p { font-size: 0.93rem; margin: 0; max-width: none; }

@media (max-width: 860px) {
  .schoolwork-support-content { grid-template-columns: 1fr; }
}

/* ============================================================
   ASSESSMENT & EVALUATION — reuses the shared card system for
   .assessment-content / .assessment-card; adds a highlighted
   closing note in the same "raised margin note" language as
   the hero's closing paragraph
   ============================================================ */

.assessment-note {
  max-width: 780px;
  margin: 40px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  text-align: center;
  transition: border-left-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.assessment-note:hover { border-left-color: var(--burgundy); box-shadow: var(--shadow-sm); }
.assessment-note p { margin: 0; max-width: none; }
.assessment-note strong { color: var(--burgundy); }

/* ============================================================
   ELEMENTARY VS SECONDARY — two-tone comparison, teal vs
   burgundy, each with its own checklist
   ============================================================ */

.education-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.education-stage-card {
  --accent: var(--teal);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.education-stage-grid .education-stage-card:nth-child(2) { --accent: var(--burgundy); }

.education-stage-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.education-stage-card h3 { font-size: 1.2rem; transition: color 0.25s var(--ease); }
.education-stage-card:hover h3 { color: var(--accent); }
.education-stage-card p { max-width: none; }

.education-stage-card ul { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); display: grid; gap: 8px; }

.education-stage-card li {
  position: relative;
  padding: 2px 0 2px 22px;
  font-size: 0.92rem;
  color: var(--ink);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.education-stage-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.education-stage-card li:hover { transform: translateX(4px); color: var(--accent); }
.education-stage-card li:hover::before { opacity: 1; transform: scale(1.3); }

.education-stage-note {
  max-width: 780px;
  margin: 36px auto 0;
  text-align: center;
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.education-stage-note p { margin: 0; max-width: none; }
.education-stage-note strong { color: var(--ink); }

@media (max-width: 760px) {
  .education-stage-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TUITION PROCESS — vertical stepper with a connecting rule,
   strand colour cycling through the 5 steps
   ============================================================ */

.tuition-process {
  max-width: 760px;
  margin: 8px auto 0;
  position: relative;
}

.tuition-process::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: repeating-linear-gradient(var(--line-strong) 0 6px, transparent 6px 12px);
}

.tuition-process-step {
  --accent: var(--burgundy);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  position: relative;
  padding-bottom: 34px;
}

.tuition-process-step:nth-child(2) { --accent: var(--teal); }
.tuition-process-step:nth-child(3) { --accent: var(--gold); }
.tuition-process-step:nth-child(4) { --accent: var(--slate); }
.tuition-process-step:nth-child(5) { --accent: var(--burgundy); }
.tuition-process-step:last-child { padding-bottom: 0; }

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.tuition-process-step:hover .process-number {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.08);
}

.process-content { padding-top: 6px; }
.process-content h3 { font-size: 1.1rem; margin-bottom: 0.35em; transition: color 0.25s var(--ease); }
.tuition-process-step:hover .process-content h3 { color: var(--accent); }
.process-content p { max-width: none; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .tuition-process-step:hover .process-number { transform: none; }
}

/* ============================================================
   FAQ — coded record cards, rewritten for the button /
   aria-expanded markup this page actually uses (no <details>).
   Ghost record number and strand rail carry over from the
   original concept; the open state is driven by :has() since
   aria-expanded lives on the button, not the wrapping .faq-item.
   ============================================================ */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  counter-reset: faq-record;
  display: grid;
  gap: 10px;
}

.faq-item {
  --accent: var(--burgundy);
  counter-increment: faq-record;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 0 28px 0 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.3s var(--ease),
    border-left-width 0.25s var(--ease), background 0.3s var(--ease);
}

.faq-item:nth-child(4n+2) { --accent: var(--teal); }
.faq-item:nth-child(4n+3) { --accent: var(--gold); }
.faq-item:nth-child(4n+4) { --accent: var(--slate); }

.faq-item:hover { box-shadow: var(--shadow-sm); border-left-width: 6px; }

.faq-item:has(.faq-question[aria-expanded="true"]) {
  box-shadow: var(--shadow-md);
  border-left-width: 6px;
  background: var(--paper-deep);
}

/* Ghost record number */
.faq-item::before {
  content: counter(faq-record, decimal-leading-zero);
  position: absolute;
  right: 22px;
  top: 26px;
  font-family: 'Newsreader', serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.05;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.faq-item:hover::before,
.faq-item:has(.faq-question[aria-expanded="true"])::before { opacity: 0.09; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  text-align: left;
  position: relative;
  z-index: 1;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.faq-item:hover .faq-question,
.faq-question[aria-expanded="true"] {
  color: var(--accent);
  padding-left: 6px;
}

.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.3s var(--ease);
}

.faq-question:hover .faq-icon { transform: rotate(90deg); }

.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--accent);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  /* The page's JS only sets style.display on click — it never
     hides answers on load — so the closed state has to be the
     CSS default or every FAQ renders open until first click. */
  display: none;
  padding: 0 0 22px;
  position: relative;
  z-index: 1;
}

.faq-answer p {
  max-width: none;
  margin: 0;
  font-size: 0.97rem;
  border-top: 1px dashed var(--line-strong);
  padding-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-question:hover .faq-icon,
  .faq-question[aria-expanded="true"] .faq-icon { transition: none; transform: none; }
}

/* ============================================================
   FINAL CTA — carries the dark, high-contrast close that the
   old "get-started" section used to hold; now built for two
   buttons and two paragraphs rather than one of each.
   ============================================================ */

.ontario-final-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 24px;
}

.final-cta-content { max-width: 660px; margin: 0 auto; text-align: center; }

.ontario-final-cta h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
  margin-bottom: 0.5em;
}

.ontario-final-cta h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--white));
  border-radius: 2px;
}

.ontario-final-cta p { color: rgba(246, 243, 234, 0.78); max-width: 56ch; margin-left: auto; margin-right: auto; }

.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

.ontario-final-cta .btn-primary { background: var(--gold); }
.ontario-final-cta .btn-primary::before { background: var(--white); }
.ontario-final-cta .btn-primary:hover { color: var(--ink); }

.ontario-final-cta .btn-secondary { color: var(--paper); border-color: rgba(246, 243, 234, 0.5); }
.ontario-final-cta .btn-secondary:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .curriculum-structure-grid,
  .curriculum-levels-grid,
  .curriculum-distinctive-grid,
  .tuition-approach-grid,
  .online-tuition-benefits-grid,
  .assessment-content,
  .student-support-grid,
  .why-pdo-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .curriculum-subjects-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .curriculum-subjects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  section { padding: 64px 20px; }

  .curriculum-structure-grid,
  .curriculum-levels-grid,
  .curriculum-subjects-grid,
  .curriculum-distinctive-grid,
  .tuition-approach-grid,
  .online-tuition-benefits-grid,
  .assessment-content,
  .student-support-grid,
  .why-pdo-content {
    grid-template-columns: 1fr;
  }

  .faq-question { font-size: 0.97rem; }
}


/* ==========================================
   ONTARIO CURRICULUM SUBJECTS
=========================================== */

.ontario-curriculum-subjects {
  padding: 80px 20px;
  background: #f7f9fc;
}

.ontario-curriculum-subjects .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Heading */

.ontario-curriculum-subjects .section-heading {
  max-width: 850px;
  margin: 0 auto 50px;
  text-align: center;
}

.ontario-curriculum-subjects .section-heading h2 {
  margin: 0 0 18px;
  color: #123b6d;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
}

.ontario-curriculum-subjects .section-heading p {
  margin: 0;
  color: #5f6b7a;
  font-size: 17px;
  line-height: 1.75;
}

/* Subject Grid */

.curriculum-subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Subject Card */

.curriculum-subject-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 26px;
  background: #ffffff;
  border: 1px solid #e3e9f1;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(20, 55, 90, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.curriculum-subject-card:hover {
  transform: translateY(-5px);
  border-color: #b9d2f3;
  box-shadow: 0 14px 32px rgba(20, 55, 90, 0.11);
}

/* Subject Title */

.curriculum-subject-card h3 {
  margin: 0 0 14px;
  color: #123b6d;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 700;
}

/* Subject Description */

.curriculum-subject-card p {
  margin: 0;
  color: #5f6b7a;
  font-size: 15.5px;
  line-height: 1.7;
}

/* Subject Button */

.subject-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 11px 18px;
  min-height: 44px;
  border-radius: 8px;
  background: #1a73e8;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.subject-card-button:hover {
  background: #0d47a1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(13, 71, 161, 0.20);
}

.subject-card-button:focus-visible {
  outline: 3px solid rgba(26, 115, 232, 0.25);
  outline-offset: 3px;
}

/* ==========================================
   TABLET
=========================================== */

@media (max-width: 992px) {

  .ontario-curriculum-subjects {
    padding: 70px 20px;
  }

  .ontario-curriculum-subjects .section-heading h2 {
    font-size: 32px;
  }

  .curriculum-subjects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

}

/* ==========================================
   MOBILE
=========================================== */

@media (max-width: 640px) {

  .ontario-curriculum-subjects {
    padding: 60px 16px;
  }

  .ontario-curriculum-subjects .section-heading {
    margin-bottom: 35px;
  }

  .ontario-curriculum-subjects .section-heading h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .ontario-curriculum-subjects .section-heading p {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .curriculum-subjects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .curriculum-subject-card {
    padding: 25px 22px;
  }

  .curriculum-subject-card h3 {
    font-size: 20px;
  }

  .curriculum-subject-card p {
    font-size: 15px;
  }

  .subject-card-button {
    width: 100%;
    margin-top: 22px;
  }

}


/* ==========================================
   ONTARIO CURRICULUM – CROSS LINKS
========================================== */

.cross-links {
  padding: 80px 20px;
  background: #f7f9fc;
}

.cross-links .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================
   SECTION HEADING
========================================== */

.cross-links .section-heading {
  max-width: 850px;
  margin: 0 auto 50px;
  text-align: center;
}

.cross-links .section-heading h2 {
  margin: 0 0 16px;
  color: #123b6d;
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
}

.cross-links .section-heading p {
  margin: 0;
  color: #5f6b7a;
  font-size: 16.5px;
  line-height: 1.75;
}

/* ==========================================
   CROSS-LINK CARD GRID
========================================== */

.cross-links .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ==========================================
   CROSS-LINK CARD
========================================== */

.cross-links .feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 250px;
  padding: 28px 26px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(20, 55, 90, 0.06);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* ==========================================
   CARD HOVER
========================================== */

.cross-links .feature-card:hover {
  transform: translateY(-5px);
  border-color: #b9d2f3;
  box-shadow: 0 14px 32px rgba(20, 55, 90, 0.11);
}

/* ==========================================
   CARD TITLE
========================================== */

.cross-links .feature-card h3 {
  margin: 0 0 13px;
  color: #123b6d;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

/* ==========================================
   CARD DESCRIPTION
========================================== */

.cross-links .feature-card p {
  margin: 0;
  color: #5f6b7a;
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================
   VISIBLE CLICKABLE BUTTON
========================================== */

.cross-links .feature-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;

  margin-top: auto;
  padding: 11px 18px;

  min-height: 44px;
  border-radius: 8px;

  background: #1a73e8;
  color: #ffffff;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* BUTTON HOVER */

.cross-links .feature-card:hover .feature-card-button {
  background: #0d47a1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(13, 71, 161, 0.20);
}

/* ==========================================
   KEYBOARD ACCESSIBILITY
========================================== */

.cross-links .feature-card:focus-visible {
  outline: 3px solid rgba(26, 115, 232, 0.25);
  outline-offset: 3px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 992px) {

  .cross-links {
    padding: 70px 20px;
  }

  .cross-links .section-heading {
    margin-bottom: 42px;
  }

  .cross-links .section-heading h2 {
    font-size: 31px;
  }

  .cross-links .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 640px) {

  .cross-links {
    padding: 60px 16px;
  }

  .cross-links .section-heading {
    margin-bottom: 35px;
  }

  .cross-links .section-heading h2 {
    font-size: 27px;
    line-height: 1.3;
  }

  .cross-links .section-heading p {
    font-size: 15px;
    line-height: 1.7;
  }

  .cross-links .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cross-links .feature-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .cross-links .feature-card h3 {
    font-size: 19px;
  }

  .cross-links .feature-card p {
    font-size: 15px;
    line-height: 1.7;
  }

  .cross-links .feature-card-button {
    width: 100%;
    margin-top: 22px;
  }

}/* End custom CSS */
/* Start custom CSS *//* ===========================
   SAFE FULL-WIDTH OVERRIDE
   (NO 100vw, NO OVERFLOW)
=========================== */

/* Allow theme to stretch */
.site,
.site-content,
.content-area,
.wrap,
.page-wrap {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Elementor root */
.elementor {
  max-width: 100% !important;
}

/* Elementor sections full width */
.elementor-section {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ===========================
   HERO – FULL SCREEN, CENTERED
=========================== */

.hero {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  box-sizing: border-box;
}

/* Keep hero content aligned */
.hero > * {
  max-width: 1200px;
  margin: auto;
}

/* ===========================
   MOBILE SAFETY
=========================== */

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 50px 16px;
    text-align: center;
  }
}




/* ===========================
   MOBILE VISIBILITY FIX
=========================== */

@media (max-width: 768px) {

  /* Restore section spacing */
  section {
    padding: 40px 16px !important;
    margin: 0 !important;
  }

  /* Ensure all sections show fully */
  section,
  .elementor-section {
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Fix grids stacking visibility */
  .stats,
  .features-grid,
  .subject-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Prevent text from shrinking */
  p, li {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Ensure background sections are visible */
  .subjects,
  .trust,
  .national-cbse,
  .global-cbse,
  .national-icse,
  .global-icse,
  .national-igcse,
  .global-igcse {
    background-clip: padding-box;
    padding: 40px 16px !important;
  }
}/* End custom CSS */