.carousel-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  position: relative;
}

.carousel {
  background: #4c6d36;
  padding: 40px 20px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
    background-color: rgba(100, 145, 80, 0.35);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  min-width: 250px;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
}


.card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 15px;
}

.card button {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.card button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s, transform 0.2s;
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.nav-left {
  left: 20px;
}

.nav-right {
  right: 20px;
}

.indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.indicator.active {
  background: white;
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 10px;
    margin: 20px auto;
  }

  .carousel {
    padding: 30px 10px;
  }

  .slide-track {
    gap: 16px;
  }

  .card {
    min-width: 220px;
    max-width: 260px;
    padding: 18px;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  .card button {
    padding: 6px 14px;
    font-size: 0.9rem;
  }

  .card img {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
  }

  .nav-button {
    font-size: 24px;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .carousel {
    padding: 20px 8px;
  }

  .slide-track {
    gap: 12px;
  }

  .card {
    min-width: 180px;
    max-width: 240px;
    padding: 15px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.8rem;
  }

  .card button {
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }

  .nav-button {
    font-size: 20px;
    padding: 6px 10px;
  }

  .indicators {
    gap: 6px;
    margin-top: 16px;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }
}
