body {
  margin: 0;
  padding: 0;
  font-family: 'Jost', Arial;
  background: #F7F7B7;
  background-size: 100px 100px;
  background-repeat: repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.card {
  background: #AEFD6C;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  width: 90%;
}

.profile-pic {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.6rem;
  color: #444;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem; /* Increased spacing before icons */
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  justify-items: center;
  align-items: center;
}

.icon-grid a {
  text-decoration: none;
  color: #521377;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.icon-grid i {
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
}

.icon-grid span {
  font-size: 1rem;
}

.icon-grid a:hover {
  transform: scale(1.2);
  color: #000;
}

/* Mobile layout: 2 icons per row */
@media (max-width: 480px) {
  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .icon-grid i {
    font-size: 2.6rem;
  }

  .icon-grid span {
    font-size: 0.9rem;
  }
}
