.resource-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    width: 100%;
    height: 120px; /* fixed height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .resource-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }

  .card-icon {
    width: 40px;
    height: 40px;
  }

  .card-text {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin: 0;
  }

  /* Responsive: stack vertically on tablets & mobile */
  @media (max-width: 1024px) {
    .resources-grid {
      grid-template-columns: 1fr;
    }
    .resource-card {
      width: 100%; /* full width on small screens */
    }
  }