/* ================================================================
   NEPAL BUDGET 2083/84 — Master Stylesheet
   budgetnepal.msa.edu.np
   All class names are canonical — used consistently across all pages
   ================================================================ */

/* ── CSS Variables ── */
:root {
  --blue:        #003893;
  --blue-dark:   #002060;
  --blue-mid:    #0056b3;
  --blue-light:  #1a6dd4;
  --red:         #DC143C;
  --red-dark:    #a50e2d;
  --gold:        #c9a84c;
  --gold-light:  #f0d584;
  --orange:      #f7941d;
  --orange-light:#ffb347;
  --green:       #1a7a3c;
  --green-light: #28a755;
  --teal:        #0d7377;
  --purple:      #6f42c1;
  --white:       #ffffff;
  --bg-page:     #f4f6fb;
  --bg-card:     #ffffff;
  --bg-light:    #eef1f8;
  --text-head:   #0d1b3e;
  --text-body:   #2c3e50;
  --text-muted:  #6b7a99;
  --border:      #dde3f0;
  --shadow-xs:   0 1px 4px rgba(0,0,0,.07);
  --shadow-sm:   0 2px 12px rgba(0,0,0,.09);
  --shadow-md:   0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.16);
  --shadow-xl:   0 24px 64px rgba(0,0,0,.20);
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  32px;
  --r-full: 999px;
  --trans: all .28s cubic-bezier(.4,0,.2,1);
  --font-ne: 'Noto Sans Devanagari', serif;
  --font-en: 'Inter', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ne);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.75;
  overflow-x: hidden;
}
body.lang-en { font-family: var(--font-en); }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Bilingual Display ── */
body.lang-en .ne  { display: none !important; }
body.lang-en .en  { display: inline !important; }
body.lang-ne .en  { display: none !important; }
body.lang-ne .ne  { display: inline !important; }
/* block-level variants */
body.lang-en .ne-b { display: none !important; }
body.lang-en .en-b { display: block !important; }
body.lang-ne .en-b { display: none !important; }
body.lang-ne .ne-b { display: block !important; }

/* ── Container ── */
.container { max-width: 1260px; margin: 0 auto; padding: 0 24px; }

/* ================================================================
   DISCLAIMER BAR
================================================================ */
.disclaimer-bar {
  background: linear-gradient(90deg, #7b1010 0%, #b81c1c 100%);
  color: #fff;
  padding: 9px 0;
  font-size: .82rem;
  position: relative;
  z-index: 1001;
}
.disclaimer-bar .container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.disclaimer-bar i { font-size: .95rem; color: #ffd700; flex-shrink: 0; }
.disclaimer-bar span { line-height: 1.5; }
.disclaimer-bar a { color: #ffd700; text-decoration: underline; }

/* ================================================================
   HEADER
================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
  box-shadow: var(--shadow-lg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.header-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
}
.header-text { display: flex; flex-direction: column; }
.site-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: .01em;
}
.site-subtitle {
  font-size: .77rem;
  color: rgba(255,255,255,.78);
  margin-top: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-full);
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  padding: 5px 16px;
  border-radius: var(--r-full);
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  transition: var(--trans);
  letter-spacing: .02em;
}
.lang-btn:hover { color: #fff; background: rgba(255,255,255,.18); }
.lang-btn.active { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,.18); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  color: #fff;
  font-size: 1.25rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  transition: var(--trans);
}
.nav-toggle:hover { background: rgba(255,255,255,.25); }

/* ================================================================
   NAVIGATION
================================================================ */
.main-nav {
  background: var(--blue-dark);
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.nav-menu li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  color: rgba(255,255,255,.82);
  font-size: .84rem;
  font-weight: 500;
  transition: var(--trans);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  position: relative;
}
.nav-menu li a i { font-size: .8rem; }
.nav-menu li a:hover,
.nav-menu li a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-bottom-color: var(--orange);
}

/* ================================================================
   HERO SECTION
================================================================ */
.hero-section {
  background:
    linear-gradient(155deg,
      var(--blue-dark) 0%,
      var(--blue) 35%,
      #1e4fa0 65%,
      var(--red-dark) 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}
/* Geometric pattern overlay */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(220,20,60,.12) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(201,168,76,.08) 0%, transparent 35%);
  pointer-events: none;
}
/* Diagonal stripe overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,.015) 40px,
    rgba(255,255,255,.015) 80px
  );
  pointer-events: none;
}
.hero-section .container { position: relative; z-index: 2; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

/* Left: text content */
.hero-content { text-align: left; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.95);
  padding: 7px 20px;
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-badge i { color: var(--gold-light); }

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 10px;
  text-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.hero-title .title-highlight {
  color: var(--gold-light);
  display: block;
}
.hero-subtitle-line {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  margin-bottom: 18px;
  display: block;
}
.hero-desc {
  font-size: .97rem;
  color: rgba(255,255,255,.8);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 520px;
}

/* Hero action buttons */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero stat ribbon */
.hero-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero-stat-box {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-md);
  padding: 16px 14px;
  text-align: center;
  transition: var(--trans);
}
.hero-stat-box:hover {
  background: rgba(255,255,255,.17);
  transform: translateY(-3px);
}
.hero-stat-num {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 4px;
}
.hero-stat-lbl {
  font-size: .76rem;
  color: rgba(255,255,255,.78);
  line-height: 1.4;
}

