@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* =============================================================
   PEOPLE LIFE CARE TRUST - FULLY RESPONSIVE KIND & PRO THEME
   Universal Device Support: Desktop, Laptop, Tablet, Mobile
   ============================================================= */

:root {
  /* Compassionate Color System */
  --navy-deep: #081a36;
  --navy-hero: #0e2447;
  --navy-surface: #143059;
  --navy-soft: #1d3d6e;
  
  /* Warm Philanthropic Accents */
  --gold-primary: #ca9e4d;
  --gold-warm: #d99c37;
  --gold-hover: #b88628;
  --gold-light: #fef3c7;
  --gold-surface: #fffbeb;
  --gold-border: #fcd34d;

  /* Healing & Life Accents */
  --care-green: #15803d;
  --care-green-light: #dcfce7;
  --care-green-subtle: #f0fdf4;
  --care-rose: #e11d48;
  --care-rose-light: #ffe4e6;
  --care-blue: #0284c7;
  --care-blue-light: #e0f2fe;

  /* Warm Neutral Palette */
  --bg-page: #faf8f5;
  --bg-warm-card: #ffffff;
  --bg-warm-tint: #f5f0eb;
  --border-warm: #e8e2d8;
  --border-subtle: #ede8df;
  
  /* Typography Colors */
  --text-dark: #1e293b;
  --text-heading: #0e2447;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-cream: #fef9ee;

  /* Typography Families */
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-display: 'Cinzel', 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(14, 36, 71, 0.05);
  --shadow-warm: 0 4px 18px -2px rgba(14, 36, 71, 0.06), 0 2px 6px -1px rgba(14, 36, 71, 0.04);
  --shadow-hover: 0 14px 32px -4px rgba(14, 36, 71, 0.12), 0 4px 10px -2px rgba(14, 36, 71, 0.05);
  --shadow-card: 0 8px 24px -4px rgba(14, 36, 71, 0.08);

  --container-max: 1180px;
}

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

html {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-page);
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

/* -------------------------------------------------------------
   TOP TRUST & COMPASSION ANNOUNCEMENT BAR
------------------------------------------------------------- */
.top-trust-bar {
  background-color: var(--navy-deep);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-trust-motto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.top-trust-motto svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

.top-trust-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-trust-meta a {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.top-trust-meta a:hover {
  color: var(--gold-primary);
}

.badge-exempt-tag {
  background: rgba(202, 158, 77, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(202, 158, 77, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* -------------------------------------------------------------
   DECORATIVE TRADITIONAL RIBBON
------------------------------------------------------------- */
.decorative-ribbon {
  display: block;
  width: 100%;
  height: 14px;
  background-image: url('../images/border-pattern.svg');
  background-repeat: repeat-x;
  background-position: left center;
  background-size: 24px 14px;
  border-top: 1px solid rgba(202, 158, 77, 0.35);
  border-bottom: 1px solid rgba(202, 158, 77, 0.35);
  position: relative;
  z-index: 5;
}

/* -------------------------------------------------------------
   SITE HEADER & RESPONSIVE NAVIGATION
------------------------------------------------------------- */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(14, 36, 71, 0.04);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(14, 36, 71, 0.1);
  border: 2px solid #ffffff;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.04);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-hero);
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-hover);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: #334155;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy-hero);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--gold-primary);
  border-radius: 2px;
}

.btn-donate-nav {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-warm) 100%);
  color: #1a202c !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(202, 158, 77, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-donate-nav:hover {
  background: linear-gradient(135deg, var(--gold-warm) 0%, var(--gold-hover) 100%);
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(202, 158, 77, 0.35);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-hero);
  cursor: pointer;
  padding: 10px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
}

/* -------------------------------------------------------------
   HERO / BANNER SECTION
------------------------------------------------------------- */
.hero-banner {
  background-color: var(--navy-hero);
  background-image: 
    radial-gradient(rgba(202, 158, 77, 0.15) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 32px 32px, 16px 16px;
  background-position: 0 0, 8px 8px;
  color: #ffffff;
  padding: clamp(38px, 6vw, 58px) 0 clamp(34px, 5vw, 54px) 0;
  position: relative;
  overflow: hidden;
}

.hero-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hero-banner-sub {
  font-size: clamp(0.96rem, 2.4vw, 1.08rem);
  color: #cbd5e1;
  max-width: 720px;
  line-height: 1.68;
  font-weight: 400;
}

.hero-banner-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: #f1f5f9;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.hero-tag-gold {
  background: rgba(202, 158, 77, 0.22);
  border-color: rgba(202, 158, 77, 0.6);
  color: #fef08a;
  font-weight: 600;
}

/* -------------------------------------------------------------
   MAIN CONTENT WRAPPER
------------------------------------------------------------- */
.main-content {
  flex: 1;
  padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 8vw, 84px) 0;
}

