/* POPPINS FONT */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* INTER FONT */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

a {
  text-decoration: none;
}

.hero-banner {
  position: relative;
  height: 100vh;
  max-height: 100vh;
  width: 100vw;
}

video {
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

/* .video-wrapper {

    padding: 0;
    min-height: calc(100vh - 200px);
    transition: flex 0.3s ease-in-out;
    flex: 1 0 0%;
    position: relative;
} */
.video-wrapper {
    position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in;
}
header,
footer {
  overflow: hidden;
}
.gradient-overlay {
  width: 100%;
  height: 100vh;
  background: linear-gradient(to right, pink, blue);
  position: relative;
}

.vid-content-wrapper {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
}

h2.vid-title {
  text-transform: uppercase;

  color: #fff;
  /* transition: all 0.3s ease-in-out; */
}

p.vid-desc {
  display: none;
  color: #fff;
}

.video-wrapper:hover p.vid-desc {
  display: block;
}

.hero-content {
  font-size: 62px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

p {
  font-size: 20px;
  font-weight: bold;
}

.book-now-cta {
  border: 2px solid #fff;
  display: inline;
}

.book-now-cta a {
  text-transform: uppercase;
  font-size: 20px;
  color: #fff;
}

header {
  background: #0052ae;
  background-image: url(./assets/images/landing-header-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
}

footer {
  background: #020f2a;
}

.partner-list img {
  max-width: 75px;
}

ul {
  padding-left: 0;
  list-style: none;
}
/* desktop */
 .vid-content-wrapper {
      top: auto !important;
    }
@media (min-width: 992px) {
  h2.vid-title {
    font-size: 48px;
    font-weight: 700;
  }
  h3.logo-text {
    font-size: 48px;
    font-weight: 700;
  }

  .video-wrapper {
    padding: 0;
    /*min-height: calc(100vh - 227px);*/
    height: 100%;
    transition: flex 0.3s ease-in-out;
    flex: 1 0 0%;
    position: relative;
  }
  .video-wrapper:hover {
    flex: 2 0 0% !important;
  }
  .landing-video-wrapper {
    height: calc(100vh - 217px);
    max-height: calc(100vh - 217px);
    overflow: hidden;
  }
  header {
    height: 120px;
  }
  /* Add smooth opacity transition for the content wrapper */
  .vid-content-wrapper {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0; /* Start hidden */
    transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
    transform: translateY(0); /* Small upward shift for effect */
    z-index: 9;
  }

  /* Make the content visible on hover with smooth transition */
  .video-wrapper:hover .vid-content-wrapper {
    opacity: 1;
    transform: translateY(0); /* Return to initial position smoothly */
  }

  /* .video-wrapper:hover p.vid-desc {
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
    font-weight: 400;
  } */
  p.vid-desc {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-weight: 400;
  }

  .video-wrapper:hover p.vid-desc {
    opacity: 1;
    transform: translateY(0);
  }
  /* h2.vid-title {
    transition: transform 0.5s ease;
  } */

  .video-wrapper:hover h2.vid-title {
    animation: landingTextAnimation 0.5s ease-in;
  }

  .video-wrapper:hover p.vid-desc {
    /* transition-delay: 0.2s; */
    animation: landingTextAnimation 0.5s ease-in;
  }
}
@keyframes landingTextAnimation {
  from {
    transform: translateY(300%);
  }
  to {
    transform: translateY(0);
  }
}
/* uptill tablet */
@media (max-width: 991.98px) {
  .video-wrapper {
    max-height: calc(100% / 5) !important;
    height: calc(100% / 5) !important;
    padding: 0;
    position: relative;
  }

  .vid-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
  }
  /* new code */
  /* Style for the expanded wrapper */
  .video-wrapper.expanded {
    height: 40% !important;
    max-height: 40% !important;
    transition: height 0.5s ease;
    position: relative;
    z-index: 10;
  }

  /* Style for the shrunken wrappers */
  .video-wrapper.shrunken {
    height: 15% !important;
    transition: height 0.5s ease;
  }

  .spinner-overlay.show {
    visibility: visible;
    opacity: 1;
  }

  .spinner {
    border: 4px solid #fff;
    border-left-color: #db2021;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  .vid-content-wrapper{
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
  }
  header h3.logo-text{
      font-size: 18px !important;
      margin-left: 16px !important;
      width: max-content !important;
  }
  header a:has(img){
      width: 100% !important;
  }
  
}
/* tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  .landing-video-wrapper {
    height: calc(100vh - 240px) !important;
    max-height: calc(100vh - 240px) !important;
    overflow: hidden;
    flex-direction: column;
  }
  .video-wrapper.expanded {
    height: 40% !important;
    max-height: 40% !important;
  }
  header {
    height: 120px;
  }
}
/* mobile */
@media (max-width: 720px) {
    h2.vid-title {
        font-size: 16px !important;
    }
    .video-wrapper:hover p.vid-desc {
    font-size: 10px !important;
        -webkit-line-clamp: 4;
    overflow: hidden;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
footer ul li {
    width: calc(100% / 6);
    max-width: calc(100% / 6);
  }
.partner-list img {
    max-width: 40px;
  }
}
  
  
  header img {
    max-width: 64px;
  }
  header {
    height: 100px;
  }
  video {
    position: static !important;
  }
  .partner-list {
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 12px;
  }
  .partner-wrapper h2 {
    text-align: center;
    margin-bottom: 24px;
  }
  h2.vid-title {
    margin-bottom: 0;
  }
  .landing-video-wrapper {
    height: calc(100svh - 197px);
    max-height: calc(100svh - 197px);
    overflow: hidden;
  }
}
.video-wrapper::after {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  content: "" !important;
  background: linear-gradient(to right, #db2021, #2f3192);
  opacity: 18%;
  z-index: 2;
}
.video-wrapper:hover::after {
  opacity: 40%;
}

/* .logo-track .img-wrapper .mx-auto {
  margin-left: 0 !important;
  margin-right: 0 !important;
} */



/*header*/
@media(max-width: 575.98px){
    .social-link-wrapper .social-links {
    width: 36px !important;
    height: 36px !important;
}
        header .offcanvas h3 {
        font-size: 18px !important;
    }
    .footer-client-wrapper li img{
        max-width: 50px;
    }
   header .offcanvas-body {
           min-height: 50%;
   }
   .menu-footer-logo-wrapper img{
       width: 50px;
   }
   .menu-footer-logo-wrapper .logo-text {
        font-size: 18px !important;
    }
    header .offcanvas-footer .social-link-wrapper {
    
    gap: 16px !important;
}
.fs-24.fw-500.mb-24.text-white.mt-md-18{
  font-size: 18px !important;
}



video::-webkit-media-controls {
            display: none !important;
            opacity: 0 !important;
        }

        video {
            appearance: none;
            -webkit-appearance: none;
            overflow: hidden;
        }