/* New Patient Group — final visual polish layer */
:root {
  --npg-blue: #1D51DB;
  --npg-blue-bright: #4a78f0;
  --npg-ink: #0a1626;
  --npg-panel: rgba(16, 28, 48, .82);
  --npg-border: rgba(143, 170, 235, .18);
  --npg-muted: #aeb7c8;
}

body {
  background-color: var(--npg-ink);
  background-image: radial-gradient(850px circle at 88% 6%, rgba(29, 81, 219, .16), transparent 54%),
    radial-gradient(700px circle at 7% 48%, rgba(29, 81, 219, .1), transparent 52%);
}

/* Brand alignment: New Patient Group's palette is teal / silver / blue, not black.
   Every "near-black" section background across the page is overridden here to a
   dark navy-teal tone instead, so the site reads as dark-blue rather than dark-black. */
[class*="bg-[#0"] {
  background-color: #0a1626 !important;
}
[class*="from-[#0"] {
  --tw-gradient-from: #0a1626 !important;
}
[class*="via-[#0"] {
  --tw-gradient-via: #0d1c32 !important;
}
[class*="to-[#0"] {
  --tw-gradient-to: #0a1626 !important;
}

/* A compact, repeatable visual language for all interactive components. */
.btn-primary {
  min-height: 3.25rem;
  padding: 0 1.35rem;
  border-radius: .5rem;
  background: var(--npg-blue);
  border-color: rgba(135, 168, 255, .42);
  box-shadow: 0 10px 28px rgba(29, 81, 219, .24);
  font-size: .72rem;
  letter-spacing: .105em;
}
.btn-primary:hover {
  background: #285de9;
  box-shadow: 0 15px 36px rgba(29, 81, 219, .38);
}

/* Card-grid nav dropdown menu (icon + title + description). */
.nav-dropdown {
  width: min(280px, calc(100vw - 24px)) !important;
  max-height: min(560px, calc(100vh - 5.5rem)) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  z-index: 100 !important;
  padding: 1rem !important;
  background: rgba(8, 10, 18, .99) !important;
  border-color: rgba(143, 170, 235, .16) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .58) !important;
  margin-top: .65rem !important;
  transform-origin: top left;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
}
.nav-dropdown-has-flyouts {
  overflow: visible !important;
}
/* A nested flyout (e.g. "On-Demand Courses" inside Coaching) needs the same
   overflow-visible treatment as the top-level dropdown, or its own child
   flyouts (Leadership, Receptionist / Front Desk, etc.) get clipped. */
.nav-subflyout-has-flyouts {
  overflow: visible !important;
}
.nav-dropdown.force-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
@media (min-width: 1024px) {
  /* Desktop: open on hover ONLY (of the trigger or the panel itself). Clicking never pins a panel open. */
  .nav-dropdown-group::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: .65rem;
  }
  .nav-dropdown-group:hover > .nav-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav-dropdown-group:hover > .nav-dropdown-toggle {
    color: #ffffff !important;
  }
  .nav-dropdown-group:hover > .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }
  /* Prevent a click from leaving the button focused, which would otherwise keep :focus-within-style states stuck. */
  .nav-dropdown-toggle { outline: none; }
}
.nav-dropdown-toggle svg { transition: transform .18s ease; }
.nav-dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown-toggle[aria-expanded="true"] { color: #ffffff !important; }

.nav-dropdown-eyebrow {
  font-size: .62rem !important;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7c8bb0;
  padding: 0 .1rem .55rem;
}
.nav-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, .08);
  margin: .8rem .1rem .7rem;
}

/* Wide variant: full course-catalog parity with the live site, in a compact readable list.
   Capped so it never overflows past the right edge on a 1024px (lg breakpoint) viewport,
   since this menu is anchored to the left-most nav item. */
