:root {
  --bg-main: #060806;
  --bg-card: #121412;
  --border: #242724;
  --green: #7ac832;
  --green-bright: #68b82a;
  --text: #ffffff;
  --text-dim: #a8ada6;
  --text-faint: #6f746e;
  --transition-speed: 0.4s;
}
/* 1. Enable vertical scroll snapping on the whole page */
html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

/* 2. Define the elements that the scroll should "jump" and lock to */
.snap-group,
.scroll-sequence,
.about-us {
  scroll-snap-align: start;
  scroll-snap-stop: always; /* Forces the browser to stop at this section before scrolling past it */
}

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

body {
  background-color: var(--bg-main);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand, .btn {
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= HEADER ================= */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  
  /* Pins the navbar to the top */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  
  /* Ensures it stays above the hero section and the 400vh canvas */
  z-index: 1000; 
  
  /* Premium Glass Effect */
  background: rgba(6, 8, 6, 0.85); /* Matches your dark theme */
  backdrop-filter: blur(12px); /* Blurs the images as they scroll underneath */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  font-style: italic;
}

.brand .ev {
  color: var(--green);
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: #e4e6e2;
}

.nav-links li a {
  position: relative;
  padding-bottom: 6px;
  transition: color 0.2s ease;
}

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

.nav-links li.active a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.btn-outline {
  border: 1px solid var(--text-dim);
  color: var(--text);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ================= HERO SECTION ================= */
.hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 5% 40px 5%;
  min-height: 65vh; /* Slightly taller to accommodate full width banner */
  z-index: 2;
  overflow: hidden; /* Ensures full-width bg doesn't overflow */
}

/* Full Width Banner Background */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Puts it behind everything */
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Stretches edge-to-edge perfectly */
  opacity: 1; /* Darkens the image so text stays readable */
  filter: blur(1px); /* Optional: adds depth by slightly blurring the bg */
}

/* Fading animation class for JS */
.fade-anim {
  animation: fadeIn var(--transition-speed) ease-in-out forwards;
}

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

.hero-content {
  max-width: 500px;
  z-index: 3; /* Above the background */
}

.eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8); /* Helps text pop against background */
}

.hero-content h1 .accent {
  color: var(--green);
}

.hero-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 400px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

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

.btn-solid {
  background: var(--green-bright);
  color: #000;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.btn-solid:hover {
  filter: brightness(1.1);
}

.btn-ghost {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  background: rgba(0,0,0,0.3); /* Slight dark bg to pop against image */
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--text);
}

.hero-image-wrapper {
  position: relative;
  width: 50%; /* Slightly reduced the wrapper width */
  display: flex;
  justify-content: center; /* Center the image instead of pushing it to the far right */
  align-items: flex-end; /* Aligns the image to the bottom so it sits on the floor */
  z-index: 3;
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 450px; /* REDUCED from 800px to make the scooter look realistically sized */
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.9));
  transition: opacity var(--transition-speed) ease;
  
  /* Use translateY to push the scooter up or down to align its wheels with your showroom floor */
  transform: translateY(40px); 
}

/* Decorative background lighting over the full-width image */
.bg-glow {
  position: absolute;
  top: 50%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(122,200,50,0.2) 0%, transparent 60%);
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

