.home {
  flex: 1;
}

.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.9;
}

.section {
  background: white;
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section h3 {
  color: #667eea;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  border-bottom: 2px solid #667eea;
  padding-bottom: 0.5rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.details-grid ul {
  list-style: none;
  margin-top: 0.5rem;
}

.details-grid li {
  margin-left: 1rem;
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.links-grid a {
  padding: 0.5rem 1rem;
  background-color: #667eea;
  color: white;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.links-grid a:hover {
  background-color: #5568d3;
  text-decoration: none;
}

.profile-section p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.skill-item {
  padding: 0.75rem;
  background-color: #f0f0f0;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding: 2rem 0;
  margin-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #667eea, #764ba2);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #667eea;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #667eea;
  z-index: 1;
}

.timeline-content {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 3px solid #667eea;
  transition: transform 0.2s, box-shadow 0.2s;
}

.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.timeline-date {
  color: #667eea;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-title {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.timeline-company {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.timeline-department {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.timeline-description {
  margin-top: 1rem;
  margin-left: 1.5rem;
  list-style: disc;
  color: #555;
  line-height: 1.8;
}

.timeline-description li {
  margin-bottom: 0.75rem;
}

.education-section ul,
.certifications-content ul {
  margin-left: 1.5rem;
}

.education-section li,
.certifications-content li {
  margin-bottom: 0.5rem;
}

.activity-item {
  margin-bottom: 1.5rem;
}

.activity-item h4 {
  color: #667eea;
  margin-bottom: 0.5rem;
}

.activity-item ul {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.loading {
  text-align: center;
  padding: 4rem;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 1.5rem;
  }
  
  .timeline {
    margin-left: 1.5rem;
  }

  .timeline::before {
    left: -1.5rem;
  }

  .timeline-marker {
    left: -2rem;
  }

  .timeline-content {
    padding: 1rem;
  }

  .timeline-title {
    font-size: 1.2rem;
  }
}

