/* Performance Optimized CSS - Removes non-essential hover effects from cards and tiles */

/* Remove all hover transforms and transitions from cards */
.glass-card,
.tilt-card,
.case-study-item,
.blog-post-item,
.testimonial-card,
.team-card,
.stat-card,
.contact-info {
  /* Remove transition for performance */
  transition: none !important;
}

/* Override hover states for cards - keep them static */
.glass-card:hover,
.tilt-card:hover,
.case-study-item:hover,
.blog-post-item:hover,
.testimonial-card:hover,
.team-card:hover,
.stat-card:hover,
.contact-info:hover {
  transform: none !important;
  box-shadow: inherit !important;
  background: inherit !important;
  border-color: inherit !important;
}

/* Remove hover effects from card children */
.glass-card:hover .service-icon,
.glass-card:hover .feature-item,
.glass-card:hover .feature-item i,
.case-study-item:hover img,
.blog-post-item:hover img,
.team-card:hover img {
  transform: none !important;
  color: inherit !important;
  background: inherit !important;
  box-shadow: inherit !important;
}

/* Remove hover animations */
.glass-card:hover .service-icon::before,
.glass-card:hover .service-icon::after {
  opacity: 0 !important;
  animation: none !important;
}

/* Remove hover classes */
.hover-lift,
.hover-scale,
.hover-glow,
.hover-shadow {
  transition: none !important;
}

.hover-lift:hover,
.hover-scale:hover,
.hover-glow:hover,
.hover-shadow:hover {
  transform: none !important;
  box-shadow: inherit !important;
}

/* Keep hover effects ONLY for actual interactive elements */
.btn-glass:hover,
.btn-premium:hover,
.filter-btn:hover,
.nav-link:hover,
.mobile-menu a:hover,
.mobile-menu-button:hover,
.scroll-to-top:hover,
footer a:hover,
a:not(.no-hover):hover {
  /* These retain their hover effects as they are actual interactive elements */
}

/* Remove inline hover: styles from HTML elements */
.hover\:shadow-glow:hover {
  box-shadow: inherit !important;
}

.hover\:scale-110:hover {
  transform: none !important;
}

.hover\:translateY-5:hover {
  transform: none !important;
}

/* Disable TiltCard effect from premium-interactions.js */
.tilt-card {
  transform-style: flat !important;
  perspective: none !important;
}

/* Disable unnecessary animations on cards */
.glass-card::before,
.glass-card::after {
  display: none !important;
}

/* Performance: reduce repaints on scroll */
.glass-card,
.case-study-item,
.blog-post-item,
.testimonial-card,
.team-card {
  will-change: auto !important;
}