/* ===== CSS RESET AND BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== IMAGE OPTIMIZATION ===== */
img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Lazy-loaded images get a smooth fade-in */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

/* ===== COLOR SYSTEM ===== */
:root {
  /* Primary Brand Colors - Natural Bamboo Inspired */
  --primary-green: #2d5016;        /* Deep bamboo green */
  --primary-green-light: #4a7c59;  /* Medium bamboo green */
  --primary-green-dark: #1a3009;   /* Dark bamboo green */
  
  /* Secondary Bamboo Colors */
  --bamboo-sage: #87a96b;          /* Light sage green */
  --bamboo-olive: #6b8e23;         /* Olive bamboo */
  --bamboo-forest: #355e3b;        /* Forest green */

  /* Natural Earth Tones */
  --earth-tan: #d2b48c;            /* Natural tan */
  --earth-brown: #8b7355;          /* Warm brown */
  --earth-cream: #f5f5dc;          /* Cream white */

  /* Neutrals - Warmer grays */
  --white: #ffffff;
  --warm-white: #fefefe;
  --gray-50: #faf9f7;              /* Warmer gray */
  --gray-100: #f4f3f0;
  --gray-200: #e8e6e1;
  --gray-300: #d3d0c8;
  --gray-400: #a8a399;
  --gray-500: #6f6b5d;
  --gray-600: #4a463c;
  --gray-700: #3c3830;
  --gray-800: #2d2926;
  --gray-900: #1f1d1a;

  /* Accent Colors - Natural palette */
  --accent-amber: #cd853f;          /* Peru/warm amber */
  --accent-gold: #daa520;           /* Goldenrod */
  --success-green: #228b22;         /* Forest green success */
  --error-red: #a0522d;             /* Sienna red */

  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 4rem 0;
  --element-spacing: 2rem;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Georgia", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.main-content {
  min-height: calc(100vh - 80px);
}

/* ===== NAVIGATION ===== */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo a {
  font-family: "Georgia", serif;
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #87a96b 20%, #1a3009 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  background-size: 200% 200%;
  background-position: left;
  transition: background-position 2s ease;
}

.nav-logo a:hover {
  background-position: right;
  transition: background-position 4s ease;
}

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

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

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

.language-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--gray-300);
}

.language-switcher .nav-link {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.language-switcher .nav-link.active {
  background-color: var(--primary-green);
  color: var(--white);
}

/* Mobile Navigation */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: transparent;
}

.hamburger:hover {
  background: rgba(0, 0, 0, 0.05);
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--gray-700);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--earth-cream) 0%, var(--gray-50) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23d2b48c" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-left {
  animation: slideInLeft 1s ease-out;
}

.hero-right {
  animation: slideInRight 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #87a96b 20%, #1a3009 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--gray-700);
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(139, 115, 85, 0.3),
    0 10px 20px rgba(139, 115, 85, 0.2);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  filter: sepia(10%) saturate(110%) brightness(105%);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

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

.hero-image:hover .hero-img {
  filter: sepia(15%) saturate(120%) brightness(110%);
  transition: filter 0.3s ease;
}

.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 2;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-dots .dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.carousel-dots .dot.active {
  background-color: var(--white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.scroll-arrow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: -5rem;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--primary-green);
  animation: bounceArrow 2s ease-in-out infinite;
}

.arrow-down-2 {
  animation-delay: 0.2s;
  opacity: 0.7;
}

.arrow-down-3 {
  animation-delay: 0.4s;
  opacity: 0.4;
}

@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

/* ===== BUTTONS ===== */
.cta-button,
.primary-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-gold) 100%);
  color: var(--white);
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 16px rgba(205, 133, 63, 0.3),
    0 4px 8px rgba(205, 133, 63, 0.2);
  animation: fadeInUp 1s ease-out 0.9s both;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover,
