:root {
  /* Indian NGO Color Palette - Premium & Trustworthy */
  --primary: #FF9933; /* Saffron - Warmth & Energy */
  --primary-dark: #D67D20;
  --secondary: #138808; /* India Green - Growth */
  --navy: #000080; /* Chakra Blue - Trust & Authority */
  --dark: #1A1A1A;
  --light: #F9FAFB;
  --white: #FFFFFF;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --text-muted: #6B7280;
  
  /* Shadows */
  --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);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Premium Gradients */
  --gradient-primary: linear-gradient(135deg, #FF9933 0%, #FFB347 100%);
  --gradient-navy: linear-gradient(135deg, #000080 0%, #1a1a90 100%);
  --gradient-gold: linear-gradient(45deg, #FFD700, #FDB931);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--gray-100);
  font-family: var(--font-body);
  color: var(--dark);
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* Flyer Container - Acts like a page */
.flyer-page {
  width: 100%;
  max-width: 800px;
  background: var(--white);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Ensure content doesn't spill */
}

/* In-Design Pill Navigation (Visual Only) */
.design-pill-nav {
  display: inline-flex;
  background: #1A1A1A;
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
  margin: var(--spacing-md) 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.design-pill-item {
  padding: 6px 16px;
  border-radius: 20px;
  color: #888;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.design-pill-item.active {
  background: linear-gradient(to right, #FF9933, #FF7700); /* Orange gradient text/bg */
  color: white; /* Or dark if background is orange */
  background-clip: padding-box;
}

/* Enhanced Hero Text */
.hero-title {
  color: white;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  letter-spacing: -1px;
}

/* Utility Classes */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

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

/* Navigation (for prototype only) */
.page-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  gap: 15px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.page-nav a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.page-nav a.active {
  opacity: 1;
  color: var(--primary);
  font-weight: 700;
}

/* Header/Banner */
.top-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #FFB347 100%);
  height: 12px;
  width: 100%;
}

.logo-section {
  padding: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Section (Cover) */
.hero-cover {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder {
  width: 100%;
  height: 400px;
  background-color: var(--gray-200);
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23ddd"><circle cx="20" cy="20" r="2"/><circle cx="60" cy="50" r="2"/><circle cx="80" cy="30" r="2"/></g></svg>');
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  position: relative;
}

.hero-overlay {
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-lg);
}

.hero-title {
  color: white;
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content {
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
}

.mission-statement {
  font-size: 1.25rem;
  color: var(--navy);
  font-style: italic;
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

/* Components */
.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--navy);
  background: linear-gradient(135deg, #000080 0%, #2a2a90 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 128, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 128, 0.4);
}

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

/* Impact Numbers */
.stat-card {
  background: white;
  padding: var(--spacing-md);
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

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

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* Content Page Layout */
.content-section {
  padding: var(--spacing-lg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

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

.feature-item {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: bold;
  flex-shrink: 0;
}

/* Footer */
.flyer-footer {
  margin-top: auto;
  background: var(--navy);
  color: white;
  padding: var(--spacing-lg);
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  font-size: 0.9rem;
  opacity: 0.9;
  flex-wrap: wrap;
}

/* Decorative Elements */
.pattern-bg {
  background-color: var(--white);
  background-image: 
    linear-gradient(45deg, #f5f5f5 25%, transparent 25%, transparent 75%, #f5f5f5 75%, #f5f5f5),
    linear-gradient(45deg, #f5f5f5 25%, transparent 25%, transparent 75%, #f5f5f5 75%, #f5f5f5);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

.mandala-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  opacity: 0.08;
  border-radius: 50%;
  pointer-events: none;
  background: 
    repeating-conic-gradient(
      from 0deg,
      var(--primary) 0deg 10deg,
      transparent 10deg 20deg
    );
  mask-image: radial-gradient(black, transparent 70%);
  -webkit-mask-image: radial-gradient(black, transparent 70%);
}
