/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
  /* Core Colors */
  --primary-hue: 190;
  --primary: hsl(var(--primary-hue), 100%, 50%);
  --primary-dark: hsl(190, 80%, 40%);
  --primary-glow: hsla(190, 100%, 50%, 0.4);

  /* Dark Mode (Default) */
  --bg-main: #0B1120;
  --bg-alternate: #0F172A;
  --bg-glass: rgba(15, 23, 42, 0.6);
  --border-glass: rgba(255, 255, 255, 0.1);
  --text-main: #F8FAFC;
  --text-muted: #CBD5E1;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--primary-glow);

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

  /* Spacing & Borders */
  --px: 5vw;
  --py: 6rem;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Override */
body.light-mode {
  --bg-main: #F8FAFC;
  --bg-alternate: #E2E8F0;
  --bg-glass: rgba(255, 255, 255, 0.6);
  --border-glass: rgba(0, 0, 0, 0.1);
  --text-main: #0F172A;
  --text-muted: #334155;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --primary: #0284C7;
  --primary-dark: #0369A1;
  --primary-glow: rgba(2, 132, 199, 0.3);
}

/* Light Mode: Icons & Buttons */
body.light-mode .icon-btn {
  background: rgba(0, 0, 0, 0.07);
}

body.light-mode .service-icon {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.25);
}

