/* ==========================================================================
   Green Park Jeewan Deep Kalyan Sansthan - Design System & Stylesheet
   Theme: Nature Emerald, Warm Gold, Slate & Modern Glassmorphism
   ========================================================================== */

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

:root {
  --primary-900: #062817;
  --primary-800: #0a3d24;
  --primary-700: #0f5132;
  --primary-600: #146c43;
  --primary-500: #198754;
  --primary-400: #20c997;
  --primary-300: #75b798;
  --primary-100: #d1e7dd;
  --primary-50: #e8f5e9;

  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-orange: #ea580c;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --white: #ffffff;
  --black: #000000;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 40px rgba(10, 61, 36, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-700);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.25;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Top Announcement Bar */
.top-announcement-bar {
  background: linear-gradient(90deg, var(--primary-900) 0%, var(--primary-800) 100%);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary-100);
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}
.top-bar-link:hover {
  color: var(--accent-gold);
}

.top-bar-tag {
  background: rgba(245, 158, 11, 0.18);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.02em;
}

/* Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(20, 108, 67, 0.25);
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--slate-700);
  position: relative;
  padding: 0.4rem 0.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-600);
}

.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary-600);
  border-radius: 2px;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-cta-group .btn {
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-500) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(25, 135, 84, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 135, 84, 0.45);
  color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: var(--slate-900);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  color: var(--slate-900);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-800);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--primary-600);
  color: var(--primary-700);
}
.btn-outline-primary:hover {
  background: var(--primary-50);
  color: var(--primary-800);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-800);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 60%, #0d4a2d 100%);
  color: var(--white);
  padding: 4.5rem 0 6rem;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape-1 {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(32, 201, 151, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.hero-shape-2 {
  position: absolute;
  bottom: -20%;
  left: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: linear-gradient(135deg, #75b798 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--primary-100);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--primary-100);
}

.hero-trust-item i {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-card-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-card-frame:hover img {
  transform: scale(1.03);
}

.hero-float-card {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--slate-900);
  border: 1px solid var(--slate-200);
  max-width: 280px;
}

.float-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.float-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1.1;
}

.float-desc {
  font-size: 0.8rem;
  color: var(--slate-600);
  font-weight: 500;
}

/* Impact Stats Ribbon */
.stats-ribbon {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  margin-bottom: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--slate-200);
}
.stat-item:last-child {
  border-right: none;
}

.stat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-icon-wrap.green {
  background: var(--primary-50);
  color: var(--primary-600);
}
.stat-icon-wrap.gold {
  background: var(--accent-gold-light);
  color: var(--accent-gold-hover);
}
.stat-icon-wrap.blue {
  background: #e0f2fe;
  color: #0284c7;
}
.stat-icon-wrap.orange {
  background: #ffedd5;
  color: var(--accent-orange);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--primary-100);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
}

/* About / Pillars Section */
.about-section {
  padding: 5rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-images-cluster {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 90%;
  height: 420px;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: 0;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  color: var(--white);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-width: 250px;
  text-align: center;
}

.about-badge-years {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.about-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.pillar-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.pillar-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 1.3rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.pillar-icon {
  font-size: 1.6rem;
  color: var(--primary-600);
  margin-bottom: 0.6rem;
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.3rem;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Causes Section */
.causes-section {
  padding: 5.5rem 0;
  background: var(--slate-100);
}

.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cause-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.cause-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.cause-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.cause-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cause-card:hover .cause-img-wrap img {
  transform: scale(1.06);
}

.cause-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 81, 50, 0.9);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.cause-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cause-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.cause-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.cause-progress-section {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: var(--slate-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-gold));
  border-radius: var(--radius-full);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 1.2rem;
}

.progress-labels span b {
  color: var(--primary-700);
}

/* Donation Calculator / Quick Donate Banner */
.donate-calculator-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.calculator-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-info h2 {
  color: var(--white);
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.calc-info p {
  color: var(--primary-100);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tax-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
}

.amount-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.amount-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.amount-btn:hover, .amount-btn.active {
  background: var(--accent-gold);
  color: var(--slate-900);
  border-color: var(--accent-gold);
  transform: scale(1.03);
}

.custom-amount-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  outline: none;
  margin-bottom: 1.5rem;
}
.custom-amount-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.custom-amount-input:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.15);
}

