
 


.centering {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.bannervideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -2;
  overflow: hidden;
}

.aboutvideo{
  position:absolute;
    right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bannervideo video {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.player {
      position: absolute;
      z-index: 1;
      top: 0%;
      left: 0%;
      width: 100vw;
      height: 100vh;
      min-height: 100vh;
    }

    .aboutplayer {
      position: absolute;
      z-index: -1;
      top: 0%;
      left: 0%;
      bottom:0;
      width: 100%;
      height: 200vh;
      min-height: 200vh;
    }

    #cover {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: black;
      z-index: 0;
      opacity: 1;
      transition: opacity 1s ease;
    }

.noise-video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url('/images/bg-noise.gif');
  opacity: 0.04;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.aboutoverlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 0;
}


.gallery {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 150px 0;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.gallery h6 {
  display: block;
  line-height: 1.5;
  margin-bottom: 60px;
  font-family: "Fjalla One", sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 500;
}

.gallery h2:before {
  content: attr(data-text);
  font-size: 20vw;
  opacity: 0.05;
  z-index: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.gallery h2 {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 80px;
  line-height: 1.2;
}

.gallery-item {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.gallery-item figure {
  margin: 0;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item figure img {
  border-radius: 5px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}

.blogDetailsPostDate_Author{
  display:flex;
   align-items:center; 
   justify-content: space-between; 
   margin-bottom:20px;
}

.figure-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 350px;
}

.figure-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease; 
}

.figure-card:hover img {
  transform: scale(1.2);
}

.figure-card .figure-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    height: 100px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
    transition: height 0.4s ease;
}

.figure-card:hover .figure-content{
  height: 70%;
  background: linear-gradient(to bottom, 50% rgba(0, 0, 0, 0.6),100%, rgba(0, 0, 0, 1));
}

.figure-card h3{
  font-size: 2.5rem;
  margin: 0;
   overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp:1;
}

.figure-card:hover h3{
   color: #01f7b6; 
   -webkit-line-clamp:2;   
}

.figure-card p{
  font-size: 1.2rem;
  weight: 70%;
  margin: 0;
  display: none;
}

.figure-card:hover p{
  margin-bottom: 5px;
  overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp:2;
}


.figure-card .custom-link{
  display: none;
}

.figure-card:hover .custom-link{
  display: block;
}

.figure-card:hover .custom-link b{
color: white !important;
}
.figure-card:hover .custom-link .lines span{
background: white !important;
}

.testimonial-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 80px 0;
  position: relative;
}

.testimonial-section h2 {
  margin-bottom: 40px;
  font-weight: 800;
  font-size: 60px;
  line-height: 1.2;
}
.testimonial-section h2:before {
  content: attr(data-text);
  font-size: 10vw;
  opacity: 0.05;
  z-index: -1;
  position: absolute;
  left: 50%;
  top:30%;
  transform: translate(-50%, -50%);
}

.testimonial{
    padding: 70px 30px 50px;
    margin: 50px 30px 30px;
    border: 1px solid #ea816b;
    position: relative;
}
.testimonial .pic{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #c7373c;
    overflow: hidden;
    margin: 0 auto;
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
}
.testimonial .pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial .description{
    font-size: 15px;
    color: #5e595b;
    line-height: 27px;
    text-align: center;
    margin: 0;
    position: relative;
    min-height: 80px;
    padding-inline: 20px;
}
.testimonial .description:before{
    content: "\f10d";
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    font-size: 25px;
    color: #d7d7d7;
    position: absolute;
    top: 0;
    left: -2px;
    z-index: -1;
}
.testimonial .title{
    display: inline-table;
    padding: 10px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ea816b;
    font-size: 20px;
    font-weight: 700;
    color: #c7373c;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
}
.testimonial .post{
    font-size: 15px;
    color: #671a36;
}
.owl-theme .owl-controls{
    width: 100%;
    height: 50px;
    opacity: 1;
    position: absolute;
    top: 38%;
}
.owl-theme .owl-controls .owl-buttons div{
    width: 50px;
    height: 50px;
    border-radius: 0;
    background: transparent;
}
.owl-prev{
    position: absolute;
    left: -5%;
}
.owl-next{
    position: absolute;
    right: -5%;
}
.owl-prev:after,
.owl-next:after{
    content: "\f104";
    font-family: "Font Awesome 5 Free"; font-weight: 900;
    font-size: 30px;
    color: #c7373c;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.owl-next:after{ content: "\f105"; }
 
@media only screen and (max-width: 479px){
    .testimonial{ padding: 70px 10px 30px; }
    .testimonial .description:before{ top: -20px }
    .testimonial .title{ font-size: 12px; }
    .testimonial .post{ font-size: 11px; }
}

.clientele-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 80px 0;
  position: relative;
}

