/* ==========================================================================
   Shree Balajee Sansthan (श्री बालाजी संस्थान) - Main Stylesheet
   Pure CSS for high performance, accessibility and responsive design
   ========================================================================== */

:root {
  --primary: #d97706;
  --primary-dark: #b45309;
  --primary-light: #fef3c7;
  --primary-hover: #92400e;
  --accent: #ea580c;
  --accent-light: #ffedd5;
  --bg: #FFFDF9;
  --bg-warm: #fcf8f2;
  --card-bg: #ffffff;
  --text: #1c1917;
  --text-muted: #78716c;
  --text-light: #a8a29e;
  --border: #e7e5e4;
  --border-light: #f5f5f4;
  --emerald: #059669;
  --emerald-dark: #047857;
  --emerald-light: #ecfdf5;
  --blue: #2563eb;
  --blue-light: #eff6ff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.09);
  --container-max: 1200px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Brand & Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 2px solid #b45309;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.logo-badge span:first-child { font-size: 15px; line-height: 1; }
.logo-badge span:last-child { font-size: 8px; letter-spacing: 0.5px; opacity: 0.9; }

.brand-title {
  font-size: 18px;
  font-weight: 800;
  color: #78350f;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  color: var(--accent) !important;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  color: #44403c;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.15s ease;
  padding: 6px 0;
}

.nav a:hover, .nav a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.nav-donate {
  background: linear-gradient(135deg, #d97706, #ea580c);
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    align-items: flex-start;
  }
  .nav.show { display: flex; }
}

/* Hero Section Elements */
.holy-pledge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.slogan {
  font-family: 'Rozha One', 'Noto Sans Devanagari', serif;
  font-size: 40px;
  line-height: 1.25;
  color: #451a03;
  margin-bottom: 16px;
}

.slogan span {
  color: var(--primary);
  display: block;
}

.hero-desc {
  font-size: 16px;
  color: #57534e;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #d97706, #ea580c);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transition: all 0.2s;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}

.hero-btn-outline {
  background: #ffffff;
  color: #78350f;
  border: 1.5px solid #d97706;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.hero-btn-outline:hover { background: #fef3c7; }

.box-donate-card {
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid #fde68a;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(180, 83, 9, 0.1);
  position: relative;
}

.box-title {
  font-size: 18px;
  font-weight: 800;
  color: #78350f;
  margin-bottom: 6px;
}

.box-donate-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #d97706, #ea580c);
  color: #ffffff;
  text-decoration: none;
  padding: 13px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
  transition: all 0.2s;
}

.box-donate-btn:hover {
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.45);
  transform: translateY(-1px);
}

/* Impact elements */
.impact-stat {
  font-size: 32px;
  font-weight: 800;
  color: #b45309;
  font-family: monospace;
  margin-bottom: 4px;
}

.impact-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Section elements */
.sec-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sec-title {
  font-family: 'Rozha One', 'Noto Sans Devanagari', serif;
  font-size: 32px;
  color: #451a03;
  margin-bottom: 12px;
}

.sec-desc {
  font-size: 15px;
  color: #57534e;
  max-width: 600px;
  margin: 0 auto;
}

.sec-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Campaigns and programs grid */
.camp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.camp-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.camp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.camp-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.camp-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.camp-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 4px;
}

.camp-body .hindi-sub {
  font-size: 12px;
  color: #d97706;
  font-weight: 700;
  margin-bottom: 10px;
}

.camp-body p {
  font-size: 13px;
  color: #57534e;
  line-height: 1.5;
  margin-bottom: 14px;
}

.progress-bar {
  background: #f5f5f4;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #44403c;
  font-weight: 700;
  margin-bottom: 14px;
}

.about-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; padding: 24px; }
}

.about-split img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 380px;
}

