.elementor-1973 .elementor-element.elementor-element-554af97{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--overflow:hidden;}@media(min-width:768px){.elementor-1973 .elementor-element.elementor-element-554af97{--width:100%;}}/* Start custom CSS for container, class: .elementor-element-554af97 *//**
 * Falling Text Physics Animation - Robust CSS
 * Optimized for all devices with fallbacks
 */

/* Container Setup */
.falling-text-stage { 
  overflow: hidden; 
  position: relative;
}

#falling-text-container {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 600px; /* Fallback minimum */
  overflow: hidden;
  background: transparent;
  
  /* Performance optimizations */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Prevent text selection during interaction */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Falling Text Pills */
.falling-text {
  /* Positioning */
  position: absolute;
  left: 0; 
  top: 0;
  
  /* Typography */
  text-transform: uppercase;
  white-space: nowrap;
  font-size: clamp(22px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.8;  
  max-width: 99vw;
  letter-spacing: 0.5px;
  
  /* Spacing */
  padding: clamp(4px, 1.2vw, 8px) clamp(8px, 1.8vw, 14px);
  
  /* Prevent breaking / ugly cuts */
  overflow: hidden;
  text-overflow: ellipsis;
  
  /* Visual styling */
  border-radius: 999px;
  color: #000;
  background: transparent;
  
  /* Interaction */
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
  
  /* Performance */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  
  /* CRITICAL: Don't transition transform (physics engine controls it) */
  transition: color 0.15s ease, 
              font-family 0.15s ease,
              background-color 0.15s ease;
  
  /* Prevent glitchy rendering */
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}



/* Tablet Optimization */
@media (max-width: 1024px) and (min-width: 768px) {
  .falling-text {
    font-size: clamp(28px, 4vw, 64px);
    padding: clamp(7px, 1.1vw, 11px) clamp(11px, 1.6vw, 16px);
    letter-spacing: 0.4px;
  }
}

/* Mobile Optimization */
@media (max-width: 767px) {
  #falling-text-container { 
    height: 50vh; 
    min-height: 350px;
  }
  
  .falling-text {
    font-size: 40px; /* Fixed size for consistency */
    padding: 6px 10px;
    letter-spacing: 0.2px;
    max-width: none;
    font-weight: 900;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  #falling-text-container {
    height: 40vh;
    min-height: 300px;
  }
  
  .falling-text {
    font-size: 35px;
    padding: 5px 8px;
        font-weight: 900;

  }
}

/* Large Desktop */
@media (min-width: 1920px) {
  .falling-text {
    font-size: clamp(52px, 4vw, 96px);
  }
}

/* Hover Font Variations */
.hover-font-1 {  
  font-family: "Bungee Outline";
  color: #5219d6;

} 

.hover-font-2 { 
  font-family: "Goblin One";
    color: #5219d6;
}

.hover-font-3 { 
  font-family: "Bungee Outline"; 
      color: #5219d6;

}

.hover-font-4 { 
  font-family: "Rampart One";
      color: #5219d6;

}

.hover-font-5 { 
  font-family: "Protest Revolution"; 
      color: #5219d6;

}str

/* Loading State (Optional) */
#falling-text-container[data-physics-init="0"]::before,
#falling-text-container:not([data-physics-init])::before {
  content: '';
  display: none; /* Hidden by default, enable if you want loading indicator */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Reduced Motion Support (Accessibility) */
@media (prefers-reduced-motion: reduce) {
  .falling-text {
    /* Disable animations for users who prefer reduced motion */
    animation: none !important;
    transition: none !important;
  }
  
  #falling-text-container {
    /* Static fallback layout */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
  }
  
  .falling-text {
    position: static !important;
    transform: none !important;
  }
}

/* Print Styles */
@media print {
  #falling-text-container {
    height: auto !important;
    overflow: visible !important;
  }
  
  .falling-text {
    position: static !important;
    display: inline-block;
    margin: 5px;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .falling-text {
    border: 2px solid currentColor;
  }
  
  .falling-text:hover {
    background-color: #000;
    color: #fff;
  }
}

/* Dark Mode Support (Optional - uncomment if needed) */
/*
@media (prefers-color-scheme: dark) {
  .falling-text {
    color: #fff;
  }
  
  .falling-text:hover {
    color: #90e0ef;
  }
}
*/

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
  .falling-text {
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-font-smoothing: subpixel-antialiased;
  }
}

/* Firefox-specific optimizations */
@-moz-document url-prefix() {
  .falling-text {
    transform: translateZ(0);
  }
}/* End custom CSS */