.testimonial {
  position: relative;
  max-width: 100%;
  width: 100%;
  padding: 50px 0;
  overflow: hidden;
}

.testimonial .image {
  height: 170px;
  width: 170px;
  object-fit: cover;
  border-radius: 50%;
}

#services_cards_content {
  display: none;
}

#services_slider_content {
  display: block;
}

.testimonial .slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  row-gap: 30px;
  height: 100%;
  width: 100%;
}

.slide p {
  text-align: center;
  padding: 0 160px;
  font-size: 16px;
  font-weight: 500;
  color: rgb(32 32 32);
}

.slide .quote-icon {
  font-size: 30px;
  color: #307bfe;
}

.slide .details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.details .name {
  font-size: 16px;
  font-weight: 500;
  color: rgb(32 32 32);
}

.details .job {
  font-size: 16px;
  font-weight: 500;
  color: rgb(32 32 32);
}

/* swiper button css */
.nav-btn {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  transform: translateY(30px);
  background-color: rgb(32 32 32);
  transition: 0.2s;
}

.nav-btn:hover {
  background-color: rgb(32 32 32);
}

.nav-btn::after,
.nav-btn::before {
  font-size: 20px;
  color: #fff;
}

.swiper-pagination-bullet {
  background-color: rgba(0, 0, 0, 0.8);
}

.swiper-pagination-bullet-active {
  background-color: #307bfe;
}

@media screen and (max-width: 768px) {
  .slide p {
    padding: 0 20px;
  }

  .nav-btn {
    display: none;
  }

  #hero .hero-unit img {
    margin: auto;
    margin-top: 10%;
  }
  #services_cards_content {
    display: block;
  }
  
  #services_slider_content {
    display: none;
  }
}

@media screen and (max-width:425px) {
  .footer-logo {
    width: 40%;
  }

  #hero .hero-unit img {
    margin: auto;
    margin-top: 10%;
  }
  #services_cards_content {
    display: block;
  }
  
  #services_slider_content {
    display: none;
  }
}

@media screen and (max-width:375px) {
  .footer-logo {
    width: 45%;
  }

  #hero .hero-unit img {
    margin: auto;
    margin-top: 10%;
  }
  #services_cards_content {
    display: block;
  }
  
  #services_slider_content {
    display: none;
  }
}

@media screen and (max-width:320px) {
  .footer-logo {
    width: 50%;
  }

  #hero .hero-unit img {
    margin: auto;
    margin-top: 10%;
  }
  #services_cards_content {
    display: block;
  }
  
  #services_slider_content {
    display: none;
  }
}

.slide-container {
  max-width: 1120px;
  width: 100%;
  padding: 0px 0;
}

.slide-content {
  margin: 0 40px;
  overflow: hidden;
  border-radius: 25px;
}

.card {
  border-radius: 25px;
  background-color: #FFF;
}

.image-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  height: 500px;
  overflow:auto;
}

.card-content ul {
  list-style-type: disclosure-closed;
  overflow: overlay;
}

.image-content {
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
}

.overlay-services {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #307bfe;
  border-radius: 25px 25px 0 25px;
}

.overlay-services::before,
.overlay-services::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -40px;
  height: 40px;
  width: 40px;
  background-color: #307bfe;
}

.overlay-services::after {
  border-radius: 0 25px 0 0;
  background-color: #FFF;
}

.card-image {
  position: relative;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: #FFF;
  padding: 3px;
}

.card-image .card-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #307bfe;
}

.name {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  text-align: center;
}

.swiper-slide-duplicate .swiper-slide-duplicate-next {
  margin-right: 28px;
}

.description {
  font-size: 14px;
  color: #707070;
  text-align: center;
}

.button {
  border: none;
  font-size: 16px;
  color: #FFF;
  padding: 8px 16px;
  background-color: #307bfe;
  border-radius: 6px;
  margin: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  background: #265DF2;
}

.swiper-navBtn {
  color: #6E93f7;
  transition: color 0.3s ease;
}

.swiper-navBtn:hover {
  color: #307bfe;
}

.swiper-navBtn::before,
.swiper-navBtn::after {
  font-size: 35px;
}

.swiper-button-next {
  right: 0;
}

.swiper-button-prev {
  left: 0;
}

.swiper-pagination-bullet {
  background-color: #6E93f7;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #307bfe;
}

@media screen and (max-width: 768px) {
  .slide-content {
    margin: 0 10px;
  }

  .swiper-navBtn {
    display: none;
  }
}

/* Target the scrollbar */
::-webkit-scrollbar {
  width: 5px; /* Adjust the width of the scrollbar */
  height: 5px; /* Adjust the height of the scrollbar for horizontal scrollbars */
}

/* Style the scrollbar track */
::-webkit-scrollbar-track {
  background: #f1f1f1; /* Background color of the track */
}

/* Style the scrollbar thumb */
::-webkit-scrollbar-thumb {
  background: lightgray; /* Color of the scrollbar thumb */
  border-radius: 4px; /* Round the corners */
}

/* On hover, change the thumb color */
::-webkit-scrollbar-thumb:hover {
  background: lightgray;
}
