.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
}

.active-dot {
    background: #333;
}

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

.carousel-track {
  display: flex;
  width: max-content;
}

.carousel-track.animate {
  animation: scroll-left 500s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.carousel-track img {
  height: 500px;
  object-fit: cover;
  margin-right: 20px; /* 👈 adjust as you like */
  border-radius: 8px; /* optional for nice corners */
}


.carousel-wrapper:hover .carousel-track {
  animation-play-state: paused;
}





.mission-card {
    position: relative;
    color: white;
    padding: 40px 20px;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mission-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55); /* darker for contrast */
    z-index: 0;
    transition: background 0.3s ease;
}

.mission-card h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--primary-green); /* heading in green */
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.mission-card p {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white); /* force white text */
  position: relative;
  z-index: 1;
}

.mission-card:hover {
    transform: translateY(-10px) scale(1.05);
    filter: brightness(1.2);
}

.mission-card:hover::before {
    background: rgba(0, 0, 0, 0.4); /* slightly lighter on hover */
}