/* ================= CARDS SECTION ================= */
.cards-section {
  padding: 0 5% 40px 5%;
  position: relative;
  z-index: 5;
  margin-top: -30px; /* Pull cards up to slightly overlap the hero background */
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bike-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Active Card Styling */
.bike-card.active {
  border-color: rgba(122, 200, 50, 0.5);
  box-shadow: 0 0 20px rgba(122, 200, 50, 0.1) inset, 0 15px 35px rgba(0,0,0,0.6);
}

.bike-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

.bike-card.active:hover {
  border-color: rgba(122, 200, 50, 0.8);
}

.card-info {
  position: relative;
  z-index: 2; /* Ensures the text stays above the background image */
  text-shadow: 0 2px 10px rgba(0,0,0,0.8); /* Adds a shadow so text is readable over bright parts of the bike */
}

.card-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-info .tagline {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.card-info .price {
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 24px;
}

.btn-view {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-dim);
  transition: all 0.2s ease;
  background: rgba(0,0,0,0.5);
}

.bike-card:hover .btn-view {
  border-color: var(--text);
  color: var(--text);
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* 'contain' fits the entire image perfectly inside the card without zooming or stretching */
  object-fit: contain; 
  
  /* Aligns the bike to the right side of the card so it doesn't block the text */
  object-position: right center; 
  
  z-index: 0; /* Puts the image completely in the background */
  opacity: 0.4; /* Dims the background image slightly so the white text pops */
  
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevents the image from interfering with clicks */
}

/* The hover effect will still work smoothly! */
.bike-card:hover .card-img {
  transform: scale(1.05);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .hero-content h1 { font-size: 42px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }
  .hero-image-wrapper {
    width: 100%;
    justify-content: center;
  }
  .cards-grid { grid-template-columns: 1fr; }
  .card-img { width: 50%; right: 10px; bottom: 10px; }
}

/* Keep all your previous CSS above this line! */

/* ================= SCROLL ANIMATION SECTION ================= */
.scroll-sequence {
  /* 400vh gives you 4 screen heights worth of scrolling to play 217 frames smoothly */
  height: 400vh; 
  position: relative;
  background-color: #000000;
  z-index: 6;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh; /* Locks the canvas to the viewport while you scroll down the 400vh container */
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sequence-canvas {
  width: 100%;
  height: 100%;
  /* cover ensures the images fill the screen without squishing, just like background-size: cover */
  object-fit: cover; 
}

/* ================= ABOUT US SECTION ================= */
.about-us {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
  position: relative;
  z-index: 7; /* Stays above the canvas section once reached */
  padding: 5%;
}

.about-content {
  max-width: 800px;
  text-align: center;
}

.about-content h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 30px;
}

.about-content h2 .accent {
  color: var(--green);
}

.about-content p {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .scroll-sequence {
    height: 300vh; /* Shorter scroll time on mobile */
  }
  .about-content h2 {
    font-size: 36px;
  }
  .about-content p {
    font-size: 16px;
  }
}

/* ================= SEQUENCE OVERLAYS & ANNOTATIONS ================= */

/* Left Side Description */
.sequence-desc {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 400px;
  z-index: 10;
  color: #ffffff;
  pointer-events: none; /* Allows scrolling if mouse is over the text */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.sequence-desc h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--green-bright);
}

.sequence-desc p {
  font-size: 16px;
  line-height: 1.6;
  color: #e4e6e2;
}

/* Annotations Container */
.battery-annotations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  pointer-events: none;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.6s ease-in-out;
}

/* When JS adds this class, the annotations fade in */
.battery-annotations.visible {
  opacity: 1;
}

/* Individual Annotation Layout */
.anno-item {
  position: absolute;
  display: flex;
  align-items: center;
}

/* Adjust these Top/Left values to pin exactly to the battery parts on your image */
.anno-bms {
  top: 25%;
  left: 35%; /* Positioned slightly to the left to point to the top board */
}

.anno-cells {
  top: 48%;
  left: 55%; /* Pointing to the blue cells */
}

.anno-housing {
  top: 75%;
  left: 60%; /* Pointing to the bottom casing */
}

/* The Dot */
.anno-dot {
  width: 10px;
  height: 10px;
  background-color: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-bright), 0 0 0 4px rgba(143, 219, 58, 0.3);
  position: relative;
}

.anno-dot::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 50%;
  border: 1px solid var(--green-bright);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* The Line */
.anno-line {
  height: 2px;
  width: 120px;
  background: linear-gradient(90deg, var(--green-bright), transparent);
  margin-left: 10px;
}

.anno-line.reverse {
  background: linear-gradient(270deg, var(--green-bright), transparent);
  margin-right: 10px;
  margin-left: 0;
}

/* The Text Box */
.anno-text-box h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: var(--green-bright);
  margin-bottom: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.anno-text-box p {
  font-size: 12px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .sequence-desc {
    top: 15%;
    left: 5%;
    transform: none;
    text-align: center;
    width: 90%;
  }
  .anno-line { width: 50px; }
  .anno-text-box h4 { font-size: 14px; }
  .anno-text-box p { display: none; } /* Hide subtext on small screens */
}

