/* Design System & Styling - Thuligal Trees */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-dark: #12281a;
  --primary: #19462e;
  --primary-light: #2b704c;
  --primary-glow: rgba(43, 112, 76, 0.15);
  --accent: #c49935;
  --accent-hover: #b08427;
  --accent-light: #fef9e7;
  --bg-cream: #f6f8f5;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-dark: rgba(18, 40, 26, 0.9);
  --text-main: #1d2c22;
  --text-muted: #53645a;
  --text-light: #f6f8f5;
  
  --shadow-sm: 0 4px 12px rgba(25, 70, 46, 0.04);
  --shadow-md: 0 10px 30px rgba(25, 70, 46, 0.08);
  --shadow-lg: 0 20px 50px rgba(18, 40, 26, 0.12);
  
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 112, 76, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  transition: var(--transition);
}

header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bg-cream);
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(25, 70, 46, 0.2);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-top: -6px;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

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

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

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

.btn-cta {
  background: var(--primary);
  color: var(--text-light);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(25, 70, 46, 0.15);
}

.btn-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(25, 70, 46, 0.25);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  padding: 140px 5% 80px 5%;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(43, 112, 76, 0.12), transparent),
              linear-gradient(135deg, rgba(246, 248, 245, 1) 40%, rgba(220, 235, 225, 0.5) 100%);
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.85;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1);
  transform: scale(1.05);
  animation: slowZoom 30s infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 112, 76, 0.08);
  border: 1px solid rgba(43, 112, 76, 0.15);
  padding: 6px 16px;
  border-radius: 50px;
  color: var(--primary-light);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero h1 span {
  color: var(--primary-light);
  position: relative;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(196, 153, 53, 0.2);
  z-index: -1;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(25, 70, 46, 0.2);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(25, 70, 46, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
  background: rgba(43, 112, 76, 0.05);
  transform: translateY(-3px);
}

/* Stat Banner */
.stats-banner {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 40px 10%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 5;
  border-radius: var(--radius-lg);
  margin: -40px 5% 0 5%;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(246, 248, 245, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(246, 248, 245, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Content Container */
.main-container {
  padding: 80px 5%;
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-title h2 {
  font-size: 38px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Interactive Explorer */
.explorer-controls {
  background: var(--bg-glass);
  border: 1px solid rgba(43, 112, 76, 0.1);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-filter-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border-radius: 50px;
  border: 1px solid rgba(43, 112, 76, 0.2);
  background: #ffffff;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.filter-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-dark);
}

.filter-tag {
  background: rgba(43, 112, 76, 0.05);
  border: 1px solid rgba(43, 112, 76, 0.1);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tag:hover {
  background: rgba(43, 112, 76, 0.1);
  color: var(--primary-dark);
}

.filter-tag.active {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(25, 70, 46, 0.15);
}

.results-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.results-count span {
  color: var(--primary-light);
  font-weight: 700;
}

/* Tree Grid */
.tree-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.tree-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(43, 112, 76, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.tree-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}

.tree-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 112, 76, 0.15);
}

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

.tree-card-img-wrapper {
  height: 200px;
  position: relative;
  background: #fdfefe;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(43, 112, 76, 0.05);
}

.tree-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.tree-card:hover .tree-card-img {
  transform: scale(1.06);
}

/* Procedural Vector SVG styling inside cards */
.tree-vector-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tree-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tree-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
  line-height: 1.2;
}

.botanical-name-italics {
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
  display: block;
}

.tree-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.tree-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(43, 112, 76, 0.08);
  padding-top: 16px;
  margin-top: auto;
}

.tree-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tree-tag-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(43, 112, 76, 0.06);
  color: var(--primary-light);
}

.learn-more-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tree-card:hover .learn-more-link {
  color: var(--primary);
  transform: translateX(4px);
  transition: var(--transition-fast);
}

/* Modal Overlay styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 40, 26, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-container {
  background: #ffffff;
  width: 90%;
  max-width: 920px;
  height: 85vh;
  max-height: 700px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-content-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  border: 1px solid rgba(43, 112, 76, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: var(--primary-dark);
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary-dark);
  color: var(--text-light);
  transform: rotate(90deg);
}

.modal-left {
  width: 42%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-cream), #e4ede7);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 30px;
  border-right: 1px solid rgba(43, 112, 76, 0.08);
}

.modal-left img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(18, 40, 26, 0.12));
}

.modal-left .tree-vector-container {
  width: 90%;
  height: 90%;
}

.modal-right {
  width: 58%;
  height: 100%;
  padding: 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-header h2 {
  font-size: 32px;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.modal-header .botanical-name-italics {
  font-size: 16px;
  margin-bottom: 12px;
}

.modal-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-section-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}

.modal-info-block p {
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.6;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: var(--bg-cream);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(43, 112, 76, 0.05);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Educational Quiz */
.quiz-section {
  background: linear-gradient(135deg, var(--primary-dark), #0f3d26);
  border-radius: var(--radius-lg);
  padding: 80px 10%;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.quiz-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(196, 153, 53, 0.15) 0%, transparent 70%);
  bottom: -100px;
  right: -50px;
  pointer-events: none;
}

.quiz-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.quiz-intro h2 {
  color: var(--text-light);
  font-size: 36px;
}

.quiz-intro p {
  color: rgba(246, 248, 245, 0.85);
  font-size: 16px;
}

.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(196, 153, 53, 0.3);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-accent:hover {
  background: #dfb249;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 153, 53, 0.45);
}

.quiz-container {
  display: none;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 14px;
  color: rgba(246, 248, 245, 0.7);
}

.quiz-progress-bar-wrapper {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.quiz-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quiz-question {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-light);
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(246, 248, 245, 0.95);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
  outline: none;
}

.quiz-option:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(4px);
}

.quiz-option.correct {
  background: rgba(39, 174, 96, 0.2) !important;
  border-color: #27ae60 !important;
  color: #abebc6 !important;
  font-weight: 600;
}

.quiz-option.incorrect {
  background: rgba(192, 57, 43, 0.2) !important;
  border-color: #c0392b !important;
  color: #f2d7d5 !important;
}

.quiz-option.disabled {
  pointer-events: none;
  opacity: 0.75;
}

.quiz-results {
  display: none;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.results-score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.score-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.1;
}

.score-total {
  font-size: 14px;
  color: rgba(246, 248, 245, 0.6);
  font-weight: 600;
}

/* Confetti styling */
.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #f1c40f;
  top: -20px;
  z-index: 1000;
  opacity: 0.9;
  border-radius: 50%;
  animation: fall 3s linear infinite;
}