.nav-dropdown-wide {
  width: min(680px, calc(100vw - 2.5rem)) !important;
  max-height: min(640px, calc(100vh - 5.5rem)) !important;
}
.nav-dropdown-cols {
  display: grid !important;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr) !important;
  gap: 0 1rem !important;
}
.nav-dropdown-col-narrow {
  border-right: 1px solid rgba(255, 255, 255, .08);
  padding-right: 1rem;
}
.nav-dropdown-subgrid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 1rem !important;
}
.nav-dropdown-subgrid-bordered {
  padding-top: .7rem;
  margin-top: .7rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.nav-dropdown-subhead {
  font-size: .68rem;
  font-weight: 800;
  color: #7ea2ff;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .35rem;
}
.nav-dropdown-link {
  display: block !important;
  padding: .65rem .85rem !important;
  margin: 0 -.1rem;
  border-radius: .7rem;
  font-size: .82rem !important;
  font-weight: 600;
  color: #cdd3e0;
  line-height: 1.35 !important;
  white-space: normal !important;
  transition: background-color .12s ease, color .12s ease;
}
.nav-dropdown-link:hover {
  background: rgba(29, 81, 219, .32);
  color: #ffffff;
}

/* Coaching menu: a single flat list (same row style as Marketing), where rows like
   Leadership / Reception / Experience open their own flyout submenu on hover. */
.nav-subflyout-group { position: relative; }
.nav-subflyout-trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: .5rem;
  cursor: pointer;
}
.nav-subflyout-trigger svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #7ea2ff;
  transition: transform .16s ease;
}
.nav-subflyout {
  position: absolute;
  left: 100%;
  top: -.6rem;
  margin-left: 0;
  width: min(300px, calc(100vw - 24px));
  max-height: min(420px, calc(100vh - 5.5rem));
  overflow-y: auto;
  padding: .75rem;
  background: rgba(8, 10, 18, .99);
  border: 1px solid rgba(143, 170, 235, .16);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .58);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
  z-index: 101;
}
/* An invisible bridge closes the gap between the row and its flyout so the
   pointer never leaves .nav-subflyout-group while crossing over to it. */
.nav-subflyout-group::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  bottom: 0;
  width: .75rem;
  z-index: 100;
}
@media (min-width: 1024px) {
  .nav-subflyout-group:hover > .nav-subflyout,
  .nav-subflyout-group:focus-within > .nav-subflyout {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav-subflyout-group:hover > .nav-subflyout-trigger svg,
  .nav-subflyout-group:focus-within > .nav-subflyout-trigger svg {
    transform: translateX(2px);
    color: #ffffff;
  }
}
.nav-subflyout-group.force-open > .nav-subflyout {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Mobile: nested category submenus inside Coaching. */
.mobile-subdropdown-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: .2rem 0;
  cursor: pointer;
}
.mobile-subdropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform .16s ease;
}
.mobile-subdropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-subdropdown.hidden { display: none !important; }

.nav-card-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .4rem !important;
}
.nav-card {
  display: flex !important;
  align-items: flex-start;
  gap: .65rem;
  padding: .65rem !important;
  border-radius: .7rem;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.nav-card:hover {
  background: rgba(29, 81, 219, .1);
  border-color: rgba(29, 81, 219, .38);
  transform: translateY(-1px);
}
.nav-card-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: .6rem;
  background: rgba(29, 81, 219, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7ea2ff;
}
.nav-card-icon svg { width: 16px; height: 16px; }
.nav-card-title {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}
.nav-card-desc {
  display: block;
  font-size: .67rem;
  font-weight: 500;
  color: #8f97ab;
  line-height: 1.35;
  margin-top: .15rem;
}
.nav-dropdown-cta {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin: .8rem .1rem .1rem;
  padding: .75rem .9rem !important;
  border-radius: .65rem;
  background: linear-gradient(135deg, rgba(29, 81, 219, .22), rgba(29, 81, 219, .08));
  border: 1px solid rgba(29, 81, 219, .4);
  font-size: .74rem !important;
  font-weight: 800;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.nav-dropdown-cta:hover { background: rgba(29, 81, 219, .3); }
.nav-dropdown::-webkit-scrollbar {
  width: 6px;
}
.nav-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .04);
}
.nav-dropdown::-webkit-scrollbar-thumb {
  background: rgba(143, 170, 235, .42);
  border-radius: 999px;
}
.btn-secondary { border-radius: .5rem; }
.btn-tertiary { color: var(--npg-blue-bright); }

