/* =================================
   Fort Wood Veteran Center - Design System
   Professional, Patriotic, Supportive
   ================================= */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Patriotic Color Palette - Navy, Red, Gold */
  --primary-dark: #1a2e4c;
  --primary: #2c4a7c;
  --primary-light: #4a6fa5;
  --accent-red: #a52a2a;
  --accent-red-dark: #8b2020;
  --accent-gold: #c9a227;
  --accent-gold-light: #d4b94a;

  /* Neutrals */
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  --white: #ffffff;
  --off-white: #fefefe;

  /* Semantic Colors */
  --success: #059669;
  --error: #dc2626;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Shadows and Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-lg);
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--gray-700);
  font-weight: 400;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

/* Header and Navigation */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: opacity var(--transition-smooth);
}

.logo a:hover {
  opacity: 0.8;
}

.logo-img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-base);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-smooth);
}

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

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

.donate-btn {
  background: var(--accent-red);
  color: var(--white) !important;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
  font-weight: 600;
}

.donate-btn::after {
  display: none;
}

.donate-btn:hover {
  background: var(--accent-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary-dark);
  color: var(--white);
  margin-top: 80px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 46, 76, 0.85) 0%, rgba(44, 74, 124, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-2xl);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-xl);
  line-height: 1.1;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.6;
  margin-bottom: var(--space-3xl);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.hero .btn-primary {
  background: var(--accent-red);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow-xl);
}

.hero .btn-primary:hover {
  background: var(--accent-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  backdrop-filter: blur(10px);
}

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

.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  margin: var(--space-md) auto 0;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 16px; opacity: 0.5; }
}

/* Buttons */
.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* Stats Section */
.stats-section {
  padding: var(--space-3xl) 0;
  margin-top: calc(-1 * var(--space-4xl));
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-smooth);
}

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

.stat-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Section Styling */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-2xl);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-intro {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Mission Section */
.mission-section {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.mission-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  transition: all var(--transition-smooth);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 100%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.mission-card:hover::before {
  opacity: 1;
}

.mission-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
}

.mission-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
}

.mission-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-md);
  color: var(--primary-dark);
}

.mission-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

.mission-quote {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
}

.mission-quote::before {
  content: '"';
  position: absolute;
  top: var(--space-lg);
  left: var(--space-2xl);
  font-size: 6rem;
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.mission-quote p {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.mission-quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--accent-gold-light);
  font-size: 1rem;
}

/* Services Section */
.services-section {
  padding: var(--space-4xl) 0;
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.service-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  padding: 0;
  overflow: hidden;
}

.service-card.featured .service-image {
  height: 100%;
  min-height: 300px;
}

.service-card.featured .service-content {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--primary-dark);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-top: var(--space-xl);
}

.service-features li {
  padding: var(--space-sm) 0 var(--space-sm) var(--space-xl);
  position: relative;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
}

/* About Section */
.about-section {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.about-text .section-tag {
  margin-bottom: var(--space-md);
}

.about-text h2 {
  margin-bottom: var(--space-xl);
}

.about-values {
  margin-top: var(--space-2xl);
}

.value-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--gray-200);
}

.value-item:last-child {
  border-bottom: none;
}

.value-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.value-item h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--primary-dark);
}

.value-item p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.about-img-large {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.about-image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* Testimonial Section */
.testimonial-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.testimonial-section .section-header {
  color: var(--white);
}

.testimonial-section .section-tag {
  background: rgba(255, 255, 255, 0.2);
}

.testimonial-section h2 {
  color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: var(--space-xl);
}

.testimonial-content p {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.author-info strong {
  display: block;
  color: var(--primary-dark);
  font-size: 0.9375rem;
}

.author-info span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Contact Section */
.contact-section {
  padding: var(--space-4xl) 0;
  background: var(--gray-50);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

.contact-info .section-tag {
  margin-bottom: var(--space-md);
}

.contact-methods {
  margin-top: var(--space-2xl);
}

.contact-method {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--gray-300);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.contact-method h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  color: var(--primary-dark);
}

.contact-method p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

.contact-method a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-method a:hover {
  text-decoration: underline;
}

.crisis-box {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid var(--accent-red);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
  text-align: center;
}

.crisis-box h4 {
  color: var(--accent-red-dark);
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

.crisis-box p {
  color: var(--gray-700);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}

.crisis-number {
  display: inline-block;
  background: var(--accent-red);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-lg);
  text-decoration: none;
  margin-bottom: var(--space-md);
}

.crisis-number:hover {
  background: var(--accent-red-dark);
}

.crisis-text {
  font-size: 0.8125rem !important;
  color: var(--gray-500) !important;
  margin-bottom: 0 !important;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-message {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  display: none;
  font-weight: 500;
}

.form-message.success {
  background: #dcfce7;
  color: #166534;
  border: 2px solid #bbf7d0;
  display: block;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 2px solid #fecaca;
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-base);
  background: var(--white);
  color: var(--gray-800);
}

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

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

.form-note {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: var(--space-md);
}

/* Donate Section */
.donate-section {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.donate-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.donate-text .section-tag {
  margin-bottom: var(--space-md);
}

.impact-list {
  margin-top: var(--space-2xl);
}

.impact-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  transition: all var(--transition-smooth);
}

.impact-item:hover {
  background: var(--gray-100);
  transform: translateX(4px);
}

.impact-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  min-width: 60px;
}

.impact-desc {
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.tax-info {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 2px solid #bbf7d0;
  margin-top: var(--space-2xl);
}

.tax-info h4 {
  color: var(--success);
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

.tax-info p {
  color: var(--gray-700);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* Donate Card */
.donate-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-200);
}

.donate-card h3 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.donate-card > p {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.amount-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.amount-btn {
  padding: var(--space-lg);
  border: 2px solid var(--gray-300);
  background: var(--white);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--gray-800);
}

.amount-btn:hover,
.amount-btn.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.custom-amount {
  margin-bottom: var(--space-xl);
}

.custom-amount label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.875rem;
}

.custom-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 1rem;
  color: var(--gray-500);
  font-weight: 600;
}

