#testimonial .atf-section-padding {
  padding: 70px 0;
}

#testimonial .atf-section-title h5 {
  margin-top: 0.5rem;
  font-size: 14px;
  color: var(--color-primary);
  letter-spacing: 1.8px;
}

#testimonial .atf-section-title h2 {
  font-size: 48px;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 3px 4px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-desc {
  border-left: 2px solid var(--color-primary);
}

#testimonial .atf-home-overlay {
  background: rgba(0, 0, 0, 0.7);
  height: 100%;
  width: 100%;
}

.testimonial {
  padding-top: 70px;
  margin: 50px 15px 0;
  border: 1px solid #fff;
  text-align: center;
  position: relative;
  transition: all 0.7s ease 0s;
}

.testimonial .pic {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: var(--color-primary);
  padding: 7px;
  position: absolute;
  top: -50px;
  left: 50%;
  overflow: hidden;
  transform: translateX(-50%);
  transition: all 0.7s ease 0s;
}

.testimonial .pic img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.testimonial .title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.testimonial .description {
  font-size: 15px;
  border-bottom: 1px solid var(--color-primary);
  padding: 0 25px 35px;
  margin: 0;
  min-height: 120px;
}

.testimonial .testimonial-content {
  padding: 15px 25px 12px;
  border: 1px solid var(--color-primary);
  background: #162017;
  border-top: none;
  position: relative;
  text-align: left;
  transition: all 500ms ease 0s;
}

.testimonial-content .testimonial-profile {
  display: inline-block;
}

.testimonial .name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  transition: all 700ms ease 0s;
}

.testimonial .post {
  font-size: 14px;
  color: #fff;
}

.testimonial .rating {
  flex-shrink: 0;
  display: inline-block;
  padding: 3px 5px;
  margin: 0;
  list-style: none;
  background: var(--color-primary);
}

.testimonial .rating li {
  display: inline-block;
  font-size: 14px;
  color: #fff;
}

#testimonial .slick-arrow::before {
  display: none;
}

#testimonial .slick-arrow-1 .slick-arrow {
  background-color: #fff;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 15px;
  right: auto;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  line-height: 48px;
  display: block;
  border: 1px solid var(--color-primary);
  border-radius: var(--button-radius);
  text-align: center;
  font-size: 20px;
  color: var(--color-primary) !important;
  z-index: 1;
}

#testimonial .slick-arrow-1 .slick-arrow:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff !important;
}

#testimonial .slick-arrow-1 .slick-next {
  right: 15px;
  left: auto;
}

#testimonial .slick-arrow-1:hover .slick-arrow {
  opacity: 1;
  visibility: visible;
}

#testimonial .slick-arrow-1-inner.slick-arrow-1:hover .slick-arrow {
  left: 50px;
  right: auto;
}

#testimonial .slick-arrow-1-inner.slick-arrow-1:hover .slick-next {
  right: 50px;
  left: auto;
}

#testimonial .slick-dots {
  margin: 20px 0 0px;
  padding: 0;
  display: block;
  text-align: center;
  line-height: 1;
}

#testimonial .slick-dots li {
  display: inline-block;
  list-style: none;
  display: inline-block;
  font-size: 0;
  height: 10px;
  width: 10px;
  border-radius: 100%;
  margin-right: 10px;
  background-color: #ccc;
  cursor: pointer;
  margin-top: 0;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

#testimonial .slick-dots li button {
  display: none;
}

#testimonial .slick-dots li:hover,
#testimonial .slick-dots li.slick-active {
  background-color: var(--color-primary);
  height: 15px;
  width: 15px;
  margin-bottom: -2px;
}

@media (min-width: 1350px) {
  #team .slick-arrow-1:hover .slick-arrow {
    left: -50px;
    right: auto;
  }

  #team .slick-arrow-1:hover .slick-next {
    right: -50px;
    left: auto;
  }
}

@media only screen and (max-width: 1280px) {
  #testimonial .atf-section-title h2 {
    font-size: 36px;
  }
}

@media only screen and (max-width: 980px) {
  #testimonial .atf-section-title h2 {
    font-size: 28px;
  }
  .testimonial .description {
 
  min-height: 267px;
}
}


@media only screen and (max-width: 768px) {
  #testimonial .atf-section-title h2 {
    font-size: 28px;
  }
  .testimonial .description {
 
  min-height: 0px;
}

  .testimonial .testimonial-content {
    padding: 15px 10px 12px;
  }

  .testimonial .rating {
    right: 12px;
  }
  #testimonial .slick-dots {

  display: none!important;
 
}

}


@media only screen and (max-width: 480px) {
  #testimonial .atf-section-title h2 {
    font-size: 24px;
  }
}
