

.testimonials{
  width:100%;
  height:auto;
  margin:0 auto;
  padding:20px;
  background-color: rgba(0, 0, 0, 0.7);
}

.testimonials .testinomials-heading{
  width: 90%;
  max-width: 1250px;
  color:goldenrod;
  margin: 0 auto;
  text-align: center;
}
.testinomials-heading h2{
  font-weight: 700;
  font-size: 3rem;
}
.testinomials-heading p{
  color:white;
  margin-top:-5px;
  margin:10px 0;
}


.slider-container {
  width: 100%;
  max-width: 1250px;
  min-width: 380px;
  overflow: hidden;
  position: relative;
  margin:0px auto;
  /* background-color: inherit; */
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.card {
  flex: 0 0 33.333%;
  /* Default: 3 cards visible at once */
  max-width: 33.333%;
  box-sizing: border-box;
  padding: 15px;
  text-align: center;
  background-color: inherit;
}

.card-content {
  /* background: inherit; */
  border-radius: 8px;
  /* border: 1px solid gold; */
  box-shadow: 0 4px 6px rgba(235, 235, 235, 0.9);
  padding: 16px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-content h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #ececec;
}

.card-content p {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: #ececec;
}

.dots1 {
  text-align: center;
  margin-top: 5px;
}

.dot {
  height: 2px;
  width: 15px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 15%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: goldenrod;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .card {
      flex: 0 0 100%;
      /* Only one card visible at a time */
      max-width: 100%;
      padding:20px 
  }
  .testinomials-heading h2{
      font-weight: 700;
      font-size: 2rem;
  }
}