    /* Custom styles beyond Tailwind */

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

    /* Gold accent scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0f172a;
    }
    ::-webkit-scrollbar-thumb {
        background: #334155;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #d4a853;
    }

    /* Selection color */
    ::selection {
        background: #0d9488;
        color: #f8fafc;
    }

    /* Reveal animations - progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Default state: always visible for accessibility */
    @media (prefers-reduced-motion: reduce) {
        .reveal {
            opacity: 1;
            transform: none;
        }
    }

    /* Gold shimmer on hover for cards */
    .reveal:hover .group-hover\:scale-110 {
        transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    /* Input autofill styling */
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    textarea:-webkit-autofill,
    textarea:-webkit-autofill:hover,
    textarea:-webkit-autofill:focus {
        -webkit-text-fill-color: #f8fafc;
        -webkit-box-shadow: 0 0 0px 1000px #0f172a inset;
        transition: background-color 5000s ease-in-out 0s;
    }

    /* Select styling */
    select option {
        background: #1e293b;
        color: #f8fafc;
    }

    /* Subtle gradient animation for hero background */
    @keyframes gradientShift {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
    }

    /* Navbar glass effect */
    #navbar.scrolled {
        background: rgba(2, 6, 23, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(212, 168, 83, 0.1);
    }

    /* Image hover zoom effect */
    img {
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Button ripple effect */
    button, a {
        position: relative;
        overflow: visible;
    }
