/* Container Styling */
.pdf-section {
  padding: 4rem 2rem;
  background-color: #f8fafc;
  font-family: system-ui, -apple-system, sans-serif;
}

.cards-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Card Styling */
.pdf-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none; /* Removes the default link underline */
  color: #0f172a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Hover Effects */
.pdf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

/* Icon & Typography */
.card-icon {
  color: #3b82f6;
  margin-bottom: 1.25rem;
}

.card-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .pdf-section {
    /* Reduce the outer section padding on smaller screens */
    padding: 2rem 1rem; 
  }
  
  .cards-grid {
    /* Force a single column layout */
    grid-template-columns: 1fr; 
    /* Slightly reduce the space between stacked cards */
    gap: 1.25rem; 
  }
  
  .pdf-card {
    /* Tighter padding inside the card to maximize screen real estate */
    padding: 1.5rem 1rem; 
  }

  .card-icon svg {
    /* Optionally shrink the icon slightly on mobile */
    width: 40px;
    height: 40px;
  }

  .card-title {
    font-size: 1.125rem;
  }
}