/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


  #bg-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Keep it behind your hero content */
    display: block;
  }


.elementor-ribbon-inner {
    margin-block-start: 45px;
    transform: translateY(-50%) translateX(-45%) translateX(35px) rotate(-45deg);
    width: 200%;
}

#mp_form_popup2, .mailpoet_form_popup_overlay { display: none !important; }


#telev8 .e-n-accordion-item-title-text {
    color: #ff3285;
}


    .blinking-text {
        animation: blink 1s linear infinite;
    }
    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0; }
    }


.home .my-sticky-header {
    background: transparent !important;
}

.home .my-sticky-header.scrolled {
    background: #131a22 !important;
}


#sb_instagram.sbi_palette_light{
	background: transparent;
}
     

.custom-marquee-wrapper {
  width: 200%;
  overflow: hidden;
  background: transparent;
  padding: 6px 0;
  position: relative;
}

.custom-marquee-track {
  display: flex;
  width: fit-content;
  animation: scroll-marquee 55s linear infinite;
  will-change: transform;
}

.custom-marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
}

.custom-marquee-content span {
  white-space: nowrap;
  padding: 0 2.5rem;
  letter-spacing: 1px;
   font-size: 18px;
  color: #2b2a2a;
font-family: "Bodani FLF", Sans-serif;
}

.custom-marquee-content span.emoji {
   color: #2b2a2a;
  font-size: 18px;
  padding: 0 1.5rem;
}

@keyframes scroll-marquee {
  0% { 
    transform: translateX(0); 
  }
  100% { 
    transform: translateX(-50%); 
  }
}

/* Pause on hover - optional */
.custom-marquee-wrapper:hover .custom-marquee-track {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-marquee-content span {
    font-size: 18px;
    padding: 0 1.5rem;
  }
  
  .custom-marquee-content span.emoji {
    font-size: 22px;
    padding: 0 1rem;
  }
	
	.my-sticky-header {
    background-color: #131a22 !important;
}
}





.circle-spin img {
  border-radius: 50%;              /* keep it circular */
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


.elementor-swiper-button {
    background: #f1eee603;
    padding: 20px;
    border-radius: 50%;
}

.elementor-swiper-button:hover {
    background: #00000017;
}



.my-sticky-header {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.my-sticky-header.scrolled {
  background-color: #2B2A2A; /* target color after scroll */
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}






.contact-wavy-background {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.contact-wavy-background.top {
  top: 10%; /* adjust positioning for top */
  transform: translateY(-50%);
}

.contact-wavy-background.bottom {
  bottom: 10%; /* adjust positioning for bottom */
  transform: translateY(50%);
}

.contact-wave-track,
.contact-wave-track-reverse {
  display: flex;
  width: 4000px; /* 2x width */
}

.contact-wave-track svg,
.contact-wave-track-reverse svg {
  width: 2000px;
  height: auto;
}

.contact-wave-track {
  animation: waveScroll 30s linear infinite;
}

.contact-wave-track-reverse {
  animation: waveScrollReverse 30s linear infinite;
}

@keyframes waveScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-2000px); }
}

@keyframes waveScrollReverse {
  from { transform: translateX(-2000px); }
  to   { transform: translateX(0); }
}




.ipad-frame-container {
  position: relative;
  width: 600px; /* adjust to size you want */
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 11 / 16; /* keeps frame responsive */
  background-image: url('https://jointelev8.com/wp-content/uploads/2025/10/ipad.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.ipad-screen {
    position: absolute;
    top: 18.5%;
    left: 15.5%;
    width: 76%;
    height: 66%;
    overflow: hidden;
}

.ipad-screen .ipad-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 86%;
    height: 96%;
    object-fit: cover;
    opacity: 0;
    border-radius: 10px;
    transition: opacity 0.8s 
ease-in-out;
}

.ipad-screen .ipad-image.active {
  opacity: 1;
}





.asc-hero {
  position: relative;
  height: 200vh; /* Taller to allow scroll effect */
}

.asc-hero .hero-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.asc-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.asc-hero .hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
}

.asc-hero .hero-sub {
  font-size: clamp(1rem, 3vw, 1.8rem);
  color: #ddd;
}

.asc-hero .hero-btn {
  margin-top: 30px;
  padding: 12px 24px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s;
}

.asc-hero .hero-btn:hover {
  background: rgba(255,255,255,0.2);
}




html, body {
  overflow-x: hidden; 
}

.tv8-marquee-wrapper.tv8-left {
    transform: rotate(4deg) !important;
    background: #000;
    color: #fff;
}

.tv8-marquee-wrapper.tv8-right {
    background: #fe3385 !important;
    color: #fff;
}

/* Shared styles */
.tv8-marquee-wrapper {
  width: 110%;
  overflow: hidden;
  background: transparent;
  padding: 6px 0;
  position: absolute;
  transform: rotate(-4deg); /* slant */
  margin: 1.5rem 0;
	    border-top: 1px solid;
    border-bottom: 1px solid;
	    margin-left: -10px;
}

.tv8-marquee-track {
  display: flex;
  width: 200%; /* wide enough for seamless loop */
  will-change: transform;
}

.tv8-marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tv8-marquee-content span {
  white-space: nowrap;
  padding: 0 2rem;
  font-size: 18px;
  color: #2b2a2a;
  font-family: "Bodani FLF", Sans-serif;
}

.tv8-emoji {
  padding: 0 1rem;
}

/* Animations */
@keyframes tv8-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes tv8-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Apply to wrappers */
.tv8-left .tv8-marquee-track {
  animation: tv8-scroll-left 45s linear infinite;
}

.tv8-right .tv8-marquee-track {
  animation: tv8-scroll-right 45s linear infinite;
}

/* Pause on hover */
.tv8-marquee-wrapper:hover .tv8-marquee-track {
  animation-play-state: paused;
}


@media (max-width: 800px) {
    #sb_instagram.sbi_tab_col_3 #sbi_images {
        grid-template-columns: repeat(4, 1fr) !important;
    }
	
	#sb_instagram .sbi_photo {
    height: 100px !important;
}
}






/* Base container */
#column1 {
  height: 700px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0), black 20%, black 80%, rgba(0,0,0,0));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0), black 20%, black 80%, rgba(0,0,0,0));
}

/* Scrolling wrapper */
#column1 .scroll-wrapper {
  display: flex;
  flex-direction: column;
  animation: scroll-up 20s linear infinite;
}

/* Duplicate images INSIDE the wrapper manually (total 10) */
.scroll-wrapper .elementor-widget-image {
  margin-bottom: 20px;
}

.scroll-wrapper .elementor-widget-image img {
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(215, 239, 67, 0.17);
  display: block;
  width: 100%;
}

/* Magic fix — clone the entire wrapper content for continuous flow */
#column1 .scroll-wrapper::after {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
}

/* Animation */
@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Optimize animation smoothness */
.scroll-wrapper {
  will-change: transform;
}
