:root {
  --primary: #1e3a8a;
  --primary-dark: #0f172a;
  --secondary: #0284c7;
  --accent: #059669;
  --accent-light: #d1fae5;
  --bg-light: #f8fafc;
  --surface: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
}

/* Top Institutional Legal Bar */
.tax-notice-bar {
  background: var(--primary-dark);
  color: #94a3b8;
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tax-notice-bar strong {
  color: #f8fafc;
}
.tax-notice-bar a {
  color: #38bdf8;
  text-decoration: underline;
}

/* Header & Navigation */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s ease;
  padding: 6px 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
}

.btn-cta {
  background: var(--primary);
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-cta:hover {
  background: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #f1f5f9;
}

.btn-secondary-white {
  background: transparent;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0369a1 100%);
  color: #ffffff;
  padding: 70px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.15), transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.badge-mission {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #7dd3fc;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 20px;
}

.hero h1 {
  color: #ffffff;
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero p {
  color: #e2e8f0;
  font-size: 1.15rem;
  margin-bottom: 32px;
  font-weight: 400;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 70px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px auto;
}

.section-header .section-tag {
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-bottom: 24px;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

/* Transparency & Non-profit statement */
.transparency-callout {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 36px;
  margin: 48px 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.transparency-callout-icon {
  background: var(--primary);
  color: white;
  padding: 14px;
  border-radius: 10px;
  flex-shrink: 0;
}

.transparency-callout-content h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.transparency-callout-content p {
  color: #334155;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* Forms */
.form-container {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-group label span.required {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background: #f8fafc;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-alert-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

/* Institutional Footer - GOOGLE AD GRANTS MANDATORY */
.footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 60px 24px 24px 24px;
  font-size: 0.88rem;
  border-top: 4px solid var(--secondary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.footer-legal-badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-legal-info p {
  margin-bottom: 8px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.footer-legal-info strong {
  color: #ffffff;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: #64748b;
}

/* Page Banner (for inner pages) */
.page-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  padding: 50px 24px;
  text-align: center;
}

.page-banner h1 {
  color: white;
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.page-banner p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
  max-width: 1200px;
  margin: 16px auto 0 auto;
  padding: 0 24px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.breadcrumbs a {
  color: var(--secondary);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 860px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .nav-menu {
    display: none;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .transparency-callout {
    flex-direction: column;
  }
}
