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 {
  margin-bottom: 60px;
}

.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;
}

/* Brand Logo Ticker - Horizontal (Smooth & No-Blink) */
.logo-ticker {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  background: white;
  position: relative;
  display: flex;
}

.logo-ticker-track {
  display: flex;
  animation: scrollHorizontal 40s linear infinite;
  white-space: nowrap;
}

.logo-ticker:hover .logo-ticker-track {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  width: 220px;
  /* Increased for slogan */
  height: 100px;
  /* Increased for slogan */
  display: flex;
  flex-direction: column;
  /* Stack logo and slogan */
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-item:hover {
  transform: scale(1.05);
  /* Reduced scale since there's more content */
}

.logo-item img {
  max-height: 60px;
  /* Adjusted to fit slogan */
  max-width: 160px;
  object-fit: contain;
  filter: none;
  /* Always colored */
  opacity: 1;
  /* Always visible */
  transition: all 0.3s;
}

.logo-slogan {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #636e72;
  font-weight: 500;
  text-align: center;
  white-space: normal;
  /* Allow wrap if long */
  line-height: 1.2;
}

.logo-item:hover img {
  transform: translateY(-2px);
}

@keyframes scrollHorizontal {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Utilities & Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: #0A1F44;
  z-index: 1001;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  left: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

.search-expand {
  display: none;
}

@media (max-width: 768px) {
  .search-expand {
    display: block;
  }

  .desktop-nav {
    display: none;
  }
}

.nav-link-mobile {
  color: white;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  transition: 0.3s;
  text-decoration: none;
}

.nav-link-mobile:hover {
  color: #00B894;
  padding-left: 10px;
}

.nav-link-mobile i {
  width: 30px;
  font-size: 1.2rem;
  opacity: 0.7;
}