/* ==========================================================================
   KRUTI DEEPAN PANDA - SILICON DESIGN ENGINEER PORTFOLIO
   Theme: Futuristic Silicon & Semiconductor Dark Mode
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Colors - Semiconductor Dark Theme */
  --bg-dark: #050811;
  --bg-card: #0e1626;
  --bg-card-hover: #152038;
  --bg-glass: rgba(14, 22, 38, 0.95);
  
  /* Neon & Glowing Accents */
  --neon-cyan: #00f0ff;
  --neon-emerald: #00ff88;
  --neon-violet: #c084fc;
  --neon-blue: #38bdf8;
  --neon-amber: #fbbf24;

  /* Accent Colors (Bright, high-contrast luminous colors for dark theme) */
  --accent-cyan: #00f0ff;
  --accent-blue: #38bdf8;
  --accent-indigo: #818cf8;
  --accent-purple: #c084fc;
  --accent-amber: #fbbf24;
  --accent-emerald: #34d399;
  --accent-rose: #fb7185;

  /* Text & Typography */
  --text-primary: #ffffff;
  --text-secondary: #f1f5f9;
  --text-tertiary: #cbd5e1;
  --text-code: #38bdf8;

  /* Borders & Shadows */
  --border-subtle: rgba(0, 240, 255, 0.15);
  --border-glow: rgba(0, 240, 255, 0.5);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 0 20px rgba(0, 240, 255, 0.25);
  --shadow-emerald: 0 0 20px rgba(0, 255, 136, 0.25);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-snap-type: y proximity;
}

.hero, #portfolio-subsections {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  selection-background-color: var(--neon-cyan);
  selection-color: var(--bg-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

/* ==========================================================================
   Background Canvas & Ambient Glows
   ========================================================================== */
#circuit-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
}

.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
  animation: floatGlow 20s infinite alternate ease-in-out;
}
.glow-1 {
  top: -150px;
  left: -150px;
  background: var(--neon-cyan);
}
.glow-2 {
  bottom: -150px;
  right: -150px;
  background: var(--neon-violet);
  animation-delay: -10s;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, 100px) scale(1.1); }
  100% { transform: translate(-50px, 50px) scale(0.9); }
}

/* ==========================================================================
   Typography & Common Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title span {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-emerald));
  margin-top: 0.75rem;
  border-radius: 2px;
  box-shadow: var(--shadow-neon);
}

.section-subtitle {
  font-family: var(--font-mono);
  color: var(--neon-emerald);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

section {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  height: 65px;
  background: rgba(5, 8, 17, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 240, 255, 0.25);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.nav-logo span {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-logo:hover {
  transform: scale(1.02);
}

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

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--neon-cyan);
  transition: var(--transition-smooth);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.nav-link:hover, .nav-link.active {
  color: var(--neon-cyan);
}

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

/* Navbar Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(12, 14, 25, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 12px;
  padding: 0.8rem 0;
  min-width: 290px;
  list-style: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 242, 254, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  padding: 0.7rem 1.4rem;
  color: var(--text-secondary) !important;
  font-family: var(--font-body);
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: rgba(0, 242, 254, 0.1);
  color: #ffffff !important;
  padding-left: 1.8rem;
}

.nav-btn {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--neon-cyan);
  border-radius: 6px;
  color: var(--neon-cyan);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 0 var(--neon-cyan);
}

.nav-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--neon-cyan);
  transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--neon-emerald);
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
  animation: pulseBadge 2s infinite ease-in-out;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 8px var(--neon-emerald);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 50%, var(--neon-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.8;
}

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

.hero-description .highlight {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.btn-primary {
  padding: 0.9rem 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--neon-cyan), #00a8ff);
  color: #000;
  font-weight: 700;
  font-family: var(--font-mono);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition-smooth);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.7);
  background: linear-gradient(135deg, #33f3ff, #1ebcff);
}

.btn-secondary {
  padding: 0.9rem 2rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-family: var(--font-mono);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

/* Scroll Down Indicator Prompt */
.scroll-prompt {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.scroll-prompt a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  transition: var(--transition-fast);
}

.scroll-prompt a:hover {
  color: var(--neon-cyan);
}

.scroll-prompt i {
  color: var(--neon-cyan);
  font-size: 1.25rem;
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Experience Section (Timeline)
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-violet), transparent);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3.5rem;
  transition: var(--transition-smooth);
}

.timeline-dot {
  position: absolute;
  left: 19px;
  top: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan);
  transition: var(--transition-bounce);
  z-index: 2;
}

.timeline-item:hover .timeline-dot {
  background: var(--neon-cyan);
  transform: scale(1.25);
  box-shadow: 0 0 25px var(--neon-cyan);
}

.timeline-item.current .timeline-dot {
  border-color: var(--neon-emerald);
  box-shadow: 0 0 15px var(--neon-emerald);
}
.timeline-item.current:hover .timeline-dot {
  background: var(--neon-emerald);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-emerald));
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.15);
}

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

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

.company-role {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.company-name {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.2);
  white-space: nowrap;
}

