/* Custom CSS for Products Page */

/* Product Card Hover Effects */
.product-card {
  transition: all 0.3s ease;
  backface-visibility: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-icon {
  transition: all 0.3s ease;
  transform-origin: center;
}

.product-card:hover .product-icon {
  transform: scale(1.1);
}

/* Section transitions */
section {
  transition: background-color 0.3s ease;
}

/* List styling */
.product-card ul li {
  margin-bottom: 0.5rem;
}

/* CTA button hover */
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-card {
    padding: 1.5rem;
  }
  
  .product-card h3 {
    font-size: 1.25rem;
  }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Animated Underline */
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #3b82f6;
  transition: width 0.3s ease;
}

.animated-underline:hover::after {
  width: 100%;
}

/* Testimonial Card */
.testimonial-card {
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

/* Radial Background Animation */
.radial-background {
  background-image: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  animation: pulse-bg 8s infinite alternate ease-in-out;
}

@keyframes pulse-bg {
  0% {
    background-size: 100% 100%;
  }
  100% {
    background-size: 150% 150%;
  }
}

/* Parallax Effect for Hero Section */
.parallax-hero {
  position: relative;
  overflow: hidden;
}

.parallax-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 0%, rgba(59, 130, 246, 0.05) 100%);
  transform: translateZ(0);
  pointer-events: none;
}

/* Floating Animation */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Product Feature Animation */
.product-feature {
  transition: all 0.35s ease;
  border-left: 3px solid transparent;
}

.product-feature:hover {
  border-left-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.05);
  padding-left: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Shimmering Effect for CTA Buttons */
.shimmer-button {
  position: relative;
  overflow: hidden;
}

.shimmer-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}