.impact-outcome-box {
  background: rgba(25, 135, 84, 0.25);
  border: 1px solid rgba(117, 183, 152, 0.4);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary-100);
  font-size: 0.95rem;
}

/* Gallery Section */
.gallery-section {
  padding: 5.5rem 0;
  background: var(--white);
}

.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-tab {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--primary-600);
  color: var(--white);
  border-color: var(--primary-600);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 40, 23, 0.85) 0%, rgba(6, 40, 23, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--white);
  opacity: 0.9;
  transition: var(--transition-fast);
}

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

.gallery-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.gallery-subtitle {
  font-size: 0.8rem;
  color: var(--accent-gold-light);
}

/* Events & Drives */
.events-section {
  padding: 5.5rem 0;
  background: var(--slate-50);
}

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

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: var(--transition-fast);
}
.event-card:hover {
  border-color: var(--primary-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.event-date-badge {
  background: var(--primary-50);
  border: 2px solid var(--primary-200);
  border-radius: var(--radius-md);
  padding: 1rem 0.8rem;
  text-align: center;
  min-width: 80px;
  flex-shrink: 0;
}

.event-day {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1;
}

.event-month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-600);
}

.event-info {
  flex-grow: 1;
}

.event-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.4rem;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 0.6rem;
}

.event-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Testimonials / Beneficiaries */
.testimonials-section {
  padding: 5.5rem 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
}

.quote-icon {
  font-size: 2.2rem;
  color: var(--primary-300);
  margin-bottom: 1rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-900);
}

.author-role {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* Call to Action Volunteer */
.cta-volunteer-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0a3d24 0%, #062817 100%);
  color: var(--white);
  text-align: center;
  position: relative;
}

.cta-volunteer-content {
  max-width: 720px;
  margin: 0 auto;
}

.cta-volunteer-title {
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-volunteer-desc {
  font-size: 1.15rem;
  color: var(--primary-100);
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 4.5rem 0 2rem;
  border-top: 4px solid var(--primary-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-gold);
}

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

.footer-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--accent-gold);
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--slate-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--slate-50);
}

.modal-title {
  font-size: 1.3rem;
  color: var(--slate-900);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--slate-500);
  line-height: 1;
}

.modal-body {
  padding: 2rem;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  background: var(--white);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Floating Donate Trigger */
.floating-donate-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: var(--slate-900);
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  animation: pulseButton 2.5s infinite;
}

.floating-donate-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--white);
  border-left: 4px solid var(--primary-600);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 320px;
  animation: slideInRight 0.3s ease;
}

.toast.toast-success {
  border-left-color: var(--primary-600);
}

.toast.toast-gold {
  border-left-color: var(--accent-gold);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .calc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
/* Blog & Article Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.blog-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img-wrap img {
  transform: scale(1.08);
}

.blog-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 81, 50, 0.9);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 0.6rem;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.blog-title a:hover {
  color: var(--primary-600);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.85rem;
}

/* Course Styles */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-gold);
}

.course-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.course-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.course-card:hover .course-img-wrap img {
  transform: scale(1.08);
}

.course-free-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: var(--slate-900);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.course-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-meta-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.course-tag {
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.course-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.course-highlights {
  list-style: none;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--slate-700);
}

.course-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.course-highlights li i {
  color: var(--primary-500);
}

.course-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   Comprehensive Multi-Device Responsive Design System (320px to 4K Ultra-Wide)
   ========================================================================== */

