/**
 * ONLY FOR THE BS5 MIGRATION IN PROGRESS.
 *
 * All CSS in this file should be custom-written.
 * Do not include Bootstrap or other already-minified CSS in this file.
 *
 * To deploy, the contents of this file should be minified, then placed
 * at the end of main.min.css
 *
 * - Gregor Morrill, Stevens & Stevens
 */
/* ===================================================================
   AT*SQA — site styles
   Bootstrap 5 handles grid + container-fluid; this layer carries the
   brand identity, components, hero rotation, and scroll-reveal motion.
   =================================================================== */

:root {
  /* Brand palette */
  --lgold: #ffc86e;
  --gold:    #eb9e21;
  --dgold:    #b67711;

  --ink:     #0e0b1a;   /* near-black background */
  --plum:    #1c1733;   /* dark purple panel */
  --purple:  #8b5cf6;
  --dpurple: #7137f5;
  --cyan:    #4bbaea;
    --dcyan:    #2891BD;

  --lav:     #e2ddf0;   /* light lavender */
  --lavwht: #f8f6fe;
  --white:   #ffffff;
  --black:   #000000;

  /* Derived */
  --plum-2:  #251d44;
  --line:    rgba(226,221,240,.8);
  --gold-soft: rgba(235,158,33,.14);

  --link-color: var(--dcyan);
  --link-hover-color: var(--dgold);
  
  /* Type */
  --ff: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 15px;
  --radius-lg: 20px;
  --maxw: 1320px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (min-width: 1900px) {
  :root {
    --maxw: 1800px;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.section {
  overflow-x: hidden;
}

main.container-fluid {padding-left: 0;padding-right: 0;}

img { max-width: 100%; display: block; }

.asterisk { font-family: 'Mulish', sans-serif; font-weight: 700; position: relative; vertical-align: middle;}

a { color: var(--link-color); text-decoration: none; }
a:hover { color: var(--link-hover-color); }

.feature-card, .blue-card, .bg-ink, .bg-plum {
  --link-color: var(--cyan);
  --link-hover-color: var(--gold);
}


h1,h2,h3,h4 { font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

.inside h1 { font-size: clamp(2.1rem, 5vw, 2.6rem); color: var(--ink); }
.inside h2 { font-size: clamp(1.8rem, 3.5vw, 1.7rem); color: var(--dgold);}

h2.hp-larger { font-size: clamp(1.7rem, 6.4vw, 4.6rem); }
span.h2-smaller { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
span.small-title { font-size: clamp(1rem, 2.4vw, 1.6rem); }

.measure { max-width: 62ch; }
.inner { max-width: var(--maxw); margin-inline: auto; }

.border-btm-lt {border-bottom: 1px solid var(--lav)}

/* Accent helpers ---------------------------------------------------- */
.t-gold   { color: var(--gold)!important; }
.t-dgold   { color: var(--dgold)!important; }

.t-purple { color: var(--purple)!important; }
.t-cyan   { color: var(--cyan)!important; }
.t-ink   { color: var(--ink)!important; }
.t-white   { color: var(--white)!important; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .9rem;
}
.eyebrow.alt { color: var(--dpurple); }
.eyebrow.alt-b { color: var(--ink); }

/* Buttons ----------------------------------------------------------- */
.btn { font-family: var(--ff); font-weight: 600; border-radius: 10px;font-size:1.2rem;
    padding: 10px 25px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }

/* WCAG 2.4.7 / 508 — restore visible focus ring that Bootstrap resets */
.btn:focus-visible,
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn:active { transform: translateY(1px); }
/* ---- btn-cyan / btn-primary ---- */
.btn-cyan, .btn-primary {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--white);
  --bs-btn-bg: var(--dcyan);
  --bs-btn-border-color: var(--dcyan);
  --bs-btn-border-width: 2px;
  --bs-btn-hover-bg: var(--cyan);
  --bs-btn-hover-color: #06222e;
  --bs-btn-hover-border-color: var(--cyan);
  --bs-btn-active-bg: var(--dcyan);
  --bs-btn-active-color: var(--white);
  --bs-btn-active-border-color: var(--dcyan);
}

/* ---- btn-gold ---- */
.btn-gold {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--white);
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-border-width: 2px;
  --bs-btn-hover-bg: var(--dgold);
  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-border-color: var(--dgold);
  --bs-btn-active-bg: var(--gold);
  --bs-btn-active-color: var(--white);
  --bs-btn-active-border-color: var(--dgold);
}

/* ---- btn-ghost ---- */
.btn-ghost {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--white);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255,255,255,.5);
  --bs-btn-border-width: 2px;
  --bs-btn-hover-bg: rgba(255,255,255,.1);
  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-border-color: var(--white);
  --bs-btn-active-bg: rgba(255,255,255,.15);
  --bs-btn-active-color: var(--white);
  --bs-btn-active-border-color: var(--white);
}

/* ---- btn-outline-cyan / btn-outline-primary ---- */
.btn-outline-cyan, .btn-outline-primary {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--dcyan);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--dcyan);
  --bs-btn-border-width: 2px;
  --bs-btn-hover-bg: var(--dcyan);
  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-border-color: var(--dcyan);
  --bs-btn-active-bg: var(--dcyan);
  --bs-btn-active-color: var(--white);
  --bs-btn-active-border-color: var(--dcyan);
}