.exec-card,
.glass-card,
.glass-panel {
  border-color: var(--npg-border);
  border-radius: .875rem;
}
.exec-card { background: rgba(12, 16, 29, .84); }
.glass-card,
.glass-panel { background: rgba(10, 14, 27, .78); }
.exec-card:hover,
.glass-card:hover {
  border-color: rgba(74, 120, 240, .7);
  box-shadow: 0 16px 36px rgba(8, 24, 77, .34), 0 0 0 1px rgba(29, 81, 219, .12);
  transform: translateY(-4px);
}

/* Hero: visual hierarchy, readable cinematic treatment, and connected proof cards. */
#home {
  min-height: max(820px, 100svh) !important;
  padding-top: 8.5rem !important;
  padding-bottom: 4.5rem !important;
}
#home h1 {
  max-width: 48rem !important;
  font-size: clamp(2.2rem, 3.75vw, 3.85rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -.025em !important;
  font-weight: 900 !important;
  color: #ffffff !important;
}
#home h1 span {
  display: block !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
#home h1 .hero-white-line {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
#home h1 span.npg-blue-line,
#home h1 .npg-blue-line {
  color: #1D51DB !important;
  -webkit-text-fill-color: #1D51DB !important;
  text-shadow: 0 0 35px rgba(29, 81, 219, .45) !important;
}
#home > .relative > div > .grid > div:first-child > p {
  max-width: 36rem;
  color: #c4cad2;
  line-height: 1.62;
}
#home > .absolute > div:first-child {
  z-index: 0;
  opacity: .30;
}
#home > .absolute > div:nth-child(2) { z-index: 1; }
#home > .absolute > div:nth-child(3) {
  z-index: 2;
  background: linear-gradient(90deg, rgba(3, 5, 12, .88) 0%, rgba(3, 5, 12, .76) 42%, rgba(3, 5, 12, .32) 72%, rgba(3, 5, 12, .45) 100%) !important;
}
#home > .absolute > div:nth-child(n + 4) { z-index: 3; }
#home iframe { filter: brightness(.92) contrast(1.05) saturate(1.06) !important; opacity: .95 !important; }

