
html.lenis, html.lenis body {
        height: auto;
      }
      .lenis.lenis-smooth {
        scroll-behavior: auto !important;
      }
      .lenis.lenis-smooth [data-lenis-prevent] {
        overscroll-behavior: contain;
      }
      .lenis.lenis-stopped {
        overflow: hidden;
      }
      .lenis.lenis-scrolling iframe {
        pointer-events: none;
      }
      
      /* Hide scrollbar for the sliding containers */
      .no-scrollbar::-webkit-scrollbar {
          display: none;
      }
      .no-scrollbar {
          -ms-overflow-style: none;  /* IE and Edge */
          scrollbar-width: none;  /* Firefox */
      }

      

.purple-section {
 
  
  background-image: 
    url('../images/Dot-Elements.svg'),   /* Top Layer */
    url('../images/Dot-Elements-2.svg'), /* Middle Layer */
    linear-gradient(90deg, #7D64C5, #5A4B99); /* Bottom Layer (Background) */


  background-position: top left, bottom right, center; 

  background-repeat: no-repeat;
}

 .purple-section2 {
    /* Top Layer: Dot Elements (top-left) */
    /* Bottom Layer: Gradient */
    background-image: 
      url('../images/Dot-Elements.svg'), 
      linear-gradient(90deg, #7D64C5, #5A4B99);
    
    background-position: top left, center; 
    background-repeat: no-repeat;
    background-size: auto, cover; 
  }

.hero-section {
   background-image: 
    url('../images/Element-1.svg'),   /* Top Layer */
    url('../images/Element-2.svg') /* Middle Layer */; /* Bottom Layer (Background) */


   background-position:
    right 10px top 50px,
    left 0px bottom 63%;

  background-repeat: no-repeat;
  }

  .simulator-overview-section{
     background-image: 
    url('../images/Element-1.svg')  /* Top Layer */;


   background-position:
    right 10px top 25%;

  background-repeat: no-repeat;
  }


   .testimonials-section{
     background-image: 
    url('../images/Element-2.svg'),url('../images/Element-1.svg')  /* Top Layer */;


   background-position:
    right 0px top 0 ,left 0px top ;

  background-repeat: no-repeat;
  }

  .gallery-section{
     background-image: 
    url('../images/Radial Element (2).svg') ,  url('../images/Radial Element (3).svg'), linear-gradient(90deg, #7D64C5, #5A4B99) /* Top Layer */;

    
   background-position:
    right 0px top 0 ,left 30px bottom 0 ;

  background-repeat: no-repeat;
  }



  .footer-cta-section {
    background-image: 
      url('../images/Radial Element (4).svg'),url('../images/Radial Element (5).svg'), 
      linear-gradient(90deg, #7D64C5, #5A4B99);
  
     background-position:
    right 0px top 0 ,left 0px bottom 0 ;
    background-repeat: no-repeat;
  }

  .footer-section {
    background-image: 
      url('../images/Element-1.svg'); /* Bottom Layer (Background) */
  
     background-position:
    right 0px top 0 ;
    background-repeat: no-repeat;
  }

/* Custom Font */
    @import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,400&display=swap');
    body { font-family: 'Satoshi', sans-serif; }

  /* --- Swiper Layout --- */
    .testimonialSwiper {
        padding-top: 50px;
        padding-bottom: 50px;
        /* Fixes clipping issues so shadows show */
        overflow-y: visible; 
        overflow-x: hidden;
    }

    /* REMOVED the "linear" transition block. 
       We want the default "ease" for a snapping slider. */

    /* --- Card Styles --- */
    .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 300px; 
        height: 400px;
        border-radius: 24px; /* Matches rounded-3xl */
        
        /* Smooth transition for the "Pop" effect */
        transition: transform 0.4s ease-out, opacity 0.4s ease-out, filter 0.4s ease-out;
        
        /* Inactive State: Smaller, blurry, transparent */
        transform: scale(0.9); 
        opacity: 0.4; 
        filter: blur(2px) grayscale(100%);
        z-index: 0; /* Push to back */
    }

    /* Desktop width override */
    @media (min-width: 768px) {
        .swiper-slide {
            width: 600px; 
            height: 450px;
        }
    }

    /* --- Active State (Center Card) --- */
    .swiper-slide-active {
        /* Active State: Full size, clear, on top */
        transform: scale(1.05); /* Slight zoom for emphasis */
        opacity: 1;
        filter: blur(0px) grayscale(0%);
        z-index: 10; /* Pull to front */
        
        /* Nice purple shadow */
        box-shadow: 0 20px 40px -5px rgba(90, 75, 153, 0.3), 0 10px 15px -5px rgba(90, 75, 153, 0.1);
    }

    /* Overlay Fading (Optional: Darken inactive slides) */
    .swiper-slide .slide-overlay {
        background-color: rgba(255, 255, 255, 0.4);
        opacity: 1;
        transition: opacity 0.4s ease;
    }
    .swiper-slide-active .slide-overlay {
        opacity: 0;
    }

    /* Decorative Grid */
    .grid-pattern {
        position: absolute;
        z-index: 0;
        pointer-events: none;
    }



    /* Smooth transition for the accordion height */
        .faq-content {
            transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
            max-height: 0;
            opacity: 0;
            overflow: hidden;
        }
        
        /* Active state classes applied via JS */
        .faq-item.active .faq-content {
            max-height: 200px; /* Adjust based on content length */
            opacity: 1;
        }
        
        .faq-item.active {
            background-color: #E8E9FD;
            border-color: #7D64C5;
        }

        .faq-item.active .icon-plus { display: none; }
        .faq-item.active .icon-minus { display: block; }
        
        .faq-item .icon-minus { display: none; }



/* mobile responsive */
@media (max-width: 768px) {
  .hero-section{
    background-size: 101px, 101px;
    background-position: top 40px right -30px, bottom -25px left 0px;
  }
  .purple-section {
    background-size: 141px, 131.0343322753906px, cover;
    background-position: top -40px left -20px, bottom -35px right 0px, center;
  }
  .simulator-overview-section{
    background-size: 101px;
    background-position: top 32% right 0px;
  }
  .purple-section2 {
    background-size: 175px, cover;
    background-position: top -45px left -25px, center;
  }
  .testimonials-section{
    background-size: 101px, 101px;
    background-position: top -10px right -10px ,top -20px left -10px ;
  }
  .gallery-section{
    background-size: 201px, 201px, cover;
    background-position: top 0px right 0px ,bottom 0px left -10px ;
  }
  .footer-cta-section{
    background-size: 101px, 101px, cover;
    background-position: top 0px right 0px ,bottom 0px left 0px ;
  }
}

/* Slider Container */
.custom-slider-container {
  position: relative;
  overflow: hidden;
  /* padding: 30px 0 70px 0; */
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Remove gap property - will be handled by margins */
}

.slider-item {
  flex-shrink: 0;
  opacity: 0.6;
  transform: scale(0.85);
  transition: all 0.8s ease;
  margin-right: 0; /* Will be set dynamically by JavaScript */
}

.slider-item:last-child {
  margin-right: 0;
}

.slider-item.active {
  opacity: 1;
  transform: scale(1);
  z-index: 10;
}

.slide-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  /* background: rgba(0, 0, 0, 0.15); */
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-progress-wrapper {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  z-index: 20;
}

.slider-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
  transition: width 0.3s ease;
}

@media (max-width: 768px) {
  .slider-btn {
    width: 44px;
    height: 44px;
  }

  .slider-prev {
    left: 10px;
  }

  .slider-next {
    right: 10px;
  }

  .slider-progress-wrapper {
    width: 150px;
  }
}



/* FAQ Styles */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-bottom: 0 !important; /* Override Tailwind pb-6 when closed */
}

.faq-item.active .faq-content {
  max-height: fit-content;
  padding-bottom: 1.5rem !important; /* Restore pb-6 when open */
}

.faq-item .icon-minus {
  display: none;
}

.faq-item.active .icon-minus {
  display: block;
}

.faq-item.active .icon-plus {
  display: none;
}


/* Tooltip Styles */
.tooltip-trigger {
  position: relative;
}

.tooltip-content {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e293b;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  width: max-content;
  max-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1e293b;
}

.tooltip-trigger:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .tooltip-content {
    left: auto;
    right: 0;
    transform: none;
    max-width: 200px;
  }
  
  .tooltip-content::after {
    left: auto;
    right: 8px;
    transform: none;
  }
}






