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

#contacts .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  border: 1px solid white;
}

#contacts .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.15);
  border: 1px solid var(--bs-primary);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background-color: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

.btn-cv {
  height: 44px;
  padding: 0 16px;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-cv:hover {
  background-color: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

.nav-link.active {
   color: #0d6efd !important;
   font-weight: 600;
   position: relative;
}

.nav-link.active::after {
   content: "";
   position: absolute;
   bottom: 0;
   left: 0;
   height: 2px;
   width: 100%;
   background-color: #0d6efd;
}

.timeline {
   max-width: 850px;
   padding-left: 30px;
   border-left: 2px solid #0d6efd;
}

.timeline-modern-item {
    position: relative;
    padding: 1rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    background-color: #fff;
}

@media (min-width: 768px) {
   .timeline-modern-item:before {
       content: "";
       position: absolute;
       left: -39px;
       top: -1px;
       width: 16px;
       height: 16px;
       background: #0d6efd;
       border-radius: 50%;
   }
}

@media (max-width: 768px) {
   .timeline {
      padding-left: 0px;
      border: 0px;
   }

   .timeline-modern-item {
      font-size: 0.90rem;
   }
}

a.btn.btn-sm {
  padding: 0.05rem 0.3rem;
  font-size: 0.70rem;
}

@media (max-width: 485px) {
  .d-xxs-block {
    display: block !important;
  }
}

