/* ===== Design Tokens ===== */
:root {
  --primary: #1E40AF;
  --primary-dark: #0F172A;
  --accent: #2563EB;
  --highlight: #D97706;
  --highlight-light: #F59E0B;
  --hover: #DBEAFE;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --text: #1E293B;
  --text-light: #64748B;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
  --max-width: 1100px;
  --transition: 0.2s ease;
}

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

/* ===== Skip Nav ===== */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--highlight);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 1000;
  text-decoration: none;
}
.skip-nav:focus {
  top: 0.5rem;
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); }

/* ===== Header / Nav ===== */
.site-header {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 64px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}
.nav-brand:hover .nav-logo { color: var(--highlight); }

.nav-logo {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
}

.nav-motto {
  color: var(--highlight);
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.nav-links a.nav-donate {
  background: var(--highlight);
  color: #fff;
  border-radius: 50px;
  padding: 0.45rem 1.25rem;
  font-weight: 700;
}
.nav-links a.nav-donate:hover {
  background: #B45309;
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 0.5rem 1rem 1rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  padding: 1.25rem 1.5rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--highlight);
  flex-shrink: 0;
}

.hero-text {
  min-width: 0;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.1rem;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
}

.hero .subtitle {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.hero .slogan {
  font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.05rem);
  color: var(--highlight);
  font-weight: 700;
  font-style: italic;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--highlight);
  color: #fff;
}
.btn-primary:hover {
  background: #B45309;
  color: #fff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ===== Sections ===== */
.section {
  padding: clamp(3rem, 5vw, 5rem) 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--highlight), var(--highlight-light));
  margin: 0.75rem auto 0;
  border-radius: 4px;
}

.section-alt {
  background: var(--bg-alt);
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--highlight) 0%, var(--highlight-light) 100%);
  color: #fff;
  text-align: center;
  padding: 1rem 1.5rem;
}

.cta-banner h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  color: #fff;
}

.cta-banner .btn {
  background: var(--primary-dark);
  color: #fff;
}
.cta-banner .btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== Two-Column Layout ===== */
.two-col {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1.5fr; }
}

.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

/* ===== Timeline ===== */
.timeline {
  list-style: none;
  border-left: 3px solid var(--highlight);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.timeline li {
  position: relative;
  margin-bottom: 1.25rem;
  padding-left: 0.5rem;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--highlight);
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.timeline .year {
  font-weight: 700;
  color: var(--primary);
}

/* ===== Priority Cards ===== */
.priority-card {
  background: #fff;
  border-left: 4px solid var(--highlight);
  border-radius: var(--radius);
  padding: 2rem 2rem 2rem 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 1.5rem;
}

.priority-card .priority-icon {
  grid-row: 1 / -1;
  width: 56px;
  height: 56px;
  background: var(--hover);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.priority-card .priority-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.priority-card h3 {
  margin-bottom: 0.5rem;
}

@media (max-width: 500px) {
  .priority-card {
    grid-template-columns: 1fr;
  }
  .priority-card .priority-icon {
    margin-bottom: 1rem;
  }
}

.priority-card p {
  color: var(--text-light);
}

.priority-list {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
  color: var(--text-light);
}

.priority-list li {
  margin-bottom: 0.35rem;
}

.priority-message {
  font-style: italic;
  font-weight: 700;
  color: var(--primary) !important;
  margin-top: 0.75rem;
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.contact-option-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-option h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-option p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--hover);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Coming Soon ===== */
.coming-soon {
  text-align: center;
  padding: 4rem 1.5rem;
}

.coming-soon h2 {
  margin-bottom: 1rem;
}

.coming-soon p {
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Endorsement Grid (placeholder) ===== */
.endorsement-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .endorsement-grid { grid-template-columns: repeat(2, 1fr); }
}

.endorsement-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--highlight);
}

.endorsement-card blockquote {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.endorsement-card cite {
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding: 1rem 1.5rem;
}

.page-header h1 {
  color: #fff;
}

.page-header p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.9rem;
}

.site-footer p {
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: var(--highlight);
}
.site-footer a:hover {
  color: #fff;
}

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.75rem;
}
.footer-credit {
  font-size: 0.7rem;
  opacity: 0.5;
  margin-top: 0.5rem;
}
.footer-credit a {
  color: inherit;
  text-decoration: underline;
}