/* ================= EV ESSENTIALS SECTION ================= */
.products {
  background-color: var(--bg-main);
  position: relative;
  z-index: 9;
  border-top: 1px solid var(--border);
  padding: 100px 0;
  
  /* Make sure it works with your scroll snapping */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.products .wrap {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.section-head .kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-bright);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.section-head h2 em {
  font-style: normal;
}

.section-head p {
  max-width: 350px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}

/* Featured Large Product Block */
.product-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 390px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
}

.feature-copy {
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-copy .badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--green-bright);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.feature-copy h3 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 15px;
}

.feature-copy p {
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 430px;
  font-size: 15px;
}

/* Shared Button Style */
.text-btn {
  background: none;
  border: none;
  color: var(--green-bright);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

.text-btn:hover {
  color: #ffffff;
}

.text-btn:hover i {
  transform: translateX(4px);
}

/* Grid for smaller cards */
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prod-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.prod-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-bright);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.prod-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.72);
}

.prod-card > div {
  padding: 24px;
}

.prod-card span {
  font-size: 11px;
  font-weight: 800;
  color: var(--green-bright);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.prod-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.prod-card p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .product-feature {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .product-cards {
    grid-template-columns: 1fr;
  }
}

/* ================= CHARGER SHOWCASE SECTION ================= */
.charger-section {
  background-color: var(--bg-main);
  position: relative;
  z-index: 9;
  border-top: 1px solid var(--border);
  padding: 120px 0;
  
  /* Scroll snapping */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.charger-wrap {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Charger Image Styling */
.charger-image {
  position: relative;
  border-radius: 24px;
}

.charger-image img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
  filter: contrast(1.1) brightness(0.9);
}

.charger-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(143, 219, 58, 0.25) 0%, transparent 70%);
  z-index: 1;
  filter: blur(40px);
}

/* Charger Content Styling */
.charger-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.charger-kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-bright);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
}

.charger-content h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
}

.charger-content p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 450px;
}

/* Specs Grid */
.charger-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.spec-item {
  border-left: 2px solid var(--green-bright);
  padding-left: 16px;
}

.spec-item h4 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.spec-item p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .charger-wrap {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .charger-content h2 {
    font-size: 40px;
  }
  
  .charger-image {
    order: -1; /* Forces the image to appear above the text on mobile */
  }
}

@media (max-width: 560px) {
  .charger-specs {
    grid-template-columns: 1fr; /* Stack the specs on very small screens */
    gap: 20px;
  }
}

/* ================= WATER SOLUTIONS SECTION ================= */
/* ================= WATER SOLUTIONS SECTION ================= */
.water-section {
  background-color: var(--bg-main);
  padding: 60px 0 120px 0;
  display: flex;
  flex-direction: column; /* Stacks the heading and card vertically */
  align-items: center;    /* Centers everything */
  
  /* Scroll snapping */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* New Heading Styles */
.water-section-header {
  width: 90%;
  max-width: 1200px;
  margin-bottom: 40px; /* Space between heading and the card */
  text-align: left;
}

.water-section-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

/* (Keep your existing .water-card and other water styles exactly the same below here) */

.water-card {
  width: 90%;
  max-width: 1200px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 280px 1.2fr 1.5fr; /* Divides the card into 3 columns */
  align-items: center;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Left: Image */
.water-image {
  height: 100%;
  min-height: 280px;
}

.water-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.9);
}

/* Middle: Content */
.water-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.water-kicker {
  color: var(--green-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.water-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
  line-height: 1.2;
}

.water-content p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.water-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--green-bright);
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

.water-btn:hover {
  filter: brightness(1.1);
}

.water-btn i {
  font-size: 16px;
}

/* Right: Icons */
.water-features {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  gap: 15px;
}

.water-feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.water-feature i {
  font-size: 32px;
  color: #fff; /* White icons */
}

.water-feature span {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .water-card {
    grid-template-columns: 1fr; /* Stacks everything vertically on tablets/phones */
  }
  
  .water-image {
    height: 250px;
    min-height: auto;
  }
  
  .water-features {
    justify-content: space-between;
    padding-top: 0;
    flex-wrap: wrap; /* Allows icons to wrap on small screens */
  }
  
  .water-feature {
    width: 45%; /* 2x2 grid for icons on mobile */
    margin-bottom: 20px;
  }
}
/* ================= SCROLL REVEAL ANIMATIONS ================= */
.reveal {
  opacity: 0; /* Hidden by default */
}