.trust-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.trust-pill {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

/* Testimonials */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.test-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.test-card p {
  font-size: 14px;
  color: #44403c;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.cta-section {
  background: radial-gradient(circle at top right, #92400e, #451a03);
  color: #ffffff;
  text-align: center;
  padding: 60px 24px;
  border-radius: 24px;
  margin: 40px auto;
  max-width: 1280px;
}

.topbar {
  background: #451a03;
  color: #fef3c7;
  font-size: 12px;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-badge {
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn {
  background: #78350f;
  color: #fef3c7;
  border: 1px solid #92400e;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s;
}

.lang-btn:hover {
  background: #92400e;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 12px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fef3c7;
}

.brand-text h1 {
  font-size: 20px;
  font-weight: 800;
  color: #78350f;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-text p {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #44403c;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.15s ease;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

/* Navigation Dropdowns */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  background: none;
  border: none;
  color: #44403c;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  transition: color 0.15s ease;
}

.dropdown-trigger:hover,
.dropdown-trigger.active {
  color: var(--primary);
}

.dropdown-trigger .arrow {
  display: inline-block;
  font-size: 10px;
  transition: transform 0.2s ease;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  z-index: 1100;
  margin-top: 4px;
}

@media (min-width: 901px) {
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }
  .nav-dropdown:hover .arrow {
    transform: rotate(180deg);
  }
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #44403c !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #fffbeb !important;
  color: var(--primary) !important;
  padding-left: 22px !important;
}

.dropdown-menu a.active {
  background: #fef3c7 !important;
  color: #92400e !important;
  font-weight: 700 !important;
  border-left: 3px solid var(--primary) !important;
}

.nav-donate-pill {
  background: linear-gradient(135deg, #d97706, #ea580c);
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-donate-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
}

.mobile-toggle,
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #78350f;
  padding: 4px;
}

/* ==========================================================================
   Hero & Page Headers
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at top right, #fff7ed, #FFFDF9 60%);
  padding: 56px 24px 64px;
  border-bottom: 1px solid #fde68a;
  overflow: hidden;
}

.hero-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h2 {
  font-family: 'Rozha One', 'Noto Sans Devanagari', serif;
  font-size: 40px;
  line-height: 1.25;
  color: #451a03;
  margin-bottom: 16px;
}

.hero h2 span {
  color: var(--primary);
  display: block;
}

.hero p.lead {
  font-size: 16px;
  color: #57534e;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-primary {
  background: linear-gradient(135deg, #d97706, #ea580c);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: #78350f;
  border: 1.5px solid #d97706;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #fef3c7;
}

/* Page Header banner for inner pages */
.page-banner {
  background: linear-gradient(135deg, #451a03, #78350f);
  color: #ffffff;
  padding: 48px 24px;
  text-align: center;
  position: relative;
}

.page-banner h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  font-family: 'Rozha One', 'Noto Sans Devanagari', serif;
}

.page-banner p {
  color: #fde68a;
  font-size: 15px;
  max-width: 650px;
  margin: 0 auto;
}

.page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #d6d3d1;
  margin-top: 14px;
}

.page-banner .breadcrumb a {
  color: #fef3c7;
  text-decoration: underline;
}

/* ==========================================================================
   Donation Card Widget
   ========================================================================== */
.donation-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid #fde68a;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.donation-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--emerald);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
}

.donation-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 6px;
}

.quick-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.quick-chip-btn {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  color: #92400e;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}

.quick-chip-btn:hover,
.quick-chip-btn.active {
  background: var(--primary);
  border-color: var(--primary-dark);
  color: #ffffff;
}

.impact-notice {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  min-height: 42px;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   Impact Bar / Counter Strip
   ========================================================================== */
.impact-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 24px 20px;
}

.impact-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.impact-item {
  padding: 12px;
}

.impact-num {
  font-size: 32px;
  font-weight: 800;
  color: #78350f;
  line-height: 1.1;
  margin-bottom: 4px;
}

.impact-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Section Layouts & Headers
   ========================================================================== */
.section {
  padding: 56px 20px;
}

.section-alt {
  background: var(--bg-warm);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Rozha One', 'Noto Sans Devanagari', serif;
  font-size: 30px;
  color: #451a03;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
}

/* ==========================================================================
   Grids & Cards
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #f5f5f4;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #451a03;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-desc {
  font-size: 13.5px;
  color: #57534e;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Progress bar inside cards */
.progress-box {
  margin: 14px 0;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #e7e5e4;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #d97706, #ea580c);
  border-radius: 999px;
}

/* ==========================================================================
   Forms, Inputs & Buttons
   ========================================================================== */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #44403c;
  margin-bottom: 6px;
}

