@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:         #374695;
  --navy-dark:    #252f6b;
  --navy-deeper:  #1a2150;
  --navy-light:   #5b6bba;
  --navy-pale:    #edf0fa;
  --navy-xpale:   #f5f6fc;
  --olive:        #748338;
  --olive-dark:   #576228;
  --olive-light:  #9aad52;
  --olive-pale:   #f2f5e6;
  --white:        #ffffff;
  --off-white:    #fafafa;
  --cream:        #f7f8fc;
  --text-primary: #181b2e;
  --text-muted:   #5a6080;
  --text-light:   #9298b8;
  --border:       #dde1ef;
  --border-light: #eceff8;
  --shadow-sm:    0 1px 4px rgba(55,70,149,0.07);
  --shadow-md:    0 4px 18px rgba(55,70,149,0.11);
  --shadow-lg:    0 8px 36px rgba(55,70,149,0.15);
  --r-sm:         6px;
  --r-md:         12px;
  --r-lg:         20px;
  --r-xl:         28px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --transition:   0.2s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-primary); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-sm { padding: 52px 0; }
.text-center { text-align: center; }

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-deeper);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy-deeper);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 14px auto 0;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-body);
}

.btn-primary { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-olive { background: var(--olive); color: var(--white); border: 2px solid var(--olive); }
.btn-olive:hover { background: var(--olive-dark); border-color: var(--olive-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy-pale); transform: translateY(-1px); }

.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.45); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

.btn-ghost { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); font-size: 0.84rem; }
.btn-ghost:hover { background: var(--border-light); color: var(--text-primary); }

.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo { display: flex; align-items: center; cursor: pointer; }

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

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--navy); background: var(--navy-pale); font-weight: 500; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-lang {
  padding: 7px 13px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.nav-lang:hover { background: var(--border-light); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--r-sm); transition: var(--transition); }
.hamburger:hover { background: var(--border-light); }
.hamburger span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  padding: 24px;
}

.mobile-menu.open { display: flex; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-links a { padding: 14px 16px; border-radius: var(--r-sm); font-size: 1.05rem; color: var(--text-primary); border-bottom: 1px solid var(--border-light); transition: var(--transition); }
.mobile-menu-links a:hover { background: var(--navy-pale); color: var(--navy); }

.hero {
  background: var(--navy-deeper);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shape { position: absolute; border-radius: 50%; background: rgba(116,131,56,0.12); pointer-events: none; }
.hero-bg-shape.s1 { width: 500px; height: 500px; top: -140px; right: -100px; }
.hero-bg-shape.s2 { width: 280px; height: 280px; bottom: -80px; left: -60px; background: rgba(255,255,255,0.04); }
.hero-bg-shape.s3 { width: 180px; height: 180px; top: 60px; right: 340px; background: rgba(116,131,56,0.07); }

.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero .eyebrow { color: var(--olive-light); }
.hero .eyebrow::before { background: var(--olive-light); }
.hero .display-title { color: var(--white); }

.hero-tagline { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; }
.hero-tagline span { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.hero-tagline .dot { color: var(--olive-light); }

.hero-desc { font-size: 1.07rem; color: rgba(255,255,255,0.72); margin: 28px 0 40px; max-width: 540px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.hero-stat { padding-right: 40px; margin-right: 40px; border-right: 1px solid rgba(255,255,255,0.1); }
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hero-stat .num { font-family: var(--font-display); font-size: 2.1rem; color: var(--white); line-height: 1; }
.hero-stat .num span { color: var(--olive-light); }
.hero-stat .lbl { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 5px; letter-spacing: 0.04em; }

.search-bar-section {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
  position: sticky;
  top: 70px;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}

.search-bar-inner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search-input-wrap { flex: 1; min-width: 240px; position: relative; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-light); pointer-events: none; }

.search-input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.search-input:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(55,70,149,0.1); }
.search-input::placeholder { color: var(--text-light); }

.filter-select {
  padding: 11px 36px 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.86rem;
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239298b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.filter-select:focus { border-color: var(--navy); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.cat-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 22px 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.cat-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--navy);
  transform: scaleY(0);
  transition: var(--transition);
  border-radius: 0 2px 2px 0;
}

.cat-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-card:hover::after { transform: scaleY(1); }
.cat-card.active { border-color: var(--navy); background: var(--navy-pale); }
.cat-card.active::after { transform: scaleY(1); }

.cat-name { font-size: 0.87rem; font-weight: 600; color: var(--text-primary); line-height: 1.3; font-family: var(--font-display); }
.cat-count { font-size: 0.75rem; color: var(--text-light); }

.dir-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding-top: 36px;
  padding-bottom: 64px;
  align-items: start;
}

.sidebar-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 10px; padding: 0 4px; }
.sidebar-cats { display: flex; flex-direction: column; gap: 3px; }

