.testimonials {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}

.owl-carousel {
    display: none;
    padding: 10px;
    z-index: 1;
}

.testimonials .header {
  margin-bottom: 55px;
}

@media screen and (max-width: 600px) {
  .testimonials .header {
    margin-bottom: 70px !important;
  }
}

.testimonials .header h1 {
  font-weight: 800;
  font-size: 3rem;
  margin: 5px -5px 15px;
}

.testimonials .header span {
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: #471aa0;
}

.testimonials .header p {
  max-width: min(40ch, 100% - 2rem);
  line-height: 1.6;
  color: #565656;
}

.testimonials .item {
    background: white;
    width: 100%;
    height: 250px;
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}

.testimonials .item img {
    height: calc( 100% - 40px );
    padding: 10px;
    border-radius: 1.5rem;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.testimonials .item .overlay {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.testimonials .item .overlay span {
    width: 100%;
    color: #236a8b;
    background: #dde4ff;
    backdrop-filter: blur(4px);
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 4px 10px;
    text-align: center;
    display: inline-block;
}

.testimonials .item .overlay > div h2 {
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.owl-nav {
  position: absolute;
  top: -100px;
  right: 0;
}

@media screen and (max-width: 600px) {
  .owl-nav {
    top: -60px !important;
  }
}

.owl-nav button {
    background: #fff !important;
    width: 35px;
    height: 35px;
    font-size: 25px !important;
    box-shadow: 0px 0px 20px 0px #00000020;
    border-radius: 50%;
}

.owl-nav button:nth-of-type(1) {
  margin-right: 13px;
}