/* Custom styles and overrides */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

/* Custom selection color */
::selection {
    background: #FF6B6B;
    color: #ffffff;
}

/* Improve image rendering */
img {
    -webkit-font-smoothing: antialiased;
}

/* Ensure all text meets contrast requirements */
.text-gray-400 {
    color: #9ca3af;
}

.text-gray-300 {
    color: #d1d5db;
}

/* Enhanced card styling */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B6B, #D4A853);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* Glass morphism effects */
.glass {
    background: rgba(28, 28, 28, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Ensure mobile menu is accessible */
@media (max-width: 767px) {
    .mobile-menu {
        width: 100% !important;
    }
}

/* Print styles */
@media print {
    nav, #back-to-top, .floating, .floating-delay, .floating-delay-2 {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
