/* =========================================================
   EDUCATION TIMELINE
   ========================================================= */

.edu-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.edu-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  position: relative;
  padding-bottom: 2.5rem;
}

.edu-item:last-child { 
  padding-bottom: 0; 
}

/* Timeline vertical line */
.edu-item::before {
  content: '';
  position: absolute;
  left: 180px;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}

.edu-item:last-child::before { 
  display: none; 
}

.edu-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text3);
  padding-top: 0.15rem;
  text-align: right;
  letter-spacing: 0.03em;
}

.edu-content {
  padding-left: 2rem;
  position: relative;
}

/* Timeline dot */
.edu-content::before {
  content: '';
  position: absolute;
  left: -4.5px;
  top: 8px;
  width: 9px; 
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--border2);
}

.edu-degree {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.edu-grade {
  font-family: var(--mono);
  font-size: 0.85em;
  color: #d6bc8a;
  background: rgba(201, 168, 106, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.edu-school {
  font-size: 0.9rem;
  color: #d6bc8a;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.edu-desc {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.7;
}

.edu-highlight {
  color: var(--cyan);
  font-weight: 500;
}

/* Badges */
.edu-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.edu-badge {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(201, 168, 106, 0.08);
  color: var(--text3);
  border: 1px solid var(--border);
}

/* =========================================================
   MOBILE RESPONSIVENESS (EDUCATION)
   ========================================================= */

@media (max-width: 700px) {
  .edu-item { 
    grid-template-columns: 1fr; 
  }
  
  .edu-item::before { 
    display: none; 
  }
  
  .edu-date { 
    text-align: left; 
  }
  
  .edu-content { 
    padding-left: 0; 
  }
  
  .edu-content::before { 
    display: none; 
  }
}