/* Right: feature card panel */
.hero-panel {
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.hero-panel-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-panel-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.2);
}
.hero-panel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-panel-item:last-child { border-bottom: none; }
.hero-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.hero-panel-icon.ic-blue   { background: rgba(0,86,179,.45); color: #7bb8ff; }
.hero-panel-icon.ic-red    { background: rgba(220,20,60,.35); color: #ff8fa0; }
.hero-panel-icon.ic-gold   { background: rgba(201,168,76,.35); color: var(--gold-light); }
.hero-panel-icon.ic-green  { background: rgba(26,122,60,.45); color: #6ee89a; }
.hero-panel-icon.ic-orange { background: rgba(247,148,29,.35); color: #ffc675; }
.hero-panel-text { flex: 1; }
.hero-panel-label {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1px;
}
.hero-panel-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-full);
  font-size: .9rem;
  font-weight: 700;
  transition: var(--trans);
  cursor: pointer;
  letter-spacing: .02em;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(247,148,29,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(247,148,29,.55); }
.btn-outline {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,.22); border-color: #fff; transform: translateY(-2px); }
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-lg { padding: 15px 34px; font-size: 1rem; }

/* ================================================================
   SECTIONS — common
================================================================ */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-head);
  display: inline-block;
  position: relative;
  margin-bottom: 14px;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  border-radius: 2px;
}
.section-header p { color: var(--text-muted); font-size: .97rem; margin-top: 18px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-header.on-dark h2 { color: #fff; }
.section-header.on-dark h2::after { background: linear-gradient(90deg, var(--gold-light), #fff); }
.section-header.on-dark p { color: rgba(255,255,255,.8); }

/* ================================================================
   BUDGET SNAPSHOT STRIP
================================================================ */
.snapshot-strip {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  padding: 0;
  overflow: hidden;
}
.snapshot-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-left: 1px solid rgba(255,255,255,.1);
}
.snap-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
  transition: var(--trans);
}
.snap-item:hover { background: rgba(255,255,255,.06); }
.snap-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: var(--trans);
}
.snap-item:hover::before { opacity: 1; }
.snap-icon { font-size: 1.4rem; color: var(--gold-light); margin-bottom: 8px; }
.snap-num { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; }
.snap-lbl { font-size: .76rem; color: rgba(255,255,255,.7); line-height: 1.4; }

/* ================================================================
   HIGHLIGHTS GRID
================================================================ */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.highlight-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  border-top: 4px solid var(--blue);
  position: relative;
  overflow: hidden;
}
.highlight-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0,56,147,.04);
  transition: var(--trans);
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.highlight-card:hover::after { width: 120px; height: 120px; }
.highlight-card:nth-child(2) { border-top-color: var(--red); }
.highlight-card:nth-child(3) { border-top-color: var(--orange); }
.highlight-card:nth-child(4) { border-top-color: var(--green-light); }
.highlight-card:nth-child(5) { border-top-color: var(--teal); }
.highlight-card:nth-child(6) { border-top-color: var(--purple); }
.highlight-card:nth-child(7) { border-top-color: var(--gold); }
.highlight-card:nth-child(8) { border-top-color: var(--blue-mid); }

