.section {
  background: white;
  color: black;
  padding: 55px 5%;
}

.customer-badge {
  background: rgb(232 232 233);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 30px;
}

.customer-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section h1 {
  font-size: 30px;
}

.section p {
  font-size: 15px;
  margin-top: 1rem;
}

.desc {
  color: #ccc;
  max-width: 520px;
  margin-bottom: 30px;
}

.stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.stat-item {
  position: relative;
  padding-right: 40px;
}

.stat-item:last-child {
  padding-right: 0;
}

/* Vertical red divider */
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: #d11212;
}

.stats h3 {
  font-size: 40px;
  font-weight: 700;
  color: black;
  margin-bottom: 6px;
  line-height: 1;
}

.stats h3 span {
  color: #d11212; /* red + */
  margin-left: 2px;
}

.stats p {
  font-size: 15px;
  font-weight: 400;
  color: black;
}

.customer-btn {
  background: #FFB000 !important;
  padding: 16px 20px;
  color: white !important;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
}

.customer-btn:hover {
  background: rgba(255, 176, 0, 0.7);
}

/* Right card */
.card {
  background: linear-gradient(180deg, #111, #0b0b0b);
  border-radius: 12px;
  padding: 35px;
  position: relative;
  box-shadow: 0 0 40px rgba(255,0,0,0.15);
}

.stars {
  color: orange;
  font-size: 18px;
  margin-bottom: 20px;
}

.quote {
  font-style: italic;
  color: #ddd;
  line-height: 1.7;
  margin-bottom: 25px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile img {
  border-radius: 50%;
}

.profile p {
  color: #aaa;
  margin: 0;
  font-size: 13px;
}

/* Mobile */
/* ===============================
   MOBILE CUSTOMER SECTION
================================ */
@media (max-width: 1019px) {
  .section {
    padding: 30px 5%;
    text-align: center;
  }

  .customer-badge {
    font-size: 15px;
    font-weight: 400;
    margin: 0 auto 28px;
    margin-bottom: 10px;
  }

  .customer-title {
    font-size: 26px;
    line-height: 1.25;
  }

  .desc {
    font-size: 14px;
    margin: 0 auto 28px;
  }

  /* Stats stacked */
  .stats {
    flex-direction: row;
    gap: 18px;
    margin-top: 50px;
  }

  .stats h3 {
    font-size: 30px;
    font-weight: 700;
  }

  .stats p {
    font-size: 9px;
  }

  /* Button centered */
  .customer-btn {
    display: inline-block;
    font-size: 12px;
  }

  /* Right card */
  .card {
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.12);
  }

  .stars {
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
  }

  .quote {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  /* Profile centered */
  .profile {
    flex-direction: column;
    gap: 8px;
  }

  .profile strong {
    display: block;
    margin-top: 6px;
  }
}

/* ===============================
   TESTIMONIAL (RIGHT SIDE)
================================ */

.testimonial-wrap {
  position: relative;
  padding-left: 40px;
}

/* Avatar stack */
.avatar-stack {
  position: absolute;
  right: -41px;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.avatar-stack img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid #111;
  object-fit: cover;
  opacity: 0.5;
}

.avatar-stack img.active {
  opacity: 1;
  border-color: #d11212;
}

/* Testimonial card */
.testimonial-card {
  padding: 32px;
  position: relative;
}

.testimonial-text {
  color: black;
  line-height: 1.8;
  font-size: 15px;
}

/* Stars */
.testimonial-card .stars {
  color: orange;
  font-size: 18px;
  margin-bottom: 18px;
}

/* Quote mark */
.quote-mark {
  position: absolute;
  right: 45px;
  bottom: -5px;
  font-size: 42px;
  color: black;
  opacity: 0.8;
}

/* Author */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 22px;
}

.testimonial-author img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author p {
  color: black;
  font-size: 16px;
  margin: 0;
}

.testimonial-card {
  background: rgb(232 232 233);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-footer {
  margin-top: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Star container (row) */
.star-box {
  display: flex;
  gap: 8px;
}

/* Individual star square */
.star-box .stars {
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: black; /* subtle dark square */
  border-radius: 6px;

  color: #ff8a00;
  font-size: 16px;
  line-height: 1;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 1019px) {
  .testimonial-wrap {
    padding-left: 0;
    margin-top: 50px;
  }

  .avatar-stack {
    display: none;
  }

  .testimonial-card {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
  }

  .testimonial-author {
    justify-content: justify;
  }
}

@media (max-width: 1019px) {

  /* Stack columns vertically */
  .section .row {
    flex-direction: column;
    text-align: center;
  }

  /* Force full width */
  .section .col-md-6 {
    width: 100%;
    max-width: 100%;
  }

  /* Center text */
  .customer-badge,
  .customer-title,
  .desc {
    margin-left: auto;
    margin-right: auto;
  }

  /* Center stats */
  .stats {
    justify-content: center;
  }

  .stat-item {
    padding-right: 20px;
  }

  .stat-item:not(:last-child)::after {
    right: -10px;
  }

  /* Button center */
  .customer-btn {
    margin: 0px auto;
    margin-bottom: 40px;
  }

  /* Testimonial spacing */
  .testimonial-wrap {
    margin-top: 40px;
    padding-left: 0;
  }

  /* Center testimonial text */
  .testimonial-card {
    text-align: center;
  }

  .testimonial-author {
    justify-content: center;
  }
}

@media (max-width: 1019px) {
  /* Center stars */
  .star-box {
    justify-content: center;
  }

  /* Center testimonial text */
  .testimonial-text {
    text-align: center;
  }

  /* Center author */
  .testimonial-author {
    justify-content: center;
    text-align: center;
    font-size: 20px;
  }

  .section h1 {
    font-size: 25px;
  }

  .section p {
    font-size: 12px;
  }

  .testimonial-author p {
    font-size: 12px;
  }
  
  .testimonial-author img {
    width: 90px;
    height: 90px;
  }
}
