/*
 * ═══════════════════════════════════════════════════════════════
 * BLS GLOBAL STYLE GUIDE — staging.blakelearn.com
 * ═══════════════════════════════════════════════════════════════
 * CONSOLIDATED DESIGN SYSTEM - June 13, 2026
 * Single source of truth for all typography, colors, buttons,
 * and layout patterns. Pages should only include component-specific
 * styles — never redefine headings, colors, or base patterns.
 * ═══════════════════════════════════════════════════════════════
 */

/* ── FONTS ────────────────────────────────────────────────────
   Load order matters. These go before any page CSS.
   Preconnect tags should also be in <head> before this link.
   ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Raleway:wght@300;400;500;600;700;800&display=swap');

/* ── COLOR TOKENS ─────────────────────────────────────────────
   Use these everywhere. Do not hardcode hex in page CSS.
   ──────────────────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --navy:           #0E3D66;   /* primary navy */
  --navy-dark:      #0A2F50;   /* darker navy for depth */
  --navy-deep:      #07213A;   /* deepest navy */
  --gold:           #D4A843;   /* primary gold */
  --gold-dark:      #B8902E;   /* gold hover / darker accent / italics */
  --gold-soft:      #E8D598;   /* light gold tint */

  /* Neutrals */
  --white:          #FFFFFF;
  --cloud:          #EEF1F4;   /* light gray background */
  --cream:          #F5F6F8;   /* light page background */
  --cream-warm:     #F7F4EE;   /* warmer cream for section alternates */
  --gray-border:    #E2E4EA;   /* subtle borders */
  --gray-bg:        #F5F6F8;   /* section backgrounds */
  --gray-text:      #6B7280;   /* muted text */
  --ink:            #1B2B5E;   /* dark body text */
  --ink-soft:       #374151;   /* secondary body text on white */

  /* ── TYPOGRAPHY STACKS ───────────────────────────────────────
     --font-serif  → headlines, display text
     --font-sans   → body, UI, labels
     --font-mono   → eyebrows, tags, small caps labels
     ─────────────────────────────────────────────────────────── */
  --font-serif:     'Playfair Display', Georgia, serif;
  --font-sans:      'Raleway', -apple-system, system-ui, sans-serif;
  --font-mono:      'Raleway', sans-serif;  /* Raleway in small-caps/tracked = mono feel */

  /* ── LAYOUT ──────────────────────────────────────────────── */
  --max-w:          1440px;
  --content-w:      1280px;
}

/* ── BASE RESET & DEFAULTS ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input, button, select, textarea, a {
  font-family: var(--font-sans);
}

img { max-width: 100%; display: block; }

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY SYSTEM — H1 through H4, Paragraphs, Lists
   ═══════════════════════════════════════════════════════════════
   Reference: /training-curriculum (H1), /interpretive-planning (H2)
   All headings default to white background context.
   Use .navy-section wrapper for navy backgrounds.
   ═══════════════════════════════════════════════════════════════ */

/* ── H1 — Page Titles (Hero Sections) ────────────────────────── */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 4.96vw, 70px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);  /* Default: white on navy heroes */
  margin: 0 0 28px 0;
}

h1 em,
h1 .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

/* ── H2 — Major Section Headings ──────────────────────────────── */
h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);  /* Default: navy on white backgrounds */
  margin: 0 0 20px 0;
}

h2 em,
h2 .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-dark);
}

/* ── H3 — Sub-Section Headings ────────────────────────────────── */
h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

h3 em,
h3 .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-dark);
}

/* ── H4 — Detail Headings ─────────────────────────────────────── */
h4 {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0 0 12px 0;
}

/* ── Paragraphs ───────────────────────────────────────────────── */
p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);  /* Muted gray on white backgrounds */
  margin: 0 0 16px 0;
}

/* ── Lists ────────────────────────────────────────────────────── */
ul, ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

ul li, ol li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

/* Custom gold dash bullets */
ul.list-dash {
  list-style: none;
  padding-left: 0;
}

ul.list-dash li {
  padding-left: 20px;
  position: relative;
}

ul.list-dash li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

/* ── Links ────────────────────────────────────────────────────── */
a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(14, 61, 102, 0.3);
  text-underline-offset: 2px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover {
  color: var(--gold-dark);
  text-decoration-color: var(--gold-dark);
}

a.link-plain {
  text-decoration: none;
}

a.link-plain:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   BACKGROUND CONTEXT OVERRIDES
   ═══════════════════════════════════════════════════════════════
   Navy, Cloud, and White section wrappers with automatic
   text color inversions. Wrap sections in these classes.
   ═══════════════════════════════════════════════════════════════ */

/* ── Navy Sections (dark background) ──────────────────────────── */
.navy-section {
  background: var(--navy);
  color: var(--white);
}

.navy-section h1,
.navy-section h2,
.navy-section h3,
.navy-section h4 {
  color: var(--white);
}

