.impact-section {
    background-color: #fdfdfd;
    color: #fff;
    padding: 4rem 2rem;
  }
  
  .impact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .impact-card {
    flex: 1 1 48%;
    background: #080731;
    border: 2px solid #e50817;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden; /* ensures overlay doesn't spill out */
    z-index: 1;
  }
  
  /* Overlay using ::before */
  .impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); /* light transparent overlay */
    z-index: 0; /* behind the content */
  }
  
  /* Ensure content stays on top of the overlay */
  .impact-card * {
    position: relative;
    z-index: 2;
  }
  
  
  .impact-card h3 {
    font-size: 2rem;
    color: #e50817;
    font-family: 'Anton', sans-serif;
    margin-bottom: 1rem;
    -webkit-text-stroke: 0.5px rgb(0, 0, 0); /* Adds white stroke */
    text-stroke: 0.5px rgb(0, 0, 0); /* Standard syntax fallback */
  }
  
  
  .impact-card p {
    font-size: 1rem;
    color: #eee;
    line-height: 1.6;
  }
  
  .card-with-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .cta-buttonbox {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #e50914;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    align-self: center;
    transition: background-color 0.3s ease;
  }
  
  .cta-buttonbox:hover {
    background-color: #ff1f3d;
  }

  @media (max-width: 768px) {
    .impact-container {
      flex-direction: column;
    }
  
    .impact-card {
      flex: 1 1 100%;
    }
  }
  