/* ============================================================
   PRASHANT KUMAR — AI/ML & BACKEND PORTFOLIO STYLES
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
  --bg-dark: #060813;
  --bg-mid: #0b0f26;
  --bg-card: rgba(14, 20, 46, 0.65);
  --bg-card-hover: rgba(20, 28, 64, 0.85);

  --accent-cyan: #00e5ff;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.3);

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-code: 'JetBrains Mono', monospace;
  --font-tech: 'Orbitron', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* ===== Background Canvas & Cursor Glow ===== */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at top, #0b0f26 0%, #060813 70%, #020308 100%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: transform 0.08s linear;
}

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

.preloader.hide {
  opacity: 0;
  pointer-events: none;
}

.loader-cube {
  width: 60px;
  height: 60px;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeSpin 2.5s infinite linear;
}

.loader-cube .face {
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.loader-cube .front  { transform: translateZ(30px); }
.loader-cube .back   { transform: rotateY(180deg) translateZ(30px); }
.loader-cube .right  { transform: rotateY(90deg) translateZ(30px); }
.loader-cube .left   { transform: rotateY(-90deg) translateZ(30px); }
.loader-cube .top    { transform: rotateX(90deg) translateZ(30px); }
.loader-cube .bottom { transform: rotateX(-90deg) translateZ(30px); }

@keyframes cubeSpin {
  0% { transform: rotateX(0) rotateY(0); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

.loader-text {
  margin-top: 25px;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-family: var(--font-tech);
}

/* ===== Sticky Navbar ===== */
.custom-navbar {
  background: rgba(6, 8, 19, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.custom-navbar.scrolled {
  padding: 10px 0;
  background: rgba(6, 8, 19, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand .brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: #000;
  font-size: 0.9rem;
}

.navbar-brand .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
}

.navbar-brand .brand-dot {
  color: var(--accent-rose);
}

.navbar-nav .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.92rem;
  margin: 0 4px;
  position: relative;
  transition: color 0.3s;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-cyan) !important;
}

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

.nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s;
}

.nav-icon-link:hover {
  background: var(--accent-cyan);
  color: #000;
  transform: translateY(-2px);
}

.btn-glow-nav {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: #000 !important;
  font-weight: 600;
  border-radius: 30px;
  padding: 6px 16px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  transition: all 0.3s;
}

.btn-glow-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.6);
}

.navbar-toggler {
  border-color: var(--border-glow);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 90px;
  overflow: hidden;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-size: 0.82rem;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-name {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(120deg, #ffffff 30%, var(--accent-cyan) 70%, var(--accent-indigo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  line-height: 1.1;
}

.hero-role {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-role .divider {
  color: var(--accent-purple);
  margin: 0 6px;
}

.hero-tagline {
  font-style: italic;
  color: var(--accent-cyan);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 600px;
  margin-bottom: 28px;
}

/* Buttons */
.btn-glow {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: #000 !important;
  border: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
  transition: all 0.3s;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.6);
}

.btn-outline-glow {
  background: transparent;
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan) !important;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-outline-glow:hover {
  background: var(--accent-cyan);
  color: #000 !important;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}

.btn-subtle-glow {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main) !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-subtle-glow:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-muted);
}

/* Hero Social */
.hero-social .social-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  margin-right: 8px;
  font-size: 1.1rem;
  transition: all 0.3s;
  text-decoration: none;
}

.hero-social a:hover {
  background: var(--accent-cyan);
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
}

/* Tilt 3D Card */
.tilt-card {
  perspective: 1000px;
}

.tilt-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.12);
}

.avatar-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: conic-gradient(from 0deg, var(--accent-cyan), var(--accent-indigo), var(--accent-purple), var(--accent-cyan));
  padding: 4px;
  animation: ringSpin 8s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

.avatar-letter {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #090e26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-tech);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.tilt-inner h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.tilt-inner .role-subtitle {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.tilt-inner .location-text {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.stats-row {
  display: flex;
  justify-content: space-around;
  margin-top: 18px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.stats-row div {
  display: flex;
  flex-direction: column;
}

.stats-row b {
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.stats-row span {
  color: var(--text-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid var(--accent-cyan);
  border-radius: 18px;
  margin: 0 auto 6px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: scrollDown 1.6s infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ===== Sections Global ===== */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
}

.section-title span {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 6px;
}

.subheading {
  font-family: var(--font-heading);
  color: var(--accent-cyan);
  letter-spacing: 1px;
}

/* ===== About Section ===== */
.about-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
}

.about-3d-cube {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  perspective: 1200px;
}

.cube-3d {
  width: 160px;
  height: 160px;
  position: relative;
  transform-style: preserve-3d;
  animation: aboutCubeSpin 14s infinite linear;
}

.cube-face {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(99, 102, 241, 0.15));
  border: 1.5px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2) inset;
  backdrop-filter: blur(6px);
  border-radius: 8px;
}

