/* ==========================================================================
   STYLE SHEET - LA MOLIENDA PAUJÍ
   Natural Reserve Preservation - Naranjal, Ecuador
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables / Theme System - Light Fresh Nature theme */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Colors - Light Fresh Nature & Sun */
  --bg-primary: #f4f8f5; /* Fresh linen off-white */
  --bg-secondary: #ffffff; /* Pure clean white */
  --bg-tertiary: #e7ede9; /* Sage green pastel */
  --text-primary: #12211a; /* Forest green black (high contrast) */
  --text-secondary: #3d4f46; /* Eucalyptus green */
  --text-muted: #6e8479; /* Muted sage green */
  
  --primary: #22c55e; /* Vibrant warm nature green */
  --primary-hover: #16a34a; /* Deeper forest green */
  --primary-glow: rgba(34, 197, 94, 0.08);
  
  --secondary: #eab308; /* Warm sun gold */
  --secondary-hover: #ca8a04; /* Harvest amber */
  
  --accent: #ea580c; /* Terracotta soil orange */
  --danger: #dc2626; /* Alert red */
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-highlight: rgba(255, 255, 255, 0.5);
  --glass-shadow: rgba(18, 33, 26, 0.05);
  
  --card-border-radius: 16px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient glow backgrounds */
body::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.05) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.04) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0.75rem auto 0 auto;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.3);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.header-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--text-primary);
}

/* Glassmorphism Cards styling */
.glass-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-border-radius);
  box-shadow: 0 10px 40px var(--glass-shadow);
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(34, 197, 94, 0.2);
  box-shadow: 0 15px 45px rgba(18, 33, 26, 0.08);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(18, 33, 26, 0.6) 0%, rgba(18, 33, 26, 0.4) 60%, rgba(244, 248, 245, 1) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  width: 90%;
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-tagline {
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(18, 33, 26, 0.5);
}

.hero-desc {
  font-size: 1.2rem;
  color: #e2e8f0 !important;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 5px rgba(18, 33, 26, 0.5);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-btns .btn-secondary {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

.hero-btns .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
}

/* Info Cards grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Section: The River & Threats */
.river-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.river-info {
  display: flex;
  flex-direction: column;
}

.threat-banner {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  background: rgba(245, 158, 11, 0.03);
  padding: 1.5rem;
  border-radius: 0 var(--card-border-radius) var(--card-border-radius) 0;
}

.threat-banner h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.river-media {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  position: relative;
}

.river-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 10s ease;
}

.river-media:hover img {
  transform: scale(1.05);
}

.river-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
  font-family: var(--font-heading);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* Interactive Environmental Simulator */
.simulator-container {
  margin-top: 4rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.01) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.sim-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sim-visualizer {
  height: 300px;
  background: #e0f2fe;
  border-radius: 12px;
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.sim-water {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(14, 165, 233, 0.6), rgba(56, 189, 248, 0.3));
  transition: var(--transition-smooth);
  z-index: 2;
}

.sim-riverbed {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: #4a3728;
  transition: var(--transition-smooth);
  z-index: 3;
}

.sim-excavator {
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 100px;
  height: 80px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f59e0b"><path d="M22 18h-2v-4h-3v4h-2v-6h-3v6H8V9H5v9H3v-2H1v4h22v-3h-1zM4 14h2v2H4zm11-6H9v2h6z"/></svg>') no-repeat center center/contain;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  z-index: 4;
}

.sim-impact-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  z-index: 10;
  font-family: var(--font-heading);
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.slider-wrapper {
  margin: 1.5rem 0;
}

.slider-wrapper label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--bg-tertiary);
  outline: none;
  transition: var(--transition-smooth);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  transition: var(--transition-smooth);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.sim-health-bar {
  height: 10px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 5px;
  overflow: hidden;
  margin: 1rem 0;
}

.sim-health-fill {
  height: 100%;
  width: 100%;
  background: var(--primary);
  transition: var(--transition-smooth);
}

.sim-verdict {
  min-height: 80px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  border: 1px dashed var(--glass-border);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Section: Reforestation map game */
.reforest-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
}

