* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }

        :root {
            --primary-color: #4a90e2;
            --dark-bg: #0a192f;
            --card-bg: #112240;
            --text-primary: #ffffff;
            --text-secondary: #8892b0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--dark-bg);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            width: 100%;
            max-width: 100%;
        }

        #canvas-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            opacity: 0.2;
        }

        /* Hero Section */
        #home {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 0 5%;
            position: relative;
            z-index: 1;
        }

        .hero-content {
            max-width: 1400px;
            margin-left: 0;
            text-align: left;
            width: 100%;
        }

        .hero-content h1 {
            font-size: clamp(2.5rem, 8vw, 4.5rem);
            margin-bottom: 1rem;
            font-weight: bold;
        }

        .typing-text {
            font-size: clamp(1.5rem, 5vw, 2rem);
            color: var(--primary-color);
            height: auto;
            min-height: 2.5rem;
            margin: 1rem 0;
        }

        .description {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 1.5rem 0;
        }

        .social-links {
            display: flex;
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .nav-links {
            display: flex;
            gap: 1rem;  /* Reduced from 2rem to 1rem */
            margin-top: 2rem;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s;
            font-size: 1.1rem;
            padding: 0.5rem;  /* Reduced from 1rem to 0.5rem */
        }

        .nav-links a:hover {
            color: var(--primary-color);
        }

        .social-icons {
            display: flex;
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .icon-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .icon-link:hover {
            color: var(--primary-color);
            background-color: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        .icon-link svg {
            width: 24px;
            height: 24px;
        }

        /* Rest of your existing CSS remains the same */
        
        /* Projects Section */
        #projects {
            padding: 100px 5%;
            position: relative;
            z-index: 1;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: var(--text-primary);
        }

        .filter-buttons {
            display: flex;
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .filter-btn {
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 25px;
            background-color: var(--card-bg);
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .filter-btn:hover, .filter-btn.active {
            background-color: var(--primary-color);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .project-card {
            background-color: var(--card-bg);
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .project-card:hover {
            transform: translateY(-10px);
        }

        .project-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            max-width: 100%;
        }

        .project-info {
            padding: 1.5rem;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .project-title {
            font-size: 1.25rem;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .project-description {
            color: var(--text-secondary);
            margin-bottom: 1rem;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .learn-more-btn {
            display: inline-block;
            padding: 0.8rem 1.5rem;
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s;
        }

        .learn-more-btn:hover {
            background-color: #357abd;
        }

        /* Contact Section */
        #contact {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 5%;
            position: relative;
            z-index: 1;
        }

        .contact-content {
            text-align: center;
            max-width: 600px;
        }

        .contact-content p {
            color: var(--text-secondary);
            margin: 1.5rem 0;
            font-size: 1.1rem;
        }

        .contact-btn {
            display: inline-block;
            padding: 1rem 2rem;
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }

        .contact-btn:hover {
            background-color: #357abd;
            transform: translateY(-3px);
        }

        @media (max-width: 768px) {
            .hero-content {
                margin-left: 0;
            }
            
            .nav-container {
                padding: 0 5%;
            }
            
            .filter-buttons {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .filter-btn {
                margin-bottom: 0.5rem;
            }
            
            .section-title {
                font-size: 2rem;
                text-align: center;
            }
            
            .contact-content p {
                padding: 0 1rem;
            }
            
            .contact-btn {
                padding: 0.8rem 1.5rem;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 2.5rem;
            }
            
            .typing-text {
                font-size: 1.2rem;
            }
            
            .description {
                font-size: 1rem;
            }
            
            .nav-links {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .social-icons {
                justify-content: center;
            }
            
            .icon-link {
                width: 40px;
                height: 40px;
            }
            
            .project-card {
                min-width: 0;
                width: 100%;
            }
            
            .learn-more-btn {
                padding: 0.6rem 1.2rem;
                font-size: 0.9rem;
            }
            
            .projects-grid {
                grid-template-columns: 1fr;
            }
            
            .filter-buttons {
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .filter-btn {
                margin: 0.25rem;
                padding: 0.6rem 1rem;
                font-size: 0.9rem;
            }
        }

        /* Special styling for Kasa AI image */
        img[src="src/kasa.png"] {
            object-fit: contain;
            background-color: var(--dark-bg);
        }
