* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --neo-yellow: #fbff48;
  --neo-pink: #ff70a6;
  --neo-blue: #3b82f6;
  --neo-green: #33ff57;
  --neo-purple: #a855f7;
  --neo-orange: #ff9f1c;
  --neo-white: #fffdf5;
  --neo-black: #121212;
  --card-bg: white;
  --section-bg: var(--neo-white);
  --text-color: var(--neo-black);
  --border-color: black;
  --shadow-color: #000;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #a0a0a0 #e0e0e0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background-color: var(--section-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 253, 245, 0.95);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 3px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: 1.8rem;
  animation: rotate 4s linear infinite;
}

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

.text-blue {
  color: var(--neo-blue);
}
.text-pink {
  color: var(--neo-pink);
}
.text-green {
  color: var(--neo-green);
}
.text-orange {
  color: var(--neo-orange);
}
.text-purple {
  color: var(--neo-purple);
}
.text-yellow {
  color: var(--neo-yellow);
}

.nav-links {
  display: none;
  gap: 1.5rem;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.85rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--neo-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a.active::before {
  width: 80%;
}

.nav-links a:hover {
  background: rgba(59, 130, 246, 0.1);
}

#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(18, 18, 18, 0.98);
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

#mobile-menu.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* Close button inside mobile menu */
.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10002;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:hover,
.mobile-menu-close:active {
  background: var(--neo-pink);
  border-color: var(--neo-pink);
  transform: rotate(90deg);
}

/* Decorative line inside mobile menu */
.mobile-menu-brand {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: 4px;
  opacity: 0.3;
}

#mobile-menu a {
  display: block;
  padding: 1rem 2rem;
  margin-bottom: 0.25rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  transition: all 0.3s ease;
  border-radius: 14px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#mobile-menu a:hover,
#mobile-menu a:active {
  background: var(--neo-blue);
  border-color: var(--neo-blue);
  transform: scale(1.03);
}

/* Staggered entrance for mobile menu links */
#mobile-menu.active a {
  animation: menuItemSlideIn 0.4s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

#mobile-menu.active a:nth-child(1) {
  animation-delay: 0.05s;
}
#mobile-menu.active a:nth-child(2) {
  animation-delay: 0.1s;
}
#mobile-menu.active a:nth-child(3) {
  animation-delay: 0.15s;
}
#mobile-menu.active a:nth-child(4) {
  animation-delay: 0.2s;
}
#mobile-menu.active a:nth-child(5) {
  animation-delay: 0.25s;
}
#mobile-menu.active a:nth-child(6) {
  animation-delay: 0.3s;
}
#mobile-menu.active a:nth-child(7) {
  animation-delay: 0.35s;
}

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

.mobile-menu-btn {
  padding: 0.5rem;
  border: 2px solid var(--border-color);
  background: var(--card-bg);
  box-shadow: 2px 2px 0px 0px var(--shadow-color);
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  border-radius: 6px;
  z-index: 10001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 44px;
  min-height: 44px;
}

.mobile-menu-btn:active {
  transform: translateY(2px);
  box-shadow: none;
}

/* Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--neo-yellow),
    var(--neo-pink),
    var(--neo-blue)
  );
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease;
}

/* Sections */
section {
  padding: 4rem 1.5rem;
  width: 100%;
  position: relative;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* PREMIUM HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--neo-white);
}

/* Mesh gradient background */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb--blue {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.3);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-orb--pink {
  width: 350px;
  height: 350px;
  background: rgba(255, 112, 166, 0.25);
  bottom: -10%;
  left: -5%;
  animation-delay: -4s;
}

.hero-orb--purple {
  width: 300px;
  height: 300px;
  background: rgba(168, 85, 247, 0.2);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -8s;
}

.hero-orb--yellow {
  width: 250px;
  height: 250px;
  background: rgba(251, 255, 72, 0.2);
  top: 10%;
  left: 10%;
  animation-delay: -2s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -25px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(15px, 10px) scale(1.05);
  }
}

/* Grid pattern overlay */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    black,
    transparent
  );
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--neo-yellow);
  padding: 0.6rem 1.5rem;
  border: 3px solid var(--border-color);
  box-shadow: 4px 4px 0px 0px var(--shadow-color);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  border-radius: 50px;
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
}

.hero-badge i {
  font-size: 1.1rem;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--neo-green);
  border-radius: 50%;
  display: inline-block;
  animation: badgePulse 2s ease infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(51, 255, 87, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(51, 255, 87, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.hero-title .gradient-text {
  background: linear-gradient(
    135deg,
    var(--neo-blue) 0%,
    var(--neo-pink) 50%,
    var(--neo-purple) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 5s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 3.5vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 2rem;
  max-width: 650px;
  padding: 0 1rem;
  color: #6b7280;
  position: relative;
  z-index: 2;
  line-height: 1.8;
}

.hero-subtitle .highlight {
  color: var(--text-color);
  font-weight: 700;
  background: linear-gradient(
    120deg,
    rgba(59, 130, 246, 0.12) 0%,
    rgba(255, 112, 166, 0.12) 100%
  );
  padding: 0.1em 0.4em;
  border-radius: 6px;
}

.typing-text {
  display: inline;
  color: var(--neo-blue);
  font-weight: 700;
  border-right: 2px solid var(--neo-blue);
  padding-right: 4px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  100% {
    border-color: var(--neo-blue);
  }
  50% {
    border-color: transparent;
  }
}

/* Social strip */
.hero-social-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.hero-social-strip a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-color);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0px 0px var(--shadow-color);
}

.hero-social-strip a:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0px 0px var(--shadow-color);
}

