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

/* Base Styles */
body {
  font-family: 'Arimo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1d1d1f;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Layout Helpers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;              /* consistent side padding at all widths */
}

.section {
  padding: 60px 0;
}

.section-alt {
  background-color: #f5f5f7;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: "Calling Code", "Arimo", system-ui, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  color: #444;
}

/* Header */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;              /* vertical only; horizontal via .container */
  gap: 24px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-block img {
  display: block;
  max-width: 180px;
  height: auto;
}

.tagline {
  font-size: 0.9rem;
  color: #555;
  max-width: 220px;
}

/* Navigation */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.main-nav a {
  text-decoration: none;
  color: #1d1d1f;
  font-weight: 600;
  font-size: 0.95rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
  color: #f04c24;
  border-color: #f04c24;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 60%);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.hero-inner {
  padding: 60px 0;              /* vertical only; horizontal via .container */
}

.hero-text {
  max-width: 800px;
}

.hero h1 {
  font-family: "Calling Code", "Arimo", system-ui, sans-serif;
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #333;
}

.hero-mission {
  font-size: 1rem;
  margin-bottom: 24px;
  color: #444;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button.primary {
  background-color: #f04c24;
  color: #ffffff;
  border: 1px solid #f04c24;
}

.button.primary:hover {
  background-color: #1d1d1f;
  border-color: #1d1d1f;
}

.button.secondary {
  background-color: transparent;
  color: #1d1d1f;
  border: 1px solid #1d1d1f;
}

.button.secondary:hover {
  background-color: #f5f5f7;
}

/* Typography */
h1, h2, h3 {
  font-family: "Calling Code", "Arimo", system-ui, sans-serif;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Content Layouts */
.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

/* For donate section: align headings at the same top baseline */
.two-column.align-center {
  align-items: flex-start;      /* prevents staggered headings */
}

/* Equal-width donate columns and consistent top spacing */
.donate-section .two-column.align-center > div {
  flex: 1 1 250px;
}

.donate-section .two-column.align-center h3 {
  margin-top: 0;
}

.simple-list {
  list-style: disc;
  padding-left: 20px;
}

.simple-list li + li {
  margin-top: 4px;
}

/* Cards / Programs */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.03);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: #444;
  margin-bottom: 10px;
}

.text-link {
  color: #f04c24;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.text-link:hover {
  text-decoration: underline;
}

/* Impact */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.impact-stat {
  background-color: #f5f5f7;
  border-radius: 8px;
  padding: 20px;
}

.impact-number {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Donate Section */
.donate-section {
  background-color: #ffffff;
}

/* Footer */
.site-footer {
  background-color: #1d1d1f;
  color: #f5f5f7;
  margin-top: 40px;
  padding-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-column h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.footer-column p {
  font-size: 0.9rem;
  color: #f5f5f7;
}

.footer-tagline {
  font-style: italic;
  margin-bottom: 4px;
}

.site-footer a {
  color: #fdb7a0;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding: 12px 0 16px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #ccc;
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 40px 0;           /* still vertical only */
  }

  .logo-block img {
    max-width: 150px;
  }

  .tagline {
    max-width: 100%;
  }

  /* explicitly retain side padding on small screens */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
