/* ==========================================================================
   SREERAJ UNNIKRISHNAN - PREMIUM CYBERSECURITY PORTFOLIO DESIGN SYSTEM
   Theme: Deep Obsidian / Electric Blue / Royal Violet / Cyber Cyan
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #07090e;
  --bg-secondary: #0c1017;
  --bg-card: rgba(15, 20, 31, 0.75);
  --bg-card-hover: rgba(22, 29, 45, 0.85);
  --bg-glass: rgba(12, 16, 26, 0.6);
  --bg-elevated: #141b29;
  
  /* Primary & Accent Glows */
  --accent-blue: #3b82f6;
  --accent-blue-bright: #60a5fa;
  --accent-blue-deep: #1d4ed8;
  --accent-violet: #8b5cf6;
  --accent-violet-bright: #a78bfa;
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: #22d3ee;
  
  /* Neutral Grayscale */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-dim: #475569;
  
  /* Borders & Highlights */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(59, 130, 246, 0.4);
  --border-glow: rgba(139, 92, 246, 0.35);
  --card-border: 1px solid rgba(255, 255, 255, 0.07);
  
  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 30%, #93c5fd 70%, #c4b5fd 100%);
  --gradient-blue-violet: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-dark-card: linear-gradient(180deg, rgba(20, 27, 43, 0.7) 0%, rgba(10, 14, 23, 0.85) 100%);
  
  /* Shadows & Glows */
  --glow-blue: 0 0 35px rgba(59, 130, 246, 0.25);
  --glow-violet: 0 0 35px rgba(139, 92, 246, 0.25);
  --glow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);
  --shadow-card: 0 16px 36px -12px rgba(0, 0, 0, 0.65);
  --shadow-hover: 0 24px 48px -12px rgba(59, 130, 246, 0.2);
  
  /* Typography */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --max-width: 1240px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.65;
}

/* Background Atmosphere */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.ambient-glow-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  animation: orbPulse 16s ease-in-out infinite alternate;
}

.glow-orb-1 {
  top: -10%;
  left: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

.glow-orb-2 {
  top: 40%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
  animation-delay: -5s;
}

.glow-orb-3 {
  bottom: 5%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  animation-delay: -9s;
}

@keyframes orbPulse {
  0% { transform: translate(0, 0) scale(1); opacity: 0.12; }
  50% { transform: translate(40px, -30px) scale(1.15); opacity: 0.2; }
  100% { transform: translate(-30px, 40px) scale(0.95); opacity: 0.14; }
}

/* Subtle Grid Texture */
.ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-brand);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 12px var(--accent-blue);
}

/* Typography & Global Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

button {
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  background: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-blue-bright);
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-tag.violet {
  color: var(--accent-violet-bright);
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.25);
}

.section-tag.cyan {
  color: var(--accent-cyan-glow);
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.25);
}

.section-tag.amber {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}

.section-tag i {
  font-size: 0.75rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: #ffffff;
}

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

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-brand-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 900;
  background: rgba(7, 9, 14, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(7, 9, 14, 0.9);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.nav-brand {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.nav-brand:hover {
  color: var(--accent-blue-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: color 0.25s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-nav-talk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--gradient-blue-violet);
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav-talk:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.45);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-primary);
  padding: 8px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 380px;
  height: 100vh;
  background: rgba(10, 14, 22, 0.98);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-subtle);
  z-index: 1000;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  color: var(--accent-blue-bright);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--gradient-blue-violet);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.tech-badge:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--accent-blue-bright);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  background-color: #090c14;
  background-image: url('srj-hero.png');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Seamless text readability gradient */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 12, 20, 0.92) 0%,
    rgba(9, 12, 20, 0.75) 30%,
    rgba(9, 12, 20, 0.15) 55%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 1;
}

/* Subtle top/bottom fade for smooth section integration */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 12, 20, 0.8) 0%,
    transparent 12%,
    transparent 85%,
    #090c14 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-mobile-profile {
  display: none;
}

.hero-content-left {
  max-width: 640px;
}

.hero-badge-container {
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue-bright);
  padding: 8px 18px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
  backdrop-filter: blur(8px);
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px var(--accent-cyan); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-headline {
  font-size: 4.25rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-headline .name-highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-statement {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-supporting-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.social-link:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 16, 26, 0.4) 50%, transparent 100%);
}

