/* Premium Professional Portfolio - Best UI/UX */
/* Multi-Theme System */

/* Default Theme: Dark (Original) */
:root,
[data-theme="dark"] {
  --bg-primary: #0a0e27;
  --bg-secondary: #0f1528;
  --bg-card: rgba(20, 28, 50, 0.85);
  --bg-hover: rgba(30, 40, 65, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #b8c5d8;
  --accent-blue: #4da3ff;
  --accent-purple: #9d7ed8;
  --accent-teal: #4dd4c4;
  --accent-pink: #d476d1;
  --border: rgba(255, 255, 255, 0.12);
  --border-light: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 64px rgba(77, 163, 255, 0.2);
  --glow-blue: 0 0 24px rgba(77, 163, 255, 0.4);
  --glow-purple: 0 0 24px rgba(157, 126, 216, 0.4);
  --glow-teal: 0 0 24px rgba(77, 212, 196, 0.4);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(77, 163, 255, 0.12) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(157, 126, 216, 0.12) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(77, 212, 196, 0.08) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #0a0e27 0%, #0f1528 50%, #0a0e27 100%);
  --star-color-1: rgba(255, 255, 255, 0.08);
  --star-color-2: rgba(77, 163, 255, 0.08);
  --star-color-3: rgba(157, 126, 216, 0.08);
}

/* Light Theme - Elegant & Modern */
[data-theme="light"] {
  --bg-primary: #fafbfc;
  --bg-secondary: #f0f2f5;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-hover: rgba(247, 249, 252, 0.98);
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --accent-blue: #2563eb;
  --accent-purple: #7c3aed;
  --accent-teal: #0891b2;
  --accent-pink: #db2777;
  --border: rgba(45, 55, 72, 0.1);
  --border-light: rgba(45, 55, 72, 0.06);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-xl: 0 20px 25px rgba(37, 99, 235, 0.12), 0 10px 10px rgba(37, 99, 235, 0.08);
  --glow-blue: 0 0 20px rgba(37, 99, 235, 0.25);
  --glow-purple: 0 0 20px rgba(124, 58, 237, 0.25);
  --glow-teal: 0 0 20px rgba(8, 145, 178, 0.25);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(8, 145, 178, 0.04) 0%, transparent 60%);
  --bg-base: linear-gradient(180deg, #fafbfc 0%, #f0f2f5 30%, #fafbfc 70%, #ffffff 100%);
  --star-color-1: rgba(45, 55, 72, 0.04);
  --star-color-2: rgba(37, 99, 235, 0.04);
  --star-color-3: rgba(124, 58, 237, 0.04);
}

/* Ocean Blue Theme */
[data-theme="ocean"] {
  --bg-primary: #0a1929;
  --bg-secondary: #0d1f33;
  --bg-card: rgba(19, 40, 61, 0.85);
  --bg-hover: rgba(24, 50, 75, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #a8c5e0;
  --accent-blue: #3b82f6;
  --accent-purple: #6366f1;
  --accent-teal: #06b6d4;
  --accent-pink: #ec4899;
  --border: rgba(59, 130, 246, 0.15);
  --border-light: rgba(59, 130, 246, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 64px rgba(59, 130, 246, 0.25);
  --glow-blue: 0 0 24px rgba(59, 130, 246, 0.5);
  --glow-purple: 0 0 24px rgba(99, 102, 241, 0.5);
  --glow-teal: 0 0 24px rgba(6, 182, 212, 0.5);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #0a1929 0%, #0d1f33 50%, #0a1929 100%);
  --star-color-1: rgba(255, 255, 255, 0.1);
  --star-color-2: rgba(59, 130, 246, 0.1);
  --star-color-3: rgba(6, 182, 212, 0.1);
}

/* Forest Green Theme */
[data-theme="forest"] {
  --bg-primary: #0f2027;
  --bg-secondary: #132830;
  --bg-card: rgba(26, 45, 52, 0.85);
  --bg-hover: rgba(36, 60, 70, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #b8d4c8;
  --accent-blue: #48bb78;
  --accent-purple: #68d391;
  --accent-teal: #38b2ac;
  --accent-pink: #f687b3;
  --border: rgba(72, 187, 120, 0.15);
  --border-light: rgba(72, 187, 120, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 64px rgba(72, 187, 120, 0.25);
  --glow-blue: 0 0 24px rgba(72, 187, 120, 0.5);
  --glow-purple: 0 0 24px rgba(104, 211, 145, 0.5);
  --glow-teal: 0 0 24px rgba(56, 178, 172, 0.5);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(72, 187, 120, 0.15) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(104, 211, 145, 0.15) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(56, 178, 172, 0.1) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #0f2027 0%, #132830 50%, #0f2027 100%);
  --star-color-1: rgba(255, 255, 255, 0.1);
  --star-color-2: rgba(72, 187, 120, 0.1);
  --star-color-3: rgba(56, 178, 172, 0.1);
}

/* Sunset Orange Theme */
[data-theme="sunset"] {
  --bg-primary: #1a0f0a;
  --bg-secondary: #231510;
  --bg-card: rgba(40, 24, 18, 0.85);
  --bg-hover: rgba(55, 35, 26, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #e8c5b0;
  --accent-blue: #f56565;
  --accent-purple: #ed8936;
  --accent-teal: #f6ad55;
  --accent-pink: #fc8181;
  --border: rgba(245, 101, 101, 0.15);
  --border-light: rgba(245, 101, 101, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 64px rgba(245, 101, 101, 0.25);
  --glow-blue: 0 0 24px rgba(245, 101, 101, 0.5);
  --glow-purple: 0 0 24px rgba(237, 137, 54, 0.5);
  --glow-teal: 0 0 24px rgba(246, 173, 85, 0.5);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(245, 101, 101, 0.15) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(237, 137, 54, 0.15) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(246, 173, 85, 0.1) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #1a0f0a 0%, #231510 50%, #1a0f0a 100%);
  --star-color-1: rgba(255, 255, 255, 0.1);
  --star-color-2: rgba(245, 101, 101, 0.1);
  --star-color-3: rgba(237, 137, 54, 0.1);
}

/* Purple Dream Theme */
[data-theme="purple"] {
  --bg-primary: #1a0d2e;
  --bg-secondary: #23103d;
  --bg-card: rgba(40, 20, 60, 0.85);
  --bg-hover: rgba(55, 30, 80, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #d4c2e8;
  --accent-blue: #9f7aea;
  --accent-purple: #b794f6;
  --accent-teal: #c084fc;
  --accent-pink: #e879f9;
  --border: rgba(159, 122, 234, 0.15);
  --border-light: rgba(159, 122, 234, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 64px rgba(159, 122, 234, 0.25);
  --glow-blue: 0 0 24px rgba(159, 122, 234, 0.5);
  --glow-purple: 0 0 24px rgba(183, 148, 246, 0.5);
  --glow-teal: 0 0 24px rgba(192, 132, 252, 0.5);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(159, 122, 234, 0.15) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(183, 148, 246, 0.15) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(192, 132, 252, 0.1) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #1a0d2e 0%, #23103d 50%, #1a0d2e 100%);
  --star-color-1: rgba(255, 255, 255, 0.1);
  --star-color-2: rgba(159, 122, 234, 0.1);
  --star-color-3: rgba(192, 132, 252, 0.1);
}

/* High Contrast Theme */
[data-theme="contrast"] {
  --bg-primary: #000000;
  --bg-secondary: #1a1a1a;
  --bg-card: rgba(30, 30, 30, 0.95);
  --bg-hover: rgba(50, 50, 50, 1);
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --accent-blue: #00d4ff;
  --accent-purple: #b794f6;
  --accent-teal: #00ffcc;
  --accent-pink: #ff6b9d;
  --border: rgba(255, 255, 255, 0.3);
  --border-light: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 212, 255, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 212, 255, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 212, 255, 0.5);
  --shadow-xl: 0 16px 64px rgba(0, 212, 255, 0.6);
  --glow-blue: 0 0 32px rgba(0, 212, 255, 0.8);
  --glow-purple: 0 0 32px rgba(183, 148, 246, 0.8);
  --glow-teal: 0 0 32px rgba(0, 255, 204, 0.8);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.2) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(183, 148, 246, 0.2) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(0, 255, 204, 0.15) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #000000 0%, #1a1a1a 50%, #000000 100%);
  --star-color-1: rgba(255, 255, 255, 0.15);
  --star-color-2: rgba(0, 212, 255, 0.15);
  --star-color-3: rgba(0, 255, 204, 0.15);
}

/* Emerald Medical Theme */
[data-theme="emerald"] {
  --bg-primary: #0a1f15;
  --bg-secondary: #0d2519;
  --bg-card: rgba(20, 45, 35, 0.85);
  --bg-hover: rgba(30, 60, 48, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #b8d4c8;
  --accent-blue: #10b981;
  --accent-purple: #34d399;
  --accent-teal: #14b8a6;
  --accent-pink: #6ee7b7;
  --border: rgba(16, 185, 129, 0.15);
  --border-light: rgba(16, 185, 129, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 64px rgba(16, 185, 129, 0.25);
  --glow-blue: 0 0 24px rgba(16, 185, 129, 0.5);
  --glow-purple: 0 0 24px rgba(52, 211, 153, 0.5);
  --glow-teal: 0 0 24px rgba(20, 184, 166, 0.5);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(52, 211, 153, 0.15) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #0a1f15 0%, #0d2519 50%, #0a1f15 100%);
  --star-color-1: rgba(255, 255, 255, 0.1);
  --star-color-2: rgba(16, 185, 129, 0.1);
  --star-color-3: rgba(20, 184, 166, 0.1);
}

/* Steel Professional Theme */
[data-theme="steel"] {
  --bg-primary: #1a1f2e;
  --bg-secondary: #1f2533;
  --bg-card: rgba(30, 40, 55, 0.85);
  --bg-hover: rgba(40, 52, 70, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #c0c8d0;
  --accent-blue: #64748b;
  --accent-purple: #818cf8;
  --accent-teal: #7c8c9c;
  --accent-pink: #a78bfa;
  --border: rgba(100, 116, 139, 0.15);
  --border-light: rgba(100, 116, 139, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 64px rgba(100, 116, 139, 0.25);
  --glow-blue: 0 0 24px rgba(100, 116, 139, 0.5);
  --glow-purple: 0 0 24px rgba(129, 140, 248, 0.5);
  --glow-teal: 0 0 24px rgba(124, 140, 156, 0.5);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(100, 116, 139, 0.15) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(129, 140, 248, 0.15) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(124, 140, 156, 0.1) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #1a1f2e 0%, #1f2533 50%, #1a1f2e 100%);
  --star-color-1: rgba(255, 255, 255, 0.1);
  --star-color-2: rgba(100, 116, 139, 0.1);
  --star-color-3: rgba(129, 140, 248, 0.1);
}

/* Midnight Navy Theme */
[data-theme="midnight"] {
  --bg-primary: #0f1626;
  --bg-secondary: #141b2d;
  --bg-card: rgba(25, 35, 55, 0.85);
  --bg-hover: rgba(35, 48, 70, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #b8c5d8;
  --accent-blue: #1e40af;
  --accent-purple: #3b82f6;
  --accent-teal: #2563eb;
  --accent-pink: #60a5fa;
  --border: rgba(30, 64, 175, 0.15);
  --border-light: rgba(30, 64, 175, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 64px rgba(30, 64, 175, 0.25);
  --glow-blue: 0 0 24px rgba(30, 64, 175, 0.5);
  --glow-purple: 0 0 24px rgba(59, 130, 246, 0.5);
  --glow-teal: 0 0 24px rgba(37, 99, 235, 0.5);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(30, 64, 175, 0.15) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #0f1626 0%, #141b2d 50%, #0f1626 100%);
  --star-color-1: rgba(255, 255, 255, 0.1);
  --star-color-2: rgba(30, 64, 175, 0.1);
  --star-color-3: rgba(59, 130, 246, 0.1);
}

/* Crimson Medical Theme */
[data-theme="crimson"] {
  --bg-primary: #1a0a0a;
  --bg-secondary: #250d0d;
  --bg-card: rgba(45, 20, 20, 0.85);
  --bg-hover: rgba(60, 30, 30, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #e8c5c5;
  --accent-blue: #dc2626;
  --accent-purple: #ef4444;
  --accent-teal: #f87171;
  --accent-pink: #fc8181;
  --border: rgba(220, 38, 38, 0.15);
  --border-light: rgba(220, 38, 38, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 64px rgba(220, 38, 38, 0.25);
  --glow-blue: 0 0 24px rgba(220, 38, 38, 0.5);
  --glow-purple: 0 0 24px rgba(239, 68, 68, 0.5);
  --glow-teal: 0 0 24px rgba(248, 113, 113, 0.5);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(239, 68, 68, 0.15) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(248, 113, 113, 0.1) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #1a0a0a 0%, #250d0d 50%, #1a0a0a 100%);
  --star-color-1: rgba(255, 255, 255, 0.1);
  --star-color-2: rgba(220, 38, 38, 0.1);
  --star-color-3: rgba(239, 68, 68, 0.1);
}

/* Sage Soft Green Theme */
[data-theme="sage"] {
  --bg-primary: #1a2219;
  --bg-secondary: #1f2820;
  --bg-card: rgba(35, 45, 35, 0.85);
  --bg-hover: rgba(45, 58, 45, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #d0d8d0;
  --accent-blue: #84cc16;
  --accent-purple: #a3e635;
  --accent-teal: #65a30d;
  --accent-pink: #bef264;
  --border: rgba(132, 204, 22, 0.15);
  --border-light: rgba(132, 204, 22, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 64px rgba(132, 204, 22, 0.25);
  --glow-blue: 0 0 24px rgba(132, 204, 22, 0.5);
  --glow-purple: 0 0 24px rgba(163, 230, 53, 0.5);
  --glow-teal: 0 0 24px rgba(101, 163, 13, 0.5);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(132, 204, 22, 0.15) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(163, 230, 53, 0.15) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(101, 163, 13, 0.1) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #1a2219 0%, #1f2820 50%, #1a2219 100%);
  --star-color-1: rgba(255, 255, 255, 0.1);
  --star-color-2: rgba(132, 204, 22, 0.1);
  --star-color-3: rgba(101, 163, 13, 0.1);
}

/* Twilight Blue-Purple Theme */
[data-theme="twilight"] {
  --bg-primary: #16112a;
  --bg-secondary: #1a1535;
  --bg-card: rgba(30, 25, 50, 0.85);
  --bg-hover: rgba(40, 35, 65, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #d4c2e8;
  --accent-blue: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-teal: #a78bfa;
  --accent-pink: #c084fc;
  --border: rgba(99, 102, 241, 0.15);
  --border-light: rgba(99, 102, 241, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 64px rgba(99, 102, 241, 0.25);
  --glow-blue: 0 0 24px rgba(99, 102, 241, 0.5);
  --glow-purple: 0 0 24px rgba(139, 92, 246, 0.5);
  --glow-teal: 0 0 24px rgba(167, 139, 250, 0.5);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #16112a 0%, #1a1535 50%, #16112a 100%);
  --star-color-1: rgba(255, 255, 255, 0.1);
  --star-color-2: rgba(99, 102, 241, 0.1);
  --star-color-3: rgba(139, 92, 246, 0.1);
}

/* Azure Bright Blue Theme */
[data-theme="azure"] {
  --bg-primary: #0a1a2e;
  --bg-secondary: #0f2038;
  --bg-card: rgba(20, 40, 65, 0.85);
  --bg-hover: rgba(30, 55, 85, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #b8d5f0;
  --accent-blue: #3b82f6;
  --accent-purple: #60a5fa;
  --accent-teal: #38bdf8;
  --accent-pink: #06b6d4;
  --border: rgba(59, 130, 246, 0.15);
  --border-light: rgba(59, 130, 246, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 64px rgba(59, 130, 246, 0.25);
  --glow-blue: 0 0 24px rgba(59, 130, 246, 0.5);
  --glow-purple: 0 0 24px rgba(96, 165, 250, 0.5);
  --glow-teal: 0 0 24px rgba(56, 189, 248, 0.5);
  --bg-gradient-1: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  --bg-gradient-2: radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.15) 0%, transparent 50%);
  --bg-gradient-3: radial-gradient(circle at 40% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
  --bg-base: linear-gradient(180deg, #0a1a2e 0%, #0f2038 50%, #0a1a2e 100%);
  --star-color-1: rgba(255, 255, 255, 0.1);
  --star-color-2: rgba(59, 130, 246, 0.1);
  --star-color-3: rgba(56, 189, 248, 0.1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Helvetica Neue', sans-serif;
  background: var(--bg-gradient-1),
              var(--bg-gradient-2),
              var(--bg-gradient-3),
              var(--bg-base);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.5s ease, color 0.3s ease;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, var(--star-color-1), transparent),
    radial-gradient(2px 2px at 60% 70%, var(--star-color-2), transparent),
    radial-gradient(1px 1px at 50% 50%, var(--star-color-3), transparent);
  background-size: 300% 300%;
  animation: stars 25s linear infinite;
  pointer-events: none;
  z-index: 0;
  transition: background-image 0.5s ease;
}

@keyframes stars {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* Header & Navigation - Elegant & Modern */
header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 0;
}


/* Mobile Menu Toggle Button - Clean Design */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
  gap: 6px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(37, 99, 235, 0.06);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: #475569;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
  background: #2563eb;
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background: #2563eb;
}

nav {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

nav ul {
  display: inline-flex;
  list-style: none;
  gap: 0;
  flex-wrap: wrap;
  background: #f8fafc;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

nav li {
  margin: 0;
}

nav a {
  color: #475569;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  background: transparent;
}

.nav-icon {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  flex-shrink: 0;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7 !important;
  display: block !important;
  visibility: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  align-self: center;
  transition: all 0.2s ease;
  color: inherit;
  position: relative;
  top: 0;
  left: 0;
}

nav a:hover .nav-icon {
  opacity: 1 !important;
  stroke: var(--accent-blue) !important;
  stroke-width: 2.2;
  transition: all 0.2s ease !important;
}

nav a.active .nav-icon {
  opacity: 1 !important;
  stroke: #ffffff !important;
  stroke-width: 2.2;
  transform: none;
  transition: all 0.2s ease !important;
  align-self: center !important;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
}

/* Ensure icons are visible in all themes */
[data-theme] .nav-icon {
  stroke: currentColor !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  align-self: center !important;
}

/* Fix icon alignment for all SVG icons in navigation */
nav a svg.nav-icon {
  display: block !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
}

/* Ensure text baseline alignment */
nav a {
  align-items: center !important;
  justify-content: flex-start;
  line-height: 1.5;
}

/* Fix specific icon alignment issues */
nav a svg {
  transform: translateY(0) !important;
}

nav a:hover {
  color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.06);
}

nav a.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  font-weight: 600;
  }
  
nav a.active:hover {
  background: #1d4ed8;
  box-shadow: 0 3px 6px rgba(37, 99, 235, 0.25);
}

/* Light theme specific enhancements */
[data-theme="light"] header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] nav ul {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] nav a {
  color: #475569;
}

[data-theme="light"] nav a:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--accent-blue);
}

[data-theme="light"] nav a.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(45, 55, 72, 0.08);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.06), 0 4px 6px rgba(0, 0, 0, 0.05);
  border-color: rgba(37, 99, 235, 0.2);
}

[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(45, 55, 72, 0.06);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] footer {
  background: rgba(247, 249, 252, 0.95);
  border-top: 1px solid rgba(45, 55, 72, 0.06);
}

[data-theme="light"] .stat {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(45, 55, 72, 0.06);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .stat:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
  border-color: rgba(37, 99, 235, 0.2);
}


[data-theme="light"] .section-title::before {
  background: linear-gradient(180deg, #2563eb, #7c3aed);
}

/* Light Theme - Publications Page Specific Styles */
/* Only target publication list items (those with dark backgrounds in inline styles) */
/* Exclude .info-list to protect bio and other pages */
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(45, 55, 72, 0.08) !important;
  border-bottom: 1px solid rgba(45, 55, 72, 0.06) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.2s ease !important;
}

[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"]:hover {
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(37, 99, 235, 0.15) !important;
  transform: translateY(-1px) !important;
}

/* Publication info boxes - only for publication-specific content */
[data-theme="light"] .card > p[style*="padding: 16px"][style*="background: rgba(77, 163, 255"] {
  background: rgba(37, 99, 235, 0.06) !important;
  border-left: 3px solid #2563eb !important;
  color: #1a202c !important;
}

[data-theme="light"] .card > p[style*="padding: 16px"][style*="background: rgba(77, 163, 255"] strong {
  color: #2563eb !important;
}

/* DOI links - only inside publication list items, exclude .info-list */
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] a[href^="http"],
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] a[href^="https"],
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] a[href^="/"] {
  background: rgba(8, 145, 178, 0.1) !important;
  border: 1px solid rgba(8, 145, 178, 0.2) !important;
  color: #0891b2 !important;
}

[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] a[href^="http"]:hover,
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] a[href^="https"]:hover,
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] a[href^="/"]:hover {
  background: rgba(8, 145, 178, 0.15) !important;
  border-color: rgba(8, 145, 178, 0.3) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 4px rgba(8, 145, 178, 0.2) !important;
}

/* ISBN/ISSN badges - only inside publication list items, exclude .info-list */
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] span[style*="padding: 6px 10px"],
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] span[style*="padding: 4px 10px"] {
  background: rgba(37, 99, 235, 0.08) !important;
  border: 1px solid rgba(37, 99, 235, 0.15) !important;
  color: #2563eb !important;
}

/* Special info card at bottom - publications page only */
[data-theme="light"] .card[style*="border: 2px"][style*="background: rgba(77, 163, 255"] {
  background: rgba(37, 99, 235, 0.05) !important;
  border: 2px solid rgba(37, 99, 235, 0.15) !important;
}

[data-theme="light"] .card[style*="border: 2px"][style*="background: rgba(77, 163, 255"] h3 {
  color: #2563eb !important;
}

/* Better typography for light theme publications - only publication list items */
/* Exclude .info-list to protect other pages */
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] strong {
  color: #1a202c !important;
}

[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] em {
  color: #2563eb !important;
  font-weight: 500 !important;
}

/* Publication numbering and badges for light theme - only publication items */
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] > div > div > span:first-child {
  color: #2563eb !important;
  font-weight: 700 !important;
}

/* Links and buttons in publications - exclude general links */
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] a {
  text-decoration: none;
}

/* Better visual hierarchy - only publication items */
[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] > div {
  color: #4a5568 !important;
}

[data-theme="light"] .card ul:not(.info-list) li[style*="background: rgba(26, 35, 66"] > div > div:first-child > span {
  color: #2563eb !important;
}

/* Ensure .info-list items are NOT affected by publication styles */
[data-theme="light"] .card .info-list li {
  background: transparent !important;
  border-bottom: 1px solid var(--border-light) !important;
}

[data-theme="light"] .card .info-list li:hover {
  background: color-mix(in srgb, var(--accent-blue) 5%, transparent) !important;
}

@supports not (background: color-mix(in srgb, red, transparent)) {
  [data-theme="light"] .card .info-list li:hover {
    background: rgba(37, 99, 235, 0.05) !important;
  }
}

/* Hero Section - Professional Portrait Layout */
.hero {
  padding: 80px 0 100px;
  background: transparent;
  position: relative;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: flex-start;
  position: relative;
}

.profile-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 16px;
  border: 2px solid rgba(226, 232, 240, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.profile-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.profile-image:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

.profile-image:hover::before {
  opacity: 1;
}

.hero-info {
  color: var(--text-primary);
  padding-top: 12px;
}

.hero-info h1 {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.8px;
}

.hero-info .hero-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 32px 0;
  color: var(--accent-blue);
  letter-spacing: -0.2px;
  line-height: 1.5;
}

.hero-affiliations {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
}

.hero-affiliations li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.hero-affiliations li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.hero-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
}

.hero-contact-item:hover {
  color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.06);
  transform: translateX(4px);
}

.hero-contact-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: var(--accent-blue);
  fill: none;
  stroke-width: 2.5;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 2px rgba(37, 99, 235, 0.2));
}

.hero-contact-item:hover svg {
  stroke: var(--accent-blue);
  transform: scale(1.1) translateX(2px);
  filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
}

.hero-contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.hero-contact-item:hover a {
  color: var(--accent-blue);
}

.hero h2 {
  display: none;
}

.hero .subtitle {
  display: none;
}

.hero-stats {
  display: none;
}

/* Responsive Hero Section - Tablet */
@media (max-width: 1024px) {
  .hero {
    padding: 70px 0 90px;
  }
  
  .hero-content-wrapper {
    gap: 56px;
  }
  
  .profile-image {
    max-width: 260px;
  }
}

/* Responsive Hero Section - Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 50px 0 70px;
  }
  
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .profile-image {
    max-width: 240px;
    margin: 0 auto;
  }
  
  .hero-info {
    padding-top: 0;
  }
  
  .hero-info h1 {
    font-size: 36px;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
  }
  
  .hero-info .hero-title {
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.5;
  }
  
  .hero-affiliations {
    text-align: left;
    margin-bottom: 28px;
    max-width: 100%;
  }
  
  .hero-affiliations li {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.7;
  }

  .hero-contact {
    align-items: center;
    padding-top: 24px;
    margin-top: 24px;
    max-width: 100%;
  }
  
  .hero-contact-item {
    justify-content: center;
    font-size: 15px;
    width: 100%;
    padding: 12px 16px;
    min-height: 48px;
  }
  
  .hero-contact-item svg {
    width: 19px;
    height: 19px;
  }
}

/* Responsive Hero Section - Small Mobile */
@media (max-width: 480px) {
  .hero {
    padding: 40px 0 60px;
  }
  
  .hero-content-wrapper {
    gap: 32px;
  }
  
  .profile-image {
    max-width: 200px;
  }
  
  .hero-info h1 {
    font-size: 30px;
    margin-bottom: 14px;
    line-height: 1.2;
  }
  
  .hero-info .hero-title {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .hero-affiliations {
    margin-bottom: 24px;
  }
  
  .hero-affiliations li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 18px;
    line-height: 1.7;
  }
  
  .hero-contact {
    gap: 10px;
    padding-top: 20px;
    margin-top: 20px;
  }
  
  .hero-contact-item {
    font-size: 14px;
    padding: 10px 14px;
    min-height: 44px;
  }
  
  .hero-contact-item svg {
    width: 18px;
    height: 18px;
  }
}

.stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Cards - Glassmorphism */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue);
}

