/* Custom styles and overrides */

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

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

::-webkit-scrollbar-track {
    background: #102a43;
}

::-webkit-scrollbar-thumb {
    background: #2dd4bf;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
}

/* Animation for mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for service cards */
.group:hover {
    transform: translateY(-4px);
}

/* Button hover effects */
button, a {
    transition: all 0.2s ease-in-out;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}

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

/* Reduced motion preference */
@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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .group:hover {
        background-color: #102a43 !important;
    }
}

/* Tablet and below adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}
