/* ============================================================
   SHREE GOVERHDHAN GIRRAJ SEVA FOUNDATION
   Premium NGO Corporate Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;600;700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Colors */
  --primary: #0B5D3B;
  --primary-light: #0e7a4f;
  --primary-dark: #073d28;
  --primary-glow: rgba(11, 93, 59, 0.25);
  --secondary: #0A2E52;
  --secondary-light: #0d3d6e;
  --secondary-dark: #061c32;
  --secondary-glow: rgba(10, 46, 82, 0.25);
  --gold: #D4AF37;
  --gold-light: #e8c94a;
  --gold-dark: #b8952d;
  --gold-glow: rgba(212, 175, 55, 0.3);
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #E9ECEF;
  --text-dark: #1a1a2e;
  --text-mid: #333333;
  --text-muted: #6c757d;
  --success: #198754;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #0dcaf0;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0B5D3B 0%, #0A2E52 100%);
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #b8952d 100%);
  --gradient-hero: linear-gradient(135deg, rgba(11, 93, 59, 0.92) 0%, rgba(10, 46, 82, 0.92) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  --glass-blur: blur(16px);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.22);
  --shadow-primary: 0 8px 24px rgba(11, 93, 59, 0.35);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.35);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --font-modern: 'Outfit', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --navbar-height: 80px;

  /* Z-index scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-overlay: 900;
  --z-modal: 1000;
  --z-toast: 1100;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  color: var(--text-mid);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-label {
  font-family: var(--font-modern);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  color: white;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-tagline {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  margin: 0 auto;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gold);
  border-radius: 3px;
  animation: loading 1.2s ease-in-out infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(350%);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background: rgba(10, 46, 82, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: var(--z-sticky);
  transition: all var(--transition-normal);
}

.navbar-main.scrolled {
  background: rgba(10, 46, 82, 0.99);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  height: 70px;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-emblem {
  width: 52px;
  height: 52px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.navbar-brand:hover .brand-emblem {
  transform: rotate(10deg) scale(1.05);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.5px;
  max-width: 220px;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--font-modern);
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Navbar Links */
.navbar-nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-nav-center>li {
  position: relative;
}

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-modern);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.nav-link-item:hover,
.nav-link-item.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link-item .chevron {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.nav-link-item:hover .chevron {
  transform: rotate(180deg);
}

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 46, 82, 0.98);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 180px);
  gap: 4px;
  min-width: 580px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xl);
}

.nav-dropdown:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-modern);
  font-size: 0.78rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mega-dropdown a:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.mega-dropdown a .dd-icon {
  font-size: 1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

/* Right Buttons */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-donate-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gradient-gold);
  color: var(--secondary-dark) !important;
  font-family: var(--font-modern);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: glow-pulse 2.5s ease-in-out infinite;
}

.btn-donate-nav:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5);
}

@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.7), 0 0 0 4px rgba(212, 175, 55, 0.15);
  }
}

/* Responsive Brand Title Defaults */
.brand-title-mobile {
  display: none;
}
.brand-title-desktop {
  display: inline-block;
}

/* Donate Button Defaults */
.btn-donate-nav .btn-donate-icon {
  display: none;
}
.btn-donate-nav .btn-donate-text {
  display: inline-block;
}

/* Alignment fix for last dropdown item */
@media (min-width: 1024px) {
  .navbar-nav-center > li:last-child .mega-dropdown {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(-10px);
  }
  .navbar-nav-center > li:last-child:hover .mega-dropdown {
    transform: translateX(0) translateY(0);
  }
}