/* Our Clients Arched Scrolling Carousel */
#clients {
  background-color: #030305;
  position: relative;
  overflow: hidden;
}
.clients-scroll-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1.5rem 0.5rem 2.5rem 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.clients-scroll-track::-webkit-scrollbar {
  display: none;
}
.clients-carousel-wrapper {
  position: relative;
}
.clients-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10, 15, 28, 0.88);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}
.clients-nav-btn:hover {
  background: #1D51DB;
  border-color: #5C8DFF;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 25px rgba(29, 81, 219, 0.65), 0 8px 20px rgba(0, 0, 0, 0.5);
}
.clients-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.clients-nav-btn-prev {
  left: 0.5rem;
}
.clients-nav-btn-next {
  right: 0.5rem;
}
@media (min-width: 1024px) {
  .clients-nav-btn-prev {
    left: -1.75rem;
  }
  .clients-nav-btn-next {
    right: -1.75rem;
  }
}
@media (min-width: 1280px) {
  .clients-nav-btn-prev {
    left: -2.25rem;
  }
  .clients-nav-btn-next {
    right: -2.25rem;
  }
}
.client-arch-card {
  flex-shrink: 0;
  width: 290px;
  height: 440px;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 145px;
  border-top-right-radius: 145px;
  border-bottom-left-radius: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  background-color: #080c18;
  border: 1px solid rgba(255, 255, 255, 0.12);
  scroll-snap-align: start;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  user-select: none;
}
@media (max-width: 640px) {
  .client-arch-card {
    width: 250px;
    height: 380px;
    border-top-left-radius: 125px;
    border-top-right-radius: 125px;
  }
}
.client-arch-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 81, 219, 0.65);
  box-shadow: 0 20px 40px rgba(29, 81, 219, 0.28), 0 0 20px rgba(29, 81, 219, 0.15);
}
.client-arch-highlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7rem;
  border-top-left-radius: 145px;
  border-top-right-radius: 145px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
  z-index: 10;
  transition: border-color 0.3s ease;
}
@media (max-width: 640px) {
  .client-arch-highlight {
    border-top-left-radius: 125px;
    border-top-right-radius: 125px;
  }
}
.client-arch-card:hover .client-arch-highlight {
  border-top-color: rgba(92, 141, 255, 0.6);
}
.client-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.96) contrast(1.04);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.client-arch-card:hover .client-card-img {
  transform: scale(1.05);
}
.client-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 4, 8, 0.96) 0%, rgba(2, 4, 8, 0.65) 40%, transparent 75%);
  pointer-events: none;
  z-index: 5;
}
.client-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 10;
}
.client-doctor-name {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  transition: color 0.3s ease;
}
.client-arch-card:hover .client-doctor-name {
  color: #5C8DFF;
}
.client-doctor-practice {
  color: rgba(200, 210, 230, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
#home .grid > .lg\:col-span-5 > div:not(:first-child) {
  min-height: 8.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.35rem 1.45rem !important;
  border: 1px solid var(--npg-border) !important;
  border-left: 2px solid var(--npg-blue) !important;
  border-radius: .75rem !important;
  background: linear-gradient(110deg, rgba(10, 14, 27, .94), rgba(10, 14, 27, .72)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
#home .grid > .lg\:col-span-5 > div:not(:first-child):hover {
  border-color: rgba(74, 120, 240, .65) !important;
  box-shadow: 0 12px 32px rgba(9, 29, 94, .26), inset 0 1px 0 rgba(255,255,255,.04);
}
#home .grid > .lg\:col-span-5 h3 { letter-spacing: .025em; margin-top: .35rem; }
#home .grid > .lg\:col-span-5 p { color: var(--npg-muted); }
#home .grid > .lg\:col-span-5 p.text-white { color: #f7f9ff; }
#home .grid > .lg\:col-span-5 p.text-\[\#5C8DFF\] { color: #a9c1ff; }
#home .relative.p-5.sm\:p-6 {
  max-width: 35rem;
  padding: 1.4rem 1.5rem !important;
  border: 1px solid var(--npg-border) !important;
  border-left: 2px solid var(--npg-blue) !important;
  border-radius: .75rem !important;
  background: linear-gradient(110deg, rgba(17, 23, 41, .79), rgba(7, 10, 19, .68)) !important;
}
#home #hero-consultation-btn { min-height: 3.35rem; border-radius: .5rem !important; }
#home .grid + .grid { border-color: rgba(150, 171, 219, .17); }
#home .grid + .grid p:first-child { color: var(--npg-blue) !important; }

/* Section cadence and readable editorial type without changing the page architecture. */
#home-view > section:not(#home) { padding-top: clamp(5.5rem, 9vw, 9rem); padding-bottom: clamp(5.5rem, 9vw, 9rem); }
#home-view h2 { line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
#home-view p { text-wrap: pretty; }
#home-view [class*="rounded-3xl"] { border-radius: 1rem !important; }

@media (max-width: 1023px) {
  #home { min-height: auto !important; padding-top: 8rem !important; }
  #home h1 { max-width: 12.5ch; }
  #home .grid > .lg\:col-span-5 { margin-top: 1.5rem; }
}
@media (max-width: 639px) {
  #home { padding: 6.75rem 1.5rem 3.5rem !important; }
  #home > .relative { padding-left: 0 !important; padding-right: 0 !important; }
  #home h1 { max-width: 14ch; font-size: clamp(2rem, 8.8vw, 3.15rem) !important; line-height: .98 !important; }
  #home .grid > .lg\:col-span-5 > div:not(:first-child) { min-height: 0; padding: 1.2rem !important; }
  #home .grid + .grid { gap: 1.5rem !important; padding-top: 2rem !important; margin-top: 2.5rem !important; }
  #home #hero-consultation-btn { width: 100%; }
}

/* Page-wide blue hierarchy: key content remains white, conversion headings take the brand accent. */
#main-view-container h2,
#main-view-container h3,
footer h2,
footer h3 {
  color: var(--npg-blue-bright) !important;
  text-shadow: 0 0 24px rgba(29, 81, 219, .16);
}
#main-view-container h2 span,
#main-view-container h3 span,
footer h2 span,
footer h3 span {
  color: var(--npg-blue-bright) !important;
  -webkit-text-fill-color: currentColor;
  background-image: none !important;
}
#featured-spotlight h2,
#home-episodes-section h2,
#what-brian-does h2 { color: var(--npg-blue-bright) !important; }
#featured-spotlight h2,
#home-episodes-section h2 { text-shadow: 0 0 24px rgba(29, 81, 219, .16); }

/* Five to Thrive takes one coherent blue treatment, including its interactive pillar names. */
#home .npg-pillar-list { display: flex; flex-wrap: wrap; gap: .35rem; }
#home .npg-pillar-list i { color: rgba(169, 193, 255, .5); font-style: normal; }
#home .npg-pillar-list span {
  color: #a9c1ff;
  cursor: default;
  transition: color .2s ease, text-shadow .2s ease, transform .2s ease;
}
#home .npg-pillar-list span:hover {
  color: #fff;
  text-shadow: 0 0 16px rgba(74, 120, 240, .82);
  transform: translateY(-1px);
}

