/* Zoom In with Spin animation for the logo */
.logo-spin {
    animation: zoom-spin 1.5s ease-in-out forwards;
}

@keyframes zoom-spin {
    0% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 1;
    }
}

/* Keyframes for fade and slide-up animation */
@keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* For Image Toggling (Before-After) */
.before-image,
.after-image {
  transition: opacity 0.5s ease-in-out;
}

/* For Carousel Sliding */
#carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.hidden {
  display: none; /* Ensure hidden slides don't occupy space */
}

.shadow-lg {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  }


