/* Default styles */
.home-hero {
  position: relative;
  overflow: hidden;
  /* Hide overflow to prevent video stretching */
}

.home-video {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
  object-fit: cover;
  /* Ensure the video covers the container */
}

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

.home-hero-content h1 {
  position: absolute;
  top: 50%;
  left: 5%;
  z-index: 2;
  color: white;
}

/* Media query for mobile screens */
@media (max-width: 768px) {
  .home-video {
    height: 60vh;
    /* Set video height to fill the container */

  }

  .home-hero-content h1 {
    font-size: 3em;
    color: #fff;
  }

}



.home-heading {
  color: rgb(10, 10, 10);
  font-size: 100px;
  max-width: 790px;
  font-style: normal;
  font-weight: 500;
}

.home-caption {
  color: rgb(17, 16, 16);
  font-size: 24px;
  max-width: 600px;
  line-height: 36px;
}

.container1 {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.container1 .card {
  position: relative;
  border: none;
}

.container1 .card .face {
  /* width: 300px; */
  /* height: 200px; */
  min-height: 200px;
  transition: 0.5s;
}

.container1 .card .face.face1 {
  position: relative;
  background: #09b3af;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transform: translateY(100px);
  min-height: 200px;

}

.section-heading {
  font-size: 1.9em;
}

.face.face1 img {
  height: 250px;
}

.container1 .card:hover .face.face1 {
  background: #09b3af;
  transform: translateY(0);
}

.container1 .card .face.face1 .content {
  opacity: 0.8;
  transition: 0.5s;
}

.container1 .card:hover .face.face1 .content {
  opacity: 1;
}

.container1 .card .face.face1 .content img {
  max-width: 100px;
}

.container1 .card .face.face1 .content h3 {
  margin: 10px 0 0;
  padding: 0;
  color: #fff;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
}

.container1 .card .face.face2 {
  position: relative;
  background: #fff;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(-100px);
}

.container1 .card:hover .face.face2 {
  transform: translateY(0);
}

.container1 .card .face.face2 .content p {
  margin: 0;
  padding: 0;
}

.container1 .card .face.face2 .content a {
  margin: 15px 0 0;
  display: inline-block;
  text-decoration: none;
  font-weight: 900;
  color: #fff;
  background: #09b3af;
  padding: 10px;
  border-radius: 15px;

}

.container1 .card .face.face2 .content a:hover {
  background: #fff;
  color: #09b3af;
}

.mb4 {
  width: 25%;
}

@media screen and (max-width: 767px) {
  .container1 .card .face.face2 {
    transform: translateY(0);
  }

  .container1 {
    padding: 0px;
  }

  .container1 .card .face.face1,
  .container1 .card:hover .face.face1 {
    transform: translateY(0);
  }

  .container1 .card .face.face1 .content,
  .container1 .card .face.face2 .content {
    opacity: 1;
  }
}

.card img {
  width: 100%;
}

.mt {
  margin-top: 30px !important;
  width: 80% !important;

}

.mb {
  margin-bottom: 10px;
}

.card_ind {
  -webkit-box-shadow: 1px 0px 5px 4px rgba(9, 179, 175, 1);
  -moz-box-shadow: 1px 0px 5px 4px rgba(9, 179, 175, 1);
  box-shadow: 1px 0px 20px 2px rgba(9, 179, 175, 1);
  background-color: ghostwhite;
}

@media screen and (max-width: 767px) {

  /* Full width cards on smaller screens */
  .card_ind {
    width: 100% !important;
  }

  /* Adjust the padding for card body to use full width */
  .card.text-center.w-75.mt.mb.mx-auto .card-body {
    padding: 1rem;
  }
}
/* image transition  */
.gallery {
  --g: 8px;
  /* the gap */

  display: grid;
  clip-path: inset(1px);
  /* to avoid visual glitchs */
}

.gallery>img {
  --_p: calc(-1*var(--g));
  grid-area: 1/1;
  width: 100%;
  /* control the size */
  aspect-ratio: 1;
  transition: .4s .1s;
}

.gallery>img:first-child {
  clip-path: polygon(0 0, calc(100% + var(--_p)) 0, 0 calc(100% + var(--_p)))
}

.gallery>img:last-child {
  clip-path: polygon(100% 100%, 100% calc(0% - var(--_p)), calc(0% - var(--_p)) 100%)
}

.gallery:hover>img:last-child,
.gallery:hover>img:first-child:hover {
  --_p: calc(50% - var(--g));
}

.gallery:hover>img:first-child,
.gallery:hover>img:first-child:hover+img {
  --_p: calc(-50% - var(--g));
}