<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Medical Imaging Research</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <script src="https://3Dmol.csb.pitt.edu/build/3Dmol-min.js"></script>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <style>
        body {
            background-color: #0a0a0a;
            color: #ffffff;
        }

.dna-helix {
    position: absolute;
    right: 0;
    height: 300px; /* Reduced from 100% */
    width: 60px; /* Reduced width */
    opacity: 0.05; /* More subtle */
    overflow: hidden;
    top: 50%;
    transform: translateY(-50%);
}

.spotlight {
    opacity: 0.4;
    transition: background 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Refined particle styling */
.particle {
    opacity: 0.05; /* More subtle particles */
}

        /* Hero section gradient */
        .hero-gradient {
            background: linear-gradient(
                45deg,
                rgba(88, 85, 255, 0.04) 0%,
                rgba(0, 0, 0, 0) 50%,
                rgba(255, 123, 234, 0.04) 100%
            );
        }

        /* Shiny card effect */
        .shine-card {
            background: linear-gradient(
                145deg,
                rgba(255, 255, 255, 0.05) 0%,
                rgba(255, 255, 255, 0.02) 50%,
                rgba(255, 255, 255, 0.01) 100%
            );
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.5s ease;
        }

        .shine-card:hover {
            transform: translateY(-5px);
            background: linear-gradient(
                145deg,
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.03) 50%,
                rgba(255, 255, 255, 0.02) 100%
            );
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Glowing text effect */
        .glow-text {
            text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
        }

        /* Enhanced nav blur */
        .nav-blur {
            background: rgba(10, 10, 10, 0.8);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }


.modal-transition {
    transition: all 0.3s ease-out;
}

.spec-card {
    transition: all 0.2s ease-out;
}

.spec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.visualization-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); } /* More subtle rotation */
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translateX(100%) rotate(45deg); opacity: 0; }
}

        .float-animation {
            animation: float 6s ease-in-out infinite;
        }

        /* Shimmer effect */
        .shimmer {
            position: relative;
            overflow: hidden;
        }

        .shimmer::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right,
                rgba(255,255,255,0) 0%,
                rgba(255,255,255,0.05) 50%,
                rgba(255,255,255,0) 100%
            );
            transform: rotate(45deg);
            animation: shimmer 6s ease-in-out infinite;
        }

.molecule-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.molecule-card:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px); /* More subtle lift */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.timeline-dot {
    animation: pulse 2s infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(90deg, #60A5FA, #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced card hover effect */
.enhanced-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.01) 100%
    );
}

