body {
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top, #fff, #f6f2e9);
  margin: 0;
  padding: 60px 20px;
  color: #1f2937;
}

.ngo-page {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.badge {
  background: #fff3d6;
  color: #f59e0b;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
}

h1 {
  font-size: 42px;
  margin: 20px 0 10px;
}

.subtitle {
  color: #6b7280;
  margin-bottom: 40px;
}

.search-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}

.search-row input,
.search-row select {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  min-width: 260px;
}

.count {
  text-align: left;
  margin: 30px 0;
  font-weight: bold;
}

.ngo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.ngo-card {
  background: white;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  text-align: left;
}

.ngo-card.selected {
  border: 2px solid #1e3a8a;
}

.desc {
  color: #6b7280;
  margin-bottom: 10px;
}

.loc, .need {
  margin: 8px 0;
  font-weight: bold;
  color: #1e40af;
}

.tags span {
  background: #eef2ff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 8px;
}

.contact {
  margin-top: 6px;
  font-size: 14px;
}

.select-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: transparent;
  cursor: pointer;
}

.selected-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border-radius: 12px;
  background: #1e3a8a;
  color: white;
  border: none;
}

.footer-action {
  margin-top: 40px;
}

.continue-btn {
  background: #f59e0b;
  padding: 16px 28px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.smart-search {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0;
}

.smart-search input {
  width: 420px;
  padding: 16px 22px;
  font-size: 1rem;
  border-radius: 14px;
  border: 2px solid #e5e7eb;
  outline: none;
  transition: 0.3s;
}

.smart-search input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.tabs-container {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.state-tab {
  background: #2563eb;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}

.state-tab:hover {
  background: #1e40af;
  transform: translateY(-2px);
}
