
/* Centering and layout fixes */
.testimonial-header {
  text-align: center;
  margin-bottom: 16px;
}
.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

@media (min-width: 1024px) {
    .swiper-wrapper {
        height: 420px;
    }
}
/* Adjust slide sizes */
.swiper-slide {
  transition: transform 0.5s;
  min-height: 350px !important;
  height:100%;
  background: #fff;
  border-radius: 12px;
  /*   transform: scale(0.8); /* Default smaller size */ */
}

@media only screen and (min-width: 1024px) {
  .swiper-slide.swiper-slide-active {
    /*   transform: scale(1); /* Active slide stays normal size */ */
    width:50%!important;
    min-width:600px;
  }
}


/* Smaller left/right cards */
.swiper-slide-prev, 
.swiper-slide-next {
  /*   transform: scale(0.85); /* Shrink side slides */ */
  max-width:25%;
}

/* Content styles */
.swiper-slide .default-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  height: 100%;
  position: relative;
}
.swiper-slide .default-content .company-logo {
  padding: 16px;
}
.swiper-slide .default-content .testimonial__avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom:36px;
}

/* Hide inactive slide content */
.swiper-slide.swiper-slide-active .default-content {
  display: none;
}

/* Active slide content */
.swiper-slide .content {
  display: none;
  opacity: 0;
  transition: opacity 0.75s ease-in;
  min-height: 350px;
  height: 100%;
}
.swiper-slide.swiper-slide-active .content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  visibility: visible;
  opacity: 1;
  color: black;
  padding: 20px;
  background: #fff;
}

/* Text adjustments */
.swiper-slide .content .testimonial-content .heading {
  font-size: 20px;
  font-weight: 600;
  line-height: 38px;
  margin-bottom: 8px;
}
.swiper-slide .content .testimonial-content .description {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 0px;
}

/* Author details */
.swiper-slide .content .author-details {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.swiper-slide .content .author-details .details .name {
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0%;
  margin-bottom: 4px;
}

.swiper-slide .content .author-details .details .position {
  font-size: 18px;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: 0%;
  margin-bottom: 10px;
}

.swiper-slide .content .author-details .avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit:contain;
}

/* Active slide styling */
.swiper-slide.swiper-slide-active {
  background: #fff;
  border-radius: 12px;
  height: 100%;
  overflow:hidden!important;
}

.swiper{
  overflow:visible;
}


.swiper-horizontal>.swiper-pagination-bullets{
  /*   bottom: -40px!important;
  text-align: left;
  padding-left:120px; */
}
.swiper-pagination-bullet{
  background:#8B909C!important;
}

.swiper-pagination-bullet-active{
  background:#80B747!important;
  width:24px!important;
  border-radius:100px!important;
}

.testimonial__7{
  overflow: visible!important;
}

.swiper-pagination{
  margin-bottom: -60px;
}

.company-logo > img{
  width: 130px;
  margin: 20px;
  object-fit:contain;
}