/* --- PATIENT PORTAL LANDING PAGE STYLES --- */

.patient-portal-landing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 8rem 2rem 4rem; /* Increased top padding to push below fixed header */
  max-width: 1200px;
  margin: 0 auto;
}

.tile {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 3.5rem 2.5rem; /* Increased for roomier icon display */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.tile img {
  max-width: 150px;    /* Increased by 50% */
  max-height: 150px;
  width: auto;
  height: auto;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.tile h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.tile p {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}

@media (max-width: 600px) {
  .patient-portal-landing {
    padding: 6rem 1rem 3rem;
    gap: 2rem;
  }

  .tile {
    padding: 2.5rem 1.5rem;
  }

  .tile img {
    max-width: 120px;  /* Increased by 50% */
    max-height: 120px;
    margin-bottom: 1rem;
  }
}
