/* =========================================
   NGO Management Software page
   ngo-website.css ke baad load hota hai (base styles wahi se aate hain)
   ========================================= */

/* Hero image */
.ngs .ngw-hero-grid { grid-template-columns: 1fr 1.1fr; gap: 40px; }
.ngs-hero-img { margin: 0 -20px 0 0; }
.ngs-hero-img img { display: block; width: 100%; height: auto; }

/* ---------- Before / after ---------- */
.ngs-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ngs-col { padding: 32px; border-radius: 16px; }
.ngs-col h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.ngs-col li { position: relative; padding: 11px 0 11px 30px; font-size: 15.5px; line-height: 1.55; border-top: 1px solid; }
.ngs-col li:first-child { border-top: none; }
.ngs-col li::before { position: absolute; left: 0; top: 11px; font-family: "remixicon"; font-size: 18px; line-height: 1.3; }
.ngs-before { background: #fff5f5; }
.ngs-before h3 { color: #b91c1c; }
.ngs-before li { color: #6b4a4a; border-color: #fbdada; }
.ngs-before li::before { content: "\eb99"; color: #ef4444; } /* ri-close-line */
.ngs-after { background: #f0fdf4; }
.ngs-after h3 { color: #15803d; }
.ngs-after li { color: #2f4f3a; border-color: #cdeed8; }
.ngs-after li::before { content: "\eb7b"; color: #16a34a; } /* ri-check-line */

/* ---------- Tabs ---------- */
.ngs-tabs {
  display: flex; gap: 6px; padding: 6px; margin-bottom: 28px;
  background: #fff; border: 1px solid var(--ngw-line); border-radius: 14px;
  overflow-x: auto; scrollbar-width: none;
}
.ngs-tabs::-webkit-scrollbar { display: none; }
.ngs-tabs button {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border: none; border-radius: 10px; background: none; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ngw-text); white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.ngs-tabs button i { font-size: 18px; }
.ngs-tabs button:hover { color: var(--ngw-purple); }
.ngs-tabs button.on { background: var(--ngw-purple); color: #fff; }

.ngs-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px; border-radius: 20px; background: #fff; border: 1px solid var(--ngw-line); }
.ngs-panel[hidden] { display: none; }
.ngs-panel > * { min-width: 0; }
.ngs-panel-copy h3 { font-size: 26px; font-weight: 600; margin-bottom: 12px; }
.ngs-panel-copy > p { font-size: 16px; }
.ngs-list { margin-top: 22px !important; }
.ngs-list li { display: flex; gap: 12px; padding: 9px 0; font-size: 15.5px; color: var(--ngw-ink); }
.ngs-list li::before { content: "\eb7b"; font-family: "remixicon"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--ngw-purple); background: #f0eaff; }

/* Mini screen mockups */
.ngs-screen { padding: 18px; border-radius: 16px; background: var(--ngw-navy); box-shadow: 0 30px 60px -25px rgba(18, 20, 43, 0.6); }
.ngs-screen-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 4px 14px; }
.ngs-screen-head strong { color: #fff; font-size: 15px; }
.ngs-pill { padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; color: #c4b5fd; background: rgba(110, 49, 230, 0.25); white-space: nowrap; }
.ngs-row { display: flex; align-items: center; gap: 12px; padding: 12px; margin-top: 8px; border-radius: 12px; background: #1a1e3a; }
.ngs-row > i { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; background: var(--c, #6366f1); }
.ngs-row > div { flex: 1; min-width: 0; }
.ngs-row > div b { display: block; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ngs-row > div small { color: #8b95a8; font-size: 12px; }
.ngs-row em { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.ngs-row em.ok { color: #34d399; background: rgba(52, 211, 153, 0.12); }
.ngs-row em.warn { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.ngs-row em.off { color: #f87171; background: rgba(248, 113, 113, 0.12); }
.ngs-row em.amt { color: #e2e8f0; background: none; padding: 0; font-size: 13.5px; }
.ngs-row-note { justify-content: center; font-size: 13px; color: #34d399; background: rgba(52, 211, 153, 0.08); }
.ngs-row-note i { font-size: 17px; }
.ngs-acts { display: flex; gap: 6px; }
.ngs-acts b { padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.ngs-acts .y { color: #34d399; background: rgba(52, 211, 153, 0.12); }
.ngs-acts .n { color: #f87171; background: rgba(248, 113, 113, 0.12); }
.ngs-row > i.ngs-date { border-radius: 10px; width: 46px; height: 46px; flex-direction: column; display: flex; align-items: center; justify-content: center; line-height: 1.1; font-size: 10px; font-weight: 500; background: #2e2a6b; color: #c4b5fd; }
.ngs-date b { font-size: 16px; color: #fff; }

.ngs-cert { padding: 28px; }
.ngs-cert-paper { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 20px; border-radius: 6px; text-align: center; background: #fff; border: 6px double var(--ngw-purple); font-family: Georgia, "Times New Roman", serif; }
.ngs-cert-paper > i { font-size: 34px; color: var(--ngw-orange); }
.ngs-cert-paper small { font-family: "Poppins", sans-serif; font-size: 12px; color: var(--ngw-muted); }
.ngs-cert-paper strong { font-size: 22px; color: #312e81; margin: 4px 0 10px; }
.ngs-cert-paper span { font-size: 13px; color: var(--ngw-text); }
.ngs-cert-paper em { font-size: 22px; color: var(--ngw-ink); border-bottom: 1px solid #c7d2fe; padding: 0 20px 4px; margin: 4px 0 8px; }

.ngs-msg { padding: 16px; border-radius: 12px; background: #1a1e3a; color: #cbd5e1; font-size: 14px; line-height: 1.65; }
.ngs-msg-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.ngs-msg-foot span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; font-size: 12.5px; color: #c4b5fd; border: 1px solid #2e2a6b; }
.ngs-msg-foot b { margin-left: auto; padding: 8px 20px; border-radius: 8px; font-size: 13px; color: #fff; background: var(--ngw-orange); }

/* ---------- More modules ---------- */
.ngs-more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; }
.ngs-more li { display: flex; gap: 14px; align-items: flex-start; }
.ngs-more i { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; color: var(--ngw-purple); background: #f0eaff; }
.ngs-more strong { display: block; font-size: 16px; font-weight: 600; color: var(--ngw-ink); margin-bottom: 3px; }
.ngs-more span { display: block; font-size: 14px; line-height: 1.55; color: var(--ngw-muted); }

/* ---------- Roles ---------- */
.ngs-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.ngs-roles > div { padding: 28px 24px; background: var(--ngw-navy); }
.ngs-roles i { font-size: 28px; color: #fbbf24; }
.ngs-roles h3 { color: #fff; font-size: 18px; font-weight: 600; margin: 14px 0 8px; }
.ngs-roles p { font-size: 14.5px; line-height: 1.6; }

/* Plans: price suffix */
.ngw-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; margin-left: 4px; color: var(--ngw-muted); }
.ngw-plan-main .ngw-price small { color: #b8bcd6; }
.ngs-price-text { font-size: 30px; }

.ngs .ngw-faq-list a { color: var(--ngw-purple); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ngs .ngw-hero-grid { grid-template-columns: 1fr; }
  .ngs-hero-img { max-width: 600px; margin: 0; }
  .ngs-more { grid-template-columns: repeat(2, 1fr); }
  .ngs-roles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ngs-compare, .ngs-panel { grid-template-columns: 1fr; }
  .ngs-panel { gap: 28px; padding: 28px; }
}
@media (max-width: 600px) {
  .ngs-col { padding: 24px 20px; }
  .ngs-panel { padding: 22px 18px; }
  .ngs-panel-copy h3 { font-size: 22px; }
  .ngs-more, .ngs-roles { grid-template-columns: 1fr; }
  .ngs-tabs button { flex: 0 0 auto; padding: 11px 14px; }
  .ngs-screen { padding: 12px; }
  .ngs-acts b { padding: 5px 7px; }
  .ngs-row { gap: 10px; padding: 10px; }
  .ngs-row em { white-space: normal; text-align: right; }
  .ngs-screen-head { flex-wrap: wrap; }
}