/* Nav links padding optimizations for intermediate desktop sizes */
@media (max-width: 1300px) and (min-width: 1024px) {
  .navbar-nav-center {
    gap: 2px;
  }
  .nav-link-item {
    padding: 6px 8px;
    font-size: 0.74rem;
  }
  .brand-title {
    max-width: 180px;
    font-size: 0.7rem;
  }
  .btn-donate-nav {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
}


/* Mobile hamburger */
.navbar-toggler {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.navbar-toggler span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 46, 82, 0.99);
  overflow-y: auto;
  z-index: var(--z-overlay);
  padding: 20px;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-drawer a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-modern);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.mobile-nav-drawer a:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-section-title {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px 16px 8px;
  font-family: var(--font-modern);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-split {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-split-left,
.hero-split-right {
  position: relative;
  overflow: hidden;
}

.hero-split-left video,
.hero-split-right video,
.hero-split-left img,
.hero-split-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-split-left::after,
.hero-split-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

/* Hero divider line */
.hero-split::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  color: var(--gold);
  font-family: var(--font-modern);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 1s ease;
}

.hero-badge::before {
  content: '●';
  font-size: 0.5rem;
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.2s both;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-headline .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-family: var(--font-modern);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 1s ease 0.6s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gradient-gold);
  color: var(--secondary-dark);
  font-family: var(--font-modern);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-gold);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.5);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-modern);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Hero label badges */
.hero-split-labels {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 6;
}

.hero-split-label {
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.hero-split-label:first-child {
  border-right: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-split-label .label-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  animation: blink 1.5s infinite;
}

/* ============================================================
   SECTION PADDING
   ============================================================ */
.section-pad {
  padding: var(--section-py) 0;
}

.section-pad-sm {
  padding: 60px 0;
}

.container-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ============================================================
   IMPACT COUNTERS SECTION
   ============================================================ */
.counters-section {
  background: var(--gradient-primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.counters-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.counter-card {
  text-align: center;
  color: white;
  padding: 30px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.counter-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.4);
}

.counter-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.counter-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  font-family: var(--font-modern);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ============================================================
   FIXED RIGHT WIDGET (Methane + Bio-CNG)
   ============================================================ */
.impact-widget {
  position: fixed;
  right: -280px;
  top: 50%;
  transform: translateY(-50%);
  width: 270px;
  z-index: var(--z-dropdown);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: right 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.impact-widget.visible {
  right: 16px;
}

.impact-widget-card {
  background: rgba(10, 46, 82, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  color: white;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.impact-widget-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.impact-widget-card.green::before {
  background: var(--gradient-primary);
}

.impact-widget-card.blue::before {
  background: linear-gradient(90deg, var(--secondary), #1e90ff);
}

.widget-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.widget-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.widget-label {
  font-family: var(--font-modern);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  line-height: 1.4;
}

.widget-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.widget-close:hover {
  color: var(--gold);
}

/* ============================================================
   CIRCULAR ECONOMY INFOGRAPHIC
   ============================================================ */
.loop-section {
  background: var(--off-white);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.loop-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 93, 59, 0.06) 0%, transparent 70%);
}

.loop-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  position: relative;
  align-items: start;
}

.loop-step {
  text-align: center;
  padding: 24px 12px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.loop-step.animate {
  opacity: 1;
  transform: translateY(0);
}

.loop-step-num {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-modern);
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-primary);
}

.loop-step-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.loop-step-title {
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.loop-step-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Arrow connectors */
.loop-step::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 52px;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
}

.loop-step:last-child::after {
  display: none;
}

/* ============================================================
   STICKY BOTTOM TICKER
   ============================================================ */
.sticky-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 46px;
  background: rgba(10, 46, 82, 0.97);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--gold);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  background: var(--gradient-gold);
  color: var(--secondary-dark);
  font-family: var(--font-modern);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  display: flex;
  gap: 0;
  animation: ticker-scroll 35s linear infinite;
  white-space: nowrap;
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 500;
}

.ticker-item::before {
  content: '•';
  color: var(--gold);
  font-size: 1rem;
  margin-right: -4px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Compensate for ticker */
body {
  padding-bottom: 46px;
}

/* ============================================================
   SECTION CARDS (General Use)
   ============================================================ */
.card-premium {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--light-gray);
  height: 100%;
}

.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(11, 93, 59, 0.2);
}