.navy-section h2 em,
.navy-section h2 .italic,
.navy-section h3 em,
.navy-section h3 .italic {
  color: var(--gold);  /* Brighter gold on dark backgrounds */
}

.navy-section p {
  color: rgba(255,255,255,0.82);  /* Semi-transparent white for readability */
}

.navy-section ul li,
.navy-section ol li {
  color: rgba(255,255,255,0.82);
}

.navy-section ul.list-dash li::before {
  background: var(--gold);
}

.navy-section a {
  color: var(--gold);
  text-decoration-color: rgba(212, 168, 67, 0.4);
}

.navy-section a:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

/* ── Cloud Sections (light gray background) ───────────────────── */
.cloud-section {
  background: var(--cloud);
  color: var(--ink);
}

.cloud-section p {
  color: var(--ink-soft);
}

/* ── White Sections ───────────────────────────────────────────── */
.white-section {
  background: var(--white);
  color: var(--ink);
}

/* Navy with subtle grid overlay (used on some CTAs) */
.navy-section-grid {
  background: var(--navy);
  color: var(--white);
  position: relative;
}

.navy-section-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ═══════════════════════════════════════════════════════════════
   EYEBROWS & LABELS — Small section labels above headings
   ═══════════════════════════════════════════════════════════════ */

/* Simple eyebrow (no lines) */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Eyebrow with decorative lines (hero sections) */
.eyebrow-lines {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.eyebrow-lines::before,
.eyebrow-lines::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.navy-section .eyebrow,
.navy-section .eyebrow-lines {
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS — Primary, Secondary, Text Links
   ═══════════════════════════════════════════════════════════════ */

/* ── Primary Button — Gold background, navy text ───────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ── Secondary Button — Transparent with border ────────────────── */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid var(--navy);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.navy-section .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

.navy-section .btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

/* ── Text Link Button — No background ──────────────────────────── */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, gap 0.2s;
}

.btn-text:hover {
  color: var(--gold-dark);
  gap: 12px;  /* Arrow slides right */
}

.navy-section .btn-text {
  color: var(--gold);
}

.navy-section .btn-text:hover {
  color: var(--white);
}

/* ── Outline Button for Navy Backgrounds ────────────────────────── */
.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION LAYOUT & CONTAINERS
   ═══════════════════════════════════════════════════════════════ */

/* ── Section Padding ───────────────────────────────────────────── */
.section {
  padding: 100px 0;
}

.section-compact {
  padding: 60px 0;
}

.section-spacious {
  padding: 140px 0;
}

/* ── Container Widths ──────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Legacy Container (keep for compatibility) ─────────────────── */
.sec-white { background: var(--white); padding: 80px 0; }
.sec-gray  { background: var(--cream); padding: 80px 0; border-top: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); }
.sec-navy  { background: var(--navy);  padding: 80px 0; }

/* ── Card Grids ────────────────────────────────────────────────── */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
}

/* ── Responsive Adjustments ────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: clamp(36px, 8vw, 60px); }
  h2 { font-size: clamp(28px, 6vw, 44px); }
  h3 { font-size: clamp(20px, 4vw, 26px); }
  p { font-size: 16px; line-height: 1.7; }
  
  .section { padding: 60px 0; }
  .section-compact { padding: 40px 0; }
  .section-spacious { padding: 80px 0; }
  
  .container,
  .container-narrow,
  .container-wide {
    padding: 0 24px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   LEGACY UTILITIES (keep for compatibility)
   ═══════════════════════════════════════════════════════════════ */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-h2-white {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-body {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 720px;
  margin-bottom: 24px;
}

.section-body-white {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.85;
  max-width: 720px;
  margin-bottom: 24px;
}

/* CTA Section White Heading — Raleway sans-serif for action sections */
.cta-h2-white {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.18;
}

/* ═══════════════════════════════════════════════════════════════
   CTA STRIP
   ═══════════════════════════════════════════════════════════════ */
.cta-strip {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}

.cta-strip-h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-strip-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--white);
  border-top: 1px solid var(--gray-border);
}

.footer-main {
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

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

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 10px;
}

.social-link:hover {
  color: var(--gold);
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--cream);
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.footer-bar {
  border-top: 1px solid var(--gray-border);
  padding: 20px 0;
  text-align: center;
}

.footer-bar p {
  font-size: 13px;
  color: var(--gray-text);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (shared across all subpages)
   ═══════════════════════════════════════════════════════════════
   Exact style match to our-team header.
   Use these classes on every interior page hero section.
   ═══════════════════════════════════════════════════════════════ */
.page-hero-wrap {
  background: var(--navy);
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  min-height: 480px;
}

.page-hero-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212,168,67,.12) 1px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: .55;
  pointer-events: none;
}

.ph-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--gold);
}

