/* Bank Sembada Custom Styles & Animations */
/* Corporate Colors: #ed1c24, #ec5963, #cc2032, #000000 */

/* Custom Smooth Scrolling */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ed1c24;
}

/* Glassmorphism Classes */
.glass-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Gradient Text */
.text-gradient-red {
  background: linear-gradient(135deg, #ed1c24 0%, #ec5963 50%, #cc2032 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-dark {
  background: linear-gradient(135deg, #000000 0%, #2b2b2b 60%, #cc2032 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Shadows */
.shadow-soft {
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 12px -2px rgba(0, 0, 0, 0.02);
}

.shadow-card-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.shadow-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(204, 32, 50, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

/* Accordion Smooth Transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.accordion-content.open {
  max-height: 500px;
  transition: max-height 0.45s ease-in-out;
}

/* Step Line */
.step-connector::after {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: repeating-linear-gradient(to right, #cc2032 0, #cc2032 6px, transparent 6px, transparent 12px);
  z-index: 0;
}
.coba {
  display: flex
}
@media (max-width: 1023px) {
  .step-connector::after {
    display: none;
  }
}

/* Button ripple */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out;
}

.btn-ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Pulsing Badge */
@keyframes pulseRed {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(237, 28, 36, 0);
  }
}

.pulse-red {
  animation: pulseRed 2s infinite;
}
