/* Additional custom styles */
:root {
    --charcoal-900: #1a1c20;
    --charcoal-800: #3a3e46;
    --charcoal-700: #43474f;
    --charcoal-600: #51555e;
    --charcoal-500: #636772;
    --charcoal-400: #7d808a;
    --charcoal-300: #a1a3aa;
    --charcoal-200: #c4c5ca;
    --charcoal-100: #e2e3e5;
    --charcoal-50: #f6f6f7;
    --coral-500: #ff6b4a;
    --coral-400: #ff8a71;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--charcoal-100);
}

::-webkit-scrollbar-thumb {
    background: var(--charcoal-400);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral-500);
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--coral-500);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .cta-button, button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .coral-gradient {
        background: ButtonText;
    }
}

/* Animation keyframes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation classes */
.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .stat-card:hover {
        transform: none;
    }
}
