/*===================================================
Project: mixfolio | personal portfolio HTML website template  
Auther: ERRAMIX
Version: 1.0
====================================================*/

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@100;200;300;400;500;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

/* start global classes */
:root {

  /* body bg color */
  --bodyColor: #F3F3F3;

  /* primary brand color */
  --primary-color: #4773b1;

  /* white color */
  --white: #050505;

  /* grey color */
  --grey: #5C5C5C;

  /* dark grey color */
  --dark-grey: #434E49;

  /* box color */
  --box-color: #f0f0f0;

  /* border radius */
  --border-radius: 0;
}


* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

body {
  font-family: 'Exo 2', sans-serif;
  color: var(--white);
  background-color: var(--bodyColor);
  text-align: left;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
}

::selection {
  color: var(--white);
  background-color: var(--primary-color);
}

.primary-text {
  color: var(--primary-color) !important;
}

.grey-text {
  color: var(--grey);
}

.text-white {
  color: var(--white);
}

.bg-box {
  background-color: var(--box-color);
}

.heading-1,
.heading-2 {
  color: var(--white);
}

.heading-1 {
  font-size: 62px;
  font-weight: bold;
  line-height: normal;
  text-transform: uppercase;
}

.heading-2 {
  font-size: 36px;
  font-weight: bold;
  text-transform: capitalize;
}

.heading-3 {
  font-size: 24px;
  font-weight: bold;
  text-transform: capitalize;
}

.body-1 {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: var(--grey);
}

.body-2 {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  font-weight: 400;
  color: var(--grey);
  line-height: 28px;
}

.gap-8 {
  gap: 8px;
}

.gap-16 {
  gap: 16px;
}

.gap-32 {
  gap: 32px;
}

@media (max-width: 990px) {
  .heading-1 {
    font-size: 40px;
  }

  .heading-2 {
    font-size: 20px;
  }

  .heading-3 {
    font-size: 16px;
  }

  .body-1 {
    font-size: 16px;
    line-height: 28px;
  }

  .body-2 {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    line-height: 26px;
  }

  .gap-8 {
    gap: 4px;
  }

  .gap-16 {
    gap: 8px;
  }

  .gap-32 {
    gap: 16px;
  }

  .padding-32 {
    padding: 16px;
  }

  .padding-16 {
    padding: 8px;
  }

  .padding-8 {
    padding: 4px;
  }

  .icon-lg {
    font-size: 36px;
  }

  .icon-md {
    font-size: 22px;
  }

  .icon-sm {
    font-size: 14px;
  }

  .section {
    padding-block: 3rem;
  }

  .bordered-box {
    padding: 8px;
  }

  .shape {
    display: none;
  }
}

a {
  text-decoration: none;
  text-transform: capitalize;
}

.w-fit {
  width: fit-content;
}

.shape {
  position: absolute;
  overflow: hidden;
  opacity: 0.6;
}

.dark-mode .sape {
  opacity: 0.4;
}

.bordered-box {
  border: .5px solid var(--dark-grey);
  padding: 16px;
  background-color: transparent;
  border-radius: var(--border-radius);
}

.padding-32 {
  padding: 32px;
}

.padding-16 {
  padding: 16px;
}

.padding-8 {
  padding: 8px;
}

.icon-lg {
  font-size: 48px;
}

.icon-md {
  font-size: 32px;
}

.icon-sm {
  font-size: 24px;
}

p {
  color: var(--grey);
}

.section {
  padding-block: 6rem;
}

.blury {
  width: 1200px;
}

.organise {
  width: 500px;
}

input,
textarea {
  border: 0;
  outline: 0;
  background-color: transparent;
  color: var(--grey);
}

/* start buttons style */
.btn {
  background-color: var(--primary-color);
  color: var(--bodyColor);
  font-weight: 800;
  border-radius: var(--border-radius);
  padding: 10px 28px;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  text-transform: capitalize;
  align-items: center;
  text-align: center;
  letter-spacing: .5px;
  outline: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
  z-index: 1;
  transition: color 300ms ease-in-out;
}

.btn:hover {
  color: var(--white);
  border: .5px solid var(--dark-grey);
}

