/* ERP Evolution Timeline Styles */
.evolution-timeline {
  position: relative;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.timeline-header {
  background: linear-gradient(135deg, #0078b0 0%, #004466 100%);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.timeline-period {
  background: rgba(255,255,255,0.2);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.timeline-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.timeline-content {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.timeline-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.timeline-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 8px 15px;
  font-size: 12px;
}

.timeline-details {
  flex: 2;
  min-width: 300px;
  padding: 25px;
}

.timeline-details h4 {
  color: #0078b0;
  margin-top: 0;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.timeline-details ul {
  padding-left: 20px;
}

.timeline-details li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.timeline-impact {
  background: #f9f9f9;
  padding: 15px;
  border-left: 4px solid #0078b0;
  margin-top: 20px;
  border-radius: 0 4px 4px 0;
}

/* Future Features Grid */
.future-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.feature-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border-top: 4px solid #0078b0;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 2rem;
  color: #0078b0;
  margin-bottom: 15px;
}

.feature-card h3 {
  margin-top: 0;
  color: #004466;
}

/* Mini Timeline in Sidebar */
.timeline-mini {
  position: relative;
  padding-left: 30px;
}

.timeline-mini::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #0078b0;
}

.timeline-mini .timeline-item {
  position: relative;
  margin-bottom: 20px;
  background: none;
  box-shadow: none;
  padding: 0;
}

.timeline-mini .timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0078b0;
  border: 2px solid white;
}

.timeline-mini .timeline-date {
  font-weight: 600;
  color: #0078b0;
  font-size: 14px;
}

.timeline-mini .timeline-content {
  font-size: 14px;
  color: #555;
}

/* Key Takeaways */
.key-takeaways {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.takeaway-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  position: relative;
  padding-left: 60px;
}

.takeaway-number {
  position: absolute;
  left: 15px;
  top: 15px;
  width: 30px;
  height: 30px;
  background: #0078b0;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.takeaway-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #004466;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .timeline-content {
    flex-direction: column;
  }
  
  .timeline-image, 
  .timeline-details {
    min-width: 100%;
  }
  
  .future-features {
    grid-template-columns: 1fr;
  }
  
  .key-takeaways {
    grid-template-columns: 1fr;
  }
}