.hero-social-strip a:nth-child(1):hover {
  background: var(--neo-blue);
  color: white;
  border-color: var(--neo-blue);
}
.hero-social-strip a:nth-child(2):hover {
  background: #0077b5;
  color: white;
  border-color: #0077b5;
}
.hero-social-strip a:nth-child(3):hover {
  background: var(--neo-pink);
  color: white;
  border-color: var(--neo-pink);
}
.hero-social-strip a:nth-child(4):hover {
  background: #1da1f2;
  color: white;
  border-color: #1da1f2;
}

.hero-social-divider {
  width: 60px;
  height: 2px;
  background: var(--border-color);
  opacity: 0.2;
}

/* Code terminal card */
.hero-terminal {
  width: 100%;
  max-width: 480px;
  background: #1e1e2e;
  border: 3px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 8px 8px 0px 0px var(--shadow-color);
  text-align: left;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #181825;
  border-bottom: 2px solid #313244;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot--red {
  background: #f38ba8;
}
.terminal-dot--yellow {
  background: #f9e2af;
}
.terminal-dot--green {
  background: #a6e3a1;
}

.terminal-title {
  flex: 1;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: #6c7086;
  font-weight: 600;
}

.terminal-body {
  padding: 1.25rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  line-height: 1.9;
  color: #cdd6f4;
}

.terminal-line {
  display: block;
  margin-bottom: 0.15rem;
}

.t-keyword {
  color: #cba6f7;
}
.t-string {
  color: #a6e3a1;
}
.t-property {
  color: #89b4fa;
}
.t-bracket {
  color: #f9e2af;
}
.t-comment {
  color: #6c7086;
  font-style: italic;
}
.t-number {
  color: #fab387;
}
.t-operator {
  color: #89dceb;
}
.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #cdd6f4;
  animation: termCursorBlink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}

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

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 600px;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 3px solid var(--border-color);
  font-weight: 900;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  font-family: "JetBrains Mono", monospace;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--neo-blue);
  color: white;
  box-shadow: 6px 6px 0px 0px var(--shadow-color);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0px 0px var(--shadow-color);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-color);
  box-shadow: 6px 6px 0px 0px var(--shadow-color);
}

.btn-secondary:hover {
  background: var(--neo-yellow);
  transform: translateY(-3px);
  box-shadow: 8px 8px 0px 0px var(--shadow-color);
}

.btn-success {
  background: var(--neo-green);
  color: var(--neo-black);
  box-shadow: 6px 6px 0px 0px var(--shadow-color);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0px 0px var(--shadow-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 700px;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  padding: 1.5rem 1rem;
  box-shadow: 5px 5px 0px 0px var(--shadow-color);
  text-align: center;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--neo-blue), var(--neo-pink));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 8px 8px 0px 0px var(--shadow-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--neo-blue), var(--neo-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
}

/* Section Headers */
.section-header {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-header span {
  display: inline-block;
  background: var(--card-bg);
  padding: 1rem 2rem;
  border: 4px solid var(--border-color);
  box-shadow: 8px 8px 0px 0px var(--shadow-color);
  border-radius: 16px;
  position: relative;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 3rem;
  font-weight: 500;
}

/*  ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  padding: 2rem;
  box-shadow: 6px 6px 0px 0px var(--shadow-color);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--neo-yellow),
    var(--neo-pink),
    var(--neo-blue)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 10px 10px 0px 0px var(--shadow-color);
}

.card-header {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-header i {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--neo-blue), var(--neo-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 2px dashed rgba(200, 200, 200, 0.3);
  font-family: "JetBrains Mono", monospace;
  transition: all 0.3s ease;
}

.info-row:hover {
  background: rgba(59, 130, 246, 0.05);
  padding-left: 0.5rem;
  border-radius: 8px;
}

.info-label {
  font-weight: 700;
  color: var(--neo-blue);
}

.info-value {
  text-align: right;
  font-weight: 600;
}

.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(251, 255, 72, 0.2),
    rgba(255, 112, 166, 0.2)
  );
  border: 3px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1.5rem;
}

.highlight-box p {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ENHANCED EDUCATION SECTION */
.education-timeline {
  position: relative;
  padding-left: 2rem;
}

.education-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--neo-blue),
    var(--neo-pink),
    var(--neo-purple)
  );
}

.education-item {
  position: relative;
  margin-bottom: 3rem;
}

.education-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--neo-blue);
  border: 4px solid var(--card-bg);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--border-color);
}

.education-card {
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 6px 6px 0px 0px var(--shadow-color);
  transition: all 0.3s ease;
}

.education-card:hover {
  transform: translateX(10px);
  box-shadow: 10px 10px 0px 0px var(--shadow-color);
}

.degree-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--neo-blue);
  margin-bottom: 0.5rem;
}

.institution {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.date-badge {
  display: inline-block;
  background: var(--neo-yellow);
  padding: 0.5rem 1rem;
  border: 2px solid var(--border-color);
  box-shadow: 2px 2px 0px 0px var(--shadow-color);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

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

.course-tag {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border-color);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.course-tag:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0px 0px var(--shadow-color);
}

/* ENHANCED SKILLS SECTION */
.skills-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.skill-nav-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid var(--border-color);
  color: var(--text-color);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 3px 3px 0px 0px var(--shadow-color);
}

.skill-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0px 0px var(--shadow-color);
}

