/* Alternative 2: Card Grid Layout */

.edu-track-wrapper {
  margin: 40px 0;
}

.edu-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.edu-node {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.edu-node.active {
  border-color: #007bff;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,123,255,0.2);
}

.edu-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.node-marker {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #007bff;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #007bff;
  transition: all 0.3s ease;
}

.edu-node.active .node-marker {
  background: #28a745;
  box-shadow: 0 0 0 2px #28a745;
}

.degree-card {
  padding-top: 10px;
}

.degree-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.3;
}

.degree-years {
  color: #007bff;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 500;
}

.degree-card > div:last-child {
  color: #666;
  font-size: 14px;
  font-style: italic;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .edu-track {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .edu-node {
    padding: 20px;
  }

  .degree-title {
    font-size: 16px;
  }

  .degree-years {
    font-size: 13px;
  }

  .degree-card > div:last-child {
    font-size: 13px;
  }
}

/* Degree Details - Same as before */
.degree-details {
  display: none;
  margin-top: 40px;
}

.degree-details.active {
  display: block;
}

.degree-details h2 {
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.edu-metrics {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.metric-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.metric-value {
  font-size: 18px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.metric-description {
  font-size: 12px;
  color: #888;
}

.academic-work {
  margin-bottom: 30px;
}

.work-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-left: 4px solid #007bff;
}

.work-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  font-size: 16px;
}

.work-description {
  color: #666;
  line-height: 1.6;
}

.work-description strong {
  color: #333;
}

.work-description li {
  margin-bottom: 5px;
}

/* Mobile */
@media (max-width: 480px) {
  .edu-metrics {
    flex-direction: column;
    align-items: center;
  }

  .metric-card {
    width: 100%;
    max-width: 300px;
  }

  .work-card {
    padding: 15px;
  }

  .work-title {
    font-size: 14px;
  }

  .work-description {
    font-size: 14px;
  }
}