/* Custom CSS for enhanced performance and UX */
.contact-button {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}
.hero-gradient {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}
.emergency-pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}
.testimonial-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: #000;
    color: #fff;
    text-decoration: none;
}

/* Focus indicators */
.focus\:ring-2:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Mobile navigation */
.mobile-menu {
    display: none;
}
.mobile-menu.active {
    display: block;
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    .desktop-nav {
        display: none;
    }
}