:root {
  color-scheme: light;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(13, 110, 253, 0.9), rgba(102, 16, 242, 0.9));
}

.hero::after {
  content: "";
  position: absolute;
  inset: -10rem auto auto -6rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 60%);
  opacity: 0.7;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -6rem -8rem auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 65%);
  opacity: 0.8;
}

.hero .badge {
  letter-spacing: 0.18em;
}

.section-title {
  font-weight: 700;
}

.section-lead {
  max-width: 42rem;
}

.hero-photo {
  max-width: 280px;
  border: 6px solid rgba(255, 255, 255, 0.15);
}

.timeline {
  border-left: 2px solid rgba(13, 110, 253, 0.2);
  padding-left: 1.75rem;
  display: grid;
  gap: 1.75rem;
}

.timeline-entry {
  position: relative;
  padding-left: 1.5rem;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  left: -2.125rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background-color: var(--bs-primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.card .stretched-link {
  position: static;
}

.card .stretched-link::after {
  position: absolute;
  inset: 0;
  content: "";
}

.list-group-item {
  padding: 1.25rem 1.5rem;
}

.list-group-item h3 {
  font-weight: 600;
}

.skill-badges .badge {
  font-size: 0.95rem;
  border: 1px solid rgba(13, 110, 253, 0.2);
}

footer a {
  color: inherit;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .hero {
    text-align: center;
  }

  .hero::after,
  .hero::before {
    display: none;
  }

  .hero-photo {
    max-width: 220px;
  }

  .timeline {
    border: none;
    padding-left: 0;
  }

  .timeline-entry {
    padding-left: 0;
  }

  .timeline-entry::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1rem;
  }

  .list-group-item {
    padding: 1.1rem 1.25rem;
  }
}
