/* BanksNBFCs Component Specific Styles */
html,
body {
  overflow-x: hidden;
}

.banks-section {
  position: relative;
  overflow: hidden;
}

.text-content {
  padding: 0 1rem;
}

.visual-section {
  position: relative;
  min-height: 280px;
}

/* Base dot styles */
.dot {
  position: absolute;
  background: white;
  border-radius: 50%;
  border: 6px solid #0A1103;
  width: 22px;
  height: 23px;
}

/* Dot positions */
.dot-1 {
  left: 11%;
  top: 66px;
}

.dot-2 {
  left: -1.5%;
  top: 160px;
}

.dot-3 {
  left: 62%;
  top: 59px;
}

.dot-4 {
  left: 35.5%;
  top: 257px;
}

.dot-5 {
  left: 88.7%;
  bottom: 77px;
}

.dot-6 {
  left: 98%;
  bottom: 140px;
}

/* Process step positions */
.step-1 {
  position: absolute;
  left: 8.2%;
  top: 117px;
}

.step-2 {
  position: absolute;
  left: 32.4%;
  top: 75px;
}

.step-3 {
  position: absolute;
  left: 59.3%;
  top: 109px;
}

.step-4 {
  position: absolute;
  left: 85.6%;
  top: 73px;
}

/* Mobile adjustments for decorative elements */
@media (max-width: 768px) {



  .step-1,
  .step-2,
  .step-3,
  .step-4 {
    position: static;
    margin-bottom: 1rem;
  }

  .dot-1,
  .dot-2,
  .dot-3,
  .dot-4,
  .dot-5,
  .dot-6 {
    display: none;
  }
}

/* Smooth animations */
#menuOverlay {
  transition: all 0.3s ease;
}

@keyframes smoothBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes smoothBounceSlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.animate-smoothBounce {
  animation: smoothBounce 3s ease-in-out infinite;
}

.animate-smoothBounceSlow {
  animation: smoothBounceSlow 4s ease-in-out infinite;
}

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

  .animate-smoothBounce,
  .animate-smoothBounceSlow {
    animation-duration: 4s;
  }
}

/* Robot eye styles */
.robot-eye {
  transition: transform 0.1s ease-out;
}

/* Brand colors */
.bg-runa {
  background-color: #ACEC3C;
}

.bg-runaDark {
  background-color: #5EB006;
}

/* Overlay styles */
.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  transition: opacity 220ms linear;
  opacity: 0;
}

.text {
  position: relative;
  z-index: 10;
  text-align: center;
}

/* Inner black border */
.inner-black-border {
  position: relative;
  border-radius: 20px;
  background: #27340e;
  box-shadow:
    inset 0 0 0 3px rgba(64, 64, 64, 0.85),
    inset 0 0 25px rgba(38, 38, 38, 0.6);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .inner-black-border {
    border-radius: 12px;
    box-shadow:
      inset 0 0 0 2px rgba(64, 64, 64, 0.85),
      inset 0 0 15px rgba(38, 38, 38, 0.6);
  }
}

/* Custom slider styles */
.slider-green::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 12px;
  width: 12px;
  background: linear-gradient(135deg, #BAEA29, #5EB303);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(186, 234, 41, 0.8);
  border: none;
  transform: rotate(45deg);
}

