/* ===================================
   Variables & Reset
   =================================== */

:root {
    /* Colors - Dark Theme Palette */
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #8b9cf6;
    --secondary-color: #4facfe;
    --secondary-dark: #00f2fe;
    --accent-color: #43e97b;
    --accent-dark: #38f9d7;
    --text-primary: #ffffff;
    --text-secondary: #b8c1ec;
    --text-light: #8892b8;
    --bg-primary: #0f1419;
    --bg-secondary: #1a1d29;
    --bg-tertiary: #252a3a;
    --border-color: rgba(102, 126, 234, 0.2);
    
    /* Enhanced Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-sunset: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
    --gradient-ocean: linear-gradient(135deg, #2E3192 0%, #1BFFFF 100%);
    --gradient-purple: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    
    /* Mesh Gradients for Backgrounds */
    --mesh-gradient-1: radial-gradient(at 40% 20%, hsla(28,100%,74%,1) 0px, transparent 50%),
                        radial-gradient(at 80% 0%, hsla(189,100%,56%,1) 0px, transparent 50%),
                        radial-gradient(at 0% 50%, hsla(355,100%,93%,1) 0px, transparent 50%),
                        radial-gradient(at 80% 50%, hsla(340,100%,76%,1) 0px, transparent 50%),
                        radial-gradient(at 0% 100%, hsla(22,100%,77%,1) 0px, transparent 50%),
                        radial-gradient(at 80% 100%, hsla(242,100%,70%,1) 0px, transparent 50%),
                        radial-gradient(at 0% 0%, hsla(343,100%,76%,1) 0px, transparent 50%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Shadows - Enhanced */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 10px 40px -10px rgba(102, 126, 234, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: linear-gradient(135deg, #0f1419 0%, #1a1d29 50%, #0f1419 100%);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scientific & AI Coding Background Pattern - NO ANIMATION */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* AI & Programming Code */
        url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='10' y='25' font-family='Courier New, monospace' font-size='11' fill='%23667eea' opacity='0.12'%3Edef model(X): return β₀ + Σβᵢxᵢ%3C/text%3E%3Ctext x='10' y='50' font-family='Courier New, monospace' font-size='10' fill='%234facfe' opacity='0.10'%3Eif (ICER %26lt; threshold):%3C/text%3E%3Ctext x='10' y='70' font-family='Courier New, monospace' font-size='10' fill='%2343e97b' opacity='0.09'%3E  π(θ|x) ∝ L(x|θ)·π(θ)%3C/text%3E%3Ctext x='10' y='95' font-family='monospace' font-size='12' fill='%23667eea' opacity='0.11'%3EΣ P(x) = 1%3C/text%3E%3Ctext x='10' y='120' font-family='monospace' font-size='11' fill='%234facfe' opacity='0.10'%3Eλ(t) = λ₀e^(βt)%3C/text%3E%3Ctext x='10' y='145' font-family='monospace' font-size='11' fill='%2343e97b' opacity='0.09'%3EICER = ΔC/ΔE%3C/text%3E%3Ctext x='10' y='170' font-family='Courier New, monospace' font-size='10' fill='%23667eea' opacity='0.08'%3Efor state in markov_chain:%3C/text%3E%3Ctext x='10' y='190' font-family='Courier New, monospace' font-size='9' fill='%234facfe' opacity='0.08'%3E  P[i][j] = transition_prob%3C/text%3E%3Ctext x='10' y='210' font-family='monospace' font-size='10' fill='%2343e97b' opacity='0.07'%3EQALY = Σ(uᵢ·tᵢ)%3C/text%3E%3Ctext x='10' y='235' font-family='Courier New, monospace' font-size='9' fill='%23667eea' opacity='0.08'%3Ewhile convergence:%3C/text%3E%3Ctext x='10' y='255' font-family='Courier New, monospace' font-size='9' fill='%234facfe' opacity='0.07'%3E  update_parameters(θ)%3C/text%3E%3Ctext x='10' y='280' font-family='monospace' font-size='10' fill='%2343e97b' opacity='0.07'%3EE[X] = ∫x·f(x)dx%3C/text%3E%3C/svg%3E"),
        /* Grid pattern */
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 600px 600px, 40px 40px, 40px 40px;
    background-position: 0 0, 0 0, 0 0;
    z-index: -1;
    pointer-events: none;
    /* NO ANIMATION - steady background */
}

/* Statistical & AI visualization overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='1000' height='800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.05'%3E%3C!-- Survival curve --%3E%3Cpath d='M50,500 L100,480 L150,450 L200,410 L250,360 L300,300 L350,240 L400,190 L450,160 L500,145 L550,135 L600,130' stroke='%234facfe' stroke-width='2' fill='none'/%3E%3C!-- Markov states --%3E%3Ccircle cx='100' cy='100' r='35' stroke='%23667eea' stroke-width='2' fill='none'/%3E%3Ctext x='85' y='108' font-size='12' fill='%23667eea' opacity='0.6'%3ES1%3C/text%3E%3Ccircle cx='280' cy='100' r='35' stroke='%2343e97b' stroke-width='2' fill='none'/%3E%3Ctext x='265' y='108' font-size='12' fill='%2343e97b' opacity='0.6'%3ES2%3C/text%3E%3Ccircle cx='460' cy='100' r='35' stroke='%23667eea' stroke-width='2' fill='none'/%3E%3Ctext x='445' y='108' font-size='12' fill='%23667eea' opacity='0.6'%3ES3%3C/text%3E%3C!-- Transition arrows --%3E%3Cpath d='M135,100 L245,100' stroke='%234facfe' stroke-width='2' marker-end='url(%23arrowblue)'/%3E%3Cpath d='M315,100 L425,100' stroke='%234facfe' stroke-width='2' marker-end='url(%23arrowblue)'/%3E%3C!-- Self-loops --%3E%3Cpath d='M100,65 Q100,40 120,50' stroke='%2343e97b' stroke-width='1.5' fill='none'/%3E%3C!-- Neural network nodes --%3E%3Ccircle cx='700' cy='200' r='15' fill='%23667eea' opacity='0.3'/%3E%3Ccircle cx='700' cy='250' r='15' fill='%23667eea' opacity='0.3'/%3E%3Ccircle cx='700' cy='300' r='15' fill='%23667eea' opacity='0.3'/%3E%3Ccircle cx='800' cy='225' r='15' fill='%234facfe' opacity='0.3'/%3E%3Ccircle cx='800' cy='275' r='15' fill='%234facfe' opacity='0.3'/%3E%3Ccircle cx='900' cy='250' r='15' fill='%2343e97b' opacity='0.3'/%3E%3C!-- Network connections --%3E%3Cline x1='715' y1='200' x2='785' y2='225' stroke='%23667eea' stroke-width='1' opacity='0.3'/%3E%3Cline x1='715' y1='250' x2='785' y2='225' stroke='%23667eea' stroke-width='1' opacity='0.3'/%3E%3Cline x1='815' y1='225' x2='885' y2='250' stroke='%234facfe' stroke-width='1' opacity='0.3'/%3E%3C!-- Cost-effectiveness plane quadrants --%3E%3Cline x1='50' y1='650' x2='550' y2='650' stroke='%23667eea' stroke-width='1.5' opacity='0.4'/%3E%3Cline x1='300' y1='500' x2='300' y2='750' stroke='%23667eea' stroke-width='1.5' opacity='0.4'/%3E%3Ctext x='520' y='645' font-size='10' fill='%23667eea' opacity='0.5'%3EΔE%3C/text%3E%3Ctext x='305' y='515' font-size='10' fill='%23667eea' opacity='0.5'%3EΔC%3C/text%3E%3C!-- Data points --%3E%3Ccircle cx='350' cy='620' r='4' fill='%2343e97b' opacity='0.6'/%3E%3Ccircle cx='380' cy='600' r='4' fill='%2343e97b' opacity='0.6'/%3E%3Ccircle cx='420' cy='590' r='4' fill='%2343e97b' opacity='0.6'/%3E%3Ccircle cx='400' cy='610' r='4' fill='%2343e97b' opacity='0.6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 1000px 800px;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
    /* NO ANIMATION - steady overlay */
}

/* NO Floating Shapes - Removed for steady professional appearance */

/* Parallax Effect */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

/* ===================================
   Utility Classes
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--text-primary);
}

/* ===================================
   Navigation - Glassmorphism
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(15, 20, 25, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
    transition: all var(--transition-normal);
}

.nav-brand a:hover {
    /* Removed transform for steady appearance */
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #ffffff;
    /* Removed transform for steady appearance */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta-button {
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-link.cta-button:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    /* Removed transform for steady appearance */
}

.nav-link.cta-button::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

/* ===================================
   Hero Section - Enhanced
   =================================== */

.hero {
    padding: 10rem 0 8rem;
    background: linear-gradient(135deg, #1a1d29 0%, #252a3a 50%, #1a1d29 100%);
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* AI/ML Code snippets & Statistical formulas */
        url("data:image/svg+xml,%3Csvg width='800' height='600' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.08'%3E%3C!-- Programming code --%3E%3Ctext x='450' y='80' font-family='Courier New, monospace' font-size='12' fill='%23667eea'%3Eclass HealthEconomics:%3C/text%3E%3Ctext x='470' y='100' font-family='Courier New, monospace' font-size='11' fill='%234facfe'%3Edef calculate_icer(self):%3C/text%3E%3Ctext x='490' y='120' font-family='Courier New, monospace' font-size='10' fill='%2343e97b'%3Ereturn (ΔC/ΔE)%3C/text%3E%3Ctext x='450' y='150' font-family='Courier New, monospace' font-size='11' fill='%23667eea'%3Efor state in markov:%3C/text%3E%3Ctext x='470' y='170' font-family='Courier New, monospace' font-size='10' fill='%234facfe'%3Etransition_prob[i][j]%3C/text%3E%3C!-- Cost-effectiveness plane --%3E%3Cline x1='50' y1='500' x2='550' y2='500' stroke='%23667eea' stroke-width='2'/%3E%3Cline x1='50' y1='500' x2='50' y2='200' stroke='%23667eea' stroke-width='2'/%3E%3Ctext x='520' y='520' fill='%23667eea' font-size='14'%3EΔE%3C/text%3E%3Ctext x='20' y='220' fill='%23667eea' font-size='14'%3EΔC%3C/text%3E%3C!-- Threshold line --%3E%3Cline x1='50' y1='500' x2='500' y2='250' stroke='%234facfe' stroke-width='1.5' stroke-dasharray='5,5'/%3E%3Ctext x='300' y='370' fill='%234facfe' font-size='11'%3Eλ = £30k/QALY%3C/text%3E%3C!-- Data points --%3E%3Ccircle cx='200' cy='400' r='4' fill='%2343e97b'/%3E%3Ccircle cx='300' cy='350' r='4' fill='%2343e97b'/%3E%3Ccircle cx='400' cy='330' r='4' fill='%2343e97b'/%3E%3Ccircle cx='350' cy='360' r='4' fill='%2343e97b'/%3E%3C!-- Statistical formulas --%3E%3Ctext x='450' y='400' font-family='monospace' font-size='12' fill='%23667eea'%3EP(x) = e^(β₀+β₁x)%3C/text%3E%3Ctext x='450' y='430' font-family='monospace' font-size='11' fill='%234facfe'%3EQALY = Σ(uᵢ·tᵢ)%3C/text%3E%3Ctext x='450' y='460' font-family='monospace' font-size='11' fill='%2343e97b'%3ES(t) = e^(-λt)%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 800px 600px;
    background-position: right center;
    background-repeat: no-repeat;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInFromTop 0.8s ease-out;
    text-shadow: 0 0 40px rgba(102, 126, 234, 0.3);
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    animation: slideInFromTop 1s ease-out;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeIn 1.2s ease-out;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2.5rem 0;
    border-top: 2px solid rgba(102, 126, 234, 0.2);
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.8) 0%, rgba(37, 42, 58, 0.8) 100%);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    border: 1px solid rgba(102, 126, 234, 0.3);
    /* NO ANIMATION - steady appearance */
}

.stat-item:hover {
    /* Removed transform for steady appearance */
    box-shadow: var(--shadow-colored);
    background: rgba(26, 29, 41, 0.95);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: nowrap;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-dark {
    background: var(--gradient-primary);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-dark:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
    color: white;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* Profile Card with 3D Effect */
.hero-image {
    animation: fadeInRight 1s ease-out;
    perspective: 1000px;
}

.profile-card {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.95) 0%, rgba(37, 42, 58, 0.95) 100%);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 2px solid rgba(102, 126, 234, 0.4);
    /* NO ANIMATION - steady card */
}

.profile-card:hover {
    /* Removed 3D rotation for steady appearance */
}

.profile-icon {
    width: 160px;
    height: 160px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 2rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.6);
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.2);
    /* NO ANIMATION - steady icon */
}

