/* 
========================================================================
  DESIGN SYSTEM & VARIABLES
========================================================================
*/
:root {
  /* Colors */
  --bg-primary: #0B0B0B;
  --bg-secondary: #111111;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-bg-hover: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.15);
  --green-highlight: #1DB954;
  --green-hover: #1ED760;
  --green-glow: rgba(29, 185, 84, 0.2);
  --green-glow-strong: rgba(29, 185, 84, 0.35);
  
  --text-primary: #FFFFFF;
  --text-secondary: #D8D8D8;
  --text-muted: #B3B3B3;

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --section-padding: 8rem;
  --container-padding: 2rem;

  /* Transitions (250ms - 500ms as requested) */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

/* 
========================================================================
  BASE & UTILITIES
========================================================================
*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  
  /* Very faint grid pattern & subtle green radial glows */
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(29, 185, 84, 0.04) 0%, transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(29, 185, 84, 0.03) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

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

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

ul {
  list-style: none;
}

/* 
========================================================================
  LAYOUT CONTAINERS
========================================================================
*/
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header.centered {
  text-align: center;
}

.section-tagline {
  color: var(--green-highlight);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -1px;
}

/* Lead text style */
.paragraph-lead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* 
========================================================================
  GLASSMORPHISM CORE STYLE
========================================================================
*/
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--border-glass-hover);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 20px 0 rgba(29, 185, 84, 0.05);
}

/* 
========================================================================
  HEADER & NAVIGATION
========================================================================
*/
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

/* When scrolled down */
.main-header.scrolled {
  background: rgba(11, 11, 11, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 70px;
  border-color: rgba(255, 255, 255, 0.05);
}

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

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-hover) 0%, var(--green-highlight) 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
  animation: morphBlob 8s ease-in-out infinite;
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  will-change: border-radius, transform, box-shadow;
}

.logo-badge:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px var(--green-glow-strong);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Beautiful click pulse animation class triggered by JavaScript */
.logo-badge.clicked {
  animation: clickPulse 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes morphBlob {
  0% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  }
  34% {
    border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
  }
  66% {
    border-radius: 50% 50% 30% 70% / 40% 60% 40% 60%;
  }
  100% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  }
}

@keyframes clickPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.7);
  }
  20% {
    transform: scale(0.82) rotate(-15deg);
    box-shadow: 0 0 12px 6px rgba(29, 185, 84, 0.5);
  }
  50% {
    transform: scale(1.18) rotate(10deg);
    box-shadow: 0 0 28px 12px rgba(29, 185, 84, 0.4);
  }
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 0 0 rgba(29, 185, 84, 0);
  }
}

.nav-menu ul {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--green-highlight);
  font-weight: 600;
}

/* Underline grow animation on active/hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--green-highlight);
  transition: var(--transition-fast);
  box-shadow: 0 0 6px var(--green-highlight);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.menu-toggle:hover {
  color: var(--green-highlight);
}

/* Hide Mobile Navigation on Desktop */
.mobile-menu {
  display: none;
}

/* 
========================================================================
  BUTTONS
========================================================================
*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn i {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background-color: var(--green-highlight);
  color: #000000;
  border: 1px solid var(--green-highlight);
}

.btn-primary:hover {
  background-color: var(--green-hover);
  border-color: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--green-glow-strong);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--green-highlight);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 12px rgba(29, 185, 84, 0.15);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

/* 
========================================================================
  HERO SECTION
========================================================================
*/
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-greeting {
  font-family: var(--font-heading);
  color: var(--green-highlight);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.avatar-glass-frame {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 30px;
  padding: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  filter: grayscale(10%) contrast(105%);
  transition: var(--transition-smooth);
}

.avatar-glass-frame:hover {
  border-color: var(--green-highlight);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px var(--green-glow);
  transform: translateY(-4px) rotate(1deg);
}

.avatar-glass-frame:hover .avatar-img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.03);
}

/* Background glowing blur elements */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.bg-glow-1 {
  width: 350px;
  height: 350px;
  background: rgba(29, 185, 84, 0.08);
  top: 15%;
  right: 10%;
}

.bg-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(29, 185, 84, 0.04);
  bottom: 10%;
  left: 5%;
}

/* 
========================================================================
  ABOUT SECTION
========================================================================
*/
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

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

