/* FAQ Section Fixes for Mobile/Small Displays */
.faq-item {
    overflow: hidden;
    transition: none !important; /* Prevent any animations that might cause shaking */
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden; /* Prevent flickering */
    -webkit-font-smoothing: antialiased; /* Improve text rendering */
    -moz-osx-font-smoothing: grayscale;
}

.faq-question {
    position: relative;
    z-index: 1;
}

.faq-answer {
    position: relative;
    z-index: 0;
}

/* Fix for section titles flickering */
.section-title {
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden; /* Prevent flickering */
    -webkit-font-smoothing: antialiased; /* Improve text rendering */
    -moz-osx-font-smoothing: grayscale;
    will-change: auto;
    contain: layout paint;
}

/* Ensure content doesn't shift on smaller screens */
@media (max-width: 768px) {
    .faq-item {
        will-change: auto; /* Optimize for layers */
        contain: layout; /* Contain layout changes */
    }
    
    .hire-section {
        contain: layout paint;
    }
    
    .hire-content {
        contain: layout;
    }
}