/* The three offer icons read as one premium, interactive set. */
#what-brian-does .exec-card > div > .w-12 {
  border-color: rgba(74, 120, 240, .42) !important;
  background: rgba(29, 81, 219, .15) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 18px rgba(9, 27, 83, .22);
  transition: transform .28s ease, background-color .28s ease, box-shadow .28s ease;
}
#what-brian-does .exec-card:hover > div > .w-12 {
  transform: translateY(-3px) scale(1.05);
  background: var(--npg-blue) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(29, 81, 219, .32);
}

/* Keep the top proof metrics as one clean horizontal dashboard row. */
#home .grid + .grid {
  max-width: none !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(.75rem, 2vw, 2.25rem) !important;
}
#home .grid + .grid > div { min-width: 0; }
#home .grid + .grid > div > p:last-child { line-height: 1.35; letter-spacing: .08em; }

/* The Five to Thrive video trigger matches the main button visual language */
#five-to-thrive-play-btn {
  background: var(--npg-blue) !important;
  border: 1px solid rgba(135, 168, 255, .42) !important;
  border-radius: .55rem !important;
  box-shadow: 0 10px 28px rgba(29, 81, 219, .35), 0 0 24px rgba(29, 81, 219, .4) !important;
}
#five-to-thrive-play-btn:hover {
  background: #2563eb !important;
  box-shadow: 0 14px 34px rgba(29, 81, 219, .5), 0 0 32px rgba(29, 81, 219, .6) !important;
}
#five-to-thrive-play-btn > div {
  width: 2.2rem !important;
  height: 2.2rem !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .18) !important;
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 0 12px rgba(29, 81, 219, .4) !important;
}
#five-to-thrive-play-btn > div > span { background: rgba(29, 81, 219, .45) !important; }

/* Meet Brian’s tabs read as an orderly blue navigation system. */
#home-about-section [id^="profile-subtab-"] {
  color: #b8c9f6 !important;
  border: 1px solid transparent;
}
#home-about-section [id^="profile-subtab-"]:hover {
  color: #fff !important;
  border-color: rgba(74, 120, 240, .52);
  background: rgba(29, 81, 219, .16) !important;
}
#home-about-section [id^="profile-subtab-"].bg-\[\#1D51DB\] {
  background: var(--npg-blue) !important;
  color: #fff !important;
  box-shadow: 0 5px 14px rgba(29, 81, 219, .28);
}

/* The newsletter label is deliberately unfilled: a centered blue outlined signal, not a red shape. */
footer .newsletter-signal {
  background: transparent !important;
  border-color: rgba(74, 120, 240, .68) !important;
  box-shadow: 0 0 18px rgba(29, 81, 219, .12);
}

