/* ==========================================================================
   JAI AKASH K - PORTFOLIO STYLESHEET
   Design Language: Futuristic Dark Glassmorphism, Neon Glow & Modern Typography
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --bg-main: #070a12;
  --bg-secondary: #0b111e;
  --bg-card: rgba(14, 22, 39, 0.7);
  --bg-card-hover: rgba(20, 32, 57, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(0, 242, 254, 0.4);
  --border-accent: rgba(138, 43, 226, 0.3);

  /* Neon Accents */
  --cyan-primary: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.35);
  --purple-primary: #8a2be2;
  --purple-glow: rgba(138, 43, 226, 0.4);
  --blue-primary: #3b82f6;
  --emerald-primary: #10b981;
  --amber-primary: #f59e0b;
  --red-primary: #ef4444;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #030712;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Transitions */
  --max-width: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-glass: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 25px -5px var(--cyan-glow);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan-primary), var(--purple-primary));
  z-index: 9999;
  box-shadow: 0 0 10px var(--cyan-primary);
  transition: width 0.1s ease-out;
}

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

/* Section Spacing */
.section-padding {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(11, 17, 30, 0.4) 0%, rgba(7, 10, 18, 0.8) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
}

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

strong {
  color: #fff;
  font-weight: 600;
}

.text-cyan { color: var(--cyan-primary); }
.text-purple { color: var(--purple-primary); }
.text-orange { color: #f97316; }
.text-yellow { color: #eab308; }
.text-green { color: var(--emerald-primary); }
.text-teal { color: #14b8a6; }
.text-blue { color: var(--blue-primary); }
.text-red { color: var(--red-primary); }
.text-danger { color: #f87171; }
.text-muted { color: var(--text-secondary); }
.text-center { text-align: center; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1.25rem; }

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, #38bdf8 30%, #a855f7 70%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Section Header Structure */
.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-full);
  color: var(--cyan-primary);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

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

/* --------------------------------------------------------------------------
   3. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, #2563eb 100%);
  color: #030712;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 242, 254, 0.45);
  filter: brightness(1.08);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(30deg);
  transition: all 0.6s ease;
}

.btn-glow:hover::after {
  left: 100%;
}

.btn-glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-color: var(--border-glass);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  color: var(--cyan-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  background: rgba(0, 242, 254, 0.05);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 10, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
}

.navbar-header.scrolled {
  background: rgba(7, 10, 18, 0.92);
  border-bottom-color: rgba(0, 242, 254, 0.15);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.brand-badge {
  background: linear-gradient(135deg, var(--cyan-primary), var(--purple-primary));
  color: #030712;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.brand-text .dot {
  color: var(--cyan-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link i {
  font-size: 0.85rem;
  opacity: 0.7;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

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

.social-icon-btn:hover {
  color: var(--cyan-primary);
  border-color: var(--border-glass-hover);
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.hero-typing-wrapper {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 600;
  color: var(--text-secondary);
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.typing-prefix {
  color: var(--text-muted);
}

.typing-text {
  color: var(--cyan-primary);
  font-weight: 700;
}

.typing-cursor {
  color: var(--cyan-primary);
  animation: blink 0.8s infinite;
  font-weight: 300;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 640px;
}

/* Hero Stats Counter Box */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 1rem 0.8rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-fast);
}

.stat-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -8px rgba(0, 242, 254, 0.2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fff 40%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.links-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

.hero-social-link:hover {
  color: var(--cyan-primary);
  border-color: var(--cyan-primary);
  background: rgba(0, 242, 254, 0.08);
}

/* Floating 3D Code Card in Hero */
.hero-visual {
  position: relative;
  perspective: 1000px;
}

.floating-tech-card {
  background: rgba(10, 16, 29, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px -5px rgba(0, 242, 254, 0.15);
  position: relative;
  overflow: visible;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.floating-tech-card:hover {
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 40px 0 rgba(0, 242, 254, 0.25);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.mac-dots {
  display: flex;
  gap: 6px;
}

.dot-red, .dot-yellow, .dot-green {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.card-title-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.badge-live {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.card-code-body {
  padding: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-keyword { color: #f43f5e; font-weight: 600; }
.code-variable { color: #38bdf8; }
.code-property { color: #a78bfa; }
.code-string { color: #34d399; }
.code-number { color: #fbbf24; }
.code-boolean { color: #ec4899; font-weight: 600; }
.code-function { color: #60a5fa; }
.code-comment { color: #64748b; font-style: italic; }

/* Floating Badges */
.float-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  animation: floatAnim 4s ease-in-out infinite;
}

.badge-top-right {
  top: -15px;
  right: -20px;
  animation-delay: 0s;
}

.badge-mid-left {
  top: 45%;
  left: -25px;
  animation-delay: 1.5s;
}

.badge-bottom-right {
  bottom: -15px;
  right: -10px;
  animation-delay: 2.5s;
}

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

/* --------------------------------------------------------------------------
   6. BENTO GRID (ABOUT & EDUCATION)
   -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 20px -5px var(--cyan-glow);
}

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

.bento-span-2 {
  grid-column: span 2;
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.bento-date-pill {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid rgba(138, 43, 226, 0.35);
  color: #c084fc;
}

.bento-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.bento-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.bento-institution {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.2rem;
}

.bento-subinfo {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.grade-highlight {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.grade-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.grade-value {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
}

.cgpa-box {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
}

.cgpa-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan-primary);
}

.cgpa-denom {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.bento-note {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.values-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.5;
}

.values-list li i {
  margin-top: 0.25rem;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.contact-mini-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-mini-item:hover {
  border-color: var(--border-glass-hover);
  background: rgba(0, 242, 254, 0.04);
}

.contact-mini-item i {
  font-size: 1.3rem;
  color: var(--cyan-primary);
}

.mini-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mini-val {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-all;
}

.mini-val:hover {
  color: var(--cyan-primary);
}

/* --------------------------------------------------------------------------
   7. TIMELINE (EXPERIENCE & INTERNSHIPS)
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan-primary), var(--purple-primary), rgba(255, 255, 255, 0.05));
}

.timeline-item {
  position: relative;
  padding-left: 75px;
  margin-bottom: 3rem;
}

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

.timeline-dot {
  position: absolute;
  top: 0;
  left: 8px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #090d16;
  border: 2px solid var(--cyan-primary);
  box-shadow: 0 0 15px var(--cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  font-size: 1rem;
  z-index: 2;
}

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

.timeline-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateX(6px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 25px -5px var(--cyan-glow);
}

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

.company-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan-primary);
  background: rgba(0, 242, 254, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
}

.timeline-role {
  font-size: 1.3rem;
  font-weight: 700;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.timeline-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.timeline-points li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.6;
}

.timeline-points li i {
  margin-top: 0.3rem;
  font-size: 0.85rem;
}

.timeline-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --------------------------------------------------------------------------
   8. TECHNICAL SKILLS ARSENAL
   -------------------------------------------------------------------------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.skill-category-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.cat-java { background: rgba(249, 115, 22, 0.15); color: #f97316; border: 1px solid rgba(249, 115, 22, 0.3); }
.cat-backend { background: rgba(16, 185, 129, 0.15); color: var(--emerald-primary); border: 1px solid rgba(16, 185, 129, 0.3); }
.cat-ai { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }
.cat-devops { background: rgba(59, 130, 246, 0.15); color: var(--blue-primary); border: 1px solid rgba(59, 130, 246, 0.3); }

.category-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.skills-badges-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skill-badge-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-level {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.skill-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-primary), var(--purple-primary));
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--cyan-glow);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   9. FEATURED PROJECTS SHOWCASE
   -------------------------------------------------------------------------- */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

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

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-glass);
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px -5px var(--cyan-glow);
}

.project-card-banner {
  height: 120px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  overflow: hidden;
}

.banner-ml { background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%); }
.banner-cv { background: linear-gradient(135deg, #0c2d48 0%, #14532d 100%); }
.banner-spring { background: linear-gradient(135deg, #064e3b 0%, #1e3a8a 100%); }
.banner-mern { background: linear-gradient(135deg, #3730a3 0%, #065f46 100%); }

.banner-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.banner-icon-bg {
  position: absolute;
  right: 1.5rem;
  bottom: -0.5rem;
  font-size: 5.5rem;
  opacity: 0.12;
  color: #fff;
  pointer-events: none;
}

.project-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.project-category-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-stat-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.project-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.project-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.project-highlights li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 1.25rem;
}

.project-highlights li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--cyan-primary);
  font-size: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.project-tags span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.project-footer-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------------------
   10. INTERACTIVE DEVELOPER TERMINAL
   -------------------------------------------------------------------------- */
.terminal-container {
  max-width: 900px;
  margin: 0 auto;
  background: #060911;
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px -5px rgba(0, 242, 254, 0.15);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-header {
  background: #0d1322;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-buttons {
  display: flex;
  gap: 7px;
}

.t-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.t-close { background: #ff5f56; }
.t-min { background: #ffbd2e; }
.t-max { background: #27c93f; }

.terminal-title {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.terminal-mode {
  font-size: 0.7rem;
  color: var(--cyan-primary);
  background: rgba(0, 242, 254, 0.1);
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
}

.terminal-body {
  height: 320px;
  overflow-y: auto;
  padding: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.terminal-body::-webkit-scrollbar {
  width: 6px;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.t-prompt {
  color: var(--cyan-primary);
  font-weight: 600;
  margin-right: 0.5rem;
}

.t-cmd {
  color: #fff;
  font-weight: 600;
}

.t-highlight {
  color: var(--amber-primary);
  font-weight: 600;
}

.t-response {
  color: #cbd5e1;
  padding-left: 0.5rem;
  margin-bottom: 0.5rem;
}

.terminal-quick-bar {
  background: #090e1a;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.quick-cmd-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cyan-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-cmd-btn:hover {
  background: var(--cyan-primary);
  color: #030712;
  font-weight: 600;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: #080c16;
}

.terminal-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.terminal-enter-btn {
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan-primary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.terminal-enter-btn:hover {
  background: var(--cyan-primary);
  color: #030712;
}

/* --------------------------------------------------------------------------
   11. CERTIFICATIONS & ACCREDITATIONS
   -------------------------------------------------------------------------- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.cert-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-glass);
}

.cert-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
}

.cert-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cert-google { background: rgba(234, 67, 53, 0.12); color: #ea4335; border: 1px solid rgba(234, 67, 53, 0.25); }
.cert-nptel { background: rgba(249, 115, 22, 0.12); color: #f97316; border: 1px solid rgba(249, 115, 22, 0.25); }
.cert-edunet { background: rgba(56, 189, 248, 0.12); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.25); }
.cert-data { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.25); }

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

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.2rem;
}

.cert-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cert-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.cert-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. CONTACT SECTION & FORMS
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card-premium {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-glass);
}

.contact-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.contact-method-card:hover {
  background: rgba(0, 242, 254, 0.04);
  border-color: var(--border-glass-hover);
}

.cm-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cm-linkedin { background: rgba(10, 102, 194, 0.15); color: #0a66c2; }
.cm-github { background: rgba(255, 255, 255, 0.1); color: #fff; }

.cm-details {
  flex-grow: 1;
  min-width: 0;
}

.cm-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cm-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cm-value:hover {
  color: var(--cyan-primary);
}

.copy-action-btn, .external-action-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.copy-action-btn:hover, .external-action-btn:hover {
  background: var(--cyan-primary);
  color: #030712;
  border-color: var(--cyan-primary);
}

/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.input-with-icon.textarea-icon i {
  top: 1rem;
}

.input-with-icon input, .input-with-icon textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  outline: none;
}

.input-with-icon textarea {
  resize: vertical;
  min-height: 120px;
}

.input-with-icon input:focus, .input-with-icon textarea:focus {
  border-color: var(--cyan-primary);
  background: rgba(0, 242, 254, 0.03);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

/* --------------------------------------------------------------------------
   13. MODAL OVERLAY & POPUP
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

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

.modal-dialog {
  background: #090e1b;
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px -5px rgba(0, 242, 254, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
  overflow: hidden;
}

.modal-overlay.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem 1.75rem;
  background: #0d1424;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-category {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--cyan-primary);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-arch-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin: 0.75rem 0;
  color: #38bdf8;
}

.modal-metrics-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.88rem;
}

.modal-metrics-table th, .modal-metrics-table td {
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.modal-metrics-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.modal-footer {
  padding: 1rem 1.75rem;
  background: #0d1424;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   14. TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: #fff;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px -5px rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.portfolio-footer {
  background: #04060b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3.5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  max-width: 320px;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 0.75rem;
}

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

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

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

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.footer-social-row {
  display: flex;
  gap: 0.6rem;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social-icon:hover {
  color: var(--cyan-primary);
  border-color: var(--cyan-primary);
  background: rgba(0, 242, 254, 0.08);
  transform: translateY(-2px);
}

.back-to-top-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-primary), var(--purple-primary));
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 0 15px var(--cyan-glow);
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.15);
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE DESIGN & MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-span-2 {
    grid-column: span 2;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-left, .footer-right {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-tagline {
    margin: 0.5rem auto 0;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(7, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
  }

  .nav-links.mobile-open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .bento-span-2 {
    grid-column: span 1;
  }

  .quick-contact-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .timeline::before {
    left: 20px;
  }

  .timeline-dot {
    left: 0;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

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