.hi-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: #fff;
}
.hi-icon.bg-blue   { background: linear-gradient(135deg, var(--blue), var(--blue-light)); }
.hi-icon.bg-red    { background: linear-gradient(135deg, var(--red-dark), var(--red)); }
.hi-icon.bg-orange { background: linear-gradient(135deg, var(--orange), var(--orange-light)); }
.hi-icon.bg-green  { background: linear-gradient(135deg, var(--green), var(--green-light)); }
.hi-icon.bg-teal   { background: linear-gradient(135deg, var(--teal), #14a0a5); }
.hi-icon.bg-purple { background: linear-gradient(135deg, #5a32a3, var(--purple)); }
.hi-icon.bg-gold   { background: linear-gradient(135deg, #a07a20, var(--gold)); }
.hi-icon.bg-cyan   { background: linear-gradient(135deg, #0891b2, #22d3ee); }

.highlight-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-head); margin-bottom: 6px; }
.hi-amount { font-size: 1.25rem; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.highlight-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }

/* ================================================================
   CHARTS SECTION
================================================================ */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.chart-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.chart-card.full { grid-column: 1 / -1; }
.chart-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-card h3 i { color: var(--blue); }
.chart-wrap { position: relative; }

/* ================================================================
   PRIORITIES SECTION
================================================================ */
.priorities-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #1a4a9e 100%);
  position: relative;
  overflow: hidden;
}
.priorities-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M40 0L80 40 40 80 0 40z'/%3E%3C/g%3E%3C/svg%3E");
}
.priorities-section .container { position: relative; z-index: 2; }
.priorities-list { display: flex; flex-direction: column; gap: 16px; }
.priority-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  padding: 24px 28px;
  transition: var(--trans);
}
.priority-item:hover {
  background: rgba(255,255,255,.14);
  transform: translateX(6px);
  border-color: rgba(255,255,255,.28);
}
.priority-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(201,168,76,.4);
}
.priority-body h3 { font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.priority-body p { font-size: .88rem; color: rgba(255,255,255,.78); line-height: 1.7; }

/* ================================================================
   KEY FIGURES (glassmorphism dark)
================================================================ */
.figures-section {
  background: linear-gradient(135deg, var(--text-head) 0%, #1a2a5e 50%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}
.figures-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(220,20,60,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 20%, rgba(0,56,147,.2) 0%, transparent 45%);
}
.figures-section .container { position: relative; z-index: 2; }
.figures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.figure-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--trans);
}
.figure-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.fig-icon { font-size: 1.8rem; color: var(--gold-light); margin-bottom: 12px; }
.fig-num { font-size: 1.55rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 6px; }
.fig-label { font-size: .83rem; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.fig-sub { font-size: .75rem; color: rgba(255,255,255,.5); }

/* ================================================================
   MINISTER QUOTE SECTION
================================================================ */
.minister-section { background: var(--bg-card); padding: 80px 0; }
.minister-card {
  display: flex;
  align-items: center;
  gap: 50px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
  border-radius: var(--r-lg);
  padding: 50px 56px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.minister-card::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 40px;
  font-size: 16rem;
  color: rgba(0,56,147,.05);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.minister-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  color: rgba(255,255,255,.85);
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
  outline: 4px solid var(--blue);
}
.minister-info { position: relative; flex: 1; }
.minister-tag {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--r-full);
  font-size: .77rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.minister-name { font-size: 1.6rem; font-weight: 800; color: var(--text-head); margin-bottom: 4px; }
.minister-role { font-size: .9rem; color: var(--text-muted); margin-bottom: 20px; }
.minister-quote {
  font-style: italic;
  color: var(--text-body);
  font-size: .98rem;
  line-height: 1.9;
  border-left: 4px solid var(--blue);
  padding: 18px 22px;
  background: rgba(0,56,147,.04);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 24px;
}

/* ================================================================
   QUICK LINKS GRID
================================================================ */
.quick-links-section { background: var(--bg-light); }
.ql-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ql-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  border-bottom: 4px solid transparent;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.ql-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--blue);
}
.ql-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(0,56,147,.1), rgba(0,56,147,.06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 16px;
  transition: var(--trans);
}
.ql-card:hover .ql-icon-wrap { background: var(--blue); color: #fff; }
.ql-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-head); margin-bottom: 8px; }
.ql-card p { font-size: .84rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.ql-arrow {
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--trans);
}
.ql-card:hover .ql-arrow { gap: 10px; }

