.success-journey-container,
.success-journey-container .card-white,
.success-journey-container .card {
  color: #212529 !important;
}

.success-journey-container .header-text {
  color: #0d6efd !important;
}

.success-journey-container .company-details,
.success-journey-container p,
.success-journey-container .small {
  color: #212529 !important;
}

/* Carousel indicator dots */
.success-journey-container .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d3d3d3;
  border: none;
  opacity: 1;
  flex: unset;
}

.success-journey-container .carousel-indicators button.active {
  background-color: #0d6efd;
}

.avatar-placeholder {
  width: 90px;
  height: 90px;
  object-fit: cover;
}

.logo-placeholder {
  width: 100px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 0.5rem !important;
  margin-right: 0 !important;
}


.header-text {
  color: #0D6EFD;
}

.company-position {
  margin-top: 5px;
}

.text-company{
  font-size: 16px;
}

.testimonial-section {
  padding: 1rem 0;
}

.company-details {
  line-height: 1.3;
}

.fs-14px {
  font-size: 14px !important;
}

/* Desktop only: stabilize height between slides without constraining mobile layout */
@media (min-width: 769px) {
  .success-journey-container .carousel-item {
    min-height: 320px;
  }
}

/* Prevent card shadow/border from being clipped by carousel's overflow:hidden */
.success-journey-container .carousel-inner {
  padding-bottom: 12px;
}

.card-white {
  border-color: #e0e0e0;
  border-radius: 20px;
  padding: 35px 40px;
  /* height: 100%; */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .success-journey-container {
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    margin-top: 2rem !important;
  }

  .success-journey-container .col-md-6 {
    margin-bottom: 1.5rem;
  }

  .success-journey-container h4 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .success-journey-container p {
    text-align: center;
    font-size: 13px !important;
    margin-bottom: 1.5rem !important;
  }

  .testimonial-section {
    flex-direction: column !important;
    text-align: center;
    align-items: center !important;
    margin-bottom: 1rem !important;
  }

  .testimonial-section .me-3 {
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }

  .testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial-content .mb-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem !important;
  }

  .company-details {
    text-align: center;
  }

  .card.shadow-sm {
    padding: 2rem !important;
    margin-top: 1rem;
  }

  .success-journey-container .card.shadow-sm p {
    font-size: 16px !important;
    text-align: center;
    line-height: 1.5;
  }

  .card.shadow-sm .row.g-3 {
    margin-top: 1rem;
  }

  .fs-4.fw-bold.header-text {
    font-size: 1.8rem !important;
  }

  .small.text-dark.fs-14px {
    font-size: 12px !important;
    line-height: 1.3;
  }

  .avatar-placeholder {
    width: 50px !important;
    height: 50px !important;
  }

  .logo-placeholder {
    width: 70px !important;
    height: 25px !important;
  }
}

@media (max-width: 576px) {
  .success-journey-container {
    padding: 1rem !important;
  }

  .card.shadow-sm {
    padding: 1.5rem !important;
  }

  .fs-4.fw-bold.header-text {
    font-size: 1.5rem !important;
  }

  .small.text-dark.fs-14px {
    font-size: 11px !important;
  }

  .avatar-placeholder {
    width: 45px !important;
    height: 45px !important;
  }

  .logo-placeholder {
    width: 60px !important;
    height: 22px !important;
  }

  .success-journey-container h4 {
    font-size: 1.2rem;
  }

  .testimonial-content .fs-14px {
    font-size: 12px !important;
  }
}
