:root {
  --bg-primary: #393939;
  --bg-secondary: #2d2d2d;
  --bg-tertiary: #444444;
  --accent-teal: #7db8b7;
  --accent-red: #d64550;
  --accent-highlight: #f0c674;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: var(--bg-tertiary);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--bg-tertiary);
  transition: box-shadow 0.3s ease;
}

.header .container {
  position: relative;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo:hover .logo-text {
  color: #9dd0cf;
}

.logo-img {
  height: 32px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-teal);
  transition: color 0.3s ease;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.nav-link:hover {
  color: var(--accent-teal);
}

.nav-link.active {
  color: var(--accent-teal);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
  color: var(--accent-teal);
}

.cta-button {
  background-color: var(--accent-red);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.cta-button:hover {
  background-color: #c03a45;
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 3rem 0;
  /* Ensure variables like --bg-secondary are defined in your :root */
  background: linear-gradient(135deg, var(--bg-secondary, #1a1a1a) 0%, var(--bg-primary, #000) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px; /* Increased from 100% for better readability */
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-teal, #00ced1) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 1rem;
}

.hero-subtitle {
  font-size: 1.0rem;
  color: var(--text-secondary, #ccc);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.hero-video-container {
  position: relative;
  width: 90%; /* Center the video slightly inside the container */
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-background-video {
  width: 100%;
  display: block; /* Removes bottom whitespace */
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* How it Works Section */
/* Pipeline Container */
.how-it-works {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.pipeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* The vertical connecting line */
.pipeline-item::before {
  content: '';
  position: absolute;
  left: 35px; 
  top: 50%;      
  height: calc(100% + 60px); 
  width: 4px;
  background: var(--accent-teal);
  opacity: 0.3;
  z-index: -1;
}

@media (max-width: 768px) {
  .pipeline-item::before {
    left: 22.5px; /* Half of 45px mobile circle */
  }
}

.pipeline-item:last-child::before {
  display: none;
}

.pipeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

/* 1/7th - The Circle */
.pipeline-number {
  flex: 0 0 70px; /* Fixed width for the circle */
  height: 70px;
  background: var(--bg-primary);
  border: 4px solid var(--accent-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
  position: relative;
  z-index: 2;
}

.pipeline-number span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-teal);
}

/* 6/7th - The Card */
.pipeline-card {
  flex: 1;
  display: flex;
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
}

/* 1/3rd of card - Media */
.card-media {
  flex: 0 0 33%;
  background: #000;
}

.card-media img,
.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2/3rd of card - Text */
.card-text {
  flex: 1;
  padding: 2rem;
}

.card-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.card-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Responsive: Stack vertically on small screens */
@media (max-width: 768px) {
  .pipeline::before { left: 20px; }
  
  .pipeline-number {
    flex: 0 0 45px;
    height: 45px;
    margin-right: 15px;
  }
  
  .pipeline-number span { font-size: 1.2rem; }

  .pipeline-card {
    flex-direction: column; /* Media on top, text on bottom */
  }
  
  .card-media {
    flex: 0 0 200px;
  }
}

/* Features Section */
.features {
  padding: 3rem 0;
  background-color: var(--bg-secondary);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

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

.feature-card {
  background-color: var(--bg-tertiary);
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-teal);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Mission Section */
.mission {
  padding: 3rem 0;
  background-color: var(--bg-primary);
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.highlight {
  color: var(--accent-highlight);
  font-weight: 600;
}

/* Services Section */
.services {
  padding: 3rem 0;
  background-color: var(--bg-primary);
}

.services-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* Left: Skelly image */
.services-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-image img {
  max-width: 100%;
  height: auto;
  max-height: 820px;
}

/* Right: Text */
.services-text {
  flex: 1;
  text-align: center;
}

.services-text .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.services-copy {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

/* CTA Button */
.services-button {
  display: inline-block;
  margin-top: 1rem;
  background-color: var(--accent-red);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.services-button:hover {
  background-color: #c03a45;
  transform: translateY(-2px);
}

/* Community Section */
.community {
  padding: 3rem 0;
  background-color: var(--bg-secondary);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.community-card {
  background-color: var(--bg-tertiary);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

.community-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.community-icon {
  font-size: 3rem;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
}

.community-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.community-link {
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.community-link:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  color: var(--text-secondary);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--accent-teal);
}

/* Footer */
.footer {
  background-color: var(--bg-tertiary);
  padding: 3rem 0;
  border-top: 1px solid #555;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-teal);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social-link {
  color: var(--text-secondary);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-social-link:hover {
  color: var(--accent-teal);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Impact Section */
.impact {
  padding: 3rem 0;
  background-color: var(--bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: rgba(125, 184, 183, 0.1);
  border: 1px solid rgba(125, 184, 183, 0.3);
}

.stat-card.purple {
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.stat-card.purple .stat-value {
  color: #a78bfa;
}

.stat-card.green {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.stat-card.green .stat-value {
  color: #34d399;
}

.stat-card.yellow {
  background: rgba(254, 202, 87, 0.1);
  border: 1px solid rgba(254, 202, 87, 0.3);
}

.stat-card.yellow .stat-value {
  color: #feca57;
}

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent-teal);
}

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

.impact-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Video Section */
.video-section {
  padding: 3rem 0;
  background-color: var(--bg-primary);
}

.video-container {
  max-width: 900px;
  margin: 2rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

/* Cheatsheet Section */
.cheatsheet {
  padding: 3rem 0;
  background-color: var(--bg-secondary);
}

.cheatsheet-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.cheatsheet-image {
  flex: 1;
  max-width: 500px;
}

.cheatsheet-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.cheatsheet-image img:hover {
  transform: scale(1.02);
}

.cheatsheet-text {
  flex: 1;
  text-align: center;
}

.cheatsheet-text .section-title {
  margin-bottom: 1.5rem;
}

.cheatsheet-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-teal);
  color: var(--bg-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.download-button:hover {
  background-color: #6aa3a2;
  transform: translateY(-2px);
  color: var(--bg-primary);
}

@media (max-width: 768px) {
  .cheatsheet-content {
    flex-direction: column;
  }
  
  .cheatsheet-image {
    max-width: 100%;
  }
}

/* Page Hero (for interior pages) */
.page-hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

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

.page-hero-title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-teal) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* About Page Sections */
.about-section {
  padding: 3rem 0;
  background-color: var(--bg-primary);
}

.history-section {
  padding: 3rem 0;
  background-color: var(--bg-secondary);
}

.donate-section {
  padding: 3rem 0;
  background-color: var(--bg-primary);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text:last-child {
  margin-bottom: 0;
}

.highlight-text {
  color: var(--accent-highlight);
  font-size: 1.2rem;
}

/* Text Link */
.text-link {
  color: var(--accent-teal);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.text-link:hover {
  color: #9dd0cf;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

/* Donate Grid */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.donate-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--accent-red);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.donate-button:hover {
  background-color: #c03a45;
  transform: translateY(-2px);
  color: white;
}

.donate-button i {
  font-size: 1.25rem;
}

/* Services Page Styles */
.services-policy-section {
  padding: 3rem 0;
  background-color: var(--bg-primary);
}

.services-list-section {
  padding: 3rem 0;
  background-color: var(--bg-secondary);
}

.services-cta-section {
  padding: 3rem 0;
  background-color: var(--bg-primary);
}

/* Policy Grid */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.policy-card {
  background-color: var(--bg-tertiary);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid transparent;
}

.policy-card.free {
  border-color: var(--accent-teal);
}

.policy-card.paid {
  border-color: var(--accent-highlight);
}

.policy-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.policy-card.free .policy-icon {
  color: var(--accent-teal);
}

.policy-card.paid .policy-icon {
  color: var(--accent-highlight);
}

.policy-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.policy-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Services CTA */
.cta-container {
  text-align: center;
  margin: 2rem 0;
}

.services-cta {
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--bg-tertiary);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(125, 184, 183, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-teal);
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.service-type {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent-highlight);
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Community Showcase Page Styles */
.showcase-intro-section {
  padding: 2rem 0;
  background-color: var(--bg-primary);
}

.showcase-section {
  padding: 3rem 0;
  background-color: var(--bg-primary);
}

.showcase-section.alt-bg {
  background-color: var(--bg-secondary);
}

.showcase-cta-section {
  padding: 3rem 0;
  background-color: var(--bg-secondary);
}

.subsection-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin: 3rem 0 2rem;
}

/* Video Grid */
.showcase-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.showcase-video-grid.single {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.showcase-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: #000;
}

.showcase-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

/* Thumbnail Grid */
.showcase-thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.showcase-thumbnail {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
  transition: transform 0.3s ease;
}

.showcase-thumbnail:hover {
  transform: scale(1.02);
}

.showcase-thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.showcase-thumbnail:hover .thumbnail-overlay {
  opacity: 1;
}

.thumbnail-overlay i {
  font-size: 4rem;
  color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  /* Services stack on tablet */
  .services-content {
    flex-direction: column;
    text-align: center;
  }
  
  .services-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .services-image img {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-content {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-tertiary);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-link:last-of-type {
    border-bottom: none;
  }
  
  .nav-links .cta-button {
    margin-top: 0.5rem;
    text-align: center;
  }
  
  /* Hero adjustments */
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-video-container {
    width: 95%;
  }
  
  /* Section titles */
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  /* Services section */
  .services-image img {
    max-height: 400px;
  }
  
  /* Cheatsheet section */
  .cheatsheet-content {
    flex-direction: column;
  }
  
  .cheatsheet-image {
    max-width: 100%;
    order: -1;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  /* Cards */
  .feature-card,
  .community-card {
    padding: 1.5rem;
  }
  
  /* Stats grid */
  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Donate grid */
  .donate-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Services page */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    flex-direction: column;
    text-align: center;
  }
  
  .service-icon {
    margin: 0 auto;
  }
  
  .policy-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Showcase page */
  .showcase-video-grid {
    grid-template-columns: 1fr;
  }
  
  .showcase-thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Page hero */
  .page-hero-title {
    font-size: 1.75rem;
  }
  
  .page-hero-subtitle {
    font-size: 0.95rem;
  }
  
  /* Hide logo text on very small screens */
  .logo-text {
    display: none;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .services-button {
    font-size: 1.25rem;
    padding: 0.5rem 1.25rem;
  }
  
  .download-button {
    font-size: 1rem;
    padding: 0.6rem 1.25rem;
  }
  
  /* Pipeline adjustments */
  .pipeline-number {
    flex: 0 0 40px;
    height: 40px;
    margin-right: 10px;
  }
  
  .pipeline-number span {
    font-size: 1rem;
  }
  
  .card-text {
    padding: 1.25rem;
  }
  
  .card-text h3 {
    font-size: 1.25rem;
  }
  
  .card-text p {
    font-size: 0.9rem;
  }
  
  /* Showcase page */
  .showcase-thumbnail-grid {
    grid-template-columns: 1fr;
  }
  
  .showcase-video-grid {
    grid-template-columns: 1fr;
  }
}