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

/* CSS Variables */
:root {
  /* Colors */
  --primary: hsl(155, 62%, 40%);
  --primary-light: hsl(155, 62%, 92%);
  --primary-dark: hsl(155, 65%, 25%);
  --accent: hsl(180, 70%, 40%);
  --accent-light: hsl(180, 70%, 92%);
  --danger: hsl(5, 80%, 58%);
  --danger-light: hsl(5, 80%, 93%);
  --bg-base: hsl(150, 25%, 98%);
  --bg-surface: hsla(0, 0%, 100%, 0.85);
  --bg-card: hsla(150, 25%, 95%, 0.5);
  --text-main: hsl(165, 45%, 11%);
  --text-muted: hsl(165, 15%, 45%);
  --text-light: hsl(0, 0%, 100%);
  --border-color: hsla(155, 20%, 80%, 0.4);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px -2px hsla(155, 50%, 10%, 0.05);
  --shadow-md: 0 10px 25px -5px hsla(155, 40%, 10%, 0.08), 0 8px 16px -6px hsla(155, 40%, 10%, 0.04);
  --shadow-lg: 0 20px 40px -10px hsla(155, 40%, 10%, 0.12), 0 10px 20px -8px hsla(155, 40%, 10%, 0.06);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

/* Decorative Blobs Background */
.blob-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  animation: float-blob 20s infinite alternate ease-in-out;
}

.blob-1 {
  width: 450px;
  height: 450px;
  background-color: var(--primary);
  top: -10%;
  left: -10%;
  animation-duration: 25s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background-color: var(--accent);
  bottom: -15%;
  right: -10%;
  animation-duration: 30s;
  animation-delay: -5s;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background-color: var(--danger);
  top: 40%;
  left: 60%;
  animation-duration: 18s;
  animation-delay: -10s;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  transition: transform var(--transition-fast);
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--primary);
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

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

.nav-item a {
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

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

.nav-item a:hover {
  color: var(--primary);
}

.nav-item a:hover::after {
  width: 100%;
}

.nav-btn {
  background: var(--primary);
  color: var(--text-light) !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 4px 12px -2px hsla(155, 62%, 40%, 0.3);
  transition: all var(--transition-fast) !important;
}

.nav-btn::after {
  display: none !important;
}

.nav-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px hsla(155, 62%, 40%, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.25rem;
}

/* Sections Base */
section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Glass Card */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* Hero Section (The Question & Interactive Dustbin) */
.hero-section {
  min-height: calc(100vh - 80px);
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

.hero-interactive-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-title-container {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.hero-title-container.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-tag {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-question {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-question span.danger-highlight {
  color: var(--danger);
  position: relative;
  display: inline-block;
}

.hero-question span.danger-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: hsla(5, 80%, 58%, 0.15);
  z-index: -1;
}

.game-instructions {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-weight: 400;
  opacity: 0.9;
}

.interactive-stage {
  position: relative;
  width: 100%;
  height: 280px;
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius-lg);
  background: hsla(150, 25%, 95%, 0.3);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.interactive-chip-wrapper {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  cursor: grab;
  z-index: 10;
  transition: transform 0.1s ease;
  user-select: none;
}

.interactive-chip-wrapper:active {
  cursor: grabbing;
}

.chip-img {
  width: 85px;
  height: 85px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
  pointer-events: none;
  animation: float-chip 3s infinite alternate ease-in-out;
}

.interactive-dustbin {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 110px;
  z-index: 5;
  transition: transform var(--transition-fast);
}

.interactive-dustbin.highlight {
  transform: translateX(-50%) scale(1.15);
}

.dustbin-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 16px hsla(155, 62%, 20%, 0.15));
}

.success-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 15;
}

.success-message.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.success-card {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary);
}

.success-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.success-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Section Header styling */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* The Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.problem-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.problem-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.problem-highlight-box {
  background: var(--danger-light);
  border-left: 4px solid var(--danger);
  padding: 1.25rem;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin-top: 1.5rem;
}

