:root {
  /* Updated greens from business card palette */
  --sage: #6e8d7c;
  --sage-dark: #3f6153;

  /* Original colors kept */
  --sand: #F5F1E8;
  --warm-white: #FEFDFB;
  --charcoal: #2D3436;
  --charcoal-light: #636E72;
  --accent: #D4A574;
  --border: #E0D9C8;

  /* Layout */
  --max-width: 1200px;
  --content-width: 800px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Crimson Pro', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--sage-dark);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--sage-dark);
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--sage-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sage);
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section {
  padding: var(--spacing-lg) 0;
}

.section-header {
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 2rem;
}

.site-logo {
  font-family: 'Crimson Pro', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sage-dark);
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--sage-dark);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.site-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--warm-white);
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 99;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.site-nav.active {
  right: 0;
}

.nav-list {
  list-style: none;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
}

.nav-list li {
  margin-bottom: 1.5rem;
}

.nav-list a,
.dropdown-toggle {
  font-size: 1.125rem;
  color: var(--charcoal);
  display: block;
  padding: 0.5rem 0;
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.nav-list a:hover,
.nav-list a.active,
.dropdown-toggle:hover,
.dropdown-toggle:focus-visible {
  color: var(--sage);
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(45, 52, 54, 0.5);
  z-index: 98;
}

.nav-overlay.active {
  display: block;
}

/* Dropdown Navigation Styles */
.nav-item-with-dropdown {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.75rem 0;
  margin: 0;
  list-style: none;
  z-index: 200;
}

.nav-item-with-dropdown:hover .nav-dropdown,
.nav-item-with-dropdown:focus-within .nav-dropdown {
  display: block;
}

.nav-dropdown li {
  margin-bottom: 0;
}

.nav-dropdown a {
  padding: 0.875rem 1.75rem;
  display: block;
  color: var(--charcoal);
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.nav-dropdown a:hover {
  background: var(--sand);
  color: var(--sage-dark);
  padding-left: 2rem;
}

.dropdown-toggle::after {
  content: ' ▾';
  font-size: 0.75em;
  margin-left: 0.25rem;
}

.nav-cta {
  margin: 0 2rem 2rem;
}

/* Mobile dropdown styles */
@media (max-width: 1023px) {
  .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--sage);
    margin-left: 1rem;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
    left: auto;
    transform: none;
    display: none;
  }

.nav-item-with-dropdown.is-open .nav-dropdown {
  display: block;
}

  .dropdown-toggle {
    cursor: pointer;
  }
  
  .dropdown-toggle::after {
    display: inline-block;
    transition: transform 0.2s ease;
  }
  
.nav-item-with-dropdown.is-open .dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-item-with-dropdown.is-current > .dropdown-toggle {
  color: var(--sage);
}

  .nav-cta {
    width: calc(100% - 4rem);
    margin-top: auto;
  }
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.5;
  min-height: 44px;
}

.btn-primary {
  background: var(--sage);
  color: white;
}

.btn-primary:hover {
  background: var(--sage-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(123, 158, 137, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--sage-dark);
  border: 2px solid var(--sage);
}

.btn-secondary:hover {
  background: var(--sage);
  color: white;
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn + .btn {
  margin-left: 1rem;
}

.text-center .btn + .btn {
  margin-left: 1rem;
}

@media (max-width: 767px) {
  .btn + .btn {
    margin-left: 0;
    margin-top: 1rem;
  }
}

.hero {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: white;
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.hero h1 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero .btn {
  margin: 0.5rem;
}

.hero .btn-secondary {
  background: white;
  color: var(--sage-dark);
  border: 2px solid white;
}

.hero .btn-secondary:hover {
  background: transparent;
  color: white;
  border-color: white;
}

/* Hero with logo layout - Mobile first */
.hero-with-logo {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  flex: 1;
}

.hero-logo {
  width: 100%;
  max-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero.hero-services {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero.hero-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.2), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.panel-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(4px);
  max-width: 360px;
}

.panel-card h3 {
  color: white;
  margin-bottom: 1rem;
}

.panel-note {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
}

.service-feature {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 16px 30px rgba(45, 52, 54, 0.08);
}

.service-feature-icon {
  font-size: 2.75rem;
  color: var(--sage);
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--charcoal-light);
  margin: 1rem 0;
}

.service-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.service-points li {
  padding-left: 1.5rem;
  position: relative;
}

.service-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

/* Services Showcase Layout - Alternating Image/Content */
.services-showcase {
  display: grid;
  gap: 3rem;
  margin-top: 2rem;
}

.service-showcase-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(45, 52, 54, 0.06);
  transition: box-shadow 0.3s ease;
}

.service-showcase-card:hover {
  box-shadow: 0 8px 24px rgba(45, 52, 54, 0.1);
}

.service-showcase-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--sand);
}

