/* Card Hover Effects */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .hover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
  }
  
  /* Custom Button Hover Effects */
  .custom-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .custom-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
  }
  
  .custom-button:hover::after {
    transform: translate(-50%, -50%) scale(1);
  }
  
  /* Testimonial Card Styles */
  .grid-cols-1.md\:grid-cols-3 > div {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .grid-cols-1.md\:grid-cols-3 > div p.italic {
    overflow-y: auto;
    max-height: 200px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .grid-cols-1.md\:grid-cols-3 > div p.italic::-webkit-scrollbar {
    width: 4px;
  }
  
  .grid-cols-1.md\:grid-cols-3 > div p.italic::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
  }
  
  .grid-cols-1.md\:grid-cols-3 > div .flex.items-center {
    margin-top: auto;
  }
  
  /* Active Solution Indicator */
  .solution-active {
    position: relative;
  }
  
  .solution-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #3b82f6, #4f46e5);
    border-radius: 4px 0 0 4px;
  }
  
  /* Logo Marquee Animations */
  @keyframes marquee {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-50%, 0, 0);
    }
  }
  
  @keyframes marquee-reverse {
    0% {
      transform: translate3d(-50%, 0, 0);
    }
    100% {
      transform: translate3d(0, 0, 0);
    }
  }
  
  .animate-marquee {
    animation: marquee 40s linear infinite;
    will-change: transform;
  }
  
  .animate-marquee-reverse {
    animation: marquee-reverse 40s linear infinite;
    will-change: transform;
  }
  
  /* Container styles for marquee */
  .overflow-hidden {
    width: 100%;
  }
  
  /* Ensure the animation container has enough width */
  .animate-marquee, .animate-marquee-reverse {
    min-width: 100%;
  }
  
  /* Logo container and item styles */
  .logo-container {
    display: flex;
    flex-wrap: nowrap;
  }
  
  .logo-item {
    flex: 0 0 auto;
  }
  
  /* Pause animation on hover */
  .animate-marquee:hover,
  .animate-marquee-reverse:hover {
    animation-play-state: paused;
  }
  
  /* Force hardware acceleration */
  .flex {
    backface-visibility: hidden;
    transform: translateZ(0);
    perspective: 1000px;
  }
  
  /* Ensure the arrow is visible for the active solution */
  .solution-active .w-8.h-8 {
    background-color: #2563eb !important; /* blue-600 */
  }
  
  .solution-active .w-8.h-8 svg {
    color: white !important;
  }