/* Global Styles */
:root {
  --color-bg: #ffffff;
  --color-bg-2: #f5f7f6;
  --color-surface: #ECEEEC;
  --color-text: #2b211d;
  --color-text-2: #4a3b35;
  --color-text-3: #8f4f44;
  --color-muted: #6f625c;
  --color-border: #e7d8cf;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 6rem;
  margin: 0;
  font-family: Helvetica, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
}

.threeway {
  padding: 6rem 0;
  background: var(--color-bg-2);
  text-align: center;
}

.threeway h1 {
  margin-bottom: 6rem;
}

.threeway h2 {
  color: var(--color-text-2);
}

.threeway-grid {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: start;
}

.threeway-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: center;
}

@media (max-width: 900px) {
  .threeway-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.section-header {
  text-align: center;
  background-color: var(--color-surface);
  padding: 6rem 6rem;
}

.section-header h1 {
  color: var(--color-text);
}

.split {
  display: flex;
  flex-direction: row;
  color: var(--color-text);
}

.split-content {
  flex: 0.6;
  background-color: var(--color-bg);
  padding: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-image {
  flex: 0.4;
  position: relative;
}

.split h2 {
  color: var(--color-text-2);
}


/* Typography */

h1 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1;
  margin: 0 0 0.75rem 0;
  color: var(--color-text);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 0.6rem 0;
  color: var(--color-text);
  font-weight: 600;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
  font-weight: 600;
}

/* Navigation Bar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-surface);
  padding: 2rem 2rem;
  gap: 3rem;
}

.nav-link {
  font: 'Helvetica', sans-serif;
  font-weight: 300;
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  transition: transform 0.2s ease;
  letter-spacing: 1.5px;
}

.nav-link:hover {
  transform: scale(1.15);
}

.nav-button {
  font: 'Helvetica', sans-serif;
  font-weight: 300;
  color: var(--color-bg);
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  transition: transform 0.2s ease;
  letter-spacing: 1.5px;
  display: inline-block;
  padding: 0.9rem 1.2rem;
  background: var(--color-muted);
  border-radius: 999px;
}

.nav-button:hover {
  transform: scale(1.15);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  font-weight: 200;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 170px;
  background: var(--color-surface);
  box-shadow: 0 18px 40px rgba(43, 33, 29, 0.10);
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
}

.dropdown-link {
  display: block;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dropdown-link:hover {
  background: var(--color-border);
  color: var(--color-text-3);
  transform: translateX(3px);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.has-dropdown:hover>.nav-link,
.has-dropdown:focus-within>.nav-link {
  color: var(--color-text-3);
}

/* Body Elements */
.hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
  line-height: 1.05;
  flex-wrap: wrap;
}

.hero-title-box {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  padding: 20px;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.hero h2 {
  width: 100%;
  text-align: center;
}

.hero img {
  align-self: center;
}

.word-wheel {
  position: relative;
  display: inline-block;
  overflow: hidden;
  min-width: 10ch;
  padding-top: 0.08em;
  padding-bottom: 0.1em;
}

.word-wheel-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.45s ease;
  padding-top: 0em;
  padding-bottom: 0.2em;
  line-height: 1.5;
}

.word-wheel-track span {
  display: block;
  color: var(--color-text-2);
  white-space: nowrap;
}

.hero-subtext {
  max-width: 75rem;
  line-height: 2;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 4rem 0;
  }

  .hero-content {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  .word-wheel {
    min-width: 7ch;
  }
}

.inquiry-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

.inquiry-wrap {
  width: min(900px, calc(100% - 4rem));
  margin: 0 auto;
}

.inquiry-wrap .section-header {
  margin-bottom: 2.5rem;
}

.inquiry-wrap .section-header p {
  margin: 0.75rem 0 0;
  color: var(--color-text-2);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  width: 100%;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group label,
.checkbox-group legend {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group label span {
  font-weight: 400;
  color: var(--color-muted);
}

.form-group input,
.form-group select {
  width: 90%;
  padding: 1rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-text-3);
  box-shadow: 0 0 0 3px rgba(143, 79, 68, 0.12);
}

.checkbox-group {
  border: none;
  padding: 0;
  margin: 0;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
  font-weight: 400;
  cursor: pointer;
}

.checkbox-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-text-3);
}

