/**
 * data.js - Central Database for Babar Ali Jamali's Live 3D CV
 * Stored globally on window.cvData to ensure local file:/// compatibility.
 */
window.cvData = {
    profile: {
        name: 'Babar Ali Jamali',
        title: 'Cybersecurity Consultant & IT Instructor',
        titles: [
            'Cybersecurity Consultant',
            'Ethical Hacker & Penetration Tester',
            'CS / IT Instructor',
            'Software & Android App Developer',
            'Freelance Article Writer'
        ],
        email: 'bjamali.cyber@gmail.com',
        emails: {
            cyber: 'bjamali.cyber@gmail.com',
            it: 'babar995@gmail.com',
            social: 'bjamali.email@gmail.com'
        },
        location: 'Karachi, Pakistan',
        website: 'https://dev.lsf-cloud.com',
        bio: 'Dynamic Cybersecurity Specialist, Penetration Tester, and CS/IT Instructor with an MS in Cybersecurity from SZABIST. Passionate about identifying security vulnerabilities, building secure software, and training the next generation of IT professionals. Over years of hands-on experience in bug bounty hunting, server security, Python automation, software and android app development, and freelance article writing. Providing premium professional services across Software Development, advanced Cybersecurity Training & Consultancy, Android App Development, and Social Media Platform Growth & Optimization.',
        status: '🟢 Available for Consulting & Penetration Testing'
    },
    
    services: [
        {
            title: 'Software Development',
            icon: 'fas fa-laptop-code',
            color: '#00f2fe',
            desc: 'Designing and building secure backend systems, database patterns, automation scripts, and custom full-stack solutions.'
        },
        {
            title: 'Cybersecurity Training',
            icon: 'fas fa-user-shield',
            color: '#10B981',
            desc: 'Conducting web/network pentesting labs, OWASP vulnerability audits, and mentoring candidates on professional offensive security.'
        },
        {
            title: 'Android App Development',
            icon: 'fab fa-android',
            color: '#a855f7',
            desc: 'Building high-performance native apps (Java/Kotlin) and cross-platform designs (Flutter) with secure offline architecture.'
        },
        {
            title: 'Social Media Platform Growth',
            icon: 'fas fa-chart-line',
            color: '#ff9800',
            desc: 'Consulting on growth hacking strategies, content optimization, traffic metrics, and targeting analytics for maximum audience reach.'
        }
    ],
    
    socials: [
        {
            name: 'LinkedIn',
            url: 'http://linkedin.com/babaralijamali',
            icon: 'fab fa-linkedin',
            color: '#0077b5',
            desc: 'Professional network and career timeline'
        },
        {
            name: 'GitHub',
            url: 'https://github.com/babaralijamali',
            icon: 'fab fa-github',
            color: 'var(--text-primary)',
            desc: 'Security scripts, tools, and configurations'
        },
        {
            name: 'Medium',
            url: 'http://bjamali.medium.com',
            icon: 'fab fa-medium',
            color: '#FFC017',
            desc: 'Technical write-ups, security guides, and tutorials'
        },
        {
            name: 'ResearchGate',
            url: 'https://www.researchgate.net/profile/Babar-Ali-Jamali',
            icon: 'fab fa-researchgate',
            color: '#00ccb1',
            desc: 'Academic research and security publications'
        },
        {
            name: 'Google Play Store',
            url: 'https://play.google.com/store/apps/dev?id=8801793477490179524&hl=en',
            icon: 'fab fa-google-play',
            color: '#34A853',
            desc: 'Android applications and developer portfolio'
        },
        {
            name: 'beBee',
            url: 'https://bebee.com/pk/people/babar-ali-jamali',
            icon: 'fas fa-briefcase',
            svg: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="5" r="2.5" fill="currentColor"></circle><path d="M12 7.5c-2.2 0-3.5 1.8-3.5 4.5s1.3 4.5 3.5 4.5 3.5-1.8 3.5-4.5-1.3-4.5-3.5-4.5z" fill="currentColor"></path><path d="M12 16.5v4l1.5-2z" fill="currentColor"></path><path d="M8.5 11C6.5 8.5 3 10.5 4 13c1 2.5 3.5 1.5 4.5-2z" fill="currentColor" opacity="0.6"></path><path d="M15.5 11c2-2.5 5.5-.5 4.5 2-1 2.5-3.5 1.5-4.5-2z" fill="currentColor" opacity="0.6"></path><path d="M10.5 3.5C10 2.5 9 3 9 3" stroke-width="1.5"></path><path d="M13.5 3.5C14 2.5 15 3 15 3" stroke-width="1.5"></path></svg>',
            color: '#ff8000',
            desc: 'Professional blog and consulting network'
        },
        {
            name: 'OfficeHours',
            url: 'https://officehours.com/babar_jamali',
            icon: 'fas fa-chalkboard-user',
            svg: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path><circle cx="12" cy="12" r="3"></circle><polyline points="12 10 12 12 13.5 12"></polyline></svg>',
            color: '#4A90E2',
            desc: '1-on-1 mentorship, training, and consulting sessions'
        },
        {
            name: 'Facebook',
            url: 'https://www.facebook.com/babaralijamali.official',
            icon: 'fab fa-facebook',
            color: '#1877f2',
            desc: 'Official social page & tech announcements'
        },
        {
            name: 'TikTok',
            url: 'https://www.tiktok.com/@babar_ali_jamali',
            icon: 'fab fa-tiktok',
            color: '#ff0050',
            desc: 'Short-form educational cybersecurity content'
        }
    ],

    skills: {
        security: [
            { name: 'Web App Penetration Testing', level: 90 },
            { name: 'Vulnerability Assessment (VA/PT)', level: 88 },
            { name: 'Bug Bounty Hunting', level: 85 },
            { name: 'OWASP Top 10 Auditing', level: 92 },
            { name: 'Network Pentesting', level: 80 },
            { name: 'Server Hardening & Security', level: 85 }
        ],
        programming: [
            { name: 'Python (Automation & Security)', level: 88 },
            { name: 'Bash / Shell Scripting', level: 85 },
            { name: 'PHP (Secure Web Backend)', level: 82 },
            { name: 'JavaScript (ES6+)', level: 78 },
            { name: 'HTML5 / CSS3', level: 85 }
        ],
        mobile: [
            { name: 'Android SDK (Java / Kotlin)', level: 85 },
            { name: 'Flutter / Dart (Cross-Platform)', level: 80 },
            { name: 'Mobile App Pen-Testing', level: 75 },
            { name: 'SQLite / Room Database Integration', level: 82 },
            { name: 'REST APIs & Network Security', level: 80 }
        ],
        infrastructure: [
            { name: 'Linux System Administration', level: 88 },
            { name: 'Cloud Platforms (LSF Cloud, AWS)', level: 80 },
            { name: 'Git / Version Control', level: 85 },
            { name: 'Docker / Virtualization', level: 70 },
            { name: 'Network Traffic Analysis', level: 82 },
            { name: 'MIS / ERP Management', level: 85 }
        ],
        academic: [
            { name: 'Cybersecurity Instruction', level: 95 },
            { name: 'Curriculum Design', level: 90 },
            { name: 'Technical Research Writing', level: 85 },
            { name: 'Mentorship & Training', level: 92 }
        ]
    },

    experiences: [
        {
            role: 'CS/IT Instructor & Cybersecurity Trainer',
            company: 'Shaheed Zulfikar Ali Bhutto Institute of Science and Technology (SZABIST)',
            duration: 'Present',
            description: 'Instructing courses in computer science and cybersecurity. Designing course materials for networking, information security, and penetration testing. Mentoring undergraduate students in security best practices.',
            highlights: [
                'Instructed hundreds of students in modern security domains.',
                'Created specialized labs for hands-on penetration testing training.',
                'Supervised academic projects involving secure web development and cryptographic protocols.'
            ]
        },
        {
            role: 'Cybersecurity Consultant & Bug Bounty Researcher',
            company: 'Independent (HackerOne & Bugcrowd)',
            duration: 'Ongoing',
            description: 'Conducting independent penetration testing and vulnerability disclosures on global web applications and infrastructures. Specializing in findings within OWASP Top 10 vulnerabilities.',
            highlights: [
                'Successfully identified and reported vulnerabilities in multiple corporate web apps.',
                'Developed custom automation tools in Python/Bash for fast recon and vulnerability scanning.',
                'Authored writeups on security weaknesses to assist development teams in patching bugs.'
            ]
        },
        {
            role: 'IT Assistant & MIS Officer',
            company: 'Professional Organizations',
            duration: 'Prior Experience',
            description: 'Managed Management Information Systems (MIS), oversaw server administration, configured local area networks (LAN), and secured enterprise applications.',
            highlights: [
                'Maintained daily operations of core ERP software systems.',
                'Implemented backup policies and access control controls to ensure data privacy compliance.',
                'Managed server installations and optimized database response times for local clusters.'
            ]
        }
    ],

    education: [
        {
            degree: 'Master of Science (MS) in Cybersecurity',
            institution: 'Shaheed Zulfikar Ali Bhutto Institute of Science and Technology (SZABIST)',
            duration: 'Graduated',
            description: 'Specialized coursework in Advanced Cryptography, Network Security, Cyber Forensics, and Penetration Testing. Completed a research thesis focused on modern security vectors.'
        },
        {
            degree: 'Master of Computer Science (MCS)',
            institution: 'Shah Abdul Latif University (SALU)',
            duration: 'Graduated',
            description: 'Acquired strong foundations in software engineering, database management systems, data structures, and computer networks.'
        }
    ],

    projects: [
        {
            title: 'Bug Bounty Recon Automation',
            category: 'security',
            description: 'A framework written in Bash and Python that automates subdomain discovery, port scanning, and security header auditing to speed up information gathering.',
            tech: ['Bash', 'Python', 'Nmap', 'Security APIs'],
            link: 'https://github.com/babaralijamali'
        },
        {
            title: 'Gf-Patterns Extension',
            category: 'security',
            description: 'Custom search pattern files integrated with the `gf` tool to grep through codebases for API keys, SQL injections, and potential SSRF vulnerabilities.',
            tech: ['JSON', 'Regex', 'Grep', 'Gf'],
            link: 'https://github.com/babaralijamali'
        },
        {
            title: 'Android Developer Portfolio',
            category: 'mobile',
            description: 'A catalog of utility and productivity applications published on the Google Play Store with emphasis on material design and secure offline data persistence.',
            tech: ['Android SDK', 'Java', 'Kotlin', 'SQLite'],
            link: 'https://play.google.com/store/apps/dev?id=8801793477490179524&hl=en'
        },
        {
            title: 'LSF Cloud Platform',
            category: 'cloud',
            description: 'Secure development playground and deployment portal host. Configured with granular access control and isolated container virtualization.',
            tech: ['HTML/CSS/JS', 'Linux Admin', 'Docker', 'Apache/Nginx'],
            link: 'https://dev.lsf-cloud.com'
        }
    ],

    articles: [
        {
            title: 'Creating Fake Wireless Access Points (FakeAP) with Kali Linux',
            category: 'cybersecurity',
            description: 'A comprehensive technical writeup detailing the mechanism of deploying a rogue AP to test wireless clients for weak handshake exposures.',
            pubDate: 'Published on Medium',
            link: 'http://bjamali.medium.com'
        },
        {
            title: 'Developing Android Payloads & Testing Vulnerabilities',
            category: 'cybersecurity',
            description: 'An educational breakdown on how custom payloads are packaged and executed inside Android sandbox structures, alongside protection guidelines.',
            pubDate: 'Published on Medium',
            link: 'http://bjamali.medium.com'
        },
        {
            title: 'Enhancing Pen Tests using Advanced Burp Suite Extensions',
            category: 'cybersecurity',
            description: 'Tutorial demonstrating how to utilize and configure API automation plugins within Burp Suite to speed up custom header auditing.',
            pubDate: 'Published on Medium',
            link: 'http://bjamali.medium.com'
        },
        {
            title: 'Automating WhatsApp Messages in Python (Zero-API Solution)',
            category: 'programming',
            description: 'A developer guide on utilizing browser automated drivers in Python to schedule and transmit communications without paying for API endpoints.',
            pubDate: 'Published on Medium',
            link: 'http://bjamali.medium.com'
        },
        {
            title: 'Visualizing Stock Market Indexes in Real-Time',
            category: 'programming',
            description: 'Plotting live candlestick graphs using Python graphing libraries and WebSockets to pull instant financial market streams.',
            pubDate: 'Published on Medium',
            link: 'http://bjamali.medium.com'
        }
    ]
};
