/* BH Steps Block Styles */

.bh-steps-block {
  width: 100%;
  position: relative;
}

/* Desktop Layout Styles */

.bh-step-items {
  gap: 30px;
}
.bh-steps-block .bh-step-item {
  text-align: center;
  padding: 1;
  background: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: flex-start;
  max-width: 311px;
  width: 100%;
}
.bh-step-item-title {
  font-family: "Nexa";
  font-weight: 900;
  font-size: 40px;
  line-height: 122%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.15);
}

.bh-step-item-text {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 133%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  text-align: start;
  margin: 16px 0 8px;
}

.bh-step-item-paragraph {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.01em;
  text-align: start;
  color: #fff;

}


/* Mobile Layout Styles */
.bh-steps-block .bh-step-item-mobile {
  text-align: center;

  padding: 1;
  background: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: flex-start;
  max-width: 311px;
  width: 100%;

}

/* Swiper Customization for Mobile */
.bh-steps-block .swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.bh-steps-block .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.bh-steps-block .swiper-slide {
  height: auto;
  width: 100%;
}

.bh-steps-block .swiper-pagination {
  position: relative;
  bottom: auto;
  margin-top: 1.5rem;
  width: 100% !important;
  text-align: start;
  left: 44% !important;
}

/* Navigation arrows */
.bh-steps-block .swiper-button-prev,
.bh-steps-block .swiper-button-next {
  color: #dc2626;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.bh-steps-block .swiper-button-prev:hover,
.bh-steps-block .swiper-button-next:hover {
  background: #dc2626;
  color: white;
  transform: scale(1.1);
}

.bh-steps-block .swiper-button-prev::after,
.bh-steps-block .swiper-button-next::after {
  font-size: 16px;
  font-weight: bold;
}

.bh-steps-block .swiper-pagination-bullet {
  background: #d1d5db;
  opacity: 0.5;
  transition: all 0.3s ease;

  width: 18px;
  border-radius: 10px;
  transform: scale(1) !important;
}

.bh-steps-block .swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
  width: 80px;

}

/* Responsive Breakpoints */
@media (max-width: 1023px) {
  .bh-steps-block .bh-step-item-mobile {
    min-height: 200px;
  }

  .bhcar-vendre-service-background > * {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .bh-step-item-title {
    font-weight: 400;
    font-size: 24px;
  }

  .bh-step-item-text {
    font-size: 16px;
    margin: 8px 0 16px;
  }

  .bh-step-item-paragraph {
    font-size: 14px;
  }
  .bh-steps-block .swiper-pagination{
    left: 50%!important;
  }
  .bh-steps-block .bh-step-item{
    min-height: 120px;
  }

}

@media (max-width: 639px) {
  .bh-steps-block .swiper-slide {
    min-width: 260px;
    width: 100% !important;
    min-width: auto !important;
  }

  .bh-steps-block .bh-step-item-mobile {
    padding: 1rem;
    min-height: 180px;
  }

  .bh-steps-block .step-number {
    font-size: 2rem;
  }

  .bh-steps-block .bh-step-item-mobile h3 {
    font-size: 1rem;
  }

  .bh-steps-block .bh-step-item-mobile p {
    font-size: 0.875rem;
  }
}

/* Animation for step numbers */
.bh-steps-block .step-number {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Container max-width for better readability */
.bh-steps-block .container {
  max-width: 1200px;
}

/* Desktop Layout - Horizontal line */
@media (min-width: 1024px) {
  .bh-steps-block .block.lg\\:flex.lg\\:flex-row.lg\\:gap-8 {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
  }

  .bh-steps-block .bh-step-item {
    flex: 1;
    min-width: 0;
  }
}

/* Ensure step items are properly sized in desktop grid */
.bh-steps-block .bh-step-item {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

