        body {
            background-color: #050B14;
            color: #ffffff;
            overflow-x: hidden;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #050B14;
        }
        ::-webkit-scrollbar-thumb {
            background: #06B6D4;
            border-radius: 4px;
        }

        /* Loader */
        #loader {
            position: fixed;
            inset: 0;
            background: #050B14;
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            transition: opacity 0.8s ease-out, visibility 0.8s;
        }

        .loader-circuit {
            width: 100px;
            height: 100px;
            border: 2px solid rgba(6, 182, 212, 0.3);
            border-radius: 50%;
            border-top-color: #06B6D4;
            animation: spin 1s linear infinite, glow 2s ease-in-out infinite alternate;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        @keyframes glow {
            from { box-shadow: 0 0 10px #06B6D4, 0 0 20px #06B6D4; }
            to { box-shadow: 0 0 20px #06B6D4, 0 0 40px #06B6D4; }
        }

        /* 3D Canvas Background */
        #canvas-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.6;
            pointer-events: none;
        }

        /* Glassmorphism Utilities */
        .glass-nav {
            background: rgba(5, 11, 20, 0.7);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }

        .glass-card:hover {
            border-color: rgba(6, 182, 212, 0.5);
            box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
            transform: translateY(-5px);
        }

        /* Text Gradients */
        .text-gradient {
            background: linear-gradient(135deg, #ffffff 0%, #06B6D4 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .text-gradient-blue {
            background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Neon Button */
        .btn-neon {
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            z-index: 1;
        }
        .btn-neon::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
            z-index: -1;
        }
        .btn-neon:hover::before {
            left: 100%;
        }
        .btn-neon:hover {
            box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
            border-color: #06B6D4;
        }

        /* Marquee for Tech Stack */
        .marquee-container {
            overflow: hidden;
            white-space: nowrap;
            position: relative;
            display: flex;
        }
        .marquee-content {
            display: flex;
            gap: 4rem; /* Match gap in HTML */
            animation: marquee 30s linear infinite;
            padding-right: 4rem; /* Match gap to ensure smoothness */
        }
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); } /* Move full width of one set */
        }

        /* Floating Animation */
        .animate-float {
            animation: float 6s ease-in-out infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        /* 3D Tilt Effect on Cards */
        .tilt-card {
            transform-style: preserve-3d;
        }

        /* Custom selection color */
        ::selection {
            background: #06B6D4;
            color: #000;
        }

        /* Hover class for tech items */
        .tech-item {
            transition: all 0.3s ease;
            cursor: default;
        }
        .tech-item:hover {
            color: #06B6D4; /* Brand Accent */
            text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
            transform: scale(1.1);
        }

                /* Project Card Styles */
        .project-card {
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
            transition: 0.5s;
            z-index: 1;
        }

        .project-card:hover::before {
            left: 100%;
        }

        /* Tech tag styles */
        .tech-tag {
            background: rgba(15, 23, 42, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .tech-tag:hover {
            border-color: #06B6D4;
            transform: translateY(-2px);
        }

        /* Portfolio icon animation */
        .portfolio-icon {
            transition: all 0.3s ease;
        }

        .portfolio-icon:hover {
            transform: scale(1.1);
            box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
        }
        /* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Mobile Menu Styling */
    #mobile-menu {
        display: flex !important;
    }

    /* Container padding adjustment for mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Typography scaling for mobile */
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    h3 {
        font-size: 1.75rem !important;
    }

    /* Hero section adjustments */
    .hero-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
    }

    /* Service cards full width on mobile */
    .service-grid {
        grid-template-columns: 1fr !important;
    }

    /* Project cards full width on mobile */
    .project-grid {
        grid-template-columns: 1fr !important;
    }

    /* Team cards full width on mobile */
    .team-grid {
        grid-template-columns: 1fr !important;
    }

    /* Contact form adjustments */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    /* Footer adjustments */
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    /* Button sizing for mobile */
    .btn-neon, .glass-card {
        padding: 0.75rem 1.5rem !important;
    }

    /* Reduce glow effects on mobile for performance */
    .glass-card:hover {
        transform: translateY(-2px);
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet grid adjustments */
    .service-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Typography scaling for tablet */
    h1 {
        font-size: 3.5rem !important;
    }

    /* Container padding adjustment for tablet */
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Mobile menu specific fixes */
@media (max-width: 768px) {
    #mobile-menu a {
        font-size: 1.5rem !important;
        padding: 0.5rem 0;
    }

    /* Ensure mobile menu is properly positioned */
    #mobile-menu {
        z-index: 9999;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Fix for mobile navigation toggle */
.mobile-menu-btn {
    display: block;
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}
/* Email Modal Styles */
#email-modal {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Form input styles for the floating labels */
.relative.group input:focus ~ label,
.relative.group input:valid ~ label,
.relative.group textarea:focus ~ label,
.relative.group textarea:valid ~ label {
    top: -0.5rem;
    background: #050B14;
    padding: 0 0.5rem;
    color: #06B6D4;
    font-size: 0.75rem;
}

/* Ensure form inputs have proper styling */
.relative.group input,
.relative.group textarea {
    background: #0F172A;
    border: 1px solid #374151;
}

.relative.group input:focus,
.relative.group textarea:focus {
    border-color: #06B6D4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}
/* Fix Mobile Menu Styling */
#mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9998;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#mobile-menu.translate-x-full {
    transform: translateX(100%);
}

#mobile-menu:not(.translate-x-full) {
    transform: translateX(0);
}

/* Mobile Menu Links */
#mobile-menu a {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    margin: 1rem 0;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-align: center;
}

#mobile-menu a:hover {
    color: #06B6D4;
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

/* Mobile Menu Close Button */
#mobile-menu button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 9999;
}

/* Mobile Menu Open State */
body.menu-open {
    overflow: hidden;
}

/* Show Mobile Menu on Mobile Only */
@media (max-width: 768px) {
    #mobile-menu {
        display: flex;
    }
}

/* Hide Mobile Menu on Desktop */
@media (min-width: 769px) {
    #mobile-menu {
        display: none !important;
    }
}