html,
body {
  height: 100%;
  --timeline-color: #0d6efd;
  --timeline-bg: #ffffff;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
.nav-link {
  color: rgba(255, 255, 255, 0.6);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:focus {
  color: rgba(255, 255, 255, 0.6);
  outline: none;
  box-shadow: none;
}

.navbar-nav .nav-link:focus-visible {
  color: rgba(255, 255, 255, 0.6);
}
strong {
  font-weight: normal;
}

.timeline {
  position: relative;
  margin-left: 2rem;
  padding-left: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 0.2rem;
  background: var(--timeline-color);
  border-radius: 1rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: var(--timeline-bg);
  border: 0.2rem solid var(--timeline-color);
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}

.timeline .card {
  margin-left: 1.5rem;
}
.card {
  transition: all 0.2s ease-in-out;
}
.card:hover {
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25) !important;
  transform: scale(1.01);
  transition: all 0.2s ease-out;
}
.bg-dark {
  background-color: #2b2b2b !important;
}
.timeline .card:hover {
  box-shadow: none !important;
  transform: none !important;
  background-color: rgba(13, 110, 253, 0.1);
}
.timeline-item:has(.card:hover)::before {
  background-color: #0a58ca;
}
.btn {
  transition:
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

.btn:hover {
  box-shadow: 0 0 20px rgba(10, 88, 202, 0.8);
  transform: translateY(-1px);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.6rem;
}

.btn {
  border-radius: 0.5rem;
}

.badge {
  border-radius: 0.5rem;
}

.card-img-top {
  height: 200px;
}
.projects-page .project-card-tags .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 0.75rem 0;
}

.projects-page .project-card-tags .tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.projects-page .project-card-tags .tag-html {
  background: #e7f0ff;
  color: #1d4ed8;
}

.projects-page .project-card-tags .tag-css {
  background: #efe7ff;
  color: #6d28d9;
}

.projects-page .project-card-tags .tag-js {
  background: #e9ffe7;
  color: #166534;
}

.projects-page .project-card-tags .project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0d6efd;
  text-decoration: none;
  font-weight: 700;
}

.projects-page .project-card-tags .project-link:hover {
  text-decoration: underline;
}
#siteFooter {
  background-color: #414141 !important;
}
.hero-section {
  background: linear-gradient(135deg, #2563eb, #6d28d9);
  padding: 6rem 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

.btn-uniform {
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  line-height: 1.2;
}