/* A refined live signal replaces the old red glow. */
@keyframes npg-live-signal {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 81, 219, .7), 0 0 10px rgba(29, 81, 219, .95); transform: scale(.9); }
  55% { box-shadow: 0 0 0 8px rgba(29, 81, 219, 0), 0 0 18px rgba(74, 120, 240, .95); transform: scale(1.05); }
}
.npg-live-dot { animation: npg-live-signal 1.85s ease-out infinite; }

/* Remove remaining red-only UI language in the home experience. */
#webinar-promo .bg-gradient-to-r.from-red-600,
#webinar-promo [class*="from-red-"],
#webinar-promo [class*="via-red-"],
#webinar-promo [class*="to-red-"] { background-image: linear-gradient(90deg, #1D51DB, #4a78f0) !important; }

#hero-youtube-bg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(1.15) !important;
  width: 100vw !important;
  height: 56.25vw !important;
  min-width: 177.78vh !important;
  min-height: 100vh !important;
  border: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity .9s ease !important;
}
#hero-youtube-bg.hero-video-visible {
  opacity: 1 !important;
}

/* Client Stats Section CTA and Card Styles */
.get-started-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #1D51DB !important;
  background-color: #1D51DB !important;
  border: 1px solid #1D51DB !important;
  border-radius: .5rem !important;
  border-color: rgba(135, 168, 255, .42) !important;
  box-shadow: 0 10px 28px rgba(29, 81, 219, .24) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  min-height: 2.75rem !important;
  letter-spacing: .105em !important;
  font-size: .72rem !important;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
.get-started-button:hover,
.get-started-button:focus-visible {
  background: #285de9 !important;
  background-color: #285de9 !important;
  box-shadow: 0 15px 36px rgba(29, 81, 219, .38) !important;
  transform: translateY(-2px) !important;
}

.client-stats-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background-color: #1D51DB !important;
  background: linear-gradient(135deg, #1D51DB 0%, #2563EB 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  padding: 0.875rem 1.75rem !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 0 25px rgba(29, 81, 219, 0.45) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.3s ease !important;
}
.client-stats-cta-btn:hover {
  background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%) !important;
  box-shadow: 0 0 35px rgba(29, 81, 219, 0.65) !important;
  transform: translateY(-2px) scale(1.02) !important;
}
#client-stats .stat-showcase-card {
  background-color: #0a1626 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
#client-stats .stat-showcase-card:hover {
  border-color: rgba(29, 81, 219, 0.6) !important;
  box-shadow: 0 12px 30px rgba(29, 81, 219, 0.22) !important;
}

/* Live Webinar Hero Heading: The Five to Thrive Executive Masterclass */
#form-section h1,
#webinar-hero-title,
.webinar-hero-heading {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: clamp(2.2rem, 5vw, 3.75rem) !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
  letter-spacing: -0.025em !important;
  text-shadow: none !important;
  margin-bottom: 1rem !important;
}

#form-section h1 .webinar-title-white,
#webinar-hero-title .webinar-title-white,
.webinar-hero-heading .webinar-title-white {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  display: inline !important;
}

#form-section h1 .webinar-title-blue,
#webinar-hero-title .webinar-title-blue,
.webinar-hero-heading .webinar-title-blue {
  color: #5C8DFF !important;
  -webkit-text-fill-color: #5C8DFF !important;
  display: inline !important;
  text-shadow: 0 0 35px rgba(29, 81, 219, 0.65) !important;
  font-weight: 900 !important;
}

/* =========================================================
   SITE-WIDE CONSISTENCY LAYER
   Applies to every page (#main-view-container and #home-view),
   not just the homepage. Class-based, additive rules only —
   no layout, copy, color palette, or section changes.
   ========================================================= */

/* 1. Button system — catch ad-hoc filled-blue CTAs that were
   hand-built with rounded-lg/rounded-xl instead of the shared
   .btn-primary/.btn-secondary classes, so every solid CTA on the
   site shares one corner radius. Pills/icon circles (rounded-full)
   and inputs are excluded on purpose. */
