@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes transitionIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes toptoBottom {
    from { margin-top: -20px; }
    to {  margin-top: 0px; }
}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.3, 1.3);
  }
  100% {
    transform: scale(1, 1);
  }
}

@keyframes zoom-in-zoom-out-2 {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.1, 1.1);
  }
  100% {
    transform: scale(1, 1);
  }
}



    
.background-main{height:100vh;}
.background-main2{height:100vh;background: #ebcad0;
background: linear-gradient(90deg,rgba(235, 202, 208, 1) 0%, rgba(223, 156, 169, 1) 45%, rgba(211, 118, 135, 1) 100%);}
.background-main3{background: #ebcad0;
background: linear-gradient(90deg,rgba(235, 202, 208, 1) 0%, rgba(223, 156, 169, 1) 45%, rgba(211, 118, 135, 1) 100%);}
.main-logo {
    height: 100px;
    text-align: center;
    padding: 16px 0;
}
.main-logo img {max-width: 70%;height: auto;}

.click-here-btn {text-align: center;padding-bottom: 20px;}
.click-here-btn img {max-width: 70%;}

.group-products {text-align: center;padding-bottom: 40px;}
.group-products img {max-width: 80%;}

.confirm-block {text-align: center;}
.confirm-block img {max-width: 85%;}

.back-verify-text {
    margin: 2px;
    padding: 10px;
    min-height: 14vh;
    text-align: right;
}

.background-main{height:auto;}
.verify-text-png {
    max-width: 80%;
    padding-top: 2px;
}

.zoom-in-zoom-out {
  margin: 8px 0;
  animation: zoom-in-zoom-out 1.5s ease-out infinite;
}

.zoom-in-zoom-out-2 {
  margin: 8px 0;
  animation: zoom-in-zoom-out 2s ease-out infinite;
}


.main-verify-txt {  
  /* This section calls the slideInFromLeft animation we defined above */
  animation: 1.5s ease-out 0s 1 slideInFromLeft;
}

.main-products {
    padding-top: 16px;
}

.fade-in-left {
    opacity: 0;
  animation:
    fadeInLeft 1s ease forwards,
    holdVisible 1s ease forwards 1s,
    slideOutLeft 1s ease forwards 2s;
}

