/* Modern 387 HUB Custom Styles */

:root {
  --bih-blue: #002395;
  --bih-blue-dark: #001A70;
  --bih-blue-light: #1A44D4;
  --bih-yellow: #FECB00;
  --bih-yellow-hover: #E5B700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bih-blue);
}

/* Glassmorphism helpers */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Card hover animation */
.product-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(0, 35, 149, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
}

/* Filter buttons */
.badge-filter-btn.active {
  background-color: var(--bih-blue) !important;
  color: #FFFFFF !important;
  border-color: var(--bih-blue) !important;
}

.city-btn.active {
  background-color: var(--bih-blue) !important;
  color: #FFFFFF !important;
  border-color: var(--bih-blue) !important;
}

.city-btn.active span {
  color: #FFFFFF !important;
}

.cat-pill.active {
  background-color: #EEF2FF !important;
  border-color: var(--bih-blue) !important;
  box-shadow: 0 0 0 1px var(--bih-blue) !important;
}

/* Smooth Image Loading */
.img-cover {
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .img-cover {
  transform: scale(1.05);
}

/* Range input styling */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--bih-yellow);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFFFFF;
}

input[type=range]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--bih-yellow);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFFFFF;
}

/* Company Card hover animation */
.company-card {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(0, 35, 149, 0.14), 0 6px 12px -2px rgba(0, 0, 0, 0.04);
}

.company-card:hover .img-cover {
  transform: scale(1.05);
}
