/* ADAPT NON-PROFIT INC — Global Styles */
:root {
  --primary: #1a5f7a;
  --primary-dark: #134b61;
  --accent: #57c5b6;
  --accent-light: #a3e4d7;
  --text: #2c3e50;
  --text-light: #5a6c7d;
  --bg: #ffffff;
  --bg-alt: #f8fafb;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --radius: 8px;
  --max-width: 1200px;
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover { background: var(--primary-dark); color: #fff !important; }
.nav-cta::after { display: none !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--bg-dark);
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
}

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

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.card p { color: var(--text-light); line-height: 1.6; }

.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.info-block.reverse { direction: rtl; }
.info-block.reverse > * { direction: ltr; }

.info-block h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.info-block p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-light);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 24px 0 12px;
}

.contact-info h3:first-child { margin-top: 0; }

.contact-info p,
.contact-info a {
  color: var(--text-light);
  line-height: 1.8;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(87,197,182,0.15);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg);
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 32px 0 16px;
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content p,
.policy-content li {
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

.policy-content ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.policy-content .effective-date {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 24px;
  display: block;
}

.donate-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.donate-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.donate-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.donate-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.donate-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.donate-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin: 16px 0;
}

.donate-note {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 32px;
}

.donate-note p { color: var(--text-light); line-height: 1.7; }
.donate-note strong { color: var(--primary-dark); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tr:hover td { background: var(--bg-alt); }

.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 64px 0 32px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p { line-height: 1.7; max-width: 320px; }

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

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

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a { color: #94a3b8; }

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 8px;
}

.legal-badge strong { color: var(--primary-dark); }

@media (max-width: 900px) {
  .info-block,
  .contact-grid { grid-template-columns: 1fr; }
  .info-block.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform 0.3s;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    pointer-events: all;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
    display: block;
  }
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .policy-content { padding: 28px; }
}

.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