.card ul li {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.3;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

.section {
  margin: 60px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.3px;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 36px;
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
  border-radius: 2px;
}

/* Grid Layouts - Fixed */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Lists - Clean */
.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  transition: background 0.2s ease;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list li:hover {
  background: color-mix(in srgb, var(--accent-blue) 5%, transparent);
  border-radius: 8px;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: -12px;
  margin-right: -12px;
}

/* Fallback for browsers without color-mix */
@supports not (background: color-mix(in srgb, red, transparent)) {
  .info-list li:hover {
    background: rgba(77, 163, 255, 0.05);
  }
}

.info-list .label {
  font-weight: 600;
  color: var(--accent-blue);
  min-width: 140px;
  font-size: 15px;
  flex-shrink: 0;
}

.info-list .value {
  color: var(--text-secondary);
  flex: 1;
  text-align: right;
  font-size: 15px;
  line-height: 1.6;
}

/* Tags - Clean */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  background: color-mix(in srgb, var(--accent-blue) 12%, transparent);
  color: var(--accent-blue);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid color-mix(in srgb, var(--accent-blue) 20%, transparent);
  transition: all 0.2s ease;
  font-weight: 500;
}

.tag:hover {
  background: color-mix(in srgb, var(--accent-blue) 20%, transparent);
  transform: translateY(-1px);
}

