.Home_slideInLeft__16852 {
  transform: translateX(-400px);
  opacity: 0;
  transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.Home_slideInLeft__16852.Home_visible___rlsd {
  transform: translateX(0);
  opacity: 1;
}

.Home_slideInRight__e4sIP {
  transform: translateX(400px);
  opacity: 0;
  transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.Home_slideInRight__e4sIP.Home_visible___rlsd {
  transform: translateX(0);
  opacity: 1;
}

.Home_slideInRightMobile__Ii_rb {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.Home_slideInRightMobile__Ii_rb.Home_visible___rlsd {
  transform: translateY(0);
  opacity: 1;
}

/* Scroll-triggered animations */
.Home_scrollSlideInLeft__dw7KC {
  opacity: 0;
  transform: translateX(-400px);
  transition: all 1.5s ease-out;
}

.Home_scrollSlideInLeft__dw7KC.Home_visible___rlsd {

  opacity: 1;
  transform: translateX(0);
}

.Home_scrollSlideInRight__jUo32 {
  opacity: 0;
  transform: translateX(400px);
  transition: all 1.5s ease-out;
}

.Home_scrollSlideInRight__jUo32.Home_visible___rlsd {
  opacity: 1;
  transform: translateX(0);
}

.Home_scrollSlideInBottom__oS0pf {
  opacity: 0;
  transform: translateY(150px);
  transition: all 1.5s ease-out;
}

.Home_scrollSlideInBottom__oS0pf.Home_visible___rlsd {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for stat boxes */
.Home_scrollSlideInBottom__oS0pf:nth-child(1) {
  transition-delay: 0.1s;
}

.Home_scrollSlideInBottom__oS0pf:nth-child(2) {
  transition-delay: 0.2s;
}

.Home_scrollSlideInBottom__oS0pf:nth-child(3) {
  transition-delay: 0.3s;
}

.Home_scrollSlideInBottom__oS0pf:nth-child(4) {
  transition-delay: 0.4s;
}

/* the project section */
/* Existing animations */

/* New animation for header - slide in from bottom-left */
.Home_slideInBottomLeft__Eg_zZ {
  opacity: 0;
  transform: translate(-450px, 300px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* New animations for project cards */
.Home_slideInLeft2__JtGtf {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.Home_slideInRight2__NkUOP {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Loaded state - triggers the animation */
.Home_loaded__kj8_f {
  opacity: 1;
  transform: translate(0, 0);
}

/* Add staggered animation delays for smoother effect */
.Home_slideInLeft2__JtGtf.Home_loaded__kj8_f {
  animation-delay: 0s;
}

.Home_slideInRight2__NkUOP.Home_loaded__kj8_f {
  animation-delay: 0s;
}

.Home_slideInBottomLeft__Eg_zZ.Home_loaded__kj8_f {
  animation-delay: 0s;
}

/* Responsive adjustments */
@media (max-width: 768px) {

  .Home_slideInLeft2__JtGtf,
  .Home_slideInRight2__NkUOP {
    transform: translateY(30px);
  }

  .Home_slideInBottomLeft__Eg_zZ {
    transform: translate(-20px, 30px);
  }
}

/* Enhanced smooth scrolling effect */
@media (prefers-reduced-motion: no-preference) {

  .Home_slideInLeft2__JtGtf,
  .Home_slideInRight2__NkUOP,
  .Home_slideInBottomLeft__Eg_zZ {
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
}

/* Fallback for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

  .Home_slideInLeft2__JtGtf,
  .Home_slideInRight2__NkUOP,
  .Home_slideInBottomLeft__Eg_zZ {
    transition: opacity 0.3s ease;
    transform: none;
  }

  .Home_loaded__kj8_f {
    transform: none;
  }
}

@keyframes Home_flipIn__831x3 {
  0% {
    transform: rotateY(90deg) scale(0.8);
    opacity: 0;
  }

  60% {
    transform: rotateY(-10deg) scale(1.05);
    opacity: 1;
  }

  80% {
    transform: rotateY(10deg) scale(0.98);
  }

  100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
}

.Home_flipIn__831x3 {
  opacity: 0;
  transform: rotateY(90deg) scale(0.8);
  transition: none;
}

.Home_flipIn__831x3.Home_loaded__kj8_f {
  opacity: 1;
  animation: Home_flipIn__831x3 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes Home_slideInTopRight__KXkcF {
  0% {
    transform: translate(120px, -120px);
    opacity: 0;
  }

  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}

.Home_slideInTopRight__KXkcF {
  opacity: 0;
  transform: translate(220px, -20px);
  transition: none;
}

.Home_slideInTopRight__KXkcF.Home_loaded__kj8_f {
  opacity: 1;
  animation: Home_slideInTopRight__KXkcF 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.Home_scrollSlideInRightSlow__2Q0Tx {
  opacity: 0;
  transform: translateX(200px);
  transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.Home_scrollSlideInRightSlow__2Q0Tx.Home_visible___rlsd {
  opacity: 1;
  transform: translateX(0);
}

.Home_scrollSlideInTopRightSlow__UO72f {
  opacity: 0;
  transform: translate(120px, -120px);
  transition: all 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.Home_scrollSlideInTopRightSlow__UO72f.Home_visible___rlsd {
  opacity: 1;
  transform: translate(0, 0);
}

.Home_scrollSlideInBottomLeftSlow__dHdIR {
  opacity: 0;
  transform: translate(-450px, 300px);
  transition: all 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.Home_scrollSlideInBottomLeftSlow__dHdIR.Home_visible___rlsd {
  opacity: 1;
  transform: translate(0, 0);
}

.Home_scrollFlipInSlow__1_B6O {
  opacity: 0;
  transform: rotateY(90deg) scale(0.8);
  transition: none;
}

.Home_scrollFlipInSlow__1_B6O.Home_visible___rlsd {
  opacity: 1;
  animation: Home_flipIn__831x3 2.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.Home_scrollSlideInTopLeftSlow__od2OR {
  opacity: 0;
  transform: translate(-120px, -120px);
  transition: all 2.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.Home_scrollSlideInTopLeftSlow__od2OR.Home_visible___rlsd {
  opacity: 1;
  transform: translate(0, 0);
}

.Home_scrollSlideInBottomSlow__Ur_0x {
  opacity: 0;
  transform: translateY(120px);
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.Home_scrollSlideInBottomSlow__Ur_0x.Home_visible___rlsd {
  opacity: 1;
  transform: translateY(0);
}

.Home_scrollSlideInLeftSlow__mOHee {
  opacity: 0;
  transform: translateX(-400px);
  transition: all 1.3s ease-out;
}

.Home_scrollSlideInLeftSlow__mOHee.Home_visible___rlsd {
  opacity: 1;
  transform: translateX(0);
}

/* Projects Section */

.Home_slideInUp__Xo_eK {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.Home_loaded__kj8_f.Home_slideInUp__Xo_eK {
  opacity: 1;
  transform: translateY(0);
}
/* Fix for mobile hero section visibility */
@media (max-width: 768px) {
  .Home_slideInLeft__16852 {
    transform: translateX(0) !important;
    opacity: 1 !important;
  }
  
  .Home_slideInRight__e4sIP {
    transform: translateX(0) !important;
    opacity: 1 !important;
  }
}