.ph-corner.tl { top: 120px; left: 56px; border-right: 0; border-bottom: 0; }
.ph-corner.tr { top: 120px; right: 56px; border-left: 0; border-bottom: 0; }
.ph-corner.bl { bottom: 40px; left: 56px; border-right: 0; border-top: 0; }
.ph-corner.br { bottom: 40px; right: 56px; border-left: 0; border-top: 0; }

.ph-meta {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 2;
  white-space: nowrap;
}

.ph-meta .ph-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.ph-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 40px;
}

.ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.ph-eyebrow::before,
.ph-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.ph-h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  font-size: clamp(44px, 4.96vw, 70px);
  margin: 0 0 28px 0;
}

.ph-h1 .it {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.ph-blurb {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
  color: rgba(255,255,255,.78);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 720px) {
  .page-hero-wrap { padding: 24px 0 48px; }
  .ph-corner.tl, .ph-corner.tr { top: 16px; }
  .ph-corner.tl, .ph-corner.bl { left: 16px; }
  .ph-corner.tr, .ph-corner.br { right: 16px; }
  .ph-corner.bl, .ph-corner.br { bottom: 16px; }
  .ph-corner { width: 18px; height: 18px; }
  .ph-meta { top: 30px; font-size: 10px; letter-spacing: 0.16em; }
  .ph-inner { padding: 0 24px; }
  .ph-h1 { font-size: clamp(36px, 8vw, 60px); }
}

/* ── HERO SPECIFICITY OVERRIDES ──────────────────────────────
   Force hero styles to win over any embed component resets.
   These use .page-hero-wrap scope so they only apply in heroes.
   ──────────────────────────────────────────────────────────── */
.page-hero-wrap .ph-h1 {
  color: #ffffff !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(44px, 4.96vw, 70px) !important;
  font-weight: 500 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 28px 0 !important;
}

.page-hero-wrap .ph-h1 .it {
  color: #D4A843 !important;
  font-style: italic !important;
  font-weight: 400 !important;
}

.page-hero-wrap .ph-blurb {
  color: rgba(255,255,255,.78) !important;
  text-align: center !important;
  margin: 28px auto 0 !important;
  max-width: 720px !important;
  font-size: clamp(16px, 1.2vw, 18px) !important;
  line-height: 1.75 !important;
}

.page-hero-wrap .ph-eyebrow {
  color: #D4A843 !important;
}

.page-hero-wrap .ph-meta {
  color: #D4A843 !important;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION (shared across all pages)
   ═══════════════════════════════════════════════════════════════
   Canonical nav styles. Do not redefine nav styles in page <style>.
   ═══════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 1000;
  background: var(--white);
  border-radius: 50px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  padding: 12px 40px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
  margin: 0;
}

.nav-item > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-item > a:hover {
  color: var(--gold);
  background: rgba(212,168,67,0.08);
}

.nav-item > span:hover {
  background: rgba(212,168,67,0.08);
  border-radius: 8px;
}

.nav-item > a .caret,
.nav-item > span .caret {
  font-size: 10px;
  transition: transform 0.2s;
}

.nav-item:hover > a .caret,
.nav-item:hover > span .caret {
  transform: rotate(180deg);
}

.dropdown {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(14,61,102,0.15);
  padding: 8px 0;
  border: 1px solid var(--gray-border);
  z-index: 200;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 12px;
  z-index: 199;
  display: none;
}

.nav-item:hover::after {
  display: block;
}

@media (hover: hover) {
  .nav-item:hover .dropdown {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.dropdown a:hover {
  background: rgba(212,168,67,0.1);
  color: var(--gold);
}

.btn-nav {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 12px 26px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-transform: capitalize;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-nav:hover {
  background: var(--gold-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  #navbar {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    padding: 12px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  }
  
  body {
    padding-top: 68px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 24px;
    box-shadow: 0 8px 30px rgba(27,43,94,0.12);
    border-radius: 16px;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-item > a,
  .nav-item > span {
    padding: 12px 24px !important;
    font-size: 16px !important;
    border-radius: 0 !important;
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box;
    cursor: pointer !important;
  }
  
  .dropdown {
    display: none !important;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    padding: 0 0 0 16px;
    border-left: 3px solid var(--gold);
    margin: 0 24px 8px;
    transition: none;
  }
  
  .dropdown a {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .nav-item.mobile-open .dropdown {
    display: block !important;
  }
  
  .btn-nav {
    margin: 8px 24px 0;
    display: block;
    text-align: center;
  }
}


/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES — Common inline style replacements
   ═══════════════════════════════════════════════════════════════ */

/* ── Text Utilities ───────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-text); }

.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }

/* ── Spacing Utilities ────────────────────────────────────────── */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.p-0 { padding: 0; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }

/* ── Layout Utilities ─────────────────────────────────────────── */
.w-full { width: 100%; }
.max-w-sm { max-width: 640px; }
.max-w-md { max-width: 768px; }
.max-w-lg { max-width: 1024px; }
.max-w-xl { max-width: 1200px; }

.mx-auto { margin-left: auto; margin-right: auto; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