/* ---- btn-outline-ink ---- */
.btn-outline-ink {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--ink);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--ink);
  --bs-btn-border-width: 1px;
  --bs-btn-hover-bg: var(--ink);
  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-bg: var(--ink);
  --bs-btn-active-color: var(--white);
  --bs-btn-active-border-color: var(--ink);
}

/* ---- btn-outline-gold ---- */
.btn-outline-gold {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--dgold);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--dgold);
  --bs-btn-border-width: 2px;
  --bs-btn-hover-bg: var(--dgold);
  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-border-color: var(--dgold);
  --bs-btn-active-bg: var(--dgold);
  --bs-btn-active-color: var(--white);
  --bs-btn-active-border-color: var(--dgold);
}

/* ---- btn-outline-white ---- */
.btn-outline-white {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--white);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--white);
  --bs-btn-border-width: 2px;
  --bs-btn-hover-bg: var(--white);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-border-color: var(--white);
  --bs-btn-active-bg: var(--white);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-border-color: var(--white);
}

.btn-sm {font-size:1rem; padding: 5px 10px;}

/* ===================================================================
   HEADER  /  MEGA MENU
   =================================================================== */
/* Utility bar */
.utility-bar { background: var(--ink); color: var(--lav); font-size: .7rem; }
.utility-bar a { color: var(--lav); opacity: 1; text-decoration: none; }
.utility-bar a:hover { opacity: 1; color: var(--white); }
.util-account { border: 1px solid var(--gold); color: var(--gold); background: transparent; padding: 5px 7px;}
.util-account:hover { background: var(--gold); color: #2a1c00; }

.utility-bar .btn-gold {color: var(--white)!important;}
.utility-bar .btn-outline-white:hover {color: var(--ink);}


/* Brand */
.brand { font-weight: 800; font-size: 1.6rem; letter-spacing: .02em; color: var(--white); }
.brand .star { color: var(--gold); }
.brand:hover { color: var(--white); }

/* Bootstrap navbar — brand theming */
.site-header { background: var(--ink); border-bottom: 1px solid var(--line); z-index: 1030; }
.site-header .nav-link { color: var(--lav); font-weight: 600; padding: 1.25rem 1rem;
  border-bottom: 3px solid transparent; }
.site-header .nav-link:hover,
.site-header .nav-item.show > .nav-link,
.site-header .nav-link.show { color: var(--white); border-bottom-color: var(--gold); }
.navbar-toggler { border-color: var(--line); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(235,158,33,.4); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23e2ddf0' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* Mega dropdown: full-width panel on desktop */
.dropdown-menu.mega { background: var(--plum); border: 0; border-top: 1px solid var(--line);
  border-radius: 0; box-shadow: 0 24px 48px rgba(0,0,0,.4); padding: 0; margin: 0; }
.dropdown-menu.mega h4 { color: var(--gold); font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: .6rem;}
.dropdown-menu.mega .dropdown-item { color: var(--lav); font-weight: 500; font-size: .85rem;
  padding: .15rem 0; white-space: normal; }
.dropdown-menu.mega .dropdown-item:hover,
.dropdown-menu.mega .dropdown-item:focus { background: transparent; color: var(--white); }
.mega-feature { background: var(--plum-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem; }
.mega-feature .eyebrow { margin-bottom: .4rem; }
.mega-feature strong { color: var(--white); display: block; }
.mega-feature p { font-size: .9rem; margin: .5rem 0 1rem; }

@media (min-width: 992px) {
  /* position-static on the li lets the dropdown span the full width */
  .dropdown-menu.mega { left: 0; right: 0; width: 100%; }
}
@media (max-width: 991.98px) {
  /* mobile: dropdowns sit inside the collapsed navbar in normal flow */
  .site-header .nav-link { padding: .75rem .25rem; border-bottom: 1px solid var(--line); }
  .dropdown-menu.mega { box-shadow: none; border-top: 0; background: rgba(0,0,0,.2); }
  .dropdown-menu.mega .row { --bs-gutter-y: 1rem; }
}

/* ===================================================================
   HERO  (video bg + rotating text)
   =================================================================== */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center;
  overflow: hidden; background: var(--ink); color: var(--white); }
.hero.hero--static { min-height: 52vh; }
.hero.hero--static.micro-banner { min-height: 25vh; }

.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; }



.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,11,26,.85) 0%, rgba(14,11,26,.55) 45%, rgba(14,11,26,.25) 100%); }
.hero[data-hero-rotate]::after {
  background: linear-gradient(180deg, rgba(14,11,26,.55) 0%, rgba(14,11,26,.35) 50%, rgba(14,11,26,.65) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin-inline: auto;
  width: 100%; padding: 3rem 1.5rem; }
.hero[data-hero-rotate] .hero-inner { display: flex; justify-content: center; }
.hero-rotator { position: relative; min-height: 20rem; width: 100%; max-width: 44rem; }
.hero-text { position: absolute; inset: 0; opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.hero-text.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero-card { background: rgba(14,11,26,.45); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 2rem; }
.hero-tag { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
  display: block; margin-bottom: .8rem; }
.hero h1 { color: var(--white); }
.hero p.lead { color: var(--lav); font-size: 1.5rem; }
/* static hero variant — left aligned gold/white headline */
.hero--static .hero-inner h1 .ink2 { color: var(--white); display: block; }
.hero-dots { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .6rem; z-index: 3; }
.hero-dots button { width: 30px; height: 4px; border: 0; border-radius: 2px;
  background: rgba(255,255,255,.3); cursor: pointer; transition: background .25s; padding: 0; }
.hero-dots button.active { background: var(--gold); }
.hero-meta { position: absolute; top: 1rem; right: 1.5rem; z-index: 3; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }

.gradient {
    background: #0E0B1A;
    background-image: url(/assets/images/left-banner-bg.png), linear-gradient(180deg, rgba(14, 11, 26, 1) 0%, rgb(48 4 120) 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: cover;
    background-position: center right;
  }

.micro-banner {
    background: #0E0B1A;
    background-image: url(/assets/images/right-banner-bg.png), linear-gradient(180deg, rgba(14, 11, 26, 1) 0%, rgb(48 4 120) 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: cover;
    background-position: center right;
  }

  .left-banner {
    background: #0E0B1A;
    background-image: url(/assets/images/left-banner-bg.png), linear-gradient(180deg, rgba(14, 11, 26, 1) 0%, rgb(48 4 120) 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: cover;
    background-position: center left;
  }

/* ===================================================================
   SECTIONS / BANDS
   =================================================================== */
.section { padding-block: var(--section-y); }
.section .inner { padding-inline: 1.5rem; }
.bg-blk   { background: var(--black);  color: var(--white); }
.bg-ink   { background: var(--ink);  color: var(--lav); }
.bg-plum  { background: var(--plum); color: var(--lav); }
.bg-lav   { background: var(--lav);  color: var(--ink); }
.bg-white { background: var(--white); color: var(--ink); }
.bg-ink h2, .bg-plum h2, .bg-ink h3, .bg-plum h3 { color: var(--white); }
.bg-lbg {background: #4BBAEA; background: linear-gradient(180deg,rgba(75, 186, 234, 0.39) 0%, rgba(255, 255, 255, 1) 100%);}
.section-head { text-align: center; max-width: 56ch; margin: 0 auto 3rem; }
.bg-ink-grad { background: #1C1733; background: linear-gradient(0deg,rgba(28, 23, 51, 1) 0%, rgba(0, 0, 0, 1) 100%);  color: var(--lav); }

/* intro strip under hero */
.introband { background: var(--ink); color: var(--lav); text-align: center; padding-block: 2.6rem; }
.introband p { max-width: 60ch; margin: 0 auto 1.2rem; }

/* CTA image cards (3-up) */
.imgcard { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 260px;
  display: flex; align-items: flex-end; color: var(--white); }
.imgcard img { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: 0; }
.imgcard::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: #0E0B1A;background: linear-gradient(180deg,rgba(14, 11, 26, 0) 0%, rgba(14, 11, 26, 1) 64%);}
.imgcard .body { position: relative; z-index: 2; padding: 1.6rem; }
.imgcard h3 { color: var(--white); margin-bottom: .3rem; }
.imgcard p { color: var(--lav); margin: 0; font-size: .95rem; }

/* benefit star grid */
.benefit { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
  background: rgba(255,255,255,.5); }
.bg-white .benefit { background: #fff; border: 1px solid #efefef }
.benefit .star { color: var(--gold); font-size: 1.4rem; line-height: 1; margin-bottom: .8rem; display: block; }
.benefit h4 { font-size: 1rem; margin-bottom: .35rem; }
.benefit p { font-size: .9rem; color: #5b5570; margin: 0; }
.bg-plum .benefit p, .bg-ink .benefit p { color: var(--lav); opacity: .8; }
.benefit-icon {
  width: 40px;
    height: 40px;
    border-radius: 5px;
  background: #faefc2;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* checklist */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: 1rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }

/* feature card (gold-bordered dark panel) */
.feature-card { background: rgba(37, 29, 68, 0.45);background: rgb(from var(--plum-2) r g b / 0.45); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 1.8rem; }
.blue-card .price, .feature-card .price { font-size: 2rem; font-weight: 800; color: var(--white); }
.blue-card .tag, .feature-card .tag { font-size: .78rem; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; }

.blue-card { color: var(--white); background: var(--plum-2);background: rgb(from var(--plum-2) r g b / 1); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 1.8rem; }


/* pricing cards (landing) */
.cert-card, .pricecard { background: #fff; color: var(--ink); border-radius: var(--radius);
  border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 1.8rem; height: 100%; }
.cert-card.dark, .pricecard.dark { background: var(--plum-2); color: var(--lav); }
.cert-card.dark h3, .pricecard.dark h3 { color: var(--white); }
.cert-card .price, .pricecard .price { font-size: 1.6rem; font-weight: 800; margin: 1rem 0; }
.cert-card .label, .pricecard .label { font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dpurple); }
.cert-card.dark .label, .pricecard.dark .label { font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; color: var(--lav); }

.prereq {border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; border-color: var(--lav);font-size: .6rem;
    color: var(--dpurple);margin-top:5px;}

/* steps */
.step { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: 0 10px 30px rgba(14,11,26,.12);
  margin-bottom: 1rem; }
.step .num, h2.letter { display: inline-flex; width: 2rem; height: 2rem; border-radius: 8px; background: var(--dpurple);
  color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: .6rem; }
.step h4 { font-size: 1rem; margin: 0 0 .25rem; }
.step p { margin: 0; font-size: .9rem; color: #5b5570; }

/* testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
  height: 100%; }
.gold-border { border: 1px solid var(--gold); }
.quote .stars { color: var(--gold); letter-spacing: .1em; margin-bottom: .6rem; font-size: 1.4rem;}
.quote .flag {
    font-size: .7rem;
    color: var(--ink);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .8rem;
    background: var(--gold);
    text-align: center;
    border-radius: 5px;
    display: inline;
    padding: 5px;
}

/* badges row */
.badge-circle { text-align: center; }
.badge-circle img { width: 130px; margin: 0 auto .6rem; }
.badge-circle span { font-size: .82rem; color: var(--lav); }

/* video band */
.videobox { background: #000; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center; position: relative; }
.videobox img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.videobox .play { position: absolute; width: 72px; height: 72px; border-radius: 50%;
  background: rgba(75,186,234,.9); display: flex; align-items: center; justify-content: center; }
.videobox .play::after { content: ""; border-left: 18px solid #06222e; border-top: 11px solid transparent;
  border-bottom: 11px solid transparent; margin-left: 5px; }

/* tiers row (light) */
.tilecard { border-radius: var(--radius); overflow: hidden; background: #fff; height: 100%;
  border: 1px solid var(--line); }
.tilecard .img { position: relative; aspect-ratio: 16/10; }
.tilecard .img img { height: 100%; object-fit: cover; }
.tilecard .img span.tile { position: absolute; left: 1rem; bottom: 1rem; color: #fff; font-weight: 800;
  font-size: 1.5rem; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.tilecard .body { padding: 1.4rem; }
.tilecard h4 { font-size: 1.05rem; }
.tilecard p { font-size: .9rem; color: #5b5570; margin: 0; }


    .tilecard .tile-logo {
      position: absolute;
      bottom: 12px;
      left: 12px;
      width: auto;
          height: 100px !important;
    max-width: 100%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.85);
      border-radius: 6px;
      padding: 6px 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
    }
    .tilecard .tile-brand {
      display: block;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--gold, #c9992c);
      margin-bottom: 0.35rem;
    }

/* partner band */
.partner { background: var(--lavwht); text-align: center; }

/* image boxes  */
.img-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-inline: auto;
}

.img-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Certification page: skills verb grid ---- */
.skill-tile { background: var(--plum-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; height: 100%; border-top: 3px solid var(--cyan); }
.skill-tile h3 { color: var(--gold); font-size: 1.05rem; margin: 0 0 .4rem; }
.skill-tile p { color: var(--lav); font-size: .9rem; margin: 0; opacity: .9; }

.skill-tile-white { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; height: 100%; border-top: 3px solid var(--cyan); }
.skill-tile-white h3 { color: var(--dgold); font-size: 1.05rem; margin: 0 0 .4rem; }
.skill-tile-white p { color: var(--ink); font-size: .9rem; margin: 0; opacity: .9; }


/* ---- Certification page: exam-format strip ---- */
.exam-format { background: var(--plum-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.exam-format .ef-label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  font-weight: 700; }
.exam-format .ef-val { color: var(--white); font-weight: 600; }

/* ---- Free resources: syllabus / sample-exam rows ---- */
.resource-card { background: #fff; color: var(--ink); border-radius: var(--radius); border: 1px solid var(--line);
  border-top: 4px solid var(--gold); padding: 1.5rem; height: 100%; }
.resource-card.dark { background: var(--plum-2); color: var(--lav); border-top-color: var(--cyan); }
.resource-card.dark h4, .resource-card.dark h3 { color: var(--white); }
.resource-row { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.resource-row:last-child { border-bottom: 0; }
.resource-row h4 { font-size: 1rem; margin: 0 0 .5rem; }
.resource-row .badge-img { width: 64px; height: auto; margin-bottom: .75rem; }
.resource-meta { font-size: .82rem; color: #5b5570; margin: 0 0 .75rem; }
.resource-card.dark .resource-meta { color: var(--lav); opacity: .8; }
.dl-links { display: flex; flex-wrap: wrap; gap: .5rem; }

/* =====================================================================
   MICRO-CREDENTIAL CARDS  (.mc-card)
   ===================================================================== */
.mc-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
 display: flex; flex-direction: column; overflow: hidden; }
.mc-card-badge { background: var(--plum); padding: 1.5rem; text-align: center; }
.mc-card-badge img { width: 90px; height: 90px; object-fit: contain; margin:auto; }
.mc-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.mc-card-badge h3 { font-size: .9rem; margin: 0; }
.mc-card-body h3 { font-size: .9rem; margin: 0; }
.mc-card-body .price { font-size: 1.3rem; font-weight: 800; }
.mc-card-body .d-flex { margin-top: auto; }
.mc-card-body .label { color: var(--dpurple); font-size:.8rem; font-weight: 600;text-transform:uppercase; }

.mc-stackable { display: inline-block; font-size: .95rem; font-weight: 700; color: var(--dgold);
  letter-spacing: .06em; text-transform: uppercase; margin-top: .25rem; }

 
/* SkillStack cert page: stacked microcred rows */
.mc-stack-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--line); }
.mc-stack-row:last-child { border-bottom: 0; }
.mc-stack-row img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.mc-stack-row-body h4 { margin: 0 0 .25rem; color: var(--white); font-size: 1rem; }
.mc-stack-row-body p { margin: 0; font-size: .85rem; color: var(--lav); opacity: .85; }
.mc-stack-row-body .dl-links { margin-top: .5rem; }
 
/* mc-desc: hidden on listing/card views, shown on detail page via .mc-show-desc wrapper */
.mc-desc { display: none; }
.mc-show-desc .mc-desc { display: block; }
.micro-pg .mc-card-badge { display:none; }

/* =====================================================================
   Tables
   ===================================================================== */

.table-dark {
    --bs-table-color: var(--lav);
    --bs-table-bg: var(--plum);
    --bs-table-border-color: #4d5154;
    --bs-table-striped-bg: var(--plum-2);
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: var(--plum);
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: var(--plum);
    --bs-table-hover-color: #fff;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
  }


/* =====================================================================
   ACCOUNT PAGE
   ===================================================================== */


/* Layout */
.dash-wrap { display: flex; min-height: calc(100vh - 60px); }

/* Sidebar */
.dash-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--plum);
  border-right: 1px solid var(--line);
  padding: 1.5rem 0;
  position: sticky; top: 60px; height: calc(100vh - 60px);
  overflow-y: auto;
}
.dash-sidebar .user-block {
  padding: .75rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .75rem;
}
.dash-sidebar .user-block .greeting {
  font-size: .78rem; color: var(--lav); opacity: .7; margin-bottom: .2rem;
}
.dash-sidebar .user-block .name {
  font-weight: 700; font-size: 1rem; color: var(--white);
}
.sb-section { padding: 0 .75rem; margin-bottom: .25rem; }
.sb-section-label {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lav); opacity: .5; padding: .75rem .5rem .35rem;
}
.sb-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .75rem; border-radius: var(--radius);
  color: var(--lav); font-size: .9rem; font-weight: 500;
  text-decoration: none; transition: background .15s;
}
.sb-link:hover { background: rgba(255,255,255,.06); color: var(--white); }
.sb-link.active { background: rgba(255,255,255,.1); color: var(--white); }
.sb-link svg { width: 16px; height: 16px; opacity: .7; flex-shrink: 0; }
.sb-link.active svg { opacity: 1; }

/* Main content */
.dash-main {
  flex: 1; min-width: 0;
  background: #f4f3f8;
  padding: 2rem;
}

/* Alert banner */
.dash-alert {
  background: var(--lav); border: 1px solid var(--ink);
  border-radius: var(--radius); padding: .75rem 1rem;
  font-size: .88rem; color: var(--ink); margin-bottom: 1.5rem;
}
.dash-alert a { color: var(--purple); font-weight: 700; }

/* Section heading */
.dash-section{ margin-bottom: 2rem; }
.dash-section-title {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: #888; margin-bottom: .75rem; font-weight: 600;
}

/* Cards */
.ac-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid #e4e1ef; padding: 1.25rem;
}
.ac-card h4 { font-size: .85rem; color: #888; margin: 0 0 .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ac-card h5 { font-size: 1rem; color: var(--ink); margin: 0 0 .4rem; font-weight: 600; }
.ac-card p { font-size: .88rem; color: #666; margin: 0 0 .75rem; line-height: 1.5; }

/* Gold outline buttons (matches existing site style) */
.btn-ac {
  display: block; width: 100%; text-align: center;
  border: 1px solid var(--gold); color: var(--gold);
  background: transparent; border-radius: var(--radius);
  padding: .4rem .75rem; font-size: .82rem; font-weight: 600;
  text-decoration: none; margin-bottom: .4rem; transition: background .15s, color .15s;
}
.btn-ac:hover { background: var(--gold); color: #fff; }
.btn-ac.cyan { border-color: var(--cyan); color: var(--cyan); }
.btn-ac.cyan:hover { background: var(--cyan); color: #fff; }
.btn-ac.solid { background: var(--gold); color: #fff; }
.btn-ac.solid:hover { background: #c98500; }

/* Exam result badge */
.result-score { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }

/* Cert list */
.cert-list { list-style: none; margin: 0; padding: 0; }
.cert-list li {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem 0; border-bottom: 1px solid #f0eefa; font-size: .88rem;
}
.cert-list li:last-child { border-bottom: 0; }
.cert-type { font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: .2rem .5rem; border-radius: 20px; flex-shrink: 0; }
.cert-type.istqb { background: #e6f1fb; color: #185fa5; }
.cert-type.mc { background: #e2ddf0; color: var(--purple); }
.cert-info { flex: 1; min-width: 0; }
.cert-info strong { display: block; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cert-info span { font-size: .78rem; color: #999; }
.cert-actions { display: flex; gap: .35rem; flex-shrink: 0; }
.cert-actions a {
  font-size: .75rem; padding: .2rem .5rem; border-radius: 4px;
  text-decoration: none; border: 1px solid #ddd; color: #555; background: #f9f9f9;
  white-space: nowrap; transition: background .15s;
}
.cert-actions a:hover { background: #eee; }
.cert-actions a.linkedin { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.cert-actions a.linkedin:hover { background: #084c93; }

/* Search Results List */

 .result-banner {
    background: var(--plum-2, #f4f2fa);
    border-left: 4px solid var(--cyan, #2ec4d6);
    border-radius: var(--radius, 8px);
    padding: 1.25rem 1.5rem;
  }
  .result-banner--empty {
    border-left-color: var(--gold, #d6a72e);
  }
  .tester-card {
    border-top: 3px solid var(--gold, #d6a72e) !important;
    padding: .5rem;
  }
  .tester-card-name {
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
  }
  .tester-card-name:hover {
    text-decoration: underline;
  }
  .tester-card-credentials {
    display: block;
    font-size: .85rem;
    margin: .25rem 0 .75rem;
  }

  
/* Voucher alert */
.voucher-alert {
  background: #fffbe6; border: 1px solid #f5c842;
  border-radius: var(--radius); padding: .75rem 1rem;
  font-size: .85rem; color: #5a4200; margin-bottom: .75rem;
}

/* ===================================================================
   LOGIN / SPLIT-PANEL AUTH LAYOUT
   =================================================================== */
.auth-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.auth-panel {
  background: var(--plum-2);
  border-radius: var(--radius) 0 0 var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}

.auth-card {
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 24px 48px rgba(14, 11, 26, .18);
  padding: 3rem;
  height: 100%;
  color: var(--ink);
}

/* Below lg breakpoint, the brand panel is hidden (d-none d-lg-flex)
   and the card becomes the only column, so it needs all four
   corners rounded and shouldn't rely on height:100% from a sibling */
@media (max-width: 991.98px) {
  .auth-card {
    border-radius: var(--radius);
    height: auto;
  }
}

/* Tighten padding on small phones so the card doesn't feel cramped
   against the viewport edges */
@media (max-width: 575.98px) {
  .auth-panel,
  .auth-card {
    padding: 2rem 1.5rem;
  }
}

/* ===================================================================
   QUIET UTILITY PANELS — account/next-step/access pages
   Lower visual weight than .feature-card / .blue-card, for
   transactional pages where calm > brand impact.
   =================================================================== */
.quiet-panel {
  background: #fafafa;
  border: 1px solid #e4e1ef;
  border-radius: var(--radius);
  padding: 2rem;
}

.quiet-notice {
  background: #f4f3f8;
  border-left: 3px solid #c9c4dd;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--ink);
  font-size: .92rem;
}

.quiet-notice--success {
  border-left-color: #6ba97e;
  background: #f3f8f4;
}


/* =====================================================================
   TEXT PAGE WITH SIDEBAR  (.text-page-wrap)
   ===================================================================== */


.text-page-content .cta-box { background: var(--lav); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }

.lav-box { background: var(--lav); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; color: var(--plum); }

.text-page-content .lead { color: var(--cyan); }

/* Sidebar */
.text-sidebar { gap: 1.25rem; }
.sidebar-widget { background: #fff; border: 1px solid #e4e1ef; border-radius: var(--radius);
  border-top: 3px solid var(--gold); padding: 1.25rem; }
.sidebar-widget.sidebar-cta { border-top-color: var(--cyan); background: var(--plum); }
.sidebar-widget.sidebar-cta h4 { color: var(--white); }
.sidebar-widget.sidebar-cta p { color: var(--lav); font-size: .88rem; margin-bottom: .75rem; }
.sidebar-widget h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink); margin: 0 0 .75rem; font-weight: 700; }
.sidebar-links { list-style: none; margin: 0; padding: 0; }
.sidebar-links li { border-bottom: 1px solid #f0eefa; }
.sidebar-links li:last-child { border-bottom: 0; }
.sidebar-links a { display: block; padding: .4rem 0; font-size: .88rem; color: var(--dcyan);
  text-decoration: none; line-height: 1.4; }
.sidebar-links a:hover { color: var(--ink); }
 



/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--ink); color: var(--lav); padding-top: 3.5rem; }
.site-footer h5 { color: var(--gold); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--lav); opacity: .82; font-size: .92rem; }
.site-footer a:hover { opacity: 1; color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding: 1.6rem 0; }
.footer-bottom .brand { font-size: 1.3rem; }
.footer-legal { font-size: .72rem; color: rgba(226,221,240,.75); line-height: 1.5; }
.footer-card {border: 1px solid var(--plum-2); border-radius: 5px; padding:1rem;}
.footer-social a { color: var(--lav); opacity: .7; }
.footer-social a:hover { opacity: 1; color: var(--white); }

/* Responsive */
@media (max-width: 767px) {
  .dash-sidebar { display: none; }
  .dash-main { padding: 1rem; }
}

@media (max-width: 767.98px) {
    .table-responsive-stack thead {
        display: none;
    }
    .table-responsive-stack,
    .table-responsive-stack tbody,
    .table-responsive-stack tr,
    .table-responsive-stack td {
        display: block;
        width: 100%;
    }
    .table-responsive-stack tr {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 4px;
        padding: 0.5rem 0.75rem;
    }
    .table-responsive-stack td {
        border: none !important;
        padding: 0.25rem 0 !important;
        text-align: left !important;
    }
    .table-responsive-stack tr + tr {
        border-top: none;
    }
    .table-responsive-stack td::before {
        content: attr(data-label) ": ";
        font-weight: 600;
    }
    .table-responsive-stack.table-striped tbody tr:nth-of-type(odd) {
        background-color: var(--bs-table-striped-bg);
    }
}