.skill-nav-btn.active {
  background: var(--neo-blue);
  color: white;
  box-shadow: 5px 5px 0px 0px var(--shadow-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.skill-name {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-percentage {
  font-family: "JetBrains Mono", monospace;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  background: white;
  box-shadow: 2px 2px 0px 0px var(--shadow-color);
}

.progress-bar {
  height: 1.5rem;
  background: rgba(200, 200, 200, 0.2);
  border: 3px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  border-radius: 8px;
  position: relative;
  transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
  overflow: hidden;
}

.progress-fill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.bg-blue {
  background: var(--neo-blue);
}
.bg-pink {
  background: var(--neo-pink);
}
.bg-green {
  background: var(--neo-green);
}
.bg-yellow {
  background: var(--neo-yellow);
}
.bg-orange {
  background: var(--neo-orange);
}
.bg-purple {
  background: var(--neo-purple);
}

.skill-tags-container {
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 6px 6px 0px 0px var(--shadow-color);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.skill-tag {
  padding: 0.75rem 1.25rem;
  border: 3px solid var(--border-color);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-tag:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0px 0px var(--shadow-color);
}

/* PROJECTS SECTION */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card {
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  box-shadow: 6px 6px 0px 0px var(--shadow-color);
  overflow: hidden;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 12px 12px 0px 0px var(--shadow-color);
}

.project-header {
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--neo-blue), var(--neo-purple));
}

.project-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 10s linear infinite;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.project-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  font-weight: 600;
}

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

.project-list {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.project-list li:hover {
  background: rgba(59, 130, 246, 0.05);
  transform: translateX(5px);
}

.project-list i {
  font-size: 1.25rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  color: var(--neo-green);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 2px dashed rgba(200, 200, 200, 0.3);
}

.tech-tag {
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--border-color);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  border-radius: 6px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  transform: scale(1.1);
}

.project-footer {
  display: flex;
  gap: 1rem;
  padding-top: 1.5rem;
}

.project-btn {
  flex: 1;
  padding: 0.75rem;
  font-size: 0.85rem;
  text-align: center;
  border-radius: 8px;
}

/* ENHANCED CERTIFICATIONS */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cert-card {
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 6px 6px 0px 0px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: "✓";
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 8rem;
  color: rgba(51, 255, 87, 0.1);
  font-weight: 900;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0px 0px var(--shadow-color);
}

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

.cert-title {
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--neo-blue);
  flex: 1;
}

.cert-date {
  background: var(--neo-yellow);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid var(--border-color);
  box-shadow: 2px 2px 0px 0px var(--shadow-color);
}

.cert-issuer {
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
  color: var(--neo-pink);
  font-size: 1.1rem;
}

/* ENHANCED TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 6px 6px 0px 0px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 20px;
  font-size: 10rem;
  color: rgba(59, 130, 246, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: 8px 8px 0px 0px var(--shadow-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 3px solid rgba(200, 200, 200, 0.3);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neo-blue), var(--neo-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 3px solid var(--border-color);
}

.author-info h4 {
  font-weight: 900;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.author-info p {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ENHANCED CONTACT SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  padding: 1.5rem;
  border: 3px solid var(--border-color);
  box-shadow: 5px 5px 0px 0px var(--shadow-color);
  display: flex;
  align-items: center;
  color: white;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 7px 7px 0px 0px var(--shadow-color);
}

.contact-card i {
  font-size: 2.5rem;
  margin-right: 1.25rem;
  min-width: 2.5rem;
  text-align: center;
}

.contact-title {
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.contact-info {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  opacity: 0.95;
}

.form-card {
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 6px 6px 0px 0px var(--shadow-color);
}

.form-header {
  background: linear-gradient(135deg, var(--neo-yellow), var(--neo-orange));
  padding: 2rem;
  border-bottom: 3px solid var(--border-color);
}

.form-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--neo-black);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.form-label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  color: var(--neo-blue);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 3px solid var(--border-color);
  background: var(--card-bg);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-color);
  border-radius: 8px;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  background: rgba(251, 255, 72, 0.1);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

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

/* Footer */
footer {
  background: var(--neo-black);
  color: white;
  padding: 3rem 1.5rem;
  border-top: 6px solid var(--neo-green);
  font-family: "JetBrains Mono", monospace;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto 2rem;
}

.footer-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-text {
  color: #9ca3af;
  line-height: 1.8;
  margin-top: 0.5rem;
}

.footer-heading {
  font-weight: 700;
  color: var(--neo-green);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #374151;
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--neo-blue);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 2px solid #374151;
  border-radius: 50%;
  color: #9ca3af;
  font-size: 1.25rem;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--neo-blue);
  color: white;
  transform: translateY(-5px) rotate(360deg);
  border-color: var(--neo-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid #374151;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Scroll Indicator */
.scroll-indicator {
  margin-top: 2rem;
  animation: bounce 2s infinite;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-color);
  background: var(--card-bg);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--border-color);
  box-shadow: 3px 3px 0px 0px var(--shadow-color);
  position: relative;
  z-index: 2;
}

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

/* Utilities */
.hidden {
  display: none !important;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ============================================
    SAAS  V2
   ============================================ */

/* Custom Cursor */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--neo-blue);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transition:
    width 0.3s,
    height 0.3s,
    border-color 0.3s,
    background 0.3s;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  left: -100px;
  top: -100px;
}

.custom-cursor.hover {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--neo-pink);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--neo-blue);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  left: -100px;
  top: -100px;
}

/* Particle Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ─── PREMIUM PAGE LOADER ─── */
.page-loader {
  position: fixed;
  inset: 0;
  background: #0a0a0f;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  overflow: hidden;
}

