/* Hide testimonial images and center text on mobile */
@media (max-width: 600px) {
  .testsec,
  .testimonial {
	display: none !important;
  }

  .process{
	display: none !important;
  }

  .testimonial .carousel-inner .carousel-item .quote-wrapper img,
  .testimonial .carousel-inner .carousel-item .quote-wrapper .testimonial-img,
  .testsec #image,
  .testsec .img {
	display: none !important;
  }
  .testimonial .carousel-inner .carousel-item .quote-wrapper,
  .testsec #centerText,
  .testsec #text {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: 0 auto !important;
	width: 100% !important;
	height: auto !important;
	background: none !important;
	position: static !important;
  }
  .testimonial .carousel-inner .carousel-item .quote-wrapper p,
  .testimonial .carousel-inner .carousel-item .quote-wrapper .testimonial-text,
  .testsec #centerText p,
  .testsec #text p {
	font-size: 17px !important;
	line-height: 1.6 !important;
	margin: 0 0 10px 0 !important;
	word-break: break-word;
	text-align: center !important;
	width: 100% !important;
	position: static !important;
  }
}
/* Fix testimonial image and text layout on mobile */
@media (max-width: 600px) {
  .testimonial .carousel-inner .carousel-item .quote-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 10px 0;
  }
  .testimonial .carousel-inner .carousel-item .quote-wrapper img,
  .testimonial .carousel-inner .carousel-item .quote-wrapper .testimonial-img {
	width: 120px !important;
	height: 120px !important;
	object-fit: cover;
	border-radius: 10px;
	margin: 0 auto 12px auto;
	display: block;
  }
  .testimonial .carousel-inner .carousel-item .quote-wrapper p,
  .testimonial .carousel-inner .carousel-item .quote-wrapper .testimonial-text {
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 10px 0;
	word-break: break-word;
	text-align: center;
  }
  .testimonial .carousel-inner .carousel-item .quote-wrapper .testimonial-author {
	font-size: 15px;
	margin-top: 6px;
	text-align: center;
  }
}
.testsec {
	background:#F1F5FD;
	overflow: hidden;
}
.testsec #container {
	min-height: 500px;
	position: relative;
	overflow: visible;	
}
.testsec #holder{
	max-width:960px;
	width: 98%;
	min-height: 360px;
	height:360px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}