.primary-button:hover {
  background: linear-gradient(135deg, var(--earth-brown) 0%, var(--accent-amber) 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 12px 24px rgba(205, 133, 63, 0.4),
    0 6px 12px rgba(205, 133, 63, 0.3);
}

.cta-button:active {
  transform: translateY(-1px) scale(1.02);
}

.cta-button.secondary,
.secondary-button {
  display: block;
  margin: 0 auto;
  width: fit-content;
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-green);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cta-button.secondary:hover,
.secondary-button:hover {
  background-color: var(--bamboo-forest);
  color: var(--earth-cream);
  transform: translateY(-2px);
}

.learn-more-button {
  display: block;
  margin: 0 auto;
  width: fit-content;
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-green);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.learn-more-button:hover {
  background-color: var(--primary-green);
  color: var(--earth-cream);
}

.learn-more-button:hover {
  background-color: var(--primary-green);
  color: var(--earth-cream);
}

/* ===== SECTIONS ===== */
section {
  padding: var(--section-padding);
}

/* Alternating section backgrounds for visual interest */
.features,
.mission-section,
.contact-section {
  background: linear-gradient(135deg, var(--earth-cream) 0%, var(--gray-50) 100%);
}

.about-preview,
.why-bamboo,
.why-bamboo-section,
.history-section {
  background: linear-gradient(135deg, var(--earth-cream) 0%, var(--gray-50) 100%);
  box-shadow: inset 0 1px 3px rgba(139, 115, 85, 0.1);
}

.projects,
.process {
  background: var(--white);
}

.page-header {
  background: linear-gradient(135deg, var(--earth-cream) 0%, var(--gray-50) 100%);
  padding: 6rem 0 1rem;
  text-align: center;
}

.page-title {
  margin-bottom: 1rem;
  font-family: "Georgia", serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #2d5016; /* Fallback color */
  background: linear-gradient(45deg, #87a96b 20%, #1a3009 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.25rem;
  color: var(--bamboo-forest);
}

.section-title-main {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 2.75rem;
  font-weight: bold;
  color: #2d5016;
  background: linear-gradient(45deg, #87a96b 20%, #1a3009 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title.centered {
  text-align: center;
}

.section-description {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ===== WHY BAMBOO SECTION ===== */
.why-bamboo {
  padding: 5rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* About page benefits grid with 3 columns */
.why-bamboo-section .benefits-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
}

.benefit-card {
  background-color: var(--warm-white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(139, 115, 85, 0.08);
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--gray-100);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(139, 115, 85, 0.15);
  border-color: var(--bamboo-sage);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.benefit-card p {
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.text-center {
  text-align: center;
}

/* ===== PROJECTS SECTION ===== */
.projects {
  padding: 5rem 0;
}

.project-category {
  margin-bottom: 5rem;
}

.project-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--bamboo-sage);
  display: inline-block;
}

.project-showcase {
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--earth-cream) 0%, var(--gray-50) 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(139, 115, 85, 0.08);
}

.project-showcase:last-child {
  margin-bottom: 0;
}

.project-info {
  margin-bottom: 2rem;
}

.project-info h4 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.project-info p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0;
}

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

.project-images img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(139, 115, 85, 0.12);
  filter: sepia(5%) saturate(105%) brightness(102%);
  transition: all 0.3s ease;
}

.project-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(139, 115, 85, 0.2);
  filter: sepia(10%) saturate(110%) brightness(105%);
}

/* ===== PROCESS SECTION ===== */
.process {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--earth-cream) 100%);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 3rem;
  align-items: start;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--bamboo-forest) 100%);
  color: var(--white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 0 8px 24px rgba(45, 80, 22, 0.25);
  position: sticky;
  top: 100px;
}

.step-content {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(139, 115, 85, 0.08);
}

.step-content h3 {
  font-size: 1.75rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.step-content p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.step-detail {
  font-style: italic;
  color: var(--gray-600);
  padding-left: 1.5rem;
  border-left: 3px solid var(--bamboo-sage);
  margin: 1.5rem 0;
}

.step-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(139, 115, 85, 0.12);
  filter: sepia(5%) saturate(105%) brightness(102%);
  transition: all 0.3s ease;
}