.service-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-showcase-icon {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  background: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(45, 52, 54, 0.15);
}

.service-showcase-content {
  padding: 2rem;
}

.service-showcase-content h3 {
  margin-bottom: 1rem;
  color: var(--sage-dark);
}

.service-showcase-content p {
  margin-bottom: 1.5rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

.service-showcase-content .service-points {
  margin-top: 1.5rem;
}

/* Enhanced Service Cards with Images */
.services-grid-enhanced {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.service-card-enhanced {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(45, 52, 54, 0.06);
}

.service-card-enhanced:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(123, 158, 137, 0.12);
}

.service-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--sand);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(45, 52, 54, 0.15);
}

.service-card-content {
  padding: 2rem;
}

.service-card-content h3 {
  margin-bottom: 1rem;
  color: var(--sage-dark);
}

.service-card-content p {
  margin-bottom: 1rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

.service-card-content .service-points {
  margin: 1.5rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(123, 158, 137, 0.12);
}

.service-card-header {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.service-icon {
  font-size: 1.75rem;
}

.service-footnote {
  margin-top: 1rem;
  color: var(--charcoal);
}

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.step-card {
  background: var(--sand);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border);
}

.step-number {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}

.funding-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.funding-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.funding-card h4 {
  margin-bottom: 0.5rem;
}

.cta-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--sand);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.cta-panel > div:first-child {
  max-width: 100%;
}

.cta-panel h2 {
  margin-top: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* Centered CTA Panel with heading/buttons/tagline */
.cta-panel-centered {
  background: var(--sand);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.cta-panel-centered h2 {
  margin: 0;
  font-size: 2rem;
}

.cta-panel-centered .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  align-items: stretch;
}

.cta-panel-centered .cta-actions .btn {
  width: 100%;
  justify-content: center;
}

.cta-tagline {
  margin: 0;
  color: var(--charcoal-light);
  font-size: 1rem;
  max-width: 600px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: var(--spacing-md) 0;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card > p:last-child {
  margin-top: auto;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(123, 158, 137, 0.15);
}

.card h3 {
  margin-top: 0;
  color: var(--sage-dark);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--sage);
}

/* Card with background image */
.card-with-bg {
  position: relative;
  overflow: hidden;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.card-with-bg:hover .card-bg {
  opacity: 0.25;
  transform: scale(1.05);
}

.card-with-bg h3,
.card-with-bg p {
  position: relative;
  z-index: 1;
}

.card-with-bg .card-icon {
  position: relative;
  z-index: 1;
}

/* Clickable card link */
a.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.card-link h3 {
  color: var(--sage-dark);
  transition: color 0.2s ease;
}

a.card-link:hover h3 {
  color: var(--sage);
}

a.card-link p {
  color: var(--charcoal-light);
}

/* Resources grid with logos */
.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: var(--spacing-md) 0;
}

.resource-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(123, 158, 137, 0.15);
}

.resource-logo {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 120px;
}

.resource-logo img {
  max-width: 150px;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(45, 52, 54, 0.08);
}

.resource-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--sage-dark);
  font-size: 1.5rem;
}