.sidebar-cat-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  border: none;
  background: transparent;
  font-size: 0.83rem;
  font-family: var(--font-body);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: var(--transition);
  color: var(--text-muted);
}

.sidebar-cat-btn:hover { background: var(--navy-pale); color: var(--navy); }
.sidebar-cat-btn.active { background: var(--navy-pale); color: var(--navy); font-weight: 600; }

.sidebar-cat-btn .badge {
  font-size: 0.72rem;
  background: var(--border-light);
  padding: 2px 7px;
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--text-light);
}

.sidebar-cat-btn.active .badge { background: rgba(55,70,149,0.15); color: var(--navy); }

.ngo-list { display: flex; flex-direction: column; gap: 8px; }
.ngo-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }

.ngo-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--transition);
}

.ngo-card:hover { border-color: var(--border); box-shadow: var(--shadow-sm); }
.ngo-card.open { border-color: var(--navy-light); box-shadow: var(--shadow-md); }

.ngo-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.ngo-card-header:hover { background: var(--navy-xpale); }

.ngo-logo {
  width: 50px;
  height: 50px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-light);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.ngo-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.ngo-logo-placeholder {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy-light);
}

.ngo-card-meta { flex: 1; min-width: 0; }
.ngo-name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 5px; font-family: var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ngo-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ngo-tag { display: inline-block; font-size: 0.7rem; font-weight: 500; padding: 3px 8px; border-radius: 20px; background: var(--navy-pale); color: var(--navy); border: 1px solid rgba(55,70,149,0.15); }
.ngo-loc-tag { font-size: 0.7rem; color: var(--text-light); padding: 3px 0; }

.ngo-chevron { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--border-light); flex-shrink: 0; transition: var(--transition); }
.ngo-card.open .ngo-chevron { background: var(--navy-pale); transform: rotate(180deg); }
.ngo-chevron svg { width: 13px; height: 13px; color: var(--text-muted); }

.ngo-card-body {
  display: none;
  padding: 0 18px 18px;
  border-top: 1px solid var(--border-light);
  animation: slideDown 0.2s ease;
}

.ngo-card.open .ngo-card-body { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.ngo-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.72; margin: 14px 0; }
.ngo-info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 14px; }
.info-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 3px; }
.info-value { font-size: 0.85rem; color: var(--text-primary); }
.info-value a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.info-value a:hover { color: var(--navy-dark); }
.ngo-card-footer { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-light); flex-wrap: wrap; }

.page-header {
  background: var(--navy-deeper);
  padding: 56px 0 44px;
  position: relative;
  overflow: hidden;
}

.page-header::before { content: ''; position: absolute; top: -100px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: rgba(116,131,56,0.1); pointer-events: none; }
.page-header .section-title { color: var(--white); }
.page-header .section-subtitle { color: rgba(255,255,255,0.6); }
.page-header .eyebrow { color: var(--olive-light); }
.page-header .eyebrow::before { background: var(--olive-light); }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.55); transition: var(--transition); cursor: pointer; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.about-visual {
  background: var(--navy-pale);
  border-radius: var(--r-xl);
  padding: 52px 44px;
  border: 1.5px solid rgba(55,70,149,0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-visual::before { content: ''; position: absolute; bottom: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(116,131,56,0.1); }
.about-visual-letter { font-family: var(--font-display); font-size: 9rem; color: rgba(55,70,149,0.18); line-height: 1; margin-bottom: 8px; }
.about-visual-quote { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); }
.about-content p { font-size: 0.96rem; color: var(--text-muted); line-height: 1.78; margin-bottom: 14px; }

.pillars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 48px; }

.pillar-card { background: var(--white); border: 1.5px solid var(--border-light); border-radius: var(--r-md); padding: 26px 22px; transition: var(--transition); }
.pillar-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow-md); }
.pillar-title { font-weight: 700; font-size: 0.95rem; color: var(--navy-deeper); margin-bottom: 8px; font-family: var(--font-display); }
.pillar-text { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; }

