/* Modern Non-Profit Design System for Barqaror Hayot */
:root {
  --primary: #1e3a8a;
  --primary-dark: #0f172a;
  --primary-light: #3b82f6;
  --accent: #0284c7;
  --accent-light: #e0f2fe;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --success: #10b981;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.07);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.top-bar {
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-links a {
  color: #cbd5e1;
  text-decoration: none;
}
.top-links a:hover {
  color: #ffffff;
}
.divider {
  color: #475569;
}
.lang-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  color: #ffffff;
}

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1e3a8a, #0284c7);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}
.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 0.925rem;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--primary-light);
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}
.btn-secondary {
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-block;
}
.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.btn-large {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Hero */
.hero-section {
  padding: 72px 0 64px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-container {
  max-width: 900px;
}
.hero-badge {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Partners */
.partners-section {
  padding: 48px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 28px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.partner-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.partner-initials {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.partner-meta strong {
  display: block;
  font-size: 0.85rem;
  color: #1e293b;
}
.partner-meta span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 80px 0;
}
.section-header {
  margin-bottom: 48px;
}
.badge-sub {
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.text-center {
  text-align: center;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.pillar-card p {
  color: #475569;
  font-size: 0.925rem;
}

/* About & Governance */
.about-section {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}
.about-text p {
  color: #475569;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.governance-box {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.governance-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.credentials-list {
  list-style: none;
  font-size: 0.875rem;
}
.credentials-list li {
  padding: 6px 0;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}
.credentials-list li:last-child {
  border-bottom: none;
}
.about-highlight-card {
  background: linear-gradient(135deg, #1e3a8a, #0369a1);
  padding: 40px;
  border-radius: 16px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}
.card-tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.about-highlight-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 18px;
  margin-bottom: 4px;
}
.director-role {
  font-size: 0.875rem;
  color: #93c5fd;
  margin-bottom: 20px;
}
.director-quote {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e0f2fe;
  margin-bottom: 28px;
  border-left: 3px solid #38bdf8;
  padding-left: 16px;
}
.stamp-verified {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.stamp-check {
  background: #10b981;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Contact */
.contact-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.contact-header {
  margin-bottom: 32px;
}
.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.detail-box {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.detail-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}
.detail-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.detail-value:hover {
  color: var(--primary-light);
}
.detail-sub {
  font-size: 0.8rem;
  color: #64748b;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 36px 0;
  border-top: 1px solid #1e293b;
  font-size: 0.875rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left strong {
  color: #f1f5f9;
  display: block;
  margin-bottom: 4px;
}
.footer-left p {
  color: #64748b;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .contact-details-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }
  .nav-menu {
    display: none;
  }
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
