.programSection {
  /* background-color: #f4f9ff; */
}
.programCard {
  border: 1px dotted lightblue;
  padding: 12px;
  margin: 12px;
}
.course .img {
  width: 100%;
  height: 270px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.programCard .text h3 {
  font-weight: 500;
  font-size: 24px;
  height: 62.5px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.programCard .text h3 a {
  color: var(--blue-color);
  transition: all 0.3s ease-in-out;
}

.programCard .text h3 a:hover {
  padding-left: 5px !important;
}
.programCard .text .programDetails {
  height: 115px;
  text-align: justify;
  overflow: hidden;
  -webkit-line-clamp: 4;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
@media (max-width: 576px) {
  .programCard .text h3 {
    font-size: 18px;
    height: 45px;
    font-weight: bold;
  }
  .programCard .text .programDetails {
    font-size: 14px;
    height: 104px;
  }
}

/* Testing testing */
.column a {
  width: 100%;
  height: 100%;
}
.column img {
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column#caption {
  position: relative;
}
.column#caption .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 0;
  transition: all 0.8s ease;
}
.column#caption .text h1 {
  margin: 0;
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: whitesmoke;
  text-align: center;
  /* animation: animateColor 3s ease-in-out infinite; */
}

/* ?test */
.column#caption .text h1 {
  font-size: 48px;
  font-weight: 900;
  color: tomato;

  --x-offset: -0.0625em;
  --y-offset: 0.0625em;
  --stroke: 0.025em;
  --background-color: white;
  --stroke-color: lightblue;

  text-shadow: var(--x-offset) var(--y-offset) 0px var(--background-color),
    calc(var(--x-offset) - var(--stroke)) calc(var(--y-offset) + var(--stroke))
      0px var(--stroke-color);
}
@supports (text-shadow: 1px 1px 1px 1px black) {
  h1 {
    text-shadow: var(--x-offset) var(--y-offset) 0px 0px var(--background-color),
      var(--x-offset) var(--y-offset) var(--stroke) 0px var(--stroke-color);
  }
}
/* ?test */
.column#caption:hover .text {
  opacity: 1;
}
.column#caption:hover img {
  -webkit-filter: brightness(140%);
}
@keyframes animateColor {
  0% {
    color: rgb(196, 156, 156); /* Soft blue */
  }
  33% {
    color: rgb(152, 188, 147); /* Muted green */
  }
  66.5% {
    color: rgb(171, 159, 218); /* Pastel coral */
  }
  100% {
    color: rgb(210, 210, 143); /* Light peach */
  }
}
