/* ============================================================
   IGM — India Gold Metaverse · Academy course pages (shared)
   Shared by the three BPMI × IIG course pages
   (jewellery-design-executive-program, jewellery-business-specialist-program,
   gems-diamond-specialist-program): fonts, tokens, base,
   navbar + footer partials, scroll-reveal, then the course-only
   additions and the brochure dialog. The site sections are
   extracted verbatim from /assets/css/objectives.css, so the
   shared navbar.html / footer.html render exactly as on every
   other page. Each course page loads its own stylesheet after
   this one for the course layout.
   Fonts: Satoshi + Clash Display (self-hosted) · Instrument Serif
   (Google Fonts, linked in the page <head>).
   ============================================================ */

/* ---------- fonts · tokens · base · shared .pill ---------- */
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/img/fonts/clashdisplay-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --neutral-50:  #ffffff;
  --neutral-300: #c8c8d2;
  --neutral-500: #77777f;
  --neutral-600: #606070;
  --neutral-800: #232330;
  --neutral-900: #0d0f1a;
  --gold-100:    #f0e6d1;  /* faint gold for oversized display numerals */
  --gold-300:    #d6ba81;
  --gold-warm:   #cfb38d;  /* warm serif accent used across the About redesign */
  --gold-500:    #b9903f;
  --gold-grad:   linear-gradient(100deg, #b9903f 0%, #e8cf8f 45%, #b9903f 100%);
  --cream:       #fbf7ef;
  --sans:  "Satoshi", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --maxw: 1200px;
  /* Figma's spring (mass 1, stiffness 100, damping 15) solved and sampled as an
     easing curve: damping ratio .75, so it overshoots ~2.8% and settles in .82s.
     A cubic-bezier can't overshoot, hence linear(). */
  --spring: linear(
    0 0%, 0.0424 3.8%, 0.1441 7.7%, 0.2747 11.5%, 0.4131 15.4%, 0.5455 19.2%,
    0.6637 23.1%, 0.7637 26.9%, 0.8447 30.8%, 0.9073 34.6%, 0.9536 38.5%,
    0.9861 42.3%, 1.0075 46.2%, 1.0202 50%, 1.0265 53.8%, 1.0284 57.7%,
    1.0273 61.5%, 1.0245 65.4%, 1.0208 69.2%, 1.0169 73.1%, 1.0131 76.9%,
    1.0097 80.8%, 1.0069 84.6%, 1.0045 88.5%, 1.0027 92.3%, 1.0014 96.2%, 1 100%
  );
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--neutral-900);
  background: #fff;
  line-height: 1.45;
  /* backstop for the full-bleed decorative curves. `hidden` on body alone relies on
     overflow propagating to the viewport, which some browsers don't honour — `clip`
     on both html and body kills the sideways scroll without making a scroll container */
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0%;font-size: 22px;
    line-height: 28px; }
    em-btn { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0%;font-size: 14px;
    line-height: 28px; }

/* ---------- shared ---------- */
.pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #eeeef1;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-900);
}

.nav-logo-header-footer{
  height: 90px;
  width: auto;
  padding-bottom: 10px;
}
.pill.small { font-size: 11px; padding: 3px 10px; background: #f2f2f2; }
.pill.dark-pill { background: #1c1c26; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;   /* 0.28px @ 14px, per Figma buttons */
  text-transform: uppercase;
  transition: opacity .2s, transform .2s;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--neutral-900); }
