
       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #6366f1;
            --secondary-color: #8b5cf6;
            --accent-color: #06d6a0;
            --text-primary: #1f2937;
            --text-secondary: #6b7280;
            --text-light: #ffffff;
            --bg-primary: #ffffff;
            --bg-secondary: #f9fafb;
            --bg-dark: #111827;
            --gold:#d2b795;
            --bgc:#192d3f;
            --lightBgc:#1f3951;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            overflow-x: hidden;
            animation: gradient-animation 10s ease infinite;
            background-color: var(--bgc);
        }

        .cursor-follower {
            position: fixed;
            width: 20px;
            height: 20px;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transition: transform 0.1s ease;
            opacity: 0;
            box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
            animation: pulse 2s infinite;
            mix-blend-mode:difference;
        }

        /* Navigation */
        nav {
            background: var(--lightBgc);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            position: fixed;
            top: 0;
            width: 100%;
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 2rem;
            transition: all 0.3s ease;
            border: none;
        }

        nav.scrolled {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            background: linear-gradient(45deg, var(--bg-primary), var(--text-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradient-shift 3s ease infinite;
            background-size: 200% 200%;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--bg-primary);
            font-weight: 500;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }


        /* Hamburger button */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
        }

        .hamburger span {
            display: block;
            height: 3px;
            width: 28px;
            background-color: #ffffff;
            border-radius: 2px;
        }

        /* Mobile view */
        @media screen and (max-width: 768px) {

            .hero-content{
                margin-top: -100px;
            }

            .nav-links {
                display: none;
                flex-direction: column;
                background-color: var(--bg-dark);
                position: absolute;
                top: 73px;
                right: 0;
                width: 150px;
                height: 500px;
                box-shadow: 0 15px 30px rgba(0,0,0,0.2);
                padding: 1rem 2rem;
            }

          .ri-menu-3-line {
                font-size: 25px;  /* size */
                color: var(--text-light);      /* color */
                cursor: pointer;  /* pointer on hover */
            }

            .nav-links.show {
                display: flex;
            }

            .hamburger {
                display: flex;
                margin-left: -10px;
            }
        }


        #home{
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        /* Hero Section */
        .hero {
            min-height: calc(100vh);
            min-width: calc(100vw);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            background-size: 400% 400%;
            margin: 0; /* Remove margin-top */
            margin-top: 70px;
            background: none;
        }

        /* .hero {
            background: url('/images/Thor.png') center/cover no-repeat fixed;
        } */

        @keyframes gradient-animation {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            animation: float 20s ease-in-out infinite;
        }

        .hero-content {
            margin-top: 40px;
            position: relative;
            z-index: 2;
            color: var(--text-light);
            background: none;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            opacity: 0;
            animation: slideUp 1s ease 0.5s forwards;
            
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0;
            animation: slideUp 1s ease 0.7s forwards;
        }


        /* Sections */
        section {
            padding: 5rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .section-title {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
            position: relative;
        }
            .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            border-radius: 2px;
            animation: expand-line 1s ease forwards;
        }

        @keyframes expand-line {
            from { width: 0; }
            to { width: 100px; }
        }

        .section-title.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* About Section */
        .about {
            background: var(--bg-dark);
            border-radius: 30px;
            padding: 4rem 3rem !important;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            margin-top: 30px;
            border: 1px solid var(--gold);
            box-shadow: 0 0 6px var(--gold);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 3rem;
            align-items: center;
        }
        .profile-image {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.6s ease;
            position: relative;
            box-shadow:0 0 7px var(--gold);
        }
            .profile-image::before {
            content: '';
            position: absolute;
            inset: -5px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--accent-color), var(--primary-color), var(--secondary-color));
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
            animation: rotate 3s linear infinite;
        }
      @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
            .profile-image:hover::before {
            opacity: 1;
        }
        .profile-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            transition: transform 0.5s ease;
            filter: grayscale(20%);
        }

        .profile-image.visible {
            opacity: 1;
            transform: scale(1);
        }

        .profile-image:hover img {
            transform: scale(1.1);
            filter: grayscale(0%);
        }

        .profile-image:hover {
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        }


        .about-text {
            opacity: 0;
            transform: translateX(30px);
            transition: all 0.6s ease 0.2s;
        }

        .about-text.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .about-text h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .about-text p {
            color: var(--bg-secondary);
            margin-bottom: 1rem;
        }

        /* Skills Section */
        .skills {
            background: transparent;
        }

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

        .skill-item {
            background: rgba(255, 255, 255, 0.782);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: center;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        .skill-item::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
            transform: rotate(45deg);
            transition: all 0.6s ease;
        }
        .skill-item:hover::before {
            left: 100%;
        }
        .skill-item.visible {
            opacity: 1;
            transform: translateY(0);
        }


        .skill-item:hover {
            transform: translateY(-10px) rotateX(5deg);
            box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
        }

        .skill-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 2rem;
            color: white;
            box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
            transition: all 0.3s ease;
            animation: bounce 2s infinite;
        }
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        .skill-item:hover .skill-icon {
            transform: scale(1.1) rotateY(360deg);
            animation: none;
        }

        .skill-progress {
            width: 100%;
            height: 8px;
            background: #e5e7eb;
            border-radius: 4px;
            margin-top: 1rem;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            border-radius: 10px;
            width: 0;
            transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        .progress-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

                /* Projects Section */
        .cards{
            background-color: var(--bg-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            border: 0.5px solid var(--gold);
            padding:1rem 1rem;
        }
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .project-card {
            /* background: rgba(255, 255, 255, 0.782); */
            margin-bottom: -30px;
            height:465px;
            overflow: hidden;
            transition: all 0.3s ease;
            opacity: 0;
            border: 0.5px solid var(--gold);
            border-radius: 15px;    
            box-shadow: 0 0 6px var(--gold);
        }

        .project-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

    /* Updated project image */
    .project-image {
        width: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f0f0f0; /* fallback color if image not loaded */
    }

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* ensures image covers box without distortion */
        display: block;
    }

    /* Project content */
    .project-content {
        padding: 1.5rem;
    }

    .project-title {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--text-light);
    }

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

    .project-links {
        display: flex;
        gap: 1rem;
    }

    .project-link {
        padding: 0.5rem 1rem;
        background: var(--primary-color);
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-size: 0.9rem;
        transition: background 0.3s ease;
    }

    .project-link:hover {
        background: var(--secondary-color);
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .project-image {
            height: 180px;
        }
    }

    @media (max-width: 480px) {
        .project-image {
            height: 150px;
        }
    }


        .contact {
            border-radius: 30px;
            background: rgba(17, 24, 39, 0.95);
            backdrop-filter: blur(20px);
            color: var(--text-light);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            border:1px solid var(--accent-color);
        }

        .contact .section-title {
            color: white;
            background: linear-gradient(45deg, var(--accent-color), #48cc6c);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .form-group label {
            margin-bottom: 0.5rem;
            color: var(--accent-color);
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .form-group input,
        .form-group textarea {
            padding: 1rem;
            border: 2px solid #374151;
            background: rgba(31, 41, 55, 0.8);
            color: white;
            border-radius: 10px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-color);
            background: rgba(31, 41, 55, 1);
            box-shadow: 0 0 20px rgba(6, 214, 160, 0.3);
            transform: translateY(-2px);
        }

        .form-group input:focus + label,
        .form-group textarea:focus + label {
            color: white;
        }

        .submit-btn {
            margin-top: 30px;
            background: linear-gradient(45deg, var(--accent-color), #48cc6c);
            color: white;
            padding: 1.2rem;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .submit-btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(6, 214, 160, 0.4);
        }

        .contact-info h3 {
            color: var(--accent-color);
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .contact-item {
            margin-top: 20px;
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
            padding: 0.5rem;
            border-radius: 10px;
        }

        .contact-item:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: translateX(10px);
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--accent-color), #48cc6c);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 5px 20px rgba(6, 214, 160, 0.3);
            transition: all 0.3s ease;
        }

        .contact-item:hover .contact-icon {
            transform: rotate(360deg) scale(1.1);
        }

        /* Animations */
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

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

        /* Scroll Indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce-indicator 2s infinite;
        }

        .scroll-indicator::after {
            content: '↓';
            font-size: 2rem;
            color: white;
            opacity: 0.7;
        }

        @keyframes bounce-indicator {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(10px); }
        }

        /* Responsive Design */
        @media (max-width: 768px) {

             .cursor-follower {
                display: none;
             }

            .hero{
                margin-top: 20px;
            }

            .nav-links {
                display: none;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .profile-image {
                margin: 0 auto;
            }

            section {
                padding: 3rem 1rem;
            }

            .skills-grid,
            .projects-grid {
                grid-template-columns: 1fr;
            }
        }
        
        a{
            text-decoration: none;
            color: white;
        }

                /* Footer Styles */
        .footer {
            background: var(--bg-dark);
            color: var(--text-light);
            padding: 4rem 2rem 2rem;
            margin-top: 5rem;
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-section h3,
        .footer-section h4 {
            margin-bottom: 1.5rem;
            color: var(--accent-color);
            font-size: 1.2rem;
            position: relative;
            display: inline-block;
        }

        .footer-section h3::after,
        .footer-section h4::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 50%;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-color), transparent);
            animation: expand-footer-line 1s ease forwards;
        }

        @keyframes expand-footer-line {
            from { width: 0; }
            to { width: 50%; }
        }

        .footer-logo {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(45deg, var(--accent-color), #48cc6c);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-section p {
            color: #9ca3af;
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .social-link {
            padding: 0.6rem 1.2rem;
            background: rgba(6, 214, 160, 0.1);
            border: 1px solid var(--accent-color);
            border-radius: 8px;
            color: var(--accent-color);
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(6, 214, 160, 0.3), transparent);
            transition: left 0.5s ease;
        }

        .social-link:hover::before {
            left: 100%;
        }

        .social-link:hover {
            background: var(--accent-color);
            color: var(--bg-dark);
            transform: translateY(-3px);
            box-shadow: 0 5px 20px rgba(6, 214, 160, 0.4);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.8rem;
            transition: all 0.3s ease;
            padding-left: 0;
            position: relative;
        }

        .footer-links li::before {
            content: '▹';
            position: absolute;
            left: -20px;
            color: var(--accent-color);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .footer-links li:hover::before {
            left: -15px;
            opacity: 1;
        }

        .footer-links li:hover {
            padding-left: 15px;
            color: var(--accent-color);
        }

        .footer-links a {
            color: #9ca3af;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--accent-color);
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: #6b7280;
        }

        .footer-bottom p {
            margin: 0.5rem 0;
            font-size: 0.9rem;
        }

        .heart {
            color: #ef4444;
            animation: heartbeat 1.5s ease infinite;
            display: inline-block;
        }

        @keyframes heartbeat {
            0%, 100% { transform: scale(1); }
            10%, 30% { transform: scale(1.1); }
            20%, 40% { transform: scale(1); }
        }

        /* Footer Responsive */
        @media (max-width: 768px) {
            .footer {
                padding: 3rem 1rem 1.5rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }

            .footer-section h3::after,
            .footer-section h4::after {
                left: 50%;
                transform: translateX(-50%);
            }

            .social-links {
                justify-content: center;
            }

            .footer-links li::before {
                display: none;
            }

            .footer-links li:hover {
                padding-left: 0;
            }
        }

        .video-style {
            width: 100%;           /* full width of parent container */
            max-width: 800px;      /* optional: limits max width */
            height: auto;          /* maintain aspect ratio */
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); /* soft shadow */
            border-radius: 10px;   /* optional: rounded corners */
            pointer-events: none;  /* disables hover interactions like PiP */
            display: block;        /* removes extra space below video */
            margin: 0 auto;        /* center the video horizontally */
        }

