/*
Theme Name: Zenzo
Author: Innovins Softtech Solution Pvt Ltd.
Description: Zenzo custom wordpress templet standalone. Requires ACF Plugin.
Version: 1.2
*/


@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

body {
  overflow-x: hidden !important;
}

h2 {
  font-size: 40px;
  line-height: 120%;
  color: black;
}

p {
  font-size: 16px;
  line-height: 150%;
}

.sentence-case {
  text-transform: lowercase;
}

.sentence-case:first-letter {
  text-transform: uppercase;
}

nav a {
  font-size: 16px;
	padding: 20px 0px;
  text-transform: capitalize;
}

.navbar-nav {
  gap: 15px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: black;
}



/* Make current menu item text red */
.navbar-nav .current-menu-item a span {
  font-weight: 600;
  color: #d72d27;
}

.navbar-nav .current-menu-item .sub-menu a span{
  font-weight: 500;
  color: black;
}

/* Show dropdown arrow for menu items with children */
.navbar-nav .menu-item-has-children > a span::after {
  content: '‹';
  display: inline-block;
  margin-left: 5px;
  vertical-align: bottom;
  color: #d72d27 !important;
  transform: scale(1.5) rotate(-90deg);
}

.navbar-nav .current-menu-item .sub-menu > a span::after{
  content: ''!important;
  margin-left: 0px;
}

.navbar-nav ul {
  list-style-type: none !important;
}

.navbar-nav .menu-item a{
  text-decoration: none !important;
  font-weight: 500;
  color: black;
padding: 20px 0px;
}

/* Hide submenu by default */
.navbar-nav .sub-menu {
  display: none;
  position: absolute;
  top: 45px;
  left: 0;
  z-index: 9999;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  width: max-content;
  padding: 25px 40px;
}

.sub-menu .menu-item-has-children .sub-menu{
  position: relative;
  left: 10px;
  top: 0;
  box-shadow: none;
  padding:5px;
  padding-bottom: 0px;
  margin-bottom: -5px;
  border-radius: none;
}



/* Show submenu on hover or when dropdown arrow is clicked */
.navbar-nav .active > .sub-menu,
.navbar-nav .menu-item-has-children:focus > .sub-menu,
.navbar-nav .active > .nav-link-text::after,
.navbar-nav .menu-item-has-children:focus > .nav-link-text::after {
  display: block;
}

.navbar-nav li {
  position: relative;
padding: 10px 0px;
}
/* Footer start */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loader {
  border: 15px solid #f3f3f3;
  border-top: 15px solid #f34c4c;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


@keyframes hide-loader {
  0% {
    opacity: 1;
  } 
  40% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}


footer {
  position: relative;
  top: 100px;
  background: #453b43;
  min-height: 300px;
  height: fit-content;
}

.footer-social {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -35px;
  width: max-content;
}

footer ul {
  list-style: none;
  margin-left: -20px;
}

.footer-social li {
  display: inline-flex;
  margin: auto 5px;
}

footer h3 {
  color: #f34c4c;
  font-size: 18px;
}

footer p {
  color: white;
}

footer h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

footer .container a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 7px;
  font-weight: 300;
  text-transform: capitalize;
}

.chat button {
  background: transparent;
  border: none;
  position: fixed;
  bottom: 5px;
  right: 5px;
  z-index: 999 !important;
}

.footer-container {
  display: grid;
  gap: 20px;
  grid-template-columns: 10fr 7fr 9fr 9fr 9fr;
  margin-top: 50px;
}

/* .footer-container .identity{
  padding-right: 120px;
} */

footer .footercredit{
  background-color: #372C35;
  margin-top: 20px;
}
@media (max-width: 992px) {
  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-container {
    display: grid;
    grid-template-columns: auto;
  }
	
.navbar-nav .sub-menu{
    position: relative ;
    top: 5px;
  left: 0;
  z-index: 9999;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: none;
  width: 100%;
  padding: 0px 10px 0px 40px;
  }
  
  body{
    overflow-x: hidden !important;
  }
  
  .firstcard {
  animation: none;
}
}

/* Animation css */

.firstcard {
  animation: fadeinward 0.7s linear backwards;
}

@keyframes fadeinward {
  0% {
    transform: translateX(0);
    opacity: 1;
    scale: 1;
  }
  25% {
    transform: translateX(-20%);
    opacity: 0.8;
    scale: 0.8;
  }
  50% {
    transform: translateX(-50%);
    opacity: 0.3;
    scale: 0.3;
  }
  90% {
    transform: translateX(-50%);
    opacity: 0;
    scale: 0;
  }
  100% {
    transform: translateX(-50%);
    opacity: 0;
    scale: 0;
  }
}

.activecard {
  animation: slide-back-in 0.7s linear backwards;
}

