body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.hero {
  text-align: center;
  padding: 30px 20px 40px;
  background: linear-gradient(180deg, #e8f9e9 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* Network background canvas */
.network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

#networkCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ShambaNet Title */
.title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  z-index: 2;
  position: relative;
}

.gradient-text {
  background: linear-gradient(90deg, #0c8a43, #22c55e, #00b894);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
  text-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.subtitle {
  color: #444;
  font-size: 1.1rem;
  margin-top: 12px;
  letter-spacing: 0.4px;
  font-weight: 400;
  z-index: 2;
  position: relative;
}

/* ===== Carousel Section ===== */
.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: #f9f9f9;
}

/* Wrapper: stacks badges above/below phone on all screens */
.carousel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-left: 35px;
}

/* Row that holds the two store badges, centered */
.store-badges-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.carousel-container {
  position: relative;
  width: 260px;
  height: 520px;
  border: 12px solid #111;
  border-radius: 40px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  /* Ensure it's perfectly centered by flex parent */
  flex-shrink: 0;

}

.carousel-container::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  border-radius: 3px;
  background: #333;
  z-index: 2;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  animation: slideShow 12s infinite;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.store-badge {
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.store-badge img {
  width: 150px;
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.store-badge:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.store-note {
  font-size: 0.9rem;
  color: #22c55e;
  margin-top: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s;
}

.store-note:hover {
  color: #16a34a;
  text-decoration: underline;
}

/* Smooth sliding animation */
@keyframes slideShow {
  0%, 20% { transform: translateX(0%); }
  25%, 45% { transform: translateX(-100%); }
  50%, 70% { transform: translateX(-200%); }
  75%, 100% { transform: translateX(0%); }
}


/* ===== Mission & Sections ===== */
section {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

section h2 {
  color: #2e7d32;
  margin: 0 auto 1rem auto;
  text-align: center;
}

section p {
  text-align: center;
}

/* Donate Button */
.donate-btn {
  background: #ffcc00;
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
  transition: 0.3s;
  cursor: pointer;
  font-size: 1rem;
}
.donate-btn:hover {
  background: #ffd633;
}

/* Contact Form */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 400px;
  margin: 1rem auto;
}
.contact input, .contact textarea {
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
.contact button {
  background: #2e7d32;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}
.contact button:hover {
  background: #1b5e20;
}

footer {
  background: #2e7d32;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Cursor Field */
#cursor-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.grass {
  position: absolute;
  font-size: 1.2rem;
  color: #00b84f;
  opacity: 0.9;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 2s ease-out, opacity 2s ease-out;
  will-change: transform, opacity;
}