/* ============================================
   Gurdwara Singh Sabha Dehrian - Main Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Sanskrit:ital@0;1&family=Cinzel:wght@400;600;700;900&family=Lato:wght@300;400;700&display=swap');

/* === CSS VARIABLES === */
:root {
  --saffron: #FF6B00;
  --saffron-light: #FF8C33;
  --saffron-dark: #CC5500;
  --gold: #D4A017;
  --gold-light: #F0C040;
  --gold-pale: #FFF3D0;
  --white: #FFFFFF;
  --cream: #FFFAF0;
  --dark: #1A0A00;
  --dark-mid: #3D1F00;
  --text-body: #3A2000;
  --text-muted: #7A5C3A;
  --border: rgba(212, 160, 23, 0.3);
  --shadow: 0 8px 40px rgba(255, 107, 0, 0.15);
  --shadow-gold: 0 4px 20px rgba(212, 160, 23, 0.25);
  --gradient-saffron: linear-gradient(135deg, #FF6B00 0%, #FF8C33 50%, #D4A017 100%);
  --gradient-hero: linear-gradient(160deg, #1A0A00 0%, #3D1F00 40%, #7A3000 100%);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  line-height: 1.25;
  color: var(--dark);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-title span {
  color: var(--saffron);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto 1.5rem;
}

.divider::before, .divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: var(--gradient-saffron);
  opacity: 0.5;
}

.divider-icon {
  font-size: 1.4rem;
  color: var(--gold);
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 10, 0, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px rgba(255, 140, 51, 0.6));
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  color: var(--gold-light);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: var(--transition);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-saffron);
  transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-donate-btn {
  background: var(--gradient-saffron);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 50px;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
  transition: var(--transition) !important;
}

.nav-donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.55) !important;
}

.nav-donate-btn::after { display: none !important; }

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

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* === MOBILE NAV === */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(26, 10, 0, 0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--gold-light); }

/* === HERO === */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 107, 0, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(212, 160, 23, 0.08) 0%, transparent 50%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg,
    var(--gold) 0,
    var(--gold) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 30px 30px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  animation: fadeUp 0.9s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.35);
  color: var(--gold-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero h1 .highlight {
  background: var(--gradient-saffron);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeUp 0.9s ease 0.3s both;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-khanda {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(12rem, 25vw, 22rem);
  opacity: 0.06;
  filter: blur(1px);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
  font-family: 'Lato', sans-serif;
}

.btn-primary {
  background: var(--gradient-saffron);
  color: var(--white);
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.45);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255, 107, 0, 0.6);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--saffron);
  border: 2px solid var(--saffron);
}

.btn-outline:hover {
  background: var(--saffron);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  box-shadow: 0 6px 25px rgba(212, 160, 23, 0.4);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(212, 160, 23, 0.55);
}

/* === STICKY DONATE BTN === */
.sticky-donate {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  animation: fadeUp 1s ease 1s both;
}

.sticky-donate .btn {
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
  font-size: 0.9rem;
  padding: 0.8rem 1.5rem;
}

/* === MISSION CARDS === */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-saffron);
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(255, 107, 0, 0.2);
}

.mission-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.mission-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.mission-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* === PROGRESS SECTION === */
.progress-section {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.progress-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 60%);
}

.progress-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.progress-section .section-title {
  color: var(--white);
}

.progress-section .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.amount-display {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
  margin: 2rem 0 1rem;
}

.amount-current {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.amount-sep {
  font-size: 2rem;
  color: rgba(255,255,255,0.3);
}

.amount-goal {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

.progress-bar-wrap {
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  height: 20px;
  margin: 2rem 0 1rem;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-saffron);
  border-radius: 50px;
  position: relative;
  /* UPDATE HERE: Change width % to match actual progress (e.g., 60% = ₹30,000 of ₹5,00,000) */
  width: 4.6%;
  animation: growBar 2s ease 0.5s both;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
  border-radius: 0 50px 50px 0;
}

.progress-percent {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  text-align: right;
  margin-bottom: 2rem;
  font-weight: 700;
}

.progress-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.progress-stat {
  text-align: center;
}

.progress-stat-num {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--saffron-light);
}

.progress-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === DONATE PAGE SPECIFIC === */
.donate-hero {
  background: var(--gradient-hero);
  padding: 8rem 0 4rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.donate-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
}

.donate-hero h1 { color: var(--white); }

.page-hero {
  background: var(--gradient-hero);
  padding: 8rem 0 4rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
}

.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 1rem auto 0; }