.resource-card p {
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.resource-card p:last-child {
  margin-top: auto;
}

.resource-card a {
  color: var(--sage-dark);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.resource-card a:hover {
  color: var(--sage);
}

.crisis-banner {
  background: var(--sand);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 1.5rem;
  margin: var(--spacing-md) 0;
}

.crisis-banner h4 {
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.crisis-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crisis-contacts a {
  color: var(--charcoal);
  font-weight: 500;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(123, 158, 137, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-required {
  color: var(--accent);
}

.site-footer {
  background: var(--charcoal);
  color: white;
  padding: var(--spacing-lg) 0 var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: var(--spacing-md) 0;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(123, 158, 137, 0.15);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--sand);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-image:hover img {
  transform: scale(1.05);
}

/* Image Lightbox Modal */
.image-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 2001;
}

.lightbox-close:hover {
  background: var(--sand);
  transform: scale(1.1);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-description {
  color: var(--charcoal-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  flex: 1;
}

.product-info .btn {
  margin-top: auto;
  width: 100%;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: var(--spacing-md) 0;
}

.value-card {
  padding: 1.5rem;
  background: white;
  border-left: 4px solid var(--sage);
  border-radius: 0 8px 8px 0;
}

.value-card h4 {
  margin-top: 0;
}

.privacy-section {
  margin-bottom: var(--spacing-lg);
}

.privacy-section h3 {
  color: var(--sage-dark);
  margin-top: var(--spacing-md);
}

.text-center {
  text-align: center;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.bg-sand {
  background: var(--sand);
}

.section.bg-sand {
  background: var(--sand);
  padding: var(--spacing-lg) 0;
}

.highlight {
  color: var(--sage-dark);
  font-weight: 600;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--sage);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  /* Hero with logo - side by side on tablet+ */
  .hero-with-logo {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    text-align: left;
  }

  .hero {
    text-align: left;
  }

  .hero-content {
    flex: 1;
  }

  .hero-logo {
    max-width: 300px;
    flex-shrink: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-feature {
    grid-template-columns: auto 1fr;
    align-items: flex-start;
  }

  .service-showcase-card {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .service-showcase-image {
    height: 100%;
    min-height: 400px;
  }

  .service-showcase-reverse {
    direction: rtl;
  }

  .service-showcase-reverse > * {
    direction: ltr;
  }

  .services-grid-enhanced {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .funding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cta-panel > div:first-child {
    flex: 1;
    max-width: 55%;
  }

  .cta-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
  }

  .cta-panel-centered .cta-actions {
    flex-direction: row;
    width: auto;
    align-items: center;
  }

  .cta-panel-centered .cta-actions .btn {
    width: auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .crisis-contacts {
    flex-direction: row;
    justify-content: space-around;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  /* Larger logo on desktop */
  .hero-logo {
    max-width: 380px;
  }

  .header-content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    width: 100%;
    max-width: none;
    height: auto;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .nav-list {
    display: flex;
    padding: 0;
    gap: 0.5rem 1.5rem;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
  }

  .nav-list li {
    margin-bottom: 0;
  }

  .nav-list a,
  .dropdown-toggle {
    font-size: 0.95rem;
    padding: 0;
  }

  .nav-cta {
    margin: 0;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-showcase-content {
    padding: 3rem;
  }

  .services-grid-enhanced {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .funding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-panel {
    gap: 3rem;
  }

  .cta-panel > div:first-child {
    max-width: 50%;
  }

  .cta-actions {
    gap: 1.25rem;
  }

  .cta-panel-centered {
    padding: 3rem;
  }

  .cta-panel-centered h2 {
    font-size: 2.5rem;
  }

  .cta-panel-centered .cta-actions {
    gap: 1.5rem;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
}

@media (min-width: 1200px) {
  .nav-list {
    gap: 2.25rem;
  }

  .nav-list a {
    font-size: 1rem;
  }

  .nav-list .btn {
    font-size: 1rem;
    padding: 0.8rem 1.75rem;
  }

  .resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media print {
  .site-header,
  .site-footer,
  .mobile-menu-toggle,
  .btn {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Event Card Styles */
.event-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.event-image {
  width: 100%;
  background: var(--sand);
}

.event-image img {
  width: 100%;
  height: auto;
  display: block;
}

.event-details {
  padding: 2rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.event-header h3 {
  margin: 0;
  color: var(--sage-dark);
  flex: 1;
}

.event-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--sage);
  color: white;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.event-intro {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  color: var(--charcoal);
}

.event-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--sand);
  border-radius: 8px;
  margin-bottom: 2rem;
}

.event-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-info-item strong {
  color: var(--sage-dark);
  font-weight: 600;
  font-size: 0.9375rem;
}

.event-info-item p {
  margin: 0;
  font-size: 1rem;
}

.event-description {
  margin-bottom: 2rem;
}

.event-description h4 {
  color: var(--sage-dark);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.event-description ul {
  margin-top: 0.75rem;
}

.event-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.event-actions .btn {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

@media (min-width: 768px) {
  .event-details {
    padding: 3rem;
  }

  .event-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-actions {
    justify-content: flex-start;
  }

  .event-actions .btn {
    flex: 0;
    min-width: auto;
  }
}

@media (min-width: 1024px) {
  .event-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
