/* ==========================================================================
   Surenther Selvaraj - Premium Portfolio Stylesheet
   Theme: Obsidian Cyber Luxe / Ultra-Modern Glassmorphism
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #07090e;
  --bg-secondary: #0d121d;
  --bg-card: rgba(16, 23, 38, 0.65);
  --bg-card-hover: rgba(22, 32, 54, 0.85);
  --bg-pill: rgba(255, 255, 255, 0.06);

  /* Primary Accent & Neon Vibrancy */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #38bdf8;

  /* Borders & Highlights */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(56, 189, 248, 0.35);
  --border-light: rgba(255, 255, 255, 0.15);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #38bdf8 50%, #6366f1 100%);
  --grad-accent: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --grad-text: linear-gradient(135deg, #ffffff 15%, #38bdf8 65%, #a855f7 100%);
  --grad-card-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.08), transparent 40%);

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;

  /* Dimensions */
  --max-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Typography Defaults */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.5);
}

/* Selection Highlight */
::selection {
  background: var(--accent-cyan);
  color: #000;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Background Canvas & Ambient Orbs */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.cursor-glow {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.07) 0%, rgba(99, 102, 241, 0.03) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  animation: orbFloat 22s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.3), transparent 70%);
}

.orb-2 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  left: -150px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  animation-delay: -7s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  top: 45%;
  right: 15%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 70%);
  animation-delay: -14s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Header & Glass Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-avatar-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 2px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.4);
  overflow: hidden;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.brand-logo:hover .logo-avatar-wrap {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.65);
}

.logo-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  display: block;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.accent-dot {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  background: rgba(16, 23, 38, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}

.nav-item {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition-fast);
}

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

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}

.nav-cta {
  color: var(--accent-cyan) !important;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-pill);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.icon {
  width: 18px;
  height: 18px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 36px;
  background: var(--bg-pill);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-btn .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--grad-card-glow);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 242, 254, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.glass-card:hover::before {
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: #07090e;
  border: 1px solid transparent;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
  filter: brightness(1.1);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid var(--border-glass);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  color: var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.15);
}

.btn-subtle {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-subtle:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-arrow, .btn-down {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}
.btn:hover .btn-down {
  transform: translateY(3px);
}

.icon-inline {
  width: 20px;
  height: 20px;
}

/* Gradient Text */
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hero Avatar Showcase */
.hero-avatar-showcase {
  position: relative;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-glow-ring {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--grad-primary);
  filter: blur(16px);
  opacity: 0.6;
  animation: avatarPulse 4s ease-in-out infinite alternate;
}

@keyframes avatarPulse {
  0% { transform: scale(0.95); opacity: 0.45; }
  100% { transform: scale(1.08); opacity: 0.75; }
}

.avatar-frame {
  position: relative;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  padding: 3.5px;
  background: var(--grad-primary);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
  z-index: 2;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.hero-avatar-showcase:hover .avatar-frame {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0, 242, 254, 0.4);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  display: block;
  background-color: var(--bg-dark);
}

.avatar-status-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid var(--bg-dark);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px #10b981;
}

.status-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: pulsePing 2s infinite;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  position: relative;
}

.pulse-indicator::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-cyan);
  opacity: 0.7;
  animation: pulsePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulsePing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.pill-text {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-cyan);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 950px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.metric-card {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.metric-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 6px;
}

