:root {
  --brand-red: #c2272d;
}

.text-brand {
  color: var(--brand-red);
}

.bg-brand {
  background-color: var(--brand-red);
}

.bg-brand-hover:hover {
  background-color: #a81f24;
}

.border-brand {
  border-color: var(--brand-red);
}

.gradient-brand {
  background: linear-gradient(
    135deg,
    rgba(194, 39, 45, 0.9),
    rgba(37, 99, 235, 0.9)
  );
}

.gradient-brand-soft {
  background: linear-gradient(
    135deg,
    rgba(194, 39, 45, 0.22),
    rgba(37, 99, 235, 0.22)
  );
}

.hero-bg-accent {
  background: linear-gradient(
    135deg,
    rgba(229, 57, 53, 0.12),
    rgba(37, 99, 235, 0.06) 40%,
    rgba(239, 246, 255, 0.8) 100%
  );
}

.angled-panel {
  transform: rotate(-8deg);
  filter: drop-shadow(0 18px 40px rgba(2, 6, 23, 0.12));
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.65),
    rgba(255, 255, 255, 0.45)
  );
  backdrop-filter: blur(8px) saturate(120%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.title-glow {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.04);
}

/* Float animation */
.float-soft {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Glow animation */
.glow-grad {
  animation: glow 6s ease-in-out infinite;
}

@keyframes glow {
  0% {
    filter: drop-shadow(0 0 8px rgba(194, 39, 45, 0.3));
  }

  50% {
    filter: drop-shadow(0 0 22px rgba(37, 99, 235, 0.35));
  }

  100% {
    filter: drop-shadow(0 0 8px rgba(194, 39, 45, 0.3));
  }
}

/* Reveal text */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: revealIn 0.9s ease-out forwards;
}

@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Button hover zoom */
.btn-zoom {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-zoom:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

#step-panels {
  position: relative;
}

.step-panel {
  position: absolute;
  width: 100%;
  height: 300px;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.step-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0px);
  z-index: 5;
  position: relative;
}

.step-tab.active {
  color: #c2272d;
  font-size: 22px;
  font-weight: 700;
}

/* Default (non-active) slides */
.mySwiper .swiper-slide .slide-card {
  transition: all 0.4s ease;
  filter: blur(3px);
  transform: scale(0.7);
  opacity: 0.6;
}

/* Active slide */
.mySwiper .swiper-slide-active .slide-card {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
}

.moving-truck-wrapper {
  position: absolute;
  bottom: 0;
  left: -100px;
  /* start off-screen on the left */
  animation: truck-move 8s linear infinite;
  pointer-events: none;
}

.moving-truck {
  font-size: 2.5rem;
  transform: scaleX(-1);
  /* flip the truck to face right */
}

@keyframes truck-move {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(100vw + 200px));
    /* move across to the right */
  }
}

/* Center whole swiper */
.swiper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Fix slide width so they don't shift */
.swiper-slide {
  width: 380px !important;
}

/* Inside white card */
.slide-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
}

/* Title */
.slide-title {
  font-size: 26px;
  font-weight: 800;
  border-bottom: 4px solid #c2272d;
  display: inline-block;
  margin: 0 auto 18px;
}

/* Image */
.slide-img {
  /* height: 230px; */
  height: 200px;
  object-fit: contain;
  margin: 0 auto;
}

/* Description */
.slide-desc {
  margin-top: 20px;
  font-size: 18px;
  color: #475569;
  font-weight: 600;
}

#mobileMenu.hidden {
  display: none !important;
}

/* STEP TABS STYLING */
#step-tabs {
  margin-bottom: 12px;
}

.step-tab {
  padding: 1px 18px;
  border-radius: 9999px;
  background: #f3f4f6;
  font-weight: 600;
  color: #475569;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.step-tab:hover {
  background: #e5e7eb;
}

.step-tab.active {
  background: #c2272d;
  color: white;
  border-color: #c2272d;
  transform: scale(1.05);
}

/* Custom Swiper Arrows */
.custom-swiper-btn {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.custom-swiper-btn::after {
  font-size: 16px;
  font-weight: 800;
  color: #c2272d; /* your brand red */
}

.custom-swiper-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  background: #fff5f5;
  border-color: #c2272d;
}
