html,body {
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
 
  .navbar {
    background-color: #f2f2f2;
    padding-top: 0;
    transition: 0.5s all;
    height: 122px;
  }
  .navbar-brand img {
        height: 62px;
    max-height: 124px;
  }
  .nav-link {
    font-size: 20px;
    font-family: 'Montserrat',sans-serif;
    border-color: #727377;
    color: #727377;
/*    border-top: 1px solid;*/
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .nav-item:not(:last-child){
    margin-right: 50px;
  }
   .scrollNav .navbar-brand img {
   height: 55px;
   transition: 0.5s all;
  }
  .scrollNav {
    height: 65px;
    position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   transition: 0.5s all;
   z-index: 9999;
  }
  .scrollNav .nav-link {
    height: 69px;
  }
  .about-top-sec {
    display: flex;
    align-items: center;
      padding-top: 40px;

  }
  .about-top-sec h1 {
   border-right: 3px solid rgb(121, 17, 21);
    padding-right: 30px;
    font-family: 'Raleway',sans-serif;
    color: #24272d;
    width: calc(33.33% - ( ( 4% ) * 0.3333 ) );
/*    margin-right: 4%;*/
    font-size: 60px;
    font-weight: 400;
    padding-top: 20px;
    padding-bottom: 20px;

  }
  .about-top-sec em {
    padding-left: 30px;
    color: #727377;
    font-size: 25px;
    line-height: 1.75;
    width: 70%;
  }
  .who-team {
    font-size: 18px;
    font-family: 'Open Sans',sans-serif;
    color: #24272d;
    margin-top: 30px;
  }
  .who-team p {
    line-height: 1.7;
  }
  .each-team-member {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    margin-top: 30px;
    padding:7px;
  }
.each-team-member img {
  width: 100%;
}
.member-role-name {
  position: absolute;
  bottom: 10px;
}
.member-role-name span {
  display: block;
}

.member-role-name .name-member {
  background-color: #f2f2f2;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
     padding:8px 15px;
  transition: 0.5s all ease-in-out;
  transform: translateX(0px);
  opacity: 1;
}
 
.member-role-name .role-member {
  background-color: #fff;
  font-size: 16px;
     padding:4px 10px;
      transition: 0.5s all ease-in-out 100ms;
  transform: translateX(0px);
  opacity: 1;
}
.each-team-member .white-shade {
  background-color: rgba(255, 255, 255,0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;

  transition: 0.5s all ease-in-out;
}

.white-shade-display {
  background-color: rgba(255, 255, 255, 0.3) !important;
  transition: 0.5s all ease-in-out;
}
.white-shade i {
  font-size: 65px;
  color: #791115;
/*  display: none;*/
webkit-transform:  rotateY(180deg);
    transform:   rotateY(180deg);
    opacity: 0;
    transform-origin: center;
    transform-style: preserve-3d;
    transition: 1s all ease-in-out;
}
.white-shade i.flipIcon {
  
   transform-origin: center;
    transform-style: preserve-3d;
    webkit-transform: rotateY(360deg);
    transform: rotateY(360deg) ;
    opacity: 1;
    transition: 1s all ease-in-out;
}
.each-team-member .slideOutName {
 transform: translateX(-100%);
  opacity: 0;

  transition: 0.5s all ease-in-out;
}
.each-team-member .slideOutRole {
   transform: translateX(-100%);
  opacity: 0;
  transition: 0.5s all ease-in-out 100ms;
}
.fixed-bg-black {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: none;
}
.team-member-details {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 999999;
  display: none;
}
.inner-member-card {
  width: 100%;
  max-width: 640px;
  height: 100%;
  background-color: white;
  right: -100%;
  position: absolute;
  transition: 0.5s all ease-in-out;
}
.member-card-show {
/*  right:0;*/
/*  transition: 0.5s all ease-in-out;*/
}
.img-card {
  position: relative;
}
.img-card img {
  max-height: 640px;
  width: 100%;

}
.member-name {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #f2f2f2;
  font-size: 22px;
  font-family: 'Open Sans',sans-serif;
  padding: 8px 15px;
  font-weight: bold;
}
.details-sec {
  background-color: white;
  padding:30px;
}
.details-sec h5 {
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Open Sans',sans-serif;
}
.details-sec p {
  padding-top: 20px;
}
.close-icon {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #f2f2f2;
  font-size: 30px;
  z-index: 9999999999999999999999;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.close-icon span {
  margin-top: -4px;

}
.services-top {
  padding-top: 0px;
}
.each-service {
width: 98%;
 height: 100%;
  overflow: hidden;
  margin-top: 50px;
  perspective: 1000px;
}
.each-service-inner {
  position: relative;
  width: 100%;
  height: 100%;
 transform-style: preserve-3d;
transform: rotateY(0deg) translate3d(0, 0, 0);
 perspective: 1000px;
 transition: transform .6s cubic-bezier(.2,.85,.4,1.275),-webkit-transform .6s cubic-bezier(.2,.85,.4,1.275);

}


.service-front,.service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: visible;
  -webkit-backface-visibility:visible;
   top: 0;
   left: 0;
   right: 0;
  -webkit-font-smoothing: antialiased;
  perspective: 1000px;
 
}
.service-front {
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateY(0deg) translateZ(0);
  z-index: 1;
  opacity: 1;

}
.service-front i {
  background-color: rgb(121, 17, 21);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.service-front h5 {
  font-family: 'Open Sans',sans-serif;
  font-weight: 500;
  margin-top: 15px;
}
.service-back {

  transform: rotateY(180deg) translateZ(0);
  padding:15px 15px;
 
 z-index: -1;
 opacity: 0;
 
}
.service-back h5 {
  font-family: 'Open Sans',sans-serif;
  font-size: 23px;
  font-weight: 400;
  color: black;
}
.service-back ul {
  margin-top: 25px;
}
.service-back ul li {
  font-size: 20px;
  font-family: 'Open Sans',sans-serif;
}
.each-service:hover .service-front {
/*  transform: rotateY(180deg);*/
    z-index: -1;
    opacity: 0;
 
  
}
.each-service:hover .service-back {
/*  transform: rotateY(0deg);*/
z-index: 1;
opacity: 1;
}

.each-service:hover .each-service-inner{
  transform: rotateY(180deg) translate3d(0, 0, 0);
}
.gallery {
  margin-top: 100px;

}
.gallery h1 {
  text-align: center;
  font-size: 55px;
  font-family: 'Open Sans',sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.slick-slide img {
  width: 100%;
}
.slick-dots {
    bottom: 20px;
  }
.slick-dots li {
    width: 30px;
    height: 30px;
    margin: 0;
  }
.slick-dots li button:before {
    font-size: 15px;
    line-height: 40px;
    width: 40px;
    height: 40px;
    opacity: .50;
  }
  .slick-dots li button {
    width: 40px;
    height: 40px;
  }
  .contact-top {
    display: flex;
    justify-content: space-between;

  }
 .contact-top h1 {
    width: 44%;
}
.contact-top em {
    width: 47%;
}
.icon-contact {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color:rgb(121, 17, 21);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 19px;
}
.m-contact {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.c-info p{
  font-family: 'Open Sans',sans-serif;
  color: #000;
  font-weight: 400;
  font-size: 17px;
}
.text-below {
  text-align: center;
  font-size: 18px;
  font-family: 'Open Sans',sans-serif;
  font-weight: 500;
  margin-block: 30px;
}
.footer-sec {
  background-color: #2b2e35;
  padding-top: 25px;
  padding-bottom: 10px;
}
.footer-wrapper {
  display: flex;
  justify-content: space-between;
}
.footer-left ul li {
  display: inline-block;
    padding-left: 5px;
    padding-right: 11px;
    color: #f2f2f2;
    font-size: 14px;

}
.footer-right span {
  font-size: 14px;
}
.footer-left ul li:not(:last-child){
  border-right: 1px solid white;
}
.scrollArrow {
 padding: 10px 15px;
  border-radius: 5px;
  background-color: rgba(0,0,0,0.7);
  position: fixed;
  bottom: 30px;
  right: 50px;
  display: none;
  cursor: pointer;
 

}
.scrollArrow img {
  width: 20px;

}

@media (max-width:992px){
  .nav-link {
    font-size: 18px;
    font-family: 'Montserrat',sans-serif;
    border-color: #727377;
    color: #727377;
     border-top: none; 
     height: auto;
    display: flex;
   justify-content: unset; 
   align-items: unset; 
   padding: 0.75rem 1rem;
}
.navbar-nav {
  margin-top: 20px;
}
.about-top-sec h1 {
    width: calc(44.33% - ( ( 4% ) * 0.3333 ) );
    font-size: 48px;
  }
  
  .each-team-member {
    margin-top: 20px;
  }
  
  .member-role-name .name-member {
    font-size: 18px;
    padding: 6px 12px;
  }
  
  .member-role-name .role-member {
    font-size: 14px;
    padding: 3px 8px;
  }
}
@media (max-width:767px){
  .contact-top,.about-top-sec {
    display: block !important;
}
.about-top-sec h1 {
  width: 100%;
  font-size: 36px;
  padding-right: 0;
  border-right: none;
  margin-bottom: 1rem;
}
.about-top-sec em {
  width: 100%;
  padding-left: 0;
  font-size: 20px;
}
.footer-wrapper {
  display: block;
  text-align: center;
}
.footer-left ul {
  padding-left: 0;
}

.each-team-member {
  margin-top: 15px;
  padding: 5px;
}

.member-role-name .name-member {
  font-size: 16px;
  padding: 5px 10px;
}

.member-role-name .role-member {
  font-size: 13px;
  padding: 2px 6px;
}

.each-service {
  margin-top: 30px;
}

.service-front h5 {
  font-size: 16px;
}

.service-back h5 {
  font-size: 18px;
}

.service-back ul li {
  font-size: 16px;
}

.gallery h1 {
  font-size: 40px;
}

.contact-top h1 {
  font-size: 36px;
}

.m-contact {
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.icon-contact {
  margin: 0 auto;
}
}
@media (max-width:400px){
  .about-top-sec h1 {
    border-right: none;
    font-size: 28px;
  }
  
  .about-top-sec em {
    font-size: 18px;
  }
  
  .member-role-name .name-member {
    font-size: 14px;
    padding: 4px 8px;
  }
  
  .member-role-name .role-member {
    font-size: 12px;
    padding: 2px 5px;
  }
  
  .service-front h5 {
    font-size: 14px;
  }
  
  .service-back h5 {
    font-size: 16px;
  }
  
  .service-back ul li {
    font-size: 14px;
  }
  
  .gallery h1 {
    font-size: 32px;
  }
  
  .contact-top h1 {
    font-size: 28px;
  }
  
  .c-info p {
    font-size: 15px;
  }
}