.stat-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-highlight);
  display: block;
  margin-bottom: 0.25rem;
  text-shadow: 0 0 10px rgba(29, 185, 84, 0.15);
}

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

.stat-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-top: 0.4rem;
  opacity: 0.55;
  transition: var(--transition-smooth);
}

/* Special stat card hover overrides */
.special-stat-card {
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.special-stat-card .stat-num {
  transition: var(--transition-smooth);
}

.special-stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(29, 185, 84, 0.45);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.6), 
    0 0 30px rgba(29, 185, 84, 0.15);
}

.special-stat-card:hover .stat-num {
  transform: scale(1.1);
  color: var(--green-hover);
  text-shadow: 0 0 15px rgba(30, 215, 96, 0.4);
}

.special-stat-card:hover .stat-sub {
  opacity: 1;
  color: var(--green-highlight);
  transform: translateY(-2px);
}

/* 
========================================================================
  SKILLS SECTION
========================================================================
*/
.skills-orbit-grid-container {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 4rem;
  align-items: center;
}

.skills-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.orbit-instructions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.instruction-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(29, 185, 84, 0.1);
  border: 1px solid var(--green-highlight);
  color: var(--green-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(29, 185, 84, 0.15);
}

.instruction-step h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.instruction-step p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.orbit-back-btn {
  margin-top: 1rem;
  align-self: flex-start;
  transition: var(--transition-smooth);
}

.orbit-back-btn.hidden {
  display: none !important;
}

.orbit-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1rem;
  transition: opacity 0.3s ease;
}

.orbit-hint.hidden {
  display: none !important;
}

.hint-icon {
  width: 18px;
  height: 18px;
  color: var(--green-highlight);
  animation: hintSpin 8s linear infinite;
}

@keyframes hintSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.skills-orbit-column {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 520px;
  position: relative;
}

/* 3D Orbit Viewport */
.orbit-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* Central Solar Node */
.orbit-center {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-hover) 0%, var(--green-highlight) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 20;
  cursor: pointer;
  box-shadow: 0 0 35px var(--green-glow-strong);
  transition: var(--transition-smooth);
}

.orbit-center:hover {
  transform: scale(1.05);
  box-shadow: 0 0 45px rgba(29, 185, 84, 0.6);
}

.orbit-center.transitioning {
  transform: scale(0.75);
  opacity: 0.3;
  box-shadow: 0 0 15px var(--green-glow-strong);
}

.center-glow {
  position: absolute;
  width: 130%;
  height: 130%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 185, 84, 0.25) 0%, transparent 70%);
  pointer-events: none;
  animation: centerPulse 3s ease-in-out infinite;
}

.center-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  color: #000000;
  text-align: center;
}

.center-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.center-icon,
.orbit-center svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.2px;
}

.center-icon.hidden {
  display: none !important;
}

/* Orbit Path Rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transition: var(--transition-smooth);
  transform-style: preserve-3d;
  transform: rotateX(65deg) rotateY(0deg);
}

#orbit-ring-1 {
  width: 580px;
  height: 250px;
  border: 1.5px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 40px rgba(29, 185, 84, 0.02);
}

#orbit-ring-2 {
  width: 440px;
  height: 180px;
  border: 1.5px dashed rgba(29, 185, 84, 0.12);
  box-shadow: inset 0 0 30px rgba(29, 185, 84, 0.03);
}

.orbit-ring.hidden {
  display: none !important;
}

/* Planets Container */
.orbit-planets-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Planet Nodes */
.orbit-planet {
  position: absolute;
  top: calc(50% - 31px);
  left: calc(50% - 31px);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
  will-change: transform, opacity, filter;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease, filter 0.4s ease, opacity 0.4s ease;
}

.orbit-planet:hover {
  border-color: var(--green-highlight);
  box-shadow: 0 0 20px var(--green-glow);
  background: rgba(29, 185, 84, 0.03);
  z-index: 25 !important;
}