/* 1. Ultra-Wide Desktops & 4K (min-width: 1440px) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
    padding: 0 2rem;
  }
}

/* 2. Standard Laptops & MacBooks (1181px - 1439px) */
@media (max-width: 1439px) and (min-width: 1181px) {
  .container {
    max-width: 100%;
    padding: 0 1.25rem;
  }
  .navbar {
    gap: 0.75rem;
  }
  .nav-menu {
    gap: 1.1rem;
  }
  .nav-link {
    font-size: 0.88rem;
    padding: 0.35rem 0.1rem;
  }
  .brand-title {
    font-size: 1.12rem;
  }
  .brand-tagline {
    font-size: 0.65rem;
  }
  .nav-cta-group {
    gap: 0.5rem;
  }
  .nav-cta-group .btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
  .hero-title {
    font-size: 2.6rem;
  }
}

/* 3. Tablets & Touch Screens (769px - 1024px) */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .calc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item:nth-child(2) {
    border-right: none;
  }

  .causes-grid, .gallery-grid, .testimonials-grid, .blog-grid, .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  /* Management Hub & Classroom Grid Layouts */
  div[style*="grid-template-columns: 2.8fr 1.2fr"],
  div[style*="grid-template-columns: 1.1fr 0.9fr"],
  div[style*="grid-template-columns: 1.2fr 0.8fr"],
  div[style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
}

/* 4. Large Tablets & Scaled Laptops (max-width: 1180px) */
@media (max-width: 1180px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    gap: 0.85rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    background: var(--slate-50);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-link.active, .nav-link:hover {
    background: var(--primary-50);
    color: var(--primary-700);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta-group .btn-outline-primary {
    display: none;
  }

  .nav-cta-group .btn-gold {
    display: inline-flex;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--slate-200);
    background: var(--white);
    color: var(--slate-800);
    font-size: 1.2rem;
    cursor: pointer;
  }
}

/* 5. Mobile Phones (max-width: 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  h1, .hero-title, section h1 {
    font-size: clamp(1.75rem, 5vw, 2.3rem) !important;
    line-height: 1.25 !important;
  }

  h2, .section-title {
    font-size: clamp(1.35rem, 4.2vw, 1.85rem) !important;
    line-height: 1.3 !important;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* Top Notice Bar */
  .top-announcement-bar {
    padding: 0.45rem 0;
    font-size: 0.78rem;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.4rem;
  }

  .top-bar-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  /* Navbar */
  .navbar {
    padding: 0.65rem 0;
  }

  .brand-logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
  }

  /* Stats Grid */
  .stats-grid {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    margin-top: 1.5rem;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 0;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  /* Cards Grids */
  .causes-grid, .gallery-grid, .testimonials-grid, .events-grid, .blog-grid, .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Ribbon & Roadmap */
  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Forms & Inputs */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .amount-presets {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .form-control, .amount-btn, .btn {
    min-height: 44px;
    font-size: 16px; /* Prevents auto-zoom on iOS safari */
  }

  /* Multi-Role and Dual-Column Containers */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Responsive Data Tables */
  div[style*="overflow-x: auto"] {
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
    border: 1px solid var(--slate-200);
    margin-bottom: 1rem;
  }

  table {
    min-width: 580px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom div[style*="display: flex"] {
    justify-content: center;
  }

  /* Floating Donate Button */
  .floating-donate-btn {
    bottom: 1rem;
    right: 1rem;
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
  }

  /* Modals */
  .modal-dialog {
    width: 94vw !important;
    margin: 1rem auto;
    padding: 1.5rem !important;
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Management Hub Tabs */
  div[style*="border-bottom: 2px solid var(--slate-200)"] {
    gap: 0.4rem !important;
  }

  div[style*="border-bottom: 2px solid var(--slate-200)"] a {
    font-size: 0.8rem;
    padding: 0.45rem 0.8rem;
  }
}

/* 6. Extra Small Screens & Foldables (max-width: 480px) */
@media (max-width: 480px) {
  .amount-presets {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-sm {
    width: auto;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .brand-tagline {
    display: none;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  /* Touch Targets for Filters */
  .course-filter-btn, .filter-tab {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.8rem !important;
  }
}