/* -------------------------------------------------------------
   BADGES & HEADINGS
------------------------------------------------------------- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-gold {
  background-color: var(--gold-surface);
  color: #92400e;
  border: 1px solid var(--gold-border);
}

.badge-navy {
  background-color: #eff6ff;
  color: var(--navy-hero);
  border: 1px solid #bfdbfe;
}

.badge-green {
  background-color: var(--care-green-light);
  color: #14532d;
  border: 1px solid #86efac;
}

.section-head-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(36px, 5vw, 52px) auto;
}

.section-title-serif {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--navy-hero);
  margin-top: 10px;
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-desc-lead {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-body);
  line-height: 1.7;
}

/* -------------------------------------------------------------
   RESPONSIVE LAYOUT GRIDS
------------------------------------------------------------- */

/* Stats Banner */
.stats-banner {
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.5vw, 34px) clamp(20px, 4vw, 40px);
  margin-top: -34px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-subtle);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--navy-hero);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* 2-Column Story Grid (About on Home & About pages) */
.story-grid-2col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

/* 3-Column Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 28px);
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 34px) clamp(20px, 3vw, 30px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.pillar-card:hover::before {
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-warm));
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.pillar-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--navy-hero);
  margin-bottom: 10px;
  line-height: 1.3;
}

.pillar-card-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* Leadership Team Grid */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 36px);
  max-width: 960px;
  margin: 0 auto;
}

.leader-card {
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-warm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.leader-img-wrap {
  width: 100%;
  height: clamp(280px, 45vw, 360px);
  background-color: #f1f5f9;
  overflow: hidden;
  position: relative;
}

.leader-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.leader-info {
  padding: clamp(22px, 3.5vw, 30px);
  text-align: center;
  flex: 1;
  background: #ffffff;
}

.leader-name {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--navy-hero);
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-hover);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.leader-bio {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.68;
}

/* Call to Action Banner */
.cta-banner-wrapper {
  background: linear-gradient(135deg, var(--navy-hero) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 52px);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 36px);
  align-items: center;
}

/* Objectives Grid (Who we are) */
.objectives-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: 68px;
}

/* Reassurance & Values Grids */
.reassurance-cards-grid,
.values-grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

/* -------------------------------------------------------------
   DONATION PAGE (Exact Preview Match with Mobile Polish)
------------------------------------------------------------- */
.donate-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

.qr-poster-wrapper {
  position: relative;
  width: 100%;
}

.qr-poster-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: 8px;
  padding: clamp(12px, 2vw, 16px);
  box-shadow: 14px 14px 0px var(--gold-primary);
  overflow: hidden;
  max-width: 100%;
}

.qr-poster-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.qr-download-btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  background-color: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  color: var(--navy-hero);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.qr-download-btn:hover {
  background-color: #f8fafc;
  border-color: var(--navy-hero);
}

.donate-details-column {
  padding-top: 4px;
  min-width: 0;
}

.section-serif-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--navy-hero);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.section-lead-text {
  color: var(--text-body);
  font-size: clamp(0.94rem, 2vw, 1rem);
  margin-bottom: 24px;
  line-height: 1.6;
}

.upi-box-wrapper {
  margin-bottom: 40px;
}

.field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.upi-input-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 12px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  gap: 12px;
}

.upi-id-text {
  font-size: clamp(0.96rem, 3.2vw, 1.15rem);
  font-weight: 700;
  color: var(--navy-deep);
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  word-break: break-all;
}

.btn-copy {
  background-color: #ffffff;
  border: 1px solid #94a3b8;
  color: #1e293b;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 38px;
}

.btn-copy:hover {
  background-color: #f8fafc;
  border-color: var(--navy-hero);
  color: var(--navy-hero);
}

.btn-copy.copied {
  background-color: var(--care-green);
  border-color: var(--care-green);
  color: #ffffff;
}

.bank-details-card {
  margin-top: 16px;
  margin-bottom: 32px;
}

.bank-row {
  border-bottom: 1px solid #e2e8f0;
}

.bank-row-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 12px;
}

.bank-row-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 12px;
}

.bank-row-label {
  font-size: 0.94rem;
  color: var(--text-muted);
  font-weight: 500;
}

.bank-row-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  text-align: right;
}

.bank-copy-left {
  display: flex;
  flex-direction: column;
}

.bank-sub-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 3px;
}

.bank-highlight-val {
  font-size: clamp(1.05rem, 3.2vw, 1.18rem);
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
}

