body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #e0e0e2;
  color: #212529;
  padding-top: 80px;
  /* Space for fixed navigation */
  margin: 0;
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  /* Ensure it stays above other content */
}

/* Premium Button Style */
.btn-premium {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #6f42c1 0%, #59359a 100%);
  border: none;
  border-radius: 50px;
  /* Pill shape */
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
  transition: all 0.3s ease;
  text-decoration: none !important;
  margin: 0.5rem;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.4);
  color: #ffffff;
}

.cover {
  height: 800px;
  /* Use local hero image with gradient overlay */
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(22, 33, 62, 0.8) 100%), url(static/hero_bg.png);
  color: white;
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

.cover-small {
  height: 300px;
  background-size: cover;
  background-position: center;
  background-blend-mode: normal;
}

/* Specific Card Backgrounds */
.card-img-mufla {
  background-image: url(static/mufla.png);
}

.card-img-incubator {
  background-image: url(static/incubator.png);
}

.card-img-agitator {
  background-image: url(static/agitator.png);
}

.card-img-vacio {
  /* Using mufla generic or similar if needed, or specific if generated */
  background-image: url(static/mufla.png);
  /* Creating fallback/reuse for now or separate generic */
}

/* Headers for other pages */
.header-vision {
  background-image: url(static/vision.png) !important;
}

.header-equipos {
  background-image: url(static/hero_bg.png) !important;
  /* Reuse hero or specific */
}

.card {
  border: none !important;
  border-radius: 16px !important;
  /* Softer corners */
  background-color: #ffffff;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  /* Sophisticated soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

.card-title {
  min-height: 3rem;
}

.card-text {
  min-height: 10rem;
}

.Product-stripe,
.slider {
  overflow-x: scroll;
  padding-top: 1rem;
}

.stripe-conteiner,
.slider-container {
  display: flex;
}

.stripe-conteiner .card {
  width: 800;
  flex-shrink: 0;
  margin-right: 1rem;
}

.responsive-iframe {
  position: relative;
  padding-top: 56.25%;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider {
  overflow-x: hidden;
}

.slider-container {
  transform: translatex(0);
  animation: slider 40s infinite;
}

.image-container {
  width: 100%;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

@keyframes slider {
  0% {
    transform: translatex(0);
  }

  20% {
    transform: translatex(0%);
  }

  25% {
    transform: translatex(-100%);
  }

  45% {
    transform: translatex(-100%);
  }

  50% {
    transform: translatex(-200%);
  }

  70% {
    transform: translatex(-200%);
  }

  100% {
    transform: translatex(0);
  }
}

"link-opacity": (css-var: true,
  class: link-opacity,
  state: hover,
  values: (10: .1,
    25: .25,
    50: .5,
    75: .75,
    100: 1)),
"link-offset": (property: text-underline-offset,
  class: link-offset,
  state: hover,
  values: (1: .125em,
    2: .25em,
    3: .375em,
  )),
"link-underline": (property: text-decoration-color,
  class: link-underline,
  local-vars: ("link-underline-opacity": 1),
  values: map-merge($utilities-links-underline,
    (null: rgba(var(--#{$prefix}link-color-rgb), var(--#{$prefix}link-underline-opacity, 1)),
    ))),
"link-underline-opacity": (css-var: true,
  class: link-underline-opacity,
  state: hover,
  values: (0: 0,
    10: .1,
    25: .25,
    50: .5,
    75: .75,
    100: 1),
),


.navbar-brand img {
  width: 75px;
  height: 75px;
}

.model-container {
  display: flex;
  justify-content: center;
  /* Centra los modelos */
  gap: 20px;
  /* Espacio entre los modelos */
  flex-wrap: wrap;
  /* Hace que se acomoden en móviles */
}







/* --- Scroll Progress Bar Styles --- */

/* The container fixed at the top */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  /* Adjust height here */
  background-color: transparent;
  z-index: 9999;
  /* Ensure it's above everything */
  pointer-events: none;
  /* Let clicks pass through */
}

/* The actual bar that fills up */
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  /* Starts at 0 */
  /* Gradient similar to the React example */
  background: linear-gradient(to right, #6f42c1, #a66efa);
  /* Smooth transition for the animation effect */
  transition: width 0.1s ease-out;
}

/* --- Motion Primitives / Scroll Animations --- */

/* Base class for elements to animate */
.animate-on-scroll {
  opacity: 0;
  /* Start lower down for more drama */
  transform: translateY(50px);
  /* Slower duration for that "heavy" cinematic feel */
  transition: opacity 1.0s ease-out, transform 1.0s ease-out;
  will-change: opacity, transform;
}

/* State when visible */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for child elements (optional helper) */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.6s;
}

/* --- Animated Navigation Styles --- */
.nav-container {
  position: relative;
  display: inline-flex;
  background-color: #343a40;
  /* bg-dark */
  border-radius: 9999px;
  /* Pill shape */
  padding: 0.3rem;
}

.nav-item {
  position: relative;
  z-index: 10;
  border: none;
  background: transparent;
  cursor: pointer;
  list-style: none;
  margin: 0 !important;
}

.nav-link {
  color: #adb5bd !important;
  /* Muted text */
  transition: color 0.3s;
  padding: 0.5rem 1rem !important;
  font-weight: 500;
  border-radius: 9999px;
}

.nav-link:hover {
  color: #fff !important;
}

/* The sliding background pill */
.nav-hover-pill {
  position: absolute;
  top: 0.3rem;
  /* match padding */
  left: 0;
  height: calc(100% - 0.6rem);
  background-color: #495057;
  /* lighter gray */
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* Fixed Navigation Logic - Always stays at top */
.sticky-nav-wrapper {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  padding: 0.5rem 0;
  background: rgba(248, 249, 250, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  margin-top: 0.5rem;
}

/* Override nav-container for sticky context */
.sticky-nav-wrapper .nav-container {
  pointer-events: auto;
  background-color: rgba(52, 58, 64, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nav-hover-pill.visible {
  opacity: 1;
}

/* Active Nav State */
.nav-link.active-page {
  color: #fff !important;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 20;
  /* Ensure on top of pill */
}