/* ================================
   Programs Page Specific Styles
   ================================ */

/* Programs Section Wrapper */
.programs-section {
  margin: 40px auto;
  max-width: 1100px;
  text-align: center;
  padding: 0 20px;
}

.programs-section h1 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--brand-accent);
  font-weight: bold;
}

/* Program Cards */
.program-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 40px auto;
  padding: 30px 20px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s ease;
  flex: 0 0 300px;
}

.program-card h2 {
  color: var(--brand-accent);
  margin-bottom: 20px;
  text-align: center;
}

.program-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 20px;
}

/* Carousel inside program cards */
.carousel {
  display: flex;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
  justify-content: center;
}

.carousel img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  border-radius: 12px;
  display: none;
}

.carousel img.active {
  display: block;
}

/* Volunteer Section */
.volunteer {
  text-align: center;
  background: linear-gradient(135deg, var(--brand-hover), var(--brand-header));
}

.volunteer h2 {
  margin-bottom: 15px;
  color: var(--brand-accent);
}

.volunteer p {
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-main);
}

.volunteer .cta-button {
  background-color: var(--brand-accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.volunteer .cta-button:hover,
.volunteer .cta-button:focus {
  background-color: var(--brand-hover);
  color: var(--text-main);
  outline: 2px solid var(--text-main);
  outline-offset: 2px;
}

/* Navigation Buttons (Back + Next) */
.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
}


/* Mobile Menu Toggle */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #1d3557; /* dark blue */
  position: absolute;
  top: 20px;
  right: 8px;
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    display: none;
    margin-top: 15px;
  }

  .main-nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}