.planet-icon-wrap {
  color: var(--green-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.planet-icon-wrap i,
.planet-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.orbit-planet:hover .planet-icon-wrap {
  transform: scale(1.08);
}

.planet-label {
  position: absolute;
  bottom: -28px;
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  opacity: 0.8;
  transition: var(--transition-fast);
  pointer-events: none;
}

.orbit-planet:hover .planet-label {
  color: var(--text-primary);
  opacity: 1;
}

/* Sub-Skill Planets overrides */
.orbit-planet.sub-skill {
  width: 52px;
  height: 52px;
  top: calc(50% - 26px);
  left: calc(50% - 26px);
  background: rgba(255, 255, 255, 0.015);
}

.orbit-planet.sub-skill .planet-icon-wrap {
  color: var(--text-muted);
}

.orbit-planet.sub-skill .planet-icon-wrap i,
.orbit-planet.sub-skill .planet-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.orbit-planet.sub-skill:hover .planet-icon-wrap {
  color: var(--green-highlight);
}

.orbit-planet.sub-skill .planet-label {
  font-size: 0.7rem;
  font-weight: 500;
}

/* Orbit Center Pulse Keyframe */
@keyframes centerPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.95; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* 
========================================================================
  PROJECTS SECTION
========================================================================
*/
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.project-image-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-bottom: 1px solid var(--border-glass);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.project-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.project-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.project-links {
  display: flex;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.25rem;
}

.project-github-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(29, 185, 84, 0.06);
  border: 1px solid rgba(29, 185, 84, 0.35);
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  transition: var(--transition-smooth);
}

.project-github-link:hover {
  background: var(--green-highlight);
  color: #000000;
  box-shadow: 0 0 15px rgba(29, 185, 84, 0.35);
  border-color: var(--green-highlight);
}

.project-github-link i,
.project-github-link svg {
  width: 16px;
  height: 16px;
}

/* Card hover zoom / lift effects */
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 185, 84, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(29, 185, 84, 0.08);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-card:hover .project-title {
  color: var(--green-highlight);
}

.explore-more-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
  text-align: center;
}

.explore-more-projects p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* 
========================================================================
  EXPERIENCE SECTION (TIMELINE)
========================================================================
*/
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-glass);
}

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

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

.timeline-dot {
  position: absolute;
  left: 21px;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--border-glass);
  z-index: 2;
  transition: var(--transition-smooth);
}

/* timeline-dot glow on card hover */
.timeline-item:hover .timeline-dot {
  border-color: var(--green-highlight);
  background: var(--green-highlight);
  box-shadow: 0 0 12px var(--green-highlight);
}

.timeline-card {
  padding: 2.25rem;
}

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

.role-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.company-name {
  color: var(--green-highlight);
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
  margin-top: 0.25rem;
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border-glass);
  white-space: nowrap;
}

.timeline-details {
  list-style: none;
  padding-left: 0;
}

.timeline-details li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

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

.timeline-details li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green-highlight);
  font-weight: bold;
}

/* 
========================================================================
  EDUCATION & CERTIFICATIONS (ACHIEVEMENTS)
========================================================================
*/
.edu-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.education-card {
  padding: 2.5rem;
  height: calc(100% - 7rem); /* offset matching headers */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.degree-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.edu-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-highlight);
  background: rgba(29, 185, 84, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.institution {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.cgpa {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  display: block;
}

.cgpa strong {
  color: var(--green-highlight);
  font-size: 1.2rem;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.location i {
  width: 14px;
  height: 14px;
  color: var(--green-highlight);
}

.achievements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.achievement-card {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.achievement-icon-wrap {
  background: rgba(29, 185, 84, 0.08);
  border: 1px solid rgba(29, 185, 84, 0.2);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-highlight);
  transition: var(--transition-fast);
}

.achievement-card:hover .achievement-icon-wrap {
  background: var(--green-highlight);
  color: #000000;
  box-shadow: 0 0 12px var(--green-glow-strong);
  transform: rotate(6deg) scale(1.05);
}

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

.achievement-content h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.achievement-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* 
========================================================================
  CONTACT SECTION
========================================================================
*/
.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3.5rem auto;
  line-height: 1.6;
}

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

.contact-form {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  padding: 2.5rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  transition: var(--transition-fast);
}

.textarea-icon {
  top: 1.25rem;
  transform: none;
}

.form-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input:focus {
  outline: none;
  border-color: var(--green-highlight);
  background: rgba(29, 185, 84, 0.03);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--green-highlight);
}

.form-submit-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  min-height: 20px;
}

.form-status.success {
  color: var(--green-highlight);
}

.form-status.error {
  color: #ff5555;
}

