/* ==========================================================
   PT. Bening Utama Mandiri — Custom Styles
   Supplements Tailwind CSS CDN
   ========================================================== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #1B2874;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #141f5c;
}

/* WhatsApp floating button pulse */
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
.whatsapp-pulse::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25D366;
  animation: pulse-ring 1.5s ease-out infinite;
  z-index: -1;
}

/* Hero gradient overlay */
.hero-gradient {
  background: linear-gradient(135deg, #1B2874 0%, #0f1a4d 50%, #1B2874 100%);
}

/* Card hover lift */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 40, 116, 0.12);
}

/* Section fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar scroll shadow */
.nav-scrolled {
  box-shadow: 0 2px 20px rgba(27, 40, 116, 0.08);
}

/* Stats counter animation */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Process step connector (desktop) */
.process-step::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}
.process-step:last-child::after {
  display: none;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  background: rgba(27, 40, 116, 0.5);
  backdrop-filter: blur(4px);
}

/* Testimonial quote decoration */
.quote-mark::before {
  content: "\201C";
  font-size: 4rem;
  line-height: 1;
  color: #1B2874;
  opacity: 0.15;
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
}

/* Client logo grayscale */
.client-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}
.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Table responsive wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Print styles */
@media print {
  .no-print,
  .whatsapp-float,
  nav,
  footer {
    display: none !important;
  }
}
