



.slider-wrapper {
  overflow: hidden;
  max-width: 1300px;
  margin: 0 70px 50px;
}

.card-list6 .card-item6 {
  color: #000000;
  user-select: none;
  padding: 30px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border: 1px solid #666464;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  height: 400px;
}

.card-list6 .card-item6 .user-image6 {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid #fff;
  padding: 5px;
  margin-bottom: 32px;
}

.card-list6 .card-item6 .user-name6 {
  font-size: 15px;
  font-weight: 600;
text-align:center;
}

.card-list6 .card-item6 .review-text6{
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  text-align: center;
  margin: 18px 0;
  color: rgb(136, 133, 133);
}

.card-list6 .card-item6 .review-rating span {
  color: #ffd700;
  cursor: pointer;
}

.slider-wrapper .swiper-pagination-bullet {
  background: #414040;
  width: 15px;
  height: 15px;
}

.slider-wrapper .swiper-slider-button {
  color: #414040;
  margin-top: -50px;
  transition: 0.3s ease;
}

.slider-wrapper .swiper-slider-button:hover {
  color: #ffd700;
}

@media screen and (max-width: 768px) {
  .slider-wrapper {
    margin: 0 10px 40px;
  }

  .slider-wrapper .swiper-slider-button {
    display: none;
  }
  .swiper-pagination{
   margin-bottom:20px;
}
}















/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(82, 60%, 28%);
  --title-color: hsl(0, 0%, 15%);
  --text-color: hsl(0, 0%, 35%);
  --body-color: hsl(0, 0%, 95%);
  --container-color: hsl(0, 0%, 100%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --h2-font-size: 1.25rem;
  --small-font-size: .813rem;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1120px) {
  :root {
    --h2-font-size: 1.5rem;
    --small-font-size: .875rem;
  }
}

/*=============== BASE ===============*/

.card__img5 img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== CARD ===============*/
.container5 {
  display: grid;
  place-items: center;
  margin-inline: 1.5rem;
  padding-block: 5rem;
}

.card__container5 {
  display: grid;
  row-gap: 3.5rem;
}

.card__article5 {
  position: relative;
  overflow: hidden;
}

.card__img5 {
  width: 328px;
  border-radius: 1.5rem;
}

.card__data5 {
  width: 280px;
  background-color: var(--container-color);
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
  border-radius: 1rem;
  position: absolute;
  bottom: -9rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  opacity: 0;
  transition: opacity 1s 1s;
}

.card__description5 {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: .25rem;
}

.card__title5 {
  font-size: var(--h2-font-size);
  font-weight: 500;
  color: var(--title-color);
  margin-bottom: .75rem;
}



/* Naming animations in hover */
.card__article5:hover .card__data5 {
  animation: show-data 1s forwards;
  opacity: 1;
  transition: opacity .3s;
}

.card__article5:hover {
  animation: remove-overflow 2s forwards;
}

.card__article5:not(:hover) {
  animation: show-overflow 2s forwards;
}

.card__article5:not(:hover) .card__data5 {
  animation: remove-data 1s forwards;
}

/* Card animation */
@keyframes show-data {
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(-7rem);
  }
}

@keyframes remove-overflow {
  to {
    overflow: initial;
  }
}

@keyframes remove-data {
  0% {
    transform: translateY(-7rem);
  }
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(.5rem);
  }
}

@keyframes show-overflow {
  0% {
    overflow: initial;
    pointer-events: none;
  }
  50% {
    overflow: hidden;
  }
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container5 {
    margin-inline: 1rem;
  }

  .card__data5{
    width: 250px;
    padding: 1rem;
  }
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .card__container5 {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }
}

/* For large devices */
@media screen and (min-width: 1120px) {
  .container5 {
    height: 100vh;
  }

  .card__container5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .card__img5 {
    width: 348px;
  }
  .card__data5 {
    width: 316px;
    padding-inline: 2.5rem;
  }
}