/* Pixel Cute Portfolio CSS */
        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
       
        :root {
            --primary: #ff6ba9;
            --secondary: #7ad4b9;
            --accent: #5a3d5c;
            --light: #ffcfe4;
            --dark: #3d2a3f;
            --text: #5a3d5c;
            --bg: #ffcfe4;
        }
       
        body {
            font-family: 'Courier New', monospace;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
            padding: 20px;
            background-image:
                radial-gradient(#ff9ecb 2px, transparent 2px),
                radial-gradient(#ff9ecb 2px, transparent 2px);
            background-size: 40px 40px;
            background-position: 0 0, 20px 20px;
        }

        /* Loader Styles */
        #loader-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--bg);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.75s ease, visibility 0.75s;
        }

        .loader-heart {
            width: 50px;
            height: 50px;
            background-color: var(--primary);
            position: relative;
            transform: rotate(-45deg);
            animation: heartbeat 1.2s infinite ease-in-out;
        }

        .loader-heart::before,
        .loader-heart::after {
            content: "";
            width: 50px;
            height: 50px;
            background-color: var(--primary);
            border-radius: 50%;
            position: absolute;
        }

        .loader-heart::before {
            top: -25px;
            left: 0;
        }

        .loader-heart::after {
            top: 0;
            left: 25px;
        }

        #loader-wrapper.hidden {
            opacity: 0;
            visibility: hidden;
        }
       
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background-color: rgba(255, 255, 255, 0.9);
            border: 4px solid var(--accent);
            box-shadow: 8px 8px 0 var(--accent);
            padding: 20px;
            position: relative;
            overflow: hidden;
        }
       
        /* Pixel borders */
        .pixel-border {
            border: 4px solid var(--accent);
            box-shadow: 4px 4px 0 #8a6d8c;
            position: relative;
        }
       
        /* Header & Navigation */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            background-color: #ff9ecb;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
       
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: var(--accent);
            text-shadow: 2px 2px 0 var(--primary);
            animation: bounceIn 1s ease-in-out;
        }
       
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--accent);
            cursor: pointer;
        }
       
        nav ul {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
        }
       
        nav li {
            margin-left: 20px;
        }
       
        nav a {
            color: var(--accent);
            text-decoration: none;
            font-weight: bold;
            padding: 5px 10px;
            transition: all 0.3s;
            position: relative;
        }
       
        nav a:hover {
            color: var(--primary);
            background-color: var(--accent);
            transform: translateY(-3px);
        }
       
        nav a:hover::after {
            content: " ♥";
        }
       
        /* Hero Section */
        .hero {
            text-align: center;
            padding: 40px 20px;
            margin-bottom: 30px;
            background-color: var(--secondary);
            position: relative;
            animation: fadeIn 1s ease-in-out;
        }
       
        .hero h1 {
            font-size: 36px;
            margin-bottom: 10px;
            color: var(--accent);
            text-shadow: 3px 3px 0 #7ad4b9;
            animation: slideInFromLeft 1s ease-in-out;
        }
       
        .tagline {
            font-size: 20px;
            margin-bottom: 20px;
            color: var(--primary);
            animation: slideInFromRight 1s ease-in-out;
        }
       
        .profile-img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 4px solid var(--accent);
            box-shadow: 4px 4px 0 #8a6d8c;
            margin: 0 auto 20px;
            background: linear-gradient(45deg, #ff9ecb, #c5f9e6);
            image-rendering: pixelated;
            animation: pulse 2s infinite;
            overflow: hidden;
        }

        .profile-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
       
        /* Section Styles */
        section {
            margin-bottom: 40px;
            padding: 20px;
        }
       
        h2 {
            font-size: 28px;
            margin-bottom: 20px;
            color: var(--accent);
            text-shadow: 2px 2px 0 #ff9ecb;
            border-bottom: 3px dotted #ff9ecb;
            padding-bottom: 10px;
        }
       
        /* Projects */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
       
        .project-card {
            background-color: #f4f4f4;
            padding: 15px;
            border: 3px solid var(--accent);
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
        }
       
        .project-card:hover {
            transform: translate(-5px, -5px) rotate(1deg);
            box-shadow: 8px 8px 0 var(--accent);
        }

        .project-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            margin-bottom: 15px;
            border: 3px solid var(--accent);
            image-rendering: pixelated;
        }
       
        .project-title {
            font-size: 20px;
            color: var(--primary);
            margin-bottom: 10px;
        }
       
        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 10px 0;
        }
       
        .tech-tag {
            background-color: var(--secondary);
            color: var(--accent);
            padding: 4px 8px;
            font-size: 12px;
            border: 2px solid var(--accent);
        }
       
        .project-links {
            display: flex;
            gap: 10px;
            margin-top: auto; /* Pushes links to the bottom */
            padding-top: 15px;
            flex-wrap: wrap;
        }
       
        /* Skills */
        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
       
        .skill-category {
            background-color: #f4f4f4;
            padding: 15px;
            border: 3px solid var(--accent);
        }
       
        .skill-title {
            font-size: 18px;
            color: var(--primary);
            margin-bottom: 15px;
            text-align: center;
        }
       
        .skill-list {
            list-style: none;
        }
       
        .skill-list li {
            margin-bottom: 10px;
            padding-left: 25px;
            position: relative;
            display: flex;
            align-items: center;
        }
       
        .skill-list li i {
            margin-right: 10px;
            color: var(--primary);
            width: 20px;
            text-align: center;
        }
       
        /* Contact */
        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
       
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
       
        .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
        }
       
        .contact-icon {
            width: 40px;
            height: 40px;
            background-color: #ff9ecb;
            border: 2px solid var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
        }
       
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
       
        .social-link {
            width: 40px;
            height: 40px;
            background-color: var(--secondary);
            border: 2px solid var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: var(--accent);
            transition: all 0.3s;
        }
       
        .social-link:hover {
            transform: translate(-3px, -3px) rotate(-5deg);
            box-shadow: 3px 3px 0 var(--accent);
        }
       
        .contact-form .form-group {
            margin-bottom: 15px;
        }
       
        .contact-form label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
       
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 10px;
            border: 2px solid var(--accent);
            background-color: #f4f4f4;
            font-family: 'Courier New', monospace;
        }
       
        .contact-form textarea {
            min-height: 120px;
            resize: vertical;
        }
       
        /* Buttons */
        .btn {
            display: inline-block;
            padding: 10px 20px;
            background-color: var(--primary);
            color: white;
            border: 2px solid var(--accent);
            cursor: pointer;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            text-decoration: none;
            transition: all 0.3s;
            box-shadow: 3px 3px 0 var(--accent);
        }
       
        .btn:hover {
            transform: translate(-2px, -2px) scale(1.05);
            box-shadow: 5px 5px 0 var(--accent);
        }
       
        .btn-secondary {
            background-color: var(--secondary);
        }
       
        /* Footer */
        footer {
            text-align: center;
            padding: 20px;
            margin-top: 40px;
            background-color: #ff9ecb;
            color: var(--accent);
            font-weight: bold;
        }
       
        /* Pixel elements */
        .pixel {
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: var(--primary);
            border: 1px solid var(--accent);
            animation: float 5s infinite;
        }
       
        /* Dark Mode Toggle */
        .theme-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            background-color: var(--primary);
            border: 2px solid var(--accent);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100;
            box-shadow: 3px 3px 0 var(--accent);
        }
       
        /* Dark Mode Styles */
        body.dark-mode {
            --text: #ffcfe4;
            --bg: #3d2a3f;
            background-image:
                radial-gradient(#6a4c6c 2px, transparent 2px),
                radial-gradient(#6a4c6c 2px, transparent 2px);
        }
        
        body.dark-mode #loader-wrapper {
            background-color: var(--bg);
        }
       
        body.dark-mode .container {
            background-color: rgba(90, 61, 92, 0.9);
            border-color: #ff9ecb;
            box-shadow: 8px 8px 0 #ff9ecb;
        }
       
        body.dark-mode .pixel-border {
            border-color: #ff9ecb;
            box-shadow: 4px 4px 0 #ff6ba9;
        }
       
        body.dark-mode header {
            background-color: #6a4c6c;
        }
       
        body.dark-mode .hero {
            background-color: #2a5c4c;
        }
       
        body.dark-mode h2 {
            color: #ff9ecb;
            text-shadow: 2px 2px 0 #6a4c6c;
            border-bottom-color: #6a4c6c;
        }
       
        body.dark-mode .project-card,
        body.dark-mode .skill-category {
            background-color: #4a3d5c;
            border-color: #ff9ecb;
        }
       
        body.dark-mode footer {
            background-color: #6a4c6c;
        }
       
        body.dark-mode .contact-form input,
        body.dark-mode .contact-form textarea {
            background-color: #4a3d5c;
            border-color: #ff9ecb;
            color: #ffcfe4;
        }

        /* Animations */
        @keyframes heartbeat {
            0% { transform: scale(0.95) rotate(-45deg); }
            50% { transform: scale(1.1) rotate(-45deg); }
            100% { transform: scale(0.95) rotate(-45deg); }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes bounceIn {
            0% { transform: scale(0.5); opacity: 0; }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); opacity: 1; }
        }

        @keyframes slideInFromLeft {
            from { transform: translateX(-100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        @keyframes slideInFromRight {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
       
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        @keyframes float {
            0% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
            100% { transform: translateY(0); }
        }

        .animated {
            opacity: 0;
            transition: opacity 1s, transform 1s;
        }

        .animated.slide-up {
            transform: translateY(50px);
        }
        
        .animated.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
       
        /* Responsive Design */
        @media (max-width: 900px) {
            .contact-container {
                grid-template-columns: 1fr;
            }
           
            .hero h1 {
                font-size: 30px;
            }
           
            .tagline {
                font-size: 18px;
            }
        }
       
        @media (max-width: 768px) {
            .nav-toggle {
                display: block;
            }
           
            nav ul {
                display: none;
                width: 100%;
                flex-direction: column;
                gap: 10px;
                margin-top: 20px;
            }
           
            nav ul.show {
                display: flex;
            }
           
            nav li {
                margin: 5px 0;
            }
           
            header {
                flex-direction: column;
                align-items: flex-start;
            }
           
            .projects-grid {
                grid-template-columns: 1fr;
            }
           
            .hero h1 {
                font-size: 28px;
            }
           
            .tagline {
                font-size: 16px;
            }
           
            .profile-img {
                width: 120px;
                height: 120px;
            }
           
            h2 {
                font-size: 24px;
            }
        }
       
        @media (max-width: 480px) {
            .container {
                padding: 15px;
            }
           
            .hero {
                padding: 30px 15px;
            }
           
            section {
                padding: 15px;
            }
           
            .hero h1 {
                font-size: 24px;
            }
           
            .tagline {
                font-size: 16px;
            }
           
            .project-links .btn {
                width: 100%;
                text-align: center;
            }
           
            .theme-toggle {
                top: 10px;
                right: 10px;
                width: 40px;
                height: 40px;
            }
           
            .contact-item {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }
           
            .social-links {
                justify-content: center;
            }
        }