/* Saagaavaram Investment Custom Styles */

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.05);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 102, 255, 0.5);
}

/* Glassmorphism Styles */
.glass-panel {
  background: rgba(8, 18, 41, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.glass-panel-glow {
  background: rgba(8, 18, 41, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 210, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 210, 255, 0.05);
}

.glass-card {
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 210, 255, 0.15);
  transform: translateY(-2px);
}

/* Custom Gradients */
.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 30%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffe066 30%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-radial {
  background: radial-gradient(circle at center, var(--tw-gradient-stops));
}

/* Float Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-delayed {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px -3px rgba(0, 210, 255, 0.2); }
  50% { box-shadow: 0 0 25px 2px rgba(0, 210, 255, 0.4); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 8s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Wave Background Effect */
.wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.wave-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, rgba(0, 210, 255, 0) 70%);
  filter: blur(60px);
}

/* Custom Range Input (Slider) Styling */
input[type="range"].custom-slider {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type="range"].custom-slider:focus {
  outline: none;
}

input[type="range"].custom-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.1);
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

input[type="range"].custom-slider::-webkit-slider-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #0066ff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -6px;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
  transition: all 0.15s ease;
}

input[type="range"].custom-slider::-webkit-slider-thumb:hover {
  background: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 8px #0066ff;
  transform: scale(1.1);
}

input[type="range"].custom-slider::-moz-range-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.1);
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

input[type="range"].custom-slider::-moz-range-thumb {
  height: 18px;
  width: 18px;
  border: none;
  border-radius: 50%;
  background: #0066ff;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
  transition: all 0.15s ease;
}

input[type="range"].custom-slider::-moz-range-thumb:hover {
  background: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 8px #0066ff;
  transform: scale(1.1);
}

/* Tooltip dynamic styling */
.tooltip-trigger:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -8px);
}

/* Light Glassmorphism Styles */
.glass-panel-light {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px 0 rgba(0, 102, 255, 0.02);
}

.glass-panel-glow-light {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 210, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 102, 255, 0.05);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-light:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 102, 255, 0.1);
  transform: translateY(-2px);
}

/* Micro-animations for Floating Badges */
@keyframes bounceSubtle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseSubtle {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(8px) scale(1.02);
  }
}

.animate-bounce-subtle {
  animation: bounceSubtle 4s ease-in-out infinite;
}

.animate-pulse-subtle {
  animation: pulseSubtle 5s ease-in-out infinite;
}

/* Infinite Marquee Scroll for Testimonials */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}
