/* Timeline Styles */
.timeline-container {
  position: relative;
  padding-left: 2rem;
  margin: 3rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #007c91, #004080);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: #007c91;
  border: 3px solid #f4fcfd;
  z-index: 1;
}

.timeline-date {
  font-weight: 600;
  color: #007c91;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.timeline-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 76, 91, 0.1);
  position: relative;
}

.timeline-content h3 {
  color: #005f6b;
  margin-top: 0;
}

.timeline-image {
  margin: 1.5rem 0;
  border-radius: 6px;
  overflow: hidden;
}

.timeline-image img {
  width: 100%;
  height: auto;
  display: block;
}

.timeline-image .caption {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

/* Highlighted Timeline Items */
.timeline-item.highlighted .timeline-content {
  border-left: 4px solid #007c91;
  background-color: #f4fcfd;
}

/* Applications Grid */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.application-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 76, 91, 0.1);
  transition: transform 0.3s ease;
}

.application-card:hover {
  transform: translateY(-5px);
}

.app-icon {
  font-size: 1.5rem;
  color: #007c91;
  margin-bottom: 1rem;
}

.application-card h4 {
  margin: 0 0 0.5rem 0;
  color: #005f6b;
}

/* Impact Stats */
.impact-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 2rem 0;
  gap: 1rem;
}

.stat-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 76, 91, 0.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #007c91;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #555;
}

/* Business Impact Cards */
.business-impact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.impact-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 76, 91, 0.1);
  position: relative;
  overflow: hidden;
}

.impact-card.highlighted {
  border-top: 4px solid #007c91;
}

.impact-icon {
  font-size: 2rem;
  color: #007c91;
  margin-bottom: 1rem;
}

.impact-card h4 {
  margin: 0 0 1rem 0;
  color: #005f6b;
}

/* Future Predictions */
.future-predictions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.prediction-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 76, 91, 0.1);
  position: relative;
}

.prediction-card.highlighted {
  border-top: 4px solid #007c91;
}

.prediction-icon {
  font-size: 1.5rem;
  color: #007c91;
  margin-bottom: 1rem;
}

.prediction-card h4 {
  margin: 0 0 0.5rem 0;
  color: #005f6b;
}

/* AI Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.service-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 76, 91, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h4 {
  margin: 0 0 0.5rem 0;
  color: #005f6b;
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  color: #007c91;
  font-weight: 500;
  text-decoration: none;
}

.service-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .timeline-container {
    padding-left: 1.5rem;
  }
  
  .timeline-item {
    padding-left: 1rem;
  }
  
  .impact-stats {
    flex-direction: column;
  }
  
  .stat-item {
    min-width: 100%;
  }
}