    /* Custom styles and overrides */

    html {
        scroll-behavior: smooth;
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f1f5f9;
    }
    ::-webkit-scrollbar-thumb {
        background: #94a3b8;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #64748b;
    }

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

    /* Scroll reveal base — content visible by default for accessibility */
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }

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

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    }

    #navbar.scrolled .logo-text {
        color: #0f172a;
    }

    /* Hero floating cards animation */
    @media (prefers-reduced-motion: no-preference) {
        .float-card-1 {
            animation: float1 6s ease-in-out infinite;
        }
        .float-card-2 {
            animation: float2 7s ease-in-out infinite;
        }
        .float-card-3 {
            animation: float3 5s ease-in-out infinite;
        }
    }

    @keyframes float1 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

    @keyframes float2 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-8px); }
    }

    @keyframes float3 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-12px); }
    }

    /* Custom focus styles */
    button:focus-visible,
    a:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #0d9488;
        outline-offset: 2px;
    }

    /* Smooth image loading */
    img {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

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