.learn-more {
  text-transform: capitalize;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.learn-more i {
  font-size: 22px;
  margin-left: 8px;
}

.learn-more:hover {
  letter-spacing: 1.5px;
  transition: all .5s;
  color: var(--white);
}

.pretitle {
  font-size: 18px;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
  letter-spacing: 10px;
  color: var(--grey);
}

/* end main button style */


ul {
  list-style: none;
}

img {
  width: 100%;
}


/* end global classes */

/* ==== start  preloader style  ===== */

.pace {
  pointer-events: none;
  user-select: none;
  z-index: 9999;
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  border: 0px;
  height: 1.5px;
  overflow: hidden;
  background: #1d1d1d;
}

.pace .pace-progress {
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  max-width: 400px;
  position: fixed;
  z-index: 2000;
  display: block;
  position: absolute;
  top: 0;
  right: 100%;
  height: 100%;
  width: 100%;
  background: var(--primary-color);
}

.pace.pace-inactive {
  display: none;
}

#preloader {
  z-index: 999;
  width: 100%;
  height: 100vh;
  background: #000403;
  overflow: hidden;
  position: fixed;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

.p {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  color: #f1f1f1;
}

/* ==== end  preloader style  ===== */

/* ======== start scroll-to-top button style  =========== */

#progress {
  position: fixed;
  bottom: 20px;
  right: 10px;
  height: 70px;
  width: 70px;
  display: none;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 800;
}

#progress-value {
  display: block;
  height: calc(100% - 15px);
  width: calc(100% - 15px);
  border-radius: 50%;
  display: grid;
  background-color: var(--bodyColor);
  place-items: center;
  font-size: 35px;
  color: var(--blueColor);
}

/* ======== end scroll-to-top button style  =========== */

/*================== start navbar section ==================*/
.navbar {
  z-index: 900;
}

.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus {
  border: none;
}

@media (max-width: 990px) {
  .navbar {
    background-color: var(--box-color);
  }
}

.navbar .logo {
  width: 9rem;
}

.navbar ul li a {
  font-weight: 600;
  color: var(--grey);
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: var(--primary-color) !important;
}

.navbar i {
  font-size: 24px;
  color: var(--grey);
}

/*================== End navbar section ==================*/

/*================== start hero section ==================*/
.hero {
  margin-top: 8%;
}

.hero .hero-blury {
  top: -200px;
  right: -30px;
}

.hero .hero-organise {
  top: -50px;
  left: -100px;
}

.hero .container>* {
  position: relative;
}

/*================== end hero section =====================*/


/*============== Start About section ==========*/

.about .blury-1 {
  top: -500px;
  right: -700px;
}

.about .blury-2 {
  top: -500px;
  left: -700px;
}

.about .organise {
  top: 0;
  right: -250px;
}

.about .container>* {
  position: relative;
}

.about .progress {
  width: 100%;
  height: 6px;
  background-color: #d6d6d6;
  border-radius: 5px;
}

.about .progress .bar {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 5px;
}

.about .progress .bar.bar-1 {
  width: 75%;
}

.about .progress .bar.bar-2 {
  width: 50%;
}

.about .progress .bar.bar-3 {
  width: 80%;
}

.about .progress .bar.bar-4 {
  width: 60%;
}

.about .box {
  height: 380px;
}

.about .box img {
  width: 150px;
}

.about .organise-2 {
  right: -400px;
  top: 0;
}

.about .blury-3 {
  top: 100px;
  left: -800px;
}

/*============== End About section ==========*/

/*============== Start Services section ==========*/

.services .blury-1 {
  top: -150px;
  right: -500px;
}

.services .container>* {
  position: relative;
}

.services .blury-2 {
  top: 100px;
  left: -500px;
}

/*============== End Services section ==========*/

/*============== Start portfolio section ==========*/

