
.products,
.discover {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.products.in-view,
.discover.in-view {
    opacity: 1;
}

.anim1, .anim2, .anim3 {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.5s ease-out;
}

.anim1.visible, .anim2.visible, .anim3.visible {
  opacity: 1;
  transform: translateX(0);
}


.test {
    opacity: 0;
    transform: translateY(50px); /* Start from below the viewport */
    transition: opacity 1s ease-out, transform 1s ease-out;
  }
  
  .test.in-view {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
  }

  


  .contact-div {
    overflow: hidden; /* Ensures the content doesn't overflow the container */
    opacity: 0;
    position: relative;
  }
  
  .contact-div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(13, 12, 41, 255); /* Change to your background color */
    transition: transform 1.3s ease-out;
    transform: translateX(0);
  }
  
  .contact-div.in-view {
    opacity: 1;
  }
  
  .contact-div.in-view::before {
    transform: translateX(100%);
  }
  
  .fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
  }
  
  .fade-in.visible {
    opacity: 1;
  }
  

  .above {
    opacity: 0; /* Start with opacity 0 */
    transform: translateX(-100px); /* Start position off-screen to the left */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Transition properties */
}

.above.in-view {
    opacity: 1; /* Fade in when in view */
    transform: translateX(0); /* Slide in from left to right */
}


/* Ensure the element starts invisible */
#mission-statement {
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* Add this class when it's in view to trigger the animation */
#mission-statement.fade-in {
  opacity: 1;
}

/* Initial state for the phone image */
.phone-image {
  opacity: 0;
  transform: translateX(20px); /* Move image slightly to the right */
  transition: all 0.5s ease-in-out;
}

/* Animation state for the phone image */
.phone-image.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Ensure responsiveness */
@media (max-width: 576px) {
  .phone-image {
    max-width: 80%;
    margin: 0 auto;
    transform: translateX(0); /* Prevent sliding on small screens */
  }
}