/* Background animated orbs */
.loader-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loader-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.loader-orb--1 {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.4);
  top: -10%;
  right: -5%;
  animation: loaderOrbFloat 6s ease-in-out infinite;
}

.loader-orb--2 {
  width: 250px;
  height: 250px;
  background: rgba(168, 85, 247, 0.35);
  bottom: -10%;
  left: -5%;
  animation: loaderOrbFloat 8s ease-in-out infinite reverse;
}

.loader-orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(255, 112, 166, 0.3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: loaderOrbPulse 4s ease-in-out infinite;
}

@keyframes loaderOrbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -20px) scale(1.15);
  }
}

@keyframes loaderOrbPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.5;
  }
}

/* Orbiting ring */
.loader-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: loaderRingSpin 6s linear infinite;
}

.loader-ring-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neo-blue);
  box-shadow:
    0 0 12px var(--neo-blue),
    0 0 24px rgba(59, 130, 246, 0.3);
}

.loader-ring-dot:nth-child(1) {
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.loader-ring-dot:nth-child(2) {
  bottom: 20%;
  right: -2px;
  background: var(--neo-pink);
  box-shadow:
    0 0 12px var(--neo-pink),
    0 0 24px rgba(255, 112, 166, 0.3);
  width: 6px;
  height: 6px;
}

.loader-ring-dot:nth-child(3) {
  bottom: 20%;
  left: -2px;
  background: var(--neo-purple);
  box-shadow:
    0 0 12px var(--neo-purple),
    0 0 24px rgba(168, 85, 247, 0.3);
  width: 5px;
  height: 5px;
}

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

/* Logo */
.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.loader-logo-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--neo-blue);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.08);
  animation: loaderIconPulse 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

@keyframes loaderIconPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.3);
  }
}

.loader-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
  letter-spacing: 6px;
  display: flex;
  align-items: center;
}

.loader-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(15px);
  animation: loaderCharReveal 0.5s ease forwards;
  animation-delay: calc(var(--i) * 0.08s + 0.3s);
}

.loader-dot-sep {
  display: inline-block;
  animation: loaderDotPulse 1.5s ease-in-out infinite;
  animation-delay: 1s;
  font-size: 2.2rem;
  margin: 0 2px;
}

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

@keyframes loaderDotPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
}

/* Progress section */
.loader-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.loader-bar {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--neo-blue),
    var(--neo-pink),
    var(--neo-purple)
  );
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
  transition: width 0.1s ease;
}

.loader-percent {
  font-family: "JetBrains Mono", monospace;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
}

.loader-status {
  font-family: "JetBrains Mono", monospace;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  animation: loaderStatusPulse 2s ease-in-out infinite;
}

@keyframes loaderStatusPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

/* ─── MARQUEE / TECH TICKER ─── */
.tech-marquee {
  overflow: hidden;
  padding: 1rem 0;
  border-top: 3px solid var(--border-color);
  border-bottom: 3px solid var(--border-color);
  background: var(--neo-black);
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 2rem;
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.3s;
}

.marquee-item:hover {
  color: var(--neo-blue);
}

.marquee-item i {
  font-size: 1.2rem;
}

.marquee-separator {
  color: var(--neo-pink);
  padding: 0 0.5rem;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ─── DARK MODE TOGGLE ─── */
.dark-mode-toggle {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 997;
  box-shadow: 3px 3px 0px 0px var(--shadow-color);
  font-size: 1.2rem;
  transition: all 0.3s;
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
  box-shadow: 4px 4px 0px 0px var(--shadow-color);
}

/* Dark Mode */
html.dark-mode {
  --card-bg: #1e1e2e;
  --section-bg: #11111b;
  --text-color: #cdd6f4;
  --border-color: #45475a;
  --shadow-color: rgba(0, 0, 0, 0.5);
}

html.dark-mode body {
  background: #11111b;
  color: #cdd6f4;
}

html.dark-mode nav {
  background: rgba(17, 17, 27, 0.92) !important;
  border-bottom-color: #45475a !important;
}

html.dark-mode .hero {
  background: #11111b !important;
}

html.dark-mode .hero-orb {
  opacity: 0.35;
}

html.dark-mode .hero-grid-pattern {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
}

html.dark-mode .hero-social-strip a {
  color: #cdd6f4;
  border-color: #45475a;
}

html.dark-mode .hero-social-divider {
  background: #45475a;
}

html.dark-mode .hero-subtitle .highlight {
  background: linear-gradient(
    120deg,
    rgba(59, 130, 246, 0.2) 0%,
    rgba(255, 112, 166, 0.2) 100%
  );
  color: #cdd6f4;
}

html.dark-mode .hero-badge {
  border-color: #45475a;
}

html.dark-mode .floating-shape {
  border-color: rgba(255, 255, 255, 0.05);
}

html.dark-mode .form-control {
  background: #1e1e2e;
  color: #cdd6f4;
  border-color: #45475a;
}

html.dark-mode .stat-card,
html.dark-mode .education-card,
html.dark-mode .skill-tags-container,
html.dark-mode .card,
html.dark-mode .project-card,
html.dark-mode .cert-card,
html.dark-mode .testimonial-card,
html.dark-mode .form-card {
  background: #1e1e2e;
  border-color: #45475a;
}

html.dark-mode .info-row:hover,
html.dark-mode .project-list li:hover {
  background: rgba(59, 130, 246, 0.08);
}

html.dark-mode .hero-subtitle,
html.dark-mode .stat-label,
html.dark-mode .section-subtitle,
html.dark-mode .author-info p {
  color: #a6adc8;
}

html.dark-mode .mobile-menu-btn {
  background: #1e1e2e;
  border-color: #45475a;
  color: #cdd6f4;
}

html.dark-mode .skill-nav-btn {
  background: #1e1e2e;
  border-color: #45475a;
  color: #cdd6f4;
}

html.dark-mode .skill-nav-btn.active {
  background: var(--neo-blue);
  color: white;
}

html.dark-mode .skill-tag,
html.dark-mode .course-tag,
html.dark-mode .tech-tag {
  border-color: #45475a;
}

html.dark-mode .scroll-indicator {
  background: #1e1e2e;
  border-color: #45475a;
  color: #cdd6f4;
}

html.dark-mode .section-header span {
  background: #1e1e2e;
  border-color: #45475a;
}

html.dark-mode .hero-badge {
  border-color: #45475a;
}

html.dark-mode .skill-percentage {
  background: #1e1e2e;
  border-color: #45475a;
  color: #cdd6f4;
}

html.dark-mode .progress-bar {
  border-color: #45475a;
  background: rgba(69, 71, 90, 0.3);
}

/* ─── EXPERIENCE COUNTER BANNER ─── */
.counter-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 3rem 1.5rem;
  background: var(--neo-black);
  position: relative;
  z-index: 2;
}