.clientele-section h2 {
  margin-bottom: 40px;
  font-weight: 800;
  font-size: 60px;
  line-height: 1.2;
}
.clientele-section h2:before {
  content: attr(data-text);
  font-size: 10vw;
  opacity: 0.05;
  z-index: -1;
  position: absolute;
  left: 50%;
  top:30%;
  transform: translate(-50%, -50%);
}

.carousel {
    margin: 0 auto;
    padding: 20px 0;
    overflow: hidden;
    display: flex;
    &:hover .group {
      animation-play-state: paused;
    }
  }

  .card {
    width: 100%;
    color: white;
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 10%) 5px 5px 20px 0;
    padding: 20px;
    font-size: xx-large;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    min-width: 200px;

    &:nth-child(1) {
      background: #7958ff;
    }

    &:nth-child(2) {
      background: #5d34f2;
    }

    &:nth-child(3) {
      background: #4300da;
    }
  }

  .group {
    display: flex;
    gap: 20px;
    /* Add padding to the right to create a gap between the last and first card. */
    padding-right: 20px;
     will-change: transform; /* We should be nice to the browser - let it know what we're going to animate. */
    animation: scrolling 10s linear infinite;
  }

  @keyframes scrolling {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

@media (max-width: 786px) {

  .gallery-item {
    grid-template-columns: repeat(2, 1fr);
  }
  .header .container h1 span:nth-child(2) {
    margin-left: 0%;
    transform: translateY(0%);
  }
  .header .container h1 span:nth-child(3) {
    margin-left: 0%;
    transform: translateY(0%);
  }
  .header .container h1 {
    font-size: 12vw;
  }
  .gallery {
    padding: 80px 0;
  }
  .gallery h2 {
    font-size: 45px;
  }
  .gallery h6 {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .work-with-us h2 {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 45px;
  }
  .work-with-us h4 {
    margin-bottom: 15px;
  }
  .right ul {
    padding-left: 25px;
  }
  .custom-link {
    margin-bottom: 30px;
  }
  .clients ul {
    margin-top: 0;
  }
  .clients h2 {
    margin-bottom: 15px;
  }
  .clients h4 {
    font-size: 18px;
    line-height: 1.5;
  }
}

.blogDetails_header{
  background: #008964ff;
  background: linear-gradient(180deg, rgba(0, 137, 100, 1) 0%, rgba(22, 215, 164, 1) 45%, rgba(255, 255, 255, 1) 100%);;
  height: 550px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

@media (max-width: 525px) {
  .figure-card .figure-content {
    height: 100%;
    background: linear-gradient(to bottom, 50% rgba(0, 0, 0, 0.6),100%, rgba(0, 0, 0, 1));
  }
  .figure-card p{
    display: -webkit-box;
    -webkit-line-clamp:2; 
  }
  .figure-card .custom-link{
    display: block;
  }
  .figure-card .custom-link b{
color: white !important;
-webkit-line-clamp:2;
}
.figure-card h3{
   color: #01f7b6; 
   -webkit-line-clamp:2;   
}
.figure-card .custom-link .lines span{
background: white !important;
}
.figure-card:hover .figure-content{
  height: 100%;
}
  .gallery-item {
    grid-template-columns: repeat(1, 1fr);
  }
  .blogDetailsPostDate_Author{
    gap: 15px;
    align-items:start;
    flex-direction: column;
  }
  .aboutvideo{
    display: none;
  }
}
