/* Timeline Styles */
.timeline {
  position: relative;
  padding: 20px 0;
  margin: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #3b82f6;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
  list-style: none;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 8px;
  width: 18px;
  height: 18px;
  background: #3b82f6;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3b82f6;
  z-index: 1;
}

.timeline-date {
  display: inline-block;
  background: #f3f4f6;
  color: #6b7280;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content h3 {
  margin: 0 0 5px 0;
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 600;
}

.timeline-content h4 {
  margin: 0 0 10px 0;
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: normal;
}

.timeline-content p {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
}

/* Terminal Animation */
#cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-item {
    padding-left: 50px;
  }
  
  .timeline::before {
    left: 15px;
  }
  
  .timeline-item::before {
    left: -11px;
  }
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.skill-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.skill-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Project Cards */
.project-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Language Switch Hover */
.lang-switch {
  transition: all 0.2s ease;
}

.lang-switch:hover {
  transform: scale(1.05);
}