.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.metric-suffix {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.metric-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections Common */
.section-padded {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.bg-subtle {
  background: linear-gradient(180deg, rgba(7, 9, 14, 0) 0%, rgba(13, 18, 29, 0.6) 50%, rgba(7, 9, 14, 0) 100%);
}

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

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.section-description {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  display: flex;
  flex-direction: column;
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon-box svg {
  width: 26px;
  height: 26px;
}

.card-icon-box.cyan {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.card-icon-box.indigo {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-indigo);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.card-icon-box.purple {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.card-text {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
}

/* Skills Section */
.filter-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.skill-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.skill-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.skill-icon-pill svg {
  width: 22px;
  height: 22px;
}

.skill-icon-pill.bi-pill {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.25);
}

.skill-icon-pill.prog-pill {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.25);
}

.skill-icon-pill.data-pill {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, 0.25);
}

.skill-info h4 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.skill-type {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.skill-desc {
  font-size: 0.88rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-badges span {
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: var(--text-secondary);
}

/* Timeline Section */
.timeline-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-indigo) 60%, rgba(255, 255, 255, 0.05) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: 40px;
}

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

.timeline-dot {
  position: absolute;
  left: 17px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--accent-cyan);
  z-index: 2;
}

.timeline-dot.current-role {
  background: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
}

.ping-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  animation: pulsePing 2s infinite;
}

.timeline-content {
  padding: 28px 32px;
}

.featured-card {
  border-color: rgba(0, 242, 254, 0.3);
  background: rgba(18, 28, 48, 0.75);
  box-shadow: 0 15px 35px -10px rgba(0, 242, 254, 0.15);
}

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

.company-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.current-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 10px;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  border-radius: var(--radius-full);
}

.timeline-date {
  font-size: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-cyan);
  font-weight: 500;
}

.role-title {
  font-size: 1.15rem;
  color: var(--text-highlight);
  margin-bottom: 4px;
}

.role-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.timeline-body {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.timeline-highlights {
  list-style: none;
  margin-bottom: 20px;
}

.timeline-highlights li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.timeline-highlights li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  line-height: 1.2;
}

.timeline-highlights strong {
  color: #ffffff;
}

.timeline-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

/* Architecture Showcase */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.arch-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.arch-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.arch-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.2);
  margin-bottom: 18px;
}

.arch-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.arch-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.arch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arch-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.check-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* Education Section */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.edu-card {
  display: flex;
  flex-direction: column;
}

.edu-status-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.edu-status-pill.in-progress {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.edu-status-pill.in-progress .pulse-indicator {
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.edu-status-pill.in-progress .pulse-indicator::after {
  border-color: #10b981;
}

.edu-status-pill.completed {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
}

.edu-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-indigo);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.edu-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.edu-degree {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.edu-school {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.edu-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.edu-desc {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* AWS Certifications Showcase (Archived Credentials) */
.cert-showcase {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.cert-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.cert-badge-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 6px;
}

.cert-subtitle {
  font-size: 1.5rem;
  color: #ffffff;
}

.cert-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
}

.cert-info-icon {
  width: 14px;
  height: 14px;
  color: #94a3b8;
}

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

.cert-card-archived {
  cursor: default;
  background: rgba(13, 18, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0.88;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.cert-card-archived:hover {
  transform: none; /* Non-clickable static card */
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 25px -10px rgba(0, 0, 0, 0.5);
}

.cert-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.cert-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.cert-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cert-state-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.cert-name {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #f1f5f9;
}

.cert-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.cert-footer-info {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.cert-validity-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: #64748b;
  display: inline-block;
}

/* Connect / CTA Section */
.connect-section {
  padding-bottom: 120px;
}

.connect-box {
  padding: 64px 40px;
  border-color: rgba(56, 189, 248, 0.25);
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12), rgba(16, 23, 38, 0.85) 60%);
}

.connect-content {
  max-width: 760px;
  margin: 0 auto;
}

.connect-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.connect-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.connect-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.connect-links-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 36px;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.shield-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-emerald);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 40px 0;
  background: var(--bg-dark);
  position: relative;
  z-index: 2;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

/* Animations & Reveal States */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .arch-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 75px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(10, 14, 24, 0.96);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

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

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

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

  .timeline-line {
    left: 12px;
  }

  .timeline-item {
    padding-left: 42px;
  }

  .timeline-dot {
    left: 5px;
  }

  .connect-box {
    padding: 40px 20px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ambient-canvas {
    display: none;
  }
}