.problem-highlight-box p {
  color: var(--danger);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.problem-visuals {
  position: relative;
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.office-gate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.problem-visuals:hover .office-gate-img {
  transform: scale(1.05);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--text-light);
  padding: 1.5rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Before/After Comparison Slider (The Vision) */
.slider-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 500px;
  user-select: none;
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slider-before {
  z-index: 1;
}

.slider-after {
  z-index: 2;
  width: 100%;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

/* Drawing Containers in Slider */
.vision-canvas-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.vision-canvas-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-bar {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%; /* JS overrides this */
  width: 4px;
  height: 100%;
  background-color: var(--text-light);
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  border: 4px solid var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  font-weight: bold;
  pointer-events: none;
}

.slider-label {
  position: absolute;
  bottom: 20px;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.label-before {
  right: 20px;
}

.label-after {
  left: 20px;
}

/* Our Core Principles */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.principle-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.principle-num {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
}

.principle-card h3 {
  font-size: 1.5rem;
  color: var(--text-main);
}

.principle-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.principle-card strong {
  color: var(--primary-dark);
}

.principle-subinfo {
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  border-left: 3px solid var(--accent);
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 3rem;
  box-sizing: border-box;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  top: 2rem;
  background-color: var(--primary);
  border: 4px solid var(--bg-base);
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.timeline-item:hover::after {
  transform: scale(1.3);
  background-color: var(--accent);
}

.timeline-left {
  left: 0;
  text-align: right;
}

.timeline-right {
  left: 50%;
}

.timeline-right::after {
  left: -10px;
}

.timeline-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-card {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.timeline-date {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-card h4 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Spreading Awareness through Art */
.art-container {
  display: grid;
  grid-template-columns: 4.5fr 5.5fr;
  gap: 4rem;
  align-items: center;
}

.art-display {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.painting-mockup {
  position: relative;
  aspect-ratio: 16/13;
  background: linear-gradient(135deg, hsl(190, 70%, 75%), hsl(37, 75%, 75%));
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.15);
}

/* Representing abstract painting via CSS + SVG shapes */
.painting-ocean {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(to bottom, hsl(200, 80%, 40%), hsl(180, 80%, 35%));
  clip-path: ellipse(80% 60% at 50% 20%);
}

.painting-sand {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, hsl(35, 75%, 68%), hsl(42, 80%, 75%));
}

.painting-overlay-trash {
  position: absolute;
  bottom: 10%;
  left: 15%;
  width: 25px;
  height: 45px;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 4px;
  transform: rotate(-35deg);
  opacity: 0.75;
}

.painting-overlay-trash::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 5px;
  width: 11px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}

.painting-overlay-trash-2 {
  position: absolute;
  bottom: 25%;
  right: 20%;
  width: 35px;
  height: 20px;
  background: rgba(239, 68, 68, 0.4);
  border: 2px solid rgba(239, 68, 68, 0.6);
  border-radius: 8px;
  transform: rotate(15deg);
  opacity: 0.75;
}

.painting-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.1rem;
}

.art-info h3 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.art-info p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

/* Pledge & Dynamic Counter */
.pledge-section {
  max-width: 900px;
  margin: 0 auto;
}

.pledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.pledge-content h3 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.pledge-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pledge-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.checkbox-container {
  display: inline-block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 1rem;
  user-select: none;
  color: var(--text-muted);
  font-weight: 500;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 3px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--bg-base);
  border: 2px solid var(--border-color);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-container .checkmark::after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--text-light);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ span {
  color: var(--text-main);
}

.pledge-counter-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  color: var(--text-light);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.counter-num {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.counter-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.pledge-btn {
  background-color: var(--text-light);
  color: var(--primary);
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all var(--transition-fast);
  width: 100%;
}

.pledge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  color: var(--primary-dark);
}

.pledge-btn:disabled {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Call to Action Form / Join the Movement */
.join-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-top: 4rem;
  margin-bottom: 4rem;
  padding: 5rem 1.5rem;
}

.join-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.join-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 2.5rem auto 1rem auto;
}

.join-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--bg-base);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.join-input:focus {
  border-color: var(--primary);
}

.join-submit {
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 10px hsla(155, 62%, 40%, 0.25);
  transition: all var(--transition-fast);
}

.join-submit:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(155, 62%, 40%, 0.35);
}

.form-success-note {
  color: var(--primary-dark);
  font-weight: 500;
  margin-top: 1rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.form-success-note.show {
  opacity: 1;
}

/* Footer styling */
.footer {
  background-color: var(--text-main);
  color: hsla(0, 0%, 100%, 0.7);
  padding: 4rem 1.5rem 2rem 1.5rem;
  border-top: 2px solid var(--primary-dark);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

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

.footer-brand .logo-title {
  color: var(--text-light);
}

.footer-brand .logo-subtitle {
  color: hsla(0, 0%, 100%, 0.5);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-nav h5, .footer-social h5 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: hsla(0, 0%, 100%, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Animations Definitions */
@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, 30px) scale(1.15);
  }
}

@keyframes float-chip {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-8px) rotate(3deg);
  }
}

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .problem-grid, .art-container, .pledge-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .problem-visuals {
    height: 320px;
  }
  
  .slider-container {
    height: 420px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding: 1.5rem 1.5rem 1.5rem 45px;
  }
  
  .timeline-item::after {
    left: 10px;
    right: auto;
  }
  
  .timeline-left {
    text-align: left;
  }
  
  .timeline-right {
    left: 0;
  }
  
  .timeline-right::after {
    left: 10px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background-color: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transition: left var(--transition-normal);
    box-shadow: 0 10px 15px -10px rgba(0,0,0,0.05);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
  }
  
  .join-form {
    flex-direction: column;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