.slider-green::-webkit-slider-thumb:active {
  background: linear-gradient(135deg, #A5D924, #4FA902);
}

.slider-green::-moz-range-thumb {
  height: 22px;
  width: 22px;
  background: linear-gradient(135deg, #BAEA29, #5EB303);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 12px rgba(186, 234, 41, 0.8);
  transform: rotate(45deg);
}

.slider-green::-moz-range-thumb:active {
  background: linear-gradient(135deg, #A5D924, #4FA902);
}

.slider-green::-ms-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #BAEA29, #5EB303);
  cursor: pointer;
  border: none;
}

/* Form input styles */
.glowInput {
  width: 100%;
  background: transparent;
  border: 1px solid #355028;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  color: #d4ffb2;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-size: 1rem;
}

.glowInput:focus {
  border-color: #b4ff4e;
  box-shadow: 0 0 0 3px rgba(180, 255, 78, 0.2);
}

/* Mobile form adjustments */
@media (max-width: 768px) {
  .glowInput {
    padding: 0.625rem 0.875rem;
    font-size: 16px;
  }
}

.radioGreen {
  accent-color: #b4ff4e;
}

.labelText {
  color: #ffffff;
  font-weight: 600;
  margin-right: 0.5rem;
}

/* Font classes */
.font-rubik {
  font-family: 'Rubik', sans-serif;
}

.font-poppins {
  font-family: 'Poppins', sans-serif;
}

/* Logo arc animation */
.logo-arc image {
  animation: float-arc 20s linear infinite;
  animation-delay: calc(var(--i) * -2s);
}

@keyframes float-arc {
  0% {
    transform: rotate(0deg) translateX(320px) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateX(320px) rotate(-360deg);
  }
}

/* Mobile logo arc */
@media (max-width: 768px) {
  .logo-arc image {
    animation: float-arc 25s linear infinite;
  }

  @keyframes float-arc {
    0% {
      transform: rotate(0deg) translateX(160px) rotate(0deg);
    }

    100% {
      transform: rotate(360deg) translateX(160px) rotate(-360deg);
    }
  }
}

/* =================================================================== */
/* CRITICAL FIXES FOR BANKS SECTION - UPDATED */
/* =================================================================== */

/* Container fixes */
.banks-nbfcs {
  overflow: visible !important;
  position: relative;
  width: 100%;
  min-height: 1px;
  /* Ensures it takes space */
}

.banks-nbfcs * {
  box-sizing: border-box;
}

/* Animation container - ensures proper document flow */
.animation-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Height definer for proper document flow */
.animation-height-space {
  width: 100%;
  height: 0;
  /* Initially collapsed */
}

/* Animation layer - absolute positioned */
.animation-layer {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive height definitions */
@media (max-width: 640px) {
  .animation-height-space {
    padding-bottom: 380px;
    /* Creates space for animation */
  }

  .animation-wrapper {
    min-height: 380px;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .animation-height-space {
    padding-bottom: 400px;
  }

  .animation-wrapper {
    min-height: 400px;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .animation-height-space {
    padding-bottom: 420px;
  }

  .animation-wrapper {
    min-height: 420px;
  }
}

@media (min-width: 1024px) {
  .animation-height-space {
    padding-bottom: 520px;
  }

  .animation-wrapper {
    min-height: 520px;
  }
}

/* Animation styles (should be injected by component) */
.inner-spiral {
  animation: spinInner 15s linear infinite;
}

.outer-spiral {
  animation: spinOuter 25s linear infinite;
}

.counter-rotate-inner {
  animation: counterInner 15s linear infinite;
}

.counter-rotate-outer {
  animation: counterOuter 25s linear infinite;
}

@keyframes spinInner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinOuter {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes counterInner {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes counterOuter {
  to {
    transform: rotate(360deg);
  }
}

.bank-item {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45));
  transition: transform .25s ease;
}

@media (hover:hover) {
  .bank-item:hover {
    transform: scale(1.18);
  }
}

/* General mobile optimizations */
@media (max-width: 768px) {

  /* Improve performance */
  .banks-section {
    -webkit-overflow-scrolling: touch;
  }

  /* Improve touch targets */
  button,
  .bank-logo {
    min-height: 44px;
    min-width: 44px;
  }

  /* Reduce animation intensity */
  .inner-spiral,
  .outer-spiral,
  .counter-rotate-inner,
  .counter-rotate-outer {
    animation-duration: 15s !important;
  }
}

/* Performance and accessibility improvements */
@media (prefers-reduced-motion: reduce) {

  .inner-spiral,
  .outer-spiral,
  .counter-rotate-inner,
  .counter-rotate-outer,
  .logo-arc image,
  .animate-smoothBounce,
  .animate-smoothBounceSlow {
    animation: none !important;
    transition: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .bank-item {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    border: 1px solid #fff;
  }

  .glowInput {
    border-width: 2px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .banks-section {
    background-color: rgba(0, 0, 0, 0.9);
  }
}

@keyframes barUpDown {

  0%,
  100% {
    transform: scaleY(0.2);
  }

  50% {
    transform: scaleY(1);
  }
}

/* Individual variations */
.animate-bar-graph-1 {
  animation: barUpDown 2.2s ease-in-out infinite;
}

.animate-bar-graph-2 {
  animation: barUpDown 2.6s ease-in-out infinite;
}

.animate-bar-graph-3 {
  animation: barUpDown 3s ease-in-out infinite;
}

.animate-bar-graph-4 {
  animation: barUpDown 2.4s ease-in-out infinite;
}

.animate-bar-graph-5 {
  animation: barUpDown 3.2s ease-in-out infinite;
}

.animate-bar-graph-6 {
  animation: barUpDown 2.5s ease-in-out infinite;
}

.animate-bar-graph-7 {
  animation: barUpDown 2.9s ease-in-out infinite;
}

.animate-bar-graph-8 {
  animation: barUpDown 2.3s ease-in-out infinite;
}

.animate-bar-graph-9 {
  animation: barUpDown 2.7s ease-in-out infinite;
}

.eye-left,
.eye-right {
  transform-box: fill-box;
  transform-origin: center;
}

/* check eligbility */
/* === Vue-like fade transition === */
.fade-enter {
  opacity: 0;
}

.fade-enter-active {
  opacity: 1;
  transition: opacity 300ms ease;
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
  transition: opacity 300ms ease;
}

.sentence {
  opacity: 0;
  transform: translateY(30px);
  color: rgba(255, 255, 255, 0.35);
  transition: all 0.6s ease;
}

.sentenceShow {
  opacity: 1;
  transform: translateY(0);
  color: rgba(255, 255, 255, 0.8);
}

.hero-bg-fix {
  background: #0A1103;
 
}
.bg-hero-bg{
    background: #0A1103;
}