/* Skills */
.skill-groups {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.skill-group h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .skill-group h3 {
    font-size: 1.875rem;
  }
}
.skill-group > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.skill-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.skill {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  transition: border-color 0.2s;
}
.section.alt .skill {
  background: var(--bg);
}
.skill:hover {
  border-color: var(--orange);
}
.skill-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.skill-top span {
  font-weight: 600;
  color: var(--text);
}
.dots {
  display: flex;
  gap: 0.25rem;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: transparent;
}
.dot.on {
  background: var(--orange);
}
.bar {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(79, 157, 247, 0.2);
  overflow: hidden;
}
.bar > div {
  height: 100%;
  width: 0;
  background: var(--orange);
  border-radius: 999px;
  transition: width 1s ease;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.tl-item {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.section.alt .tl-item {
  background: var(--bg-alt);
}
.tl-item:hover {
  border-color: var(--orange);
}
.tl-date {
  font-size: 0.875rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.tl-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.tl-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bright);
}
.tl-org {
  color: var(--muted);
}
.tl-item ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tl-item li {
  display: flex;
  gap: 0.75rem;
  color: var(--text);
}
.tl-item li .b {
  color: var(--orange);
}
.tl-item h5 {
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

/* Education */
.edu-course {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.edu-course .chip {
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
}

/* Projects */
.project-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.project {
  position: relative;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.project:hover {
  border-color: var(--orange);
  transform: scale(1.03);
}
.status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.375rem;
  padding: 0.125rem 0.625rem;
  background: var(--green);
  color: var(--bg);
}
.status.ongoing {
  background: var(--yellow);
}
.project h3 {
  font-size: 1.5rem;
  color: var(--bright);
  margin: 1.5rem 0 0.5rem;
}
.project p {
  color: var(--muted);
  margin-bottom: 1rem;
  flex: 1;
}
.project .chips {
  margin-bottom: 1.25rem;
}
.project-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.875rem;
}