.lucide-spin {
  animation: lucide-spin 2s linear infinite;
}

@keyframes lucide-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.social-circles {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

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

.social-icon-wrapper svg {
  width: 20px;
  height: 20px;
  transition: var(--transition-fast);
}

.social-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
}

.social-circle:hover .social-icon-wrapper {
  background: rgba(29, 185, 84, 0.1);
  border-color: var(--green-highlight);
  color: var(--green-highlight);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(29, 185, 84, 0.2);
}

.social-circle:hover .social-label {
  opacity: 1;
  transform: translateY(0);
}

.heart-icon {
  color: #ff4b4b;
  display: inline-block;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}

/* 
========================================================================
  FOOTER
========================================================================
*/
.main-footer {
  background-color: var(--bg-secondary);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  color: var(--green-highlight);
  transform: translateY(-2px);
}

.footer-socials i {
  width: 18px;
  height: 18px;
}

/* 
========================================================================
  BACK TO TOP BUTTON
========================================================================
*/
.back-to-top-btn {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--green-highlight);
  color: #000000;
  border-color: var(--green-highlight);
  box-shadow: 0 8px 20px var(--green-glow-strong);
  transform: translateY(-3px);
}

.back-to-top-btn:active {
  transform: translateY(-1px) scale(0.95);
}

/* 
========================================================================
  MOBILE NAV BACKDROP OVERLAY
========================================================================
*/


/* Body scroll lock when mobile nav is open */
.body-nav-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

/* 
========================================================================
  ACCESSIBILITY — Reduced Motion
========================================================================
*/
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .logo-badge {
    animation: none;
  }
}

/* 
========================================================================
  VINYL MINI PLAYER (Gateway to Album)
========================================================================
*/
.vinyl-mini-player {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.2rem 0.85rem 1rem;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  width: 340px;
  max-width: 100%;
  margin: 2.5rem auto 0;
  cursor: default;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
  transform: translateY(0);
}

.vinyl-mini-player:hover {
  border-color: var(--border-glass-hover);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(29, 185, 84, 0.08);
  transform: translateY(-2px);
}

@keyframes vmp-entrance {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Vinyl Disc */
.vmp-vinyl-wrap {
  flex-shrink: 0;
}

.vmp-vinyl {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  animation: vmp-spin 4s linear infinite;
}

.vmp-vinyl-grooves {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,0,0,0.85) 15%, transparent 15.5%),
    radial-gradient(circle, transparent 28%, rgba(50,50,50,0.5) 28.5%, transparent 29%),
    radial-gradient(circle, transparent 42%, rgba(50,50,50,0.4) 42.5%, transparent 43%),
    radial-gradient(circle, transparent 56%, rgba(50,50,50,0.3) 56.5%, transparent 57%),
    radial-gradient(circle, transparent 70%, rgba(50,50,50,0.4) 70.5%, transparent 71%),
    radial-gradient(circle, #1a1a1a 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.vmp-vinyl-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-highlight), #169c46);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 6px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

@keyframes vmp-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Track Info */
.vmp-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.vmp-now-playing {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-highlight);
  line-height: 1.2;
}

.vmp-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vmp-artist {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.vmp-progress {
  margin-top: 4px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.vmp-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--green-highlight);
  border-radius: 2px;
  animation: vmp-progress-loop 12s linear infinite;
}

@keyframes vmp-progress-loop {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Play Button */
.vmp-play-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-highlight);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding-left: 2px;
}

.vmp-play-btn:hover {
  background: var(--green-hover);
  transform: scale(1.1);
  box-shadow: 0 4px 16px var(--green-glow-strong);
}

.vmp-play-btn:active {
  transform: scale(0.96);
}

.vmp-play-btn:focus-visible {
  outline: 2px solid var(--green-highlight);
  outline-offset: 3px;
}

.vmp-play-btn svg {
  width: 16px;
  height: 16px;
}

/* Fast spin during transition */
.vmp-vinyl.fast-spin {
  animation-duration: 0.3s;
}

/* 
========================================================================
  ALBUM TRANSITION OVERLAYS
========================================================================
*/
.album-transition-overlay,
.album-return-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #1DB954;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.album-transition-overlay.active,
.album-return-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Mini player responsive rules are now in the unified breakpoint system above */