/* Fix stacked cards height on mobile */
@media (max-width: 767px) {
  .stacked-card {
    height: auto !important;
    min-height: auto !important;
  }
  .watch--video{
    top:20px;
    justify-content: center;
    width: 100%;
  }

  .watch--video .inner--video{
   width: 40px;
   height: 40px;
  }

  .watch--video .inner--video svg{
   width: 30px;
   height: 30px;
  }

  .watch--video span{
    font-size: 14px;
    display: none;
  }
  
  .cards-wrapper {
    min-height: auto !important;
  }
}

/* Ensure content fits properly in mobile */
.stacked-card .flex-1.flex.flex-col.h-full {
  height: auto !important;
}

@media (max-width: 767px) {
  .stacked-card .md\:col-span-7 {
    height: auto !important;
  }
  
  .stacked-card .grid {
    height: auto !important;
  }
}


/* Add spacer after pinned section */
#feature-stack-section {
  margin-bottom: 0;
}

/* Create space after the pin-spacer that GSAP creates */
.pin-spacer {
  margin-bottom: 4rem !important;
}

@media (max-width: 767px) {
  .pin-spacer {
    margin-bottom: 8rem !important;
  }
}

/* Or target the next section directly */
#feature-stack-section + section,
#feature-stack-section + * {
  margin-top: 4rem;
}

@media (max-width: 767px) {
  #feature-stack-section + section,
  #feature-stack-section + * {
    margin-top: 8rem;
  }
}

/* ===============================
   LIGHTBOX BACKDROP
================================ */
.event-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  z-index: 99999;
}

.event-lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===============================
   VIDEO CONTAINER (NO STRETCH)
================================ */
/* ===============================
   VIDEO WITH FULL COVERAGE
================================ */
.video-padding-wrapper {
  position: relative;
  width: calc(100vw - 30px);   
  height: calc(100vh - 100px);
  max-width: 1800px;
  max-height: 800px;
  overflow: hidden;
  border-radius: 16px;
  /* background: #000; */
}

/* MAGIC PART */
.video-padding-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border: 0;  
  border-radius: 20px;
}

/* ===============================
   CLOSE BUTTON
================================ */
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 100000;
}

/* ===============================
   NAVIGATION
================================ */
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  width: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 100000;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===============================
   COUNTER
================================ */
.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  opacity: 0.8;
}

/* ===============================
   TABLET
================================ */
@media (max-width: 1024px) {
  .video-padding-wrapper {
    width: calc(100vw - 60px);
    height: calc(100vh - 60px);
  }
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
 .video-padding-wrapper {
    width: calc(100vw - 24px);
    height: calc(100vh - 120px);
    border-radius: 12px;
  }

  .video-padding-wrapper iframe {
    width: 140%;
    height: 140%;
  }
  .lightbox-close{
    width: 33px;
    height: 33px;
    font-size: 25px;
  }
}