.p_1_s401 {
  /* BUTTON CSS START */
  /* BUTTON CSS END */
  /* CUSTOM NAVIGATION CSS START */
  /* CUSTOM NAVIGATION CSS END */
  /* GRID SETTING START */
  /* GRID SETTING END */
}
.p_1_s401 .testimonial_section {
  padding: 80px 0px;
  background-color: var(--themeBg1);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.p_1_s401 .mainTextSec {
  margin-bottom: 50px;
}
.p_1_s401 .mainHeading {
  font-size: 40px;
  font-weight: 600;
  line-height: 50px;
  margin-bottom: 10px;
  font-family: var(--hFont);
  color: var(--headingColor1);
}
.p_1_s401 .mainHeading span {
  color: var(--themeColor1);
}
.p_1_s401 .subPara {
  font-size: 15px;
  line-height: 25px;
  color: var(--paragraphColorBlack);
  font-family: var(--pFont);
}
.p_1_s401 .cardSec {
  padding: 30px;
  background-color: var(--themeBg2);
  border-radius: 12px;
  position: relative;
  transition: 0.4s;
}
.p_1_s401 .cardSec:hover {
  margin-top: -5px;
}
.p_1_s401 .quoteIconMain {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 40px;
  height: 50px;
  padding: 15px 20px;
  background-color: var(--themeColor1);
  z-index: 2;
  border-bottom-left-radius: 80px;
  border-top-right-radius: 12px;
}
.p_1_s401 .quoteIconMain i {
  color: var(--paragraphColorWhite);
  font-size: 35px;
}
.p_1_s401 .cardImgMain {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}
.p_1_s401 .cardImgMain img {
  object-fit: contain;
}
.p_1_s401 .testiCardName {
  font-size: 20px;
  font-weight: 600;
  margin: 15px 0px 5px 0px;
}
.p_1_s401 .testiCardDesig {
  font-size: 15px;
}
.p_1_s401 .starMainSec {
  margin: 15px 0px;
}
.p_1_s401 .starSec {
  width: 20px;
  height: 20px;
}
.p_1_s401 .starSec i {
  font-size: 14px;
  color: var(--themeColor1);
}
.p_1_s401 .testiCardComment {
  font-size: 15px;
  line-height: 25px;
}
.p_1_s401 .testiSlider .owl-stage-outer {
  padding: 10px 0px;
  margin: -10px 0px;
}
.p_1_s401 .testiSlider .owl-nav.disabled + .owl-dots {
  margin-top: 20px !important;
}
.p_1_s401 .testiSlider .owl-dots .owl-dot.active span {
  background-color: var(--themeColor1);
}
.p_1_s401 .btn {
  width: 130px;
  height: 42px;
  margin-top: 50px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid var(--btnColor);
  transition: 0.4s;
  z-index: 1;
  font-size: 16px;
  border-radius: 6px;
  font-weight: 500;
  color: var(--btnTextColor);
  background-color: var(--btnColor);
}
.p_1_s401 .btn:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--btnHoverColor);
  height: 150px;
  width: 200px;
  border-radius: 50%;
}
.p_1_s401 .btn:hover {
  color: var(--btnHoverTextColor);
}
.p_1_s401 .btn:before {
  top: 100%;
  left: 100%;
  transition: all 0.4s;
}
.p_1_s401 .btn:hover:before {
  top: -30px;
  left: -30px;
}
.p_1_s401 .btn:active:before {
  background: var(--btnHoverColor);
  transition: 0s;
}
.p_1_s401 .arrowMainSec {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}
.p_1_s401 .arrowRightIconSec,
.p_1_s401 .arrowLeftIconSec {
  pointer-events: all;
  cursor: pointer;
  width: 36px;
  height: 36px;
  background-color: var(--btnColor);
  border: 2px solid var(--btnColor);
  border-radius: 8px;
  transition: 0.4s;
}
.p_1_s401 .arrowRightIconSec i,
.p_1_s401 .arrowLeftIconSec i {
  color: var(--btnTextColor);
  transition: 0.4s;
}
.p_1_s401 .arrowRightIconSec:hover,
.p_1_s401 .arrowLeftIconSec:hover {
  background-color: var(--btnHoverColor);
}
.p_1_s401 .arrowRightIconSec:hover i,
.p_1_s401 .arrowLeftIconSec:hover i {
  color: var(--btnHoverTextColor);
}
.p_1_s401 .testimonial_section .grid .item {
  background-color: var(--themeBg2);
  border-radius: 12px;
}
.p_1_s401 .testimonial_section .grid .item .cardSec {
  height: calc(100% - 60px);
}
.p_1_s401 .testimonial_section .grid .item .cardSec:hover {
  margin-top: 0px;
}
.p_1_s401 .testimonial_section .grid .item {
  transition: 0.4s;
}
.p_1_s401 .testimonial_section .grid .item:hover {
  box-shadow: 0px 0px 20px 0px #00000033;
}
@media only screen and (max-width: 900px) {
  .p_1_s401 .testimonial_section {
    padding: 40px 0px;
  }
  .p_1_s401 .mainHeading {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 0px;
  }
  .p_1_s401 .mainTextSec {
    margin-bottom: 30px;
  }
  .p_1_s401 .btn {
    margin-top: 30px;
  }
  .p_1_s401 .arrowRightIconSec,
  .p_1_s401 .arrowLeftIconSec {
    width: 30px;
    height: 30px;
    border-radius: 5px;
  }
  .p_1_s401 .arrowRightIconSec i,
  .p_1_s401 .arrowLeftIconSec i {
    font-size: 14px;
  }
}
@media only screen and (max-width: 900px) {
  .p_1_s401 {
    background-attachment: scroll;
  }
}