@keyframes fall {
  0% { top: -20px; transform: translateX(0) rotate(0deg); }
  100% { top: 100%; transform: translateX(100px) rotate(360deg); }
}

/* Conservation Section */
.restoration-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(43, 112, 76, 0.08);
  padding: 60px;
  margin-top: 80px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 50px;
  align-items: center;
}

.restoration-left {
  flex: 1.2;
}

.restoration-badge {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 12px;
}

.restoration-left h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.restoration-left p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.bullets-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.bullet-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bullet-icon {
  width: 22px;
  height: 22px;
  background: rgba(43, 112, 76, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.bullet-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.restoration-right {
  flex: 0.8;
  background: linear-gradient(135deg, var(--bg-cream), #e4ede7);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(43, 112, 76, 0.05);
}

.pledge-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.pledge-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pledge-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pledge-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(43, 112, 76, 0.2);
  font-family: inherit;
  font-size: 14px;
}

.pledge-input:focus {
  outline: none;
  border-color: var(--primary-light);
}

.pledge-btn {
  background: var(--primary-dark);
  color: var(--text-light);
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pledge-btn:hover {
  background: var(--primary-light);
}

.pledge-success {
  display: none;
  text-align: center;
  padding: 20px 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

/* Footer styling */
footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 60px 5% 30px 5%;
  margin-top: 80px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  border-bottom: 1px solid rgba(246, 248, 245, 0.1);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-info {
  max-width: 320px;
}

.footer-info p {
  color: rgba(246, 248, 245, 0.7);
  font-size: 14px;
  margin-top: 14px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col h4 {
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.footer-link {
  font-size: 14px;
  color: rgba(246, 248, 245, 0.7);
}

.footer-link:hover {
  color: var(--text-light);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(246, 248, 245, 0.5);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding-top: 120px;
    align-items: flex-start;
  }
  .hero-bg-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    margin-bottom: 30px;
  }
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
  }
  .stat-item {
    border-right: none;
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(246, 248, 245, 0.1);
  }
  .modal-content-container {
    flex-direction: column;
    height: 90vh;
    max-height: 90vh;
  }
  .modal-left {
    width: 100%;
    height: 40%;
  }
  .modal-right {
    width: 100%;
    height: 60%;
    padding: 30px;
  }
  .restoration-section {
    flex-direction: column;
    padding: 40px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 0 4%;
  }
  nav {
    display: none; /* Mobile navigation toggle can be added, but keeping it simple as static link */
  }
  .stats-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(246, 248, 245, 0.1);
    padding-bottom: 12px;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
  .hero h1 {
    font-size: 38px;
  }
  .main-container {
    padding: 60px 4%;
  }
  .bullets-list {
    grid-template-columns: 1fr;
  }
  .modal-header h2 {
    font-size: 26px;
  }
}