/* Fade in from left (1 sec) */
@keyframes fadeInLeft {
  0% { transform: translateX(-50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Visible (1 sec) */
@keyframes holdVisible {
  0% { opacity: 1; }
  100% { opacity: 1; }
}

/* SLIDE OUT to LEFT (no fade) */
@keyframes slideOutLeft {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(-900px); opacity: 1; }
}


/*fadein up*/
.fadein{opacity: 0;transform: scale(1.1);transition: all 2s;}
.fadeout{transition: all 2s;transform: scale3d(1,1,1);opacity: 1;}

/*fadein right*/
.textfadein{opacity: 0;transform: translateX(100px);transition: all 2s;}
.textfadeout{opacity: 1;transform: translateX(0px);}

.fadeinload{opacity: 0;transform: translateX(100px);transition: all 2s;}
.fadeoutload{opacity: 1;transform: translateX(0px);}

/*fadein up Text*/
.fadeinTextup{opacity: 0;transform: translateY(50px);transition: all 0.7s ease-in;}
.fadeinOutup{opacity: 1;transform: translateY(0px);}

/*fadein up chase*/
.customCard{opacity: 0;transform: translateY(50px);transition: all 0.4s ease-in;}
.is-showing{opacity: 1;transform: translateY(0px);}

/*fadain left*/
.feadeProfadein{opacity: 0;transform: translateX(-100px);transition: all 0.4s ease-in;}
.feadeProfadeout{opacity: 1;transform: translateX(0px);}


/*fadain up bottom overflow top*/
.word-desc {
    display: inline-block;
    overflow: hidden;
}
.ProfeatuetextIN {
    transform: translateY(100%);
    transition: all 1s ease;
}
.ProfeatuetextOUT {
    transform: translateY(0%);
    vertical-align: middle;
    transition: all 1s ease;
}


.close-btn {
    position: absolute;
    max-width: 20%;
    margin: 0 auto;
    margin-top: -31%;
    margin-left: -11%;
}
.fadeincolorPro{opacity: 0;transform: translateY(100px);transition: all 0.4s ease-in;}
.fadeoutcolorPro{opacity: 1;transform: translateY(0px);}

.slick-slide .text .fadein.fadeout {opacity: 0;transform: translateY(100px);}
.slick-current.slick-active .text h1.fadein.fadeout{opacity: 1;transform: translateY(0px);transition: all 0.4s ease-in;}
.slick-current.slick-active .text p.fadein.fadeout{opacity: 1;transform: translateY(0px);transition: all 0.6s ease-in;}
.slick-current.slick-active .text a.fadein.fadeout{opacity: 1;transform: translateY(0px);transition: all 0.7s ease-in;}

.col-sm-3.fadeinTextup.fadeinOutup:nth-child(1){opacity: 1;transform: translateY(0px);transition: all 0.4s ease-in;}
.col-sm-3.fadeinTextup.fadeinOutup:nth-child(2){opacity: 1;transform: translateY(0px);transition: all 0.5s ease-in;}
.col-sm-3.fadeinTextup.fadeinOutup:nth-child(3){opacity: 1;transform: translateY(0px);transition: all 0.6s ease-in;}
.col-sm-3.fadeinTextup.fadeinOutup:nth-child(4){opacity: 1;transform: translateY(0px);transition: all 0.7s ease-in;}
.col-sm-3.fadeinTextup.fadeinOutup:nth-child(5){opacity: 1;transform: translateY(0px);transition: all 0.8s ease-in;}


@keyframes bobbingAnim {
   100% {
       transform: unset;
       animation-timing-function:ease-in-out;
       opacity:0.7;
   }
   0% {
       transform: scale(1.08);
       animation-timing-function:ease-in-out;
       opacity:1;
       overflow:hidden;
   }
}
li.tab-pane.appear.show.active, #my-image-preview.active{
    animation: bobbingAnim ease-in-out .5s ;
    -moz-animation: bobbingAnim ease-in-out .5s ;
    -webkit-animation: bobbingAnim ease-in-out .5s ;    
}
 .preview-color.fadeinTextup.fadeinOutup.active1{
    animation: bobbingAnim ease-in-out .5s ;
    -moz-animation: bobbingAnim ease-in-out .5s ;
    -webkit-animation: bobbingAnim ease-in-out .5s ;    
}
.customCard {
  opacity: 0.8;
}

.is-showing {
  opacity: 1;
  -webkit-transition: all ease 0.6s;
  -moz-transition: all ease 0.6s;
  -ms-transition: all ease 0.6s;
  -o-transition: all ease 0.6s;
  transition: all ease 0.6s;
}

.box2 .col-sm-12{text-align:center;}
.img-slide-right {
    margin-right: 0px;
}

.img-border {
    border-radius: 2px;
    border: solid 2px;
    display: block;
    max-width: 96%;
    margin: 0 auto;
}

.space-1{height:5%;}

.box2 .img-slide-right {
    padding: 15px 34px;
}

.container {
  position: relative;
  width: 400px;
  height: 300px;
  overflow: hidden;
}

.box {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #fff;
}
/* FIRST BOX — slide from left */
.box1 {
  animation:
    slideInLeft 1s ease forwards,
    hold 1s ease forwards 1s,
    slideOutLeft 1s ease forwards 2s;
}

/* SECOND BOX — hidden fully until its time */
.box2 {
  opacity: 0;
margin-top: 70px;
  animation:
    wait2 2s ease forwards,
    slideInRight 1s ease forwards 2s,
    hold2 1s ease forwards 3s;
}

/* KEYFRAMES */
@keyframes slideInLeft {
  0%   { transform: translateX(-350px); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutLeft {
  0%   { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(-350px); opacity: 1; }
}

@keyframes slideInRight {
  0%   { transform: translateX(350px); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

/* stays visible */
@keyframes hold {
  0%   { transform: translateX(0); }
  100% { transform: translateX(0); }
}
@keyframes hold2 {
  0%   { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

/* keep fully hidden offscreen */
@keyframes wait2 {
  0%   { transform: translateX(350px); opacity: 0; }
  100% { transform: translateX(350px); opacity: 0; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px); /* starts slightly lower */
  animation: fadeInUp 1s forwards; /* 1s animation */
}

/* Delay each image to appear one after another */
.image-container img:nth-child(1) {
  animation-delay: 0s;
}

.image-container img:nth-child(2) {
  animation-delay: 0.5s;
}

.image-container img:nth-child(3) {
  animation-delay: 1s;
}

/* Keyframes for fade in and moving up */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Animation 1: Fade in from top */
.anim1 {
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeDown 1s forwards;
}

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

/* Animation 2: Slide in from left */
.anim2 {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideRight 1s forwards;
  animation-delay: 0.5s;
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation 3: Zoom in */
.anim3 {
  opacity: 0;
  transform: scale(0.5);
  animation: zoomIn 1s forwards;
  animation-delay: 1s;
}

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

.box5 {
  position: relative;
  overflow: hidden;
}

/* Image starts invisible */
.box5 img {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Becomes visible after flash */
.box5.visible img {
  opacity: 1;
  transform: translateX(0);
}

/* Fast white flash */
.box5::after {
  content: "";
  position: absolute;
  left: -150%;
  top: 0;
  width: 150%;
  height: 100%;
  background: white;
  animation: flashRun 0.8s ease-out forwards;
  pointer-events: none;
}

/* White flash animation */
@keyframes flashRun {
  0%   { transform: translateX(0); }
  100% { transform: translateX(260%); }
}

/* Staggered flash timing for each image */
.box5:nth-child(1)::after { animation-delay: 0s; }
.box5:nth-child(2)::after { animation-delay: 0.1s; }
.box5:nth-child(3)::after { animation-delay: 0.2s; }