/* ================================================================
   FOOTER
================================================================ */
.site-footer { background: var(--text-head); color: rgba(255,255,255,.82); }
.footer-main { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 40px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-logo-row img { width: 48px; height: 48px; }
.footer-site-name { font-size: 1rem; font-weight: 700; color: #fff; display: block; }
.footer-domain { font-size: .78rem; color: var(--gold-light); margin-top: 2px; display: block; }
.footer-col p { font-size: .86rem; color: rgba(255,255,255,.68); line-height: 1.8; }
.footer-disclaimer-box {
  background: rgba(220,20,60,.18);
  border: 1px solid rgba(220,20,60,.35);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: .8rem;
  color: rgba(255,255,255,.78);
  margin-top: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.6;
}
.footer-disclaimer-box i { color: var(--orange); flex-shrink: 0; margin-top: 1px; }
.footer-col h4 {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,.1);
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.68);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--trans);
}
.footer-col ul li a::before { content: '›'; color: var(--orange); font-size: 1.1rem; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }

.footer-info-list { display: flex; flex-direction: column; gap: 12px; }
.fi-item { display: flex; align-items: flex-start; gap: 12px; }
.fi-item i { color: var(--orange); font-size: .95rem; margin-top: 1px; flex-shrink: 0; width: 16px; }
.fi-item div { display: flex; flex-direction: column; }
.fi-item strong { font-size: .74rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .05em; }
.fi-item span { font-size: .85rem; color: rgba(255,255,255,.82); }

.footer-bottom {
  background: rgba(0,0,0,.3);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.55); }