.form-submit {
  border: none;
  background: var(--color-muted);
  color: white;
  padding: 1rem 1.4rem;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.form-submit:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.form-status.error {
  color: red;
}

.form-status.success {
  color: green;
}


@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .inquiry-section {
    padding: 4rem 0;
  }

  .inquiry-wrap {
    width: min(100%, calc(100% - 2rem));
  }
}

.staff-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

.staff-wrap {
  width: min(1100px, calc(100% - 4rem));
  margin: 0 auto;
}

.staff-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.staff-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.staff-member {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 6rem;
  align-items: center;
}

.staff-image {
  width: 220px;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-surface);
}

.staff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.staff-info h3 {
  margin-bottom: 0.5rem;
}

.staff-cred {
  margin: 0 0 1rem 0;
  color: var(--color-text-3);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.staff-bio {
  margin: 0;
  line-height: 1.7;
  color: var(--color-text-2);
  max-width: 65ch;
}

@media (max-width: 768px) {
  .staff-member {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .staff-image {
    width: min(260px, 100%);
  }
}

.faq-section {
  padding: 6rem 0;
  background: var(--color-bg-2);
}

.faq-wrap {
  width: min(920px, calc(100% - 4rem));
  margin: 0 auto;
}

.faq-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-heading h3 {
  color: var(--color-text-2);
}

.faq-heading p {
  max-width: 60ch;
  margin: 0.75rem auto 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.25rem;
}

.faq-question {
  margin-bottom: 0.5rem;
}

.faq-answer {
  margin: 0;
  line-height: 1.7;
}
.skills-section {
  margin: 6rem;
  font-weight: 300;
}

.skills-grid {
  max-width: 950px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.skills-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.skill-left p,
.skill-right p {
  margin: 0 0 0.5rem 0;
}

.skill-left {
  text-align: right;
}

.skill-right {
  text-align: left;
}

.skill-bar {
  height: 8px;
  background: var(--color-bg-2);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 100%;
  background: var(--color-text-3);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.course-browser-section {
  align-items: stretch;
  min-height: 39rem;
}

.course-browser-shell {
  background: var(--color-surface);
  display: flex;
  align-items: stretch;
}

.course-browser {
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.course-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.course-tab {
  border: 0px;
  background: var(--color-bg);
  color: var(--color-text);
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 200;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.course-tab:hover {
  background: var(--color-bg-2);
}

.course-tab.is-active {
  background: var(--color-text-2);
  color: #fff;
  border-color: var(--color-text-2);
}

.course-panels {
  flex: 1;
  min-height: 320px;
}

.course-panel {
  height: 100%;
}

.course-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.course-column {
  background: var(--color-bg);
  border: 0px;
  padding: 1.25rem;
}

.course-column h3 {
  margin-bottom: 0.85rem;
  font-weight: 400;
  color: var(--color-text);
}

.course-column p {
  margin: 0.35rem 0;
  font-weight: 200;
  color: var(--color-text-2);
}

@media (max-width: 900px) {
  .course-browser-shell {
    border-left: none;
    border-top: 1px solid var(--color-border);
  }

  .course-panel-grid {
    grid-template-columns: 1fr;
  }
}

.turnstile-row {
  margin-top: 1rem;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--color-text-2);
}

.submit-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.25rem;
}

.icon-split-section {
  padding: 6rem 0;
  background: var(--color-bg);
}

.icon-split-wrap {
  width: min(1100px, calc(100% - 4rem));
  margin: 0 auto;
}

.icon-split-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.icon-split-heading h2{
  color:var(--color-text-2);
}

.icon-split-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.icon-split-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 6rem;
  align-items: center;
}

.icon-split-image {
  width: 220px;
}

.icon-split-image img {
  width: 75%;
  height: 75%;
  object-fit: cover;
  display: block;
}

.icon-split-desc {
  margin: 0;
  line-height: 1.7;
  color: var(--color-text-2);
  max-width: 65ch;
}

@media (max-width: 768px) {
  .icon-split-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .icon-split-image {
    width: min(260px, 100%);
  }
}

/* PRICING WIZARD TAKEOVER */
.pricing-calculator-section {
  position: relative;
  align-items: stretch;
  height: 36rem;
  overflow: hidden;
}

.pricing-calculator-section .split-content {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.pricing-calculator-section .course-browser-shell {
  transition:
    inset 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 2;
}

.pricing-calculator-section.is-summary-active .split-content {
  opacity: 0;
  transform: translateX(-2rem);
  pointer-events: none;
}

.pricing-calculator-section.is-summary-active .course-browser-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  border-left: none;
  box-shadow: 0 20px 60px rgba(43, 33, 29, 0.08);
}

.pricing-calculator {
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pricing-step {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 30rem;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-step[hidden] {
  display: none;
}

.pricing-step.is-leaving {
  opacity: 0;
  transform: translateY(12px);
}

.pricing-step.is-entering {
  opacity: 0;
  transform: translateY(-12px);
}

.pricing-block {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pricing-label {
  margin: 0;
  font-weight: 600;
  color: var(--color-text);
}

.pricing-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pricing-option {
  border: 0px;
  background: var(--color-bg);
  color: var(--color-text);
  padding: 0.8rem 1.1rem;
  font: inherit;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.pricing-option:hover {
  background: var(--color-bg-2);
  transform: translateY(-1px);
}

.pricing-option.is-active {
  background: var(--color-muted);
  color: #ffffff;
  border-color: var(--color-text-2);
}

.pricing-option-primary {
  background: var(--color-muted);
  color: #ffffff;
  border-color: var(--color-text-2);
}

.pricing-option-primary:hover {
  background: var(--color-text-2);
}

.pricing-addons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-addon {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1rem;
  background: var(--color-bg);
  border: 0px;
}

.pricing-addon input {
  margin-top: 0.2rem;
}

.pricing-addon-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pricing-addon-text strong {
  font-weight: 600;
}

.pricing-addon-text span {
  color: var(--color-text-2);
}

.pricing-summary {
  margin-top: 0.5rem;
  padding: 1.5rem;
  background: var(--color-bg);
  border: 0px;
}

.pricing-summary-expanded {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pricing-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.pricing-summary-header h3 {
  margin: 0;
}

.pricing-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pricing-summary-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.pricing-summary-hero {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.pricing-summary-hero-label {
  font-size: 0.95rem;
  color: var(--color-text-2);
}

#summary-per-session {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
  font-weight: 700;
  color: var(--color-text-2);
}

.pricing-summary-core {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pricing-summary-core p {
  margin: 0;
}

.pricing-summary-columns {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  flex: 1;
}

.pricing-summary-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-summary-column h4 {
  margin: 0;
}

.pricing-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pricing-summary-lines p {
  margin: 0;
}

#pricing-itemized {
  padding-top: 0.25rem;
}

.pricing-total-row {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

#summary-biweekly,
#summary-monthly {
  font-size: 1.35rem;
  color: var(--color-text-2);
  font-weight: 700;
}

.pricing-note-text {
  color: var(--color-text-2);
}

@media (max-width: 900px) {
  .pricing-addons {
    grid-template-columns: 1fr;
  }

  .pricing-summary-top,
  .pricing-summary-columns {
    grid-template-columns: 1fr;
  }

  .pricing-summary-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-calculator-section.is-summary-active .course-browser-shell {
    position: relative;
    inset: auto;
    width: 100%;
  }
}


#our-team {
  scroll-margin-top: 140px;
}

#faq {
  scroll-margin-top: 140px;
}

#careers {
  scroll-margin-top: 140px;
}

#diploma {
  scroll-margin-top: 140px;
}

#alberta-education {
  scroll-margin-top: 140px;
}

#ib-ap {
  scroll-margin-top: 140px;
}

#post-secondary {
  scroll-margin-top: 140px;
}

#emergency-support {
  scroll-margin-top: 140px;
}

#academic-season {
  scroll-margin-top: 140px;
}

#professional {
  scroll-margin-top: 140px;
}

#pricing {
  scroll-margin-top: 140px;
}




/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  background-color: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
}