.card-premium-header {
  padding: 28px 28px 0;
}

.card-premium-body {
  padding: 20px 28px 28px;
}

.card-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
  background: rgba(11, 93, 59, 0.08);
}

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.project-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 93, 59, 0.25);
}

.project-card-top {
  padding: 24px 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.project-num {
  width: 42px;
  height: 42px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-modern);
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.project-card-body {
  padding: 16px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card-title {
  font-family: var(--font-modern);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.project-budget-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-family: var(--font-modern);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.project-moa {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
}

.project-card-downloads {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-modern);
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid;
}

.btn-dl-red {
  color: #dc3545;
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
}

.btn-dl-red:hover {
  background: #dc3545;
  color: white;
}

.btn-dl-blue {
  color: #0d6efd;
  border-color: #0d6efd;
  background: rgba(13, 110, 253, 0.05);
}

.btn-dl-blue:hover {
  background: #0d6efd;
  color: white;
}

.btn-dl-green {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(11, 93, 59, 0.05);
}

.btn-dl-green:hover {
  background: var(--primary);
  color: white;
}

.btn-dl-orange {
  color: #fd7e14;
  border-color: #fd7e14;
  background: rgba(253, 126, 20, 0.05);
}

.btn-dl-orange:hover {
  background: #fd7e14;
  color: white;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gradient-primary);
  color: white;
  font-family: var(--font-modern);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-primary);
}

.btn-primary-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(11, 93, 59, 0.4);
  color: white;
}

.btn-gold-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gradient-gold);
  color: var(--secondary-dark);
  font-family: var(--font-modern);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-gold);
}

.btn-gold-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5);
  color: var(--secondary-dark);
}

.btn-outline-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-modern);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-outline-main:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ============================================================
   DONATION POPUP MODAL
   ============================================================ */
.donation-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.donation-overlay.open {
  display: flex;
}

.donation-modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.donation-modal-left {
  background: var(--gradient-primary);
  padding: 40px 36px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}

.donation-modal-right {
  padding: 40px 36px;
  background: var(--off-white);
  overflow-y: auto;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-family: var(--font-modern);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-modern);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.trust-badge .badge-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.modal-form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.form-group-modal {
  margin-bottom: 16px;
}

.form-group-modal label {
  display: block;
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group-modal input,
.form-group-modal select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-modern);
  font-size: 0.85rem;
  color: var(--text-dark);
  background: white;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group-modal input:focus,
