@import url("../css2-1");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
}

:root {
  --primary-clr: #3d52a0;
  --secondary-clr: #7091e6;
  --white-clr: #fff;
  --gray-clr: #8697c4;
  --light-gray-clr: #adbbda;
  --light-white-clr: #ede8f5;
  --dark-clr: #00173c;
  --star-clr: #f5c60d;
}
.gray_clr {
  color: #b2b2b2;
}

.testimonials {
  /* background-image: url('../assets/quotes-image2.png'); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.testimonialsNew h1 {
  font-size: 50px;
  text-align: center;
  color: #000;
  font-weight: 800;
  margin-bottom: 40px;
}

.testimonialsNew .secondary_text {
  color: var(--secondary-clr);
  font-weight: 900;
}

.testimonial_main {
  display: flex;
  /* gap: 20px; */
  justify-content: center;
  align-items: center;
  /* padding: 30px; */
}

.testimonial_main_btns {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.testimonial_main_btns button {
  border: none;
  background-color: var(--secondary-clr);
  border-radius: 50%;
  color: white;
  padding: 10px 16px;
}

.testimonials .testimonial_carousel_container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.testimonials .testimonial_carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.testimonials .testimonial_carousel_inner {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.testimonials .testimonial_carousel_item {
  /* border: 1px solid red; */
  min-width: 33.33%; /* Show 3 items */
  padding: 20px;
  opacity: 0.5;
  transition: all 0.5s ease-in-out;
  display: flex;
  /* gap: 20px; */
  justify-content: center;
  /* align-items: center; */
  background-color: transparent;
  border-radius: 10px;
}

.testimonials .testimonial_carousel_item.active {
  opacity: 1;
  transform: scale(1.1);
  background-color: var(--light-white-clr); /* Change background color */
}

.testimonials .testimonial_carousel_item_body {
  /* border: 1px solid red; */
  text-align: center;
  padding: 20px;
  border-radius: 10px;
}

.testimonial_carousel_item .testimonial_carousel_item_body p {
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonials .testimonial_carousel_item_body h6 {
  font-weight: 600;
  color: #000;
}

.quote_gif {
  /* border: 1px solid blue; */
  text-align: start;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.quote_gif_reverse {
  /* border: 1px solid red; */
  width: 40px;
  height: 40px;
  text-align: end;
  transform: rotate(180deg);
  border-radius: 10px;
  align-self: flex-end;
}

.stars i {
  color: var(--star-clr);
}

.carousel-container {
  position: relative;
  width: 90%;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
}

.carousel-wrapper {
  display: flex;
  overflow: hidden;
  justify-content: center;
  border-radius: 10px;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 100%;
  text-align: center;
  padding: 20px;
  background: var(--light-white-clr);
  border-radius: 10px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  opacity: 0.5; /* Faded by default */
  transition: opacity 0.5s;
}

.testimonial-slide.active {
  opacity: 1; /* Fully visible for the active slide */
  transform: scale(1.05);
}

.testimonial-slide p {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-slide h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.carousel-buttons {
  text-align: center;
  margin-top: 20px;
}

.carousel-container button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 24px;
  margin: 0 10px;
}

.carousel-container button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Responsiveness */
@media (min-width: 430px) and (min-width: 600px) {
  .testimonial-slide {
    border: 1px solid red;
  }

  .testimonial-slide p {
    font-size: 16px;
  }

  .testimonial-slide h3 {
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  .carousel-container {
    position: relative;
    width: 100%;
    max-width: auto;
    margin: auto;
    overflow: hidden;
  }

  .carousel-wrapper {
    display: flex;
    overflow: hidden;
    justify-content: center;
    border-radius: 10px;
  }

  .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .testimonial-slide {
    flex: 0 0 100%;
    min-width: 100%;
    text-align: center;
    padding: 20px;
    background: var(--light-white-clr);
    border-radius: 10px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    opacity: 0.5; /* Faded by default */
    transition: opacity 0.5s;
  }

  .testimonial-slide.active {
    opacity: 1; /* Fully visible for the active slide */
    transform: scale(1.05);
  }

  .testimonial-slide p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 10px;
  }

  .testimonial-slide h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
  }

  .carousel-buttons {
    text-align: center;
    margin-top: 20px;
  }

  .carousel-container button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 24px;
    margin: 0 10px;
  }

  .carousel-container button:hover {
    background: rgba(0, 0, 0, 0.8);
  }
}




.testimonialsNew {
  /* border: 1px solid red; */
  margin: 0 !important;
  background: none !important;
  z-index: 0 !important;
  padding-bottom: 0 !important;
}

.testimonialNewCard {
  /* border: 1px solid red; */
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 20px !important;
}

.testimonialNewCard p {
  display: -webkit-box; /* Required for line clamping */
  -webkit-line-clamp: 3; /* Number of lines to show */
  -webkit-box-orient: vertical; /* Vertical box layout */
  overflow: hidden; /* Hide the overflowing text */
  text-overflow: ellipsis;
}

.testimonialNewCard:hover {
  /* border: 1px solid red; */
  background-color: var(--light-white-clr) !important;
  border-radius: 10px;
}


.testimonialsNew .onoffpage_thingswedo_wrapper .abc{
  z-index: 2 !important;
}

.testimonialsNew .abcd::before {
  z-index: 2 !important;
}
.testimonialsNew .abcd::after {
  z-index: 2 !important;
}