.hero-section {
  position: relative;
  background-image: url("./images/hero/programs_hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.5); */
  z-index: 1;
}

.hero-section .position-relative {
  z-index: 2;
}

#why-join-us .why-join-card {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  height: 100%;
  display: flex;

  flex-direction: column;
  justify-content: end;
  border-radius: 0.75rem;
  overflow: hidden;
  padding: 20px;
}

#why-join-us .why-join-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay with 40% opacity */
  z-index: 1;
}

#why-join-us .why-join-card .text-content {
  position: relative;
  z-index: 2; /* Ensures the text content is above the overlay */
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
  color: #fff;
}

#why-join-us .why-join-card .text-content h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
}

#why-join-us .why-join-card .text-content p {
  font-size: 1rem;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Specific background images for each card */
#why-join-us .why-join-card.card-1 {
  background-image: url("./images/programs/programs_one.jpg");
}

#why-join-us .why-join-card.card-2 {
  background-image: url("./images/programs/programs_two.jpg");
}

#why-join-us .why-join-card.card-3 {
  background-image: url("./images/programs/programs_three.jpg");
}

.text-left {
  text-align: left;
}

.align-left {
  text-align: left;
}

.centered-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