.counter-item {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.counter-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.counter-item:nth-child(2n)::after {
  display: none;
}

.counter-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--neo-blue), var(--neo-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.counter-label {
  font-family: "JetBrains Mono", monospace;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.5rem;
}

/* ─── PROJECT HOVER OVERLAY ─── */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.9),
    rgba(168, 85, 247, 0.9)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 5;
  border-radius: 0;
}

.project-header {
  position: relative;
}

.project-header:hover .project-overlay {
  opacity: 1;
}

.project-overlay-icon {
  width: 60px;
  height: 60px;
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: transform 0.3s;
}

.project-overlay-icon:hover {
  transform: scale(1.15);
}

/* ─── AVAILABILITY STATUS ─── */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(51, 255, 87, 0.15);
  border: 2px solid var(--neo-green);
  border-radius: 50px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neo-green);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

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

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(51, 255, 87, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(51, 255, 87, 0);
  }
}

/* Floating shapes */
.floating-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floating-shape {
  position: absolute;
  border: 3px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  animation: floatShape 15s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  width: 60px;
  height: 60px;
  top: 10%;
  left: 5%;
  background: rgba(59, 130, 246, 0.06);
  animation-delay: 0s;
  animation-duration: 12s;
}

.floating-shape:nth-child(2) {
  width: 45px;
  height: 45px;
  top: 60%;
  right: 10%;
  background: rgba(255, 112, 166, 0.06);
  animation-delay: -3s;
  animation-duration: 18s;
  border-radius: 50%;
}

.floating-shape:nth-child(3) {
  width: 70px;
  height: 70px;
  bottom: 20%;
  left: 15%;
  background: rgba(168, 85, 247, 0.06);
  animation-delay: -6s;
  border-radius: 50%;
}

.floating-shape:nth-child(4) {
  width: 40px;
  height: 40px;
  top: 30%;
  right: 20%;
  background: rgba(251, 255, 72, 0.1);
  animation-delay: -2s;
  animation-duration: 20s;
}

.floating-shape:nth-child(5) {
  width: 55px;
  height: 55px;
  bottom: 10%;
  right: 5%;
  background: rgba(51, 255, 87, 0.06);
  animation-delay: -8s;
  animation-duration: 14s;
  border-radius: 50%;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -30px) rotate(90deg);
  }
  50% {
    transform: translate(-15px, 15px) rotate(180deg);
  }
  75% {
    transform: translate(25px, 10px) rotate(270deg);
  }
}

/* Glowing badges */
.hero-badge::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(
    135deg,
    var(--neo-blue),
    var(--neo-pink),
    var(--neo-purple),
    var(--neo-green)
  );
  border-radius: 50px;
  z-index: -1;
  animation: glowRotate 3s linear infinite;
  background-size: 300% 300%;
  opacity: 0.5;
  filter: blur(8px);
}

@keyframes glowRotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 3D tilt */
.card,
.project-card,
.cert-card,
.testimonial-card,
.education-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

section {
  position: relative;
  z-index: 1;
}

/* Enhanced scroll progress */
#scroll-progress {
  height: 3px !important;
  background: linear-gradient(
    90deg,
    #3b82f6 0%,
    #a855f7 25%,
    #ff70a6 50%,
    #fbff48 75%,
    #33ff57 100%
  ) !important;
  box-shadow:
    0 0 10px rgba(59, 130, 246, 0.5),
    0 0 20px rgba(168, 85, 247, 0.3);
}

/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--neo-blue);
  color: white;
  border: 3px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 997;
  box-shadow: 4px 4px 0px 0px var(--shadow-color);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.3s,
    background 0.3s;
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top-btn:hover {
  background: var(--neo-pink);
}

/* Enhanced nav link hover */
.nav-links a {
  position: relative;
  overflow: hidden;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neo-blue), var(--neo-pink));
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(0);
}

/* Enhanced form focus */
.form-control {
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1) !important;
}

.form-control:focus {
  border-color: var(--neo-blue) !important;
  box-shadow:
    0 0 0 4px rgba(59, 130, 246, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-3px) !important;
}

/* Testimonial stars */
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #fbbf24;
  font-size: 1.2rem;
}

