/* Mobile Performance Optimizations */

/* Disable AOS animations on mobile for better performance */
@media (max-width: 768px) {
    /* Disable all AOS animations */
    [data-aos] {
        opacity: 1 !important;
        transform: translate(0) scale(1) !important;
        transition: none !important;
    }
    
    /* Disable hover effects on mobile */
    .group-hover\:scale-105:hover {
        transform: none !important;
    }
    
    .hover\:scale-110:hover {
        transform: none !important;
    }
    
    .transition-all {
        transition: none !important;
    }
    
    /* Optimize shadows on mobile */
    .shadow-md,
    .shadow-lg,
    .shadow-xl,
    .shadow-2xl {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Reduce animation durations */
    * {
        animation-duration: 0.1s !important;
        transition-duration: 0.1s !important;
    }
    
    /* Force hardware acceleration for scrolling */
    .swiper-container,
    .swiper-wrapper {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
}

/* Optimize images for mobile */
@media (max-width: 768px) {
    img {
        content-visibility: auto;
    }
}

/* Reduce repaints for fixed elements */
.fixed,
.sticky {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Font optimization for mobile */
@media (max-width: 768px) {
    body {
        text-rendering: optimizeSpeed;
    }
}