.testimonial {
  padding-top: 65px;
  margin: 60px 15px 20px;
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  transition: all 0.4s ease 0s;
}
.testimonial:hover {
  border-color: #eabd44;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial .pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ffffff;
  padding: 5px;
  position: absolute;
  top: -50px;
  left: 50%;
  overflow: hidden;
  transform: translateX(-50%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid #eef0f2;
  transition: all 0.4s ease 0s;
  z-index: 2;
}
.testimonial:hover .pic {
  border-color: #eabd44;
}
.testimonial .pic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial .title {
  font-size: 18px;
  font-weight: 700;
  color: #eabd44;
  text-transform: uppercase;
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
  padding: 0 20px;
}

.testimonial .description {
  font-size: 15px;
  color: #555555 !important;
  line-height: 1.7;
  border-bottom: 1px solid #f0f0f0;
  padding: 0 35px 30px;
  margin: 0;
}

.testimonial .description p,
.testimonial .description span,
.testimonial .description div,
.testimonial .description li {
  color: #555555 !important;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.testimonial .description h1,
.testimonial .description h2,
.testimonial .description h3,
.testimonial .description h4,
.testimonial .description h5,
.testimonial .description h6 {
  color: #222222 !important;
  font-size: 20px;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.testimonial .description > *:last-child,
.testimonial .description p:last-child {
  margin-bottom: 0;
}

.testimonial .testimonial-content {
  padding: 18px 25px;
  background: #fafafa;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  position: relative;
  text-align: left;
  transition: all 400ms ease 0s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  overflow: hidden;
  z-index: 1;
}

.testimonial-content .testimonial-profile {
  flex: 1 1 120px;
  min-width: 120px;
  position: relative;
  z-index: 1;
}

.testimonial .name {
  font-size: 16px;
  font-weight: 700;
  color: #222222;
  text-transform: uppercase;
  margin: 0 0 2px;
  transition: all 400ms ease 0s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial .post {
  display: block;
  font-size: 13px;
  color: #eabd44;
  text-transform: capitalize;
  line-height: 1.3;
  word-break: break-word;
  font-weight: 500;
}

.testimonial .rating {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  margin: 0;
  list-style: none;
  background: #eabd44;
  flex-shrink: 0;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  border-radius: 4px;
}
.testimonial .rating li {
  display: inline-block;
  font-size: 13px;
  color: #ffffff;
  margin: 0 1px;
}

.lrwp-testimonial-slider-style3.owl-theme .owl-dots {
  display: none !important;
}

.lrwp-testimonial-slider-style3.owl-theme .owl-nav {
  margin: 0;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.lrwp-testimonial-slider-style3.owl-theme .owl-nav button.owl-prev,
.lrwp-testimonial-slider-style3.owl-theme .owl-nav button.owl-next {
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0 !important;
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444444;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  font-family: "FontAwesome";
  font-size: 20px;
  line-height: 1;
  pointer-events: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.lrwp-testimonial-slider-style3.owl-theme .owl-nav button.owl-prev {
  left: -20px;
}

.lrwp-testimonial-slider-style3.owl-theme .owl-nav button.owl-next {
  right: -20px;
}

.lrwp-testimonial-slider-style3.owl-theme .owl-nav button.owl-prev:hover,
.lrwp-testimonial-slider-style3.owl-theme .owl-nav button.owl-next:hover {
  color: #ffffff;
  background: #eabd44;
  border-color: #eabd44;
}

body .owl-theme .owl-dots .owl-dot span {
  background: #fff;
  border: 2px solid #0c4767;
  opacity: 1;
}

body .owl-theme .owl-dots .owl-dot.active span,
body .owl-theme .owl-dots .owl-dot:hover span {
  border: 2px solid #fa7921;
  background: #fff;
}

@media only screen and (max-width: 990px) {
  .lrwp-testimonial-slider-style3.owl-theme .owl-nav button.owl-prev {
    left: -10px;
  }
  .lrwp-testimonial-slider-style3.owl-theme .owl-nav button.owl-next {
    right: -10px;
  }
}

@media only screen and (max-width: 768px) {
  .testimonial {
    margin: 50px 10px 15px;
  }
  .testimonial .description {
    padding: 0 20px 25px;
  }
  .testimonial .testimonial-content {
    padding: 15px 18px;
    gap: 8px;
  }
}