.profile-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.3;
    /* NO ANIMATION - steady ring */
}

.profile-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.badge {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* NO ANIMATION - steady badges */
}

.badge:hover {
    /* Removed transform for steady appearance */
}

/* ===================================
   About Section - Wave Background
   =================================== */

.about {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1d29 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* AI and Statistical code patterns */
        url("data:image/svg+xml,%3Csvg width='500' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.06'%3E%3Ctext x='30' y='50' font-family='Courier New, monospace' font-size='11' fill='%23667eea'%3Eimport numpy as np%3C/text%3E%3Ctext x='30' y='75' font-family='Courier New, monospace' font-size='11' fill='%234facfe'%3Efrom scipy.stats import norm%3C/text%3E%3Ctext x='30' y='110' font-family='Courier New, monospace' font-size='10' fill='%2343e97b'%3Edef markov_model(states):%3C/text%3E%3Ctext x='50' y='135' font-family='Courier New, monospace' font-size='10' fill='%23667eea'%3EP_matrix = transition_prob%3C/text%3E%3Ctext x='50' y='160' font-family='Courier New, monospace' font-size='10' fill='%234facfe'%3Efor t in range(cycles):%3C/text%3E%3Ctext x='70' y='185' font-family='Courier New, monospace' font-size='9' fill='%2343e97b'%3Eresults.append(state)%3C/text%3E%3Ctext x='30' y='220' font-family='monospace' font-size='11' fill='%23667eea'%3EICER = (C_new - C_old) /%3C/text%3E%3Ctext x='60' y='245' font-family='monospace' font-size='11' fill='%234facfe'%3E(E_new - E_old)%3C/text%3E%3Ctext x='30' y='280' font-family='Courier New, monospace' font-size='10' fill='%2343e97b'%3Eif ICER %26lt; threshold:%3C/text%3E%3Ctext x='50' y='305' font-family='Courier New, monospace' font-size='9' fill='%23667eea'%3Edecision = 'Cost-effective'%3C/text%3E%3Ctext x='300' y='60' font-family='monospace' font-size='12' fill='%23667eea'%3Eπ(θ|x) ∝ L(x|θ)·π(θ)%3C/text%3E%3Ctext x='300' y='90' font-family='monospace' font-size='11' fill='%234facfe'%3ES(t) = exp(-Σλᵢtᵢ)%3C/text%3E%3Ctext x='300' y='120' font-family='monospace' font-size='11' fill='%2343e97b'%3Eh(t) = λ₀·exp(β·t)%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 800px 600px;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.unique-profile {
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, #1a1d29 0%, #2d1b3d 100%);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(102, 126, 234, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* Background Pattern with AI, Health Economics & Coding Elements */
.profile-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    background-image: 
        /* AI & Programming code with mathematical formulas */
        url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='10' y='25' font-family='Courier New, monospace' font-size='10' fill='%23ffffff'%3Edef icer(C, E):%3C/text%3E%3Ctext x='15' y='45' font-family='Courier New, monospace' font-size='9' fill='%23ffffff'%3Ereturn ΔC/ΔE%3C/text%3E%3Ctext x='10' y='70' font-family='monospace' font-size='11' fill='%23ffffff'%3EΣ P(x) = 1%3C/text%3E%3Ctext x='10' y='95' font-family='Courier New, monospace' font-size='9' fill='%23ffffff'%3Efor s in states:%3C/text%3E%3Ctext x='15' y='115' font-family='Courier New, monospace' font-size='8' fill='%23ffffff'%3Etransition[i][j]%3C/text%3E%3Ctext x='10' y='140' font-family='monospace' font-size='10' fill='%23ffffff'%3Eλ(t)=λ₀e^βt%3C/text%3E%3Ctext x='10' y='165' font-family='monospace' font-size='10' fill='%23ffffff'%3EQALY=Σ(u·t)%3C/text%3E%3Ctext x='10' y='185' font-family='Courier New, monospace' font-size='8' fill='%23ffffff'%3Eif p %26lt; 0.05:%3C/text%3E%3C/svg%3E"),
        /* Grid pattern */
        linear-gradient(rgba(102, 126, 234, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 300px 300px, 40px 40px, 40px 40px;
    background-position: 0 0, 0 0, 0 0;
    pointer-events: none;
}

/* Statistical symbols overlay */
.unique-profile::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23667eea' stroke-width='2' opacity='0.15'%3E%3Ccircle cx='60' cy='60' r='50'/%3E%3Cpath d='M30,60 Q45,30 60,60 T90,60' stroke='%2310b981'/%3E%3Cline x1='30' y1='80' x2='90' y2='40' stroke='%23f59e0b'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Markov chain diagram */
.unique-profile::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23667eea' stroke-width='1.5' opacity='0.12'%3E%3Ccircle cx='25' cy='50' r='15' fill='%231a1d29' stroke='%2310b981'/%3E%3Ccircle cx='75' cy='50' r='15' fill='%231a1d29' stroke='%23667eea'/%3E%3Cpath d='M40,50 L60,50' stroke='%23f59e0b' marker-end='url(%23arrow)'/%3E%3Cpath d='M75,35 Q85,25 75,15 Q65,25 75,35' stroke='%2310b981'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.unique-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

.unique-profile h3 {
    margin-bottom: 2.5rem;
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.profile-circles {
    display: flex;
    justify-content: space-around;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

.circle-item {
    position: relative;
}

.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d1b3d 0%, #1a1d29 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 1rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.3);
    transition: all var(--transition-normal);
    border: 2px solid rgba(102, 126, 234, 0.4);
    position: relative;
    /* NO ANIMATION - steady circles */
}

.circle-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.circle-text {
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Individual circle colors - steady, no animation */
.circle-health {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 
        0 10px 40px rgba(102, 126, 234, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(102, 126, 234, 0.5);
}

.circle-engineer {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-color: #4facfe;
    box-shadow: 
        0 10px 40px rgba(79, 172, 254, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(79, 172, 254, 0.5);
}

.circle-blockchain {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-color: #43e97b;
    box-shadow: 
        0 10px 40px rgba(67, 233, 123, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(67, 233, 123, 0.5);
}

.circle:hover {
    transform: scale(1.1);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.3);
}

.circle-health:hover {
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 2px rgba(102, 126, 234, 0.8);
}

.circle-engineer:hover {
    box-shadow: 
        0 20px 60px rgba(79, 172, 254, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 2px rgba(79, 172, 254, 0.8);
}

.circle-blockchain:hover {
    box-shadow: 
        0 20px 60px rgba(67, 233, 123, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 2px rgba(67, 233, 123, 0.8);
}

.profile-note {
    text-align: center;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.9) 0%, rgba(37, 42, 58, 0.9) 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    transition: height var(--transition-normal);
}

.highlight-card:hover::before {
    height: 100%;
}

.highlight-card:hover {
    /* Removed transform for steady appearance */
    box-shadow: var(--shadow-2xl);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

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

.highlight-card h4 {
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===================================
   Expertise Section - Grid with Hover Effects
   =================================== */

.expertise {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #1a1d29 0%, #252a3a 100%);
    position: relative;
}

.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* R and Python statistical code */
        url("data:image/svg+xml,%3Csvg width='600' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.06'%3E%3Ctext x='30' y='40' font-family='Courier New, monospace' font-size='11' fill='%23667eea'%3E%23 R Statistical Analysis%3C/text%3E%3Ctext x='30' y='65' font-family='Courier New, monospace' font-size='10' fill='%234facfe'%3Esurvival_model %26lt;- survfit(%3C/text%3E%3Ctext x='50' y='85' font-family='Courier New, monospace' font-size='10' fill='%2343e97b'%3ESurv(time, status) ~ arm)%3C/text%3E%3Ctext x='30' y='115' font-family='Courier New, monospace' font-size='10' fill='%23667eea'%3Eggplot(aes(x=QALY, y=Cost))%3C/text%3E%3Ctext x='350' y='50' font-family='Courier New, monospace' font-size='10' fill='%234facfe'%3E// C++ Performance%3C/text%3E%3Ctext x='350' y='75' font-family='Courier New, monospace' font-size='9' fill='%2343e97b'%3Evector%26lt;double%26gt; results%3C/text%3E%3Ctext x='350' y='100' font-family='Courier New, monospace' font-size='9' fill='%23667eea'%3Efor(int i=0; i%26lt;n; i++)%3C/text%3E%3Ctext x='30' y='160' font-family='Courier New, monospace' font-size='10' fill='%234facfe'%3Eimport pandas as pd%3C/text%3E%3Ctext x='30' y='185' font-family='Courier New, monospace' font-size='10' fill='%2343e97b'%3Edf.groupby('treatment')%3C/text%3E%3Ctext x='30' y='210' font-family='Courier New, monospace' font-size='9' fill='%23667eea'%3E.agg(mean_icer)%3C/text%3E%3Ctext x='350' y='150' font-family='monospace' font-size='11' fill='%234facfe'%3ES(t) = exp(-∫λ(u)du)%3C/text%3E%3Ctext x='350' y='180' font-family='monospace' font-size='10' fill='%2343e97b'%3Eh(t|x) = h₀(t)exp(βx)%3C/text%3E%3Ctext x='30' y='250' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Emodel.fit(X_train, y)%3C/text%3E%3Ctext x='30' y='275' font-family='Courier New, monospace' font-size='9' fill='%2343e97b'%3Epred = model.predict(X)%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 900px 600px;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.9) 0%, rgba(37, 42, 58, 0.9) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.expertise-card:hover::before {
    opacity: 0.05;
}

.expertise-card:hover {
    /* Removed transform for steady appearance */
    box-shadow: var(--shadow-2xl);
    border-color: rgba(102, 126, 234, 0.3);
}

.expertise-card > * {
    position: relative;
    z-index: 1;
}

.expertise-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all var(--transition-normal);
}

.expertise-card:hover .expertise-icon {
    /* Removed transform for steady appearance */
}

.expertise-card h3 {
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expertise-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.expertise-list {
    list-style: none;
}

.expertise-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.expertise-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.expertise-list li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.expertise-list li:hover::before {
    transform: scale(1.3) rotate(360deg);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all var(--transition-normal);
}

.tech-badge:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

/* ===================================
   Services Section - Cards with Icons
   =================================== */

.services {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1d29 100%);
    position: relative;
}

/* Removed horizontal bar with slope for clean professional look */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.9) 0%, rgba(37, 42, 58, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid transparent;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: all var(--transition-slow);
}

.service-card:hover::before {
    transform: translate(30%, -30%) scale(1.5);
    opacity: 0.1;
}

.service-card:hover {
    /* Removed transform for steady appearance */
    box-shadow: var(--shadow-2xl);
    border-left-color: var(--primary-color);
}

.service-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all var(--transition-normal);
}

.service-card:hover .service-number {
    transform: rotate(360deg) scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    transition: all var(--transition-fast);
}

.service-features span::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    transition: all var(--transition-fast);
}

.service-features span:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.service-features span:hover::before {
    transform: translateX(5px);
}

/* ===================================
   Therapeutic Areas - Colorful Grid
   =================================== */

.therapeutic-areas {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, #1a1d29 0%, #252a3a 100%);
    position: relative;
    overflow: hidden;
}

.therapeutic-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Medical AI and disease modeling code */
        url("data:image/svg+xml,%3Csvg width='500' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.06'%3E%3Ctext x='20' y='40' font-family='Courier New, monospace' font-size='10' fill='%23667eea'%3E// Disease Progression Model%3C/text%3E%3Ctext x='20' y='65' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Eclass OncologyModel:%3C/text%3E%3Ctext x='40' y='85' font-family='Courier New, monospace' font-size='9' fill='%2343e97b'%3Edef simulate(states):%3C/text%3E%3Ctext x='60' y='105' font-family='Courier New, monospace' font-size='8' fill='%23667eea'%3Efor cycle in range(n):%3C/text%3E%3Ctext x='280' y='50' font-family='monospace' font-size='10' fill='%234facfe'%3EP(progression) = 1-e^-λt%3C/text%3E%3Ctext x='280' y='75' font-family='monospace' font-size='9' fill='%2343e97b'%3EQALY_adj = Σ(uᵢ·tᵢ·δᵢ)%3C/text%3E%3Ctext x='20' y='145' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Eif therapy_effective:%3C/text%3E%3Ctext x='40' y='165' font-family='Courier New, monospace' font-size='8' fill='%2343e97b'%3Esurvival_gain += benefit%3C/text%3E%3Ctext x='280' y='120' font-family='monospace' font-size='9' fill='%23667eea'%3EOS = median_surv + HR·x%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 800px 500px;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.therapeutic-areas .section-title,
.therapeutic-areas .section-subtitle {
    color: var(--text-primary);
}

.therapeutic-areas .section-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.therapeutic-areas .section-title::after {
    background: var(--gradient-primary);
}

.therapeutic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.therapeutic-card {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.9) 0%, rgba(37, 42, 58, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
}

.therapeutic-card:hover {
    /* Removed transform for steady appearance */
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.95) 0%, rgba(37, 42, 58, 0.95) 100%);
    border-color: rgba(102, 126, 234, 0.5);
}

.therapeutic-card h4 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.therapeutic-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===================================
   Portfolio Section - Enhanced Cards
   =================================== */

.portfolio {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1d29 100%);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* VBA, Excel, Julia code patterns */
        url("data:image/svg+xml,%3Csvg width='700' height='500' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.06'%3E%3Ctext x='30' y='40' font-family='Courier New, monospace' font-size='11' fill='%23667eea'%3E' VBA Excel Automation%3C/text%3E%3Ctext x='30' y='65' font-family='Courier New, monospace' font-size='10' fill='%234facfe'%3ESub CalculateICER()%3C/text%3E%3Ctext x='50' y='85' font-family='Courier New, monospace' font-size='9' fill='%2343e97b'%3EDim deltaC, deltaE%3C/text%3E%3Ctext x='50' y='105' font-family='Courier New, monospace' font-size='9' fill='%23667eea'%3EICER = deltaC / deltaE%3C/text%3E%3Ctext x='30' y='130' font-family='Courier New, monospace' font-size='10' fill='%234facfe'%3EEnd Sub%3C/text%3E%3Ctext x='400' y='50' font-family='Courier New, monospace' font-size='10' fill='%2343e97b'%3E%23 Julia High Performance%3C/text%3E%3Ctext x='400' y='75' font-family='Courier New, monospace' font-size='9' fill='%23667eea'%3Efunction markov_sim(P)%3C/text%3E%3Ctext x='420' y='95' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Eresults = zeros(n)%3C/text%3E%3Ctext x='420' y='115' font-family='Courier New, monospace' font-size='9' fill='%2343e97b'%3Efor i in 1:cycles%3C/text%3E%3Ctext x='440' y='135' font-family='Courier New, monospace' font-size='8' fill='%23667eea'%3Estate = transition(P)%3C/text%3E%3Ctext x='30' y='180' font-family='monospace' font-size='11' fill='%234facfe'%3EWTP = £30,000/QALY%3C/text%3E%3Ctext x='30' y='205' font-family='monospace' font-size='10' fill='%2343e97b'%3EINMB = WTP·ΔE - ΔC%3C/text%3E%3Ctext x='400' y='180' font-family='Courier New, monospace' font-size='9' fill='%23667eea'%3Elibrary(flexsurv)%3C/text%3E%3Ctext x='400' y='205' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Efit %26lt;- flexsurvreg(%3C/text%3E%3Ctext x='420' y='225' font-family='Courier New, monospace' font-size='8' fill='%2343e97b'%3ESurv(time) ~ 1)%3C/text%3E%3Ctext x='30' y='260' font-family='Courier New, monospace' font-size='10' fill='%23667eea'%3E=IF(B2%26lt;threshold,%3C/text%3E%3Ctext x='50' y='280' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3E\"Cost-effective\",\"Not\")%3C/text%3E%3Ctext x='400' y='270' font-family='monospace' font-size='10' fill='%2343e97b'%3Eπ(θ) = Beta(α, β)%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 1000px 700px;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

/* GitHub Callout Box */
.github-callout {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 3rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

.github-callout:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.github-icon {
    font-size: 4rem;
    flex-shrink: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

.github-content {
    flex: 1;
}

.github-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.github-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.btn-github {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-github:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    color: white;
}

.portfolio-grid {
    display: grid;
    gap: 3rem;
}

.portfolio-card {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.9) 0%, rgba(37, 42, 58, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 1;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: width var(--transition-slow);
}

.portfolio-card:hover::before {
    width: 100%;
}

.portfolio-card:hover {
    box-shadow: var(--shadow-2xl);
    /* Removed transform for steady appearance */
}

.portfolio-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-top-color: var(--secondary-color);
    border: 2px solid rgba(102, 126, 234, 0.4);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.portfolio-header h3 {
    flex: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all var(--transition-normal);
}

.project-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.project-period {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.project-highlights {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.project-highlights h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-highlights ul {
    list-style: none;
}

.project-highlights li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.project-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.project-highlights li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.project-highlights li:hover::before {
    transform: translateX(5px) scale(1.2);
}

.tech-used {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ===================================
   Publications Section
   =================================== */

.publications {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1d29 100%);
    position: relative;
}

.publications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Academic research code and statistical formulas */
        url("data:image/svg+xml,%3Csvg width='600' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.06'%3E%3Ctext x='30' y='40' font-family='Courier New, monospace' font-size='10' fill='%23667eea'%3E%23 Statistical Analysis%3C/text%3E%3Ctext x='30' y='65' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Elibrary(survival)%3C/text%3E%3Ctext x='30' y='90' font-family='Courier New, monospace' font-size='9' fill='%2343e97b'%3Emodel %26lt;- coxph(Surv~x)%3C/text%3E%3Ctext x='350' y='50' font-family='monospace' font-size='10' fill='%23667eea'%3EP(Y=1|X) = 1/(1+e^-z)%3C/text%3E%3Ctext x='350' y='80' font-family='monospace' font-size='9' fill='%234facfe'%3Eχ² = Σ(O-E)²/E%3C/text%3E%3Ctext x='30' y='130' font-family='Courier New, monospace' font-size='9' fill='%23667eea'%3Esummary(fit)%24coefficients%3C/text%3E%3Ctext x='30' y='155' font-family='Courier New, monospace' font-size='8' fill='%234facfe'%3Econfint(model, level=0.95)%3C/text%3E%3Ctext x='350' y='125' font-family='monospace' font-size='9' fill='%2343e97b'%3Et = (x̄-μ)/(s/√n)%3C/text%3E%3Ctext x='30' y='195' font-family='Courier New, monospace' font-size='9' fill='%2343e97b'%3Eggplot(data, aes(x,y)) +%3C/text%3E%3Ctext x='50' y='215' font-family='Courier New, monospace' font-size='8' fill='%23667eea'%3Egeom_point() +%3C/text%3E%3Ctext x='50' y='235' font-family='Courier New, monospace' font-size='8' fill='%234facfe'%3Estat_smooth(method='lm')%3C/text%3E%3Ctext x='350' y='170' font-family='monospace' font-size='9' fill='%23667eea'%3EHR = exp(β)%3C/text%3E%3Ctext x='350' y='200' font-family='monospace' font-size='9' fill='%234facfe'%3E95%25 CI: [e^(β-1.96·SE), ...]%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 900px 600px;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
}

.publication-card {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.9) 0%, rgba(37, 42, 58, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 1;
}

.publication-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--gradient-success);
    transition: height var(--transition-normal);
}

.publication-card:hover::before {
    height: 100%;
}

.publication-card:hover {
    /* Removed transform for steady appearance */
    box-shadow: var(--shadow-2xl);
    border-color: rgba(16, 185, 129, 0.3);
}

.publication-journal {
    display: inline-block;
    background: var(--gradient-success);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.publication-card h3 {
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem;
}

.publication-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.publication-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50px;
    transition: all var(--transition-normal);
}

.publication-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* ===================================
   Experience Timeline - Enhanced
   =================================== */

.experience {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #1a1d29 0%, #252a3a 100%);
    position: relative;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Career progression and project management code */
        url("data:image/svg+xml,%3Csvg width='600' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.06'%3E%3Ctext x='30' y='40' font-family='Courier New, monospace' font-size='10' fill='%23667eea'%3Eclass ProjectManager:%3C/text%3E%3Ctext x='50' y='65' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Edef timeline(years):%3C/text%3E%3Ctext x='70' y='85' font-family='Courier New, monospace' font-size='8' fill='%2343e97b'%3Efor role in career:%3C/text%3E%3Ctext x='90' y='105' font-family='Courier New, monospace' font-size='8' fill='%23667eea'%3Eachievements.add()%3C/text%3E%3Ctext x='350' y='50' font-family='monospace' font-size='10' fill='%234facfe'%3Eexp(years) = Σ skills%3C/text%3E%3Ctext x='350' y='80' font-family='monospace' font-size='9' fill='%2343e97b'%3Eimpact = quality × time%3C/text%3E%3Ctext x='30' y='145' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3E// Version Control%3C/text%3E%3Ctext x='30' y='165' font-family='Courier New, monospace' font-size='8' fill='%2343e97b'%3Egit commit -m 'milestone'%3C/text%3E%3Ctext x='350' y='130' font-family='monospace' font-size='9' fill='%23667eea'%3Egrowth_rate = dS/dt%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 900px 600px;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.timeline-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.timeline-date {
    width: 100px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.125rem;
    flex-shrink: 0;
    text-align: right;
    padding-right: 1rem;
}

.timeline-content {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.9) 0%, rgba(37, 42, 58, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    flex: 1;
    position: relative;
    transition: all var(--transition-normal);
    border: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 1;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 25px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 4px solid rgba(102, 126, 234, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(102, 126, 234, 0.3);
}

.timeline-content h3 {
    margin-bottom: 0.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content h4 {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===================================
   Education Section
   =================================== */

.education {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1d29 100%);
    position: relative;
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Academic and learning code */
        url("data:image/svg+xml,%3Csvg width='600' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.06'%3E%3Ctext x='30' y='40' font-family='Courier New, monospace' font-size='10' fill='%23667eea'%3Eclass Education:%3C/text%3E%3Ctext x='50' y='65' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Edef learn(subject):%3C/text%3E%3Ctext x='70' y='85' font-family='Courier New, monospace' font-size='8' fill='%2343e97b'%3Eknowledge += study()%3C/text%3E%3Ctext x='70' y='105' font-family='Courier New, monospace' font-size='8' fill='%23667eea'%3Ereturn mastery%3C/text%3E%3Ctext x='350' y='50' font-family='monospace' font-size='10' fill='%234facfe'%3Eθ ~ N(μ, σ²)%3C/text%3E%3Ctext x='350' y='80' font-family='monospace' font-size='9' fill='%2343e97b'%3E∫f(x)dx = knowledge%3C/text%3E%3Ctext x='30' y='145' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Eimport expertise%3C/text%3E%3Ctext x='30' y='165' font-family='Courier New, monospace' font-size='8' fill='%2343e97b'%3Eskills.append(degree)%3C/text%3E%3Ctext x='350' y='130' font-family='monospace' font-size='9' fill='%23667eea'%3EP(success) = f(effort)%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 900px 600px;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-card {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.9) 0%, rgba(37, 42, 58, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: all var(--transition-slow);
}

.education-card:hover::before {
    transform: translate(20%, -20%) scale(1.5);
    opacity: 0.1;
}

.education-card:hover {
    /* Removed transform for steady appearance */
    box-shadow: var(--shadow-2xl);
    border-color: rgba(102, 126, 234, 0.3);
}

.education-card.highlight {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.education-year {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.education-card h3 {
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem;
}

.education-card h4 {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.education-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===================================
   Languages Section
   =================================== */

.languages {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, #1a1d29 0%, #252a3a 100%);
    text-align: center;
    position: relative;
}

.languages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Multilingual programming concepts */
        url("data:image/svg+xml,%3Csvg width='500' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.06'%3E%3Ctext x='30' y='40' font-family='Courier New, monospace' font-size='10' fill='%23667eea'%3Edef translate(lang):%3C/text%3E%3Ctext x='50' y='60' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Ereturn fluency[lang]%3C/text%3E%3Ctext x='300' y='45' font-family='monospace' font-size='10' fill='%2343e97b'%3EL = %7BES, EN, FR, ...%7D%3C/text%3E%3Ctext x='30' y='100' font-family='Courier New, monospace' font-size='9' fill='%2343e97b'%3Elanguages = ['Spanish',%3C/text%3E%3Ctext x='50' y='120' font-family='Courier New, monospace' font-size='8' fill='%23667eea'%3E'English', 'French']%3C/text%3E%3Ctext x='300' y='100' font-family='monospace' font-size='9' fill='%23667eea'%3EΣ skills = global_reach%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 800px 500px;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.language-item {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.9) 0%, rgba(37, 42, 58, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 2px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.language-item:hover::before {
    transform: scaleX(1);
}

.language-item:hover {
    /* Removed transform for steady appearance */
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 126, 234, 0.2);
}

.language-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.language-level {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===================================
   Contact Section - Glassmorphism
   =================================== */

.contact {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1d29 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Communication and connection code */
        url("data:image/svg+xml,%3Csvg width='600' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.06'%3E%3Ctext x='30' y='40' font-family='Courier New, monospace' font-size='10' fill='%23667eea'%3Eclass ContactManager:%3C/text%3E%3Ctext x='50' y='65' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Edef connect(message):%3C/text%3E%3Ctext x='70' y='85' font-family='Courier New, monospace' font-size='8' fill='%2343e97b'%3Esend_email(to, msg)%3C/text%3E%3Ctext x='70' y='105' font-family='Courier New, monospace' font-size='8' fill='%23667eea'%3Ereturn response%3C/text%3E%3Ctext x='350' y='50' font-family='monospace' font-size='10' fill='%234facfe'%3Enetwork = Σ connections%3C/text%3E%3Ctext x='350' y='80' font-family='monospace' font-size='9' fill='%2343e97b'%3Ecollaboration = f(reach)%3C/text%3E%3Ctext x='30' y='145' font-family='Courier New, monospace' font-size='9' fill='%234facfe'%3Eif inquiry_received:%3C/text%3E%3Ctext x='50' y='165' font-family='Courier New, monospace' font-size='8' fill='%2343e97b'%3Eprocess_request()%3C/text%3E%3Ctext x='350' y='130' font-family='monospace' font-size='9' fill='%23667eea'%3Evalue = partnership%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 900px 600px;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.contact .section-title,
.contact .section-subtitle {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.9) 0%, rgba(37, 42, 58, 0.9) 100%);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 1;
}

.contact-card:hover {
    /* Removed transform for steady appearance */
    box-shadow: var(--shadow-2xl);
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.95) 0%, rgba(37, 42, 58, 0.95) 100%);
    border-color: rgba(102, 126, 234, 0.4);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

.contact-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card a {
    color: var(--text-secondary);
    font-weight: 500;
    word-break: break-word;
    transition: all var(--transition-fast);
}

.contact-card a:hover {
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-cta {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.9) 0%, rgba(37, 42, 58, 0.9) 100%);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.contact-cta h3 {
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Footer code signatures */
        url("data:image/svg+xml,%3Csvg width='400' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.04'%3E%3Ctext x='20' y='40' font-family='Courier New, monospace' font-size='9' fill='%23ffffff'%3E// Built with passion%3C/text%3E%3Ctext x='20' y='65' font-family='Courier New, monospace' font-size='8' fill='%23ffffff'%3Econst expertise = years * dedication%3C/text%3E%3Ctext x='20' y='90' font-family='monospace' font-size='9' fill='%23ffffff'%3E\u00a9 2025 \u00b7 All rights reserved%3C/text%3E%3Ctext x='250' y='50' font-family='monospace' font-size='8' fill='%23ffffff'%3E\u03a3 contributions = impact%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 600px 300px;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

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

/* ===================================
   Animations
   =================================== */

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Smooth scrolling offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}

/* Scroll reveal effect */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        gap: 2rem;
    }
    
    .timeline-date {
        width: auto;
    }
    
    .timeline-content::before {
        left: -32px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        display: none;
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .profile-circles {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .expertise-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .therapeutic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .publications-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-stats,
    .therapeutic-grid,
    .languages-grid {
        grid-template-columns: 1fr;
    }
}
