body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f7f9fb;
  color: #222;
  margin: 0;
  padding: 0;
}

main {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  padding: 32px 28px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.profile-info h1 {
  font-size: 2.2rem;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 12px;
}

.contact span, .links a {
  display: inline-block;
  margin-right: 16px;
  color: #1976d2;
  text-decoration: none;
}

.contact span {
  margin-bottom: 6px;
}

.links a {
  margin-right: 12px;
  font-weight: 500;
}

section {
  margin-bottom: 36px;
}

h2 {
  font-size: 1.4rem;
  color: #1976d2;
  margin-bottom: 12px;
  border-left: 4px solid #1976d2;
  padding-left: 12px;
  font-weight: 700;
}

.skills-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.skills-columns > div {
  flex: 1 1 300px;
}

.skills ul {
  margin: 0 0 12px 0;
  padding-left: 18px;
}

.job {
  margin-bottom: 28px;
}

.job h3 {
  margin: 0;
  color: #333;
  font-size: 1.15rem;
}

.job h4 {
  margin: 4px 0 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: #555;
}

.job ul {
  margin: 0 0 8px 18px;
}

.date {
  float: right;
  color: #888;
  font-size: 0.98em;
  font-weight: 400;
}

.certificates .cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.certificates img {
  width: 100%;
  max-width: 170px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.eng-cert {
  margin-top: 8px;
  max-width: 210px;
  width: 100%;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
}

@media (max-width: 700px) {
  main {
    padding: 10px 2vw;
  }
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .skills-columns {
    flex-direction: column;
    gap: 18px;
  }
  .certificates .cert-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}