.btn-dark  { background: #000; color: #fff; }   /* Neutral-950, per Figma "Dark Solid" */
.btn-dark.big { margin: 40px auto 0; display: flex; width: max-content; }
.btn-outline {
  background: rgba(255,255,255,.11);
  border: .8px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: #fafafa;
  height: 40px;
  padding: 0 12px;
  font-family: "Clash Display", var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 4px;
}
/* .btn was only ever used on <a> until the enquire modal's triggers needed
   real <button>s — this strips the UA button chrome without touching the
   background/color that .btn-dark / .btn-light set. */
button.btn { border: none; cursor: pointer; font-family: inherit; -webkit-appearance: none; appearance: none; }

/* ---------- navbar ---------- */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 40px;
}
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: clamp(12px, min(2.2vw, 8.2vw - 72px), 48px);
  align-items: center;
}
.nav-left { grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: clamp(12px, min(2.2vw, 8.2vw - 72px), 48px); }
.nav-link {
  color: #fafafa;
  /* 16px is the Figma size and holds from ~1392px up. Below that the four
     top-level items no longer clear the centred logo, so the label steps
     down rather than wrapping onto a second line and colliding with it. */
  font-size: clamp(13px, 1.4vw, 16px);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: .02em;      /* 0.32px @ 16px */
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link .chev { display: inline-block; margin-left: 3px; font-size: 13px; line-height: 1; opacity: .9; transform-origin: center; transition: transform .25s; }
.nav-link:hover { color: var(--gold-300); }

/* ---- offerings dropdown ---- */
.nav-item { position: relative; }
.nav-item.has-menu > .nav-link { cursor: pointer; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  width: max-content;   /* sized to its longest entry, so every item stays on one line */
  margin-top: 14px;
  padding: 8px;
  background: var(--neutral-50);
  border: 1px solid #eeeef1;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}
/* ABOUT US is a wider two-column panel: a small category label on the left,
   its destinations stacked on the right, one grid row per group (see image). */
.nav-dropdown--about { min-width: 360px; padding: 14px; }
.nav-dropdown__group {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: start;
  padding: 10px 0;
}
.nav-dropdown__group + .nav-dropdown__group { border-top: 1px solid #eeeef1; }
.nav-dropdown__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-500);
  padding-top: 9px;      /* optically aligns the label with the first link row */
}
/* hover bridge so the menu doesn't close in the 14px gap */
.nav-item.has-menu::after {
  content: "";
  position: absolute;
  top: 100%; left: 0;
  width: 100%; height: 16px;
}
.nav-item.has-menu:hover .nav-dropdown,
.nav-item.has-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item.has-menu:hover > .nav-link .chev { transform: rotate(180deg); }
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--neutral-600);
  transition: background .18s, color .18s;
}
.nav-dropdown a:hover { background: #f4f4f6; color: var(--gold-500); }
.nav-dropdown a.is-active { color: var(--gold-500); }
/* logo sits at the far left; both menu groups follow it on the right (explicit
   columns because .nav-left comes before the logo in the markup) */
.nav-logo { grid-column: 1; grid-row: 1; text-align: left; color: #fff; }
.nav-logo-img { height: 56px; width: auto; filter: brightness(0) invert(1); }
.logo-mark {
  display: inline-block;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: .08em;
  border: 2px solid currentColor;
  padding: 1px 10px;
}
.logo-sub { display: block; font-size: 9.5px; letter-spacing: .08em; margin-top: 3px; font-weight: 500; }
.nav-right { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, min(2.2vw, 8.2vw - 72px), 48px); }
/* NEWS ROOM / EVENTS live in this column, so their panels hang from the right
   edge of the item — left-aligned they would run off the side of the viewport */
.nav-right .nav-dropdown { left: auto; right: 0; }

/* ---- second-row section nav (About-Us destinations) ----
   Sits under .nav-inner inside the same .navbar box, so it inherits the
   scrolled backdrop. Sentence-case, not uppercase like the main links. */
.nav-subnav {
  max-width: 1360px;
  margin: 12px auto 0;
  display: none;              /* revealed only when the ABOUT US arrow is clicked */
  justify-content: center;
  align-items: center;
  gap: 44px;
}
/* revealed by /assets/css/include.js only on the About-Us pages the strip links to */
.nav-subnav.is-open { display: flex; animation: subnav-in .22s ease both; }
@keyframes subnav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-subnav__link {
  color: var(--neutral-300);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .18s;
}
.nav-subnav__link:hover { color: var(--gold-300); }
.nav-subnav__link.is-active { color: var(--gold-500); }

/* All About-Us pages: solid dark nav bar + full-width WHITE sub-nav band with
   dark links (active = gold). :has() scopes the dark bar to About pages only. */
.navbar:has(.nav-subnav.is-open) { background: #060708; padding-bottom: 0; }
.nav-subnav { max-width: none; margin: 0 -40px; padding: 8px 40px; gap: 12px; background: #fff; border-top: 1px solid rgba(174,174,186,.35); }
.nav-subnav__link { position: relative; padding: 12px 10px; font-size: 14px; color: var(--neutral-900); }
.nav-subnav__link:hover { color: #a07f36; }
.nav-subnav__link.is-active { color: #a07f36; font-weight: 500; }
.nav-subnav__link.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 1px; background: #a07f36; border-radius: 4px 4px 0 0; }

/* ---- mobile: hamburger trigger + full-screen menu ----
   Hidden entirely on desktop (.nav-left carries the real links there); shown
   only at the ≤900px breakpoint where .nav-left already hides (see responsive). */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  justify-self: start;
  align-items: end;
}
.nav-burger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1), visibility .35s;
}
.mobile-nav.is-open { visibility: visible; transform: translateX(0); }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eeeef1;
}
.mobile-nav__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--neutral-900);
  cursor: pointer;
}
.mobile-nav__logo img { height: 40px; width: auto; }
.mobile-nav__body { flex: 1 1 auto; overflow-y: auto; padding: 4px 20px; }