/* Project card shimmer */
.project-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 60%
  );
  background-size: 200% 200%;
  animation: projectShimmer 3s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

@keyframes projectShimmer {
  0% {
    background-position: 200% 200%;
  }
  100% {
    background-position: -200% -200%;
  }
}

/* Enhanced footer */
footer {
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neo-green),
    var(--neo-blue),
    var(--neo-pink),
    transparent
  );
  animation: footerGlow 4s linear infinite;
}

@keyframes footerGlow {
  0% {
    transform: translateX(-30%);
  }
  100% {
    transform: translateX(30%);
  }
}

/* Will-change for interactive elements */
.btn,
.contact-card,
.social-link,
.skill-tag {
  will-change: transform;
}

/* ============================================
   ANTIGRAVITY EASTER EGG
   ============================================ */

/* Trigger button */
.antigravity-trigger {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1e1e2e, #313244);
  color: #cdd6f4;
  border: 3px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 998;
  box-shadow: 4px 4px 0px 0px var(--shadow-color);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.antigravity-trigger:hover {
  transform: translateY(-3px) rotate(-15deg);
  box-shadow: 6px 6px 0px 0px var(--shadow-color);
  background: linear-gradient(135deg, var(--neo-blue), var(--neo-purple));
  color: white;
}

.antigravity-trigger:hover .antigravity-tooltip {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.antigravity-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateX(-8px) translateY(-50%);
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  border: 2px solid #45475a;
}

.antigravity-tooltip::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #45475a;
}

/* Overlay */
.antigravity-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 989;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
}

.antigravity-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Controls panel */
.antigravity-controls {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.antigravity-controls.active {
  opacity: 1;
  pointer-events: auto;
}

.antigravity-ctrl-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #1e1e2e;
  color: #cdd6f4;
  border: 3px solid #45475a;
  border-radius: 12px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.antigravity-ctrl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.5);
}

.antigravity-ctrl-btn i {
  font-size: 1.1rem;
}

.antigravity-ctrl-btn.active-zero-g {
  background: var(--neo-purple);
  color: white;
  border-color: var(--neo-purple);
}

.antigravity-ctrl-btn--reset {
  background: var(--neo-pink);
  color: white;
  border-color: var(--neo-pink);
}

.antigravity-ctrl-btn--reset:hover {
  background: #ff4081;
}

/* Physics body elements */
.physics-body {
  position: fixed !important;
  z-index: 990 !important;
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  transition: none !important;
}

.physics-body:active {
  cursor: grabbing;
}

/* Body during antigravity */
body.antigravity-active {
  overflow: hidden !important;
}

/* Antigravity trigger pulses when active */
.antigravity-trigger.active {
  background: linear-gradient(135deg, var(--neo-pink), var(--neo-purple));
  color: white;
  animation: rocketPulse 1.5s ease-in-out infinite;
}

@keyframes rocketPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(168, 85, 247, 0.4),
      4px 4px 0px 0px var(--shadow-color);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(168, 85, 247, 0),
      4px 4px 0px 0px var(--shadow-color);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .antigravity-trigger {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .antigravity-tooltip {
    display: none;
  }

  .antigravity-controls {
    right: 1rem;
    top: auto;
    bottom: 5rem;
    transform: none;
    flex-direction: row;
  }

  .antigravity-ctrl-btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.65rem;
  }
}

/* ============================================
   RESPONSIVE / MOBILE ENHANCEMENTS
   ============================================ */

/* Hide cursor on touch devices */
@media (max-width: 767px) {
  .custom-cursor,
  .cursor-dot {
    display: none !important;
  }
}