body.light-mode .stat-icon {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

body.light-mode .filter-tab:hover {
  background: rgba(0, 0, 0, 0.06);
}

body.light-mode .filter-tabs {
  background: rgba(0, 0, 0, 0.04);
}

body.light-mode .view-btn {
  background: var(--bg-alternate);
}

body.light-mode .link-github {
  background: rgba(0, 0, 0, 0.05);
}

body.light-mode .link-github:hover {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .tech-tag {
  background: rgba(0, 0, 0, 0.04);
}

body.light-mode .project-icon {
  background: linear-gradient(135deg, var(--primary), #0284C7);
}

body.light-mode .btn-primary {
  color: #fff;
}

/* ==========================================================================
   Resets & Basics
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10001;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: var(--on-primary, #020617);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.noscript-banner {
  margin: 0;
  padding: 0.85rem 1.25rem;
  background: var(--bg-alternate);
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

h1,
h2,
h3,
h4,
.logo,
.nav-link {
  font-family: var(--font-heading);
}

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

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  border-radius: var(--radius-lg);
}

/* Scrollbar */
::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Custom Interactive Scrollbar */
.custom-scrollbar-track {
  position: fixed;
  top: 10px;
  right: 6px;
  bottom: 10px;
  width: 6px;
  background: rgba(255, 255, 255, 0.05); /* very subtle track */
  border-radius: 10px;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s ease, background 0.3s ease;
  will-change: opacity;
}

.custom-scrollbar-track:hover,
.custom-scrollbar-track.is-dragging {
  opacity: 1;
  width: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.custom-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px; /* calculated by JS */
  background: var(--border-glass);
  border-radius: 10px;
  cursor: grab;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.custom-scrollbar-track:hover .custom-scrollbar-thumb {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.custom-scrollbar-track.is-dragging .custom-scrollbar-thumb {
  cursor: grabbing;
  background: var(--secondary);
  box-shadow: 0 0 15px var(--secondary);
}

/* Show scrollbar initially or when scrolling using a class */
.custom-scrollbar-track.show {
  opacity: 1;
}

/* ==========================================================================
   Utilities & Layout
   ========================================================================== */
.main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--px);
}

.section {
  padding: var(--py) 0;
  position: relative;
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  contain: layout style;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.active::after {
  opacity: 1;
  transform: scaleX(1);
}

section:last-child::after {
  display: none;
}

@media (max-width: 1024px) {
  .section {
    min-height: 100vh;
    min-height: 100dvh;
    display: block;
  }
}

.bg-alternate {
  background-color: var(--bg-alternate);
  position: relative;
}

.bg-alternate::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--bg-alternate));
  pointer-events: none;
}

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

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

.text-success {
  color: #10B981;
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.lift-on-hover {
  transition: var(--transition);
}

.lift-on-hover:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

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

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.gap-3 {
  gap: 0.75rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

.w-100 {
  width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.relative {
  position: relative;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-bold {
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #020617;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--primary-glow);
  background: var(--primary-dark);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #020617;
}

/* ==========================================================================
   Typography & Sections
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: transform 0.4s ease, background 0.4s ease, padding 0.4s ease;
  padding: 1.25rem 0;
  will-change: transform;
  backface-visibility: hidden;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

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

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

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

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

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

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-main);
  background: var(--border-glass);
  transition: var(--transition);
  font-size: 1.1rem;
}

.icon-btn:hover {
  background: var(--primary);
  color: #020617;
  transform: rotate(15deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
  z-index: 60;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Mobile Sidebar
   ========================================================================== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(70vw, 280px);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-main);
  border-left: 1px solid var(--border-glass);
  z-index: 60;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
}

.sidebar-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.sidebar-menu {
  padding: 2rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-link {
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  padding: 0.5rem;
  border-radius: 8px;
  transition: var(--transition);
}

.sidebar-link:hover {
  color: var(--primary);
  background: var(--border-glass);
  transform: translateX(5px);
}

.sidebar-link i {
  width: 24px;
  text-align: center;
  color: var(--primary);
}

.sidebar-footer {
  padding: 2rem;
  border-top: 1px solid var(--border-glass);
}

.sidebar-socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.sidebar-socials a {
  color: var(--text-muted);
  font-size: 1.5rem;
  transition: var(--transition);
}

.sidebar-socials a:hover {
  color: var(--primary);
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .sidebar-header {
    padding: 1.25rem;
  }

  .sidebar-header h3 {
    font-size: 1.1rem;
  }

  .sidebar-menu {
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .sidebar-link {
    font-size: 1rem;
    padding: 0.4rem;
  }

  .sidebar-footer {
    padding: 1rem 1.25rem;
  }

  .sidebar-socials {
    gap: 1rem;
  }

  .sidebar-socials a {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Hero / Cover Section
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg-elements {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out alternate;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(100px, 50px) scale(1.2);
  }

  100% {
    transform: translate(-50px, 100px) scale(0.9);
  }
}

.blob-1 {
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.blob-2 {
  bottom: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  animation-delay: -5s;
}

@media (max-width: 768px) {
  .gradient-blob {
    filter: blur(40px);
    opacity: 0.3;
    animation: none;
  }
}

.hero-container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.slogan-wrapper {
  margin-bottom: 1.5rem;
  perspective: 1000px;
}

.slogan-container {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slogan-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
  border-color: var(--primary);
  background: var(--bg-alternate);
}

.slogan-icon {
  color: var(--primary);
  font-size: 1rem;
  animation: pulse-glow 2s infinite alternate;
}

.slogan-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.slogan-text span {
  color: var(--text-main);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.slogan-text span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
  box-shadow: 0 0 8px var(--primary);
}

.slogan-container:hover .slogan-text span::after {
  transform: scaleX(1);
  transform-origin: left;
}

.slogan-highlight {
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-20deg);
  animation: shimmer 4s infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0% { filter: drop-shadow(0 0 2px var(--primary-glow)); }
  100% { filter: drop-shadow(0 0 8px var(--primary)); }
}

@keyframes shimmer {
  0% { left: -150%; }
  20%, 100% { left: 200%; }
}

.hero-content .name {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.hero-content .title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-content .title span.typed-text {
  color: var(--primary);
}

.hero-content .title span.cursor {
  animation: blink 1s step-end infinite;
  color: var(--primary);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-content .bio {
  font-size: 1.1rem;
  max-width: 450px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

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

.hero-image-wrapper {
  flex: 1;
  width: 100%;
  min-height: 300px;
  position: relative;
  display: flex;
  justify-content: center;
}

.image-border {
  position: relative;
  width: 100%;
  max-width: 400px;
  min-height: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg-glass);
  padding: 1rem;
  box-shadow: var(--shadow-glow);
}

.image-border::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--border-glass);
  border-top: 3px solid var(--primary);
  border-right: 3px solid var(--primary);
  animation: spin-slow 15s linear infinite;
}

@keyframes spin-slow {
  100% {
    transform: rotate(360deg);
  }
}

.cover-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.floating-badge {
  position: absolute;
  padding: 0.35rem 0.65rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 20;
  white-space: nowrap;
}

.floating-badge i {
  color: var(--text-main);
  font-size: 0.75rem;
  opacity: 0.6;
}

.badge-1 {
  top: 18%;
  left: -35px;
  animation: float-pro 7s ease-in-out infinite alternate;
}

.badge-2 {
  bottom: 18%;
  right: -35px;
  animation: float-pro 9s ease-in-out infinite alternate-reverse;
}

@keyframes float-pro {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes float-y {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-20px);
  }
}

@media (max-width: 900px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 2rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .image-border {
    max-width: 320px;
  }

  .floating-badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.6rem;
  }
  
  .floating-badge i {
    font-size: 0.65rem;
  }

  .badge-1 {
    left: 5px;
    top: 10%;
  }

  .badge-2 {
    right: 5px;
    bottom: 10%;
  }
}

/* ==========================================================================
   About Section & Stats
   ========================================================================== */
/* About Section & Stats */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 3.5rem;
  align-items: stretch;
}

.about-text-container {
  padding: 3rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.about-text-container:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.about-text-container::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -80px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--primary-glow), transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
}

.about-text-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-glow);
  opacity: 0.5;
}

.about-text {
  font-size: 1.1rem;
  text-align: left;
  line-height: 1.9;
  position: relative;
  z-index: 2;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text strong,
.about-text b {
  color: var(--text-main);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 1.75rem;
  background: var(--bg-glass);
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  text-align: left;
}

.stat-icon {
  width: 58px;
  height: 58px;
  background: rgba(2, 132, 199, 0.15);
  color: var(--primary);
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-card h3 {
  font-size: 2.3rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
  line-height: 1;
}

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

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text-container {
    padding: 2rem;
  }
}

/* ==========================================================================
   Education & Experience
   ========================================================================== */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.edu-card {
  padding: 2rem;
}

.edu-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.edu-icon {
  width: 55px;
  height: 55px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.edu-meta {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: block;
}

.edu-details {
  list-style: none;
  color: var(--text-muted);
  padding-left: 0;
}

.edu-details li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.edu-details li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Timeline */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

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

.exp-item {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 2.5rem;
}

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

.exp-marker {
  position: absolute;
  left: 14px;
  top: 1.2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  z-index: 2;
}

.exp-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
}

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

.exp-title-box h3 {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.exp-company {
  font-weight: 500;
  color: var(--text-muted);
}

.exp-date {
  font-size: 0.85rem;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: 600;
  align-self: flex-start;
}

.exp-desc {
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .timeline-line {
    left: 15px;
  }

  .exp-marker {
    left: 9px;
  }

  .exp-item {
    padding-left: 2.5rem;
  }
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.skills-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  flex: 1;
  min-width: 280px;
  transition: var(--transition);
}

.skills-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.skills-card .card-title {
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-glass);
}

.skills-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.skill-item {
  margin-bottom: 0;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
}

.skill-name {
  color: var(--text-main);
  font-weight: 500;
}

.skill-percentage {
  color: var(--primary);
  font-weight: 600;
}

.skill-bar-bg {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

body.light-mode .skill-bar-bg {
  background: rgba(0, 0, 0, 0.06);
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: 4px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.1, 0.5, 0.1, 1);
}

@media (max-width: 600px) {
  .skills-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 780px;
  margin: 0 auto;
}

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

.service-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  width: 60px;
  height: 60px;
  margin-inline: auto;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.service-card p {
  line-height: 1.6;
  font-size: 0.92rem;
}

#services .section-header {
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ==========================================================================
   Projects
   ========================================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.filter-tab {
  padding: 0.6rem 1.75rem;
  border-radius: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.95rem;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  color: #020617;
  border-color: var(--primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.project-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), transparent);
  transition: height 0.4s ease;
}

.project-card:hover::before {
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

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

.project-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: #fff;
}

.link-github i {
  font-size: 1rem;
}

.link-live i {
  font-size: 0.85rem;
  color: var(--primary);
}

.link-live:hover i {
  color: #020617;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
}

.project-desc.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-desc-wrap {
  margin-bottom: 1.25rem;
  flex: 1;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
  font-family: var(--font-body);
  transition: opacity 0.2s ease;
  display: block;
}

.read-more-btn:hover {
  opacity: 0.8;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0;
}

.tech-tag {
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.project-card:hover .tech-tag {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  border: 1px solid var(--border-glass);
}

.link-github {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.link-github:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.link-live {
  color: var(--primary);
  background: rgba(0, 0, 0, 0.2);
}

.link-live:hover {
  background: var(--primary);
  color: #020617;
  border-color: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.project-date-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.project-self {
  border-color: rgba(255, 255, 255, 0.08);
}

.project-self:hover {
  border-color: var(--primary);
}

.self-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.6;
}

.self-link i {
  color: var(--primary);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
  padding: 0.35rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  font-family: var(--font-body);
}

.filter-tab i {
  font-size: 0.85rem;
}

.filter-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.filter-tab.active {
  background: var(--primary);
  color: #020617;
  box-shadow: 0 2px 8px var(--primary-glow);
}

@media (max-width: 600px) {
  .filter-tabs {
    gap: 0.25rem;
    padding: 0.25rem;
    width: 100%;
    border-radius: 12px;
  }

  .filter-tab {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Certificates
   ========================================================================== */
.sort-controls {
  display: flex;
  justify-content: flex-end;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.cert-preview-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg-alternate);
}

.cert-preview-embed {
  position: absolute;
  top: -30px;
  left: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  border: none;
  pointer-events: none;
}

.cert-preview-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bg-alternate), transparent);
  pointer-events: none;
}

.cert-thumb-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.cert-thumb-icon {
  font-size: 3.5rem;
  color: var(--primary);
  opacity: 0.4;
  margin-bottom: 0.75rem;
}

.cert-thumb-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
  max-width: 90%;
}

