 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        :root {
            --primary: #ff6b6b;
            --secondary: #4ecdc4;
            --accent: #ffd166;
            --dark: #1a1a2e;
            --darker: #16213e;
            --light: #f8f9fa;
        }

        body {
            background: linear-gradient(135deg, var(--darker), var(--dark));
            color: var(--light);
            min-height: 100vh;
            overflow-x: hidden;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 3D Header */
        .header-3d {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .header-content {
            position: relative;
            z-index: 10;
            padding: 40px;
            background: rgba(26, 26, 46, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            transform: perspective(1000px) rotateX(5deg);
            border: 1px solid rgba(255, 255, 255, 0.1);
            max-width: 800px;
        }

        .blog-title {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 3px;
            text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
            color: transparent;
            background: linear-gradient(45deg, var(--accent), var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
        }

        .blog-subtitle {
            font-size: 1.5rem;
            font-weight: 300;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        /* 3D Cube */
        .cube-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            height: 100%;
            perspective: 1000px;
            z-index: 1;
        }

        .cube {
            width: 200px;
            height: 200px;
            position: absolute;
            transform-style: preserve-3d;
            animation: rotate 20s infinite linear;
        }

        .cube-face {
            position: absolute;
            width: 200px;
            height: 200px;
            background: linear-gradient(45deg, rgba(255, 107, 107, 0.8), rgba(78, 205, 196, 0.8));
            border: 2px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 24px;
            font-weight: bold;
            opacity: 0.9;
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
        }

        .front  { transform: translateZ(100px); }
        .back   { transform: translateZ(-100px) rotateY(180deg); }
        .right  { transform: translateX(100px) rotateY(90deg); }
        .left   { transform: translateX(-100px) rotateY(-90deg); }
        .top    { transform: translateY(-100px) rotateX(90deg); }
        .bottom { transform: translateY(100px) rotateX(-90deg); }

        .cube:nth-child(1) {
            top: 20%;
            left: 20%;
            animation-delay: 0s;
        }

        .cube:nth-child(2) {
            top: 60%;
            left: 70%;
            animation-delay: -5s;
            width: 120px;
            height: 120px;
        }

        .cube:nth-child(3) {
            top: 70%;
            left: 30%;
            animation-delay: -10s;
            width: 80px;
            height: 80px;
        }

        @keyframes rotate {
            from { transform: rotateX(0) rotateY(0) rotateZ(0); }
            to { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
        }

        /* Navigation */
        .nav-3d {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .nav-item {
            padding: 12px 25px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            font-weight: 500;
            transform: translateZ(0);
        }

        .nav-item:hover {
            transform: translateY(-5px) translateZ(20px);
            background: rgba(255, 255, 255, 0.2);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* Sections */
        .section {
            padding: 80px 0;
            position: relative;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 40px;
            position: relative;
            color: var(--accent);
        }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .about-text {
            background: rgba(255, 255, 255, 0.05);
            padding: 30px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transform: perspective(1000px) rotateY(-5deg);
            transition: transform 0.5s ease;
        }

        .about-text:hover {
            transform: perspective(1000px) rotateY(0deg);
        }

        .about-image {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            height: 300px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
            color: white;
            transform: perspective(1000px) rotateY(5deg);
            transition: transform 0.5s ease;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        }

        .about-image:hover {
            transform: perspective(1000px) rotateY(0deg);
        }

        /* Skills Section */
        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
        }

        .skill-card {
            background: rgba(255, 255, 255, 0.05);
            padding: 30px;
            border-radius: 20px;
            text-align: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transform: perspective(500px) rotateX(5deg);
            transition: all 0.3s ease;
        }

        .skill-card:hover {
            transform: perspective(500px) rotateX(0deg) translateY(-10px);
            background: rgba(255, 255, 255, 0.1);
        }

        .skill-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--accent);
        }

        /* Portfolio Section */
        .project-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
.project-item-link {
    text-decoration: none; /* Removes the underline */
    color: inherit; /* Inherits the text color from the parent (e.g., black or default) instead of blue */
    display: block; /* Ensures the link fills the div */
}


      .project-item-link:hover .project-item {
    transform: scale(1.05); /* Slight enlargement on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}
.project-item {
            transition: transform 0.3s;
            background: linear-gradient(135deg, rgba(30, 30, 60, 0.8), rgba(20, 20, 40, 0.8));
            border-radius: 20px;
            overflow: hidden;
            transform-style: preserve-3d;
            transition: transform 0.5s ease, box-shadow 0.5s ease;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            position: relative;
            height: 250px;
        }

        .project-item:hover {
            transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .project-image {
            width: 100%;
            height: 70%;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
        }

        .project-info {
            padding: 20px;
        }

        /* Contact Section */
        .contact-form {
            background: rgba(255, 255, 255, 0.05);
            padding: 40px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            max-width: 600px;
            margin: 0 auto;
            transform: perspective(1000px) rotateX(5deg);
            transition: transform 0.5s ease;
        }

        .contact-form:hover {
            transform: perspective(1000px) rotateX(0deg);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-control {
            width: 100%;
            padding: 15px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: white;
            font-size: 1rem;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
        }

        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

        .submit-btn {
            padding: 15px 30px;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: block;
            margin: 0 auto;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
        }

        /* Footer */
        .footer-3d {
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
            padding: 40px 0;
            text-align: center;
            margin-top: 60px;
            transform: perspective(800px) rotateX(-5deg);
            transform-origin: bottom;
            border-top: 4px solid var(--accent);
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 20px 0;
        }

        .social-link {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            transform: translateZ(0);
        }

        .social-link:hover {
            transform: translateY(-5px) rotate(10deg) scale(1.1);
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
        }

        /* Particle Background */
        #particles-js {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
        }

        /* Responsive Design */
        @media (max-width: 900px) {
            .about-content {
                grid-template-columns: 1fr;
            }
            
            .blog-title {
                font-size: 2.5rem;
            }
            
            .nav-3d {
                flex-wrap: wrap;
            }
            
            .about-text, .about-image {
                transform: none;
            }
        }

        @media (max-width: 600px) {
            .header-content {
                transform: none;
                padding: 20px;
            }
            
            .blog-title {
                font-size: 2rem;
            }
            
            .blog-subtitle {
                font-size: 1.2rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .contact-form {
                transform: none;
                padding: 20px;
            }
            
            .footer-3d {
                transform: none;
            }
        }