.tax-notice-box {
  background-color: #f8fafc;
  border-left: 4px solid var(--care-green);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.65;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  border-top: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.tax-notice-box strong {
  font-weight: 700;
  color: #0f172a;
}

.tax-notice-box a {
  color: var(--navy-hero);
  font-weight: 600;
  text-decoration: underline;
}

/* -------------------------------------------------------------
   GALLERY PAGE
------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-warm);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--navy-hero);
  color: var(--navy-hero);
}

.filter-btn.active {
  background: var(--navy-hero);
  border-color: var(--navy-hero);
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.gallery-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-warm);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 26, 54, 0.88) 0%, rgba(8, 26, 54, 0) 65%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-overlay span {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(5, 16, 36, 0.94);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 94vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.lightbox-caption {
  color: #e2e8f0;
  font-size: 0.95rem;
  margin-top: 14px;
  text-align: center;
  font-weight: 500;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background 0.2s ease;
  position: absolute;
  z-index: 2010;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-close {
  top: 16px;
  right: 16px;
}

.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* -------------------------------------------------------------
   CONTACT US & ENQUIRY FORM
------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 5vw, 56px);
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #f1f5f9;
  color: var(--navy-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-text p,
.contact-text a {
  font-size: 1rem;
  color: var(--navy-deep);
  font-weight: 500;
  line-height: 1.55;
  word-break: break-word;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-warm);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: #1e293b;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--navy-hero);
  box-shadow: 0 0 0 3px rgba(14, 36, 71, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--navy-hero) 0%, var(--navy-deep) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  box-shadow: 0 4px 12px rgba(14, 36, 71, 0.2);
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--navy-surface) 0%, var(--navy-hero) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 36, 71, 0.25);
}

.alert-success {
  background-color: var(--care-green-subtle);
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 0.95rem;
}

/* -------------------------------------------------------------
   SITE FOOTER
------------------------------------------------------------- */
.site-footer {
  background-color: var(--navy-deep);
  color: #cbd5e1;
  margin-top: auto;
}

.footer-top {
  padding: clamp(40px, 6vw, 58px) 0 clamp(32px, 5vw, 46px) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: clamp(32px, 4vw, 48px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  flex-shrink: 0;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-tagline {
  color: var(--gold-primary);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 14px;
  font-family: var(--font-serif);
  letter-spacing: 0.01em;
  font-style: italic;
}

.footer-reg-info {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
}

.footer-col-title {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #cbd5e1;
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-contact-address {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.footer-contact-links {
  list-style: none;
}

.footer-contact-links li {
  margin-bottom: 6px;
}

.footer-contact-links a {
  color: #cbd5e1;
  font-size: 0.94rem;
  text-decoration: underline;
  word-break: break-word;
}

.footer-contact-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES (TABLETS & DESKTOPS <= 1024px)
------------------------------------------------------------- */
@media (max-width: 1024px) {
  .donate-grid {
    grid-template-columns: 340px 1fr;
    gap: 40px;
  }
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES (TABLETS <= 900px)
------------------------------------------------------------- */
@media (max-width: 900px) {
  .story-grid-2col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .donate-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .qr-poster-wrapper {
    max-width: 380px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta-banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .cta-banner-grid p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES (MOBILE <= 768px)
------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Top bar */
  .top-trust-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .top-trust-meta {
    justify-content: center;
    gap: 12px;
  }

  /* Header & Mobile Drawer Menu */
  .mobile-menu-btn {
    display: flex;
  }
  .nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px 20px 32px 20px;
    gap: 16px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 2px solid var(--gold-primary);
    box-shadow: 0 16px 36px rgba(14, 36, 71, 0.16);
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 1.05rem;
  }
  .nav-link.active::after {
    bottom: 4px;
    left: 30%;
    right: 30%;
  }
  .btn-donate-nav {
    width: 100%;
    padding: 13px 20px;
    font-size: 1rem;
    margin-top: 6px;
  }

  /* Leadership cards */
  .leadership-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  /* Pillars Grid */
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  /* Form row */
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Lightbox buttons repositioning for mobile */
  .lightbox-prev {
    left: 8px;
    width: 40px;
    height: 40px;
  }
  .lightbox-next {
    right: 8px;
    width: 40px;
    height: 40px;
  }
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES (SMALL PHONES <= 540px)
------------------------------------------------------------- */
@media (max-width: 540px) {
  /* Brand text resizing */
  .brand-logo {
    width: 42px;
    height: 42px;
  }
  .brand-title {
    font-size: 1.08rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
  }

  /* Stats banner single column */
  .stats-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: -24px;
    padding: 20px 18px;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .stat-item:not(:last-child) {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
  }

  /* Gallery grid: 2 columns on mobile so photos are compact and clean */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-card-overlay {
    padding: 10px;
  }
  .gallery-card-overlay span {
    font-size: 0.76rem;
    line-height: 1.3;
  }

  /* UPI Box flex wrap */
  .upi-input-group {
    padding: 10px 14px;
  }
  .upi-id-text {
    font-size: 0.95rem;
  }

  /* Bank details card on small screens */
  .bank-row-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 12px 0;
  }
  .bank-row-val {
    text-align: left;
  }

  /* QR Poster Card shadow */
  .qr-poster-card {
    box-shadow: 8px 8px 0px var(--gold-primary);
    padding: 12px;
  }
}

/* -------------------------------------------------------------
   ULTRA-COMPACT SCREENS (<= 360px - Galaxy Fold, etc.)
------------------------------------------------------------- */
@media (max-width: 360px) {
  .brand-title {
    font-size: 0.98rem;
  }
  .brand-subtitle {
    display: none;
  }
  .hero-banner-title {
    font-size: 1.65rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .btn-copy {
    padding: 6px 12px;
    font-size: 0.82rem;
  }
}