.enhanced-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.modal-content {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.modal-active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-backdrop {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease-out;
}
    </style>
</head>
<body class="relative">

    <div class="spotlight fixed inset-0 z-0"></div>


    <nav class="nav-blur fixed w-full z-50">
        <div class="max-w-7xl mx-auto px-8 py-4">
            <div class="flex items-center justify-between">
                <span class="text-xl font-medium glow-text">Medical Imaging</span>
                <div class="space-x-8 text-sm">
                    <a href="#overview" class="hover:opacity-70 transition-opacity">Overview</a>
                    <a href="#technology" class="hover:opacity-70 transition-opacity">Technology</a>
                    <a href="#research" class="hover:opacity-70 transition-opacity">Research</a>
                    <a href="#impact" class="hover:opacity-70 transition-opacity">Impact</a>
                </div>
            </div>
        </div>
    </nav>


    <section class="min-h-screen flex items-center pt-20 hero-gradient relative">
        <div class="max-w-7xl mx-auto px-8 relative z-10">
            <div class="grid md:grid-cols-2 gap-16 items-center">
                <div data-aos="fade-up" class="shimmer">
                    <h1 class="text-6xl font-medium tracking-tight mb-6 glow-text">
        Organic Chemistry in Disease Diagnosis
                    </h1>
                    <p class="text-gray-400 text-xl mb-8 leading-relaxed">
  Seeing how organic compounds improve diagnostic imaging and patient care
                    </p>
                    <a href="#overview" class="shine-card inline-block p-4 rounded-xl hover:scale-105 transition-all">
                        <span class="text-sm font-medium">See the research →</span>
                    </a>
                </div>
                <div class="float-animation" data-aos="fade-up" data-aos-delay="200">
                    <div id="molecule-viewer" class="h-[600px] rounded-2xl shine-card"></div>
                </div>
            </div>
        </div>
    </section>

    <main class="relative z-10">

        <section id="overview" class="py-32 relative bg-black/20">
            <div class="max-w-7xl mx-auto px-8">
                <h2 class="text-4xl font-medium mb-16 glow-text" data-aos="fade-up">Understanding Medical Imaging</h2>
<div class="grid md:grid-cols-2 gap-16">
    <div class="shine-card p-8 rounded-xl" data-aos="fade-up">
        <h3 class="text-2xl font-medium mb-4">Time Manipulation</h3>
        <p class="text-gray-400 leading-relaxed mb-6">
            Metal contrast agents change timing in scans, making diseased areas appear brighter for better visibility. The interaction between organic compounds and tissues creates distinct imaging patterns.
        </p>
        <ul class="space-y-4 text-gray-400">
            <li class="flex items-start">
                <span class="text-blue-400 mr-2">•</span>
                Enhanced signal generation
            </li>
            <li class="flex items-start">
                <span class="text-blue-400 mr-2">•</span>
                Tissue absorption
            </li>
            <li class="flex items-start">
                <span class="text-blue-400 mr-2">•</span>
                Chemical interaction properties
            </li>
        </ul>
    </div>
    <div class="shine-card p-8 rounded-xl" data-aos="fade-up" data-aos-delay="100">
        <h3 class="text-2xl font-medium mb-4">Molecular Targeting</h3>
        <p class="text-gray-400 leading-relaxed mb-6">
            Advanced imaging techniques use organic compounds that:
        </p>
        <ul class="space-y-4 text-gray-400">
            <li class="flex items-start">
                <span class="text-green-400 mr-2">•</span>
                Bind to specific biomarkers
            </li>
            <li class="flex items-start">
                <span class="text-green-400 mr-2">•</span>
                Activate only near disease markers
            </li>
            <li class="flex items-start">
                <span class="text-green-400 mr-2">•</span>
                Target cellular processes
            </li>
        </ul>
    </div>
</div>
            </div>
        </section>

<section class="py-32 relative">
    <div class="max-w-7xl mx-auto px-8">
        <h2 class="text-4xl font-medium mb-16 glow-text" data-aos="fade-up">Organic Chemistry's Role</h2>
        <div class="grid md:grid-cols-2 gap-16">
            <div class="shine-card p-8 rounded-xl" data-aos="fade-up">
                <h3 class="text-2xl font-medium mb-4">Molecular Design</h3>
                <p class="text-gray-400 leading-relaxed mb-6">
                    Organic chemistry enables the contrast agents through:
                </p>
                <ul class="space-y-4 text-gray-400">
                    <li class="flex items-start">
                        <span class="text-blue-400 mr-2">•</span>
                        Chelate synthesis for metal ion binding
                    </li>
                    <li class="flex items-start">
                        <span class="text-blue-400 mr-2">•</span>
                        Functional group modifications
                    </li>
                    <li class="flex items-start">
                        <span class="text-blue-400 mr-2">•</span>
                        Bioconjugation techniques
                    </li>
                </ul>
            </div>

                </ul>
            </div>
        </div>
    </div>
</section>

<section class="py-32 relative bg-black/20">
    <div class="max-w-7xl mx-auto px-8">
        <h2 class="text-4xl font-medium mb-16 glow-text" data-aos="fade-up">Lab Report Analysis</h2>
        
        <div class="shine-card p-8 rounded-xl mb-8" data-aos="fade-up">
<h3 class="text-2xl font-medium mb-6">
    <a href="https://www.mdpi.com/2218-273X/12/6/742" target="_blank" rel="noopener noreferrer" 
       class="text-transparent bg-clip-text bg-gradient-to-r from-blue-400 to-purple-500 hover:underline">
        Study Validity Assessment on Gadolinium
    </a>
</h3>


            <div class="grid md:grid-cols-2 gap-8">
                <div>
                    <h4 class="text-xl font-medium mb-4">Strengths</h4>
                    <ul class="space-y-4 text-gray-400">
                        <li class="flex items-start">
                            <span class="text-green-400 mr-2">•</span>
                            It has many years of data
                        </li>
                        <li class="flex items-start">
                            <span class="text-green-400 mr-2">•</span>
                            Clear chemical mechanism explanations, shows the chemical structures.
                        </li>
                        <li class="flex items-start">
                            <span class="text-green-400 mr-2">•</span>
                            Multiple supporting studies cited, and sources. 
                                                    <li class="flex items-start">
                            <span class="text-green-400 mr-2">•</span>
                            This was editted, and proof read by multiple profs, as well as a scholar source. 
                        </li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-xl font-medium mb-4">Limitations</h4>
                    <ul class="space-y-4 text-gray-400">
                        <li class="flex items-start">
                            <span class="text-red-400 mr-2">•</span>
                            It is lengthy as all good lab reports are.
                        </li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="shine-card p-8 rounded-xl mb-8" data-aos="fade-up">
            <h3 class="text-2xl font-medium mb-6">Risk Analysis</h3>
            <ul class="space-y-4 text-gray-400">
                <li class="flex items-start">
                    <span class="text-yellow-400 mr-2">•</span>
                    Nephrogenic Systemic Fibrosis in renal patients
                </li>
                <li class="flex items-start">
                    <span class="text-yellow-400 mr-2">•</span>
                    Brain accumulation with repeated exposure
                </li>
                <li class="flex items-start">
                    <span class="text-yellow-400 mr-2">•</span>
                    Potential fetal toxicity concerns
                </li>
                <li class="flex items-start">
                    <span class="text-yellow-400 mr-2">•</span>
                    Acute hypersensitivity reactions
                </li>
            </ul>
        </div>

        <div class="shine-card p-8 rounded-xl" data-aos="fade-up">
            <h3 class="text-2xl font-medium mb-6">Potential Biases</h3>
            <ul class="space-y-4 text-gray-400">
                <li class="flex items-start">
                    <span class="text-blue-400 mr-2">•</span>
                    Focus on clinical applications not really going into long term.
                </li>
                <li class="flex items-start">
                    <span class="text-blue-400 mr-2">•</span>
                    Only provides data on Gadolinium
                </li>
            </ul>
        </div>
    </div>
</section>


        <section id="technology" class="py-32 relative bg-black/10">
            <div class="max-w-7xl mx-auto px-8">
                <h2 class="text-4xl font-medium mb-16 glow-text" data-aos="fade-up">Main Technology</h2>
                <div class="grid md:grid-cols-3 gap-8">
                    <div class="shine-card p-6 rounded-xl cursor-pointer group" 
                         data-aos="fade-up"
                         onclick="showDetails('paramagnetic')">
                        <div class="molecule-float">
                            <svg viewBox="0 0 100 100" class="w-16 h-16 mb-4">
                                <polygon points="50,10 90,30 90,70 50,90 10,70 10,30" 
                                        stroke="#4F46E5" 
                                        fill="none" 
                                        stroke-width="2"
                                        class="molecule-float"/>
                            </svg>
                        </div>
                        <h3 class="text-xl font-medium mb-3 group-hover:text-blue-400 transition-colors">Magnetic Properties</h3>
                        <p class="text-gray-400">Understanding magnetic enhancement in imaging</p>
                        <div class="mt-4 opacity-0 group-hover:opacity-100 transition-opacity">
                            <span class="text-sm text-blue-400">View details →</span>
                        </div>
                    </div>

                    <div class="shine-card p-6 rounded-xl cursor-pointer group" 
                         data-aos="fade-up" 
                         data-aos-delay="100"
                         onclick="showDetails('chelation')">
                        <div class="relative h-16 mb-4">
                            <div class="absolute inset-0 rounded-full border border-purple-500/30"
                                 style="animation: rotate-helix 4s linear infinite;">
                            </div>
                        </div>
                        <h3 class="text-xl font-medium mb-3 group-hover:text-purple-400 transition-colors">Chelation Process</h3>
                        <p class="text-gray-400">Binding of materials without toxicity</p>
                        <div class="mt-4 opacity-0 group-hover:opacity-100 transition-opacity">
                            <span class="text-sm text-purple-400">View details →</span>
                        </div>
                    </div>

                    <div class="shine-card p-6 rounded-xl cursor-pointer group" 
                         data-aos="fade-up" 
                         data-aos-delay="200"
                         onclick="showDetails('biodegradable')">
                        <div class="molecule-float">
                            <svg viewBox="0 0 100 100" class="w-16 h-16 mb-4">
                                <circle cx="50" cy="50" r="40" 
                                        stroke="#10B981" 
                                        fill="none" 
                                        stroke-width="2"
                                        class="molecule-float"/>
                            </svg>
                        </div>
                        <h3 class="text-xl font-medium mb-3 group-hover:text-green-400 transition-colors">Biodegradable Agents</h3>
                        <p class="text-gray-400">Next generation safe imaging</p>
                        <div class="mt-4 opacity-0 group-hover:opacity-100 transition-opacity">
                            <span class="text-sm text-green-400">View details →</span>
                        </div>
                    </div>
                </div>
            </div>
        </section>

<section id="contrast-agents" class="py-32 relative bg-black/20">
    <div class="max-w-7xl mx-auto px-8">
        <h2 class="text-4xl font-medium mb-16 glow-text" data-aos="fade-up">Evolution of Contrast Agents</h2>
        

        <div class="shine-card p-8 rounded-xl mb-8" data-aos="fade-up">
            <h3 class="text-2xl font-medium mb-6">Traditional: Gadolinium Agents</h3>
            <div class="grid md:grid-cols-2 gap-8">
                <div>
                    <h4 class="text-xl font-medium mb-4">Properties</h4>
                    <ul class="space-y-4 text-gray-400">
                        <li class="flex items-start">
                            <span class="text-blue-400 mr-2">•</span>
                            Magnetic properties amplify MRI signals
                        </li>
                        <li class="flex items-start">
                            <span class="text-blue-400 mr-2">•</span>
                            Requires chelation to make non-toxic
                        </li>
                        <li class="flex items-start">
                            <span class="text-blue-400 mr-2">•</span>
                            A history of safety data
                        </li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-xl font-medium mb-4">Limitations</h4>
                    <ul class="space-y-4 text-gray-400">
                        <li class="flex items-start">
                            <span class="text-red-400 mr-2">•</span>
                            Potential long term holding concerns
                        </li>
                        <li class="flex items-start">
                            <span class="text-red-400 mr-2">•</span>
                            Limited targetting
                        </li>
                    </ul>
                </div>
            </div>
        </div>


        <div class="shine-card p-8 rounded-xl mb-8" data-aos="fade-up">
            <h3 class="text-2xl font-medium mb-6">Current: Flourine Imaging</h3>
            <div class="grid md:grid-cols-2 gap-8">
                <div>
                    <h4 class="text-xl font-medium mb-4">Advantages</h4>
                    <ul class="space-y-4 text-gray-400">
                        <li class="flex items-start">
                            <span class="text-green-400 mr-2">•</span>
                            Non radioactive tracking
                        </li>
                        <li class="flex items-start">
                            <span class="text-green-400 mr-2">•</span>
                            Real time medicine tracking
                        </li>
                        <li class="flex items-start">
                            <span class="text-green-400 mr-2">•</span>
                            Treatment effectiveness monitoring
                        </li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-xl font-medium mb-4">Applications</h4>
                    <ul class="space-y-4 text-gray-400">
                        <li class="flex items-start">
                            <span class="text-blue-400 mr-2">•</span>
                            Precise treatment tracking
                        </li>
                        <li class="flex items-start">
                            <span class="text-blue-400 mr-2">•</span>
                            Enhanced diagnostic accuracy
                        </li>
                    </ul>
                </div>
            </div>
        </div>

  
        <div class="shine-card p-8 rounded-xl" data-aos="fade-up">
            <h3 class="text-2xl font-medium mb-6">Future Developments</h3>
            <div class="grid md:grid-cols-2 gap-8">
                <div>
                    <h4 class="text-xl font-medium mb-4">Nanoparticle Development</h4>
                    <ul class="space-y-4 text-gray-400">
                        <li class="flex items-start">
                            <span class="text-purple-400 mr-2">•</span>
                            Enhanced detail and specificity
                        </li>
                        <li class="flex items-start">
                            <span class="text-purple-400 mr-2">•</span>
                            Targeted cell binding
                        </li>
                        <li class="flex items-start">
                            <span class="text-purple-400 mr-2">•</span>
                            Early problem detection
                        </li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-xl font-medium mb-4">Biodegradable Agents</h4>
                    <ul class="space-y-4 text-gray-400">
                        <li class="flex items-start">
                            <span class="text-purple-400 mr-2">•</span>
                            Natural material composition
                        </li>
                        <li class="flex items-start">
                            <span class="text-purple-400 mr-2">•</span>
                            Reduced risk of holding in body
                        </li>
                        <li class="flex items-start">
                            <span class="text-purple-400 mr-2">•</span>
                            Activatable imaging capabilities
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</section>


        <section id="research" class="py-32 relative">
            <div class="max-w-1x1 mx-auto px-8">
                <h2 class="text-4xl font-medium mb-16 glow-text" data-aos="fade-up">Interactive Displays</h2>
                <div class="grid md:grid-cols-3 gap-8">
                    <div class="shine-card p-6 rounded-xl" data-aos="fade-up">
                        <div id="barium-viewer" class="h-[400px] rounded-lg mb-6"></div>
                        <h3 class="text-xl font-medium mb-3">Barium Sulfate</h3>
                        <p class="text-gray-400">This is the chemical structure of Barium Sulfate.</p>
                    </div>
                    
                    <div class="shine-card p-6 rounded-xl" data-aos="fade-up" data-aos-delay="100">
                        <div class="relative h-[400px] rounded-lg mb-6 overflow-hidden">
                            <div class="absolute inset-0 bg-gradient-to-r from-blue-500/20 to-purple-500/20"></div>
                            <img 
                                src="https://www.mdpi.com/biomolecules/biomolecules-12-00742/article_deploy/html/images/biomolecules-12-00742-g001.png"
                                alt="Chemical Structure" 
                                class="w-full h-full object-cover"
                            >
                        </div>
                        <h3 class="text-xl font-medium mb-3">Chemical Structure</h3>
                        <p class="text-gray-400">Top one is Gadolinium DTPA, Bottom is Gadolinium DOTA.</p>
                    </div>

                    <div class="shine-card p-6 rounded-xl" data-aos="fade-up" data-aos-delay="100">
                        <div class="relative h-[400px] rounded-lg mb-6 overflow-hidden">
                            <div class="absolute inset-0 bg-gradient-to-r from-blue-500/20 to-purple-500/20"></div>
                            <img 
                                src="https://preview.redd.it/kwb6aly0kxa51.jpg?width=1080&crop=smart&auto=webp&s=08b3e1cc24dc4e0f7dc130c4543b43d945068f73"
                                alt="Contrast Imaging" 
                                class="w-full h-full object-cover"
                            >
                        </div>
                        <h3 class="text-xl font-medium mb-3">Iodine in Xrays</h3>
                        <p class="text-gray-400">This is a hand dipped in Iodine, it has a clear and crisp image. You are also able to see the skin.</p>
                    </div>
                </div>
            </div>
        </section>


<section id="impact" class="py-32 relative bg-black/20">
    <div class="max-w-7xl mx-auto px-8">
        <h2 class="text-4xl font-medium mb-16 glow-text" data-aos="fade-up">Clinical Impact</h2>
        <div class="grid md:grid-cols-2 gap-8">
            <div class="shine-card p-8 rounded-xl" data-aos="fade-up">
                <h3 class="text-2xl font-medium mb-6">Traditional Agents</h3>
                <div class="space-y-6">
                    <div class="space-y-4">
                        <div class="flex items-center justify-between">
                            <span class="text-gray-400">Safety Profile</span>
                            <div class="w-48 bg-gray-700 rounded-full h-2">
                                <div class="bg-blue-500 h-2 rounded-full" style="width: 70%"></div>
                            </div>
                        </div>
                        <div class="flex items-center justify-between">
                            <span class="text-gray-400">Image Quality</span>
                            <div class="w-48 bg-gray-700 rounded-full h-2">
                                <div class="bg-blue-500 h-2 rounded-full" style="width: 85%"></div>
                            </div>
                        </div>
                        <div class="flex items-center justify-between">
                            <span class="text-gray-400">Cost Efficiency</span>
                            <div class="w-48 bg-gray-700 rounded-full h-2">
                                <div class="bg-blue-500 h-2 rounded-full" style="width: 90%"></div>
                            </div>
                        </div>
                    </div>
                    <div class="mt-6 text-gray-400">
                        <p class="mb-4">Key Characteristics:</p>
                        <ul class="space-y-2">
                            <li class="flex items-start">
                                <span class="text-blue-400 mr-2">•</span>
                                Well-established safety data
                            </li>
                            <li class="flex items-start">
                                <span class="text-blue-400 mr-2">•</span>
                                Cost-effective production
                            </li>
                            <li class="flex items-start">
                                <span class="text-blue-400 mr-2">•</span>
                                Standard imaging protocols
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
            
            <div class="shine-card p-8 rounded-xl" data-aos="fade-up" data-aos-delay="100">
                <h3 class="text-2xl font-medium mb-6">New Nanoparticle Agents</h3>
                <div class="space-y-6">
                    <div class="space-y-4">
                        <div class="flex items-center justify-between">
                            <span class="text-gray-400">Safety Profile</span>
                            <div class="w-48 bg-gray-700 rounded-full h-2">
                                <div class="bg-green-500 h-2 rounded-full" style="width: 95%"></div>
                            </div>
                        </div>
                        <div class="flex items-center justify-between">
                            <span class="text-gray-400">Image Quality</span>
                            <div class="w-48 bg-gray-700 rounded-full h-2">
                                <div class="bg-green-500 h-2 rounded-full" style="width: 90%"></div>
                            </div>
                        </div>
                        <div class="flex items-center justify-between">
                            <span class="text-gray-400">Cost Efficiency</span>
                            <div class="w-48 bg-gray-700 rounded-full h-2">
                                <div class="bg-green-500 h-2 rounded-full" style="width: 58%"></div>
                            </div>
                        </div>
                    </div>
                    <div class="mt-6 text-gray-400">
                        <p class="mb-4">Advanced Features:</p>
                        <ul class="space-y-2">
                            <li class="flex items-start">
                                <span class="text-green-400 mr-2">•</span>
                                Biodegradable components
                            </li>
                            <li class="flex items-start">
                                <span class="text-green-400 mr-2">•</span>
                                Targeted tissue delivery
                            </li>
                            <li class="flex items-start">
                                <span class="text-green-400 mr-2">•</span>
                                Reduced side effects
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>


        <div class="grid md:grid-cols-3 gap-8 mt-16">
            <div class="shine-card p-6 rounded-xl" data-aos="fade-up">
                <h3 class="text-xl font-medium mb-3">Targeted Detection</h3>
                <p class="text-gray-400">Specific binding to biomarkers gives us a precise reading</p>
            </div>
            <div class="shine-card p-6 rounded-xl" data-aos="fade-up" data-aos-delay="100">
                <h3 class="text-xl font-medium mb-3">Live Monitoring</h3>
                <p class="text-gray-400">See treatment effectiveness and medicine distribution throughout the body</p>
            </div>
            <div class="shine-card p-6 rounded-xl" data-aos="fade-up" data-aos-delay="200">
                <h3 class="text-xl font-medium mb-3">Safety</h3>
                <p class="text-gray-400">Development of biodegradable alternatives to the traditional contrast agents</p>
            </div>
        </div>
    </div>
</section>

<section class="py-32 relative">
    <div class="max-w-7xl mx-auto px-8">
        <h2 class="text-4xl font-medium mb-16 glow-text" data-aos="fade-up">Cross Industry Applications</h2>
        
        <div class="grid md:grid-cols-3 gap-8">
            <div class="shine-card p-8 rounded-xl" data-aos="fade-up">
                <h3 class="text-2xl font-medium mb-4">Environmental Monitoring</h3>
                <ul class="space-y-4 text-gray-400">
                    <li class="flex items-start">
                        <span class="text-green-400 mr-2">•</span>
                        Water quality testing
                    </li>
                    <li class="flex items-start">
                        <span class="text-green-400 mr-2">•</span>
                        Soil contamination detection
                    </li>
                    <li class="flex items-start">
                        <span class="text-green-400 mr-2">•</span>
                        Pollution tracking
                    </li>
                </ul>
            </div>
            
            <div class="shine-card p-8 rounded-xl" data-aos="fade-up" data-aos-delay="100">
                <h3 class="text-2xl font-medium mb-4">Food Industry</h3>
                <ul class="space-y-4 text-gray-400">
                    <li class="flex items-start">
                        <span class="text-blue-400 mr-2">•</span>
                        Quality control imaging
                    </li>
                    <li class="flex items-start">
                        <span class="text-blue-400 mr-2">•</span>
                        Contamination detection
                    </li>
                </ul>
            </div>
            
            <div class="shine-card p-8 rounded-xl" data-aos="fade-up" data-aos-delay="200">
                <h3 class="text-2xl font-medium mb-4">Engineering</h3>
                <ul class="space-y-4 text-gray-400">
                    <li class="flex items-start">
                        <span class="text-purple-400 mr-2">•</span>
                        Structural testing
                    </li>
                    <li class="flex items-start">
                        <span class="text-purple-400 mr-2">•</span>
                        Defect detection
                    </li>
                    <li class="flex items-start">
                        <span class="text-purple-400 mr-2">•</span>
                        Material aging studies
                    </li>
                </ul>
            </div>
        </div>
    </div>
</section>

<section class="py-32 relative bg-black/20">
    <div class="max-w-7xl mx-auto px-8">
        <h2 class="text-4xl font-medium mb-16 glow-text" data-aos="fade-up">Future Research Questions</h2>
        
        <div class="grid md:grid-cols-2 gap-8">
            <div class="shine-card p-8 rounded-xl" data-aos="fade-up">
                <h3 class="text-2xl font-medium mb-4">Safety & Long-term Effects</h3>
                <ul class="space-y-4 text-gray-400">
                    <li class="flex items-start">
                        <span class="text-blue-400 mr-2">?</span>
                        How safe are biodegradable agents?
                    </li>
                    <li class="flex items-start">
                        <span class="text-blue-400 mr-2">?</span>
                        What are the effects of repeated exposure?
                    </li>
                    <li class="flex items-start">
                        <span class="text-blue-400 mr-2">?</span>
                        Can we develop completely non-toxic and food safe alternatives?
                    </li>
                </ul>
            </div>
            
            <div class="shine-card p-8 rounded-xl" data-aos="fade-up" data-aos-delay="100">
                <h3 class="text-2xl font-medium mb-4">Technical Improvements</h3>
                <ul class="space-y-4 text-gray-400">
                    <li class="flex items-start">
                        <span class="text-purple-400 mr-2">?</span>
                        How can we enhance image resolution further, new machines? new agents?
                    </li>
                    <li class="flex items-start">
                        <span class="text-purple-400 mr-2">?</span>
                        Can we reduce the amount of contrast agent needed, or fully get rid of it, instead replacing with better machines?
                    </li>
                    <li class="flex items-start">
                        <span class="text-purple-400 mr-2">?</span>
                        Is 3D imaging possible with current agents, and not those fancy machines?
                    </li>
                </ul>
            </div>
        </div>
    </div>
</section>
    </main>

<section class="py-32 relative bg-black/30">
    <div class="max-w-7xl mx-auto px-8">
        <h2 class="text-4xl font-medium mb-16 glow-text" data-aos="fade-up">Sources</h2>
        <div class="shine-card p-8 rounded-xl" data-aos="fade-up">
            <ul class="space-y-4 text-gray-400">
                <li>
                    <span class="text-sm text-blue-400">1.</span>
                    <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC10344828/" class="ml-2 hover:text-white transition-colors">PMC: Advances in Medical Imaging</a>
                </li>
                <li>
                    <span class="text-sm text-blue-400">2.</span>
                    <a href="https://www.mdpi.com/2077-0383/13/8/2193" class="ml-2 hover:text-white transition-colors">MDPI: Tissue Interaction Studies</a>
                </li>
                <li>
                    <span class="text-sm text-blue-400">3.</span>
                    <a href="https://www.spandidos-publications.com/10.3892/ijmm.2016.2744" class="ml-2 hover:text-white transition-colors">Spandidos: Nanoparticles in Contrast Enhancement</a>
                </li>
                                <li>
                    <span class="text-sm text-blue-400">3.</span>
                    <a href="https://www.aafp.org/pubs/afp/issues/2009/1001/p711.html" class="ml-2 hover:text-white transition-colors">Gadolinium Disease</a>
                </li>
            </ul>
        </div>
    </div>
</section>


    <footer class="py-16 bg-black/40">
        <div class="max-w-7xl mx-auto px-8">
            <div class="grid md:grid-cols-3 gap-8">
                <div>
                    <h3 class="text-xl font-medium mb-4">Medical Imaging Research</h3>
                    <p class="text-gray-400">Kooners Class</p>
                </div>

                <div>
                    <h4 class="text-sm font-medium mb-4 text-gray-300">Contact</h4>
                    <p class="text-gray-400">dont</p>
                </div>
            </div>
            <div class="mt-16 pt-8 border-t border-white/10">
                <p class="text-center text-gray-400 text-sm">© 2025 . All rights reserved.</p>
            </div>
        </div>
    </footer>


    <div id="techModal" class="fixed inset-0 bg-black/80 z-50 hidden backdrop-blur-md">
        <div class="min-h-screen flex items-center justify-center p-4">
            <div class="shine-card rounded-xl max-w-2xl w-full p-8 relative">
                <button onclick="closeModal()" class="absolute top-4 right-4 text-gray-400 hover:text-white">
                    <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
                    </svg>
                </button>
                <div id="modalContent" class="space-y-6">
                    <h3 id="modalTitle" class="text-2xl font-medium gradient-text"></h3>
                    <div id="modalDescription" class="text-gray-400"></div>
                    <div id="modalSpecs" class="mt-8 space-y-4"></div>
                    <div id="modalVisualization" class="h-[300px] rounded-lg mt-6"></div>
                </div>
            </div>
        </div>
    </div>
</body>




<script>
// Initialize AOS
AOS.init({
    duration: 800,
    once: true,
    easing: 'ease-out'
});

// Technical Data Configuration
const technicalData = {
    paramagnetic: {
        title: "Magnetic Properties",
        description: "Magnetic contrast agents enhance magnetic imaging by changing the time of water in the tissues.",
        specs: [
            { label: "Magnetic Moment", value: "7.94 Bohr magnetons", info: "High magnetic moment enables strong contrast enhancement" },
            { label: "Relaxivity", value: "4.5 mM⁻¹s⁻¹", info: "Measure of contrast agent effectiveness" },
            { label: "Electron Configuration", value: "4f⁷", info: "Optimal for magnetic properties" }
        ],
        molecule: `
            HETATM    1 Gd    UNK     1       0.000   0.000   0.000
            HETATM    2  O    UNK     1       2.000   0.000   0.000
            HETATM    3  O    UNK     1      -2.000   0.000   0.000
        `
    },
    chelation: {
        title: "Chelation Process",
        description: "Chelation is binding metal ions to organic molecules to create stable and non-toxic compounds for medical use.",
        specs: [
            { label: "Stability Constant", value: "10²³", info: "Extremely stable complex formation" },
            { label: "Kinetic Inertness", value: "High", info: "Resistant to transmetallation" },
            { label: "Water Exchange Rate", value: "10⁶ s⁻¹", info: "Optimal for contrast enhancement" }
        ],
        molecule: `
            HETATM    1 Gd    UNK     1       0.000   0.000   0.000
            HETATM    2  N    UNK     1       2.000   0.000   0.000
            HETATM    3  O    UNK     1       0.000   2.000   0.000
        `
    },
    biodegradable: {
        title: "Biodegradable Agents",
        description: "New contrast agents made to naturally break down in the body there fore reducing long term holding risks in the body.",
        specs: [
            { label: "Degradation Rate", value: "24-48 hours", info: "Optimal clearance timeline" },
            { label: "Biocompatibility", value: "Excellent", info: "No adverse tissue reactions" },
            { label: "Elimination Route", value: "Renal/Hepatic", info: "Natural body clearance" }
        ],
        molecule: `
            HETATM    1  C    UNK     1       0.000   0.000   0.000
            HETATM    2  O    UNK     1       1.500   0.000   0.000
            HETATM    3  O    UNK     1       0.000   1.500   0.000
        `
    }
};

// Modal Functions
function showDetails(type) {
    const data = technicalData[type];
    const modal = document.getElementById('techModal');
    const modalContent = modal.querySelector('#modalContent');

    // Update content with fade effect
    modalContent.style.opacity = 0;
    setTimeout(() => {
        document.getElementById('modalTitle').textContent = data.title;
        document.getElementById('modalDescription').textContent = data.description;
        
        // Update specifications with animation
        const specs = document.getElementById('modalSpecs');
        specs.innerHTML = data.specs.map((spec, index) => `
            <div class="shine-card p-4 rounded-lg opacity-0" 
                 style="animation: fadeIn 0.5s ${index * 0.1}s forwards">
                <div class="flex justify-between items-center">
                    <span class="text-gray-400">${spec.label}</span>
                    <span class="text-white font-medium">${spec.value}</span>
                </div>
                <p class="text-sm text-gray-500 mt-2">${spec.info}</p>
            </div>
        `).join('');

        // Initialize 3D visualization
        const visualization = document.getElementById('modalVisualization');
        visualization.innerHTML = '';
        
        let viewer = $3Dmol.createViewer(visualization, {
            backgroundColor: '#0c0c0c',
            antialias: true
        });

        viewer.addModel(data.molecule, "pdb");
        viewer.setStyle({}, {
            sphere: { 
                radius: 0.6,
                color: 'spectrum'
            },
            stick: { 
                radius: 0.2,
                color: 'white'
            }
        });
        viewer.zoomTo();
        viewer.render();

        // Start rotation animation
        let rotation = 0;
        function animate() {
            if (modal.classList.contains('hidden')) return;
            rotation += 0.5;
            viewer.rotate(0.5, {x: 0, y: 1, z: 0});
            viewer.render();
            requestAnimationFrame(animate);
        }
        animate();

        modalContent.style.opacity = 1;
    }, 300);

    modal.classList.remove('hidden');
    document.body.style.overflow = 'hidden';
}

function closeModal() {
    const modal = document.getElementById('techModal');
    const modalContent = modal.querySelector('#modalContent');
    
    modalContent.style.opacity = 0;
    setTimeout(() => {
        modal.classList.add('hidden');
        document.body.style.overflow = 'auto';
    }, 300);
}

// Molecule Viewer Initialization
function initializeMoleculeViewer() {
    const container = document.getElementById('molecule-viewer');
    if (!container) return;

    let viewer = $3Dmol.createViewer(container, {
        backgroundColor: '#0c0c0c',
        antialias: true
    });
    
    // Add sample molecule
    const sampleMolecule = `
        HETATM    1 Gd    UNK     1       0.000   0.000   0.000
        HETATM    2  O    UNK     1       2.000   0.000   0.000
        HETATM    3  O    UNK     1      -2.000   0.000   0.000
        HETATM    4  O    UNK     1       0.000   2.000   0.000
        HETATM    5  O    UNK     1       0.000  -2.000   0.000
    `;

    viewer.addModel(sampleMolecule, "pdb");
    viewer.setStyle({}, {
        sphere: { 
            radius: 0.6,
            color: 'spectrum'
        },
        stick: { 
            radius: 0.2,
            color: 'white'
        }
    });
    viewer.zoomTo();
    viewer.render();

    // Continuous rotation
    function animate() {
        viewer.rotate(0.3, {x: 0, y: 1, z: 0});
        viewer.render();
        requestAnimationFrame(animate);
    }
    animate();

    return viewer;
}

// Barium Viewer Initialization
function initializeBariumViewer() {
    const container = document.getElementById('barium-viewer');
    if (!container) return;

    container.style.height = '400px';
    container.style.width = '100%';
    container.style.position = 'relative';

    let viewer = $3Dmol.createViewer(container, {
        backgroundColor: '#0c0c0c',
        antialias: true
    });

    const bariumMolecule = `
        HETATM    1 Ba   UNK     1       0.000   0.000   0.000  1.00  0.00          Ba  
        HETATM    2 S    UNK     1       2.000   0.000   0.000  1.00  0.00          S   
        HETATM    3 O1   UNK     1       2.000   2.000   0.000  1.00  0.00          O   
        HETATM    4 O2   UNK     1       2.000  -2.000   0.000  1.00  0.00          O   
        HETATM    5 O3   UNK     1       4.000   0.000   0.000  1.00  0.00          O   
        HETATM    6 O4   UNK     1       2.000   0.000   2.000  1.00  0.00          O   
    `;

    viewer.addModel(bariumMolecule, "pdb");
    viewer.setStyle({}, {
        sphere: { 
            radius: 0.6,
            color: 'spectrum'
        },
        stick: { 
            radius: 0.2,
            color: 'white'
        }
    });
    viewer.zoomTo();
    viewer.render();

    // Continuous rotation
    function animate() {
        viewer.rotate(0.3, {x: 0, y: 1, z: 0});
        viewer.render();
        requestAnimationFrame(animate);
    }
    animate();

    return viewer;
}

// Particle System
function initializeParticleSystem() {
    const canvas = document.createElement('canvas');
    canvas.style.position = 'fixed';
    canvas.style.top = '0';
    canvas.style.left = '0';
    canvas.style.width = '100%';
    canvas.style.height = '100%';
    canvas.style.zIndex = '-1';
    canvas.style.opacity = '0.1';
    document.body.appendChild(canvas);

    const ctx = canvas.getContext('2d');
    const particles = [];

    function resizeCanvas() {
        canvas.width = window.innerWidth;
        canvas.height = window.innerHeight;
    }

    class Particle {
        constructor() {
            this.x = Math.random() * canvas.width;
            this.y = Math.random() * canvas.height;
            this.vx = (Math.random() - 0.5) * 0.5;
            this.vy = (Math.random() - 0.5) * 0.5;
            this.radius = Math.random() * 1.5;
            this.opacity = Math.random() * 0.1;
        }

        update() {
            this.x += this.vx;
            this.y += this.vy;
            if (this.x < 0 || this.x > canvas.width) this.vx *= -1;
            if (this.y < 0 || this.y > canvas.height) this.vy *= -1;
        }

        draw() {
            ctx.beginPath();
            ctx.arc(this.x, this.y, this.radius, 0, Math.PI * 2);
            ctx.fillStyle = `rgba(255, 255, 255, ${this.opacity})`;
            ctx.fill();
        }
    }

    // Initialize particles
    for (let i = 0; i < 30; i++) {
        particles.push(new Particle());
    }

    // Animation loop
    function animate() {
        ctx.clearRect(0, 0, canvas.width, canvas.height);
        particles.forEach(particle => {
            particle.update();
            particle.draw();
        });
        requestAnimationFrame(animate);
    }

    window.addEventListener('resize', resizeCanvas);
    resizeCanvas();
    animate();
}

// Initialize everything when the page loads
document.addEventListener('DOMContentLoaded', function() {
    initializeMoleculeViewer();
    initializeBariumViewer();
    initializeParticleSystem();
    
    // Add escape key listener for modal
    document.addEventListener('keydown', (e) => {
        if (e.key === 'Escape') closeModal();
    });

    // Add spotlight effect
    document.addEventListener('mousemove', (e) => {
        const spotlight = document.querySelector('.spotlight');
        const x = e.clientX / window.innerWidth * 100;
        const y = e.clientY / window.innerHeight * 100;
        spotlight.style.background = `radial-gradient(
            circle at ${x}% ${y}%,
            rgba(120, 119, 198, 0.1) 0%,
            rgba(0, 0, 0, 0) 50%
        )`;
    });
});
</script>
</body>
</html>