body {
  background: #f5f4ff;
  font-family: 'Segoe UI','Calibri',Arial,sans-serif;
  margin: 0;
  padding: 40px 0;
}

.home-wrap {
  width: 100%;
  max-width: 1400px;       /* gives space for 3 cards */
  margin: auto;
  text-align: center;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1C0085;
  margin-bottom: 6px;
}

.subhome {
  margin-bottom: 45px;
  color: #5a5a5a;
  font-size: 16px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3 columns */
  gap: 35px;
  justify-items: center;
}

.tool-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
  max-width: 450px;
}

.tool-card {
  background: white;
  padding: 35px 40px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
  background: #f7f5ff;
}

.tool-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1C0085;
}

.tool-card p {
  font-size: 15px;
  color: #444;
}

@media (max-width: 900px) {
  .tool-grid {
    grid-template-columns: 1fr;
  }
}
