/* ==========================================================================
   Sayuni Child Reach Organization (SCRO) - Master Responsive Stylesheet
   Reg No: OONGO/R/8090 | Arusha, Tanzania
   Mobile-First & Universal Responsive Design System
   ========================================================================== */

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

:root {
  --header-height: 72px;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Color Palette */
  --primary-blue: #0d5cbe;
  --primary-blue-dark: #094594;
  --primary-blue-light: #eff6ff;
  --growth-green: #10b981;
  --growth-green-dark: #047857;
  --growth-green-light: #ecfdf5;
  --sunburst-orange: #f97316;
  --sunburst-orange-dark: #c2410c;
  --sunburst-orange-light: #fff7ed;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  
  --border-subtle: #e2e8f0;
  --border-focus: #93c5fd;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(13, 92, 190, 0.12);
  --shadow-hover: 0 20px 40px rgba(13, 92, 190, 0.18);

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

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
  touch-action: manipulation;
}

a:hover {
  color: var(--primary-blue-dark);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.75rem;
  }
}

.section {
  padding: 3.5rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.section-bg-alt {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 3.5rem;
  }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.badge-blue {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
}

.badge-green {
  background-color: var(--growth-green-light);
  color: var(--growth-green-dark);
}

.badge-orange {
  background-color: var(--sunburst-orange-light);
  color: var(--sunburst-orange-dark);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  color: var(--text-muted);
}

/* Top Announcement Bar */
.top-bar {
  background-color: var(--bg-dark);
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  overflow: hidden;
}

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

.top-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-reg {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: #fbbf24;
  font-weight: 600;
  font-size: 0.75rem;
}

@media (max-width: 767px) {
  .top-bar {
    padding: 0.4rem 0;
  }
  .top-bar .container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 0.3rem;
  }
  .top-info {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
  }
  .top-info span {
    font-size: 0.75rem;
    white-space: normal;
    text-align: center;
    word-break: break-word;
  }
  .top-reg {
    font-size: 0.7rem;
    margin-top: 0.15rem;
  }
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  width: 100%;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(226, 232, 240, 0.8);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  transition: height var(--transition-fast);
  flex-wrap: nowrap;
}

@media (min-width: 768px) {
  :root {
    --header-height: 80px;
  }
}

@media (min-width: 992px) {
  :root {
    --header-height: 88px;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  min-width: 0;
  max-width: calc(100% - 50px);
  flex-shrink: 1;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-blue);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .brand-logo img {
    width: 50px;
    height: 50px;
  }
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 3.5vw, 1.25rem);
  font-weight: 800;
  color: var(--primary-blue-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: clamp(0.58rem, 2.2vw, 0.75rem);
  font-weight: 600;
  color: var(--growth-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-blue);
  background-color: var(--primary-blue-light);
}

.nav-link.active {
  color: var(--primary-blue-dark);
  background-color: var(--primary-blue-light);
  font-weight: 700;
}

@media (min-width: 992px) {
  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .brand-logo {
    gap: 0.45rem;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-sub {
    font-size: 0.65rem;
  }
  .nav-menu {
    gap: 0.25rem;
  }
  .nav-link {
    font-size: 0.825rem;
    padding: 0.35rem 0.5rem;
  }
  .header-donate-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.825rem;
  }
}

@media (min-width: 1200px) {
  .nav-menu {
    gap: 0.75rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
  }
}

@media (min-width: 1400px) {
  .nav-menu {
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem;
  }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .header-donate-btn {
    display: none;
  }
}

.mobile-toggle {
  display: none;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-height: 44px;
}

.btn-primary {
  background-color: var(--sunburst-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  background-color: var(--sunburst-orange-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.btn-blue {
  background-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 92, 190, 0.3);
}

.btn-blue:hover {
  background-color: var(--primary-blue-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 92, 190, 0.4);
}

.btn-green {
  background-color: var(--growth-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-green:hover {
  background-color: var(--growth-green-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary-blue-dark);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  min-height: 38px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Hero Banner */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(13, 92, 190, 0.85)),
              url('../img/WhatsApp Image 2026-08-05 at 21.30.22 (1).jpeg') center/cover no-repeat;
  color: #ffffff;
  padding: 4.5rem 0 6.5rem 0;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero {
    padding: 6.5rem 0 7.5rem 0;
  }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top, var(--bg-page), transparent);
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content {
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  color: #fef08a;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #e2e8f0;
  margin-bottom: 2rem;
  max-width: 620px;
  line-height: 1.6;
}

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

@media (max-width: 575px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .hero-card {
    padding: 2rem;
  }
}

.hero-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-card-img {
    height: 220px;
  }
}

.hero-card-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.hero-card-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

/* Impact Counter Bar */
.impact-bar {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: #ffffff;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .impact-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 2.25rem 2rem;
    gap: 1.25rem;
  }
}

.impact-item {
  text-align: center;
  padding: 0.5rem 0.5rem;
}

@media (min-width: 768px) {
  .impact-item:not(:last-child) {
    border-right: 1px solid var(--border-subtle);
  }
}

.impact-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-blue-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.impact-num span {
  color: var(--sunburst-orange);
}

.impact-label {
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Card System */
.card-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .span-2-desktop {
    grid-column: span 2;
  }
}

.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .card-img-wrapper {
    height: 220px;
  }
}

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

