*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pmcolor: #000000;
  --sdcolor: #000000;
  --ttcolor: #000000;
}

html,
body {
  width: 100%;
  height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--ttcolor);
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  --space: 1.25rem;
  width: 90%;
  margin: 2rem auto;
  display: grid;
  gap: var(--space);
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
}

.card {
  width: 100%;
  cursor: default;
  padding: var(--space);
  border-radius: 0.25rem;
  transition: transform 0.3s ease-in-out;
  text-align: center;
}

.card:hover {
  transform: translateY(-0.5rem);
}

.card-img {
  width: 100%;
  height: 15rem;
  overflow: hidden;
  position: relative;
  border-radius: 0.25rem;
}

.card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.card-img figcaption {
  background-color: var(--ttcolor);
  color: var(--sdcolor);
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  width: 100%;
  position: absolute;
  bottom: 0;
}

.card-title {
  text-transform: capitalize;
  margin: 0.75rem 0;
  text-align: center;
  color: black;
}
.card-text{
  color: black;
}

.program {
  margin-top: 30px;
  width: 100%;
  display: flex;
  justify-content: center; /* horizontally center */
}

.program h2 {
  color: black;
  font-size: 35pt;
}



  .section-title {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 15px;
        }

        .section-title p {
            font-size: 1.1rem;
            color: #7f8c8d;
            max-width: 600px;
            margin: 0 auto;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, #3498db, #2ecc71, #9b59b6);
            border-radius: 2px;
        }