    /* Custom styles for Counter Culture Coffee Training Center */

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

    /* Selection color */
    ::selection {
        background-color: rgba(209, 64, 30, 0.2);
        color: inherit;
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #fdf6ea;
    }
    ::-webkit-scrollbar-thumb {
        background: #d48f45;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #b07236;
    }

    /* Scroll reveal base - visible by default for progressive enhancement */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    /* Only apply hidden state when JS is enabled (via .js class) */
    .js .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        .scroll-reveal {
            opacity: 1;
            transform: none;
            transition: none;
        }
        html {
            scroll-behavior: auto;
        }
        .hero-dot, .hero-dot2, .hero-dot3 {
            animation: none;
        }
    }

    /* Hero dot animations */
    @keyframes float {
        0%, 100% { transform: translateY(0px) scale(1); }
        50% { transform: translateY(-20px) scale(1.05); }
    }
    @keyframes float2 {
        0%, 100% { transform: translateY(0px) scale(1); }
        50% { transform: translateY(-15px) scale(1.03); }
    }
    @keyframes float3 {
        0%, 100% { transform: translate(-50%, -50%) scale(1); }
        50% { transform: translate(-50%, -55%) scale(1.08); }
    }
    .hero-dot { animation: float 8s ease-in-out infinite; }
    .hero-dot2 { animation: float2 10s ease-in-out infinite; }
    .hero-dot3 { animation: float3 12s ease-in-out infinite; }

    /* Navbar scroll state */
    .nav-scrolled {
        background-color: rgba(8, 21, 38, 0.95) !important;
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(255,255,255,0.08);
    }

    /* Mobile menu transitions */
    #mobileMenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.35s ease;
        opacity: 0;
    }
    #mobileMenu.open {
        max-height: 400px;
        opacity: 1;
    }

    /* Mobile link transition */
    .mobile-link {
        transform: translateX(-8px);
        opacity: 0;
        transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.15s ease;
    }
    #mobileMenu.open .mobile-link {
        transform: translateX(0);
        opacity: 1;
    }
    #mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
    #mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
    #mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
    #mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
    #mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

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

    /* Form input transitions */
    input, select, textarea {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    /* Card hover effects */
    .scroll-reveal.group {
        will-change: transform, box-shadow;
    }

    /* Image hover zoom */
    .overflow-hidden img {
        transition: transform 0.5s ease;
    }