.card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

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

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.card-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
  line-height: 1.6;
}

.card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Feature Icon Cards */
.value-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
}

.value-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Program Specific Detail Section */
.program-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

@media (min-width: 992px) {
  .program-block {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
  }
  .program-block.reverse {
    direction: rtl;
  }
  .program-block.reverse > * {
    direction: ltr;
  }
}

.program-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 250px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .program-img {
    height: 350px;
  }
}

.program-list {
  list-style: none;
  margin: 1rem 0 1.5rem 0;
}

.program-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.65rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
}

.program-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--growth-green-light);
  color: var(--growth-green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Donation Cards & Interactive Panel */
.donation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .donation-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.donation-tier {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  border: 2px solid var(--border-subtle);
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.donation-tier:hover, .donation-tier.selected {
  border-color: var(--growth-green);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.donation-tier.popular {
  border-color: var(--sunburst-orange);
}

.donation-tier.popular::before {
  content: 'Most Popular Impact';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sunburst-orange);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.tier-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-blue-dark);
  margin: 0.5rem 0 0.2rem 0;
}

.tier-usd {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.tier-impact {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  min-height: 42px;
}

.payment-methods-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .payment-methods-box {
    padding: 2.5rem;
  }
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .payment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.payment-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .payment-card {
    padding: 1.75rem;
  }
}

.payment-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.payment-card-title span.tag {
  background: var(--growth-green);
  color: #ffffff;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.payment-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-top: 0.65rem;
  font-family: monospace;
  font-size: 0.95rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background var(--transition-fast);
  min-height: 34px;
}

.copy-btn:hover {
  background: var(--sunburst-orange);
}

/* Gallery System */
.gallery-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 38px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
  }
}

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

@media (min-width: 768px) {
  .gallery-item {
    height: 240px;
  }
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.88), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #ffffff;
}

.gallery-item:hover img, .gallery-item:focus img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay, .gallery-item:focus .gallery-overlay {
  opacity: 1;
}

/* Touch Device Gallery Overlay Helper */
@media (hover: none) {
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(15,23,42,0.75), transparent 70%);
  }
}

/* Testimonials / Success Stories */
.story-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  position: relative;
}

@media (min-width: 768px) {
  .story-card {
    padding: 2rem;
  }
}

.story-quote {
  font-size: 0.975rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.story-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--growth-green);
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.975rem;
}

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

/* Contact & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
}

.contact-info-box {
  background: var(--primary-blue-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .contact-info-box {
    padding: 2.5rem;
  }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  transition: border-color var(--transition-fast);
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(13, 92, 190, 0.15);
}

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

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  -webkit-overflow-scrolling: touch;
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 5;
}

.modal-close {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 1.5rem;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

@media (min-width: 768px) {
  .float-btn {
    width: 58px;
    height: 58px;
    font-size: 1.6rem;
  }
  .floating-actions {
    bottom: 2rem;
    right: 2rem;
    gap: 0.85rem;
  }
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-whatsapp {
  background-color: #25d366;
}

.float-donate {
  background-color: var(--sunburst-orange);
  animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(249, 115, 22, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 420px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

@media (min-width: 576px) {
  .toast-container {
    right: auto;
  }
}

.toast {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  animation: slide-in 0.3s forwards;
  pointer-events: auto;
}

@keyframes slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .site-footer {
    padding: 5rem 0 2rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }
}

.footer-brand p {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

/* Navigation Overlay & Mobile Responsive Drawer Navigation */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 992px) {
  .mobile-nav-cta {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .header-donate-btn {
    display: none !important;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.25rem 1.5rem 2rem 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    z-index: 1050;
  }

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

  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
  }

  .nav-menu .mobile-nav-cta {
    margin-top: 1.25rem;
    border-bottom: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

/* Mobile & Touch Device Polish Utility Rules */
.contact-info-box a, 
.payment-detail {
  word-break: break-all;
}

@media (max-width: 575px) {
  .modal-box {
    max-height: 85vh;
    border-radius: var(--radius-md);
  }

  .modal-header {
    padding: 1rem 1.25rem;
  }

  .modal-body {
    padding: 1.25rem 1rem;
  }

  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }

  .floating-actions {
    bottom: 1rem;
    right: 1rem;
  }

  .impact-grid {
    padding: 1.25rem 0.85rem;
    gap: 0.85rem;
  }
}

/* Strategic Focus Areas Grid & Cards */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.focus-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

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

.focus-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #94a3b8;
  font-family: var(--font-heading);
  background: var(--primary-blue-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.focus-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.focus-title {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-weight: 700;
  padding-right: 2rem;
}

.focus-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
}

