
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 3em 1em 2em;
  max-width: 800px;
  margin: 0 auto;
  gap: 3em;
}

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

.header-text {
  flex: 1;
  text-align: left;
}

.header h1 {
  margin: 0 0 0.3em;
  font-size: 2.2em;
  font-weight: 600;
}

.tagline {
  font-size: 1.1em;
  color: #777;
  margin: 0 0 1em;
  line-height: 1.5;
}

.social-icons {
  margin-top: 0.5em;
}

.social-icons a {
  margin-right: 1em;
  font-size: 1.3em;
  text-decoration: none;
  color: #333;
}

.social-icons a:hover {
  opacity: 0.7;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 2em auto 4em;
  padding-left: 205px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 145px;
  top: 0;
  height: 100%;
  width: 2px;
  background: #e0e0e0;
}

.timeline-item {
  position: relative;
  padding-bottom: 3em;
}

.timeline-date {
  position: absolute;
  left: -205px;
  top: 5px;
  text-align: right;
  font-weight: 700;
  color: #777;
  font-size: 1em;
  white-space: normal;
  width: 85px;
  padding-right: 5px;
}

.timeline-dot {
  position: absolute;
  left: -65px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #999;
  border-radius: 50%;
  z-index: 1;
}

.timeline-icon {
  position: absolute;
  left: -40px;
  top: -10px;
  min-width: 40px;
  min-height: 40px;
  max-width: 60px;
  max-height: 60px;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 2px;
}

.timeline-content {
  padding-left: 80px;
}

.timeline-content p {
  margin: 0 0 0.5em;
  font-size: 1.05em;
  line-height: 1.6;
}

.timeline-content ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

.timeline-content li {
  margin-bottom: 0.3em;
}

.timeline-content a {
  color: #0066cc;
  text-decoration: none;
}

.timeline-content a:hover {
  text-decoration: underline;
}

/* Tablet responsive */
@media (max-width: 768px) {
  .timeline-date {
    font-size: 0.95em;
    width: 75px;
  }
  
  .timeline {
    padding-left: 180px;
  }
  
  .timeline-date {
    left: -180px;
  }
}

/* Mobile responsive */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    text-align: center;
    gap: 1em;
  }
  
  .header-text {
    text-align: center;
  }
  
  .profile-img {
    width: 150px;
    height: 150px;
  }
  
  .timeline {
    margin-left: 40px;
    padding-left: 100px;
  }
  
  .timeline::before {
    left: 70px;
  }
  
  .timeline-date {
    left: -100px;
    padding-right: 10px;
    font-size: 0.85em;
    width: 60px;
    white-space: normal;
    line-height: 1.3;
  }
  
  .timeline-dot {
    left: -35px;
  }
  
  .timeline-icon {
    display: none;
  }
}

/* Extremely small screens */
@media (max-width: 400px) {
  .timeline {
    padding-left: 80px;
    margin-left: 20px;
  }
  
  .timeline::before {
    left: 50px;
  }
  
  .timeline-date {
    left: -80px;
    width: 50px;
    font-size: 0.8em;
  }
  
  .timeline-dot {
    left: -35px;
  }
  
  .timeline-content {
    padding-left: 60px;
  }
  
  .timeline-content p {
    font-size: 0.95em;
  }
}