.mobile-acc { border-bottom: 1px solid #eeeef1; }
.mobile-acc__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  background: none;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--neutral-900);
  cursor: pointer;
  font-family: 'Satoshi';
}
.mobile-acc__trigger .chev { font-size: 16px; line-height: 1; color: #9a9aa4; transition: transform .25s, color .25s; }
.mobile-acc.is-open .mobile-acc__trigger { color: var(--gold-500); }
.mobile-acc.is-open .mobile-acc__trigger .chev { color: var(--gold-500); transform: rotate(180deg); }
/* grid-rows 0fr -> 1fr is a smooth auto-height collapse with no JS measuring;
   the inner wrapper is the grid item that actually clips during the transition */
.mobile-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.mobile-acc.is-open .mobile-acc__panel { grid-template-rows: 1fr; }
.mobile-acc__panel-inner { overflow: hidden; display: flex; flex-direction: column; padding-bottom: 2px; }
.mobile-acc__panel a {
  margin: 2px 0;
  padding: 12px 14px;
  /* border-radius: 8px; */
  background: #fff;
  /* box-shadow: 0 4px 16px rgba(20, 16, 8, .08); */
  font-size: 14px;
  color: #606070;
  /* border-bottom: 1px solid #a2a2af; */
  font-family: 'Satoshi';
  font-size: 14px;

}
.mobile-acc__panel a:hover { color: var(--neutral-900); }
.mobile-nav__cta { margin: 16px 20px 24px; justify-content: center; }
/* body scroll-lock while the overlay is open (toggled from navbar.js) */
body.mobile-nav-open { overflow: hidden; }


/* ---------- footer ---------- */
.footer {
  position: relative;
  /* FooterBG art carries the warm gold sweep; the gradient on top darkens the
     edges so it meets the black FAQ cleanly and keeps the link columns legible */
  background:
    linear-gradient(180deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 28%, rgba(0,0,0,.5) 72%, rgba(0,0,0,.7) 100%),
    url("/assets/img/FooterBG.png") center / cover no-repeat,
    #000;
  color: #fff;
  padding: 70px 40px 40px;
  text-align: center;
}
.footer-logo { font-size: 56px; padding: 3px 14px; }
.footer-logosub { display: block; margin-top: 8px; font-weight: 700; font-size: 14px; }
.footer-logo-img { height: 44px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); }
.footer-rule { border: 0; border-top: 1px solid #232329; max-width: 1000px; margin: 34px auto; }
/* five link columns since News Room and IGM at Events joined the footer; the
   1000px cap lines the grid up with the .footer-rule above it */
.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  text-align: left;
}
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col a {
  display: block;
  font-size: 13px;
  color: #a2a2ab;
  margin-bottom: 9px;
}
.footer-col a:hover { color: var(--gold-300); }
/* a heading that is itself the link (Blogs) keeps the h4 look, not the grey sub-link style */
.footer-col h4 a { display: inline; font-size: inherit; color: inherit; margin: 0; }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 50px;
}

