    /* Custom styles and overrides */
    
    html {
        scroll-behavior: smooth;
    }

    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Selection color */
    ::selection {
        background-color: #1B4332;
        color: #FAFAF7;
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #b9d4bc;
    }

    /* Navigation transitions */
    .nav-text {
        transition: color 0.5s ease;
    }

    .nav-subtext {
        transition: color 0.5s ease;
    }

    .nav-logo-path {
        transition: stroke 0.5s ease;
    }

    /* When scrolled */
    body.scrolled .nav-text {
        color: #1B4332;
    }

    body.scrolled .nav-subtext {
        color: #1B4332;
    }

    body.scrolled .nav-logo-path {
        stroke: #1B4332;
    }

    /* Reveal animations */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Mobile menu */
    .menu-line {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    #menuBtn.active .menu-line:first-child {
        transform: rotate(45deg) translate(3px, 3px);
    }

    #menuBtn.active .menu-line:last-child {
        transform: rotate(-45deg) translate(2px, -2px);
    }

    /* Mobile links */
    .mobile-link {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .mobile-menu-open .mobile-link {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
    .mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
    .mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
    .mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
    .mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

    /* Input focus styles */
    input:focus,
    textarea:focus {
        box-shadow: 0 0 0 1px currentColor;
    }

    /* Image hover effects */
    .reveal img {
        transition: transform 0.6s ease;
    }

    /* Smooth image loading */
    img {
        image-rendering: -webkit-optimize-contrast;
    }

    /* Form button ripple */
    button[type="submit"] {
        position: relative;
        overflow: hidden;
    }

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

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
        }
        
        html {
            scroll-behavior: auto;
        }
        
        .reveal {
            opacity: 1;
            transform: none;
        }
    }

    /* High contrast mode */
    @media (prefers-contrast: high) {
        .bg-forest-700 {
            background-color: #000;
        }
        
        .text-forest-700 {
            color: #000;
        }
    }

    /* Focus visible for keyboard navigation */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #1B4332;
        outline-offset: 2px;
    }