/* Animation Classes triggered via JS */
.reveal.active.fade-up {
  animation: fadeUpAnim 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal.active.fade-left {
  animation: fadeLeftAnim 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal.active.fade-right {
  animation: fadeRightAnim 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal.active.zoom-in {
  animation: zoomInAnim 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Keyframes */
@keyframes fadeUpAnim {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeftAnim {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRightAnim {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes zoomInAnim {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* Optional Delays for staggered lists (like cards side-by-side) */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ================= HERO ANIMATIONS ================= */

/* 1. Image Slide From Left */
.slide-left-anim {
  opacity: 0;
  /* cubic-bezier creates a fast-start, slow-end "snappy" feel */
  animation: slideFromLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideFromLeft {
  /* Note: 40px keeps the Y-axis alignment you set earlier for the floor */
  0% { opacity: 0; transform: translate(-100px, 40px); }
  100% { opacity: 1; transform: translate(0, 40px); }
}

/* 2. Text Stagger Animation */
/* Hide the text initially before the animation kicks in */
.text-stagger-anim #hero-eyebrow,
.text-stagger-anim #hero-title .line-1,
.text-stagger-anim #hero-title .line-2,
.text-stagger-anim #hero-desc,
.text-stagger-anim .hero-actions {
  opacity: 0;
  display: inline-block; /* Required for transforms on inline elements like span */
}

/* Apply staggered delays to each line */
.text-stagger-anim #hero-eyebrow {
  animation: fadeUpLine 0.6s ease forwards;
  animation-delay: 0s;
}

.text-stagger-anim #hero-title .line-1 {
  animation: fadeUpLine 0.6s ease forwards;
  animation-delay: 0.15s; /* First heading line */
}

.text-stagger-anim #hero-title .line-2 {
  animation: fadeUpLine 0.6s ease forwards;
  animation-delay: 0.3s; /* Second heading line */
}

.text-stagger-anim #hero-desc {
  animation: fadeUpLine 0.6s ease forwards;
  animation-delay: 0.45s;
}

.text-stagger-anim .hero-actions {
  animation: fadeUpLine 0.6s ease forwards;
  animation-delay: 0.6s;
  display: flex; /* Restores flexbox for buttons */
}

@keyframes fadeUpLine {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* 1. Image Slide From Right */
.slide-from-right-anim {
  opacity: 0;
  /* cubic-bezier creates a fast-start, slow-end "snappy" feel */
  animation: slideFromRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideFromRight {
  /* Starts 100px to the right (positive value) and slides to 0 */
  0% { opacity: 0; transform: translate(100px, 40px); }
  100% { opacity: 1; transform: translate(0, 40px); }
}

/* ================= FOOTER ================= */
.site-footer {
  background-color: #030403; /* Slightly darker than main bg for contrast */
  border-top: 1px solid var(--border);
  padding: 80px 5% 20px;
  position: relative;
  z-index: 10;
  
  /* Ensures it works nicely with your scroll snapping */
  scroll-snap-align: start; 
  scroll-snap-stop: always;
}

.footer-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Footer Brand */
.footer-brand .brand {
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

/* Social Media Icons */
.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--green-bright);
  color: #000;
  border-color: var(--green-bright);
  transform: translateY(-4px);
}

/* Links & Contact Lists */
.footer-links h4, 
.footer-contact h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}

.footer-links ul, 
.footer-contact ul {
  list-style: none;
}

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

.footer-links ul li a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: var(--green-bright);
}

.footer-contact ul li {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact ul li i {
  color: var(--green-bright);
  margin-top: 4px; /* Aligns the icon perfectly with the text */
}

/* Copyright Bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-faint);
  font-size: 13px;
}

/* ================= RESPONSIVE FOOTER ================= */
@media (max-width: 1024px) {
  .footer-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .footer-wrap {
    grid-template-columns: 1fr; /* Stack everything in one column on phones */
    gap: 40px;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
}

/* Custom Footer Additions for Contact & Bank Links */
.footer-brand .gstin {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.05);
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
}

.footer-contact ul li a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.6;
}

.footer-contact ul li a:hover {
  color: var(--green-bright);
}

.footer-links .bank-info li {
  margin-bottom: 8px;
  font-size: 13px;
}