/* ================================================================
   PAGE HEADER (inner pages)
================================================================ */
.page-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
  padding: 52px 0 44px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(220,20,60,.12) 0%, transparent 60%);
}
.page-header .container { position: relative; z-index: 2; }
.ph-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-light);
  margin: 0 auto 18px;
}
.page-header h1 { font-size: 2.1rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.page-header > .container > p { color: rgba(255,255,255,.82); font-size: .97rem; max-width: 580px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: .82rem;
}
.breadcrumb a { color: rgba(255,255,255,.68); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { color: rgba(255,255,255,.4); font-size: .7rem; }
.breadcrumb span { color: rgba(255,255,255,.5); }

/* ================================================================
   OVERVIEW CARDS (overview.html)
================================================================ */
.ov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ov-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  border-top: 5px solid var(--blue);
  text-align: center;
}
.ov-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ov-card.c-blue   { border-top-color: var(--blue); }
.ov-card.c-navy   { border-top-color: var(--blue-dark); }
.ov-card.c-orange { border-top-color: var(--orange); }
.ov-card.c-red    { border-top-color: var(--red); }
.ov-card.c-green  { border-top-color: var(--green-light); }
.ov-card.c-teal   { border-top-color: var(--teal); }
.ov-icon { font-size: 1.8rem; color: var(--blue); margin-bottom: 12px; }
.ov-amount { font-size: 2rem; font-weight: 800; color: var(--text-head); line-height: 1.2; margin-bottom: 6px; }
.ov-label { font-size: .88rem; font-weight: 700; color: var(--text-body); margin-bottom: 4px; }
.ov-note { font-size: .78rem; color: var(--text-muted); }

/* ================================================================
   KPI CARDS (economy.html)
================================================================ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.kpi-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.kpi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
}
.kpi-blue::before   { background: linear-gradient(90deg, var(--blue-dark), var(--blue)); }
.kpi-orange::before { background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
.kpi-green::before  { background: linear-gradient(90deg, var(--green), var(--green-light)); }
.kpi-teal::before   { background: linear-gradient(90deg, var(--teal), #14a0a5); }
.kpi-red::before    { background: linear-gradient(90deg, var(--red-dark), var(--red)); }
.kpi-purple::before { background: linear-gradient(90deg, #5a32a3, var(--purple)); }
.kpi-icon { font-size: 1.8rem; color: var(--blue); margin-bottom: 12px; }
.kpi-value { font-size: 2.2rem; font-weight: 800; color: var(--text-head); line-height: 1.2; margin-bottom: 8px; }
.kpi-label { font-size: .88rem; font-weight: 700; color: var(--text-body); margin-bottom: 5px; }
.kpi-note { font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; }
.kpi-trend { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); display: inline-flex; align-items: center; gap: 4px; }
.kpi-trend.up     { background: rgba(26,122,60,.1); color: var(--green); }
.kpi-trend.down   { background: rgba(220,20,60,.1); color: var(--red); }
.kpi-trend.stable { background: rgba(0,56,147,.1); color: var(--blue); }

/* ================================================================
   ECONOMY TWO-COL
================================================================ */
.economy-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.economy-col {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.economy-col h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.economy-positive h3 { color: var(--green); }
.economy-challenge h3 { color: var(--red); }
.economy-col ul { display: flex; flex-direction: column; gap: 10px; }
.economy-col ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--text-body);
}
.economy-positive ul li i { color: var(--green-light); font-size: .85rem; margin-top: 3px; flex-shrink: 0; }
.economy-challenge ul li i { color: var(--red); font-size: .85rem; margin-top: 3px; flex-shrink: 0; }

/* ================================================================
   EXPENDITURE PROGRESS BARS
================================================================ */
.progress-item { margin-bottom: 22px; }
.progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.progress-label-text { font-size: .9rem; font-weight: 600; color: var(--text-head); }
.progress-pct { font-size: .88rem; font-weight: 700; color: var(--blue); }
.progress-bar-bg { height: 10px; background: var(--bg-light); border-radius: 10px; overflow: hidden; }
.progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
  width: 0%;
}

/* ================================================================
   DATA TABLES
================================================================ */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.data-table { width: 100%; border-collapse: collapse; background: var(--bg-card); min-width: 560px; }
.data-table thead th {
  background: var(--blue);
  color: #fff;
  padding: 13px 16px;
  font-weight: 700;
  font-size: .86rem;
  text-align: left;
  white-space: nowrap;
}
.data-table thead th:first-child { border-radius: 0; }
.data-table tbody tr:nth-child(even) { background: var(--bg-light); }
.data-table tbody tr:hover { background: rgba(0,56,147,.05); }
.data-table tbody td { padding: 12px 16px; font-size: .875rem; color: var(--text-body); border-bottom: 1px solid var(--border); }
.data-table tfoot td { padding: 13px 16px; font-weight: 700; background: rgba(0,56,147,.07); border-top: 2px solid var(--blue); }