.portfolio .box-tag {
  background-color: #d3d3da;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio .box-tag h4 {
  color: var(--grey);
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.portfolio .container>* {
  position: relative;
}

.portfolio .blury-portfolio {
  top: 0;
  right: -600px;
}

.portfolio .portfolio-organize {
  top: 100px;
  right: -200px;
}

/*============== End portfolio section ==========*/


/*============== start FAQ section ==========*/

.faq .blury-1 {
  top: -250px;
  left: -500px;
}

.faq .container>* {
  position: relative;
}

.faq .btn {
  color: var(--white) !important;
  padding: 0;
  margin: 0;
  width: 100%;
  background-color: transparent !important;
  border: none !important;
}

.rotate-icon {
  transition: transform 0.3s ease-in-out;
}

.rotate-icon.rotated {
  transform: rotate(180deg);
}

/*============== End FAQ section ==========*/

/*============== Start contact section ==========*/
.contact .blury-1 {
  top: -300px;
  right: -600px;
}


.contact-map {
  height: 275px;
}

/*============== End contact section ==========*/

/*============== End Footer section ==========*/

.footer-link {
  font-size: 16px;
  color: var(--grey);
}

.footer a i {
  font-size: 16px;
  color: var(--grey);
}

.footer i:hover {
  color: var(--primary-color);
}

.copy {
  font-size: 12px;
  color: var(--dark-grey);
}

.footerImage {
  height: 50%;
  width: 50%;
}

/*============== End Footer section ==========*/


/*************************************
 ** - 12 - Portfolio Section CSS
 *************************************/
 .portfolio-area {
	position: relative;
}

.portfolio-area .portfolio-list {
	text-align: center;
	margin-bottom: 25px;
}

.portfolio-area .portfolio-list .nav {
	position: relative;
	display: inline-block;
	margin: 0;
}

.portfolio-area .portfolio-list .nav li {
	display: inline-block;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    padding: 12px 25px;
    border-radius: 3px;
    text-transform: capitalize;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 5px 15px 0px rgb(94, 94, 94, 0.15);
    box-shadow: 0px 5px 15px 0px rgb(94, 94, 94, 0.15);
    transition: all 0.4s ease 0s;
	-moz-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	-o-transition: all 0.4s ease-in-out 0s;
	-webkit-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
    margin: 0 5px;
}

.portfolio-area .portfolio-list .nav li:hover, .portfolio-area .portfolio-list .nav li.filter-active {
    color: #fff;
    background-color: #4773b1;
	-moz-transition: all 0.5s ease-in-out 0s;
	-ms-transition: all 0.5s ease-in-out 0s;
	-o-transition: all 0.5s ease-in-out 0s;
	-webkit-transition: all 0.5s ease-in-out 0s;
	transition: all 0.5s ease-in-out 0s;
}

.portfolio-area .portfolio-container {
	width: 100%;
	display: inline-block;
}

.portfolio-area .portfolio-grid-item {
	overflow: hidden;
}

.portfolio-grid-item img {
	width: 100%;
    border-radius: 0px;
}

.portfolio-item {
	position: relative;
	display: block;
	overflow: hidden;
    border-radius: 5px;
	margin-top: 30px;
}

.portfolio-item .portfolio-content-overlay {
    position: absolute;
    z-index: 2;
    left: 10px;
    right: 10px;
    bottom: -20px;
    padding: 20px 20px;
    visibility: hidden;
    opacity: 0;
    border-radius: 5px;
    background-color: #ffffff;
    -webkit-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}
.portfolio-item .portfolio-content-overlay p {
    color: #434E49;
    font-size: 15px;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(-15px);
    transform: translateX(-15px);
    -webkit-transition: all .4s;
    transition: all .4s;
    margin-bottom: 0;
}
.portfolio-item .portfolio-content-overlay h3 {
    color: #1b1b1b;
    font-size: 18px;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(15px);
    transform: translateX(15px);
    -webkit-transition: all .4s;
    transition: all .4s;
    margin-top: 5px;
    margin-bottom: 0;
}
.portfolio-item:hover .portfolio-content-overlay p,
.portfolio-item:hover .portfolio-content-overlay h3 {
	opacity: 1;
	visibility: visible;
	-webkit-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition-delay: .3s;
	transition-delay: .3s;
}
.portfolio-item:hover .portfolio-content-overlay {
    bottom: 10px;
    opacity: 1;
    visibility: visible;
}

/******************************************
 ** - 13 - Portfolio Details Page CSS
 ******************************************/
.portfolio-details-image {
	margin-bottom: 30px;
}

.portfolios-details-desc {
	margin-top: 5px;
}

.portfolios-details-desc h3 {
	font-size: 25px;
	margin-bottom: 13px;
}

.portfolios-details-desc .features-text {
	margin-top: 25px;
	margin-bottom: 25px;
}

.portfolios-details-desc .features-text h4 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 12px;
}

.portfolios-details-desc .features-text h4 i {
	color: #434E49;
	font-size: 16px;
	margin-right: 4px;
}

.portfolios-details-desc .portfolio-details-info {
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-top: 35px;
	margin-left: -15px;
	margin-right: -15px;
}

.portfolios-details-desc .portfolio-details-info .single-info-box {
	-ms-flex: 0 0 20%;
	-webkit-box-flex: 0;
	flex: 0 0 20%;
	max-width: 20%;
	padding-left: 15px;
	padding-right: 15px;
}

.portfolios-details-desc .portfolio-details-info .single-info-box h4 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 15px;
}

.portfolios-details-desc .portfolio-details-info .single-info-box span {
	display: block;
	color: #5f5f5f;
	font-size: 16px;
}

