        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }
        /* Custom hover effects for logos */
        .logo:hover {
            transform: scale(1.1);
            transition: transform 0.3s ease-in-out;
        }

        .custom-hover::before {
        content: "< ";
        color: #1fd655;
        display: none;
        }
    
        .custom-hover:hover::before {
        display: inline;
        }
    
        .custom-hover::after {
            content: " >";
            color: #1fd655;
            display: none;
        }
    
        .custom-hover:hover::after {
        display: inline;
        }

                /* Keyframe Animation for the Sliding Effect */
                @keyframes frame-slide {
            0% {
                transform: translate(-30px, -30px);
                opacity: 0;
            }
            100% {
                transform: translate(0, 0);
                opacity: 1;
            }
        }

        /* Apply the animation to the frame */
        .animate-frame-slide {
            animation: frame-slide 0.8s ease-in-out forwards;
        }

                /* Custom animation for social icons */
                .social-icon:hover {
            transform: translateY(-8px);
            color: #38B2AC;
            transition: transform 0.3s ease-in-out, color 0.3s;
        }
        /* Input and textarea focus styles */
        input:focus, textarea:focus {
            outline: none;
            box-shadow: 0 0 10px 2px #38B2AC;
        }
        /* Button hover effect */
        .btn:hover {
            transform: translateY(-4px);
            background-color: #319795;
            transition: all 0.3s ease-in-out;
        }

        .animate-frame-slide {
            animation: frame-slide 2s infinite;
        }
        @keyframes frame-slide {
            0% { transform: translateX(0); }
            50% { transform: translateX(10px); }
            100% { transform: translateX(0); }
        }
        .custom-hover:hover {
            transform: scale(1.05);
            transition: transform 0.3s;
        }
        .navbar-mobile {
            display: none;
        }
        @media (max-width: 1024px) {
            .navbar-desktop {
                display: none;
            }
            .navbar-mobile {
                display: block;
            }
        }
        /* Styles for mobile menu */
        .mobile-menu {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            position: absolute;
            top: 4rem;
            left: 0;
            width: 100%;
            background-color: #2d3748; /* Match background color of navbar */
            padding: 1rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .mobile-menu a {
            color: #edf2f7; /* Match text color */
            text-align: center;
            font-size: 1.25rem;
        }

        html,body{
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }

        .skill-category {
            background: rgba(30, 41, 59, 0.5);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(34, 197, 94, 0.2);
            border-radius: 16px;
            position: relative;
            padding: 24px;

            transition: transform 0.1s ease;
            transform-style: preserve-3d;
            will-change: transform;
        }
        
        .skill-category:hover {
            border-color: rgba(34, 197, 94, 0.4);
            transform: translateZ(12px);
        }
        
        .skill-tag {
            display: inline-block;
            background: rgba(34, 197, 94, 0.1);
            border: 1px solid rgba(34, 197, 94, 0.3);
            color: #e5e7eb;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            margin: 4px;
            transition: all 0.3s ease;
        }
        
        .skill-tag:hover {
            background: rgba(34, 197, 94, 0.2);
            border-color: rgba(34, 197, 94, 0.5);
            transform: translateY(-2px);
            color: #22c55e;
        }
        
        .skill-category > div.space-y-3 {
            display: flex;
            flex-wrap: wrap;
            margin-top: -4px;
            margin-left: -4px;
        }
        
        .skill-category > div.space-y-3 > .skill-tag {
            margin-top: 8px;
            margin-left: 4px;
        }
        
        .tech-tool {
            padding: 20px 12px;
            background: rgba(30, 41, 59, 0.5);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }
        
        .tech-tool:hover {
            border-color: rgba(34, 197, 94, 0.5);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(34, 197, 94, 0.1);
        }

                /* color variables matching Tailwind-ish palette used in your markup */
        :root{
            --green-500: #10B981; /* text-green-500 */
            --green-600: #059669; /* hover bg */
            --gray-900: #111827;  /* bg-gray-900 */
            --gray-400: #9CA3AF;  /* text-gray-400 */
            --white: #ffffff;
        }

        /* full-screen canvas behind content */
        #particle-canvas {
            position: fixed;
            inset: 0;                 /* top:0; right:0; bottom:0; left:0; */
            z-index: 0;               /* behind your main content (which is z-index: 10 below) */
            pointer-events: none;     /* don't block clicks */
            display: block;
            mix-blend-mode: screen;   /* subtle blend — remove if undesired */
        }

        /* ensure main content sits above the canvas */
        #home {
            position: relative;
            z-index: 10;
        }

        /* optional: reduce motion for users who prefer reduced motion */
        @media (prefers-reduced-motion: reduce) {
            #particle-canvas { display: none; }
        }

        /* Custom cursor styles */

        :root{
        --glass-border: rgba(255,255,255,0.18);
        --accent: rgba(120,255,200,0.9);
        --cursor-size: 10px;
        --ring-size: 40px;
        }

        /* hide native cursor on desktop */
        html.no-touch body { cursor: none; }

        .cursor-ring{
        position: fixed; left:0; top:0;
        pointer-events:none;
        transform: translate3d(-50%,-50%,0);
        z-index:9999; will-change: transform, opacity;
        }


        /* ring (glass) */
        .cursor-ring{
        width:var(--ring-size); height:var(--ring-size); border-radius:50%;
        background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
        border:1px solid var(--glass-border);
        backdrop-filter: saturate(120%);
        -webkit-backdrop-filter: saturate(120%);
        box-shadow: 0 8px 30px rgba(3,6,12,0.6);
        opacity:0.95;
        }

        

        /* hover / active classes applied to body by the script */
        .cursor--hover .cursor-ring{ transform: translate3d(-50%,-50%,0) scale(.75); border-color: rgba(120,255,200,0.65); }
        .cursor--active .cursor-ring{ transform: translate3d(-50%,-50%,0) scale(.55); opacity:0.9; }

        /* hide on small screens */
        @media (max-width:900px){.cursor-ring{ display:none; } html.no-touch body{ cursor:auto; } }

        /* respect reduced motion */
        @media (prefers-reduced-motion: reduce){ .cursor-ring{ transition:none!important; } }


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

        .float-anim { animation: floatY 3s ease-in-out infinite; }

        /* reveal animation */
        .reveal {
        opacity: 0;
        transform: translateY(18px) scale(.995);
        transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.3,1);
        }
        .reveal.in-view {
        opacity: 1;
        transform: translateY(0) scale(1);
        }

        /* top border glow */
        .top-glow::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg,#22c55e,#10b981,#22c55e);
        background-size: 200% 100%;
        opacity: 0;
        transition: opacity .3s;
        pointer-events: none;
        }
        .card-hover:hover .top-glow::after { opacity: 1; }

/* Custom Dropdown Styles */
.custom-dropdown .dropdown-content {
    background: transparent;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(31, 214, 85, 0.15);
    animation: dropdown-slide-down 0.4s ease-out;
    min-width: 220px;
    backdrop-filter: blur(10px);
}

@keyframes dropdown-slide-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.custom-dropdown-menu li {
    margin: 4px 0;
}

.custom-dropdown-menu li a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.custom-dropdown-menu li a:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(31, 214, 85, 0.3);
}

.custom-dropdown-menu li a i {
    margin-right: 12px;
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.custom-dropdown-menu li a:hover i {
    transform: rotate(5deg) scale(1.05);
}

  