/* ============================================
   SHIVANG SHARMA PORTFOLIO - MAIN STYLES
   ============================================ */

/* --- CSS Variables & Design Tokens --- */
:root {
  --blue: #4F6EF7;
  --blue-light: #6B85FF;
  --blue-dark: #3652D9;
  --purple: #9B5CF7;
  --purple-light: #B07AFF;
  --pink: #EC4899;
  --green: #10B981;
  --orange: #F59E0B;

  /* Modern clean off-white theme */
  --bg: #FAFAFC;
  --bg-2: #F3F4F6;
  --bg-3: #FFFFFF;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-hover: rgba(255, 255, 255, 0.98);
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);

  /* Dark text on light background */
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-3d: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 40px rgba(79, 110, 247, 0.12);

  --gradient: linear-gradient(135deg, var(--blue), var(--purple));
  --gradient-soft: linear-gradient(135deg, rgba(79, 110, 247, 0.08), rgba(155, 92, 247, 0.08));

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --nav-height: 68px;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Background Elements --- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(79, 110, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 110, 247, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* Aurora animated orbs */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: aurora-drift 18s ease-in-out infinite;
}

.bg-glow-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1) 45%, transparent 70%);
  top: -300px;
  right: -200px;
  animation-delay: 0s;
  opacity: 0.5;
}

.bg-glow-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at 60% 50%, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.08) 50%, transparent 70%);
  bottom: 10%;
  left: -200px;
  animation-delay: -6s;
  opacity: 0.45;
}

.bg-glow-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at 50% 50%, rgba(79, 110, 247, 0.1), rgba(99, 102, 241, 0.08) 50%, transparent 70%);
  top: 40%;
  left: 40%;
  animation-delay: -12s;
  opacity: 0.4;
}

/* Extra 4th aurora blob */
.bg-glow-4 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08), transparent 70%);
  bottom: 5%;
  right: 5%;
  animation-delay: -9s;
  opacity: 0.35;
}

@keyframes aurora-drift {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  25% {
    transform: translate(40px, -30px) scale(1.06) rotate(5deg);
  }

  50% {
    transform: translate(-20px, 40px) scale(0.95) rotate(-3deg);
  }

  75% {
    transform: translate(30px, 20px) scale(1.04) rotate(4deg);
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

/* --- Custom Cursor --- */
.cursor-glow {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 110, 247, 0.35), transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: multiply;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.05s ease;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient);
  z-index: 10001;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(79, 110, 247, 0.5);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

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

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.logo-bracket {
  color: var(--blue);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid transparent;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-light);
  background: rgba(91, 127, 255, 0.1);
  border-color: rgba(91, 127, 255, 0.2);
  box-shadow: 0 0 16px rgba(91, 127, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Glass Card --- */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  transform: perspective(1000px) translateZ(0);
}

.glass-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-3d);
  transform: perspective(1000px) translateZ(10px) translateY(-4px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(79, 110, 247, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(79, 110, 247, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:active, .btn-secondary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: white;
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-3);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- Section Base --- */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.2;
}

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

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

/* --- Text Highlight --- */
.text-highlight {
  color: #1C1C2E;
  font-weight: 700;
  position: relative;
  display: inline;
  background: linear-gradient(120deg, rgba(28, 28, 46, 0.09) 0%, rgba(28, 28, 46, 0.06) 100%);
  border-radius: 4px;
  padding: 0 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* --- Scroll Reveal --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

.hero-name {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.name-line {
  display: block;
}

.hero-title {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 20px;
}

.divider {
  margin: 0 8px;
  color: var(--blue);
  opacity: 0.5;
}

.hero-tagline {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-secondary);
  font-style: italic;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
  padding-left: 16px;
  border-left: 3px solid var(--blue);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --- Profile Card --- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--blue), var(--purple), var(--blue-light), var(--purple), var(--blue));
  animation: spin-ring 8s linear infinite;
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), white calc(100% - 3px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), white calc(100% - 3px));
}

@keyframes spin-ring {
  to {
    transform: rotate(360deg);
  }
}

.profile-img-wrap {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gradient-soft);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.08), rgba(155, 92, 247, 0.08));
}