.step-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(139, 115, 85, 0.2);
  filter: sepia(10%) saturate(110%) brightness(105%);
}

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

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 3rem 0;
}

.content-grid.reverse {
  grid-template-columns: 1fr 1fr;
}

.content-grid.reverse .content-image {
  order: -1;
}

.content-text {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(139, 115, 85, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 100%;
  min-height: 400px;
}

.content-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(139, 115, 85, 0.2);
  object-fit: cover;
  filter: sepia(5%) saturate(105%) brightness(102%);
  transition: transform 0.3s ease;
}

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

/* Mobile only image - hidden by default */
.mobile-only-image {
  display: none;
}

/* Mission images stack - desktop: show only middle image */
.mission-images-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mission-images-stack .mission-img-top,
.mission-images-stack .mission-img-bottom {
  display: none;
}

.mission-images-stack .mission-img-middle {
  display: block;
  height: 100%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(139, 115, 85, 0.15);
  object-fit: cover;
  filter: sepia(5%) saturate(105%) brightness(102%);
}

/* ===== IMAGE GRID ===== */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(139, 115, 85, 0.15);
  filter: sepia(5%) saturate(105%) brightness(102%);
  transition: all 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(139, 115, 85, 0.25);
  filter: sepia(10%) saturate(110%) brightness(105%);
}

/* ===== CARDS ===== */
.feature-card,
.benefit-card,
.info-card {
  background-color: var(--warm-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(139, 115, 85, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--gray-100);
}

.feature-card:hover,
.benefit-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 115, 85, 0.2);
  border-color: var(--bamboo-sage);
}

.feature-icon,
.benefit-icon,
.info-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon img,
.benefit-icon img,
.info-icon img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  filter: sepia(10%) saturate(110%) brightness(105%);
  transition: filter 0.3s ease;
  margin: 0 auto;
}

.feature-card:hover .feature-icon img,
.benefit-card:hover .benefit-icon img,
.info-card:hover .info-icon img {
  filter: sepia(15%) saturate(120%) brightness(110%);
}

