.bannerslider {
  position: relative;
  width: 100%;
  height: 943px;
  overflow: hidden;
}

.bannerslider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.bannerslider .slide.active {
  opacity: 1;
  z-index: 1;
}

.bannerslider .slide img,
.bannerslider .slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.bannerslider .slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.bannerslider .caption {
  position: absolute;
  top: 50%;
  left: 13%;
  transform: translateY(-50%);
  color: #fff;
  font-family: "Playfair Display", serif;
  max-width: 45%;
  z-index: 2;
}

.bannerslider .caption h2 {
  font-size: 58px;
  line-height: 70px;
  margin-bottom: 34px;
}

.bannerslider .caption p.subtitle {
  font-size: 36px;
  margin-bottom: 50px;
  line-height: 1;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 100;
}

.bannerslider .caption .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #272727;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  padding: 20px 31px;
  border: 1px solid #000;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.bannerslider .caption .btn img {
  width: 18px;
  height: auto;
}

.bannerslider .caption .btn:hover {
  background: #e7cd78;
  color: #000;
  border: 1px solid #e7cd78;
}

/* Dots Navigation */
.bannerslider .dots {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.bannerslider .dots button {
  width: 10px;
  height: 10px;
  border-radius: 100px;
  border: none;
  background: #c2bbbb;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0px;
}

.bannerslider .dots button.active {
  background: #e7cd78;
  width: 30px;
  height: 10px;
}

/* Responsive */
@media (max-width: 1366px) {
  .bannerslider {
    height: 670px;
  }

  .bannerslider .caption h2 {
    font-size: 46px;
  }
}
@media (max-width: 1024px) {
  .bannerslider {
    height: 600px;
  }

  .bannerslider .caption h2 {
    font-size: 34px;
    line-height: 45px;
  }
  .bannerslider .caption p.subtitle {
    font-size: 24px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .bannerslider {
    height: 380px;
  }

  .bannerslider .caption h2 {
    font-size: 26px;
  }

  .bannerslider .caption p.subtitle {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .bannerslider {
    height: 350px;
  }

  .bannerslider .caption h2 {
    font-size: 20px;
    line-height: 35px;
    margin-bottom: 20px;
  }

  .bannerslider .caption p.subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .bannerslider .caption .btn {
    font-size: 14px;
    padding: 10px 20px;
  }
  .bannerslider .caption {
    max-width: 70%;
  }
}

.slider-container {
  position: relative;
  margin: auto;
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  scroll-behavior: smooth;
  overflow-x: hidden; /* hide manual scroll */
}

.cardslide {
  background: #fff;
  margin: 0 19px;
  flex: 0 0 calc(33.333% - 32px); /* 3 items on desktop */
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  scroll-snap-align: start;
  position: relative;
}

.cardslideimg {
  width: 100%;
  height: 291px;
  object-fit: cover;
  display: block;
}

.cardslideimg img {
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: 100% !important;
  width: 100%;
  object-fit: cover;
  max-width: 100%;
}

.icon-badge {
  width: 69px;
  height: 69px;
  border-radius: 50%;
  background: #e7cd78;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.icon-badge img {
  width: 100%;
  height: 100%;
}

.slide-content {
  padding: 60px 88px;
  text-align: left;
}

/* Dots */
.slider-dots {
  text-align: center;
  margin-top: 15px;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 100px;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0px;
}
.slider-dots button.active {
  background: #e7cd78;
  width: 30px;
}

@media (max-width: 1366px) {
  .slide-content {
    padding: 50px 40px 30px 40px;
  }
}
/* Mobile view: 1 item */
@media (max-width: 768px) {
  .cardslide {
    flex: 0 0 calc(100% - 20px);
  }
}
.testislide {
  width: 100%;
  margin: auto;
  position: relative;
  overflow: hidden;
}
.testislide .user-info h5 { font-size: 20px!important;}
.testislide .swiper-wrapper {
  display: flex;
}
.testislide .swiper-slide {
  /*flex:0 0 calc((100% - 40px)/3);*/
  margin-right: 20px;
  box-sizing: border-box;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 35px 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  color: #000;
}
.testislide .swiper-wrapper .swiper-slide:last-child {
  margin-right: 0;
}

.testislide .swiper-slide:hover {
  background: #000;
  color: #fff;
}
.testislide .swiper-slide:hover .user-info h5 {
  color: #fff;
}
.testislide .swiper-slide:hover .user-info p {
  color: #ddd;
}

.stars {
  color: #ffbf00;
  margin-bottom: 15px;
  font-size: 22px;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
	height: 350px;
	overflow-y: auto;
}

.user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
}
.user-info h5 {
  margin: 0;
}
.user-info p {
  margin: 0;
  font-size: 15px;
  color: #000;
}

.testislide .swiper-pagination {
  position: static;
  margin-top: 18px;
  text-align: center;
}
.testislide .swiper-pagination-bullet {
  background: #c2bbbb;
  opacity: 1;
  width: 10px;
  height: 10px;
  border-radius: 100px;
}
.testislide .swiper-pagination-bullet-active {
  background: #f2c94c;
  width: 30px;
}
