 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            cursor: none;
        }
        
        html {
            scroll-behavior: auto; /* Use GSAP ScrollTo for smooth scrolling to prevent jitter */
        }
        
        :root {
            --primary-color: #3b82f6;
            --secondary-color: #1e40af;
            --accent-color: #06b6d4;
            --text-primary: #1f2937;
            --text-secondary: #6b7280;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-card: #ffffff;
            --border-color: #e5e7eb;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }

        [data-theme="dark"] {
            --text-primary: #f9fafb;
            --text-secondary: #d1d5db;
            --bg-primary: #0a0a0a;
            --bg-secondary: #111111;
            --bg-card: #1a1a1a;
            --border-color: #4b5563;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.8);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.8);
        }

        /* Custom Cursor */
        .cursor {
            position: fixed;
            width: 20px;
            height: 20px;
            background: var(--primary-color);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            mix-blend-mode: difference;
            transition: transform 0.1s ease;
        }

        

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--bg-primary);
            transition: all 0.3s ease;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        [data-theme="dark"] .navbar {
            background: rgba(10, 10, 10, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .theme-toggle {
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            color: var(--text-primary);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .theme-toggle:hover {
            transform: scale(1.1);
            background: rgba(59, 130, 246, 0.2);
        }

        /* Hero Section */
        .hero {
              min-height: calc(100vh + 100px); /* Extend hero section height */
                display: flex;
                align-items: center;
                background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
                padding-top: 80px;
                position: relative;
                overflow: hidden;
                padding-bottom: 120px; /* Add bottom padding to accommodate the button */
        }

        #particles-container {
           position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: calc(100% + 100px); /* Extend height to cover the button area */
            z-index: 0;
            pointer-events: none;
        }

        .hero-content {
            position: relative;
          
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        


        .hero-text h1 {
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            opacity: 0;
            transform: translateY(50px);
        }

        .hero-text .subtitle {
            font-size: 1.5rem;
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            opacity: 0;
            transform: translateY(30px);
        }

        .hero-text p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.8;
            opacity: 0;
            transform: translateY(30px);
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            opacity: 0;
            transform: translateY(30px);
        }

        .typing-cursor {
            display: inline-block;
            background-color: var(--primary-color);
            margin-left: 3px;
            width: 3px;
            animation: blink 1s infinite;
        }

            @keyframes blink {
                0%, 50% { opacity: 1; }
                51%, 100% { opacity: 0; }
            }

        .btn {
            padding: 0.75rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.4s ease;
            border: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            overflow: hidden;
        }

        .btn::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: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
        }

        .btn-outline {
            background: rgba(255, 255, 255, 0.1);
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            backdrop-filter: blur(10px);
        }

        .btn-outline:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }

        .hero-image {
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transform: scale(0.8);
        }

        .hero-avatar {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            position: relative;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            padding: 4px;

            Display: flex;
            align-items: center;
            justify-content: center;
            font-size: 8rem;
            color: white;
            animation: float 6s ease-in-out infinite;
        }
        
        .profile-image {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .hero-avatar::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
            border-radius: 50%;
            z-index: -1;
            animation: rotate 3s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Game Banner Styles */
        .game-banner {
            position: relative;
            background: linear-gradient(135deg, #1e3a8a, #3730a3);
            padding: 4rem 0;
            z-index: 100;
            transform: translateY(100px);
            opacity: 0;
        }
        
        .game-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 2rem;
            height: 500px;
        }
        
        .game-info {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 1rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            box-shadow: var(--shadow-lg);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .game-area {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 1rem;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .bug {
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.2s ease;
            border-radius: 50%;
            animation: float-bug 3s ease-in-out infinite;
        }
        
        @keyframes float-bug {
            0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
            33% { transform: translateY(-15px) rotate(120deg) scale(1.1); }
            66% { transform: translateY(10px) rotate(240deg) scale(0.9); }
        }

        /* Section Styles */
        .section {
            padding: 8rem 0;
            position: relative;
        }

        .section-title {
            font-size: 3rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 3rem;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            opacity: 0;
            transform: translateY(50px);
        }

        .section-subtitle {
            text-align: center;
            color: var(--text-secondary);
            font-size: 1.2rem;
            margin-bottom: 4rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0;
            transform: translateY(30px);
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            align-items: center;
        }

        .about-image {
            width: 100%;
            height: 400px;
            border-radius: 2rem;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .about-image:hover::before {
            transform: translateX(100%);
        }

        .education-item {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 1rem;
            margin-bottom: 1.5rem;
            border-left: 4px solid var(--primary-color);
            box-shadow: var(--shadow-lg);
            transition: all 0.3s ease;
            transform: translateX(-50px);
            opacity: 0;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .education-item:hover {
            transform: translateX(10px) translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1.5rem;
            margin-top: 3rem;
            perspective: 1000px;
        }

        .skill-item {
            background: var(--bg-card);
            padding: 2rem 1rem;
            border-radius: 1rem;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.4s ease;
            transform: rotateY(0deg) translateZ(0);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .skill-item:hover {
            transform: rotateY(10deg) translateZ(20px) translateY(-10px);
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            perspective: 1000px;
        }

        .project-card {
            background: var(--bg-card);
            border-radius: 1.5rem;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.4s ease;
            transform: translateY(50px) rotateX(5deg);
            opacity: 0;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1.5rem; /* ← add this */
            transform-style: preserve-3d;
            will-change: transform;
        }

        .project-card:hover {
            transform: translateY(-20px) rotateX(-5deg) rotateY(5deg);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
        }

        .project-image {
            height: 200px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: white;
            position: relative;
            overflow: hidden;
            
             border-radius: 1rem;
        }

        .project-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .project-card:hover .project-image::before {
            transform: translateX(100%);
        }
        .project-link {
            padding: 0.5rem 1rem;
            border-radius: 0.25rem;
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .project-link.primary {
            background: var(--primary-color);
            color: white;
        }

        .project-link.secondary {
            background: transparent;
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }

        /* Certifications Section */
        .certifications-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            perspective: 1000px;
        }

        .cert-card {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 1.5rem;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.4s ease;
            transform: rotateY(0deg) translateZ(0);
            opacity: 0;
            transform: translateY(50px) scale(0.9);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transform-style: preserve-3d;
            will-change: transform;
        }

        .cert-card:hover {
            transform: rotateY(10deg) translateZ(30px) scale(1.05);
            box-shadow: 0 25px 50px rgba(59, 130, 246, 0.3);
        }

        .cert-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1rem;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: white;
            transition: all 0.3s ease;
        }

        .cert-card:hover .cert-icon {
            transform: rotateY(180deg);
        }

        /* Services Section */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 1.5rem;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.4s ease;
            border-top: 4px solid var(--primary-color);
            transform: translateY(30px);
            opacity: 0;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .service-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
        }

        /* Contact Section */
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            opacity: 0;
            transform: translateY(50px);
            align-items: start; /* Align items to start instead of stretch */
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            padding: 1.5rem;
            border-radius: 1rem;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .contact-item:hover {
            background: rgba(59, 130, 246, 0.1);
            transform: translateX(10px);
            box-shadow: var(--shadow);
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            flex-shrink: 0; /* Prevent icon from shrinking */
        }

        .contact-item div:last-child {
            flex: 1;
        }

        .contact-item h4 {
            margin: 0 0 0.5rem 0;
            font-size: 1.1rem;
            color: var(--text-primary);
            font-weight: 600;
        }

        .contact-item p {
            margin: 0;
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        .contact-form {
            background: var(--bg-card);
            padding: 2.5rem;
            border-radius: 1.5rem;
            box-shadow: var(--shadow-lg);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            height: fit-content; /* Prevent stretching */
        }

        .contact-form h3 {
            margin: 0 0 2rem 0;
            color: var(--text-primary);
            font-size: 1.5rem;
            text-align: center;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
            font-weight: 500;
            font-size: 0.9rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 0.75rem;
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-primary);
            font-size: 1rem;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            font-family: inherit;
            resize: vertical; /* Allow vertical resize for textarea */
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            background: rgba(59, 130, 246, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: var(--text-secondary);
            opacity: 0.7;
        }

        .form-group textarea {
            min-height: 120px;
            max-height: 200px;
        }

                /* Dark theme adjustments */
        [data-theme="dark"] .form-group input,
        [data-theme="dark"] .form-group textarea {
            background: rgba(255, 255, 255, 0.03);
            border-color: rgba(255, 255, 255, 0.1);
        }

        [data-theme="dark"] .form-group input:focus,
        [data-theme="dark"] .form-group textarea:focus {
            background: rgba(59, 130, 246, 0.1);
            border-color: var(--primary-color);
        }

        [data-theme="dark"] .contact-item {
            background: rgba(255, 255, 255, 0.03);
        }

        [data-theme="dark"] .contact-item:hover {
            background: rgba(59, 130, 246, 0.1);
        }

        /* Submit button styling */
        .contact-form .btn {
            width: 100%;
            margin-top: 1rem;
            justify-content: center;
            font-size: 1rem;
            padding: 1rem 2rem;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .contact-content {
                gap: 3rem;
            }
            
            .contact-form {
                padding: 2rem;
            }
        }

        @media (max-width: 768px) {
            .contact-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .contact-item {
                padding: 1.25rem;
            }
            
            .contact-form {
                padding: 1.5rem;
            }
            
            .contact-icon {
                width: 45px;
                height: 45px;
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .contact-item {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }
            
            .contact-item:hover {
                transform: translateY(-5px);
            }
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
            padding: 3rem 0;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
        }
        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .social-link:hover::before {
            transform: translateX(100%);
        }

        .social-link:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
        }

        /* WhatsApp Float Button */
        .whatsapp-float {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #25d366, #128c7e);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            text-decoration: none;
            box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .whatsapp-float:hover {
            transform: scale(1.1) translateY(-5px);
            box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-text h1 {
                font-size: 2.5rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .contact-content {
                grid-template-columns: 1fr;
            }

            .game-content {
                grid-template-columns: 1fr;
                height: auto;
            }

            .skills-grid {
                grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            }
        }

        /* Parallax layers */
        .parallax-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 120%;
            background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
            z-index: -1;
            opacity: 0.9;
        }

        .parallax-mid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 110%;
            background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
            z-index: 1;
        }

        /* Loading animation */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-primary);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s ease;
        }

        .loading.hidden {
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .loader {
            position: relative;
            width: 180px;
            height: 180px;
            display: flex;
            justify-content: center;
            align-items: center;
            transform-style: preserve-3d;
            transform: perspective(500px) rotateX(45deg);
        }

        .loader span {
            position: absolute;
            display: block;
            border: 15px solid var(--primary-color); /* Use theme colors */
            box-sizing: border-box;
            border-radius: 50%;
            box-shadow: 0 10px 0 var(--accent-color), inset 0 10px 0 var(--accent-color);
            animation: animate_5013 4.5s ease-in-out infinite;
        }

        .loader span:nth-child(1) {
            animation-delay: 0s;
        }

        .loader span:nth-child(2) {
            animation-delay: 1.5s;
        }

        .loader span:nth-child(3) {
            animation-delay: 3s;
        }

        @keyframes animate_5013 {
            0% {
                transform: translateZ(-100px);
                width: 100%;
                height: 100%;
            }
            25% {
                transform: translateZ(100px);
                width: 100%;
                height: 100%;
            }
            50% {
                transform: translateZ(100px);
                width: 35%;
                height: 35%;
            }
            75% {
                transform: translateZ(-100px);
                width: 35%;
                height: 35%;
            }
            100% {
                transform: translateZ(-100px);
                width: 100%;
                height: 100%;
            }
}

        /* Dark theme support for loader */
        [data-theme="dark"] .loader span {
            border-color: var(--primary-color);
            box-shadow: 0 10px 0 var(--accent-color), inset 0 10px 0 var(--accent-color);
        }

        .plexus-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
            pointer-events: none;
        }
        
        .plexus-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.6;
        }
        
        [data-theme="dark"] .plexus-canvas {
            opacity: 0.8;
        }
        
        /* Update existing sections to include plexus background */
        .section:not(#home) {
            position: relative;
            overflow: hidden;
        }
        
        .section:not(#home)::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-primary);
            z-index: -2;
        }
        
        
        /* Ensure content stays above plexus */
        .section .container {
            position: relative;
            z-index: 2;
        }
        
        /* Optional: Add subtle animation to plexus */
        .plexus-background {
            animation: plexusFloat 20s ease-in-out infinite alternate;
        }
        
        @keyframes plexusFloat {
            0% { transform: translateY(0px); }
            100% { transform: translateY(-10px); }
        }

        /* Motivation Quote Section */
        .motivation-content {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            padding: 4rem 0;
            position: relative;
            z-index: 2;
        }

        .quote-icon {
            font-size: 3rem;
            color: var(--accent-color);
            margin-bottom: 2rem;
            opacity: 0.8;
        }

        .motivation-quote {
            font-size: 1.8rem;
            font-style: italic;
            line-height: 1.6;
            color: var(--text-primary);
            margin: 0 0 2rem 0;
            position: relative;
            font-weight: 300;
        }

        .quote-author {
            display: block;
            font-size: 1.1rem;
            color: var(--accent-color);
            font-weight: 500;
            margin-bottom: 2rem;
            font-style: normal;
        }

        .motivation-subtitle {
            font-size: 1.1rem;
            color: var(--text-secondary);
            line-height: 1.6;
            max-width: 600px;
            margin: 0 auto;
        }

        .motivation-subtitle p {
            margin: 0;
        }

        /* Responsive design for motivation section */
        @media (max-width: 768px) {
            .motivation-quote {
                font-size: 1.4rem;
            }
            
            .quote-icon {
                font-size: 2.5rem;
            }
            
            .motivation-content {
                padding: 3rem 1rem;
            }
        }

        @media (max-width: 480px) {
            .motivation-quote {
                font-size: 1.2rem;
            }
            
            .quote-icon {
                font-size: 2rem;
            }
        }
