.cards {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 30px;
    }

    .card {
         width: 90%; /* Allows it to take up most of the space */
  max-width: 340px; /* But never wider than 340px */
      background: linear-gradient(180deg, #202020 0%, rgba(32, 32, 32, 0.2) 100%);
      border-radius: 40px;
      padding: 40px 20px;
      text-align: center;
      transition: transform 0.3s ease, background 0.3s ease;
    }

    .card.highlight {
      background: #E3F919;
      color: #000;
    }

    .card-icon {
      width: 90px;
      height: 90px;
      margin: 0 auto 20px;
      border-radius: 18px;
      background: #3E3E3E;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      color: #fff;
    }

    .card.highlight .card-icon {
      background: rgba(151, 151, 151, 0.4);
      color: #000;
    }

    .card h3 {
      /* font-family: 'Mansfield', serif; */
      font-size: 20px;
      font-weight: 600;
      margin: 15px 0;
      color: #E3F919;
    }

    .card.highlight h3 {
      color: #000;
    }

    .card p {
      font-size: 16px;
      font-weight: 300;
      line-height: 22px;
      margin-bottom: 30px;
    }

    .card a{
      color: inherit;
      text-decoration: none;
    }

    .learn-more {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
      color: inherit;
      text-decoration: none;
      font-weight: 400;
    }

    .learn-more span {
      border-bottom: 1.5px solid currentColor;
      padding-bottom: 2px;
      color:  #E3F919;
    }

    .learn-more::after {
      content: '→';
      font-size: 18px;
      color:  #E3F919;
    }

 .card:hover {
  transform: translateY(-10px);
  background: #E3F919;
  color: #000; /* applies to all text */
}
.card:hover h3 {
  color: #000;
}
.card:hover .learn-more::after {
      content: '→';
      font-size: 18px;
      color: #000;
    }
    .card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2; /* keeps shape similar to 312x207 */
  margin: 18px auto 0;
  border-radius: 30px;
  object-fit: cover;
  display: block;
}
