p {
  text-align: center;
  margin-top: 30px;
}

h2 {
  color: #004d40;
  text-align: center;
}

.hero1{
  text-align: center;
  align-items: center;
  font-size: 3rem;
  color: #0c630f;
}

.programs-container {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.program-category {
  margin-bottom: 3rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.program-header {
  padding: 1.5rem;
  background-color: #ffffff;
  color: #4caf50;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
}

.program-content {
  padding: 1.5rem;
  display: flex;
  gap: 10px;
}

.program1-images,
.program2-images,
.program3-images {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background-color: rgb(255, 255, 255);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: #000000;
  transform: scale(1.2);
}


.program-details {
  margin-top: 1.5rem;
}

.program-section {
  margin-bottom: 1.5rem;
}

.program-section h3 {
  font-size: 1.5rem;
  color: #4caf50;
  margin-bottom: 0.5rem;
}

.cta-button {
  display: inline-block;
  background-color: #0c630f;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #225e5f;
}

/* Responsive Styles for Smaller Screens */
@media (max-width: 768px) {
  .program-header {
    font-size: 1.4rem;
    padding: 1rem;
  }

  .program-content {
    flex-direction: column; /* Stack items for smaller screens */
    gap: 15px;
  }

  .program1-images,
  .program2-images,
  .program3-images {
    height: 300px; /* Adjust image height for smaller screens */
  }

  .carousel-dots {
    gap: 8px;
  }

  .program-section h3 {
    font-size: 1.3rem;
  }

  .cta-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .program-header {
    font-size: 1.2rem;
    padding: 0.8rem;
  }

  .program1-images,
  .program2-images,
  .program3-images {
    height: 250px; /* Reduce image height further for very small screens */
  }

  .cta-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}


.carousel-slide {
  display: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-container {
  touch-action: pan-y pinch-zoom;
  position: relative;
  overflow: hidden;
}

.carousel-button {
  cursor: pointer;
}

/* Hide arrows on small screens */
@media (max-width: 768px) {
  .carousel-button {
      display: none;
  }
  
  .swipe-indicator {
      display: block;
      text-align: center;
      padding: 10px;
      font-size: 0.9em;
      color: #666;
  }
}