.profile-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-icon {
  width: 140px;
  height: 140px;
}

.profile-badge-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  animation: badge-float 4s ease-in-out infinite;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.badge-ai {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.badge-ml {
  bottom: 20%;
  right: -30px;
  animation-delay: -1.5s;
}

.badge-auto {
  bottom: 5%;
  left: -20px;
  animation-delay: -3s;
}

@keyframes badge-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.badge-icon {
  font-size: 1rem;
}

/* Hero Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: scroll-hint 2s ease-in-out infinite;
}

.scroll-line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--blue));
}

@keyframes scroll-hint {

  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(6px);
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: linear-gradient(180deg, transparent, rgba(91, 127, 255, 0.04), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-body {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.highlight-chip {
  padding: 6px 14px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.highlight-chip:hover {
  background: rgba(79, 110, 247, 0.12);
  color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.info-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.info-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.info-link:hover {
  color: var(--blue);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-section {
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.05), transparent);
}

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

.skill-category {
  padding: 28px;
}

.skill-wide {
  grid-column: span 2;
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.skill-cat-icon {
  font-size: 1.4rem;
}

.skill-cat-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-items-row {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.skill-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.skill-icon-plain {
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  font-size: 1.2rem;
}

.skill-info {
  flex: 1;
}

.skill-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.skill-bar {
  height: 5px;
  background: rgba(79, 110, 247, 0.1);
  border-radius: 100px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: var(--fill);
  background: var(--gradient);
  border-radius: 100px;
  animation: fill-bar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transform-origin: left;
}

@keyframes fill-bar {
  from {
    width: 0;
  }

  to {
    width: var(--fill);
  }
}

.tool-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: default;
}

.tool-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(79, 110, 247, 0.08);
  transform: translateY(-2px);
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
.experience-section {
  background: linear-gradient(180deg, transparent, rgba(79, 110, 247, 0.02), transparent);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 28px;
}

.marker-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--border);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--border);
  flex-shrink: 0;
  z-index: 1;
  transition: var(--transition);
}

.active-dot {
  background: var(--gradient);
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.2), 0 0 20px rgba(79, 110, 247, 0.3);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.2), 0 0 20px rgba(79, 110, 247, 0.3);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(79, 110, 247, 0.1), 0 0 30px rgba(79, 110, 247, 0.4);
  }
}

.marker-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--blue), transparent);
  margin-top: 8px;
  opacity: 0.3;
}

.timeline-card {
  padding: 28px;
}

.featured-card {
  border-color: rgba(79, 110, 247, 0.25);
  box-shadow: 0 4px 24px rgba(79, 110, 247, 0.12);
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.04), rgba(155, 92, 247, 0.04));
  border-radius: inherit;
  pointer-events: none;
}

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

.company-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.company-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: -0.02em;
  color: white;
  flex-shrink: 0;
}

.indiamart-logo {
  background: linear-gradient(135deg, #E8472A, #F5700A);
}

.magic-logo {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
}

.meity-logo {
  background: linear-gradient(135deg, #047857, #059669);
  font-size: 0.6rem;
}

.ssj-logo {
  background: linear-gradient(135deg, #0369A1, #0284C7);
}

.job-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.company-name {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.job-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.job-period {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--gradient-soft);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.active-badge {
  color: var(--blue);
  border-color: rgba(79, 110, 247, 0.3);
  background: rgba(79, 110, 247, 0.08);
}

.job-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.job-achievements {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.achievement-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ach-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.achievement-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.achievement-item strong {
  color: var(--text-primary);
}

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

.tech-tag {
  padding: 4px 12px;
  background: rgba(79, 110, 247, 0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-section {
  background: linear-gradient(180deg, transparent, rgba(155, 92, 247, 0.02), transparent);
}

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

.project-card {
  padding: 32px;
  transition: var(--transition);
}

.project-card:hover {
  transform: perspective(1000px) translateZ(20px) translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-3d);
}

.featured-project {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.04), rgba(155, 92, 247, 0.04));
  border-color: rgba(79, 110, 247, 0.2);
}

.project-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.project-card:hover .project-glow {
  opacity: 0.03;
}

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

.project-icon {
  font-size: 2.2rem;
}

.project-badge {
  padding: 4px 12px;
  background: rgba(79, 110, 247, 0.08);
  border: 1px solid rgba(79, 110, 247, 0.2);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-purple {
  background: rgba(155, 92, 247, 0.08);
  border-color: rgba(155, 92, 247, 0.2);
  color: var(--purple);
}

.badge-green {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--green);
}

.badge-orange {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  color: var(--orange);
}

.project-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

.project-impact {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--gradient-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.impact-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.impact-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.impact-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-tag {
  padding: 4px 10px;
  background: rgba(79, 110, 247, 0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.stack-tag:hover {
  color: var(--blue);
  border-color: rgba(79, 110, 247, 0.3);
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.achievement-card {
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}

.achievement-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.ach-trophy {
  font-size: 2.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.ach-content {
  flex: 1;
}

.ach-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.ach-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.ach-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  background: var(--gradient);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.achievement-card:hover .ach-glow {
  opacity: 0.04;
}

/* ============================================
   EDUCATION & CERTIFICATIONS
   ============================================ */
.edu-section {
  background: linear-gradient(180deg, transparent, rgba(79, 110, 247, 0.02), transparent);
}

.edu-certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.edu-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
}

