/* ============================================
   EDUCATION SECTION
   ============================================ */
.education {
  background: var(--off-white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gradient-hero);
  border-radius: 3px;
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--coral);
  z-index: 1;
  top: 24px;
}

.timeline-item:nth-child(even) .timeline-dot {
  border-color: var(--teal);
}

.timeline-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease-smooth);
  border: 1px solid var(--gray-100);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.timeline-year {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-item:nth-child(odd) .timeline-year {
  background: rgba(57, 189, 235,0.12);
  color: var(--coral);
}

.timeline-item:nth-child(even) .timeline-year {
  background: rgba(46,196,182,0.12);
  color: var(--teal-dark);
}

.timeline-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.timeline-card .institution {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}


/* Education Card Header */
.timeline-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.edu-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  color: white;
}
.edu-logo-ppg { background: linear-gradient(135deg, #0F5EA8, #2FAFE6); }
.edu-logo-s1 { background: linear-gradient(135deg, #39BDEB, #7DD3FC); }
.edu-logo-smk { background: linear-gradient(135deg, #2ec4b6, #56ccf2); }
.edu-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.badge-ongoing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: rgba(57, 189, 235,0.1);
  color: #39BDEB;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(57, 189, 235,0.3);
}
.ppg-era .timeline-dot { border-color: #0F5EA8; background: #0F5EA8; }
.s1-era .timeline-dot { border-color: #39BDEB; }
.smk-era .timeline-dot { border-color: #2ec4b6; }
