/* auto carousel css */

/* === Section 1: Floating Effect === */
.how-it-works-1 .steps .step {
  opacity: 1;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.how-it-works-1 .steps .step.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Staggered inner content animation */
.how-it-works-1 .step.active .step-number,
.how-it-works-1 .step.active h3,
.how-it-works-1 .step.active p,
.how-it-works-1 .step.active .step-button {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeSlideIn 0.6s forwards;
}

.how-it-works-1 .step.active .step-number {
  animation-delay: 0.1s;
}

.how-it-works-1 .step.active h3 {
  animation-delay: 0.2s;
}

.how-it-works-1 .step.active p {
  animation-delay: 0.3s;
}

.how-it-works-1 .step.active .step-button {
  animation-delay: 0.4s;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* === Section 2: Pulse / Scale Up and Down === */
.how-it-works-2 .steps .step {
  /* opacity: 0; */
  transform: scale(0.95) rotateX(10deg);
  transition: none;
}

.how-it-works-2 .steps .step.active {
  animation: zoomFadeRotateIn 0.8s ease forwards;
  pointer-events: auto;
}

/* Inner element staggered zoom-in */
.how-it-works-2 .step.active .step-number,
.how-it-works-2 .step.active h3,
.how-it-works-2 .step.active p,
.how-it-works-2 .step.active .step-button {
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  animation: fadeZoomIn 0.5s forwards;
}

.how-it-works-2 .step.active .step-number { animation-delay: 0.1s; }
.how-it-works-2 .step.active h3 { animation-delay: 0.2s; }
.how-it-works-2 .step.active p { animation-delay: 0.3s; }
.how-it-works-2 .step.active .step-button { animation-delay: 0.4s; }

@keyframes zoomFadeRotateIn {
  0% {
    opacity: 0;
    transform: scale(0.95) rotateX(10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateX(0deg);
  }
}

@keyframes fadeZoomIn {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* === Section 3: Wiggle / Shake Effect === */
.how-it-works-3 .steps .step {
  /* opacity: 0; */
  /* transform: translateX(-60px); */
  transition: none;
}

.how-it-works-3 .steps .step.active {
  animation: slideBounceInLeft 0.8s ease-out forwards;
  pointer-events: auto;
}

/* Inner content staggered with slide-up and fade */
.how-it-works-3 .step.active .step-number,
.how-it-works-3 .step.active h3,
.how-it-works-3 .step.active p,
.how-it-works-3 .step.active .step-button {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.5s ease-out forwards;
}

.how-it-works-3 .step.active .step-number { animation-delay: 0.1s; }
.how-it-works-3 .step.active h3 { animation-delay: 0.2s; }
.how-it-works-3 .step.active p { animation-delay: 0.3s; }
.how-it-works-3 .step.active .step-button { animation-delay: 0.4s; }

@keyframes slideBounceInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  60% {
    opacity: 1;
    transform: translateX(10px);
  }
  80% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* === Section 4: Slow Continuous Rotation === */
.how-it-works-4 .steps .step {
  /* opacity: 0; */
  /* transform: rotateY(90deg); */
  transition: none;
  backface-visibility: hidden;
}

.how-it-works-4 .steps .step.active {
  animation: flipInY 0.7s ease-out forwards;
  pointer-events: auto;
}

/* Inner content staggered fade with slight zoom */
.how-it-works-4 .step.active .step-number,
.how-it-works-4 .step.active h3,
.how-it-works-4 .step.active p,
.how-it-works-4 .step.active .step-button {
  opacity: 0;
  transform: scale(0.95);
  animation: fadeZoom 0.4s ease-out forwards;
}

.how-it-works-4 .step.active .step-number { animation-delay: 0.2s; }
.how-it-works-4 .step.active h3 { animation-delay: 0.3s; }
.how-it-works-4 .step.active p { animation-delay: 0.4s; }
.how-it-works-4 .step.active .step-button { animation-delay: 0.5s; }

@keyframes flipInY {
  0% {
    opacity: 0;
    transform: rotateY(90deg);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg);
  }
}

@keyframes fadeZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}



/* === Section 5: Diagonal Swing === */
.how-it-works-5 .steps .step {
  /* opacity: 0; */
  filter: blur(10px);
  transform: translateY(20px);
  transition: none;
}

.how-it-works-5 .steps .step.active {
  animation: blurFadeIn 0.8s ease-out forwards;
  pointer-events: auto;
}

/* Inner elements: smooth fade-in upward */
.how-it-works-5 .step.active .step-number,
.how-it-works-5 .step.active h3,
.how-it-works-5 .step.active p,
.how-it-works-5 .step.active .step-button {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.5s ease-out forwards;
}

.how-it-works-5 .step.active .step-number { animation-delay: 0.1s; }
.how-it-works-5 .step.active h3 { animation-delay: 0.2s; }
.how-it-works-5 .step.active p { animation-delay: 0.3s; }
.how-it-works-5 .step.active .step-button { animation-delay: 0.4s; }

@keyframes blurFadeIn {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* step animation end */

.animation-style-1 .image-box img {
  transition: opacity 0.8s ease;
}
.animation-style-1 .image-box img.active {
  opacity: 1;
}

.animation-style-2 .image-box img {
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.6s ease;
}
.animation-style-2 .image-box img.active {
  transform: translateX(0);
  opacity: 1;
}


.animation-style-3 .image-box img {
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.6s ease;
}
.animation-style-3 .image-box img.active {
  transform: scale(1);
  opacity: 1;
}


.animation-style-4 .image-box img {
  transform: rotateY(90deg);
  opacity: 0;
  transition: all 0.8s ease;
}
.animation-style-4 .image-box img.active {
  transform: rotateY(0deg);
  opacity: 1;
}

.animation-style-5 .image-box img {
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.7s ease;
}
.animation-style-5 .image-box img.active {
  transform: translateY(0);
  opacity: 1;
}



/* 5 section end */
.how-it-works {
    padding: 40px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.how-it-works h2 {
    margin-bottom: 10px;
}

.title_text h1 {
    color: #FFF;
}

.how-it-works p {
    color: #FFF;
    margin-bottom: 20px;
}
.title_text p {
  width: 282px;
}
.content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 37px auto 0;
    gap: 30px;
    flex-wrap: wrap;
}

.steps {
    display: flex;
    flex: 1;
    gap: 5px;
    flex-wrap: nowrap;
}

.step {
    flex: 1;
    padding: 20px;
    transition: all 1s ease;
    min-width: 150px;
    cursor: pointer;
}

.step.active {
    background: #fff;
    color: #000;
}

.step.active p {
    color: #222222;
}

.step {
    position: relative;
    flex: 1;
    padding: 20px 20px 20px 30px;
    transition: all 1s ease;
    min-width: 150px;
    z-index: -1px;
}

/* .step::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 20%;
    width: 3px;
    height: 60%;
    background-color: #fff;
    transition: height 2s ease, top 2s ease;
    z-index: 9;
} */

/* .step.active::before {
    top: 0;
    height: 100%;
} */

.step.active {
    background: #fff;
    color: #000;
}

.step-number {
    color: #fff;
    margin-bottom: 29px;
}

.step.active .step-number {
    color: #222;
}

.step.active.step h3 {
    color: #222;
}

.step.active.step p {
    color: #222;
}

.step.active.step button {
    color: #fff;
    background-color: #222 !important;
}

/* Hide all buttons by default */
.step-button {
  display: block;
  transition: opacity 0.3s ease;
}

.step-button:hover, .step-button:focus {
    background-color: #222 !important;
}

.step.active .step-button:hover{
    background-color: #747474 !important;
}

.step.active .step-button {
    display: inline-block;
}

.step h3 {
    margin: 0;
    color: #fff;
}

.step p {
    margin-top: 13px;
}

.step button {
    padding: 12px 24px;
    background-color: #fff;
    color: #222;
    font-family: "Prodigy Sans";
    border: none;
    border-radius: 100px;
}

.image-box {
    flex: 1;
    position: relative;
    height: 350px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.50);
}

.image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 841px;
    height: 379px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 0;
}

.image-box img.active {
    opacity: 1;
    z-index: 1;
}

.image-box img {
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease;
}
.image-box img.active {
    opacity: 1;
    position: relative;
}

.container_heading {
    display: flex;
    gap: 154px;
}
@media (max-width: 1024px){
    .how-it-works {
        padding-bottom: 80px;
    }
    .container_heading{
        gap:40px;
    }
    .steps{
        min-height: 360px;
    }
    .title_text h1{
        font-size: 35px;
        line-height: 40px;
    }
}
@media (max-width: 991px) {
    .steps {
        flex-wrap: wrap;
    }

    .container_heading {
        display: flex;
        gap: 15px;
    }
}
  @media (max-width: 880px) {
    .step{
        min-height: 230px;
        min-width: 40%;
    }
  }

@media (max-width: 768px) {

  
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

    .how-it-works-1 .steps .step {
      transform: translateY(25px);
    }
    .video-slider-wrapper .swiper-pagination {
        position: relative;
    }
    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .steps {
        flex-wrap: wrap;
    }

    .step {
        min-width: 45%;
        min-height: 300px;
    }

    .image-box {
        width: 100%;
        height: 250px;
    }

    .container_heading {
        gap: 14px;
    }

    .steps {
        gap: 25px;
    }

}

@media (max-width: 576px) {
    .container_heading {
        display: block;
    }
      .step {
        min-width: 100%;
        min-height: 260px;
    }
}


/* video slider css */


.video-slider-wrapper {
   width: 100%;
	min-height: 250px;
/*    min-height: 400px; */
}

.video-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
}
.video-thumbnail {
  width: 100%;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.video-thumbnail video.video-full {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* .video-slide iframe {
    width: 408px !important;
    height: 211px !important;
} */
.video-slide,
.video-slide .video-thumbnail,
.video-slide iframe {
    width: 100% !important;
    max-width: 100% !important;
	height: 100% !important;
}

.video-slide .video-thumbnail {
    padding: 0 !important;
    margin: 0 !important;
}

.video-slide iframe {
    display: block;
    aspect-ratio: 16 / 9;
    border: none;
}

/* Make the Elementor section truly full width */
.elementor-section.elementor-section-full_width {
    padding: 0 !important;
}




.video-thumbnail {
	position: relative;
	cursor: pointer;
  width: 408px;
  height: 211px;
}
.video-thumbnail img {
	width: 408px;
  height: 211px;
}
.video-slide h3 {
  color: #222;
  font-family: 'Anton', sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  text-transform: uppercase;
  margin: 20px 0 15px;
}
.video-slide p {
  color: #747474;
  font-family: "Prodigy Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
}
.video-slider-wrapper .swiper-pagination {
	margin-top: 15px;
	text-align: center;
  width: 100% !important;
}
.video-slider-wrapper .swiper-pagination-bullet {
	background: #D9D9D9 !important;
	opacity: 1 !important;
  height: 13px !important;
  width: 13px !important;
  left: 0px !important;
  transition: all .3s;
}
.video-slider-wrapper .swiper-pagination-bullet-active {
	background: #000 !important;
  width: 73px !important;
  border-radius: 100px !important;
}
.video-slider-wrapper .swiper-pagination-bullet-active-next, .video-slider-wrapper .swiper-pagination-bullet-active-next-next, .video-slider-wrapper .swiper-pagination-bullet{
  transform: scale(0.9) !important;
  margin: 0 3px !important;
}

@media (max-width: 1024px){
    .video-thumbnail img, .video-thumbnail {
        width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 767px){
    .video-thumbnail img, .video-thumbnail, .video-slide iframe {
        width: 100%;
        height: 211px;
    }
}


/* product css */


.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
}

.product-img {
    text-align: center;
    padding: 14px;
    transition: all 0.3s ease;
    background: #fff;
    height: 228px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    border: 1px solid #fff;
}

.product-img:hover{
    box-shadow: none;
    border: 1px solid #00000040;
}
.product-img:hover img {
	transform: scale(1.1);
}

.product-img img {
	width: 70%;
	height: 185px;
    object-fit: contain;
    transition: transform 0.4s ease-in-out;
    transform: scale(1);
}
.product-title {
    margin: 24px 0 0;
    text-align: center;
}
.product-title a {
	color: #222;
    font-family: 'Anton', sans-serif;
    font-size: 25px;
    font-style: normal;
    text-align: center;
    font-weight: 400;
    line-height: 25px; /* 100% */
    text-transform: uppercase;
}