.cube-face.front  { transform: translateZ(80px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(80px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(80px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(80px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(80px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(80px); }

@keyframes aboutCubeSpin {
  0% { transform: rotateX(0) rotateY(0); }
  100% { transform: rotateX(360deg) rotateY(720deg); }
}

.value-chip {
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.82rem;
}

/* ===== Technical Skills ===== */
.skills-section {
  background: linear-gradient(180deg, transparent, rgba(11, 15, 38, 0.5), transparent);
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.skill-category-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.15);
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.skill-cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: #000;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-category-header h4 {
  margin: 0;
  font-size: 1.15rem;
  color: #fff;
}

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

.skill-tag {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all 0.25s;
}

.skill-tag.highlighted {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
  font-weight: 500;
}

.skill-tag:hover {
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tool-chip {
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.tool-chip:hover {
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.2);
}

/* ===== Experience Section ===== */
.timeline-container {
  position: relative;
  padding-left: 28px;
}

.timeline-line {
  position: absolute;
  left: 10px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), rgba(99, 102, 241, 0.4), transparent);
  border-radius: 2px;
}

.timeline-dot {
  position: absolute;
  left: -8px;
  top: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
  z-index: 2;
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.15) rotate(5deg);
}

.company-logo-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(99, 102, 241, 0.2));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.2);
}

.experience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.featured-exp {
  border-color: var(--border-glow);
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.1);
}

.featured-exp:hover {
  box-shadow: 0 15px 50px rgba(0, 229, 255, 0.2);
  transform: translateY(-3px);
}

.exp-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-cyan), #00b4d8);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

.sim-badge {
  background: var(--accent-indigo);
  color: #fff;
}

.exp-role {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.exp-company {
  font-size: 1rem;
  margin: 0;
}

.date-chip {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.bullet-item {
  background: rgba(15, 23, 42, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  transition: all 0.25s ease;
}

.bullet-item:hover {
  border-color: var(--border-glow) !important;
  transform: translateX(4px);
  background: rgba(15, 23, 42, 0.85) !important;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.1);
}

.bullet-icon-box {
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bullet-text {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

@media (max-width: 767.98px) {
  .timeline-container {
    padding-left: 0;
  }
  .timeline-line, .timeline-dot {
    display: none;
  }
}

/* ===== Projects Section ===== */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.35s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.18);
}

.flagship-project {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.12);
}

.project-3d {
  height: 180px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.flagship-3d {
  height: 100%;
  min-height: 280px;
}

.flagship-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0, 229, 255, 0.2);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.project-icon {
  width: 75px;
  height: 75px;
  border-radius: 18px;
  background: #090e26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
}

.project-body {
  padding: 24px;
}

.project-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.project-subtitle {
  font-weight: 500;
}

.tech-stack-line {
  color: var(--accent-cyan);
  font-size: 0.82rem;
  margin-bottom: 10px;
  font-family: var(--font-code);
}

.project-highlights {
  list-style: none;
  padding-left: 0;
  margin-bottom: 12px;
}

.project-highlights li {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}

.project-highlights li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* Architecture Flowchart Styling */
.arch-flowchart-container {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 16px;
}

.arch-title {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.arch-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  font-family: var(--font-code);
}

.arch-step {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.arch-step.highlight {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
}

.arch-arrow {
  color: var(--accent-purple);
  font-weight: bold;
}

/* KPI Chips & Metric Badges */
.metric-pill {
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 600;
}

.metric-pill.highlighted {
  background: var(--accent-cyan);
  color: #000;
  font-weight: 700;
}

.kpi-grid {
  display: flex;
  gap: 8px;
}

.kpi-chip {
  flex: 1;
  min-width: 75px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 6px 10px;
  text-align: center;
}

.kpi-val {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-cyan);
}

.kpi-lbl {
  display: block;
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.kpi-mini {
  padding: 3px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.kpi-mini b {
  color: var(--accent-cyan);
}

.tech-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
}

/* Live Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  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); }
}

/* ===== Achievements Section ===== */
.achievement-section {
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.05), transparent);
}

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

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.15);
}

.stat-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.stat-card h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.stat-card small {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Profile Cards */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 20px;
  transition: all 0.3s;
}

.profile-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.15);
}

.profile-link-btn {
  font-size: 0.82rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ===== Education & Coursework ===== */
.edu-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.cgpa-badge {
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-amber);
  font-weight: 700;
  font-size: 0.88rem;
}

.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-chip {
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.85rem;
  transition: all 0.3s;
}

.course-chip i {
  color: var(--accent-cyan);
  margin-right: 6px;
}

.course-chip:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* ===== Certifications Section ===== */
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  position: relative;
  transition: all 0.3s;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.15);
}

.cert-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cert-year {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.75rem;
}

.cert-title {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.cert-issuer {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: 500;
}

/* ===== Contact Section ===== */
.contact-info-card,
.contact-form {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}

.contact-detail-item {
  display: flex;
  align-items: center;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  transition: all 0.3s;
  text-decoration: none;
}

.contact-socials a:hover {
  background: var(--accent-cyan);
  color: #000;
  transform: translateY(-3px);
}

.contact-form .form-control {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  transition: all 0.3s;
}

.contact-form .form-control::placeholder {
  color: var(--text-dim);
}

.contact-form .form-control:focus {
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--accent-cyan);
  color: var(--text-main);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

/* ===== Modal Styles ===== */
.custom-modal-content {
  background: #0b0f26;
  border: 1px solid var(--accent-cyan);
  border-radius: 18px;
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.25);
  color: var(--text-main);
}

.custom-modal-content .modal-header {
  border-bottom-color: var(--border-light);
}

.modal-section-title {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 14px;
  margin-bottom: 8px;
}

/* ===== Footer ===== */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border-light);
  background: rgba(6, 8, 19, 0.9);
}

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 100px;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .cursor-glow {
    display: none;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 65px 0;
  }
  .section-header {
    margin-bottom: 30px;
  }
  .hero-name {
    font-size: 2.3rem;
  }
  .hero-role {
    font-size: 1.15rem;
  }
  .kpi-grid {
    flex-direction: column;
  }
}
