/* Custom overrides and additional styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F0FFF4;
}
::-webkit-scrollbar-thumb {
    background: #9AE6B4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #48BB78;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #48BB78;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Subtle gradient text for special elements */
.gradient-text {
    background: linear-gradient(135deg, #1A3A5C 0%, #38A169 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animation for mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 20px rgba(26, 58, 92, 0.08);
}

/* Service card hover effect */
.service-card:hover {
    box-shadow: 0 20px 40px rgba(26, 58, 92, 0.1);
}

/* Ensure all images have smooth loading */
img {
    image-rendering: auto;
}

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