a[class*="bg-[#1D51DB]"]:not(.btn-primary):not(.btn-secondary):not(.client-stats-cta-btn):not([class*="rounded-full"]),
button[class*="bg-[#1D51DB]"]:not(.btn-primary):not(.btn-secondary):not(.client-stats-cta-btn):not([class*="rounded-full"]) {
  border-radius: .625rem !important;
}

/* Consistent hover/focus/disabled states across every button and link,
   site-wide — a keyboard-focus ring where there previously was none,
   and a real disabled treatment instead of a plain click-through. */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-tertiary:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--npg-blue-bright);
  outline-offset: 2px;
}
.btn-primary:disabled,
.btn-secondary:disabled,
button:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* 2. Card grids — cards in the same row now match height instead of
   sagging to their own content, on every page that uses .exec-card /
   .glass-card / .glass-panel inside a CSS grid. */
#main-view-container .grid,
#home-view .grid {
  align-items: stretch;
}
.exec-card,
.glass-card {
  height: 100%;
}
.glass-panel {
  height: auto;
}
.glass-panel.absolute,
.absolute.glass-panel {
  height: auto !important;
}

/* 3. Tap targets — the icon-only mobile nav toggle meets the 44px
   minimum comfortable tap size without changing its visual size. */
#mobile-menu-toggle {
  min-width: 44px;
  min-height: 44px;
}

/* 4. Mobile safety net (320–414px and up) — the two most common
   causes of sideways scroll on a Tailwind-heavy site: media that
   ignores its container, and flex/grid children that refuse to
   shrink below their own content width. Neither changes anything
   visually at normal sizes. */
img, video, iframe, svg {
  max-width: 100%;
}
#main-view-container .grid > *,
#main-view-container .flex > *,
#home-view .grid > *,
#home-view .flex > * {
  min-width: 0;
}

/* Final system pass: shared proportions across the existing components. */
:root {
  --npg-radius-sm: .5rem;
  --npg-radius-md: .75rem;
  --npg-space-section: clamp(4.5rem, 8vw, 7.5rem);
}

#home-view h1,
#home-view h2,
#home-view h3,
#main-view-container h1,
#main-view-container h2,
#main-view-container h3 {
  text-wrap: balance;
}

#home-view p,
#main-view-container p {
  text-wrap: pretty;
}

.btn-primary,
.btn-secondary,
.btn-tertiary,
.client-stats-cta-btn,
.get-started-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 2.75rem;
  border-radius: var(--npg-radius-sm) !important;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease !important;
}

.blue-glow-btn,
.red-glow-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.1;
  border-radius: var(--npg-radius-sm) !important;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease !important;
}

.btn-primary,
.blue-glow-btn,
.red-glow-btn {
  background: var(--npg-blue) !important;
  background-color: var(--npg-blue) !important;
  border: 1px solid rgba(135, 168, 255, .42) !important;
  box-shadow: 0 10px 28px rgba(29, 81, 219, .24) !important;
}

.btn-primary:hover,
.blue-glow-btn:hover,
.red-glow-btn:hover {
  background: #285de9 !important;
  background-color: #285de9 !important;
  box-shadow: 0 15px 36px rgba(29, 81, 219, .38) !important;
  transform: translateY(-2px) !important;
}

.about-brian-badge-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  min-height: 2.5rem !important;
  height: auto !important;
  padding: 0.625rem 1.25rem !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, .045) !important;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  color: #f7f9ff !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14) !important;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .1) !important;
  border-color: rgba(143, 170, 235, .55) !important;
  transform: translateY(-2px) !important;
}

.exec-card,
.glass-card,
.glass-panel,
.stat-showcase-card {
  border-radius: var(--npg-radius-md) !important;
  border-color: var(--npg-border) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

#home-view > section:not(#home),
#main-view-container > section {
  scroll-margin-top: 6rem;
}

@media (max-width: 639px) {
  .btn-primary,
  .btn-secondary,
  .btn-tertiary,
  .client-stats-cta-btn,
  .get-started-button {
    min-height: 2.875rem;
  }

  #home-view h2,
  #main-view-container h2 {
    line-height: 1.05;
  }

  #home-view > section:not(#home),
  #main-view-container > section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
