/* ==========================================================================
   CUSTOM CSS EXTENSIONS (SUPPLEMENTS TAILWIND)
   ========================================================================== */

/* Font setting backup */
body {
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Material Symbols configuration */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  display: inline-block;
  vertical-align: middle;
}

/* Smooth Hover effect on service cards */
.service-card-hover {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

/* Custom Scrollbar for premium feel */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f6f3f2;
}
::-webkit-scrollbar-thumb {
  background: #707a6a;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #004900;
}

/* Scroll list hiding scrollbar utility (for swipable mobile tab bars) */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Custom Range Slider styling inside Tailwind */
.custom-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #e5e2e1;
  outline: none;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #004900;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 73, 0, 0.3);
  transition: transform 0.1s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Platform Filter Active State button colors */
.filter-btn.active {
  background-color: var(--platform-color, #004900);
  border-color: var(--platform-color, #004900);
  color: #ffffff !important;
  box-shadow: 0 10px 15px -3px rgba(0, 73, 0, 0.15);
}

/* Platform Filter Hover State colors */
.filter-btn:not(.active):hover {
  background-color: var(--platform-color, #004900) !important;
  border-color: var(--platform-color, #004900) !important;
  color: #ffffff !important;
  opacity: 0.9;
}

.filter-btn:not(.active):hover svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.filter-btn.active:hover {
  opacity: 0.95;
}