.feature-title,
.benefit-card h3,
.info-card h3 {
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== TIMELINE ===== */
.timeline {
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-year {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  min-width: 80px;
  text-align: center;
}

.timeline-content h3 {
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ===== MISSION VALUES ===== */
.mission-values {
  margin-top: 2rem;
}

.value-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
  align-items: center;
}

.value-item:last-child {
  margin-bottom: 0;
}

.value-item h4 {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  min-width: 180px;
  max-width: 180px;
  text-align: center;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.2;
  word-wrap: normal;
  hyphens: none;
  flex-shrink: 0;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
  white-space: nowrap;
  overflow: hidden;
}

.value-item p {
  color: var(--gray-700);
  margin-bottom: 0;
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
}

/* ===== CONTACT FORM ===== */
.contact-section {
  background-color: var(--gray-50);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-top: 2rem;
  align-items: start;
}

.contact-info {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item ul {
  color: var(--gray-600);
}

.contact-item ul {
  list-style: none;
  padding-left: 0;
}

.contact-item li {
  padding: 0.25rem 0;
}

.contact-form-container {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group-half {
  flex: 1;
}

.form-label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.75rem;
  border: 2px solid var(--gray-300);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error-red);
}

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

.submit-button {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover:not(:disabled) {
  background-color: var(--primary-green-dark);
  transform: translateY(-2px);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.error-messages {
  background-color: #fdf2e9;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.error-message {
  color: var(--error-red);
  margin-bottom: 0.5rem;
}

.error-message:last-child {
  margin-bottom: 0;
}

.error-text {
  color: var(--error-red);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

/* ===== CUSTOM RADIO BUTTON GROUP ===== */
.form-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 
    "architecture gardening"
    "other .";
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--white);
  position: relative;
}

.radio-option:nth-child(1) {
  grid-area: architecture;
}

.radio-option:nth-child(2) {
  grid-area: gardening;
}

.radio-option:nth-child(3) {
  grid-area: other;
}

.radio-option:hover {
  border-color: var(--primary-green-light);
  background-color: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-button {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-400);
  border-radius: 50%;
  margin-right: 0.75rem;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.radio-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-green);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-button {
  border-color: var(--primary-green);
}

.radio-option input[type="radio"]:checked + .radio-button::after {
  transform: translate(-50%, -50%) scale(1);
}

.radio-option input[type="radio"]:checked ~ .radio-text {
  color: var(--primary-green);
  font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
  border-color: var(--primary-green);
  background-color: rgba(45, 80, 22, 0.05);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.radio-text {
  font-size: 1rem;
  color: var(--gray-700);
  transition: all 0.3s ease;
  flex: 1;
}

.form-radio-group.error .radio-option {
  border-color: var(--error-red);
}

.form-radio-group.error .radio-option:hover {
  border-color: var(--error-red);
}

/* ===== THANK YOU PAGE ===== */
.thanks-section {
  text-align: center;
  padding: 6rem 0;
}

.thanks-content {
  max-width: 600px;
  margin: 0 auto;
}

.thanks-icon {
  margin-bottom: 2rem;
}

.thanks-title {
  color: #2d5016; /* Fallback color */
  background: linear-gradient(45deg, #87a96b 20%, #1a3009 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thanks-message {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.thanks-details {
  background-color: var(--gray-50);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.thanks-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.thanks-actions .secondary-button {
  display: inline-block;
  margin: 0;
}

.thanks-actions .primary-button,
.thanks-actions .cta-button {
  animation: none;
}

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

/* ===== NEXT STEPS ===== */
.next-steps-section {
  background-color: var(--gray-50);
}

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

.step-item {
  display: flex;
  gap: 1.5rem;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-number {
  background-color: var(--primary-green);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
  background-color: var(--bamboo-forest);
  color: var(--earth-cream);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  color: var(--earth-cream);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.about-preview {
  background-color: var(--gray-50);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--gray-900);
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.footer-content p {
  flex: 1;
  text-align: center;
  margin: 0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  position: absolute;
  right: 0;
}

.social-links a {
  background: #F4FAF8;
  color: #333;
  padding: 0.8rem;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.social-links a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-links a.whatsapp {
  color: #25d366;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.social-links a.whatsapp:hover {
  background: #25d366;
  color: white;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  /* Navigation */
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 1rem;
    z-index: 999;
    will-change: left;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .language-switcher {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
    justify-content: center;
  }

  /* Typography */
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.25rem;
  }

  /* Hero Responsive */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-image {
    transform: none;
    border-radius: 15px;
    transition: none;
  }

  .hero-carousel {
    height: 350px;
  }

  .hero-img {
    height: 350px;
    transition: opacity 0.6s ease;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  .scroll-arrow {
    margin-top: 0;
  }

  /* Layout */
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Mission section on mobile: 2 columns with images on right */
  .content-grid.reverse {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .content-grid.reverse .content-image {
    order: 0;
  }

  /* Show mission images stack on mobile - right side */
  .content-grid.reverse .mission-images-stack {
    display: flex !important;
    flex-direction: column;
    gap: 10rem;
    order: 2;
    height: auto;
    min-height: auto;
  }

  .content-grid.reverse .mission-images-stack .mission-img-top,
  .content-grid.reverse .mission-images-stack .mission-img-middle,
  .content-grid.reverse .mission-images-stack .mission-img-bottom {
    display: block;
    height: 20rem;
    min-height: auto;
  }

  .content-grid.reverse .mission-images-stack img {
    height: auto;
    min-height: 150px;
    width: 100%;
  }

  .content-grid.reverse .content-text {
    order: 1;
  }

  /* Hide mobile-only mission image */
  .content-grid.reverse .mobile-only-image {
    display: none !important;
  }

  .content-text {
    padding: 1.5rem;
  }

  .content-image {
    height: auto;
    min-height: 350px;
  }

  .content-image img {
    height: 450px;
    min-height: 350px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Keep about page at 3 columns on tablet */
  .why-bamboo-section .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .info-cards {
    grid-template-columns: 1fr;
  }

  /* Projects & Process Mobile */
  .project-showcase {
    padding: 1.5rem;
  }

  .project-images {
    grid-template-columns: 1fr;
  }

  .project-images img {
    height: 220px;
  }

  .process-step {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    top: 90px;
  }

  .step-content {
    padding: 1.5rem;
  }

  .step-images {
    grid-template-columns: 1fr;
  }

  .step-images img {
    height: 180px;
  }

  .category-title {
    font-size: 1.5rem;
  }

  .section-title-main {
    font-size: 2rem;
  }

  /* Buttons */
  .thanks-actions {
    flex-direction: column;
    align-items: center;
  }

  .thanks-actions .primary-button,
  .thanks-actions .secondary-button {
    width: 100%;
    max-width: 300px;
  }

  /* Spacing */
  section {
    padding: 3rem 0;
  }

  /* Value Items Mobile */
  .value-item {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 0;
  }

  .value-item h4 {
    min-width: auto;
    max-width: 200px;
    width: fit-content;
    align-self: center;
    font-size: 0.85rem;
    min-height: 60px;
    padding: 1rem 1.25rem;
  }

  .value-item p {
    text-align: left;
    font-size: 1rem;
  }

  .page-header {
    padding: 5rem 0 3rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* Timeline */
  .timeline-item {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline-year {
    align-self: flex-start;
    min-width: auto;
    width: fit-content;
  }

  /* Footer Mobile */
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }

  .social-links {
    position: static;
    order: 1;
  }

  .footer-content p {
    order: 2;
  }

  /* Optimize button interactions for mobile */
  .cta-button,
  .primary-button,
  .secondary-button,
  .learn-more-button {
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* Optimize card transitions */
  .benefit-card,
  .feature-card,
  .info-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  /* Smooth accordion/collapsible elements */
  .timeline-item,
  .value-item {
    transition: all 0.3s ease;
  }

  /* Optimize image loading */
  .content-image img,
  .hero-img,
  .project-images img {
    will-change: auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-content {
    gap: 2rem;
  }

  .hero-img {
    height: 280px;
  }

  .cta-button,
  .primary-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }

  /* Form Mobile Optimization */
  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .form-group-half {
    flex: none;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Radio Button Group Mobile */
  .form-radio-group {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "architecture"
      "gardening"
      "other";
  }

  .radio-option {
    padding: 0.875rem;
  }

  .radio-option:nth-child(1),
  .radio-option:nth-child(2),
  .radio-option:nth-child(3) {
    grid-area: auto;
  }

  .radio-text {
    font-size: 0.9rem;
  }

  .contact-content {
    gap: 2rem;
  }

  .step-item {
    padding: 1.5rem;
  }

  /* Benefits Grid Extra Small */
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  /* About page benefits on mobile */
  .why-bamboo-section .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    padding: 2rem 1.5rem;
  }

  /* Process Extra Small */
  .process-step {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    border-radius: 12px;
  }

  .step-content {
    padding: 1.25rem;
  }

  .step-content h3 {
    font-size: 1.35rem;
  }

  .content-image {
    min-height: 300px;
  }

  .content-image img {
    height: 350px;
    min-height: 300px;
  }

  /* Make mission image taller on small mobile too */
  .mobile-only-image img {
    height: 400px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-content {
    gap: 2rem;
  }

  .hero-carousel {
    height: 280px;
  }

  .hero-img {
    height: 280px;
  }

  .cta-button,
  .primary-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  /* Contact Form Extra Small Screens */
  .contact-form-container {
    padding: 1rem;
    margin: 0 0.5rem;
  }

  .contact-info {
    padding: 1rem;
  }

  .page-header {
    padding: 6rem 0 2rem;
  }

  .contact-section {
    padding: 2rem 0;
  }

  .step-item {
    padding: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatImage {
  0%, 100% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0px);
  }
  50% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-10px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(205, 133, 63, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(205, 133, 63, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(205, 133, 63, 0);
  }
}

/* ===== LIGHTBOX STYLES ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* ===== SHOW MORE BUTTON ===== */
.show-more-btn {
  display: block;
  margin: 2rem auto 0;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--bamboo-forest) 100%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2);
}

.show-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 80, 22, 0.3);
  background: linear-gradient(135deg, var(--bamboo-forest) 0%, var(--primary-green-dark) 100%);
}

.show-more-btn:active {
  transform: translateY(0);
}

.hidden-image {
  transition: opacity 0.5s ease, max-height 0.5s ease, margin 0.5s ease;
}

/* ===== 404 ERROR PAGE ===== */
.error-404-section {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--earth-cream) 0%, var(--gray-50) 100%);
}

.error-404-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.error-404-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

.error-404-text {
  text-align: left;
}

.lottie-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-404-title {
  font-size: 2.75rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--bamboo-forest);
  animation: fadeInUp 0.6s ease;
  line-height: 1.2;
}

.error-404-message {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 0;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease;
}

.error-404-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease;
}

.error-404-actions .cta-button {
  animation: none;
  min-width: 180px;
  text-align: center;
}

.error-404-links {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(139, 115, 85, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeInUp 1.2s ease;
  margin-top: 2rem;
  text-align: center;
}

.error-404-links h3 {
  font-size: 1.25rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.error-404-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.error-404-links li {
  margin: 0;
}

.error-404-links a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}

.error-404-links a:hover {
  color: var(--primary-green);
  background: rgba(135, 169, 107, 0.15);
  transform: translateY(-2px);
}

/* 404 Page Responsive */
@media (max-width: 768px) {
  .error-404-section {
    padding: 3rem 0;
    min-height: calc(100vh - 120px);
  }

  .error-404-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .error-404-text {
    text-align: center;
    order: 2;
  }

  .lottie-container {
    order: 1;
  }

  .error-404-title {
    font-size: 2rem;
  }

  .error-404-message {
    font-size: 1rem;
  }

  .error-404-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .error-404-actions .cta-button {
    width: 100%;
    max-width: 280px;
  }

  .error-404-links {
    padding: 1.5rem;
  }

  .error-404-links ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .error-404-links a {
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .error-404-title {
    font-size: 1.75rem;
  }

  .error-404-message {
    font-size: 0.95rem;
  }

  .error-404-links {
    padding: 1.25rem;
  }

  .error-404-links h3 {
    font-size: 1.1rem;
  }
}

/* ===== LIGHTBOX STYLES ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: var(--white);
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  line-height: 1;
  user-select: none;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--accent-amber);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  padding: 15px 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  user-select: none;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--accent-amber);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev:active,
.lightbox-next:active {
  transform: translateY(-50%) scale(0.95);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.1rem;
  text-align: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  max-width: 80%;
  backdrop-filter: blur(10px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Lightbox Responsive */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 80vh;
  }

  .lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 40px;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 30px;
    padding: 12px 16px;
    border-radius: 6px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-caption {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    bottom: 20px;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 24px;
    padding: 10px 14px;
    background-color: rgba(255, 255, 255, 0.3);
  }

  .lightbox-prev {
    left: 5px;
  }

  .lightbox-next {
    right: 5px;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .hamburger,
  .cta-section,
  .footer,
  .lightbox {
    display: none;
  }

  .main-content {
    margin-top: 0;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }
}