/* Touch-friendly targets */
@media (pointer: coarse) {
  .btn,
  .skill-nav-btn,
  .nav-links a,
  .social-link,
  .mobile-menu-btn,
  .contact-card {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Mobile phones */
@media (max-width: 767px) {
  /* Hero */
  .hero {
    padding-top: 90px !important;
    padding-bottom: 2rem !important;
    min-height: auto !important;
  }

  .hero-orb {
    opacity: 0.3 !important;
  }

  .hero-orb--blue {
    width: 200px !important;
    height: 200px !important;
  }
  .hero-orb--pink {
    width: 180px !important;
    height: 180px !important;
  }
  .hero-orb--purple {
    width: 150px !important;
    height: 150px !important;
  }
  .hero-orb--yellow {
    width: 120px !important;
    height: 120px !important;
  }

  .hero-grid-pattern {
    background-size: 40px 40px !important;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem) !important;
  }

  .hero-social-strip {
    gap: 0.65rem;
  }

  .hero-social-strip a {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .hero-terminal {
    max-width: 95% !important;
    margin-left: auto;
    margin-right: auto;
  }

  .terminal-body {
    padding: 1rem !important;
    font-size: 0.7rem !important;
    line-height: 1.7 !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem !important;
    max-width: 100% !important;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.85rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    max-width: 100% !important;
  }

  .stat-card {
    padding: 1rem 0.5rem !important;
  }

  .stat-number {
    font-size: 1.5rem !important;
  }

  .stat-label {
    font-size: 0.65rem !important;
  }

  /* Sections */
  section {
    padding: 3rem 1rem !important;
  }

  .section-header {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }

  .section-header span {
    padding: 0.75rem 1.25rem !important;
    font-size: inherit;
  }

  /* Cards */
  .card,
  .education-card,
  .project-card,
  .cert-card,
  .testimonial-card {
    padding: 1.25rem !important;
    box-shadow: 4px 4px 0px 0px var(--shadow-color) !important;
  }

  .card-header {
    font-size: 1.4rem;
  }

  /* Info rows */
  .info-row {
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
  }

  .info-value {
    text-align: left !important;
  }

  /* Education */
  .education-timeline {
    padding-left: 1.5rem !important;
  }

  .education-item::before {
    left: -2rem !important;
    width: 16px !important;
    height: 16px !important;
  }

  .degree-title {
    font-size: 1.4rem;
  }

  /* Skills */
  .skills-nav {
    gap: 0.5rem !important;
  }

  .skill-nav-btn {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.7rem !important;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-card {
    padding: 1.25rem !important;
  }

  .contact-card i {
    font-size: 2rem !important;
    margin-right: 1rem !important;
  }

  /* Project footer */
  .project-footer {
    flex-direction: column;
    gap: 0.5rem !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .footer-title {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  /* Counter banner */
  .counter-banner {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1rem;
  }

  .counter-value {
    font-size: 1.8rem;
  }

  .counter-label {
    font-size: 0.6rem;
  }

  /* Marquee */
  .marquee-item {
    font-size: 0.75rem;
    padding: 0.4rem 1.25rem;
  }

  /* Availability badge */
  .availability-badge {
    margin-top: 1rem;
    font-size: 0.65rem;
  }

  /* Floating shapes - smaller on mobile */
  .floating-shape {
    opacity: 0.6;
  }

  /* Fixed buttons position */
  .scroll-top-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .dark-mode-toggle {
    bottom: 5rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  /* Scroll indicator */
  .scroll-indicator {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  /* Project overlay - always visible on mobile (no hover) */
  .project-overlay {
    display: none;
  }

  /* Hero badge */
  .hero-badge {
    font-size: 0.75rem !important;
    padding: 0.5rem 1rem !important;
  }

  /* Cert header */
  .cert-header {
    flex-direction: column;
  }

  /* Testimonial */
  .testimonial-card::before {
    font-size: 6rem;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.8rem !important;
  }

  .counter-value {
    font-size: 1.5rem;
  }

  .hero-buttons .btn {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
}

/* Tablet+ counter banner */
@media (min-width: 768px) {
  .counter-banner {
    grid-template-columns: repeat(4, 1fr);
  }

  .counter-item:nth-child(2n)::after {
    display: block;
  }

  .counter-item:last-child::after {
    display: none;
  }
}

@media (min-width: 1024px) {
  .counter-banner {
    max-width: 1280px;
    margin: 0 auto;
  }
}

/* Smooth page feel */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ============================================
   PREMIUM PARTICLE & UI/UX ENHANCEMENTS
   ============================================ */

/* Code Symbols Canvas */
#code-symbols-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Mouse Ripple Container */
.mouse-ripple-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.ripple-ring {
  position: absolute;
  border: 2px solid var(--neo-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0.7;
  animation: rippleExpand 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  pointer-events: none;
}

.ripple-ring:nth-child(odd) {
  border-color: var(--neo-pink);
}

@keyframes rippleExpand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* ─── CARD GLOW ON HOVER ─── */
.card,
.project-card,
.cert-card,
.testimonial-card,
.education-card,
.contact-card,
.form-card {
  position: relative;
  overflow: hidden;
}

/* Animated gradient glow border on hover */
.card::before,
.project-card::before,
.cert-card::before,
.testimonial-card::before,
.education-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    var(--neo-blue),
    var(--neo-pink),
    var(--neo-purple),
    var(--neo-green),
    var(--neo-yellow),
    var(--neo-blue)
  );
  background-size: 400% 400%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: cardBorderGlow 4s linear infinite;
}

.card:hover::before,
.project-card:hover::before,
.cert-card:hover::before,
.testimonial-card:hover::before,
.education-card:hover::before {
  opacity: 1;
}

@keyframes cardBorderGlow {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Diagonal Shine Sweep Effect */
.card::after,
.project-card::after,
.cert-card::after,
.testimonial-card::after,
.education-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 70%
  );
  transform: skewX(-15deg);
  transition: left 0.7s ease;
  z-index: 1;
  pointer-events: none;
}

.card:hover::after,
.project-card:hover::after,
.cert-card:hover::after,
.testimonial-card:hover::after,
.education-card:hover::after {
  left: 130%;
}

/* Card hover lift & glow shadow */
.card:hover,
.project-card:hover,
.cert-card:hover,
.testimonial-card:hover,
.education-card:hover {
  box-shadow:
    8px 8px 0px 0px var(--shadow-color),
    0 0 30px rgba(59, 130, 246, 0.15),
    0 0 60px rgba(168, 85, 247, 0.08) !important;
  transform: translateY(-4px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ─── HERO GRADIENT TEXT SHIMMER ─── */
.hero-title .gradient-text {
  position: relative;
}

.hero-title .gradient-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  animation: textShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes textShimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* ─── ENHANCED FLOATING SHAPES WITH GLOW ─── */
.floating-shape {
  filter: blur(0px);
  transition: filter 0.5s ease;
}

.floating-shape:nth-child(1) {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.floating-shape:nth-child(2) {
  box-shadow: 0 0 20px rgba(255, 112, 166, 0.15);
}

.floating-shape:nth-child(3) {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.floating-shape:nth-child(4) {
  box-shadow: 0 0 15px rgba(251, 255, 72, 0.2);
}

.floating-shape:nth-child(5) {
  box-shadow: 0 0 20px rgba(51, 255, 87, 0.15);
}

/* ─── ENHANCED GLASSMORPHISM ─── */
nav {
  backdrop-filter: blur(24px) saturate(2) !important;
  -webkit-backdrop-filter: blur(24px) saturate(2) !important;
}

.form-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.08);
}

/* ─── SECTION HEADER ANIMATED UNDERLINE ─── */
.section-header span {
  position: relative;
}

.section-header span::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--neo-blue),
    var(--neo-pink),
    var(--neo-purple),
    var(--neo-green)
  );
  background-size: 300% 100%;
  animation: headerUnderline 3s linear infinite;
  border-radius: 2px;
}

@keyframes headerUnderline {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

/* ─── STAT CARD HOVER GLOW ─── */
.stat-card {
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow:
    6px 6px 0px 0px var(--shadow-color),
    0 0 25px rgba(59, 130, 246, 0.2);
}

/* ─── CONTACT CARD HOVER ─── */
.contact-card {
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    6px 6px 0px 0px var(--shadow-color),
    0 0 30px rgba(255, 255, 255, 0.1);
}

/* ─── BTN HOVER ENHANCEMENTS ─── */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  transform: skewX(-15deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn:hover::after {
  left: 130%;
}

/* ─── SKILL TAG INTERACTIVE ─── */
.skill-tag {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-tag:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ─── SOCIAL LINK GLOW ─── */
.hero-social-strip a:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* ─── PARTICLE CANVAS ENHANCED ─── */
#particle-canvas {
  opacity: 0.85;
}

/* ─── DARK MODE PARTICLE ADJUSTMENTS ─── */
.dark-mode #code-symbols-canvas {
  opacity: 0.4;
}

.dark-mode .ripple-ring {
  border-color: var(--neo-purple);
}

.dark-mode .ripple-ring:nth-child(odd) {
  border-color: var(--neo-blue);
}

/* ─── MOBILE: HIDE EXTRA EFFECTS ─── */
@media (max-width: 767px) {
  #code-symbols-canvas {
    display: none !important;
  }

  .mouse-ripple-container {
    display: none !important;
  }

  .card::before,
  .card::after,
  .project-card::before,
  .project-card::after,
  .cert-card::before,
  .cert-card::after,
  .testimonial-card::before,
  .testimonial-card::after,
  .education-card::before,
  .education-card::after {
    display: none !important;
  }

  .hero-title .gradient-text::after {
    display: none;
  }
}

/* ============================================
   PROFILE AVATAR STYLES
   ============================================ */

/* Hero Avatar */
.hero-avatar {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 1.5rem auto;
  z-index: 2;
}

.hero-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--neo-blue),
    var(--neo-pink),
    var(--neo-purple),
    var(--neo-green),
    var(--neo-yellow),
    var(--neo-blue)
  );
  background-size: 400% 400%;
  animation: avatarRingRotate 4s linear infinite;
  z-index: 0;
}

.hero-avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e1e2e, #2d2d44);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow:
    inset 0 0 30px rgba(59, 130, 246, 0.15),
    0 0 40px rgba(168, 85, 247, 0.1);
  overflow: hidden;
}

.hero-avatar-initials {
  font-family: "JetBrains Mono", monospace;
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    var(--neo-blue),
    var(--neo-pink),
    var(--neo-purple)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: avatarTextShift 3s ease-in-out infinite;
  letter-spacing: 4px;
}

.hero-avatar-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 3px solid var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-avatar-status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neo-green);
  animation: avatarStatusPulse 2s ease-in-out infinite;
}