.portfolios-details-desc .portfolio-details-info .single-info-box .social {
	padding-left: 0;
	margin-bottom: 0;
	list-style-type: none;
}

.portfolios-details-desc .portfolio-details-info .single-info-box .social li {
	display: inline-block;
	margin-right: 8px;
}

.portfolios-details-desc .portfolio-details-info .single-info-box .social li a {
    color: #434E49;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    display: inline-block;
    border-radius: 25px;
    border: 1px solid #434E49;
    background-color: transparent;
}

.portfolios-details-desc .portfolio-details-info .single-info-box .social li a:hover {
	color: #ffffff;
	border: 1px solid #434E49;
	background-color: #434E49;
}


/*============== Start Testimonials section ==========*/

.testimonials .blury-1 {
  top: -150px;
  right: -500px;
}

.testimonials .container>* {
  position: relative;
}

.testimonials .blury-2 {
  top: 100px;
  left: -500px;
}

.cd-testimonials-wrapper {
  position: relative;
  width: 90%;
  max-width: 768px;
  background-color: #b1b1b9;
  margin: 2em auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 20px 40px 70px;
  z-index: 1;
}
.cd-testimonials-wrapper::after {
  /* quotation mark */
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 0;
  width: 50px;
  height: 50px;
  padding-top: 8px;
  margin-left: -5px;
  background: rgba(32, 32, 34, 0.9);
  font-family: "Georgia", serif;
  color: #ffffff;
  font-size: 50px;
  font-size: 3rem;
  text-align: center;
  /* visible on big devices only */
  display: none;
}
@media only screen and (min-width: 768px) {
  .cd-testimonials-wrapper {
    margin: 4em auto;
    padding: 64px 50px 114px;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-testimonials-wrapper::after {
    /* quotation mark visible */
    display: block;
  }
}

.cd-testimonials {
  color: #050505;
  text-align: center;
}
.cd-testimonials::after {
  clear: both;
  content: "";
  display: table;
}
.cd-testimonials > li {
  position: absolute;
  opacity: 0;
}
.cd-testimonials > li:first-child {
  position: relative;
  opacity: 1;
}
.cd-testimonials p {
  font-family: "Georgia", serif;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 1em;
  padding: 0 36px 0 18px;
}
@media only screen and (min-width: 768px) {
  .cd-testimonials p {
    font-size: 20px;
    font-size: 1.3rem;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-testimonials p {
    font-size: 22px;
    font-size: 1.5rem;
    line-height: 1.6;
  }
}

.cd-author img, .cd-author .cd-author-info {
  display: inline-block;
  vertical-align: middle;
}
.cd-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 5px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}
.cd-author .cd-author-info {
  text-align: left;
  line-height: 1.2;
}
.cd-author .cd-author-info li:first-child {
  font-size: 14px;
  font-size: 0.875rem;
}
.cd-author .cd-author-info li:last-child {
  font-size: 18px;
  font-size: 1.3rem;
  color: #4773b1;
  font-weight: 600;
}
@media only screen and (min-width: 768px) {
  .cd-author img {
    width: 50px;
    height: 50px;
  }
  .cd-author .cd-author-info {
    line-height: 1.4;
  }
  .cd-author .cd-author-info li:first-child {
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-author .cd-author-info li:last-child {
    font-size: 14px;
    font-size: 0.875rem;
  }
}

.flex-direction-nav li {
  position: absolute;
  height: 100%;
  width: 40px;
  top: 0;
}
.flex-direction-nav li:first-child {
  left: 0;
}
.flex-direction-nav li:last-child {
  right: 0;
}
.flex-direction-nav li a {
  display: block;
  height: 100%;
  width: 100%;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.no-touch .flex-direction-nav li a:hover {
  background-color: #323234;
}
.flex-direction-nav li a::before, .flex-direction-nav li a::after {
  /* left and right arrows in css only */
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 13px;
  background-color: #ffffff;
}
.flex-direction-nav li a::before {
  -webkit-transform: translateY(-35px) rotate(45deg);
  -moz-transform: translateY(-35px) rotate(45deg);
  -ms-transform: translateY(-35px) rotate(45deg);
  -o-transform: translateY(-35px) rotate(45deg);
  transform: translateY(-35px) rotate(45deg);
}
.flex-direction-nav li a::after {
  -webkit-transform: translateY(-27px) rotate(-45deg);
  -moz-transform: translateY(-27px) rotate(-45deg);
  -ms-transform: translateY(-27px) rotate(-45deg);
  -o-transform: translateY(-27px) rotate(-45deg);
  transform: translateY(-27px) rotate(-45deg);
}
.flex-direction-nav li:last-child a::before {
  -webkit-transform: translateY(-35px) rotate(-45deg);
  -moz-transform: translateY(-35px) rotate(-45deg);
  -ms-transform: translateY(-35px) rotate(-45deg);
  -o-transform: translateY(-35px) rotate(-45deg);
  transform: translateY(-35px) rotate(-45deg);
}
.flex-direction-nav li:last-child a::after {
  -webkit-transform: translateY(-27px) rotate(45deg);
  -moz-transform: translateY(-27px) rotate(45deg);
  -ms-transform: translateY(-27px) rotate(45deg);
  -o-transform: translateY(-27px) rotate(45deg);
  transform: translateY(-27px) rotate(45deg);
}
@media only screen and (min-width: 768px) {
  .flex-direction-nav li {
    width: 50px;
  }
}
@media only screen and (min-width: 1170px) {
  .flex-direction-nav li a::before, .flex-direction-nav li a::after {
    background-color: #5e5e63;
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    transition: background-color 0.2s;
  }
  .flex-direction-nav li a:hover::before, .flex-direction-nav li a:hover::after {
    background-color: #ffffff;
  }
}

.cd-see-all {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  line-height: 50px;
  background-color: #252527;
  text-align: center;
  text-transform: uppercase;
  color: #6b6b70;
  font-weight: 700;
  font-size: 12px;
  font-size: 0.75rem;
  -webkit-transition: color, 0.2s;
  -moz-transition: color, 0.2s;
  transition: color, 0.2s;
}
.no-touch .cd-see-all:hover {
  color: #79b6e4;
}

.cd-testimonials-all {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-testimonials-all .cd-testimonials-all-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
}
.cd-testimonials-all .cd-testimonials-all-wrapper > ul {
  width: 90%;
  max-width: 1170px;
  margin: 4em auto;
}
.cd-testimonials-all .cd-testimonials-all-wrapper > ul::after {
  clear: both;
  content: "";
  display: table;
}
.cd-testimonials-all .cd-testimonials-item {
  margin-bottom: 2em;
  opacity: 0;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translate3d(0, 0, 0) scale(0.4);
  -moz-transform: translate3d(0, 0, 0) scale(0.4);
  -ms-transform: translate3d(0, 0, 0) scale(0.4);
  -o-transform: translate3d(0, 0, 0) scale(0.4);
  transform: translate3d(0, 0, 0) scale(0.4);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform .3s, opacity .3s;
  -moz-transition: -moz-transform .3s, opacity .3s;
  transition: transform .3s, opacity .3s;
}
.cd-testimonials-all p {
  position: relative;
  background: #79b6e4;
  color: #ffffff;
  padding: 2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
  border-radius: 0.25em;
  margin-bottom: 1em;
}
.cd-testimonials-all p::after {
  /* creating the triangle in css */
  content: '';
  position: absolute;
  top: 100%;
  left: 2em;
  height: 0;
  width: 0;
  border: 8px solid transparent;
  border-top-color: #79b6e4;
}
.cd-testimonials-all .cd-author {
  text-align: left;
  margin-left: 1.5em;
}
.cd-testimonials-all .cd-author img {
  box-shadow: 0 0 0 transparent;
}
.cd-testimonials-all.is-visible {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-testimonials-all.is-visible .cd-testimonials-all-wrapper {
  -webkit-overflow-scrolling: touch;
}
.cd-testimonials-all.is-visible .cd-testimonials-item {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  -moz-transform: translate3d(0, 0, 0) scale(1);
  -ms-transform: translate3d(0, 0, 0) scale(1);
  -o-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
}
@media only screen and (min-width: 768px) {
  .cd-testimonials-all .cd-testimonials-item {
    width: 46%;
    margin: 0 2% 3em;
  }
  .cd-testimonials-all .cd-author {
    margin-left: 1em;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-testimonials-all .cd-testimonials-item {
    width: 30%;
    margin: 0 1.6666% 3em;
  }
}

.close-btn {
  position: fixed;
  display: block;
  width: 40px;
  height: 40px;
  top: 10px;
  right: 5%;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
.close-btn::before, .close-btn::after {
  /* close icon in css */
  content: '';
  position: absolute;
  display: inline-block;
  width: 2px;
  height: 24px;
  top: 8px;
  left: 19px;
  background-color: #39393c;
}
.close-btn::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.close-btn::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}


/*============== End Testimonials section ==========*/