.cert-thumb-gradient {
  background: linear-gradient(135deg, #0F172A 0%, #1a1f35 50%, #162032 100%);
}

body.light-mode .cert-thumb-gradient {
  background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 50%, #E2E8F0 100%);
}

.cert-thumb-placeholder {
  width: 100%;
  height: 180px;
  background: var(--bg-alternate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.4;
}

.cert-info {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cert-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  font-family: monospace;
  letter-spacing: 0.5px;
}

.cert-card h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text-main);
}

.cert-issuer {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cert-desc-wrap {
  flex: 1;
  margin-bottom: 0.75rem;
}

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

.cert-desc.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  margin-top: auto;
  background: var(--bg-main);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text-main);
}

.view-btn:hover {
  background: var(--primary);
  color: #020617;
  border-color: var(--primary);
}

/* ==========================================================================
   Achievements
   ========================================================================== */
.achievements-card {
  padding: 3rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.blob-accent {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  filter: blur(40px);
  border-radius: 50%;
  opacity: 0.2;
  z-index: 1;
}

.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
  width: 100%;
}

.achievements-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.1rem;
  color: var(--text-main);
  padding: 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
}

.achievements-list li i {
  color: #fbbf24;
  font-size: 1.5rem;
  margin-top: 0.1rem;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.flex-contact {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-form-container {
  padding: 3rem;
  border-radius: var(--radius-xl);
  height: 100%;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.input-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

body.light-mode .input-group input,
body.light-mode .input-group textarea {
  background: rgba(255, 255, 255, 0.7);
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.info-card {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--primary);
  transform: translateX(-5px);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-details {
  flex: 1;
  text-align: left;
}

.info-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.info-value {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
  word-break: break-all;
}

@media (max-width: 900px) {
  .flex-contact {
    grid-template-columns: 1fr;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .input-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   Modals & Extras
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  padding: 4rem 3rem;
  max-width: 500px;
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-glass);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.success-icon-wrap {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: scaleBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleBounce {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Premium Skeleton Loaders */
.skeleton {
  background: linear-gradient(90deg, var(--bg-glass) 0%, rgba(255, 255, 255, 0.08) 50%, var(--bg-glass) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  border-radius: var(--radius-lg);
}

body.light-mode .skeleton {
  background: linear-gradient(90deg, var(--bg-glass) 0%, rgba(0, 0, 0, 0.08) 50%, var(--bg-glass) 100%);
  background-size: 200% 100%;
}

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

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

.skeleton-text {
  height: 1.2rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
}

.skeleton-title {
  height: 2rem;
  width: 60%;
}

.skeleton-badge {
  height: 25px;
  width: 80px;
  border-radius: 20px;
}

.skeleton-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.skeleton-avatar {
  border-radius: 50%;
}

/* Footer */
.footer {
  background: var(--bg-alternate);
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 20px var(--primary-glow);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
}

.footer-logo span {
  color: var(--primary);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  letter-spacing: 0.5px;
}

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

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.footer-socials a:hover {
  color: #020617;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px var(--primary-glow);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.7;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  width: 100%;
  text-align: center;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   Premium Features: Cursor, Particles, Live Status, Smooth Filters
   ========================================================================== */


/* GitHub Live Status Widget */
.github-status-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.github-status-widget:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  color: var(--text-main);
  transform: translateY(-2px);
}

.status-pulse {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

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

/* ==========================================================================
   Custom Context Menu
   ========================================================================== */
.custom-context-menu {
  position: fixed;
  z-index: 100000;
  width: 220px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transform-origin: top left;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  pointer-events: none;
}

.custom-context-menu.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.context-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.context-menu-item {
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.context-menu-item i {
  color: var(--primary);
  font-size: 1rem;
  width: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}

.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

.context-menu-item:hover i {
  transform: scale(1.1);
}