.sqwf-band { background: var(--navy-deeper); padding: 72px 0; }
.sqwf-inner { display: flex; gap: 72px; align-items: center; }
.sqwf-content { flex: 1; }
.sqwf-content .section-title { color: var(--white); margin-bottom: 16px; }
.sqwf-content p { color: rgba(255,255,255,0.68); font-size: 0.96rem; line-height: 1.75; margin-bottom: 24px; }
.sqwf-facts { flex: 0 0 260px; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 52px; }
.sqwf-fact { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sqwf-fact:first-child { padding-top: 0; }
.sqwf-fact:last-child { border-bottom: none; padding-bottom: 0; }
.sqwf-fact .num { font-family: var(--font-display); font-size: 1.1rem; color: var(--olive-light); line-height: 1; }
.sqwf-fact .lbl { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 4px; }

.form-wrap { background: var(--white); border-radius: var(--r-lg); padding: 44px; border: 1.5px solid var(--border-light); box-shadow: var(--shadow-md); max-width: 780px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.83rem; font-weight: 500; color: var(--text-primary); margin-bottom: 7px; }
.form-label .req { color: var(--olive); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(55,70,149,0.09); }

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-light); }

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239298b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-hint { font-size: 0.76rem; color: var(--text-light); margin-top: 5px; }
.form-divider { height: 1px; background: var(--border-light); margin: 24px 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--white); border: 1.5px solid var(--border-light); border-radius: var(--r-md); transition: var(--transition); }
.contact-item:hover { border-color: var(--navy-light); box-shadow: var(--shadow-sm); }
.contact-lbl { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 3px; }
.contact-val { font-size: 0.9rem; color: var(--text-primary); }

.cta-band { background: var(--olive-pale); border-top: 1.5px solid rgba(116,131,56,0.2); border-bottom: 1.5px solid rgba(116,131,56,0.2); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

.footer { background: var(--navy-deeper); padding: 68px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.footer-brand .name { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: 10px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.65; color: rgba(255,255,255,0.48); margin-bottom: 20px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.86rem; color: rgba(255,255,255,0.58); transition: var(--transition); cursor: pointer; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--white); }

.page { display: none; }
.page.active { display: block; }

.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.no-results p { margin-top: 12px; font-size: 0.94rem; }

.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 48px; }

.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy-deeper);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
  animation: toastIn 0.3s ease;
  border-left: 4px solid var(--olive);
}

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

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .sqwf-inner { flex-direction: column; }
  .sqwf-facts { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dir-layout { grid-template-columns: 1fr; }
  .sidebar-cats-wrap { display: none; }
}

@media (max-width: 700px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 56px; }
  .section { padding: 60px 0; }
  .hero-stats { gap: 24px; flex-direction: column; }
  .hero-stat { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; margin-bottom: 4px; }
  .hero-stat:last-child { border-bottom: none; }
  .search-bar-section { top: 60px; }
  .cta-inner { flex-direction: column; text-align: center; }
}



/* =============================================
   MOBILE OPTIMIZATION - NGO CARDS & ABOUT SECTION
   ============================================= */

@media (max-width: 700px) {
  /* Make NGO cards full-width on mobile */
  .ngo-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
  }

  /* Ensure card header fits mobile screen */
  .ngo-card-header {
    padding: 14px 12px;
    gap: 10px;
  }

  /* Make logo smaller on mobile */
  .ngo-logo {
    width: 42px;
    height: 42px;
  }

  /* Make NGO name wrap on mobile */
  .ngo-name {
    font-size: 0.88rem;
    white-space: normal;
    line-height: 1.3;
  }

  /* Make tags wrap properly */
  .ngo-tags {
    gap: 4px;
  }

  .ngo-tag,
  .ngo-loc-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  /* Make card body content fit mobile */
  .ngo-card-body {
    padding: 0 12px 14px;
  }

  .ngo-desc {
    font-size: 0.85rem;
    line-height: 1.65;
  }

  /* Stack info grid vertically on very small screens */
  @media (max-width: 480px) {
    .ngo-info-grid {
      grid-template-columns: 1fr !important;
      gap: 8px;
    }
  }

  /* Keep 2 columns on small mobile */
  @media (min-width: 481px) and (max-width: 700px) {
    .ngo-info-grid {
      grid-template-columns: repeat(2, 1fr) !important;
    }
  }

  /* Make info labels and values smaller */
  .info-label {
    font-size: 0.62rem;
  }

  .info-value {
    font-size: 0.78rem;
  }

  /* Make footer buttons stack properly */
  .ngo-card-footer {
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
  }

  .ngo-card-footer .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.78rem;
    padding: 10px 16px;
  }

  /* Make About section content smaller on mobile */
  .about-content p {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .section-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .display-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 44px 0;
  }

  .ngo-card-header {
    padding: 12px 10px;
  }

  .ngo-desc {
    font-size: 0.82rem;
  }

  .info-value a {
    word-break: break-all;
  }
}