/* Fallback for browsers without color-mix */
@supports not (background: color-mix(in srgb, red, transparent)) {
  .tag {
    background: rgba(77, 163, 255, 0.12);
    border: 1px solid rgba(77, 163, 255, 0.2);
  }
  
  .tag:hover {
    background: rgba(77, 163, 255, 0.2);
  }
}

/* Timeline - Clean */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple), var(--accent-teal));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-teal);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-blue) 30%, transparent);
}

/* Fallback for browsers without color-mix */
@supports not (box-shadow: 0 0 0 2px color-mix(in srgb, red, transparent)) {
  .timeline-item::before {
    box-shadow: 0 0 0 2px rgba(77, 163, 255, 0.3);
  }
}

.timeline-item .period {
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.3;
}

.timeline-item .location {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Buttons - Clean */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

/* Download Button */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
}

.btn-download:active {
  transform: translateY(0);
}

.btn-download svg {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

/* Publications Page - Modern & Professional */
.publications-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Page Header */
.publications-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}

.publications-page h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.publications-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 32px 0;
  max-width: 800px;
}

.publications-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.publications-header-actions {
  margin-top: 24px;
}

/* Tabbed Navigation - Clean Minimal Professional Design */
.publication-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  padding: 12px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.publication-tabs::-webkit-scrollbar {
  display: none;
}

