/* Custom scrollbar for mobile menu if content is too long */
.mobile-scroll::-webkit-scrollbar {
  width: 4px;
}
.mobile-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.mobile-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Smooth accordion transition */
.accordion-content {
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.accordion-content.active {
  max-height: 1000px; /* Large enough to fit content */
  opacity: 1;
}

.rotate-chevron {
  transform: rotate(180deg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* This remains the same */
.group:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Slider Transition */
.slide {
  transition: opacity 0.5s ease-in-out;
}

.active-slide {
  opacity: 1;
  z-index: 10;
}

.inactive-slide {
  opacity: 0;
  z-index: 0;
}

/* Cursor Styles for Dragging */
.cursor-grab {
  cursor: grab;
}
.cursor-grabbing {
  cursor: grabbing;
}

/* Card Hover Effects */
.pro-card {
  transition: all 0.3s ease;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
}
.pro-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Abstract Blob Shape for Safety Section */
.blob-shape {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

/* credit card section  */
/* Custom Styles for 3D Card Effect */
.perspective-container {
  perspective: 1000px;
}

.credit-card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.credit-card:hover {
  transform: rotateY(10deg) rotateX(5deg) scale(1.02);
  box-shadow: 20px 20px 50px -10px rgba(0, 0, 0, 0.3);
}

/* Glassmorphism for card shine */
.shine {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 60%
  );
}

/* Custom Bullet Point Animation */
.feature-item:hover .check-icon {
  transform: scale(1.2);
  color: #2a9d8f;
}
.check-icon {
  transition: all 0.3s ease;
}

/* Chip Sim */
.chip {
  background: linear-gradient(135deg, #fceabb 0%, #f8b500 50%, #fceabb 100%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.chip::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.3);
}
.chip::after {
  content: "";
  position: absolute;
  left: 33%;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 12px 0 0 rgba(0, 0, 0, 0.3);
}

/* Animated Dot Background */
.bg-dots {
  background-size: 24px 24px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* ----------------- card deatils section --------------- */
.feature-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1),
    0 10px 20px -5px rgba(0, 0, 0, 0.04);
}

.icon-wrapper {
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(3deg);
}

/* Subtle moving gradient background */
.animated-bg {
  background: linear-gradient(-45deg, #eff6ff, #fdf4ff, #f0fdf4, #fff1f2);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