.about-headline {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 32px;
  max-width: 900px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text strong {
  color: #ffffff;
  font-weight: 600;
}

.about-profile-card {
  position: relative;
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.about-avatar-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 20px;
}

.about-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
}

.avatar-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px dashed rgba(139, 92, 246, 0.4);
  border-radius: 50%;
  animation: rotateRing 20s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-profile-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-profile-card .profile-role {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.profile-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 3 Statistic Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow-hover);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0.6;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 10px;
}

.stat-number.gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   EXPERTISE / SKILLS
   ========================================================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.expertise-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-hover);
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.expertise-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.expertise-icon-box.blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue-bright);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.expertise-icon-box.violet {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-violet-bright);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.expertise-icon-box.cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.expertise-icon-box.indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.expertise-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.skill-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.skill-pill:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

.skill-pill i {
  font-size: 0.8rem;
  color: var(--accent-blue-bright);
}

/* ==========================================================================
   RESEARCH & PUBLICATIONS SECTION
   ========================================================================== */
.research-section {
  position: relative;
  background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
}

.research-card {
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card), 0 0 50px rgba(139, 92, 246, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.research-card:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.8), 0 0 60px rgba(139, 92, 246, 0.2);
}

.research-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 48px;
  align-items: center;
}

/* Certificate Document Frame (Left) */
.research-doc-frame-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(20, 27, 43, 0.9) 0%, rgba(10, 14, 23, 0.95) 100%);
  padding: 16px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.research-doc-frame-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(6, 182, 212, 0.2);
}

.research-doc-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  aspect-ratio: 1.35 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.research-doc-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.research-doc-frame-wrapper:hover .research-doc-frame img {
  transform: scale(1.02);
}

.doc-inspect-overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan-glow);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  transition: all 0.3s ease;
}

.research-doc-frame-wrapper:hover .doc-inspect-overlay {
  background: rgba(139, 92, 246, 0.9);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Right Side Content */
.research-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-violet-bright);
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.research-paper-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.research-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.research-author-box .author-name {
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.research-author-box .author-institution {
  color: var(--accent-cyan);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.research-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.research-meta-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.research-meta-item .meta-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.research-meta-item .meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.research-btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FEATURED PROJECTS (Personal Projects)
   ========================================================================== */
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.project-card.reverse {
  grid-template-columns: 1fr 1fr;
}

.project-card.reverse .project-info {
  order: 2;
}

.project-card.reverse .project-media {
  order: 1;
}

.project-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 9;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-category-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  display: inline-block;
}

.project-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
}

.project-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}



/* ==========================================================================
   EXPERIENCE SECTION (TIMELINE)
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-violet) 100%);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

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

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-blue);
  box-shadow: 0 0 15px var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.timeline-role {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.timeline-company {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-top: 2px;
}

.timeline-date-chip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--accent-blue-bright);
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.timeline-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-size: 1.1rem;
}

/* ==========================================================================
   CERTIFICATIONS
   ========================================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-hover);
}

.cert-icon-wrapper {
  width: 64px;
  height: 52px;
  border-radius: 12px;
  background: rgba(12, 16, 26, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.35s ease;
}

.cert-card:hover .cert-icon-wrapper {
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.cert-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-smooth);
}

.cert-card:hover .cert-icon-img {
  transform: scale(1.08);
}

.cert-info {
  flex-grow: 1;
}

.cert-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cert-code {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.cert-status-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cert-status-chip.completed {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.cert-status-chip.in-progress {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--accent-blue-bright);
}

.cert-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cert-issuer {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.btn-cert-view {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: gap 0.2s ease;
}

.btn-cert-view:hover {
  gap: 10px;
  color: #ffffff;
}

/* ==========================================================================
   SECURITY LAB
   ========================================================================== */
.lab-section {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 20, 31, 0.5) 50%, transparent 100%);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.lab-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.lab-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 30px rgba(6, 182, 212, 0.2);
}

