/* ============================================
   BridgeTech Solutions — Custom Styles
   ============================================ */

/* Smooth scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #c7d2fe;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #818cf8;
}

/* Selection highlight */
::selection {
  background-color: #6366f1;
  color: #fff;
}

/* Focus visible ring for accessibility */
:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Navbar shadow on scroll */
.navbar-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

/* ============================================
   Scroll Reveal Animation
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Section spacing overrides (reduce gaps)
   ============================================ */

section + section {
  margin-top: 0;
}

/* Ensure consistent section padding */
#services,
#about,
#why-us,
#contact {
  scroll-margin-top: 5rem;
}

/* Fix hero stat cards - ensure consistent sizing */
.hero-stat-card {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero GIF background — smooth loading */
.hero-gif-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* fallback dark background while GIF loads */
  background-color: #0f172a;
  will-change: transform;
}
