body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f7f7f7;
  color: #222;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  min-height: 100vh;
}

h1, h2 {
  margin-top: 0;
}

.tagline {
  font-size: 1.1rem;
  color: #555;
}

ul {
  padding-left: 1.2rem;
}

a {
  color: #0056b3;
}

section {
  margin-bottom: 3rem;
}

section:last-of-type {
  margin-bottom: 0;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.link-group {
  background: #fafafa;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #ececec;
}

.link-group h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #333;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-item {
  display: block;
  padding: 0.8rem 0.9rem;
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: #0056b3;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.link-item:hover {
  background: #f4f8ff;
  transform: translateY(-1px);
}

.link-item:active {
  transform: translateY(0);
}

.project-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-card {
  background: #fafafa;
  padding: 1.25rem;
  border-radius: 8px;
}

.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.project-card p {
  margin-bottom: 1rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-links a {
  text-decoration: none;
  font-weight: 600;
}

.header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.header-text {
  flex: 1;
}

.header-text h1 {
  margin-bottom: 0.4rem;
}

.header-text .tagline {
  margin-top: 0;
}

.profile-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6e6e6;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
}