:root {
  --navy: #062f4f;
  --dark: #061f2b;
  --blue: #0d6efd;
  --blue-2: #3b82f6;
  --sky: #eaf4ff;
  --text: #071b2c;
  --muted: #64748b;
  --line: #d9e4ef;
  --white: #ffffff;
  --soft: #f6f9fc;
  --shadow: 0 24px 70px rgba(2, 31, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--soft);
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 112px 7vw 60px;
  color: var(--white);
  background:
    linear-gradient(rgba(16, 82, 126, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 82, 126, 0.15) 1px, transparent 1px),
    radial-gradient(circle at 70% 40%, rgba(59, 130, 246, 0.18), transparent 42%),
    linear-gradient(135deg, #061f2b 0%, #073451 58%, #052534 100%);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 92px;
  width: 2px;
  height: 100%;
  background: rgba(59, 130, 246, 0.25);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 110px;
  left: 34px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.12) 0%, rgba(59,130,246,0.1) 45%, rgba(59,130,246,0.18) 100%);
  box-shadow:
    0 88px 0 rgba(59,130,246,0.08),
    0 176px 0 rgba(59,130,246,0.08),
    0 264px 0 rgba(59,130,246,0.08),
    0 352px 0 rgba(59,130,246,0.08),
    0 440px 0 rgba(59,130,246,0.08);
  z-index: 0;
}

/* ---- Notebook decorative elements ---- */

.notebook-pencil {
  position: absolute;
  right: 4vw;
  bottom: 60px;
  width: 360px;
  height: 52px;
  transform: rotate(-24deg);
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
}

.notebook-pencil::before {
  content: "";
  position: absolute;
  left: 72px;
  top: 9px;
  width: 210px;
  height: 34px;
  border-radius: 5px;
  background: linear-gradient(
    180deg,
    #ffd75a 0%,
    #ffd75a 42%,
    #f4b339 43%,
    #f4b339 58%,
    #ffd75a 59%,
    #ffd75a 100%
  );
  box-shadow: 0 16px 30px rgba(15, 35, 55, 0.16);
}

.notebook-pencil::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #1d2939 0 20px, transparent 20px),
    linear-gradient(135deg, transparent 0 28px, #e4b06a 28px 72px, transparent 72px),
    linear-gradient(90deg, transparent 0 282px, #c8d0dc 282px 310px, transparent 310px),
    linear-gradient(90deg, transparent 0 310px, #f2788f 310px 360px);
  border-radius: 8px;
}

.notebook-doodle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  color: rgba(53, 104, 176, 0.32);
  font-weight: 800;
  line-height: 1;
  user-select: none;
}

.notebook-doodle.book {
  top: 140px;
  right: 18vw;
  font-size: 70px;
  transform: rotate(8deg);
}

.notebook-doodle.star {
  top: 160px;
  left: 22vw;
  font-size: 52px;
  transform: rotate(-12deg);
}

.notebook-doodle.atom {
  bottom: 110px;
  left: 13vw;
  font-size: 58px;
  transform: rotate(-8deg);
}

.notebook-doodle.formula {
  bottom: 180px;
  right: 43vw;
  font-size: 24px;
  font-style: italic;
  font-weight: 700;
  font-family: Georgia, 'Times New Roman', serif;
  color: rgba(53, 104, 176, 0.38);
  letter-spacing: 0.04em;
}

/* ---- Hero photo visual ---- */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  width: 100%;
}

.hero-img {
  width: 100%;
  max-width: 1000px;
  height: 500px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(2, 16, 28, 0.55);
  background: #073451;
}

/* ---- Trust badges ---- */

.trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 28px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}

.trust-badge:first-child {
  padding-left: 0;
}

.tbadge-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.tbadge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.tbadge-text strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--white);
}

.tbadge-text span {
  font-size: 0.82rem;
  color: rgba(203, 225, 245, 0.75);
  font-weight: 600;
}

.trust-sep {
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
}

/* ---- end notebook decorative elements ---- */

.nav-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 32px;
  background: rgba(4, 20, 28, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
}

.navbar {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  padding: 0 5vw;
  border-radius: 0;
  background: rgba(6, 31, 43, 0.92);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(18px);
  color: white;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--navy);
  background: linear-gradient(135deg, #bfdbfe, #60a5fa);
  border: 4px solid rgba(255, 255, 255, 0.9);
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 48px);
  font-weight: 700;
}

.nav-links a {
  opacity: 0.92;
}

.nav-links a:hover,
.nav-links .active {
  color: #93c5fd;
}