.publication-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.publication-tab:hover {
  color: var(--accent-blue);
  border-color: rgba(37, 99, 235, 0.3);
  background: #f8fafc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.publication-tab.active {
  color: #ffffff;
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.tab-label {
  color: inherit;
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 7px;
  background: rgba(241, 245, 249, 0.8);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.publication-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.publication-tab:hover:not(.active) .tab-count {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
}

/* Publication Section */
.publication-section {
  margin-bottom: 0;
  animation: fadeIn 0.3s ease;
}

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

/* Publication List */
.publication-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Publication Item */
.publication-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 36px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  position: relative;
}

.publication-item:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.publication-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.publication-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 12px 0;
  color: #1a202c;
  letter-spacing: -0.2px;
}

.publication-authors {
  font-size: 15px;
  line-height: 1.6;
  color: #4a5568;
  margin: 0 0 14px 0;
  font-weight: 400;
}

.publication-authors strong {
  font-weight: 700;
  color: #1a202c;
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.publication-year {
  font-weight: 600;
  color: #2563eb;
  font-size: 14px;
}

.publication-journal {
  font-style: italic;
  color: #718096;
  font-weight: 400;
  font-size: 14px;
}

.publication-citations {
  color: #0891b2;
  font-weight: 500;
  font-size: 14px;
}

/* Publication Links */
.publication-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 130px;
}

