/* Michu SACCO - Custom Stylesheet */

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0038e2;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #07153b;
}

/* Light dot pattern for hero */
.hero-pattern-light {
  background-image: radial-gradient(#0038e2 0.75px, transparent 0.75px);
  background-size: 24px 24px;
}

/* Hide scrollbars for carousels */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ==============================================================================
   Credit & Loan Products - Focused Coverflow Slider
   One card sharp in center, adjacent cards blurred at left and right
   ============================================================================== */
.loan-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  perspective: 1200px;
}

.loan-slider-track {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 490px;
}

.loan-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 500px;
  transform: translate(-50%, -50%);
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity, filter;
}

/* Active center card */
.loan-slide.is-active {
  transform: translate(-50%, -50%) scale(1.04);
  opacity: 1;
  filter: blur(0px);
  z-index: 30;
  pointer-events: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 56, 226, 0.18), 0 0 0 2px rgba(0, 56, 226, 0.15);
}

/* Left card (blurred) */
.loan-slide.is-prev {
  transform: translate(-108%, -50%) scale(0.9);
  opacity: 0.45;
  filter: blur(3.5px);
  z-index: 15;
  cursor: pointer;
  pointer-events: auto;
}

/* Right card (blurred) */
.loan-slide.is-next {
  transform: translate(8%, -50%) scale(0.9);
  opacity: 0.45;
  filter: blur(3.5px);
  z-index: 15;
  cursor: pointer;
  pointer-events: auto;
}

/* Hidden cards beyond left/right */
.loan-slide.is-hidden {
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  filter: blur(6px);
  z-index: 5;
  pointer-events: none;
}

/* Responsive adjustments for mobile coverflow */
@media (max-width: 768px) {
  .loan-slider-track {
    min-height: 480px;
  }
  .loan-slide {
    width: 92%;
    max-width: 400px;
  }
  .loan-slide.is-prev {
    transform: translate(-130%, -50%) scale(0.85);
    opacity: 0.15;
    filter: blur(4px);
  }
  .loan-slide.is-next {
    transform: translate(30%, -50%) scale(0.85);
    opacity: 0.15;
    filter: blur(4px);
  }
}

/* Subtle pulse for active indicators */
.active-dot {
  width: 28px !important;
  background-color: #0038e2 !important;
}