.reforest-interactive {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reforest-map-container {
  height: 380px;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-radius: var(--card-border-radius);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(18, 33, 26, 0.05);
}

.river-path {
  position: absolute;
  top: 50%;
  left: -10%;
  width: 120%;
  height: 30px;
  background: linear-gradient(to bottom, #0ea5e9, #38bdf8);
  transform: rotate(-15deg);
  opacity: 0.75;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.planting-zone {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.tree-node {
  position: absolute;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2322c55e"><path d="M12 2L4 12h3v8h10v-8h3L12 2z"/></svg>') no-repeat center center/contain;
  transform: translate(-50%, -50%) scale(0);
  animation: sprout 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes sprout {
  to { transform: translate(-50%, -50%) scale(1.5); }
}

.map-instructions {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-primary);
  pointer-events: none;
  font-family: var(--font-heading);
  text-align: center;
  border: 1px solid var(--glass-border);
}

.reforest-stats {
  display: flex;
  justify-content: space-between;
  background: var(--bg-tertiary);
  padding: 1rem 1.5rem;
  border-radius: 12px;
}

.reforest-stat-item {
  text-align: center;
}

.reforest-stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.reforest-stat-lbl {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* Section: Directorio y Socios */
.team-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.6rem 1.8rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
}

.search-filter-box {
  max-width: 450px;
  margin: 0 auto 2.5rem auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-border-radius);
  transition: var(--transition-smooth);
}

.member-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 197, 94, 0.2);
  background: var(--bg-tertiary);
}

.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}

.member-name {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.member-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.member-tag {
  font-size: 0.8rem;
  background: rgba(0,0,0,0.04);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  color: var(--text-muted);
}

/* Section: Documentacion Library */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.doc-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-border-radius);
  padding: 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.doc-card:hover {
  border-color: rgba(34, 197, 94, 0.2);
  transform: translateY(-3px);
}

.doc-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.doc-icon {
  width: 44px;
  height: 44px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.25rem;
}

.doc-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.doc-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.doc-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.doc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}

.doc-size {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.doc-link {
  font-size: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--secondary);
}

.doc-link:hover {
  color: var(--text-primary);
}

/* Section: Interactive Conservation Quiz */
.quiz-container {
  max-width: 650px;
  margin: 0 auto;
}

.quiz-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.quiz-bar-container {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-bar-fill {
  height: 100%;
  width: 20%;
  background: var(--primary);
  transition: var(--transition-smooth);
}

.quiz-card {
  min-height: 280px;
}

.quiz-question {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quiz-option-btn {
  background: rgba(0,0,0,0.02);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.quiz-option-btn:hover {
  background: rgba(0,0,0,0.04);
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.quiz-option-btn.correct {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

.quiz-option-btn.incorrect {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: var(--danger) !important;
  color: #fff !important;
}

.quiz-feedback {
  margin-top: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  min-height: 24px;
}

/* Certificate styling */
.certificate {
  border: 4px double rgba(34, 197, 94, 0.3);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, rgba(255,255,255,0) 80%);
}

.certificate-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.certificate-subtitle {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.certificate-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 1.5rem 0;
  text-decoration: underline;
  text-decoration-color: var(--primary);
}

.certificate-seal {
  font-size: 3rem;
  margin: 1.5rem 0;
}

/* Forms & Action */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(18, 33, 26, 0.15);
  background: var(--bg-secondary);
  color: var(--text-primary);
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.15);
}

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

.petition-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.signature-counter {
  margin: 2rem 0;
  text-align: center;
}

.sig-count {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
  line-height: 1;
}

.sig-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Footer Section */
footer {
  background: #060a08;
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem 0;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}

.footer-logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.footer-slogan {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-left: 2px solid var(--primary);
  padding-left: 1rem;
}

.footer-links-col h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--primary);
  margin-top: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll animation hooks */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .river-grid, .sim-layout, .reforest-layout, .action-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 75px;
    flex-direction: column;
    background: var(--bg-secondary);
    width: 100%;
    height: calc(100vh - 75px);
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    padding: 3rem 0;
    gap: 2.5rem;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* WhatsApp Floating Button & Interactions */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff !important;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.8;
  z-index: -1;
  animation: pulse-ring 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0.3; }
  100% { transform: scale(1.5); opacity: 0; }
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Alert type buttons styles */
.alert-choice-btns {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
@media (max-width: 576px) {
  .alert-choice-btns {
    flex-direction: column;
  }
}