/* ================================================================
   ACCORDION
================================================================ */
.accordion-item { border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; }
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: var(--bg-card);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-head);
  font-size: .95rem;
  transition: var(--trans);
  user-select: none;
}
.accordion-header:hover { background: var(--bg-light); }
.accordion-item.open .accordion-header { background: var(--blue); color: #fff; }
.accordion-header i.acc-icon { transition: var(--trans); color: var(--blue); }
.accordion-item.open .accordion-header i.acc-icon { transform: rotate(180deg); color: #fff; }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}
.accordion-body-inner { padding: 22px 24px; font-size: .9rem; line-height: 1.8; color: var(--text-body); }

/* ================================================================
   SECTOR TABS (sectors.html)
================================================================ */
.sector-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0; }
.sector-tab {
  padding: 10px 18px;
  background: var(--bg-light);
  color: var(--text-body);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  font-weight: 600;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--trans);
  cursor: pointer;
  border: none;
}
.sector-tab:hover { background: rgba(0,56,147,.1); color: var(--blue); }
.sector-tab.active { background: var(--blue); color: #fff; }
.sector-panel { display: none; }
.sector-panel.active { display: block; }
.sector-panel-body {
  background: var(--bg-card);
  border-radius: 0 var(--r-md) var(--r-md) var(--r-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ================================================================
   SOCIAL CARDS
================================================================ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.social-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  border-left: 4px solid var(--blue);
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.social-card h4 { font-size: .95rem; font-weight: 700; color: var(--text-head); margin-bottom: 8px; }
.social-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }
.social-card .sc-amount { font-size: 1.1rem; font-weight: 800; color: var(--blue); margin-top: 8px; }

/* ================================================================
   INFRA CARDS
================================================================ */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.infra-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.infra-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ================================================================
   SPEECH
================================================================ */
.speech-body {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 50px 56px;
  box-shadow: var(--shadow-md);
  font-size: .97rem;
  line-height: 1.95;
  color: var(--text-body);
}
.speech-body h2 { font-size: 1.3rem; font-weight: 800; color: var(--text-head); margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.speech-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--blue); margin: 22px 0 10px; }
.speech-body p { margin-bottom: 14px; }
.speech-para-wrap { display: flex; gap: 12px; margin-bottom: 18px; }
.para-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}

/* ================================================================
   REVENUE / SECTOR CARDS
================================================================ */
.revenue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.revenue-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  border-top: 4px solid var(--blue);
  text-align: center;
}
.revenue-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rev-icon { font-size: 1.6rem; color: var(--blue); margin-bottom: 10px; }
.rev-amount { font-size: 1.4rem; font-weight: 800; color: var(--text-head); margin-bottom: 4px; }
.rev-label { font-size: .85rem; font-weight: 600; color: var(--text-body); margin-bottom: 4px; }
.rev-note { font-size: .78rem; color: var(--text-muted); }

/* ================================================================
   ALERT / CALLOUT
================================================================ */
.alert {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  margin: 20px 0;
  font-size: .88rem;
  line-height: 1.7;
}
.alert i { flex-shrink: 0; margin-top: 2px; }
.alert-info { background: rgba(0,56,147,.07); border-left: 4px solid var(--blue); }
.alert-info i { color: var(--blue); }
.alert-warning { background: rgba(247,148,29,.08); border-left: 4px solid var(--orange); }
.alert-warning i { color: var(--orange); }
.alert-danger { background: rgba(220,20,60,.07); border-left: 4px solid var(--red); }
.alert-danger i { color: var(--red); }

/* ================================================================
   TAGS
================================================================ */
.tag { display: inline-block; padding: 3px 10px; border-radius: var(--r-full); font-size: .75rem; font-weight: 700; }
.tag-blue   { background: rgba(0,56,147,.1); color: var(--blue); }
.tag-red    { background: rgba(220,20,60,.1); color: var(--red); }
.tag-green  { background: rgba(26,122,60,.1); color: var(--green); }
.tag-orange { background: rgba(247,148,29,.1); color: var(--orange); }

/* ================================================================
   DIVIDERS
================================================================ */
.stripe-divider { height: 4px; background: linear-gradient(90deg, var(--blue) 0%, var(--red) 50%, var(--gold) 100%); }

/* ================================================================
   BACK-TO-TOP
================================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--trans);
  z-index: 9999;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ================================================================
   SCROLL REVEAL ANIMATIONS
================================================================ */
.reveal-hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-hidden.revealed { opacity: 1; transform: translateY(0); }

/* ================================================================
   HEADER SCROLLED STATE
================================================================ */
.site-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.28); }

/* ================================================================
   CHART CARDS (shared across pages)
================================================================ */
.charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.charts-row.single { grid-template-columns: 1fr; }
.chart-box {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.chart-title {
  font-size: .93rem;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-title i { color: var(--blue); }
.chart-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}
