html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  padding-top: 80px;
  /* Navbar height compensation */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Landing Page Styles */
.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.02);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Navbar Customization */
.navbar {
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  color: var(--bs-secondary-color) !important;
  font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--bs-primary) !important;
}

.navbar-brand {
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
  text-align: start;
}

/* Reference Slider Animation */
.logo-slider {
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-slider::before,
.logo-slider::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 100px;
  z-index: 2;
}

.logo-slider::after {
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  right: 0;
  top: 0;
}

.logo-slider::before {
  left: 0;
  top: 0;
}

.logo-slide-track {
  display: flex;
  width: calc(150px * 12 + 80px * 12);
  /* Logo width + margin * count */
  animation: scroll 30s linear infinite;
  align-items: center;
  height: 100%;
}

.logo-slide {
  height: 50px;
  width: 150px;
  margin: 0 40px;
  flex-shrink: 0;
}

.logo-slide img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.logo-slide img:hover {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-150px * 6 - 80px * 6));
  }

  /* Half of the track */
}