.timeline-item.current .timeline-date {
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-emerald);
  border-color: rgba(0, 255, 136, 0.3);
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.timeline-list li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.85rem;
}

.timeline-list li strong {
  color: var(--text-primary);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-code);
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: var(--transition-fast);
}

.tech-tag:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--neon-cyan);
  transform: translateY(-2px);
  color: #fff;
}

/* ==========================================================================
   Projects Section (VLSI, FPGA, Systems Showcase)
   ========================================================================== */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(0, 255, 136, 0.2));
  color: var(--text-primary);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
  transition: var(--transition-smooth);
  pointer-events: none;
  z-index: 0;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.2);
}

.project-card:hover::after {
  transform: translate(10%, -10%) scale(1.5);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 10;
}

.project-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1.5rem;
  text-decoration: none;
  position: relative;
  z-index: 10;
  transition: var(--transition-fast);
}

.project-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.project-links {
  display: flex;
  gap: 0.75rem;
  position: relative;
  z-index: 10;
}

.project-link-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.project-link-btn:hover {
  background: var(--neon-cyan);
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--neon-cyan);
}

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
  position: relative;
  z-index: 10;
}

.project-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.project-title a:hover {
  color: var(--neon-cyan);
}

.project-card:hover .project-title {
  color: var(--neon-cyan);
}

.project-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-emerald);
  margin-bottom: 1rem;
  display: block;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 0.85rem;
  background: rgba(5, 8, 17, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.metric-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neon-emerald);
}

/* ==========================================================================
   Technical Skills Section
   ========================================================================== */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
}

.skill-category:hover {
  border-color: rgba(0, 255, 136, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.15);
}

.skill-cat-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.skill-cat-icon {
  color: var(--neon-cyan);
  font-size: 1.5rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.skill-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.skill-box:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  color: #fff;
}

.skill-icon-mini {
  color: var(--neon-emerald);
}

/* ==========================================================================
   Achievements & Education Section
   ========================================================================== */
.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .two-column-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.info-card:hover {
  border-color: var(--neon-violet);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.2);
}

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

.info-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.info-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background: rgba(168, 85, 247, 0.15);
  color: var(--neon-violet);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.info-sub {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}

.info-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 4rem 3rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.contact-item:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--neon-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
}

.contact-icon {
  font-size: 2rem;
  color: var(--neon-cyan);
  margin-bottom: 0.75rem;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.contact-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-primary);
  word-break: break-all;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-tertiary);
  background: rgba(5, 8, 17, 0.9);
  position: relative;
  z-index: 10;
}

footer span {
  color: var(--neon-cyan);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
  }
  
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 80px);
    background: rgba(5, 8, 17, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--border-subtle);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    padding-left: 50px;
  }
  .timeline-dot {
    left: 9px;
  }
}

/* Reveal Animation Class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.5, 0, 0, 1);
}

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

/* ==========================================================================
   06 // BLOG SECTION STYLES (Dynamically Loaded)
   ========================================================================== */
#blog {
  padding: 6rem 0;
  position: relative;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.2rem;
  margin-top: 3.5rem;
}

.blog-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: 16px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.blog-loading i {
  color: var(--accent-cyan);
  font-size: 1.4rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  opacity: 0.6;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.blog-card:hover::before {
  opacity: 1;
  height: 4px;
}

.blog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin-bottom: 0.8rem;
  font-family: var(--font-mono);
}

.blog-category {
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 242, 254, 0.25);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
  color: var(--accent-cyan);
}

.blog-summary {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  flex: 1;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.blog-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.blog-footer {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-btn {
  transform: translateX(5px);
}

/* Standalone Page Header Styling */
.page-header {
  padding: 8.5rem 0 3.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}
.page-header .page-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.page-header .page-title span {
  color: var(--accent-cyan);
  text-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
}
.page-header .page-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  max-width: 700px;
  margin: 0 auto;
}

/* Standalone Content Padding adjustment */
.standalone-section {
  padding: 0 0 6rem 0 !important;
  min-height: 60vh;
}

/* High-Contrast, Crystal-Clear Hub Cards for Homepage */
.hub-card {
  background: #111b2f !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  z-index: 20;
  overflow: hidden;
}

.hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--accent-cyan));
}

.hub-card:hover {
  background: #17243e !important;
  transform: translateY(-8px);
  border-color: var(--card-accent, var(--accent-cyan));
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 240, 255, 0.25);
}

.hub-card .hub-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--card-accent, var(--accent-cyan));
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hub-card .hub-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.hub-card .hub-desc {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #f1f5f9;
  font-weight: 400;
}

.hub-card .hub-action {
  margin-top: 2.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--card-accent, var(--accent-cyan));
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: gap 0.3s ease;
}

.hub-card:hover .hub-action {
  gap: 1rem;
}

/* ==========================================================================
   RSS Subscribe Button
   ========================================================================== */
.rss-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.5rem;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 999px;
  color: #f97316;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

.rss-subscribe-btn:hover {
  background: rgba(249, 115, 22, 0.3);
  border-color: #f97316;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.4);
  color: #ffffff;
}