.form-group-modal select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.payment-methods {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-method-btn {
  flex: 1;
  padding: 10px 8px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  background: white;
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.payment-method-btn.active {
  border-color: var(--primary);
  background: rgba(11, 93, 59, 0.06);
  color: var(--primary);
}

.qr-reveal {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: var(--radius-md);
  border: 2px dashed var(--light-gray);
  transition: all var(--transition-normal);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-reveal.unlocked {
  border-color: var(--primary);
  border-style: solid;
}

.qr-lock-msg {
  font-family: var(--font-modern);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.qr-lock-msg .lock-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.gst-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(11, 93, 59, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
  font-family: var(--font-modern);
  font-size: 0.78rem;
  color: var(--text-dark);
}

.gst-check input[type="checkbox"] {
  margin-top: 2px;
  width: auto;
  accent-color: var(--primary);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   PROJECT HERO BANNER (Individual pages)
   ============================================================ */
.project-hero {
  min-height: 60vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  padding: calc(var(--navbar-height) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}

.project-hero::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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-normal);
  height: 100%;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 5rem;
  font-family: var(--font-display);
  color: rgba(11, 93, 59, 0.08);
  line-height: 1;
  font-weight: 900;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  padding-top: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-modern);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Stars */
.star-rating {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

/* ============================================================
   GOVERNANCE PAGE
   ============================================================ */
.governance-doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: var(--text-dark);
}

.governance-doc-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  color: var(--text-dark);
}

.doc-type-icon {
  width: 50px;
  height: 50px;
  background: rgba(11, 93, 59, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.doc-title {
  font-family: var(--font-modern);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.doc-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.doc-dl-btn {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--gradient-primary);
  color: white;
  font-family: var(--font-modern);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.doc-dl-btn:hover {
  color: white;
  box-shadow: var(--shadow-primary);
}

/* ============================================================
   FORMS (General)
   ============================================================ */
.form-premium {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-gray);
}

.form-group-p {
  margin-bottom: 20px;
}

.form-group-p label {
  display: block;
  font-family: var(--font-modern);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group-p input,
.form-group-p select,
.form-group-p textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-modern);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: white;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group-p input:focus,
.form-group-p select:focus,
.form-group-p textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-group-p textarea {
  resize: vertical;
  min-height: 120px;
}

.form-required {
  color: var(--danger);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main {
  background: var(--gradient-primary);
  color: white;
  padding: 80px 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item .contact-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-heading {
  font-family: var(--font-modern);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.83rem;
  font-family: var(--font-modern);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--gold);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--secondary-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-text {
  font-family: var(--font-modern);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-badge {
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-modern);
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ============================================================
   MEMBER DASHBOARD
   ============================================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--navbar-height) - 46px);
  margin-top: var(--navbar-height);
}

.dashboard-sidebar {
  background: var(--gradient-primary);
  padding: 30px 0;
  position: sticky;
  top: var(--navbar-height);
  height: calc(100vh - var(--navbar-height));
  overflow-y: auto;
}

.dashboard-sidebar .user-info {
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.dashboard-sidebar .user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid var(--gold);
  margin-bottom: 12px;
  overflow: hidden;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-family: var(--font-modern);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  padding-left: 28px;
}

.sidebar-nav a .nav-icon {
  width: 20px;
  text-align: center;
}

.dashboard-content {
  padding: 40px;
  background: var(--off-white);
}

/* Dashboard Cards */
.dash-stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition-normal);
}

.dash-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.dash-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.dash-stat-icon.green {
  background: rgba(11, 93, 59, 0.1);
}

.dash-stat-icon.blue {
  background: rgba(10, 46, 82, 0.1);
}

.dash-stat-icon.gold {
  background: rgba(212, 175, 55, 0.1);
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--secondary-dark);
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar .admin-logo {
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: white;
  font-weight: 700;
}

.admin-sidebar .admin-logo span {
  display: block;
  font-family: var(--font-modern);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.admin-nav-group {
  margin-bottom: 8px;
}

.admin-nav-group-title {
  padding: 8px 24px 4px;
  font-family: var(--font-modern);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-family: var(--font-modern);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.admin-nav a:hover,
.admin-nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--gold);
}

.admin-content {
  padding: 32px;
  background: #f4f6f8;
  overflow-y: auto;
}

.admin-page-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.admin-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  margin-bottom: 24px;
}

/* Stats row */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.admin-stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.admin-stat-label {
  font-family: var(--font-modern);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Tables */
.table-premium {
  width: 100%;
  border-collapse: collapse;
}

.table-premium thead tr {
  background: var(--gradient-primary);
}

.table-premium thead th {
  padding: 12px 16px;
  color: white;
  font-family: var(--font-modern);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.table-premium tbody tr {
  border-bottom: 1px solid var(--light-gray);
  transition: background var(--transition-fast);
}

.table-premium tbody tr:hover {
  background: rgba(11, 93, 59, 0.03);
}

.table-premium tbody td {
  padding: 13px 16px;
  font-family: var(--font-modern);
  font-size: 0.82rem;
  color: var(--text-mid);
}

/* Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-modern);
  font-size: 0.68rem;
  font-weight: 700;
}

.badge-pending {
  background: rgba(255, 193, 7, 0.1);
  color: #856404;
}

.badge-approved {
  background: rgba(25, 135, 84, 0.1);
  color: #146c43;
}

.badge-rejected {
  background: rgba(220, 53, 69, 0.1);
  color: #842029;
}

.badge-active {
  background: rgba(11, 93, 59, 0.1);
  color: var(--primary);
}

/* ============================================================
   NOTIFICATIONS / ALERTS
   ============================================================ */
.alert-premium {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-family: var(--font-modern);
  font-size: 0.85rem;
}

.alert-premium.success {
  background: rgba(25, 135, 84, 0.08);
  border: 1px solid rgba(25, 135, 84, 0.25);
  color: #146c43;
}

.alert-premium.error {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.25);
  color: #842029;
}

.alert-premium.info {
  background: rgba(13, 110, 253, 0.08);
  border: 1px solid rgba(13, 110, 253, 0.25);
  color: #084298;
}

.alert-premium.warning {
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.4);
  color: #664d03;
}

/* ============================================================
   ABOUT PAGE – TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--gold));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-year {
  font-family: var(--font-modern);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 64px;
  right: 20px;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: var(--z-sticky);
  transition: all var(--transition-normal);
  animation: wa-bounce 2s ease-in-out 3s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  color: white;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

@keyframes wa-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 64px;
  right: 84px;
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-primary);
  z-index: var(--z-sticky);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
}

/* ============================================================
   PAGE BREADCRUMB
   ============================================================ */
.breadcrumb-section {
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
  padding: calc(var(--navbar-height) + 16px) 0 16px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-modern);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--gold);
}

