body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.container {
  width: clamp(320px, 90%, 1200px);
  margin: 0 auto;
  padding: 1rem;
  text-align: left;
}

.project,
.work-experience,
.education {
  display: flex;
  gap: 4vw;
  align-items: flex-start;
  margin: 0;
  text-align: left;
}

.item-image {
width: clamp(72px, 14vw, 120px);
max-width: 100%;
aspect-ratio: 1 / 1;
height: auto;
max-height: clamp(72px, 20vh, 160px);
flex: 0 0 auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.container {
  width: clamp(320px, 90%, 1200px);
  margin: 0 auto;
  padding: 1rem;
  text-align: left; /
}

.section {
  background: #fbfdff;
  border: 1px solid rgba(16,24,40,0.04);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(16,24,40,0.04);
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 0.6rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(16,24,40,0.04);
}

h1 { 
  font-size: clamp(1.75rem, 3.5vw + 1rem, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.5rem, 2.2vw + 0.5rem, 2.5rem);
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.project-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  align-items: center;
  font-size: 0;
}

.icon-link {
  display: inline-flex;
  width: clamp(20px, 8vw, 40px);
  height: clamp(20px, 8vw, 40px);
  padding: clamp(2px, 1.2vw, 10px);
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 8px;
  color: #374151;
  transition: transform 160ms cubic-bezier(.2,.9,.2,1), background-color 160ms, color 160ms;
  text-decoration: none;
  border: 1px solid rgba(16,24,40,0.06);
}

.icon-img {
  width: 100%;
  height: 100%;
  max-width: clamp(15px, 6vw, 30px);
  max-height: clamp(15px, 6vw, 30px);
  object-fit: contain;
  display: block;
}

.icon-link:hover,
.icon-link:focus,
.icon-link:focus-visible {
  transform: scale(1.28);
  background: rgba(59,130,246,0.10);
  color: #1e40af;
  outline: none;
  box-shadow: 0 4px 10px rgba(16,24,40,0.06);
}

.location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1rem;
  font-weight: 500;
}

.location-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.5rem);
  color: #ef4444;
}