/* Custom styles and overrides */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAFAF7;
}
::-webkit-scrollbar-thumb {
    background: #9bb89c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #729273;
}

/* Selection color */
::selection {
    background: #9bb89c;
    color: #1e2e21;
}

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

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Stat card hover */
.stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}
