body {
  font-family: "Inter", sans-serif;
  background-color: #f8f8f8; /* Very light gray background */
} /* Custom scroll-to-top button styling (optional but adds polish) */
#scrollTopBtn {
  transition: opacity 0.3s ease-in-out;
} /* Custom gradient for CTA button */
.cta-gradient {
  background-image: linear-gradient(to right, #007bff, #0056b3);
} /* Custom blue color palette based on industrial theme */
.text-gtblue-500 {
  color: #007bff;
}
.bg-gtblue-500 {
  background-color: #007bff;
}
.border-gtblue-500 {
  border-color: #007bff;
}
.shadow-gt-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 56, 179, 0.1),
    0 10px 10px -5px rgba(0, 56, 179, 0.04);
}
html {
  scroll-behavior: smooth;
}

/* Product slider: horizontal drag on touch and grab cursors */
[data-slider-viewport] {
  touch-action: pan-y;
  cursor: grab;
}
.product-slider.dragging [data-slider-viewport] {
  cursor: grabbing;
  user-select: none;
}

/* Toast notification (lower-right corner) */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  max-width: min(22rem, calc(100vw - 3rem));
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  background-color: #16a34a;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.375rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25),
    0 8px 10px -6px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.toast-visible {
  opacity: 1;
  transform: translateY(0);
}
.toast-info {
  background-color: #003366;
}

/* Active navigation state.
   The link for the section currently in view gets `.is-active` from
   js/script.js (see initActiveNav) and is marked with aria-current="page".
   Desktop links show a blue label plus an underline bar; mobile menu links
   show a blue label, a tinted background and a left accent border. */
.nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background-color: #007bff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.nav-link:hover::after {
  transform: scaleX(0.6);
}
.nav-link.is-active {
  color: #007bff;
}
.nav-link.is-active::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .nav-link::after {
    transition: none;
  }
}

.mobile-nav-link {
  border-left: 3px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mobile-nav-link.is-active {
  color: #007bff;
  background-color: rgba(0, 123, 255, 0.08);
  border-left-color: #007bff;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav-link {
    transition: none;
  }
}

/* About section: scroll-triggered ease-up reveal.
   Gated behind .js-reveal (set by js/script.js) so content is never hidden
   without JavaScript. Uses a keyframe animation instead of a transition so
   Tailwind's `transition duration-300` hover utilities on the same cards
   cannot override the reveal easing. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js-reveal .reveal.is-visible {
  animation: gt-reveal-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes gt-reveal-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