.custom-amount input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.custom-amount input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 74, 124, 0.1);
}

.donate-submit {
  width: 100%;
  background: var(--accent-red);
  margin-bottom: var(--space-md);
}

.donate-submit:hover {
  background: var(--accent-red-dark);
}

.donate-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* Call to Action */
.call-to-action {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: var(--space-4xl) var(--space-2xl);
  text-align: center;
  color: var(--white);
  border-radius: var(--radius-2xl);
  margin: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.call-to-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: var(--accent-red);
}

.cta-buttons .btn-primary:hover {
  background: var(--accent-red-dark);
}

.cta-buttons .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--space-4xl) 0 var(--space-xl);
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-logo {
  margin-bottom: var(--space-lg);
}

.footer-logo-img {
  height: 60px;
  width: auto;
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-size: 1.125rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-base);
  font-size: 0.9375rem;
}

.footer-section ul li a:hover {
  color: var(--white);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--white);
}

.crisis-footer {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.crisis-footer strong {
  color: var(--accent-red);
}

.crisis-footer a {
  color: var(--accent-gold-light);
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--white);
}

/* Image Placeholders */
.image-placeholder {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border: 2px dashed var(--gray-400);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl);
  transition: all var(--transition-smooth);
}

.image-placeholder:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

.image-placeholder.large {
  min-height: 350px;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.image-placeholder-text {
  position: relative;
  z-index: 2;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
  padding-top: var(--space-3xl);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-menu {
    gap: var(--space-md);
  }

  .nav-link {
    font-size: 0.875rem;
  }

  .donate-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .service-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .service-card.featured .service-image {
    min-height: 200px;
  }

  .about-content,
  .contact-content,
  .donate-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav-container {
    padding: var(--space-lg);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-2xl);
    padding: 5rem var(--space-xl) var(--space-2xl);
    transition: left var(--transition-smooth);
    z-index: 1000;
    overflow-y: auto;
    flex-direction: column;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-link {
    font-size: 1rem;
    padding: var(--space-lg) 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .nav-link::after {
    display: none;
  }

  .donate-btn {
    border-radius: var(--radius-md);
    justify-content: center;
    margin-top: var(--space-md);
  }

  /* Mobile Hero */
  .hero {
    min-height: 100vh;
    margin-top: 70px;
  }

  .hero-content {
    padding: var(--space-lg);
  }

  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 4vw, 1.125rem);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: var(--space-sm);
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  /* Mobile Stats */
  .stats-section {
    margin-top: 0;
    padding: var(--space-2xl) 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-card {
    padding: var(--space-lg);
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-icon {
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-md);
  }

  .stat-icon svg {
    width: 22px;
    height: 22px;
  }

  /* Mobile Grids */
  .mission-grid,
  .services-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .service-card.featured {
    grid-column: span 1;
  }

  .about-image-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Forms */
  .form-row {
    grid-template-columns: 1fr;
  }

  .amount-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mobile Buttons */
  .btn {
    min-height: 48px;
    padding: 1rem 1.5rem;
  }

  .btn-large {
    min-height: 56px;
    padding: 1.25rem 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  /* Mobile Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .amount-buttons {
    grid-template-columns: 1fr;
  }

  .mission-card,
  .service-card,
  .contact-form-wrapper,
  .donate-card {
    padding: var(--space-xl);
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn,
  .call-to-action,
  .hero-image,
  .hero-overlay {
    display: none;
  }

  body {
    background: white;
  }

  .container {
    max-width: 100%;
  }

  .hero {
    min-height: auto;
    padding: var(--space-2xl);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus Styles */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
