/* Background */
#about.section-background {
  position: relative;
  background: transparent;
  min-height: 60vh;
  width: auto;
  z-index: 1;
}

.about-summary {
  text-align: center;
  font-size: 1.1rem;
  color: #a0a0a0;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 2rem auto 3.5rem;
  width: 80%;
  max-width: 900px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: var(--main-weight);
  color: var(--text-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

/* Timeline */
.timeline-container {
  width: 50%;
  max-width: 700px;
  margin: 0 auto 2rem;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

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

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-color);
  border: 2px solid rgba(255,255,255,0.4);
}

.timeline-date {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.3rem;
}

.timeline-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.3rem 0;
  color: var(--text-color);
}

.timeline-content p {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Skills */
.skills-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.8rem;
  margin-top: 0;
}

.skills-container {
  width: 50%;
  max-width: 700px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skill-group {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.skill-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  padding-top: 0.25rem;
  width: 80px;
  flex-shrink: 0;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-pill {
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.skill-proficient {
  background-color: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-color);
}

.skill-experience {
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}

.skill-tech {
  background-color: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: rgb(147, 197, 253);
}

@media (max-width: 850px) {
  .about-summary {
    font-size: 1.1rem;
    width: 90%;
    padding: 0 1rem;
  }
  .skills-container {
    width: 85%;
  }
  .skill-group {
    flex-direction: column;
    gap: 0.4rem;
  }
  .stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 90%;
  }
  .stat {
    align-items: center;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .stat-label {
    font-size: 0.9rem;
    text-align: center;
  }
  .timeline-container {
    width: 85%;
  }
  .timeline-content h3 {
    font-size: 1.15rem;
  }
  .timeline-content p {
    font-size: 1.05rem;
  }
  .timeline-date {
    font-size: 0.9rem;
  }
}
