/* Resume Table of Contents */
.resume-toc {
  margin: 20px 0 30px 0;
  padding: 20px;
  background: var(--border-gradient-onyx);
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.resume-toc::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

.resume-toc ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.resume-toc li {
  margin: 0;
}

.resume-toc a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--jet);
  transition: all 0.3s ease;
  display: block;
  white-space: nowrap;
}

.resume-toc a:hover {
  color: var(--orange-yellow-crayola);
  border-color: var(--orange-yellow-crayola);
  background: rgba(242, 201, 76, 0.1);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Add offset for fixed navbar */
section[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .resume-toc ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .resume-toc a {
    font-size: var(--fs-8);
    padding: 6px 12px;
  }
}