.donate-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.donate-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-gold);
  position: relative;
  transition: var(--transition);
}

.donate-step:hover { transform: translateY(-5px); }

.step-num {
  width: 48px; height: 48px;
  background: var(--gradient-saffron);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35);
}

.donate-step h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.donate-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.qr-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

.qr-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 20px; right: 20px;
  height: 3px;
  background: var(--gradient-saffron);
  border-radius: 0 0 3px 3px;
}

.qr-label {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.qr-image-wrap {
  background: white;
  border: 3px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  margin: 0 auto 1.5rem;
  width: fit-content;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

/* UPDATE HERE: Replace with actual QR code image */
.qr-image-wrap img {
  width: 200px;
  height: 200px;
  display: block;
}

.upi-id-box {
  background: var(--gold-pale);
  border: 1px solid rgba(212, 160, 23, 0.4);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
}

.upi-id-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.upi-id {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--saffron-dark);
  word-break: break-all;
}

.donate-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 950px;
  margin: 0 auto;
}

/* === DONOR WALL === */
.donor-wall {
  background: var(--cream);
}

.donor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.donor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.donor-card::after {
  content: '☬';
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 1.5rem;
  color: var(--gold-light);
  opacity: 0.4;
}

.donor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.18);
  border-color: rgba(255, 107, 0, 0.3);
}

.donor-name {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.donor-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 0.75rem;
}

.donor-message {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 2px solid var(--border);
  padding-left: 0.75rem;
}

.donor-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  opacity: 0.7;
}

/* === GALLERY === */
.gallery-section { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--dark-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 50px rgba(255, 107, 0, 0.25);
}

.gallery-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.5);
}

.gallery-placeholder .icon { font-size: 3rem; margin-bottom: 0.5rem; }
.gallery-placeholder p { font-size: 0.85rem; }

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-block {
  background: var(--gradient-hero);
  border-radius: var(--radius);
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.about-image-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
}

.about-khanda {
  font-size: 8rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(255, 140, 51, 0.5));
}

.about-image-label {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  text-transform: uppercase;
}

.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.02rem; }

.about-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-point {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.about-point-icon {
  color: var(--saffron);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* === TRANSPARENCY === */
.transparency-section { background: var(--cream); }

.finance-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}

.finance-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.finance-card:hover { transform: translateY(-5px); }

.finance-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.finance-card-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.finance-card-amount {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.finance-card.collected .finance-card-amount { color: var(--saffron); }
.finance-card.used .finance-card-amount { color: #E53935; }
.finance-card.remaining .finance-card-amount { color: #388E3C; }

.expense-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-gold);
  margin-top: 2rem;
}

.expense-table th {
  background: var(--dark);
  color: var(--gold-light);
  padding: 1rem 1.5rem;
  text-align: left;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.expense-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-body);
}

.expense-table tr:last-child td { border-bottom: none; }
.expense-table tr:hover td { background: var(--gold-pale); }

.badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-completed { background: #E8F5E9; color: #388E3C; }
.badge-pending { background: #FFF3E0; color: #F57C00; }
.badge-progress { background: #E3F2FD; color: #1976D2; }

/* === CONTACT === */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

.contact-info-text p, .contact-info-text a {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 400;
}

.contact-form-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-body);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.form-group textarea { min-height: 130px; resize: vertical; }

/* === FOOTER === */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-icon { font-size: 2.5rem; }

.footer-brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
  margin: 0.5rem 0 0.25rem;
}

.footer-brand-sub {
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-trust {
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-top: 1.25rem;
  font-style: italic;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: gap;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-right {
  display: flex;
  gap: 1.5rem;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(-53%) rotate(3deg); }
}

@keyframes growBar {
  from { width: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === WAHEGURU BAND === */
.waheguru-band {
  background: var(--gradient-saffron);
  color: var(--white);
  padding: 0.75rem;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  overflow: hidden;
  white-space: nowrap;
}

.waheguru-band-inner {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* === TRUST BADGES === */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 700;
}

.trust-badge-icon { font-size: 1.3rem; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-grid, .donate-main-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-khanda { display: none; }
}

@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .progress-stats { gap: 1.5rem; }
  .sticky-donate { bottom: 1rem; right: 1rem; }
  .finance-cards { grid-template-columns: 1fr; }
  .expense-table { font-size: 0.85rem; }
  .expense-table th, .expense-table td { padding: 0.75rem 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* === UTILITY === */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }

.hero,
.page-hero,
.navbar {
  color: var(--white);
}