@keyframes slide-back-in {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  20% {
    transform: translateX(-20%);
    opacity: 0.9;
  }
  40% {
    transform: translateX(-50%);
    opacity: 0;
  }
  60% {
    transform: translateX(-80%);
    opacity: 0;
  }
  70% {
    transform: translateX(0%);
    opacity: 0;
  }
  80% {
    transform: translateX(0%);
    opacity: 0.1;
  }
  90% {
    transform: translateX(0%);
    opacity: 0.2;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


.secondcard,
.fourthcard {
  animation: slide-back-left 0.7s linear backwards;
}

@keyframes slide-back-left {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  25% {
    transform: translateX(-50%);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-80%);
    opacity: 0.3;
  }
  75% {
    transform: translateX(-100%);
    opacity: 0.1;
  }
  90% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.thirdcard {
  animation: slide-back 0.7s linear backwards;
}

@keyframes slide-back {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  25% {
    transform: translateX(-50%);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-80%);
    opacity: 0.3;
  }
  75% {
    transform: translateX(-100%);
    opacity: 0.1;
  }
  90% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}


/* Testimonial */
/* testimonial section */

.testi-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.testi-wraper {
  background: url("images/home/testimonial.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
  margin: 0 auto;
}

.testi-card-holder {
  width: 70%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: end;
  padding: 40px;
}

.testi-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 90px 90px 30px 90px;
  position: relative;
  background: #ffffff99;
  min-width: 350px;
  padding: 60px 30px;
  min-height: 300px;
  margin: 60px 20px;
}

.testi-card h4 {
  font-weight: 600;
  font-size: 16px;
  color: #000;
  text-align: center;
  text-transform: capitalize;
}
.testi-card p {
  font-weight: 400;
  font-size: 16px;
  color: #000;
  text-align: center;
}

.testi-card h4::before {
  content: "-";
  margin-right: 5px;
}

.testi-card .author {
  position: absolute;
  bottom: -30px;
  right: -30px;
}

.indicator {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #00000010;
  margin-right: 5px;
  cursor: pointer;
  position: relative;
  left: 35%;
  transform: translateX(-65%);
  bottom: 20px;
}

.indicators .active {
  background: #d72d27;
}

.testi-card:nth-child(1) {
  animation: slide-left1 0.9s linear;
}

@keyframes slide-left1 {
  0% {
    transform: translateX(0%);
    opacity: 1;
  }
  25% {
    transform: translateX(0%);
    opacity: 0.3;
  }
  50% {
    transform: translateX(-50%);
    opacity: 0;
  }
  75% {
    transform: translateX(0%);
    opacity: 0;
  }
  /*85% {*/
  /*  transform: translateX(20%);*/
  /*  opacity: 0;*/
  /*}*/
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

.testi-card:nth-child(2) {
  animation: slide-left2 0.7s linear;
}

@keyframes slide-left2 {
  0% {
    transform: translateX(0%);
    opacity: 1;
  }
  46% {
    transform: translateX(-50%);
    opacity: 0.5;
  }
  75% {
    transform: translateX(-80%);
    opacity: 0.1;
  }
  100% {
    transform: translateX(0%);
    opacity: 0;
  }
}

.testi-card:nth-child(3) {
  animation: slide-left3 0.7s linear;
}

@keyframes slide-left3 {
  0% {
    transform: translateX(0%);
    opacity: 1;
  }
  46% {
    transform: translateX(-40%);
    opacity: 0.5;
  }
  75% {
    transform: translateX(-80%);
    opacity: 0.1;
  }
  100% {
    transform: translateX(0%);
    opacity: 0;
  }
}

.testi-card:nth-child(4) {
  animation: slide-left4 0.7s linear;
}

@keyframes slide-left4 {
  0% {
    transform: translateX(0%);
    opacity: 1;
  }
  46% {
    transform: translateX(-32%);
    opacity: 0.5;
  }
  75% {
    transform: translateX(-50%);
    opacity: 0.1;
  }
  100% {
    transform: translateX(0%);
    opacity: 0;
  }
}

/* terms and policies banner */
.terms-conditions .terms-policies-banner{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width:765px){
  .testi-card-holder {
    padding: 20px;
    width: 100%;
  }

  .testi-card {
    width: 0;
  }

  .testi-card .active {
    width: 90%;
  }
}

.slide-up {
  opacity: 0;
  transform: translateY(200px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.slide-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* left and right decoration */
.decor-left,
.decor-left1 {
  position: absolute;
  left: -10px;
  height: 250px;
  width: 0;
  opacity: 0;
  transition: left 1s, opacity 1s, width 1s; 
  z-index: 0;
}

.decor-left.slide-in,
.decor-left1.slide-in {
  opacity: 1;
  width: 120px; 
}

.decor-right,
.decor-right1 {
  position: absolute;
  right: -10px;
  height: 300px;
  width: 0;
  opacity: 0;
  transition: right 1s, opacity 1s, width 1s; 
  z-index: 0;
}

.decor-right.slide-in,
.decor-right1.slide-in {
  opacity: 1;
  width: 120px;
}


@media (max-width:992px) {
  .decor-right,
  .decor-right1,
  .decor-left,
  .decor-left1{
    display: none;
    right: 0px !important;
  }
}

@media (max-width:768px) {
.indicators {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
}
}