.breadcrumb-nav .sep {
  color: var(--text-muted);
}

.breadcrumb-nav .current {
  color: var(--text-dark);
  font-weight: 600;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .loop-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .loop-step:nth-child(4)::after,
  .loop-step:nth-child(7)::after {
    display: none;
  }

  .navbar-nav-center {
    display: none;
  }

  .navbar-toggler {
    display: flex;
  }

  .mobile-nav-drawer {
    display: block;
  }
}

@media (max-width: 992px) {
  :root {
    --section-py: 70px;
    --navbar-height: 70px;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .donation-modal {
    grid-template-columns: 1fr;
  }

  .donation-modal-left {
    padding: 30px 28px;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: relative;
    top: 0;
    height: auto;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 60px;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-split-right {
    display: none;
  }

  .hero-split-labels {
    grid-template-columns: 1fr;
  }

  .hero-split-label:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  }

  .loop-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .loop-step::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .counters-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mega-dropdown {
    grid-template-columns: 1fr 1fr;
    min-width: 320px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .project-card-downloads {
    flex-direction: column;
  }

  .impact-widget {
    display: none;
  }

  .form-premium {
    padding: 24px;
  }

  .brand-title-desktop {
    display: none;
  }
  .brand-title-mobile {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 576px) {
  .btn-donate-nav .btn-donate-text,
  .navbar-login-text,
  .navbar-user-name {
    display: none;
  }
  .btn-donate-nav .btn-donate-icon {
    display: inline-flex;
  }
  .btn-donate-nav {
    padding: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .navbar-right {
    gap: 8px;
  }
  .navbar-brand {
    gap: 8px;
  }
}


@media (max-width: 480px) {
  .counters-grid {
    grid-template-columns: 1fr;
  }

  .loop-steps {
    grid-template-columns: 1fr;
  }

  .payment-methods {
    flex-direction: column;
  }

  .donation-modal-left {
    padding: 24px 20px;
  }

  .donation-modal-right {
    padding: 24px 20px;
  }

  .admin-content {
    padding: 20px;
  }

  .dashboard-content {
    padding: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {

  .navbar-main,
  .sticky-ticker,
  .whatsapp-float,
  .scroll-top-btn,
  .impact-widget,
  .donation-overlay {
    display: none !important;
  }

  body {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: #f0f2f5;
}

.admin-sidebar {
  background: var(--secondary-dark);
  color: white;
  overflow-y: auto;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  z-index: 200;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-logo {
  padding: 24px 22px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-logo span {
  font-family: var(--font-modern);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.admin-nav-group {
  padding: 0 12px;
  margin-bottom: 4px;
}

.admin-nav-group-title {
  font-family: var(--font-modern);
  font-size: 0.63rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 700;
  padding: 16px 10px 6px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-modern);
  font-size: 0.82rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
  transition: all var(--transition-fast);
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.admin-nav a.active {
  background: rgba(11, 93, 59, 0.4);
  color: var(--gold);
  border-left: 2px solid var(--gold);
}

.admin-nav a i {
  width: 18px;
  text-align: center;
}

.admin-content {
  margin-left: 260px;
  padding: 32px;
  min-height: 100vh;
}

.admin-page-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.admin-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.admin-stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.admin-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.admin-stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}

.admin-stat-label {
  font-family: var(--font-modern);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Badge Status */
.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-modern);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pending {
  background: rgba(255, 193, 7, 0.15);
  color: #d68910;
}

.badge-approved {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.badge-rejected {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
}

.badge-active {
  background: rgba(11, 93, 59, 0.12);
  color: #0B5D3B;
}

.badge-new {
  background: rgba(25, 118, 210, 0.12);
  color: #1976D2;
}

/* ============================================================
   GOVERNANCE DOC CARDS
   ============================================================ */
.governance-doc-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.governance-doc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 93, 59, 0.2);
}

.doc-type-icon {
  width: 48px;
  height: 48px;
  background: rgba(11, 93, 59, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.doc-title {
  font-family: var(--font-modern);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.doc-desc {
  font-family: var(--font-modern);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.doc-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-full);
  font-family: var(--font-modern);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.doc-dl-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  color: white;
}

/* ============================================================
   FORM PREMIUM (Public Forms)
   ============================================================ */
.form-premium {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-gray);
}

.form-group-p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group-p label {
  font-family: var(--font-modern);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group-p input,
.form-group-p select,
.form-group-p textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-modern);
  font-size: 0.85rem;
  color: var(--text-dark);
  transition: border-color var(--transition-fast);
  outline: none;
  background: var(--off-white);
}

.form-group-p input:focus,
.form-group-p select:focus,
.form-group-p textarea:focus {
  border-color: var(--primary);
  background: white;
}

.form-group-p textarea {
  resize: vertical;
  min-height: 100px;
}

/* Download Buttons */
.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1.5px solid;
  border-radius: var(--radius-full);
  font-family: var(--font-modern);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-dl-red {
  border-color: #dc3545;
  color: #dc3545;
}

.btn-dl-red:hover {
  background: #dc3545;
  color: white;
}

.btn-dl-orange {
  border-color: #fd7e14;
  color: #fd7e14;
}

.btn-dl-orange:hover {
  background: #fd7e14;
  color: white;
}

.btn-dl-blue {
  border-color: #1976D2;
  color: #1976D2;
}

.btn-dl-blue:hover {
  background: #1976D2;
  color: white;
}

.btn-dl-green {
  border-color: #198754;
  color: #198754;
}

.btn-dl-green:hover {
  background: #198754;
  color: white;
}

/* Breadcrumb */
.breadcrumb-section {
  background: var(--off-white);
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
  padding-top: calc(var(--navbar-height) + 16px);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-modern);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-nav .sep {
  color: var(--light-gray);
}

.breadcrumb-nav .current {
  color: var(--text-dark);
  font-weight: 600;
}

/* Project Hero for inner pages */
.project-hero {
  background: var(--gradient-primary);
  padding: 80px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Timeline */
.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  padding-left: 48px;
  margin-bottom: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid white;
  box-shadow: var(--shadow-gold);
}

.timeline-year {
  font-family: var(--font-modern);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-title {
  font-family: var(--font-modern);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.timeline-desc {
  font-family: var(--font-modern);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Login page padding top fix */
body>.login-wrap {
  padding-top: var(--navbar-height);
}

/* Admin responsive */
@media (max-width: 1024px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-content {
    margin-left: 0;
    padding: 20px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .governance-doc-card {
    flex-direction: column;
    align-items: flex-start;
  }
}