.lab-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: rgba(12, 16, 26, 0.95);
  border: 1px solid rgba(6, 182, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin: 0 auto 18px;
  padding: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(6, 182, 212, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lab-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  transition: transform var(--transition-smooth);
}

.lab-card:hover .lab-icon-box {
  transform: scale(1.08);
  border-color: rgba(6, 182, 212, 0.7);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.4), inset 0 0 20px rgba(6, 182, 212, 0.2);
}

.lab-card:hover .lab-icon-img {
  transform: scale(1.06);
}

.lab-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.lab-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT SECTION & "LET'S CONNECT" 3-COLUMN FORM
   ========================================================================== */
.contact-section {
  position: relative;
  padding: 140px 0 100px;
}

.contact-card-hero {
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, rgba(12, 16, 26, 0.85) 75%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-card), 0 0 60px rgba(59, 130, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.contact-headline {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-subheadline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* 3-Column Cyber Contact Form */
.cyber-form-container {
  background: rgba(10, 14, 23, 0.78);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: var(--radius-lg);
  padding: 32px 32px 36px;
  margin: 36px auto 36px;
  max-width: 1040px;
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.cyber-form-container:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(6, 182, 212, 0.12);
}

.cyber-form-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hud-status-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.hud-dot.dot-cyan {
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hud-dot.dot-blue {
  background-color: var(--accent-blue-bright);
  box-shadow: 0 0 10px var(--accent-blue);
}

.hud-dot.dot-violet {
  background-color: var(--accent-violet-bright);
  box-shadow: 0 0 10px var(--accent-violet);
}

.hud-terminal-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan-glow);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-terminal-tag i {
  font-size: 0.72rem;
}

.form-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

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

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-icon {
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

.required-star {
  color: #f43f5e;
  font-weight: 700;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.cyber-input {
  width: 100%;
  height: 52px;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-primary);
  background: rgba(15, 20, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-input::placeholder {
  color: rgba(148, 163, 184, 0.55);
  font-size: 0.88rem;
}

.cyber-input:hover {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(22, 29, 45, 0.95);
}

.cyber-input:focus {
  border-color: var(--accent-cyan);
  background: rgba(12, 17, 28, 0.98);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2), 0 0 20px rgba(6, 182, 212, 0.15);
}

.cyber-input.is-invalid {
  border-color: #f43f5e !important;
  background: rgba(30, 15, 20, 0.9) !important;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.25), 0 0 15px rgba(244, 63, 94, 0.25) !important;
  animation: cyberInputShake 0.4s ease;
}

.cyber-textarea {
  height: 52px;
  min-height: 52px;
  resize: vertical;
  line-height: 1.45;
  padding-top: 13px;
}

.field-error-msg {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #fb7185;
  margin-top: 6px;
  min-height: 18px;
  display: block;
}

.form-submit-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.btn-submit-message {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  font-size: 1.05rem;
  padding: 16px 40px;
  min-width: 240px;
  font-weight: 700;
  box-shadow: 0 4px 25px rgba(6, 182, 212, 0.35), 0 0 15px rgba(37, 99, 235, 0.3);
  letter-spacing: 0.02em;
}

.btn-submit-message:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(6, 182, 212, 0.5), 0 0 25px rgba(59, 130, 246, 0.45);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-submit-message:disabled {
  opacity: 0.85;
  cursor: wait;
}

.form-status-msg {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 18px;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.form-status-msg.success {
  color: #34d399;
}

.form-status-msg.error {
  color: #fb7185;
}

/* Divider between form and direct links */
.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 36px auto 30px;
  max-width: 520px;
  position: relative;
}

.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.contact-divider span {
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-button-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-social-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.social-pill-link:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

@keyframes cyberInputShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
  background: #05070a;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 32px;
}

.footer-brand h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent-blue-bright);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODAL / LIGHTBOX SYSTEM
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #0d121c;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(59, 130, 246, 0.15);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-content-body {
  padding: 40px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 18, 28, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.2);
  color: #ffffff;
  font-size: 0.92rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

/* ==========================================================================
   ANIMATIONS & SCROLL OBSERVER REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Laptop / Large Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  :root {
    --nav-height: 72px;
  }

  .container {
    padding: 0 24px;
  }

  .section {
    padding: 90px 0;
  }

  .hero-section {
    min-height: 90vh;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 70px;
    background-position: 80% center;
  }

  .hero-section::before {
    background: linear-gradient(
      90deg,
      rgba(7, 9, 14, 0.96) 0%,
      rgba(7, 9, 14, 0.88) 40%,
      rgba(7, 9, 14, 0.45) 70%,
      rgba(7, 9, 14, 0.25) 100%
    );
  }

  .hero-headline {
    font-size: clamp(2.5rem, 5.5vw, 3.5rem);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .research-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .project-card, .project-card.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project-card.reverse .project-info {
    order: 1;
  }

  .project-card.reverse .project-media {
    order: 2;
  }



  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Tablet / Mobile (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --nav-height: 66px;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 68px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: clamp(1.85rem, 5.5vw, 2.35rem);
    word-break: break-word;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Navigation & Mobile Drawer */
  .nav-container {
    padding: 0 18px;
  }

  .nav-links, .nav-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    cursor: pointer;
  }

  .nav-brand {
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  }

  .mobile-nav-drawer {
    width: 85%;
    max-width: 320px;
    padding: 28px 20px;
  }

  /* Hero Mobile Layout */
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 64px;
    background-image: none;
    background-color: var(--bg-primary);
  }

  .hero-section::before,
  .hero-section::after {
    display: none;
  }

  .hero-mobile-profile {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
  }

  .mobile-avatar-frame {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    padding: 3px;
    background: var(--gradient-brand);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
  }

  .mobile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #07090e;
    display: block;
  }

  .mobile-avatar-status {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 15px;
    height: 15px;
    background: #10b981;
    border: 2px solid #07090e;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
  }

  .hero-content-left {
    max-width: 100%;
  }

  .hero-badge-container {
    margin-bottom: 16px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero-headline {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 3.6vw, 1.15rem);
    margin-bottom: 16px;
    line-height: 1.45;
  }

  .hero-statement {
    font-size: clamp(1.15rem, 4.2vw, 1.35rem);
    margin-bottom: 14px;
    line-height: 1.4;
  }

  .hero-supporting-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 100%;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    padding: 13px 22px;
    font-size: 0.95rem;
  }

  .hero-socials {
    gap: 12px;
  }

  .social-link {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  /* About Section */
  .about-headline {
    font-size: clamp(1.45rem, 4.8vw, 1.95rem);
    margin-bottom: 24px;
    word-break: break-word;
  }

  .about-grid {
    gap: 32px;
    margin-bottom: 36px;
  }

  .about-text {
    font-size: 0.98rem;
    line-height: 1.7;
    gap: 16px;
  }

  .about-profile-card {
    padding: 24px 20px;
  }

  .about-avatar-wrapper {
    width: 120px;
    height: 120px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 24px 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* Expertise */
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .expertise-card {
    padding: 26px 20px;
    border-radius: var(--radius-lg);
  }

  .expertise-card h3 {
    font-size: 1.2rem;
    word-break: break-word;
  }

  .expertise-icon-box {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }

  /* Research */
  .research-card {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .research-paper-title {
    font-size: clamp(1.25rem, 4.2vw, 1.6rem);
    line-height: 1.3;
    margin-bottom: 12px;
    word-break: break-word;
  }

  .research-desc {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .research-meta-box {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
  }

  .research-btn-row {
    gap: 12px;
  }

  /* Featured Projects */
  .projects-container {
    gap: 32px;
  }

  .project-card, .project-card.reverse {
    padding: 22px 18px;
    gap: 22px;
    border-radius: var(--radius-lg);
  }

  .project-title {
    font-size: clamp(1.35rem, 4.8vw, 1.85rem);
    margin-bottom: 10px;
    word-break: break-word;
  }

  .project-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 18px;
  }



  /* Timeline */
  .timeline-container {
    padding-left: 28px;
  }

  .timeline-container::before {
    left: 7px;
  }

  .timeline-dot {
    left: -28px;
    width: 18px;
    height: 18px;
    top: 5px;
  }

  .timeline-dot::after {
    width: 6px;
    height: 6px;
  }

  .timeline-item {
    margin-bottom: 32px;
  }

  .timeline-content {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
  }

  .timeline-role {
    font-size: 1.2rem;
    word-break: break-word;
  }

  .timeline-company {
    font-size: 0.95rem;
  }

  .timeline-date-chip {
    font-size: 0.78rem;
    padding: 4px 10px;
  }

  .timeline-list li {
    font-size: 0.92rem;
    line-height: 1.6;
    padding-left: 20px;
  }

  /* Certifications */
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cert-card {
    padding: 20px 16px;
    gap: 16px;
    border-radius: var(--radius-md);
  }

  .cert-icon-wrapper {
    width: 58px;
    height: 46px;
    border-radius: 10px;
    padding: 3px;
  }

  .cert-code {
    font-size: 1.2rem;
  }

  .cert-name {
    font-size: 0.98rem;
    word-break: break-word;
  }

  /* Security Lab */
  .lab-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
  }

  .lab-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .lab-icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  .lab-title {
    font-size: 1.05rem;
  }

  .lab-desc {
    font-size: 0.82rem;
  }

  /* Contact Section */
  .contact-section {
    padding: 70px 0 50px;
  }

  .contact-card-hero {
    padding: 40px 20px;
    border-radius: var(--radius-lg);
  }

  .contact-headline {
    font-size: clamp(1.85rem, 6vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 10px;
    word-break: break-word;
  }

  .contact-subheadline {
    font-size: 1.1rem;
    margin-bottom: 28px;
  }

  /* Contact Form Responsive */
  .cyber-form-container {
    padding: 24px 18px 28px;
    margin: 28px auto 28px;
  }

  .form-grid-3col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cyber-textarea {
    height: 84px;
    min-height: 84px;
  }

  .btn-submit-message {
    width: 100%;
  }

  .contact-divider {
    margin: 28px auto 24px;
  }

  .contact-button-row {
    margin-bottom: 32px;
  }

  .contact-social-grid {
    gap: 12px;
  }

  .social-pill-link {
    padding: 12px 18px;
    font-size: 0.88rem;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 28px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .footer-brand h4 {
    font-size: 1.15rem;
  }

  .footer-brand p {
    font-size: 0.85rem;
  }

  .footer-nav {
    justify-content: center;
    gap: 16px;
  }

  .footer-nav a {
    font-size: 0.85rem;
  }

  /* Modal */
  .modal-overlay {
    padding: 14px;
  }

  .modal-container {
    max-height: 92vh;
    border-radius: var(--radius-lg);
  }

  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .modal-content-body {
    padding: 24px 18px;
  }

  .toast-container {
    bottom: 20px;
    right: 16px;
    left: 16px;
    display: flex;
    justify-content: center;
  }

  .toast {
    width: 100%;
    max-width: 360px;
    font-size: 0.88rem;
    padding: 12px 18px;
  }
}

/* Small Smartphone (max-width: 480px) */
@media (max-width: 480px) {
  :root {
    --nav-height: 60px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .nav-container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-socials {
    justify-content: flex-start;
  }

  .research-btn-row {
    flex-direction: column;
    width: 100%;
  }

  .research-btn-row .btn-primary,
  .research-btn-row .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cyber-form-container {
    padding: 20px 14px 22px;
  }

  .hud-terminal-tag {
    font-size: 0.68rem;
  }

  .form-security-note {
    font-size: 0.72rem;
    flex-direction: column;
    gap: 4px;
  }

  .contact-button-row {
    flex-direction: column;
    width: 100%;
  }

  .contact-button-row .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .contact-social-grid {
    flex-direction: column;
    width: 100%;
  }

  .social-pill-link {
    width: 100%;
    justify-content: center;
    word-break: break-all;
  }

  .lab-grid {
    grid-template-columns: 1fr;
  }
}

/* Extra Small / Compact Screen (max-width: 360px) */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .nav-container {
    padding: 0 12px;
  }

  .hero-headline {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .hero-statement {
    font-size: 1.05rem;
  }

  .hero-supporting-text {
    font-size: 0.88rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .about-headline {
    font-size: 1.3rem;
  }

  .stat-number {
    font-size: 2.1rem;
  }

  .cert-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-card-hero {
    padding: 28px 14px;
  }

  .contact-headline {
    font-size: 1.6rem;
  }
}
