
        :root {
            --primary: #0050ff;
            --primary-dark: #0040cc;
            --secondary: #6e06ff;
            --accent: #00d4ff;
            --dark: #0a0e17;
            --darker: #060a14;
            --light: #f0f4ff;
        }
        
        html {
            scroll-behavior: smooth;
            scroll-padding-top: 5rem;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--dark);
            color: var(--light);
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
        }
        
        .text-gradient {
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            display: inline-block;
        }
        
        .animate-gradient {
            background-size: 200% auto;
            animation: gradient 4s ease infinite;
        }
        
        .bg-gradient {
            background: linear-gradient(135deg, #0c1328 0%, #0a0e17 100%);
        }
        
        .card-gradient {
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(10, 14, 23, 0.8) 100%);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }
        
        .hero-gradient {
            background: radial-gradient(circle at 50% 50%, #101728 0%, var(--darker) 100%);
        }
        
        .navbar-blur {
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            background-color: rgba(10, 14, 23, 0.7);
        }
        
        .hover-up {
            transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                        box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        .hover-up:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 30px rgba(0, 80, 255, 0.15);
        }
        
        .grid-mask {
            background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
            background-size: 30px 30px;
            background-position: 0 0;
        }
        
        .glow {
            position: relative;
        }
        
        .glow::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: inherit;
            box-shadow: 0 0 25px rgba(0, 80, 255, 0.5);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .glow:hover::after {
            opacity: 1;
        }
        
        .tech-tag {
            background-color: rgba(0, 80, 255, 0.1);
            border: 1px solid rgba(0, 80, 255, 0.2);
            border-radius: 2rem;
            padding: 0.25rem 0.75rem;
            font-size: 0.8rem;
            color: rgba(240, 244, 255, 0.9);
            transition: all 0.3s ease;
        }
        
        .tech-tag:hover {
            background-color: rgba(0, 80, 255, 0.2);
            transform: translateY(-2px);
        }
        
        .service-card {
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            opacity: 0;
            z-index: -1;
            transition: opacity 0.5s ease;
        }
        
        .service-card:hover::before {
            opacity: 0.1;
        }
        
        .service-icon {
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .service-card:hover .service-icon {
            transform: scale(1.2) translateY(-5px);
            color: var(--primary);
        }
        
        .form-input {
            transition: all 0.3s ease;
            background-color: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .form-input:focus {
            background-color: rgba(15, 23, 42, 0.8);
            border-color: rgba(0, 80, 255, 0.5);
            box-shadow: 0 0 0 3px rgba(0, 80, 255, 0.25);
            transform: translateY(-2px);
        }
        
        .btn-primary {
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
            background-size: 200% auto;
            transition: all 0.5s ease;
            position: relative;
            z-index: 1;
            overflow: hidden;
        }
        
        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
            transition: left 0.7s ease;
            z-index: -1;
        }
        
        .btn-primary:hover {
            background-position: right center;
            box-shadow: 0 10px 20px rgba(0, 80, 255, 0.3);
        }
        
        .btn-primary:hover::before {
            left: 100%;
        }
        
        .animate-float {
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        
        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        .section-title::after {
            content: "";
            display: block;
            width: 80px;
            height: 4px;
            margin-top: 16px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
            border-radius: 2px;
        }
        
        /* Particles */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
        }
        
        .particle {
            position: absolute;
            background: rgba(0, 80, 255, 0.5);
            border-radius: 50%;
            pointer-events: none;
        }
        
        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }
        
        ::-webkit-scrollbar-track {
            background: var(--darker);
        }
        
        ::-webkit-scrollbar-thumb {
            background: var(--primary-dark);
            border-radius: 5px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }
        
        /* Mobile menu */
        .mobile-menu {
            transform: translateX(100%);
            transition: transform 0.3s ease-in-out;
        }
        
        .mobile-menu.show {
            transform: translateX(0);
        }
        
        /* Skill bars */
        .skill-bar {
            height: 8px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.1);
            overflow: hidden;
            position: relative;
        }
        
        .skill-progress {
            height: 100%;
            border-radius: 4px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
            animation: skillProgress 1.5s ease-out forwards;
            transform-origin: left;
            transform: scaleX(0);
        }
        
        @keyframes skillProgress {
            to { transform: scaleX(1); }
        }
        
        /* Core tech icon grid */
        .tech-grid-item {
            transition: all 0.3s ease;
        }
        
        .tech-grid-item:hover {
            transform: scale(1.05);
            background-color: rgba(0, 80, 255, 0.1);
        }
        
        /* Project showcase */
        .project-card {
            overflow: hidden;
            position: relative;
        }
        
        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
            opacity: 0;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.5rem;
        }
        
        .project-card:hover .project-overlay {
            opacity: 1;
        }
        
        .project-card img {
            transition: transform 0.5s ease;
        }
        
        .project-card:hover img {
            transform: scale(1.05);
        }
    

/* Make sure modals are properly positioned for mobile */
#privacyModal, #termsModal {
    align-items: flex-start;
    overflow-y: auto;
    padding: 1rem 0;
}

/* Fix the modal scrolling container */
#privacyModal .overflow-y-auto, 
#termsModal .overflow-y-auto {
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    overscroll-behavior: contain; /* Prevent scroll chaining */
}

/* Ensure modal content has proper spacing */
@media (max-width: 640px) {
    #privacyModal .max-w-2xl, 
    #termsModal .max-w-2xl {
        margin: 1rem;
        max-height: 85vh;
    }
    
    /* Ensure the scrollable container takes up available space */
    #privacyModal .flex-grow,
    #termsModal .flex-grow {
        min-height: 200px; /* Ensure there's enough content to scroll */
    }
}