@keyframes avatarRingRotate {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes avatarTextShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes avatarStatusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(51, 255, 87, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(51, 255, 87, 0);
  }
}

/* Hover lift on avatar */
.hero-avatar:hover .hero-avatar-inner {
  transform: scale(1.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-avatar:hover .hero-avatar-ring {
  animation-duration: 2s;
}

/* About Avatar */
.about-avatar-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.about-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e1e2e, #2d2d44);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--neo-blue);
  box-shadow:
    0 0 20px rgba(59, 130, 246, 0.2),
    6px 6px 0px 0px var(--shadow-color);
  transition: all 0.3s ease;
}

.about-avatar:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 0 30px rgba(59, 130, 246, 0.3),
    8px 8px 0px 0px var(--shadow-color);
}

.about-avatar-initials {
  font-family: "JetBrains Mono", monospace;
  font-size: 2rem;
  font-weight: 900;
  color: var(--neo-blue);
  letter-spacing: 3px;
}

/* Mobile avatar adjustments */
@media (max-width: 767px) {
  .hero-avatar {
    width: 120px;
    height: 120px;
    margin: 1rem auto;
  }

  .hero-avatar-initials {
    font-size: 2.8rem;
  }

  .about-avatar {
    width: 80px;
    height: 80px;
  }

  .about-avatar-initials {
    font-size: 1.6rem;
  }
}

/* GPU compositing for animated elements */
.hero-orb,
.floating-shape,
.loader-orb {
  will-change: transform, opacity;
  transform: translateZ(0);
}

.custom-cursor,
.cursor-dot {
  will-change: left, top;
}

#particle-canvas,
#code-symbols-canvas {
  will-change: contents;
  transform: translateZ(0);
}

/* Contain layout for cards to prevent reflow cascading */
.card,
.project-card,
.cert-card,
.testimonial-card,
.education-card,
.contact-card {
  contain: layout style;
}

/* Reduce paint area for scroll progress */
#scroll-progress {
  will-change: width;
  contain: strict;
}

/* Optimize nav transitions */
nav {
  will-change: transform;
}