.nav-cta,
.btn-primary,
.subscribe button {
  background: linear-gradient(135deg, #60a5fa, #1d4ed8);
  color: white;
  font-weight: 800;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(29, 78, 216, 0.28);
}

.nav-cta {
  padding: 16px 28px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  font-size: 1.7rem;
  cursor: pointer;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1620px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.eyebrow,
.pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 14px;
  background: rgba(147, 197, 253, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--white);
}

.hero-copy p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(203, 225, 245, 0.88);
  font-size: clamp(1.1rem, 1.9vw, 1.42rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tuition-mode {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(203, 225, 245, 0.85);
  letter-spacing: 0.01em;
}

.green-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: green-pulse 2s infinite;
}

@keyframes green-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  font-weight: 900;
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.trust-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.student-stack {
  display: flex;
}

.student-stack span {
  width: 44px;
  height: 44px;
  margin-left: -10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  border: 3px solid var(--dark);
  font-weight: 900;
}

.student-stack span:first-child {
  margin-left: 0;
}

.trust-row strong,
.trust-row small {
  display: block;
}

.trust-row small {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  width: 100%;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 372px;
  box-shadow: var(--shadow);
  background: #0b3244;
}

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

.score-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: 220px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: var(--shadow);
}

.score-card span,
.score-card strong {
  display: block;
}

.score-card strong {
  margin: 6px 0;
  font-size: 2.1rem;
  color: var(--blue);
}

.score-label {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.quick-book {
  position: absolute;
  right: -44px;
  bottom: 58px;
  width: 330px;
  padding: 18px 20px;
  border-radius: 8px;
  background: white;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.quick-book a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--blue);
  font-size: 1.35rem;
}

.section {
  padding: 110px 7vw;
  background:
    linear-gradient(rgba(69, 132, 190, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 132, 190, 0.09) 1px, transparent 1px),
    #ffffff;
  background-size: 58px 58px;
}

