/* ======================================================
   HOME.CSS – HOME PAGE ONLY
====================================================== */

/* ---------- HERO FEEL ---------- */
.site-header {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* ---------- FEATURED TOOLS ---------- */
.featured-tools {
  background-color: var(--bg-surface);
  padding: 40px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.tools-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* JS-injected tools */
/* Tool Card Styling */
.tool-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px; /* Increased padding for better look */
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--text-main);
}

.tool-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Style the link inside the card */
.tool-link {
  margin-top: auto; /* Pushes button to bottom if text is short */
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding-top: 12px;
}
