body {
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(135deg, #f8fafc 60%, #e0e7ef 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: #0f172a;
}

header {
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1rem 0 0.5rem 0;
  margin-bottom: 2rem;
}

.logo {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

h1 {
  color: #0f172a;
  font-size: 2rem;
  margin: 0;
}

.card-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.card-link {
  background: white;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  text-decoration: none;
  color: #0f172a;
  width: 270px;
  transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-link:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px rgba(37,99,235,0.10);
  background: #f1f5fb;
}

.card-link h2 {
  font-size: 1.25rem;
  margin: 0.5rem 0 0.25rem;
}

.card-link p {
  color: #475569;
  margin: 0;
}

footer {
  background: #1e293b;
  color: #cbd5e1;
  padding: 2rem 0 1rem 0;
  text-align: center;
  margin-top: 3rem;
}

/* Card page styling */
.card {
  background: white;
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  max-width: 420px;
  width: 95%;
  margin: 2rem auto 2rem auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #2563eb;
  box-shadow: 0 4px 16px rgba(37,99,235,0.08);
  align-self: center;
}

h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #0f172a;
  font-weight: 700;
  text-align: center;
}

h2 {
  margin: 0.5rem 0 1.25rem;
  font-size: 1.05rem;
  color: #475569;
  font-weight: 600;
  text-align: center;
}

p {
  margin: 0.5rem 0 0 0;
  text-align: center;
}

p a {
  text-decoration: none;
  color: #2563eb;
  word-break: break-all;
}

.buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  align-items: center;
}

.btn {
  background: #2563eb;
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
  margin: 0.1rem auto;
  width: 90%;
  max-width: 320px;
  text-align: center;
}

.btn:hover {
  background: #1e40af;
}

@media (max-width: 600px) {
  .card-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .card-link {
    width: 88vw;
    padding: 1.3rem 1rem;
  }
  .card {
    margin: 1.2rem auto;
    padding: 1.3rem 0.7rem 1.1rem 0.7rem;
    min-height: 350px;
  }
  .btn {
    font-size: 0.97rem;
    padding: 0.75rem 0.5rem;
  }
}
