/* Animation system hydration fixes */

/* Prevent flash of unstyled content */
.w-slider-mask,
.w-tab-content,
.w-dropdown-list {
  opacity: 1 !important;
}

/* Stabilize form elements */
.w-checkbox-input--inputType-custom,
.w-form-formradioinput--inputType-custom {
  transition: none !important;
}

/* Prevent layout shift from dynamic classes */
.w--redirected-checked,
.w--redirected-focus {
  transition: all 0s !important;
}

/* Ensure consistent rendering of animated elements */
[data-w-id] {
  will-change: auto !important;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
}

/* Stabilize video backgrounds */
.w-background-video video {
  background-image: none !important;
}

/* Font loading optimization */
body {
  font-display: swap;
}

/* Force hide loader component */
.loader_component {
  display: none !important;
}


/* Animated Elements */
.animated-element {
  will-change: opacity, transform;
}

.animate-fade {
  opacity: 0;
}

.animate-fade.animate-active {
  animation: fadeIn forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(50px);
}

.animate-slide-up.animate-active {
  animation: slideUp forwards;
}

.animate-slide-down {
  opacity: 0;
  transform: translateY(-50px);
}

.animate-slide-down.animate-active {
  animation: slideDown forwards;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(50px);
}

.animate-slide-left.animate-active {
  animation: slideLeft forwards;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(-50px);
}

.animate-slide-right.animate-active {
  animation: slideRight forwards;
}

.animate-scale {
  opacity: 0;
  transform: scale(0.8);
}

.animate-scale.animate-active {
  animation: scaleIn forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

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

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

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

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

/* Feature Tabs Minimization */
.features_tab-link .layout497_paragraph {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  will-change: max-height, opacity;
}

.features_tab-link.w--current .layout497_paragraph {
  max-height: 300px;
  opacity: 1;
}

.features_tab-link {
  transition: all 0.3s ease;
}