/* Custom styles for IMCI website (complements compiled Tailwind CSS) */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Range slider styling for Section F interactive demonstration */
input[type="range"].imci-range {
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  background: #34485D;
  outline: none;
  cursor: pointer;
}

input[type="range"].imci-range:focus-visible {
  outline: 2px solid #D6E4EF;
  outline-offset: 6px;
}

input[type="range"].imci-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #D6E4EF;
  border: 1px solid #7196B5;
  border-radius: 2px;
  cursor: pointer;
}

input[type="range"].imci-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #D6E4EF;
  border: 1px solid #7196B5;
  border-radius: 2px;
  cursor: pointer;
}

/* Smooth anchor scrolling offset for sticky header */
html {
  scroll-padding-top: 4.5rem;
}
