/* Base Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  margin: 0;
}

.testimonial-container {
  /* max-width: 950px; */
  margin: auto;
  border-radius: 20px;
  padding: 40px 170px 40px 170px;
  background-image: url('../extractimage/testimonial-bg.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color: #000;
  position: relative;
}

.testimonial-container h2 {
  text-align: center;
  font-weight: bold;
  color: #333333;
  /* padding-top: 50px; */
}

.testimonial-container p.subtext {
  text-align: center;
  font-size: 14px;
  color: #444;
 
}

.testimonial-heading {
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
  margin: 1px 0 0 0;
}

.section-divider {
  width: 80px;
  height: 4px;
  background-color: #FFC300; /* Dark gold */
  margin: 0px auto 10px auto;
  border-radius: 2px;
}

.section-divider-bottom{
  width: 80px;
  height: 8px;
  background-color: #FFC300; /* Dark gold */
  margin: 10px auto;
  /* border-radius: 2px; */
}

.star-rating i {
  color: #f4c542;
  font-size: 1rem;
  margin-right: 2px;
}


.testimonial-card {
  background-color: white;
  /* border-radius: 15px; */
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 100%;
  margin: auto;
}

.testimonial-card img {
  width: 130px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.testimonial-content h5 {
  font-weight: bold;
  margin-bottom: 5px;
}

.testimonial-content small {
  color: #555;
  display: block;
  margin-bottom: 10px;
}

.testimonial-content p {
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

.carousel-control-prev,
.carousel-control-next {
  display: none;
}

.custom-nav {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  /* margin-top: 25px; */
  padding-right: 10px;
  align-items: center;
}

.custom-arrow {
  width: 45px;
  height: 45px;
  background-color: #f4c542;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
  user-select: none;
}

.custom-arrow:hover {
  background-color: #e5b935;
}

.custom-arrow span {
  font-size: 24px;
  color: #fff;
}

.carousel-indicators {
  position: relative;
  /* margin-top: 20px; */
  justify-content: center;
  display: flex;
}

.carousel-indicators [data-bs-target] {
  background-color: #f4c542;
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 5px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.carousel-indicators .active {
  opacity: 1;
}


/* ------------------- Responsive Breakpoints ------------------- */

/* Tablet and Medium Screens */
@media (max-width: 991px) {
  .testimonial-container {
    padding: 40px 30px;
    background-size: contain;
    background-position: center;
    overflow: hidden;
  }

  .testimonial-card {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .testimonial-card img {
    width: 120px;
    height: 160px;
    margin-bottom: 15px;
  }

  .testimonial-content {
    text-align: center;
  }

  .testimonial-content h5 {
    font-size: 1.2rem;
  }

  .testimonial-content small {
    font-size: 0.9rem;
  }

  .testimonial-content p {
    font-size: 0.95rem;
  }

  .custom-nav {
    justify-content: center;
    padding-right: 0;
    margin-top: 20px;
  }

  .custom-arrow {
    width: 40px;
    height: 40px;
  }

  .custom-arrow span {
    font-size: 20px;
  }
}

/* Small Screens (Mobile) */
@media (max-width: 576px) {
  .testimonial-container {
    padding: 20px 15px;
    background-size: cover;
  }

  .testimonial-card {
    padding: 20px 15px;
  }

  .testimonial-card img {
    width: 100px;
    height: 120px;
  }

  .testimonial-content h5 {
    font-size: 1.1rem;
  }

  .testimonial-content small {
    font-size: 0.85rem;
  }

  .testimonial-content p {
    font-size: 0.9rem;
  }

  .custom-arrow {
    width: 35px;
    height: 35px;
  }

  .custom-arrow span {
    font-size: 18px;
  }

  .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
  }
}
/* Extra Small Screens */
.test-container {
   max-width: 1100px;
    padding-left: 40px;
    padding-right: 40px;
    margin-top: 20px;
}