/* ================================testimonies======================================= */



/* Container styling */
.testimonial_sec {
  /* height: 100vh; */
  padding: 2.5rem; /* 40px */
}

/* Slider container */
.testimonial_slider-container {
  /* border: #000000 solid; */
  max-width: 75rem; /* 1200px */
  margin: auto;
  overflow: hidden;
  position: relative;
  padding: 2.5rem 0; /* 40px top &amp; bottom */
  text-align: center;
  color: #333;
}

/* Heading styles */
.testimonial_heading p {
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-weight: 500;
  margin: 1rem 0;
}

.testimonial_heading h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--blue);
  font-weight: 900;
}

/* Slider styling */
.testimonial_slider {
  display: flex;
  transition: transform 1s ease-in-out;
  width: 100%;
  /* For dragging effect */
  cursor: grab;
}

.testimonial_slider.grabbing {
  cursor: grabbing;
}

/* Individual slide */
.testimonial_slide {
  flex: 0 0 100%;  /* One slide per view */
  padding: 1.25rem; /* 20px */
  box-sizing: border-box;
}

.testimonial_slide p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial_slide h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

.testimonial_slide span {
  font-size: 1rem;
  color: #777;
}

/* Dots styling */
.testimonial_dots {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem; /* 20px */
}

.testimonial_dot {
  height: 0.7rem;
  width: 0.7rem;
  margin: 0 0.3rem;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  background-color: #c8c7c7;
}

.testimonial_dot.testimonial_active {
  background-color: var(--brown);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {  /* 768px */
  .testimonial_sec {
    height: auto;
    padding: 1.25rem;
  }
  .testimonial_heading h1 {
    font-size: 2rem;
  }
  .testimonial_slide p {
    font-size: 1.2rem;
  }
}