.edu-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.edu-content {
  flex: 1;
}

.edu-degree {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.edu-school {
  display: block;
  font-size: 0.87rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.edu-grade {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}

.edu-badge {
  padding: 8px 16px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}

.certs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}

.cert-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.cert-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cert-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

.cert-check {
  width: 28px;
  height: 28px;
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 700;
}

/* ============================================
   EXPANDED EDUCATION CARD
   ============================================ */
.edu-card-expanded {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Header row */
.edu-header-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.edu-icon-lg {
  font-size: 2.8rem;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(91, 127, 255, 0.3));
}

.edu-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.edu-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.edu-grade-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(91, 127, 255, 0.15));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: 0.02em;
}

.edu-badge-sm {
  padding: 5px 14px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.04em;
}

/* Leadership highlight box */
.edu-highlight-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(91, 127, 255, 0.08), rgba(168, 85, 247, 0.06));
  border: 1px solid rgba(91, 127, 255, 0.2);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.edu-highlight-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient);
  border-radius: 3px 0 0 3px;
}

.edu-highlight-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.edu-highlight-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.edu-highlight-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.edu-highlight-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.edu-highlight-text strong {
  color: var(--text-primary);
}

/* Activity chips */
.edu-activity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.edu-chip {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  animation: chip-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.edu-chip:nth-child(1) {
  animation-delay: 0.05s;
}

.edu-chip:nth-child(2) {
  animation-delay: 0.1s;
}

.edu-chip:nth-child(3) {
  animation-delay: 0.15s;
}

.edu-chip:nth-child(4) {
  animation-delay: 0.2s;
}

.edu-chip:nth-child(5) {
  animation-delay: 0.25s;
}

.edu-chip:hover {
  border-color: var(--border-strong);
  color: var(--blue-light);
  background: rgba(91, 127, 255, 0.08);
  transform: translateY(-2px);
}

/* Achievement summary */
.edu-achievement-summary {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
}

.edu-achievement-summary::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 16px;
  font-size: 3rem;
  color: var(--blue);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.edu-achievement-summary p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

.edu-achievement-summary strong {
  color: var(--purple-light);
  font-weight: 700;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: linear-gradient(180deg, transparent, rgba(155, 92, 247, 0.02), transparent);
}

.contact-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contact-info {
  width: 100%;
  max-width: 1000px;
}

.contact-card {
  padding: 40px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  flex: 1;
  min-width: 260px;
}

.contact-method:hover {
  background: rgba(91, 127, 255, 0.05);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.contact-method-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 24px;
  height: 24px;
}

.email-icon {
  background: rgba(79, 110, 247, 0.1);
  color: var(--blue);
}

.linkedin-icon {
  background: rgba(10, 102, 194, 0.1);
  color: #0A66C2;
}

.location-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.contact-method-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-method-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-method-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-all;
}