.publication-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f7fafc;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 6px;
  color: #4a5568;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.publication-link svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.publication-link:hover {
  background: #edf2f7;
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-1px);
}

.publication-link:hover svg {
  transform: translateX(1px);
}

/* Responsive Tabs - Tablet */
@media (max-width: 1024px) {
  .publication-tabs {
    gap: 8px;
    padding: 8px;
  }

  .publication-tab {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Responsive Tabs - Mobile */
@media (max-width: 768px) {
  .publications-page {
    padding: 0 20px;
  }
  
  .publications-page h1 {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .publications-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .publication-tabs {
    margin-bottom: 28px;
    padding: 6px;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .publication-tabs::-webkit-scrollbar {
    display: none;
  }

  .publication-tab {
    padding: 10px 14px;
    font-size: 13px;
    min-height: 44px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .tab-count {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    padding: 0 7px;
  }

  .publication-item {
    flex-direction: column;
    gap: 24px;
    padding: 28px 24px;
  }
  
  .publication-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .publication-authors {
    font-size: 15px;
    margin-bottom: 14px;
  }
  
  .publication-meta {
    gap: 14px;
    font-size: 14px;
  }

  .publication-links {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  
  .publication-link {
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13px;
    justify-content: center;
  }
}

/* Responsive Tabs - Small Mobile */
@media (max-width: 480px) {
  .publications-page {
    padding: 0 16px;
  }
  
  .publications-page h1 {
    font-size: 26px;
    margin-bottom: 12px;
  }
  
  .publications-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .publication-tabs {
    gap: 3px;
    padding: 5px;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .publication-tab {
    padding: 9px 12px;
    font-size: 12px;
    min-height: 44px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .tab-count {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    padding: 0 6px;
  }
  
  .publication-item {
    padding: 24px 20px;
    gap: 20px;
  }
  
  .publication-title {
    font-size: 17px;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .publication-authors {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
  }
  
  .publication-meta {
    gap: 12px;
    font-size: 13px;
  }
  
  .publication-links {
    gap: 8px;
  }
  
  .publication-link {
    padding: 10px 14px;
    font-size: 12px;
    min-height: 44px;
    min-width: 100px;
  }
}

/* Responsive Design - Publications */
@media (max-width: 768px) {
  .publications-page h1 {
    font-size: 32px;
  }

  .publications-subtitle {
    font-size: 16px;
  }

  .publication-link {
    flex: 1;
    min-width: 100px;
    justify-content: center;
  }

  .category-nav {
    gap: 6px;
  }

  .category-nav-item {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .publications-page h1 {
    font-size: 28px;
  }

  .publication-title {
    font-size: 16px;
  }

  .publication-authors {
    font-size: 14px;
  }

  .publication-meta {
    font-size: 13px;
    gap: 12px;
  }
}

/* Footer - Clean */
/* Theme Switcher */
.theme-switcher {
  position: relative;
  margin-left: 20px;
}

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  outline: none;
  font-family: inherit;
}

.theme-toggle:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--accent-blue);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  display: block;
  flex-shrink: 0;
}

.theme-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  max-height: 400px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.theme-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: var(--text-secondary);
}

.theme-option:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.theme-option.active {
  color: var(--accent-blue);
  font-weight: 600;
}

/* Use color-mix with fallback */
.theme-option.active {
  background: rgba(77, 163, 255, 0.15);
}

@supports (background: color-mix(in srgb, red, transparent)) {
  .theme-option.active {
    background: color-mix(in srgb, var(--accent-blue) 15%, transparent);
  }
}

[data-theme="dark"] .theme-option.active {
  background: rgba(77, 163, 255, 0.15);
}

[data-theme="light"] .theme-option.active {
  background: rgba(37, 99, 235, 0.12);
}

[data-theme="ocean"] .theme-option.active {
  background: rgba(59, 130, 246, 0.15);
}

[data-theme="forest"] .theme-option.active {
  background: rgba(72, 187, 120, 0.15);
}

[data-theme="sunset"] .theme-option.active {
  background: rgba(245, 101, 101, 0.15);
}

[data-theme="purple"] .theme-option.active {
  background: rgba(159, 122, 234, 0.15);
}

[data-theme="contrast"] .theme-option.active {
  background: rgba(0, 212, 255, 0.15);
}

[data-theme="emerald"] .theme-option.active {
  background: rgba(16, 185, 129, 0.15);
}

[data-theme="steel"] .theme-option.active {
  background: rgba(100, 116, 139, 0.15);
}

[data-theme="midnight"] .theme-option.active {
  background: rgba(30, 64, 175, 0.15);
}

[data-theme="crimson"] .theme-option.active {
  background: rgba(220, 38, 38, 0.15);
}

[data-theme="sage"] .theme-option.active {
  background: rgba(132, 204, 22, 0.15);
}

[data-theme="twilight"] .theme-option.active {
  background: rgba(99, 102, 241, 0.15);
}

[data-theme="azure"] .theme-option.active {
  background: rgba(59, 130, 246, 0.15);
}

.theme-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.theme-option[data-theme="dark"] .theme-color {
  background: linear-gradient(135deg, #0a0e27, #4da3ff);
}

.theme-option[data-theme="light"] .theme-color {
  background: linear-gradient(135deg, #fafbfc, #2563eb);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.theme-option[data-theme="ocean"] .theme-color {
  background: linear-gradient(135deg, #0a1929, #3b82f6);
}

.theme-option[data-theme="forest"] .theme-color {
  background: linear-gradient(135deg, #0f2027, #48bb78);
}

.theme-option[data-theme="sunset"] .theme-color {
  background: linear-gradient(135deg, #1a0f0a, #f56565);
}

.theme-option[data-theme="purple"] .theme-color {
  background: linear-gradient(135deg, #1a0d2e, #9f7aea);
}

.theme-option[data-theme="contrast"] .theme-color {
  background: linear-gradient(135deg, #000000, #00d4ff);
}

.theme-option[data-theme="emerald"] .theme-color {
  background: linear-gradient(135deg, #0a1f15, #10b981);
}

.theme-option[data-theme="steel"] .theme-color {
  background: linear-gradient(135deg, #1a1f2e, #64748b);
}

.theme-option[data-theme="midnight"] .theme-color {
  background: linear-gradient(135deg, #0f1626, #1e40af);
}

.theme-option[data-theme="crimson"] .theme-color {
  background: linear-gradient(135deg, #1a0a0a, #dc2626);
}

.theme-option[data-theme="sage"] .theme-color {
  background: linear-gradient(135deg, #1a2219, #84cc16);
}

.theme-option[data-theme="twilight"] .theme-color {
  background: linear-gradient(135deg, #16112a, #6366f1);
}

.theme-option[data-theme="azure"] .theme-color {
  background: linear-gradient(135deg, #0a1a2e, #3b82f6);
}

/* Footer - Full Width Professional Design */
.contact-footer {
  background: #1a1f2e;
  color: #ffffff;
  padding: 0;
  margin-top: 60px;
  width: 100%;
}

.footer-main-content {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #1a1f2e;
}

/* Contact Container */
.footer-contact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 50px;
  width: 100%;
}

.footer-contact-heading {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  letter-spacing: -0.3px;
}

.footer-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  order: 1;
}

.footer-map-container {
  order: 2;
}

.footer-contact-item {
  margin-bottom: 16px;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 6px 0;
  text-transform: none;
  letter-spacing: 0.3px;
}

.footer-contact-value {
  font-size: 14px;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

.footer-email-link {
  color: #4a9eff;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 400;
}

.footer-email-link:hover {
  color: #6bb0ff;
  text-decoration: underline;
}

/* Map Container (Inside Contact) */
.footer-map-container {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
  background: #0f1419;
  border-radius: 6px;
}

.footer-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Bottom Bar */
.footer-bottom-bar {
  background: #151920;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  width: 100%;
}

.footer-bottom-content {
  width: 100%;
  margin: 0;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  position: relative;
}

.footer-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4a9eff;
  transition: width 0.3s ease;
}

.footer-nav-link:hover {
  color: #ffffff;
}

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

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 400;
}

.footer-social-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-icon:hover {
  background: rgba(74, 158, 255, 0.2);
  border-color: rgba(74, 158, 255, 0.4);
  color: #4a9eff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

/* Footer Responsive - Full Width Design */
@media (max-width: 1024px) {
  .footer-contact-container {
    padding: 28px 40px;
  }
  
  .footer-contact-wrapper {
    gap: 28px;
  }
  
  .footer-map-container {
    height: 160px;
  }
  
  .footer-bottom-content {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .contact-footer {
    margin-top: 50px;
  }
  
  .footer-contact-container {
    padding: 24px 32px;
  }
  
  .footer-contact-heading {
    font-size: 20px;
    margin-bottom: 18px;
  }
  
  .footer-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-contact-item {
    margin-bottom: 14px;
  }
  
  .footer-map-container {
    height: 180px;
  }
  
  .footer-bottom-bar {
    padding: 12px 0;
  }
  
  .footer-bottom-content {
    padding: 0 32px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .footer-nav-links {
    justify-content: center;
    gap: 16px;
  }
  
  .footer-nav-link {
    font-size: 11px;
  }
  
  .footer-bottom-right {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-copyright {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .footer-contact-container {
    padding: 20px 24px;
  }
  
  .footer-contact-heading {
    font-size: 18px;
    margin-bottom: 16px;
  }
  
  .footer-contact-wrapper {
    gap: 18px;
  }
  
  .footer-contact-item {
    margin-bottom: 12px;
  }
  
  .footer-contact-label {
    font-size: 11px;
    margin-bottom: 4px;
  }
  
  .footer-contact-value {
    font-size: 13px;
  }
  
  .footer-map-container {
    height: 160px;
  }
  
  .footer-bottom-bar {
    padding: 10px 0;
  }
  
  .footer-bottom-content {
    padding: 0 24px;
  }
  
  .footer-nav-links {
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .footer-nav-link {
    font-size: 10px;
  }
  
  .footer-social-icon {
    width: 26px;
    height: 26px;
    font-size: 9px;
  }
}

/* Legacy Footer Styles (for backward compatibility) */
footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
  margin-top: 80px;
  text-align: center;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  backdrop-filter: blur(10px);
}

footer a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Social Media Links */
.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.social-link:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 12px rgba(77, 163, 255, 0.3);
}

.social-link:active {
  transform: translateY(0) scale(1.05);
}

/* LinkedIn specific */
.social-link[aria-label="LinkedIn Profile"]:hover {
  background: rgba(77, 163, 255, 0.2) !important;
  border-color: var(--accent-blue) !important;
  box-shadow: 0 4px 16px rgba(77, 163, 255, 0.4);
}

/* ResearchGate specific */
.social-link[aria-label="ResearchGate Profile"]:hover {
  background: rgba(77, 212, 196, 0.2) !important;
  border-color: var(--accent-teal) !important;
  box-shadow: 0 4px 16px rgba(77, 212, 196, 0.4);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Tablet Responsive - Clean Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  nav ul {
    gap: 2px;
    padding: 6px;
  }

  nav a {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* Mobile Responsive - Clean Design */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  header {
    padding: 0;
  }

  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
  }

  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    z-index: 1000;
  }

  nav.nav-open {
    max-height: 600px;
    padding: 12px 0;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 6px;
    padding: 0 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  nav li {
    width: 100%;
  }

  nav a {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    justify-content: flex-start;
    min-height: 48px;
    border-radius: 10px;
    background: #f8fafc;
    margin-bottom: 0;
    border: 1px solid transparent;
    transition: all 0.2s ease;
  }

  nav a:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.1);
  }

  nav a.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
  }
  
  nav a .nav-icon {
    width: 18px !important;
    height: 18px !important;
  }

  /* Hero Section - Mobile */
  .hero {
    padding: 40px 0 60px;
  }

  .section {
    margin: 40px 0;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 24px;
    line-height: 1.3;
  }

  /* Grids - Mobile */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Cards - Mobile */
  .card {
    padding: 24px;
    border-radius: 12px;
  }

  .card h3 {
    font-size: 19px;
    margin-bottom: 14px;
    line-height: 1.4;
  }

  .card p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* Touch Targets */
  a, button {
    min-height: 44px;
  }

  /* Info Lists - Mobile */
  .info-list li {
    flex-direction: column;
    gap: 8px;
    padding: 18px 0;
  }

  .info-list .label {
    min-width: auto;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
  }

  .info-list .value {
    text-align: left;
    padding-left: 0;
    font-size: 15px;
    line-height: 1.6;
  }

  /* Timeline - Mobile */
  .timeline {
    padding-left: 20px;
  }

  .timeline-item::before {
    left: -26px;
    width: 12px;
    height: 12px;
  }

  /* Buttons - Mobile */
  .btn {
    padding: 14px 24px;
    font-size: 15px;
    min-height: 48px;
    width: 100%;
    max-width: 100%;
  }
}

/* Small Mobile - Clean Design */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 16px;
  }

  header {
    padding: 0;
  }

  .header-content {
    padding: 12px 0;
  }

  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
  }

  .mobile-menu-toggle span {
    width: 22px;
  }
  
  nav {
    top: 56px;
  }
  
  nav.nav-open {
    padding: 10px 0;
  }
  
  nav ul {
    padding: 0 16px;
    gap: 4px;
  }
  
  nav a {
    padding: 12px 16px;
    font-size: 14px;
    min-height: 48px;
  }

  nav ul {
    padding: 0 20px;
  }
  
  nav a {
    padding: 12px 14px;
    font-size: 14px;
    min-height: 48px;
  }
  
  nav a .nav-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .hero {
    padding: 50px 0 70px;
  }
  
  .hero-info h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .hero-info .hero-title {
    font-size: 17px;
  }

  .hero-affiliations li {
    font-size: 14px;
    padding-left: 18px;
  }

  .hero-contact-item {
    font-size: 15px;
    padding: 10px 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  /* Sections - Small Mobile */
  .section {
    margin: 32px 0;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.3;
  }
  
  /* Cards - Small Mobile */
  .card {
    padding: 20px;
    border-radius: 10px;
  }
  
  .card h3 {
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  
  .card p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Grids - Small Mobile */
  .grid-2,
  .grid-3 {
    gap: 16px;
  }

  /* Info Lists - Small Mobile */
  .info-list li {
    padding: 16px 0;
  }

  .info-list .label {
    font-size: 13px;
  }

  .info-list .value {
    font-size: 14px;
  }
  
  /* Buttons - Small Mobile */
  .btn {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px;
    width: 100%;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Images - Small Mobile */
  img {
    max-width: 100%;
    height: auto;
  }
}
