/* ===================================================
   Wildcat Flow Trail — Advocacy Site Styles
   =================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-900: #064e3b;
  --green-700: #047857;
  --green-600: #059669;
  --green-400: #34d399;
  --green-300: #6ee7b7;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --white: #ffffff;
  --black: #000000;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Bebas Neue', Impact, sans-serif;

  --nav-height: 72px;
  --max-width: 1200px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  line-height: 1.7;
  font-size: 17px;
  background: var(--slate-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--green-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-700); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p + p { margin-top: 1em; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-900);
  text-decoration: none;
}

.nav-brand svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-prefix {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-cta {
  background: var(--green-600) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 20px !important;
}

.nav-cta:hover {
  background: var(--green-700) !important;
  color: var(--white) !important;
}

.nav-lang {
  font-size: 0.8rem;
  color: var(--slate-400);
  padding: 0 8px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-lang a {
  color: var(--slate-400);
  text-decoration: none;
}

.nav-lang a:hover {
  color: var(--green-600);
}

.nav-lang strong {
  color: var(--green-600);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  padding-bottom: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(6,78,59,0.82) 0%,
    rgba(15,23,42,0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 850px;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  color: var(--green-300);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(5,150,105,0.35);
}

.btn-primary:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5,150,105,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-600);
}

.btn-outline-dark:hover {
  background: var(--green-600);
  color: var(--white);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Sections ---------- */
section {
  padding: 100px 0;
  background: var(--white);
}

.section-dark {
  background: var(--slate-900);
  color: var(--slate-300);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-light {
  background: var(--slate-50);
}

.section-green {
  background: var(--green-900);
  color: var(--green-100);
}

.section-green h2,
.section-green h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .label {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-dark .section-header .label {
  background: rgba(52,211,153,0.12);
  color: var(--green-400);
}

.section-green .section-header .label {
  background: rgba(255,255,255,0.12);
  color: var(--green-300);
}

.section-header p {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--slate-500);
  font-size: 1.1rem;
}

.section-dark .section-header p {
  color: var(--slate-400);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--green-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stat {
  background: var(--green-900);
  padding: 40px 24px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--green-400);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--green-100);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--green-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-700);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.card p {
  color: var(--slate-500);
  line-height: 1.7;
}

/* Dark card variant */
.card-dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.card-dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

.card-dark .card-icon {
  background: rgba(52,211,153,0.1);
  color: var(--green-400);
}

.card-dark h3 { color: var(--white); }
.card-dark p { color: var(--slate-400); }

/* ---------- Image Section ---------- */
.image-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.image-text-section.reverse {
  direction: rtl;
}

.image-text-section.reverse > * {
  direction: ltr;
}

.image-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.text-block h2 {
  margin-bottom: 20px;
}

.text-block .label {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 100px;
  margin-bottom: 16px;
}

.text-block p {
  color: var(--slate-500);
  margin-bottom: 12px;
}

.text-block ul {
  list-style: none;
  margin: 20px 0 32px;
}

.text-block ul li {
  padding: 6px 0;
  padding-left: 28px;
  position: relative;
  color: var(--slate-700);
}

.text-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--green-400);
  border-radius: 50%;
  opacity: 0.6;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--green-400), var(--green-700));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 32px;
  width: 14px;
  height: 14px;
  background: var(--green-500, var(--green-600));
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.timeline-item.current::before {
  background: var(--green-400);
  box-shadow: 0 0 0 4px rgba(52,211,153,0.3);
}

.timeline-item.future {
  opacity: 0.6;
  border-style: dashed;
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--green-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--slate-500);
  font-size: 0.95rem;
}

/* ---------- FAQ (Accordion) ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.5;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--green-700);
}

.faq-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px 6px;
  margin-left: auto;
  margin-right: 4px;
  border-radius: var(--radius-sm);
  opacity: 0.5;
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.faq-link-btn:hover {
  opacity: 1;
}

.section-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  opacity: 0.5;
  transition: opacity var(--transition);
  vertical-align: middle;
  margin-left: 4px;
}

.section-link-btn:hover {
  opacity: 1;
}

.faq-question svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--slate-400);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--green-600);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 2000px;
  padding-bottom: 24px;
}

.faq-answer-inner {
  color: var(--slate-500);
  line-height: 1.8;
  padding-right: 48px;
}

.faq-answer-inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--green-200, var(--green-300));
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* ---------- Endorsements ---------- */
.endorsement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.endorsement {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}

.endorsement:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.endorsement h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.endorsement p {
  color: var(--slate-400);
  font-size: 0.9rem;
}

/* ---------- Involved / Contact ---------- */
.involved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.involved-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.involved-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.involved-card p {
  color: var(--slate-500);
  margin-bottom: 16px;
}

.involved-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.involved-card ul li {
  padding: 8px 0;
  color: var(--slate-600);
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.95rem;
}

.involved-card ul li:last-child {
  border-bottom: none;
}

.involved-card ul li strong {
  color: var(--slate-800);
}

.involved-card ul li a {
  word-break: break-all;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  position: relative;
  padding: 160px 0 80px;
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(6,78,59,0.88) 0%,
    rgba(15,23,42,0.82) 100%
  );
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  color: var(--green-300);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Project Specs ---------- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.spec-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--green-100);
}

.spec-item .spec-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--green-700);
  line-height: 1.2;
  margin-bottom: 8px;
}

.spec-item .spec-name {
  font-size: 0.85rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ---------- Trail Features List ---------- */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--green-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-700);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.feature-item p {
  color: var(--slate-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Content Prose ---------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 48px;
  margin-bottom: 20px;
}

.prose h3 {
  margin-top: 36px;
  margin-bottom: 16px;
}

.prose p {
  margin-bottom: 16px;
  color: var(--slate-600);
}

.prose ul, .prose ol {
  margin: 16px 0 24px 24px;
  color: var(--slate-600);
}

.prose li {
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: var(--slate-400);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--green-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--green-400);
}

.photo-note {
  font-style: italic;
  color: var(--slate-500);
  font-size: 0.8rem;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Badge / Pill ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
}

.badge-green {
  background: var(--green-100);
  color: var(--green-700);
}

.badge-yellow {
  background: #fef3c7;
  color: #92400e;
}

.badge-blue {
  background: #dbeafe;
  color: #1e40af;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .image-text-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .image-text-section.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 16px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

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

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background-attachment: scroll;
  }

  .hero-content {
    padding: 100px 20px 60px;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .timeline {
    padding-left: 40px;
  }

  .timeline-item {
    padding: 20px 24px;
  }

  .timeline-item::before {
    left: -30px;
  }

  .faq-answer-inner {
    padding-right: 0;
  }

  .involved-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .project-maps-grid {
    grid-template-columns: 1fr !important;
  }
}

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

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-700);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}