.testsec #image {
	width: 40%;
	height: 100%;
	float: left;
	position: relative;
	z-index: 200;
	background: url(../image/bg/bg2.webp);
	box-shadow: 0px 40px 120px 0px rgba(0,0,0,.52);
	overflow: visible;
}
.testsec #right{
	width:60%;
	height: 100%;
	float: right;
	position: relative;
}
.testsec #text {
	width:60%;
	height: 320px;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	z-index: 100;
	background: rgba(255,255,255,.57);
	box-shadow: 0px 40px 120px 0px rgb(194 194 194 / 52%);
}
.testsec a{
	display: block;
	text-decoration: none;
	outline: none;
	outline-color: none;

}
.testsec nav{
	width: 140px;
	height: 50px;
	position: absolute;
	bottom: 0;
	left: 50%;
	margin:0 0 -25px -70px;
	z-index: 1000;
	box-shadow:0px 7px 24px 3px rgba(0,0,0,.52);
  display:none;
}
.testsec #leftBtn{
	width:50%;
	height: 100%;
	float: left;
	color: rgba(255,255,255,.57);
	background:#232323;
	font-size: 25px;
	line-height: 200%;
	text-align: center;
	border-right:1px solid rgba(255,255,255,.57);
	cursor: pointer;
	-webkit-transition:all .3s ease-in;
	-moz-transition:all .3s ease-in;
	-o-transition:all .3s ease-in;
	transition:all .3s ease-in;
}
.testsec #rightBtn{
	width:50%;
	height: 100%;
	float: right;
	color: rgba(255,255,255,.57);
	background:#232323;
	font-size: 25px;
	line-height: 200%;
	text-align: center;
	border-left:1px solid rgba(255,255,255,.57);
	cursor: pointer;
	-webkit-transition:all .3s ease-in;
	-moz-transition:all .3s ease-in;
	-o-transition:all .3s ease-in;
	transition:all .3s ease-in;
}
.testsec #leftBtn:hover,.testsec #rightBtn:hover{
	color: #fff;
}
.testsec #nav-cirlces{
	width: 96px;
	height: 20px;
	position: absolute;
	bottom: 6%;
	left: 50%;
	margin-left: -50px;
}
.testsec .circle{
	width: 20px;
	height: 100%;
	float: left;
	border-radius:100%;
	border:2px solid #232323;
	margin:0 6px;
	cursor: pointer;
	-webkit-transition:all .75s  cubic-bezier(.86,.3,.07,1);
	-moz-transition:all .75s  cubic-bezier(.86,.3,.07,1);
	-o-transition:all .75s  cubic-bezier(.86,.3,.07,1);
	transition:all .75s  cubic-bezier(.86,.3,.07,1);
}
.testsec #centerText{
	width: 100%;
	height:100%;
	position: absolute;
	top: 20%;
	margin-top:-100px;
	padding: 10px 0;
	overflow: visible;
}
.testsec p{	
	width: 100%;
	height: 150px;
	position: absolute;
	top: 45px;
	left: 0;
	right: -150px;
	bottom: 0;
	margin: auto;	
	font-size:18px;
	font-family:inherit;
	color: #232323;
	padding: 0 25px;
	text-align:center;
	opacity: 0;
	-webkit-transition:all 2s  cubic-bezier(.86,.3,.03,1) , opacity .7s cubic-bezier(.86,.3,.47,1) .3s;
	-moz-transition:all 2s  cubic-bezier(.86,.3,.03,1) , opacity .7s cubic-bezier(.86,.3,.47,1) .3s;
	-o-transition:all 2s  cubic-bezier(.86,.3,.03,1) , opacity .7s cubic-bezier(.86,.3,.47,1) .3s;
	transition:all 2s  cubic-bezier(.86,.3,.03,1) , opacity .7s cubic-bezier(.86,.3,.47,1) .3s;
}
.testsec p.quote.active{
	right:0;
	opacity: 1;
	background: transparent;
}
.testsec p.quote:nth-child(2){
	top: 25px;
}
.testsec .active{
	background: #232323;
}
.testsec .img{
	width: 100%;
	height: 100%;
	position: absolute;
	right: -100%;
	background-position: center !important;
	background-size:cover;	
	background-repeat: no-repeat;
	opacity: 0;
	z-index: 400;
	-webkit-transition:all 2s  cubic-bezier(.86,.3,.03,1) , opacity .7s cubic-bezier(.86,.3,.47,1) .3s;
	-moz-transition:all 2s  cubic-bezier(.86,.3,.03,1) , opacity .7s cubic-bezier(.86,.3,.47,1) .3s;
	-o-transition:all 2s  cubic-bezier(.86,.3,.03,1) , opacity .7s cubic-bezier(.86,.3,.47,1) .3s;
	transition:all 2s  cubic-bezier(.86,.3,.03,1) , opacity .7s cubic-bezier(.86,.3,.47,1) .3s;
}
.testsec .img.active{
	right:0;
	opacity: 1;
	z-index: 500;
}
.testsec .testim1{
	background: #fff url(../image/testimonials/client1.jpg);
}
.testsec .testim2{
	background: #fff url(../image/testimonials/client2.jpg);
}
.testsec .testim3{
	background: #fff url(../image/testimonials/client3.jpg);

.testsec #bg{
	width: 100%;
	height: 100%;
	position: absolute;
}
.testsec .slide{
	width: 100%;
	height: 100%;
	position: absolute;
	/*right: -100%;*/
	opacity: 0;	
	-webkit-transition:all 1.5s ease;
	-moz-transition:all 1.5s ease;
	-o-transition:all 1.5s ease;
	transition:all 1.5s ease;	
}
.testsec .slide.active{
	/*right: 0%;*/
	opacity: 1;
}
.testsec .testim-bg1 {
	background:url(../image/bg/bg2.webp);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.testsec .testim-bg2 {
	background:url(../image/bg/bg3.webp);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.testsec .testim-bg3 {
	background:url(../image/bg/bg1.webp);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@media screen and (max-width:700px){

	.testsec #centerText p{
		font-size: 20px;
	}
}

@media screen and (max-width:580px){

.testsec #holder{
	max-width: 700px;
	width: 100%;
	min-height: 360px;
	height:100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: red;
	margin: auto;
}
.testsec .img{
	background-position:top center !important;
}
.testsec #image{
	width: 220px;
	height:250px;
	float: left;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -280px;
	margin-left: -110px;
}
.testsec #right{
	width: 100%;
	height: 100%;
	float: right;
	position: relative;
	background: blue;
}
.testsec #text{
	width: 90%;
	height: 320px;
	position: absolute;
	top: 150px;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}
.testsec #nav-cirlces{
	display: none;
}
.testsec #centerText{
	width: 100%;
	height:200px;
	position: absolute;
	top: 30%;
	margin-top:-100px;
	padding: 150px 0!important;
	overflow: visible;
}

}

@media screen and (max-width:450px) {
.testsec #image{
	width: 200px;
	height:230px;
	float: left;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -250px;
	margin-left: -100px;
}

.testsec #text{
	width: 100%;
	height: 320px;
	position: absolute;
	top: 150px;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}
#nav-cirlces{
	display: none;
}
#centerText{
	width: 100%;
	height:200px;
	position: absolute;
	top: 30%;
	margin-top:-100px;
	padding: 120px 0!important;
	overflow: visible;
}
}}