/* ==========================================================================
   AKSHYA SEVA SANSTHAN - OFFICIAL BRAND DESIGN SYSTEM & LOGO COLOR PALETTE
   Extracted directly from the official Akshya Seva Sansthan logo:
   - Deep Forest Green (#0D522C) - "Seva Sansthan" & Tree Trunk base
   - Leaf/Canopy Green (#16A34A, #22C55E) - Foliage & Upper Swoosh
   - Warm Radiant Orange (#EA580C, #F97316) - "AKSHYA" Text & Figure
   - Golden Amber / Warm Yellow (#F59E0B, #EAB308, #FEF08A) - Cupped Hands & Aura
   - Teal / Cyan Accent (#0284C7, #00838F) - Youth Figure in Tree
   - Soft Nature Neutral (#F0FDF4, #F7FDF9, #FFFFFF)
   ========================================================================== */

:root {
  /* Core Brand Tokens */
  --brand-forest-green: #0D522C;
  --brand-forest-green-rgb: 13, 82, 44;
  --brand-forest-green-dark: #073B1E;
  --brand-forest-green-light: #166534;

  --brand-leaf-green: #16A34A;
  --brand-leaf-green-rgb: 22, 163, 74;
  --brand-leaf-green-hover: #15803D;
  --brand-leaf-green-light: #22C55E;
  --brand-leaf-green-soft: #DCFCE7;

  --brand-orange: #EA580C;
  --brand-orange-rgb: 234, 88, 12;
  --brand-orange-hover: #C2410C;
  --brand-orange-light: #FB923C;
  --brand-orange-soft: #FFEDD5;

  --brand-gold: #F59E0B;
  --brand-yellow: #EAB308;
  --brand-yellow-light: #FEF08A;
  --brand-yellow-warm: #FDE047;
  --brand-yellow-bg: #FEF9C3;

  --brand-teal: #0284C7;
  --brand-teal-light: #38BDF8;

  /* Primary Aliases */
  --primary-color: var(--brand-forest-green);
  --primary-hover: var(--brand-forest-green-dark);
  --secondary-color: var(--brand-leaf-green);
  --secondary-hover: var(--brand-leaf-green-hover);
  --accent-color: var(--brand-orange);
  --accent-hover: var(--brand-orange-hover);

  /* Backgrounds & Neutrals */
  --bg-white: #FFFFFF;
  --bg-nature-light: #F0FDF4;
  --bg-nature-subtle: #F7FDF9;
  --bg-nature-card: #FAFCF9;
  --bg-warm-light: #FFFDF7;
  --bg-slate-light: #F8FAFC;

  /* Typography */
  --text-dark: #0F172A;
  --text-forest: #0D522C;
  --text-body: #334155;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --border-green: #BBF7D0;
  --border-orange: #FED7AA;

  /* Legacy mapping aliases */
  --primary-orange: var(--brand-orange);
  --primary-orange-hover: var(--brand-orange-hover);
  --secondary-teal: var(--brand-forest-green);
  --secondary-teal-hover: var(--brand-leaf-green);
  --color-success: var(--brand-leaf-green);
  --brand-blue: var(--brand-forest-green);
  --brand-blue-hover: var(--brand-forest-green-dark);
  --brand-cyan: var(--brand-leaf-green);
}

/* Base Body & Global Typography */
body {
  color: var(--text-body);
  background-color: var(--bg-white);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Glassmorphism Header */
.glass-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(22, 163, 74, 0.12);
  box-shadow: 0 4px 24px rgba(13, 82, 44, 0.05);
}

/* Brand Gradient Text */
.text-akshya-gradient {
  background: linear-gradient(135deg, #EA580C 0%, #D97706 50%, #16A34A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-orange-gradient {
  background: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-green-gradient {
  background: linear-gradient(135deg, #0D522C 0%, #16A34A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Card Designs */
.akshya-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(13, 82, 44, 0.09);
  box-shadow: 0 4px 20px rgba(13, 82, 44, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.akshya-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(13, 82, 44, 0.12);
  border-color: rgba(22, 163, 74, 0.35);
}

.akshya-card-green {
  background: linear-gradient(145deg, #0D522C 0%, #16A34A 100%);
  color: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(13, 82, 44, 0.25);
}

/* Buttons Styled Directly to Brand */
.btn-akshya-orange {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.8rem 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  text-decoration: none;
}

.btn-akshya-orange:hover {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.45);
  transform: translateY(-2px);
}

.btn-akshya-green {
  background: linear-gradient(135deg, #0D522C 0%, #16A34A 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.8rem 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(13, 82, 44, 0.3);
  text-decoration: none;
}

.btn-akshya-green:hover {
  background: linear-gradient(135deg, #15803D 0%, #22C55E 100%);
  box-shadow: 0 8px 25px rgba(13, 82, 44, 0.4);
  transform: translateY(-2px);
}

.btn-akshya-outline {
  background: transparent;
  color: var(--brand-forest-green) !important;
  font-weight: 700;
  border: 2px solid var(--brand-forest-green);
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-akshya-outline:hover {
  background: var(--brand-forest-green);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* Badges & Tags */
.badge-akshya-green {
  background-color: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-akshya-orange {
  background-color: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FED7AA;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-akshya-yellow {
  background-color: #FEFCE8;
  color: #854D0E;
  border: 1px solid #FEF08A;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Process Step Visual Pipeline */
.process-step-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #F0FDF4;
  border: 2.5px solid #16A34A;
  color: #0D522C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.18);
  transition: all 0.3s ease;
}

.process-step-node:hover .process-step-icon {
  background: #16A34A;
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.38);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(13, 82, 44, 0.90);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* Form Styles */
.form-input-akshya {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-input-akshya:focus {
  outline: none;
  border-color: #16A34A;
  box-shadow: 0 0 0 3.5px rgba(22, 163, 74, 0.18);
}

/* Overrides for Legacy / Global Tailwind Elements */
.bg-brand-dark-green { background-color: var(--brand-forest-green) !important; }
.bg-brand-leaf-green { background-color: var(--brand-leaf-green) !important; }
.bg-brand-orange { background-color: var(--brand-orange) !important; }
.bg-brand-yellow { background-color: var(--brand-yellow) !important; }

.text-brand-dark-green { color: var(--brand-forest-green) !important; }
.text-brand-leaf-green { color: var(--brand-leaf-green) !important; }
.text-brand-orange { color: var(--brand-orange) !important; }
.text-brand-yellow { color: var(--brand-yellow) !important; }

.border-brand-dark-green { border-color: var(--brand-forest-green) !important; }
.border-brand-leaf-green { border-color: var(--brand-leaf-green) !important; }
.border-brand-orange { border-color: var(--brand-orange) !important; }

/* Subtle Pulses */
@keyframes akshyaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.akshya-pulse {
  animation: akshyaPulse 3s infinite ease-in-out;
}
