/* ===== Base / Theme ===== */
:root{
  --hhm-red: #c0082d;
  --hhm-orange: #ff8800;
  --hhm-navy: #002147;
  --hhm-gold: #ffd700;
  --hhm-sky: #a2c3dd;
  --hhm-teal: #0a4b6b;
  --hhm-bg: #fdfdfd;
  --hhm-text: #002147;

  --bg:#fbf6f1;            /* soft cream like your screenshot */
  --ink:#002147;           /* primary text */
  --muted:#425a63;         /* body text */
  --card:#ffffff;
  --ring:rgba(0,0,0,0.06);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);   /* instead of var(--hhm-bg) */
  color: var(--hhm-text);
  margin: 0;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hhm-header {
  background: var(--hhm-navy);
  color: var(--hhm-gold);
  text-align: center;
  padding: 2.5rem 1rem;
  border-bottom: 5px solid var(--hhm-red);
}

.hhm-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.hhm-header p {
  color: var(--hhm-sky);
  font-size: 1.1rem;
}

.hhm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin: 3rem auto;
  justify-content: center; /* centers the grid items */
  align-items: start;       /* keeps card tops aligned */
}


.tool-card {
  background: #fff;
  border: 2px solid var(--hhm-sky);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.25s ease;
}

.tool-card:hover {
  border-color: var(--hhm-orange);
  transform: translateY(-3px);
}

.tool-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.tool-card h2 {
  color: var(--hhm-navy);
  font-size: 1.3rem;
  margin: 0.5rem 0;
}

.tool-card p {
  color: var(--hhm-teal);
  font-size: 0.95rem;
  min-height: 60px;
}

.tool-card a.btn {
  display: inline-block;
  background: var(--hhm-red);
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.25s;
}

.tool-card a.btn:hover {
  background: var(--hhm-orange);
}

.hhm-footer {
  background: var(--hhm-teal);
  color: var(--hhm-gold);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  border-top: 3px solid var(--hhm-red);
}