.contact-method:hover .contact-method-value {
  color: var(--blue);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #040710;
  color: white;
  padding: 48px 0 24px;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  color: white;
  font-size: 1.1rem;
}

.footer-logo .logo-bracket {
  color: var(--blue-light);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.87rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: translateY(-2px);
}

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

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-wide {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-tagline {
    margin: 0 auto 36px;
    border-left: none;
    border-top: 3px solid var(--blue);
    padding-left: 0;
    padding-top: 16px;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

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

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

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

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

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

  .featured-project {
    grid-column: span 1;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 640px) {
  .section {
    padding: 70px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(242, 245, 255, 0.96);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .profile-card {
    width: 260px;
    height: 260px;
  }

  .profile-img-wrap {
    width: 230px;
    height: 230px;
  }

  .badge-ml,
  .badge-ai,
  .badge-auto {
    right: -10px;
    left: auto;
  }

  .badge-auto {
    left: -10px;
    right: auto;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .timeline-header {
    flex-direction: column;
    gap: 12px;
  }

  .job-meta {
    align-items: flex-start;
  }

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

  .hero-badge {
    font-size: 0.75rem;
  }

  body {
    cursor: auto;
  }

  .cursor-glow,
  .cursor-dot {
    display: none;
  }
}

/* ============================================
   UTILITY
   ============================================ */
::selection {
  background: rgba(91, 127, 255, 0.2);
  color: var(--blue-light);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 100px;
}

/* Particle canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ============================================
   ANIMATION LIBRARY
   ============================================ */

/* Shimmer sweep on glass cards */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: 200% 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.glass-card:hover::before {
  opacity: 1;
  animation: shimmer-sweep 0.65s ease forwards;
}

@keyframes shimmer-sweep {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Glowing border pulse on featured cards & projects */
.featured-card,
.featured-project {
  animation: border-glow-pulse 4s ease-in-out infinite;
}

@keyframes border-glow-pulse {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(91, 127, 255, 0.12), 0 0 0 1px rgba(91, 127, 255, 0.2);
  }

  50% {
    box-shadow: 0 6px 48px rgba(91, 127, 255, 0.3), 0 0 0 1px rgba(168, 85, 247, 0.3);
  }
}

/* Staggered reveal — skills */
.skills-grid .glass-card:nth-child(1) {
  transition-delay: 0.05s;
}

.skills-grid .glass-card:nth-child(2) {
  transition-delay: 0.12s;
}

.skills-grid .glass-card:nth-child(3) {
  transition-delay: 0.19s;
}

.skills-grid .glass-card:nth-child(4) {
  transition-delay: 0.26s;
}

.skills-grid .glass-card:nth-child(5) {
  transition-delay: 0.33s;
}

/* Staggered reveal — projects */
.projects-grid .project-card:nth-child(1) {
  transition-delay: 0.04s;
}

.projects-grid .project-card:nth-child(2) {
  transition-delay: 0.10s;
}

.projects-grid .project-card:nth-child(3) {
  transition-delay: 0.16s;
}

.projects-grid .project-card:nth-child(4) {
  transition-delay: 0.22s;
}

.projects-grid .project-card:nth-child(5) {
  transition-delay: 0.28s;
}

/* Staggered reveal — achievements */
.achievements-grid .achievement-card:nth-child(1) {
  transition-delay: 0.05s;
}

.achievements-grid .achievement-card:nth-child(2) {
  transition-delay: 0.12s;
}

.achievements-grid .achievement-card:nth-child(3) {
  transition-delay: 0.19s;
}

.achievements-grid .achievement-card:nth-child(4) {
  transition-delay: 0.26s;
}

/* Staggered reveal — timeline */
.timeline-item:nth-child(1)[data-reveal] {
  transition-delay: 0s;
}

.timeline-item:nth-child(2)[data-reveal] {
  transition-delay: 0.12s;
}

.timeline-item:nth-child(3)[data-reveal] {
  transition-delay: 0.24s;
}



/* Floating AI orb behind profile */
.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(79, 110, 247, 0.18), rgba(155, 92, 247, 0.1) 50%, transparent 75%);
  filter: blur(50px);
  animation: orb-breathe 7s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes orb-breathe {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translate(-50%, -52%) scale(1.1);
    opacity: 1;
  }
}

/* Skill fill dot glow */
.skill-fill::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 8px 2px rgba(91, 127, 255, 0.7);
  animation: skill-dot-pulse 2s ease-in-out infinite;
}

@keyframes skill-dot-pulse {

  0%,
  100% {
    box-shadow: 0 0 8px 2px rgba(91, 127, 255, 0.6);
  }

  50% {
    box-shadow: 0 0 14px 5px rgba(168, 85, 247, 0.8);
  }
}

/* Tool chip wave entrance */
.tool-chip {
  animation: chip-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.tool-chip:nth-child(1) {
  animation-delay: 0.05s;
}

.tool-chip:nth-child(2) {
  animation-delay: 0.10s;
}

.tool-chip:nth-child(3) {
  animation-delay: 0.15s;
}

.tool-chip:nth-child(4) {
  animation-delay: 0.20s;
}

.tool-chip:nth-child(5) {
  animation-delay: 0.25s;
}

.tool-chip:nth-child(6) {
  animation-delay: 0.30s;
}

.tool-chip:nth-child(7) {
  animation-delay: 0.35s;
}

@keyframes chip-pop {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Achievement card 3D tilt */
.achievement-card {
  transform-style: preserve-3d;
}

.achievement-card:hover {
  transform: translateY(-6px) rotateX(2deg);
}

/* Project card tilt */
.project-card {
  transform-style: preserve-3d;
}

.project-card:hover {
  transform: translateY(-8px) rotateY(-1.5deg);
  box-shadow: 0 24px 64px rgba(91, 127, 255, 0.22), 0 0 0 1px rgba(91, 127, 255, 0.28);
}

/* Hero badge entrance */
.hero-badge {
  animation: slide-down 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats hover glow */
.hero-stats:hover .stat-number {
  text-shadow: 0 0 20px rgba(91, 127, 255, 0.5);
}

/* Section-tag shimmer */
.section-tag {
  position: relative;
  overflow: hidden;
}

.section-tag::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  animation: tag-shimmer 3.5s linear infinite;
}

@keyframes tag-shimmer {
  0% {
    transform: translateX(-150%);
  }

  100% {
    transform: translateX(250%);
  }
}

/* Contact method hover */
.contact-method {
  border-radius: var(--radius-md);
  transition: padding-left 0.25s ease, background 0.25s ease;
}

.contact-method:hover {
  background: rgba(91, 127, 255, 0.07);
  padding-left: 8px !important;
}

/* Cert item hover */
.cert-item:hover {
  border-color: var(--border-strong);
  background: rgba(91, 127, 255, 0.06);
}

.cert-check {
  transition: all 0.25s ease;
}

.cert-item:hover .cert-check {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  transform: scale(1.1);
}

/* Timeline marker ripple */
.timeline-item:hover .marker-dot {
  animation: ripple-dot 0.6s ease-out;
}

@keyframes ripple-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(91, 127, 255, 0.5);
  }

  100% {
    box-shadow: 0 0 0 14px rgba(91, 127, 255, 0);
  }
}

/* Highlight chip hover */
.highlight-chip {
  cursor: default;
}

/* About strong text glow on hover */
.about-lead strong:hover {
  color: var(--blue-light);
  text-shadow: 0 0 10px rgba(91, 127, 255, 0.4);
  transition: color 0.3s, text-shadow 0.3s;
}

/* Floating profile badge wiggle */
.profile-badge-float:hover {
  animation: badge-wiggle 0.4s ease;
  border-color: var(--border-strong);
  box-shadow: 0 8px 32px rgba(91, 127, 255, 0.3), 0 0 0 1px rgba(91, 127, 255, 0.3);
}

@keyframes badge-wiggle {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-4px) rotate(-2deg);
  }

  75% {
    transform: translateY(-4px) rotate(2deg);
  }
}

/* ─── Contact Form Error Banner (add to end of style.css) ─── */
.form-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.87rem;
  color: #EF4444;
  font-weight: 500;
  text-align: center;
}