.section.light {
  background:
    linear-gradient(rgba(69, 132, 190, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 132, 190, 0.09) 1px, transparent 1px),
    #f5f9ff;
  background-size: 58px 58px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 58px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pill {
  background: #08283a;
  color: #bfdbfe;
  margin-bottom: 18px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.tabs {
  width: fit-content;
  margin: -22px auto 60px;
  padding: 12px;
  border-radius: 12px;
  background: white;
  display: flex;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(2, 31, 48, 0.06);
  flex-wrap: wrap;
  justify-content: center;
}

.tabs button {
  border: 0;
  border-radius: 8px;
  padding: 16px 24px;
  background: #f5f8fb;
  font-weight: 900;
  color: var(--text);
  cursor: pointer;
}

.tabs .active {
  background: var(--navy);
  color: white;
}

.course-grid,
.blog-grid {
  max-width: 1620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.course-card,
.blog-card,
.goal-card,
.level-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover,
.blog-card:hover,
.goal-card:hover,
.level-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.course-card img,
.blog-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}

.card-body,
.blog-card div {
  padding: 28px;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.course-card h3,
.blog-card h3,
.goal-card h3,
.level-card h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}

.course-card p,
.blog-card small,
.blog-card p,
.goal-card p,
.level-card p,
.footer p,
.faq-wrap p,
.about-box p {
  color: var(--muted);
  line-height: 1.55;
}

.course-card a,
.blog-card a {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 900;
  color: var(--navy);
  border-bottom: 2px solid currentColor;
}

.goal-grid,
.level-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.goal-card,
.level-card {
  padding: 34px;
}

.icon {
  width: 58px;
  height: 58px;
  margin-bottom: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--sky);
  font-size: 1.45rem;
}

.goal-card span,
.level-card span {
  display: block;
  margin-top: 28px;
  padding-top: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.about-box {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(2, 31, 48, 0.06);
}

.about-box h3 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.02em;
}

.about-points {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-points div {
  padding: 22px;
  border-radius: 14px;
  background: #f7fbff;
  border: 1px solid var(--line);
  font-weight: 800;
}

.faq-wrap {
  max-width: 1460px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.faq-wrap h2 {
  margin-top: 10px;
}

.accordion {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.accordion-item:hover {
  box-shadow: 0 8px 28px rgba(2, 31, 48, 0.08);
}

.accordion-item.is-open {
  box-shadow: 0 10px 34px rgba(2, 31, 48, 0.10);
  border-color: #bfdbfe;
}

.accordion-btn {
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}

.accordion-question {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
  flex: 1;
}

.accordion-item.is-open .accordion-question {
  color: var(--navy);
}

.accordion-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease, transform 0.3s ease;
  line-height: 1;
}

.accordion-item.is-open .accordion-icon {
  background: var(--navy);
  color: white;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.is-open .accordion-panel {
  max-height: 400px;
}

.accordion-panel-inner {
  padding: 0 24px 22px;
  border-top: 1px solid var(--line);
}

.accordion-panel-inner p {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.contact-card {
  min-height: 500px;
  padding: 36px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(6, 47, 79, 0.08), rgba(6, 47, 79, 0.08)),
    url("assets/images/contactus.webp") center/cover;
  display: grid;
  place-items: center;
}

.contact-card > div {
  max-width: 420px;
  padding: 34px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0;
  font-size: 2rem;
}

.contact-card .btn {
  margin-top: 18px;
  width: 100%;
}

.footer {
  padding: 98px 7vw 34px;
  background: #061f2b;
  color: white;
}

.footer-grid {
  max-width: 1620px;
  margin: 0 auto 76px;
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 1fr 0.8fr;
  gap: 90px;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-uen {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.subscribe {
  max-width: 520px;
  height: 66px;
  margin-top: 38px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
}

.subscribe input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  padding: 0 16px;
  font: inherit;
}

.subscribe input::placeholder {
  color: rgba(255,255,255,0.7);
}

.subscribe button {
  padding: 0 24px;
  cursor: pointer;
}

.footer h4 {
  margin: 0 0 24px;
  font-size: 1.1rem;
}

.footer a {
  display: block;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.76);
  font-weight: 700;
}

.footer-bottom {
  max-width: 1620px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.76);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom div {
  display: flex;
  gap: 34px;
}

.footer-bottom a {
  display: inline;
  margin: 0;
  text-decoration: underline;
}

@media (max-width: 1180px) {
  .hero-inner,
  .faq-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 860px;
    justify-content: center;
  }

  .quick-book {
    right: 24px;
  }

  .course-grid,
  .blog-grid,
  .goal-grid,
  .level-grid,
  .about-points {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .hero::before,
  .hero::after {
    display: none;
  }

  .notebook-pencil {
    display: none;
  }

  .notebook-doodle.book,
  .notebook-doodle.atom,
  .notebook-doodle.formula {
    display: none;
  }

  .notebook-doodle.star {
    font-size: 34px;
    top: 96px;
    left: 8vw;
  }

  .hero-img {
    max-width: 100%;
    height: 280px;
  }

  .trust-badges {
    gap: 12px;
  }

  .trust-badge {
    padding: 0 14px;
  }

  .trust-sep {
    height: 28px;
  }

  .hero,
  .section,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .navbar {
    height: auto;
    padding: 16px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.open {
    width: 100%;
    display: grid;
    gap: 16px;
  }

  .hero-inner {
    margin-top: 40px;
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .image-card,
  .image-card img {
    min-height: 252px;
    height: 252px;
  }

  .quick-book {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .course-grid,
  .blog-grid,
  .goal-grid,
  .level-grid,
  .about-points {
    grid-template-columns: 1fr;
  }

  .about-box {
    padding: 30px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom div {
    flex-wrap: wrap;
  }
}

/* ============================================================
   ARTICLE PAGES
   ============================================================ */

.article-header {
  padding: 132px 5vw 64px;
  background:
    linear-gradient(rgba(16, 82, 126, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 82, 126, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 30% 60%, rgba(59, 130, 246, 0.22), transparent 32%),
    linear-gradient(135deg, #061f2b 0%, #073451 58%, #052534 100%);
  background-size: 72px 72px, 72px 72px, auto, auto;
  color: var(--white);
}

.article-header-inner {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 64px;
  align-items: center;
}

.article-header-copy {
  display: flex;
  flex-direction: column;
}

.article-hero-img {
  border-radius: 18px;
  overflow: hidden;
  height: 360px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}

.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: #93c5fd; }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

.article-header h1 {
  max-width: 820px;
  margin: 16px 0 20px;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.article-header > p {
  max-width: 680px;
  color: rgba(255,255,255,0.75);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0 0 28px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---- Two-column layout ---- */

.article-wrap {
  max-width: 1480px;
  margin: 0 auto;
  padding: 72px 5vw;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

/* ---- Prose content ---- */

.article-content h2 {
  margin: 48px 0 14px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  letter-spacing: -0.01em;
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.article-content h3 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
  letter-spacing: 0;
  color: var(--text);
}

.article-content p {
  margin: 0 0 18px;
  line-height: 1.78;
  color: #2d3748;
  font-size: 1.05rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 18px;
  padding-left: 24px;
  line-height: 1.78;
  color: #2d3748;
  font-size: 1.05rem;
}

.article-content li { margin-bottom: 8px; }

.callout {
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: 12px;
  border-left: 4px solid var(--blue-2);
  background: #eaf4ff;
  color: var(--navy);
}

.callout.tip {
  border-left-color: #10b981;
  background: #ecfdf5;
  color: #065f46;
}

.callout.exam {
  border-left-color: #f59e0b;
  background: #fffbeb;
  color: #92400e;
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.definition-box {
  margin: 24px 0;
  padding: 22px 26px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(2,31,48,0.06);
}

.definition-box h4 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.definition-box p { margin: 0; font-size: 1rem; }

.practice-box {
  margin: 32px 0;
  padding: 26px;
  border-radius: 12px;
  background: #f7fbff;
  border: 1px solid #bfdbfe;
}

.practice-box h4 {
  margin: 0 0 14px;
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.practice-box ol { margin: 0; padding-left: 22px; }
.practice-box li { margin-bottom: 10px; font-size: 1.02rem; color: var(--text); }

/* ---- Sidebar ---- */

.article-sidebar {
  position: sticky;
  top: 100px;
}

.toc {
  padding: 22px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(2,31,48,0.06);
  margin-bottom: 20px;
}

.toc h4 {
  margin: 0 0 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.toc a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.toc a:last-child { border-bottom: none; }
.toc a:hover { color: var(--blue); }

.sidebar-cta {
  padding: 24px;
  border-radius: 14px;
  background: var(--navy);
  color: white;
  text-align: center;
}

.sidebar-cta h4 { margin: 0 0 10px; font-size: 1.05rem; }

.sidebar-cta p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.sidebar-cta .btn { width: 100%; font-size: 0.9rem; justify-content: center; }

/* ---- Related articles ---- */

.related-section {
  padding: 80px 5vw;
  background: #f7fbff;
}

.related-section .section-heading { margin-bottom: 40px; }

@media (max-width: 960px) {
  .article-header-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-hero-img {
    height: 240px;
  }

  .article-wrap {
    grid-template-columns: 1fr;
    padding: 48px 22px;
    gap: 36px;
  }

  .article-sidebar {
    position: static;
    order: -1;
  }

  .toc { display: none; }
}

/* ============================================================
   TUITION FEES PAGE
   ============================================================ */

.pricing-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto 40px;
  padding: 18px 22px;
  background: #eaf4ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  color: var(--navy);
}

.pricing-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue-2);
}

.pricing-notice p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
}

/* Loading / error states */
.pricing-loading-state,
.pricing-error-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--line);
  border-top-color: var(--blue-2);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Category filter tabs */
.pricing-mode-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pricing-tab {
  padding: 9px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}

.pricing-tab:hover {
  border-color: var(--blue-2);
  color: var(--blue-2);
}

.pricing-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

/* Table */
.pricing-table-wrap {
  overflow-x: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(6, 47, 79, 0.08);
  margin-bottom: 16px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.90rem;
  min-width: 600px;
}

.pricing-table thead {
  background: var(--navy);
  color: white;
}

.pricing-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.80rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing-table th small {
  display: block;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  margin-top: 2px;
}

.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--text);
}

.pricing-table tbody tr:last-child td { border-bottom: none; }

.pricing-table tbody tr:hover { background: var(--sky); }

.pricing-rate {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.pricing-na {
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
  font-size: 0.85rem;
}


.pricing-empty-msg {
  text-align: center;
  padding: 32px;
  color: var(--muted);
  font-size: 0.93rem;
}

.pricing-cta-block {
  margin-top: 48px;
}

@media (max-width: 820px) {
  .pricing-table {
    font-size: 0.85rem;
    min-width: 0;
    display: block;
  }

  .pricing-table thead { display: none; }

  .pricing-table tbody tr {
    display: block;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 14px;
    padding: 12px 16px;
    background: white;
  }

  .pricing-table tbody tr:hover { background: var(--sky); }

  .pricing-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
  }

  .pricing-table td:last-child { border-bottom: none; }

  .pricing-table td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    flex-shrink: 0;
    min-width: 110px;
  }
}

/* ── WhatsApp floating button ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.6);
}

/* ── WhatsApp CTA button (enquiry sections) ── */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  font-weight: 800;
  border: 0;
  border-radius: 10px;
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.28);
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-whatsapp:hover {
  background: #1aad57;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.42);
}
