    /* Custom styles and overrides */

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

    /* Selection color */
    ::selection {
        background-color: #047857;
        color: white;
    }

    /* Navbar scroll state */
    .nav-logo-text {
        color: #064e3b;
    }

    .nav-logo-sub {
        color: #047857;
    }

    nav.scrolled .nav-logo-text {
        color: #064e3b;
    }

    nav.scrolled .nav-logo-sub {
        color: #047857;
    }

    /* Scroll reveal animations */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    @media (prefers-reduced-motion: no-preference) {
        .scroll-reveal {
            opacity: 0;
            transform: translateY(24px);
        }

        .scroll-reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Staggered reveal delays */
    .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
    .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
    .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
    .scroll-reveal:nth-child(4) { transition-delay: 0.2s; }
    .scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
    .scroll-reveal:nth-child(6) { transition-delay: 0.3s; }

    /* Mobile menu transitions */
    #mobile-menu {
        animation: slideDown 0.2s ease;
    }

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

    /* Focus visible for accessibility */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #059669;
        outline-offset: 2px;
    }

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

    ::-webkit-scrollbar-track {
        background: #ecfdf5;
    }

    ::-webkit-scrollbar-thumb {
        background: #6ee7b7;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #34d399;
    }

    /* Subtle hover lift for cards */
    .group:hover {
        transform: translateY(-2px);
    }

    .group {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Mobile link transitions */
    .mobile-link {
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid #d1fae5;
    }

    .mobile-link:last-child {
        border-bottom: none;
    }
</style>