.form-label span.req {
  color: #dc2626;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: #fafaf9;
  transition: border-color 0.15s, background 0.15s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  background: #ffffff;
}

.data-table th {
  background: #f5f5f4;
  color: #44403c;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f5f5f4;
  color: #292524;
}

.data-table tr:hover {
  background: #fafaf9;
}

/* Trust Badges */
.badge-verified {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #1c1917;
  color: #d6d3d1;
  padding: 56px 20px 24px;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.footer-brand h3 {
  color: #fef3c7;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #a8a29e;
}

.footer-col h4 {
  color: #fef3c7;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  border-bottom: 2px solid #78350f;
  padding-bottom: 6px;
  display: inline-block;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #d6d3d1;
  font-size: 13px;
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: #f59e0b;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #292524;
  font-size: 12px;
  color: #a8a29e;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 12px 18px;
  }
    .topbar-right {
        display: none !important;
    }

    .mobile-toggle,
    .mobile-menu-btn {
        display: block;
    }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
    gap: 12px;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-dropdown {
    width: 100%;
  }
  .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px dashed var(--border);
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 1px solid #fde68a;
    background: #fffdf9;
    border-radius: 8px;
    margin: 6px 0 10px 0;
    padding: 4px 0;
    width: 100%;
  }
  .dropdown-menu a {
    padding: 8px 14px !important;
  }
  .hero h2 {
    font-size: 28px;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Single Campaign & Single Program Details Page Styles */
.details-page-hero {
  background: linear-gradient(135deg, #1c1917, #292524);
  color: #ffffff;
  padding: 48px 20px 40px;
  border-bottom: 3px solid var(--primary);
}

.details-breadcrumb {
  max-width: 1280px;
  margin: 0 auto 16px;
  font-size: 13px;
  color: #a8a29e;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.details-breadcrumb a {
  color: #fde68a;
  text-decoration: none;
}

.details-breadcrumb a:hover {
  text-decoration: underline;
}

.details-hero-content {
  max-width: 1280px;
  margin: 0 auto;
}

.details-tag-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.details-cat-tag {
  background: #f59e0b;
  color: #451a03;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.details-tax-tag {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid #10b981;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.details-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
  line-height: 1.3;
}

.details-hero-subtitle {
  font-size: 18px;
  color: #fde68a;
  font-weight: 600;
  margin: 0 0 14px;
}

.details-layout-grid {
  max-width: 1280px;
  margin: 36px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

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

.details-main-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.details-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.details-body-inner {
  padding: 32px;
}

.details-sidebar-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-donate-box {
  background: #ffffff;
  border: 2px solid #fde68a;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.08);
}

.sidebar-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}

.sidebar-meta-row:last-child {
  border-bottom: none;
}

.details-feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.details-feature-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14px;
  color: #44403c;
  line-height: 1.5;
}

.details-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: #059669;
  font-weight: 800;
  font-size: 15px;
}

.legal-summary-card {
    background: linear-gradient(135deg, #1c1917, #292524);
    color: #ffffff;
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 60px;
}

    .legal-summary-card h2 {
        font-size: 22px;
        font-weight: 800;
        margin-bottom: 8px;
        color: #fef3c7;
    }

    .legal-summary-card p {
        color: #a8a29e;
        font-size: 14px;
        margin-bottom: 24px;
    }

.legal-grid-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.legal-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 16px;
}

    .legal-box span {
        display: block;
        font-size: 11px;
        color: #d6d3d1;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
    }

    .legal-box strong {
        font-family: monospace;
        font-size: 16px;
        color: #fef08a;
        letter-spacing: 0.5px;
    }

/* Bank Details Card */
.bank-box {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
}

    .bank-box h4 {
        color: #166534;
        font-size: 16px;
        font-weight: 800;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    font-size: 13px;
}

.bank-item strong {
    display: block;
    color: #14532d;
    font-size: 11px;
    text-transform: uppercase;
}

.bank-item span {
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
    color: #166534;
}