.footer-social-partner {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #86868c;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.footer-social-partner a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #86868c;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.footer-brand{
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { background: var(--gold-300); }

.footer-social-partner a:hover { background: var(--gold-300); }
.footer-legal { margin-top: 44px; font-size: 12px; color: #9a9aa2; }
.footer-legal a:hover { color: #fff; }
.footer-copy { margin-top: 10px; font-size: 12px; color: #7c7c85; }

/* ---------- scroll-reveal + scrolled navbar + reduced motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: none;    position: relative;}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .36s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .48s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .60s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: .72s; }
/* per-child reveal: when a stagger group is taller than the viewport (mobile,
   where the grids collapse to one column) script.js observes each child instead
   of the group, so a child carries .visible itself. No nth-child delay applies
   here — they arrive one at a time, so each animates the moment it scrolls in. */
.reveal-stagger > .visible { opacity: 1; transform: none; }
.navbar { transition: background .35s ease, backdrop-filter .35s ease; }
.navbar.scrolled {
  position: fixed;
  background: rgba(5, 5, 10, .65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.hero-content > * { animation: heroIn 1s cubic-bezier(.22,.61,.36,1) both; }
.hero-content > *:nth-child(2) { animation-delay: .18s; }
.hero-content > *:nth-child(3) { animation-delay: .34s; }
.hero-content > *:nth-child(4) { animation-delay: .5s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .hero-content > * { transition: none; animation: none; opacity: 1; transform: none; }
  /* the rotating tagline reveals itself via animation, so pin the first line
     visible (and hide the rest) when motion is suppressed */
  .about-tagline__line { animation: none; }
  .about-tagline__line:first-child { opacity: 1; }
}

/* ---------- responsive (navbar + footer only) ---------- */
@media (max-width: 900px) {
  /* navbar collapses to the burger + mobile drawer */
  .nav-left { display: none; }
  .nav-subnav, .nav-subnav.is-open { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-right { display: none; }
  .nav-logo { grid-column: 1; grid-row: 1; }
  .nav-burger { display: flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .navbar { padding: 14px 20px; }
  /* the footer's two-up phone layout from styles.css: multicol stacks each
     side on its own (the shared-row grid left a gap under Blogs), and the
     break at the 4th block keeps the same 3 | 3 split as the home page */
  .footer-grid { display: block; columns: 2; column-gap: 30px; }
  .footer-col { break-inside: avoid; margin-bottom: 30px; }
  .footer-col:nth-child(4) { -webkit-column-break-before: always; break-before: column; }
}

/* ============================================================
   Course-page additions
   Everything below is specific to the three course pages. The
   per-page stylesheet loads after this file and carries the
   course layout itself.
   ============================================================ */

/* ---------- tokens the course stylesheets expect ----------
   --nav-h is the shared navbar's height once it turns fixed on scroll
   (14px padding + 90px logo + 14px padding); the sticky section tabs and
   the enrol card sit just under it. */
.course-page {
  --nav-h: 118px;
  --font-sans: var(--sans);
  --ease: cubic-bezier(.22,.61,.36,1);
}
/* the site-wide em above is sized for headline accents; inside the course
   copy an em is just the serif voice, so it takes the size of its text.
   :where() keeps this at element specificity so every sized course rule
   (hero title, FAQ, prices…) still wins. */
:where(.course-page main) em { font-size: inherit; line-height: inherit; }

/* skip link: off-screen until focused */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  padding: 10px 16px; border-radius: 4px;
  background: #000; color: #fff; font-size: 14px;
}
.skip:focus { top: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- sticky section tabs ----------
   once the course content has scrolled by (course.js adds .is-past) the row
   steps aside so it doesn't sit over the FAQ and footer */
.course-page .course-tabs-bar.is-stuck { transition: top .8s var(--ease), box-shadow .25s ease, opacity .4s ease, transform .6s var(--ease); }
.course-page .course-tabs-bar.is-stuck.is-past { opacity: 0; transform: translateY(-10px); pointer-events: none; }

/* ---------- hero heading ----------
   the course pill sits inside the <h1> so the heading carries the full SEO
   title from the content docs ("Online … Course | … Program"); stacked the
   same way the pill and title were before, and the pill keeps its own weight */
.course-page .course-hero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.course-page .course-hero__title .course-pill { font-weight: 400; }

/* ---------- plain bulleted lists in course copy ---------- */
.course-page .course-prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.course-page .course-prose li { color: var(--neutral-600); font-size: 18px; line-height: 28px; }

/* curriculum entry with a description instead of a chapter list (Gems
   "Practical Workshop") — inset to line up with the chapter rows */
.course-page .course-module__note { margin: 0; padding: 0 20px 16px; color: var(--neutral-600); font-size: 16px; line-height: 24px; }

/* ---------- description tagline strip ---------- */
.course-page .course-banner {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 12px 20px;
  background: linear-gradient(90deg, rgba(185, 144, 63, 0) 0%, rgba(185, 144, 63, .14) 50%, rgba(185, 144, 63, 0) 100%);
  color: var(--neutral-800);
  font-size: 14.5px;
  line-height: 1.3;
  text-align: center;
}
.course-page .course-banner i { color: var(--gold-500); font-size: 14px; }

/* Description zigzag — p | figure, then a full-width p, then figure | p.
   The markup is p, figure, p, figure, p in reading order, so a three-column
   grid places it with no reordering; phones fall back to one column. */
.course-page .course-prose--zigzag {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px clamp(20px, 2.2vw, 32px);
  align-items: stretch;
}
.course-page .course-prose--zigzag > :nth-child(1) { grid-column: 1 / 3; }
.course-page .course-prose--zigzag > :nth-child(2) { grid-column: 3; }
.course-page .course-prose--zigzag > :nth-child(3) { grid-column: 1 / -1; }
.course-page .course-prose--zigzag > :nth-child(4) { grid-column: 1; }
.course-page .course-prose--zigzag > :nth-child(5) { grid-column: 2 / -1; }
/* anything after the second figure (the Gems page has two closing paragraphs) runs full width */
.course-page .course-prose--zigzag > :nth-child(n+6) { grid-column: 1 / -1; }

/* ---------- skills slider: arrows over the row ----------
   vertically centred on the cards; each one hides when there's nothing
   further that way (course.js disables it) */
.course-page .course-slider--overlay { position: relative; }
.course-page .course-slider--overlay .course-slider__nav {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.course-page .course-slider--overlay .course-slider__btn {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  font-size: 22px;
  border: 0;
  background: #fff;
  box-shadow: 0 6px 16px rgba(13, 15, 26, .16), inset 0 0 0 1px var(--neutral-200);
  transition: opacity .3s ease, background .2s ease, color .2s ease;
}
.course-page .course-slider--overlay .course-slider__btn[data-dir="-1"] { margin-left: 8px; }
.course-page .course-slider--overlay .course-slider__btn[data-dir="1"] { margin-left: auto; margin-right: 8px; }
.course-page .course-slider__btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
.course-page .course-slider--overlay .course-slider__btn:disabled { opacity: 0; }

/* ---------- why-learn: titled variant (Gems page) ----------
   four cards, two by two, each with a heading */
.course-page .course-why--titled { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.course-page .course-why--titled .course-why__card { align-items: flex-start; gap: 12px; padding: 28px; }
.course-page .course-why--titled .course-why__card img { height: 52px; margin-bottom: 4px; }
.course-page .course-why--titled .course-why__card p { text-align: left; }
.course-page .course-why__t { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--neutral-900); }

/* ---------- instructor photo ----------
   720px headshot (assets/img/bpmi/expert-2.webp) inside a gold ring */
.course-page .course-instructor__ph {
  flex: none;
  display: block;
  width: 72px;
  height: 72px;
  padding: 3px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--gold-300);
  background: #fff;
}
.course-page .course-instructor__ph img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
}

/* ---------- brochure dialog ----------
   "Get Brochure" → #brochure (behaviour in course.js). Dressed as the site's
   Book GoldSense popup (book-goldsense.css): white card, uppercase field
   labels, hairline inputs, black submit. */
.brc {
  width: min(560px, calc(100vw - 32px));
  max-height: 90vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--neutral-900);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
  overflow-y: auto;
}
.brc::backdrop {
  background: rgba(13, 15, 26, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.brc[open] { animation: brcIn .3s cubic-bezier(.22, 1.1, .36, 1); }
@keyframes brcIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.brc .ldlg__in { position: relative; padding: 44px 32px 32px; }
.brc .ldlg__x {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; padding: 6px;
  border: 0; background: transparent; cursor: pointer;
  color: #8a8a97;
}
.brc .ldlg__x:hover { color: var(--neutral-900); }
.brc .ldlg__x svg { width: 100%; height: 100%; }
.brc__frm { display: flex; flex-direction: column; gap: 28px; }
.brc__head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
/* eyebrow → the site's grey pill */
.brc__head .eyebrow {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #eeeef1;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-900);
}
.brc__head .eyebrow i { display: none; }
.brc .brc__t { margin: 0; font-size: 24px; font-weight: 400; line-height: 1.3; color: var(--neutral-900); }
.brc .brc__t span { display: block; }
.brc .brc__t em { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 39px; color: var(--gold-warm); }
.brc__course { margin: 0; font-size: 14px; color: var(--neutral-600); }

.brc__rows { display: flex; flex-direction: column; gap: 16px; }
.brc .frm__f { display: flex; flex-direction: column; gap: 4px; }
.brc .frm__f label,
.brc__role legend {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 12px; line-height: 18px; text-transform: uppercase; color: var(--neutral-900);
}
.brc .frm__f label i,
.brc__role legend i { font-style: normal; text-transform: none; color: #aeaeba; }
.brc .frm__f.is-bad label i,
.brc__role.is-bad legend i { color: #e7000b; }
.brc .frm__i {
  width: 100%; padding: 13px 16px; border-radius: 2px;
  border: 1px solid var(--neutral-300); background: rgba(255, 255, 255, .4);
  font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 18px; color: var(--neutral-900);
}
.brc .frm__i::placeholder { color: #aeaeba; font-weight: 400; }
.brc .frm__i:focus { outline: none; border-color: #8b7a4f; }
.brc .frm__f.is-bad .frm__i,
.brc .frm__f.is-bad .frm__tel { border-color: #e7000b; }
/* country code + number share one bordered box */
.brc .frm__tel {
  display: flex; align-items: center; gap: 10px; padding-left: 14px;
  border: 1px solid var(--neutral-300); border-radius: 2px; background: rgba(255, 255, 255, .4);
}
.brc .frm__tel b { font-size: 12px; font-weight: 500; white-space: nowrap; }
.brc .frm__tel .frm__i { border: 0; padding-left: 0; background: transparent; }
/* script.js's OTP "Verify" button sits inside the number box at its right
   edge; keep typed digits clear of it */
.brc .frm__tel.otp-inline .frm__i { padding-right: 96px; }
.brc .frm__tel.otp-inline .frm__i[readonly] { color: var(--neutral-600); }
/* the code panel lands between the phone field and City — pull it up to the
   field it belongs to rather than leaving a full row gap */
.brc .brc__rows > .otp-block { margin-top: -8px; }
/* server-side refusal or network failure, shown above the submit button */
.brc .brc__err {
  margin: 0; padding: 10px 12px; border-radius: 4px;
  background: #fdecec; color: #b00020; font-size: 13px; line-height: 19px;
}
.brc .brc__go[aria-busy="true"] { cursor: progress; opacity: .75; }
/* the arrow means "download"; an enquiry downloads nothing */
.brc[data-mode="enquire"] .brc__go svg { display: none; }
.brc .frm__sel { position: relative; display: block; }
.brc .frm__sel select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; }
.brc .frm__sel svg {
  position: absolute; right: 14px; top: 50%; width: 16px; height: 16px;
  transform: translateY(-50%); pointer-events: none; color: var(--neutral-600);
}

.brc__role { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.brc__role legend { width: 100%; padding: 0; margin-bottom: 10px; }
.brc__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.brc__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--neutral-300);
  font-size: 13px; color: var(--neutral-800); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.brc__chip span { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--neutral-300); flex: none; }
.brc__chip:has(input:checked) { border-color: var(--neutral-900); background: #f9f9fb; }
.brc__chip:has(input:checked) span { border: 4px solid var(--neutral-900); }
.brc__chip:has(input:focus-visible) { outline: 2px solid var(--gold-500); outline-offset: 2px; }

.brc .cbx { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; line-height: 16px; color: var(--neutral-600); cursor: pointer; }
.brc .cbx__x {
  width: 18px; height: 18px; flex: none; margin-top: -1px;
  display: grid; place-items: center;
  border: 1px solid var(--neutral-300); border-radius: 2px; color: transparent;
}
.brc .cbx__x svg { width: 14px; height: 14px; }
.brc .cbx input:checked + .cbx__x { background: var(--neutral-900); border-color: var(--neutral-900); color: #fff; }

.brc__foot { display: flex; justify-content: center; }
.brc .brc__go {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 48px; padding: 0 24px;
  border: 0; border-radius: 4px; cursor: pointer;
  background: #000; color: #fff;
  font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase;
  transition: opacity .2s, transform .2s;
}
.brc .brc__go svg { width: 18px; height: 18px; }
.brc .brc__go:hover { opacity: .85; transform: translateY(-1px); }
.brc .brc__go[disabled] { opacity: .6; cursor: default; transform: none; }

/* thank-you popup (#brochure-thanks) — opens on its own once the form popup
   closes; sized and marked like the site's GoldSense success popup */
.brc-thanks { width: min(420px, calc(100vw - 32px)); }
.brc-thanks .ldlg__in { padding: 44px 32px 32px; }
.brc .sent__icon {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 4px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #eab338, #b9903f); color: #fff; font-size: 24px;
}

/* thank-you panel — the site's success card */
.brc .sent { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.brc .sent[hidden] { display: none; }
.brc .sent__k { margin: 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--neutral-600); }
.brc .sent__t { margin: 0; font-size: 28px; color: var(--neutral-900); }
.brc .sent__t em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.brc .sent__p { margin: 0; font-size: 15px; line-height: 22px; color: var(--neutral-600); }
.brc .sent__go {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 48px; margin-top: 10px;
  border: 0; border-radius: 4px; cursor: pointer;
  background: #000; color: #fff;
  font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase;
}
.brc .sent__go svg { width: 18px; height: 18px; }

/* ---------- BPMI × IIG emblems, top right of the hero ---------- */
.course-page .course-hero__logos {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.course-page .course-hero__logos img { width: auto; height: 84px; }

/* in-section headings that sit inside the copy but read at section-title size */
.course-page h3.course-section__title { margin-top: 8px; }

/* About BPMI & IIG emblems keep their aspect ratio inside the float box */
.course-page .course-about2__logo { object-fit: contain; padding: 0; }

/* ---------- numbered lists: Program Highlights + Career Opportunities ---------- */
.course-page .course-highlights,
.course-page .course-careers {
  align-self: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.course-page .course-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.course-page .course-careers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.course-page .course-highlights li,
.course-page .course-careers li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  align-content: start;
  gap: 4px 14px;
  padding: 16px 18px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  color: var(--neutral-800);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.course-page .course-highlights li > span,
.course-page .course-careers__n {
  grid-row: span 2;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 24px;
  color: var(--gold-500);
}
.course-page .course-careers strong { color: var(--neutral-900); font-weight: 500; }
.course-page .course-careers p { grid-column: 2; margin: 0; color: var(--neutral-600); font-size: 14px; font-weight: 400; line-height: 20px; }

@media (max-width: 900px) {
  .course-page .course-hero__logos { position: static; order: -1; }
  .course-page .course-hero__logos img { height: 60px; }
  .course-page .course-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- subheadings read at section-title size, in black ---------- */
.course-page .course-subhead { margin: 8px 0 0; color: var(--neutral-900); font-size: 24px; font-weight: 500; line-height: 34px; }

/* ---------- sticky enrol card: narrower and short enough that the price,
   CTA and advisor row all stay in view while the page scrolls ---------- */
body.course-page { --course-card-w: 340px; }
.course-page .course-enrol__media { height: 260px; padding: 14px 16px; }
.course-page .course-enrol__body { padding: 16px 18px 14px; gap: 12px; }
.course-page .course-enrol__amount em { font-size: 36px; line-height: 38px; }
.course-page .course-enrol__pricing { flex-wrap: wrap; }
.course-page .course-enrol__price { flex: 1 0 auto; min-width: 0; }
.course-page .course-enrol__reviews { flex: 0 0 auto; }
.course-page .course-enrol__emi { margin: 0; }
.course-page .course-enrol__actions { display: block; }
.course-page .course-enrol__buy { width: 100%; height: 50px; justify-content: center; }
.course-page .course-enrol__advisor { padding-top: 12px; padding-bottom: 12px; }
@media (min-width: 901px) and (max-height: 820px) {
  .course-page .course-enrol__media { height: 220px; }
}
@media (min-width: 901px) and (max-height: 720px) {
  .course-page .course-enrol__media { height: 170px; }
}
@media (min-width: 901px) and (max-height: 600px) {
  .course-page .course-enrol__media { height: 110px; }
  .course-page .course-enrol__emi { display: none; }
}

/* compare cards: rows fill the card so every "Explore Course" button and
   the "You're viewing" note sit on the same bottom line */
.course-page .course-compare__col { display: flex; flex-direction: column; }
.course-page .course-compare__rows { flex: 1 1 auto; }
.course-page .course-compare__cta,
.course-page .course-compare__current { margin-top: auto; }
@media (min-width: 901px) and (max-width: 1100px) {
  body.course-page { --course-card-w: 300px; --course-gap: 32px; }
  .course-page .course-enrol__amount em { font-size: 30px; line-height: 32px; }
  .course-page .course-enrol__advisor { font-size: 13px; }
}


/* ---------- mobile CTA bar (shown by course.js below 900px) ---------- */
.course-mbar { display: none; }
@media (max-width: 900px) {
  .course-mbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 180;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--neutral-200, #eeeef1);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .course-mbar.is-on { transform: none; }
  .course-mbar__price { margin: 0; display: flex; flex-direction: column; line-height: 1.1; }
  .course-mbar__price em { font-family: var(--serif); font-style: italic; font-size: 26px; color: #5c491f; }
  .course-mbar__price span { font-size: 11px; color: var(--neutral-600); }
  .course-mbar__cta { flex: 0 1 220px; height: 46px; justify-content: center; }
  html.course-mbar-on .bg-fab { bottom: 84px; }
  .course-page .course-enrol__card { max-width: none; }
  .course-page .course-enrol__media { height: 220px; }
}

@media (max-width: 640px) {
  .course-page .course-prose--zigzag { grid-template-columns: minmax(0, 1fr); }
  .course-page .course-prose--zigzag > * { grid-column: 1 / -1 !important; }
  .course-page .course-banner { font-size: 13.5px; padding-inline: 12px; }
  .course-page .course-hero__logos img { height: 48px; }
  .course-page .course-subhead { font-size: 20px; line-height: 28px; }
  .course-page .course-author { flex-direction: column; align-items: stretch; gap: 12px; }
  .course-page .course-author__brochure { justify-content: center; width: 100%; margin: 0; border: 1px solid var(--neutral-200, #eeeef1); }
  .course-page .course-highlights,
  .course-page .course-careers { grid-template-columns: minmax(0, 1fr); }
  .course-page .course-why--titled { grid-template-columns: 1fr; }
  .brc .ldlg__in { padding: 40px 20px 24px; }
}

/* ---------- Placement: larger partner logos ---------- */
.course-page .course-logos { padding: 32px 0; }
.course-page .course-logos__track { gap: 72px; }
.course-page .course-logos__track img { height: 56px; max-width: 200px; }
@media (max-width: 640px) {
  .course-page .course-logos { padding: 24px 0; }
  .course-page .course-logos__track { gap: 48px; }
  .course-page .course-logos__track img { height: 44px; max-width: 150px; }
}

/* ---------- Testimonials: IIG alumni ---------- */
.course-page .course-testimonial { flex: 0 0 360px; }
.course-page .course-testimonial blockquote { font-size: 14px; line-height: 22px; }
@media (max-width: 640px) {
  .course-page .course-testimonial { flex-basis: 85%; }
}

/* ---------- price + reviews pill on one line ---------- */
.course-page .course-enrol__pricing { flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 10px; }
.course-page .course-enrol__price { flex: 0 1 auto; }
.course-page .course-enrol__amount em { font-size: 34px; line-height: 36px; white-space: nowrap; }
.course-page .course-enrol__reviews { flex: 0 0 auto; width: auto; padding: 6px 10px; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 0 4px; }
.course-page .course-enrol__reviews .fa-star { font-size: 12px; }
.course-page .course-enrol__reviews-value { font-size: 13px; }
.course-page .course-enrol__reviews-label { grid-column: 1 / -1; font-size: 11px; line-height: 14px; white-space: nowrap; }
.course-page .course-enrol__note { white-space: nowrap; font-size: 13px; }
@media (min-width: 901px) and (max-width: 1100px) {
  .course-page .course-enrol__amount em { font-size: 28px; line-height: 30px; }
}
@media (max-width: 360px) {
  .course-page .course-enrol__amount em { font-size: 28px; line-height: 30px; }
}
