@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway:700,900&display=swap');
@import url('preloader-rounded.css');
/* ========================================
   Global Text Rendering & Anti-Blur
======================================== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Fix for text blur on transformed elements */
.hero-name,
.section-title,
.about-heading,
.hero-title,
.hero-description,
p,
h1, h2, h3, h4, h5, h6 {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: auto;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Enhanced text clarity */
.text-crisp {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga" 1, "kern" 1;
}

/* ========================================
   CSS Variables & Color Scheme
======================================== */
:root {
  /* Neon Colors */
  --neon-blue: #00f5ff;
  --neon-purple: #bf00ff;
  --neon-green: #39ff14;
  --neon-pink: #ff007f;
  --neon-orange: #ff8c00;
  --neon-teal: #00ffaa;
  
  /* Primary Colors */
  --primary: #3b82f6;
  --accent: #00f5ff;
  
  /* Dark Theme */
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #262626;
  --text-primary: #ededed;
  --text-secondary: #a3a3a3;
  --border: #333333;
  
  /* Light Theme - Grey Background */
  --bg-light-primary: #f3f4f6;
  --bg-light-secondary: #e5e7eb;
  --bg-light-tertiary: #d1d5db;
  --text-light-primary: #1f2937;
  --text-light-secondary: #4b5563;
  --border-light: #9ca3af;
  
  /* Typography */
  --font-cyber: 'Orbitron', monospace;
  --font-tech: 'Rajdhani', sans-serif;
  --font-base: 'Inter', sans-serif;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 120px 0;
  --element-spacing: 2rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-glow: 0 0 20px rgba(0, 245, 255, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ========================================
   Global Styles & Reset
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Geometric Wave Animation Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  background: 
    radial-gradient(ellipse at 25% 25%, rgba(255, 107, 53, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 75%, rgba(0, 245, 255, 0.1) 0%, transparent 60%);
  animation: geometricWaves 12s ease-in-out infinite;
  z-index: -3;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    conic-gradient(from 0deg at 30% 40%, transparent 0deg, rgba(255, 139, 0, 0.03) 45deg, transparent 90deg),
    conic-gradient(from 180deg at 70% 60%, transparent 0deg, rgba(0, 245, 255, 0.025) 60deg, transparent 120deg),
    linear-gradient(45deg, transparent 25%, rgba(255, 107, 53, 0.01) 26%, rgba(255, 107, 53, 0.01) 27%, transparent 28%),
    linear-gradient(-45deg, transparent 25%, rgba(0, 245, 255, 0.008) 26%, rgba(0, 245, 255, 0.008) 27%, transparent 28%);
  background-size: 300px 300px, 400px 400px, 60px 60px, 80px 80px;
  animation: geometricFlow 25s linear infinite, waveMotion 8s ease-in-out infinite;
  z-index: -2;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

/* Additional layer for depth */
.geometric-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(0, 245, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 139, 0, 0.02) 0%, transparent 30%);
  animation: pulsingGradients 18s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

@keyframes geometricWaves {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
  20% {
    transform: translate(-40px, 30px) rotate(72deg) scale(1.1);
    opacity: 0.8;
  }
  40% {
    transform: translate(60px, -20px) rotate(144deg) scale(0.9);
    opacity: 1;
  }
  60% {
    transform: translate(-30px, 50px) rotate(216deg) scale(1.05);
    opacity: 0.9;
  }
  80% {
    transform: translate(20px, -40px) rotate(288deg) scale(1.02);
    opacity: 0.85;
  }
}

@keyframes geometricFlow {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  25% {
    background-position: 75px 75px, -100px 100px, 15px 15px, -20px 20px;
  }
  50% {
    background-position: 150px 150px, -200px 200px, 30px 30px, -40px 40px;
  }
  75% {
    background-position: 225px 75px, -300px 100px, 45px 15px, -60px 20px;
  }
  100% {
    background-position: 300px 0, -400px 0, 60px 0, -80px 0;
  }
}

@keyframes waveMotion {
  0%, 100% {
    transform: translateY(0) skewX(0deg);
  }
  25% {
    transform: translateY(-10px) skewX(1deg);
  }
  50% {
    transform: translateY(5px) skewX(-0.5deg);
  }
  75% {
    transform: translateY(-5px) skewX(0.5deg);
  }
}

@keyframes pulsingGradients {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1) rotate(0deg);
  }
  33% {
    opacity: 0.8;
    transform: scale(1.05) rotate(120deg);
  }
  66% {
    opacity: 0.4;
    transform: scale(0.95) rotate(240deg);
  }
}

/* Light Theme */
body.light-theme {
  --bg-primary: var(--bg-light-primary);
  --bg-secondary: var(--bg-light-secondary);
  --bg-tertiary: var(--bg-light-tertiary);
  --text-primary: var(--text-light-primary);
  --text-secondary: var(--text-light-secondary);
  --border: var(--border-light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
}

/* ========================================
   Typography & Text Effects
======================================== */
.holographic {
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--neon-green), var(--neon-pink));
  background-size: 400% 400%;
  animation: holographic-shift 3s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-cyber);
}

.glow-text {
  text-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 15px currentColor,
    0 0 20px currentColor;
}

/* ========================================
   Layout Components
======================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-padding);
  position: relative;
  contain: layout style;
}

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

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-cyber);
  font-weight: 900;
  margin-bottom: 1rem;
}

.section-title .highlight {
  color: var(--neon-blue);
  text-shadow: 0 0 20px var(--neon-blue);
}

body.light-theme .section-title .highlight {
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--font-tech);
}

/* ========================================
   Navigation Styles
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all var(--transition-normal);
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 10, 0.1);
  border-bottom: 1px solid rgba(0, 245, 255, 0.1);
  transform: translateY(0);
  will-change: transform, background-color, box-shadow;
  backface-visibility: hidden;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(0, 245, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 245, 255, 0.15);
  padding: 0.5rem 0;
}

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

/* Navbar glassmorphism effect */
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(0, 245, 255, 0.1) 0%, 
    rgba(191, 0, 255, 0.05) 50%, 
    rgba(0, 245, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.navbar.scrolled::before {
  opacity: 1;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform var(--transition-normal);
  will-change: transform;
  backface-visibility: hidden;
}

.navbar-brand:hover {
  transform: scale(1.02);
}

.brand-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  padding: 2px;
  transition: all var(--transition-normal);
}

.brand-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-primary);
}

.navbar.scrolled .brand-image {
  width: 35px;
  height: 35px;
}

.brand-image:hover {
  box-shadow: var(--shadow-glow);
  transform: rotate(5deg);
}

.logo-text {
  font-family: var(--font-cyber);
  font-size: 1.8rem;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-normal);
}

.navbar.scrolled .logo-text {
  font-size: 1.6rem;
}

.logo-text:hover {
  background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-tech);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.nav-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(0, 245, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-normal);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.nav-link:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link:hover::after {
  width: 120%;
  height: 40px;
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::before {
  width: 100%;
}

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

.theme-toggle {
  background: rgba(0, 245, 255, 0.1);
  border: 2px solid rgba(0, 245, 255, 0.3);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  opacity: 0;
  transition: opacity var(--transition-normal);
  border-radius: 50%;
}

.theme-toggle:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
  transform: scale(1.05);
}

.theme-toggle:hover::before {
  opacity: 0.2;
}

.theme-toggle span {
  position: relative;
  z-index: 1;
  transition: transform var(--transition-normal);
}

.theme-toggle:hover span {
  transform: rotate(180deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  transition: all var(--transition-normal);
  background: rgba(0, 245, 255, 0.05);
  border: 1px solid rgba(0, 245, 255, 0.2);
}

.hamburger:hover {
  background: rgba(0, 245, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.4);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
  min-height: calc(100vh + 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(135deg, rgba(0, 245, 255, 0.08) 0%, rgba(191, 0, 255, 0.08) 50%, rgba(255, 20, 147, 0.08) 100%),
    radial-gradient(ellipse at top left, rgba(0, 245, 255, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse at bottom right, rgba(191, 0, 255, 0.1) 0%, transparent 70%);
  margin-top: -80px;
  padding-top: 80px;
  animation: hero-bg-shift 15s ease-in-out infinite;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0,245,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.15) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: grid-move 25s linear infinite;
  opacity: 0.4;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(191, 0, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 20, 147, 0.1) 0%, transparent 50%);
  animation: ambient-glow 20s ease-in-out infinite;
  z-index: 1;
}

.hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* Enhanced Background Animation Elements */
.hero-bg-animation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.neural-network {
  position: absolute;
  inset: 0;
}

.neural-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--neon-blue);
  animation: neural-pulse 3s ease-in-out infinite;
}

.node-1 { top: 20%; left: 15%; animation-delay: 0s; }
.node-2 { top: 30%; right: 20%; animation-delay: 0.6s; }
.node-3 { bottom: 25%; left: 25%; animation-delay: 1.2s; }
.node-4 { bottom: 35%; right: 15%; animation-delay: 1.8s; }
.node-5 { top: 50%; left: 50%; animation-delay: 2.4s; }

.neural-connection {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  opacity: 0.6;
  animation: neural-flow 4s ease-in-out infinite;
}

.connection-1 {
  top: 22%; left: 16%; width: 200px; transform: rotate(25deg);
  animation-delay: 0.5s;
}
.connection-2 {
  top: 32%; right: 18%; width: 150px; transform: rotate(-45deg);
  animation-delay: 1s;
}
.connection-3 {
  bottom: 27%; left: 26%; width: 180px; transform: rotate(15deg);
  animation-delay: 1.5s;
}
.connection-4 {
  bottom: 37%; right: 16%; width: 160px; transform: rotate(-30deg);
  animation-delay: 2s;
}

.geometric-shapes {
  position: absolute;
  inset: 0;
}

.shape {
  position: absolute;
  opacity: 0.4;
  animation: shape-float 8s ease-in-out infinite;
}

.hexagon {
  width: 30px;
  height: 30px;
  background: var(--neon-purple);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.triangle {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid var(--neon-green);
}

.circle {
  width: 20px;
  height: 20px;
  background: var(--neon-pink);
  border-radius: 50%;
}

.square {
  width: 25px;
  height: 25px;
  background: var(--neon-orange);
  transform: rotate(45deg);
}

.shape-1 { top: 15%; left: 5%; animation-delay: 0s; }
.shape-2 { top: 60%; right: 10%; animation-delay: 2s; }
.shape-3 { bottom: 20%; left: 10%; animation-delay: 4s; }
.shape-4 { top: 40%; right: 5%; animation-delay: 6s; }

.energy-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon-blue);
  border-radius: 50%;
  opacity: 0.8;
  animation: particle-flow 6s linear infinite;
}

.particle-1 { top: 10%; left: 0%; animation-delay: 0s; }
.particle-2 { top: 30%; left: 0%; animation-delay: 1s; }
.particle-3 { top: 50%; left: 0%; animation-delay: 2s; }
.particle-4 { top: 70%; left: 0%; animation-delay: 3s; }
.particle-5 { top: 20%; left: 0%; animation-delay: 4s; }
.particle-6 { top: 80%; left: 0%; animation-delay: 5s; }

/* Hero Content Styling */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 25px;
  font-family: var(--font-tech);
  font-size: 0.9rem;
  color: var(--neon-blue);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fade-in-up 0.8s ease 0.3s forwards;
}

.badge-icon {
  font-size: 1.2rem;
  animation: electric-pulse 2s ease-in-out infinite;
}

.hero-greeting {
  font-size: 1.4rem;
  color: var(--accent);
  font-family: var(--font-tech);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fade-in-up 0.8s ease 0.5s forwards;
}

.hero-name {
  font-size: clamp(3rem, 8vw, 7rem);
  font-family: 'Rock Salt', cursive;
  font-weight: 900;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ff6b35, #f7931e, #ffab00, #ff8f00);
  background-size: 300% 300%;
  animation: dynamicGradient 3s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
  visibility: visible;
  text-shadow: 
    0 0 20px rgba(255, 107, 53, 0.4),
    0 0 40px rgba(255, 139, 0, 0.2);
  line-height: 1.1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

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

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
  .hero-name {
    color: #ff6b35;
    background: none;
    text-shadow: 
      0 0 20px rgba(255, 107, 53, 0.6),
      0 2px 4px rgba(0, 0, 0, 0.3);
  }
}

#typing-text {
  display: inline-block;
  min-height: 1em;
}

.cursor {
  color: var(--neon-blue);
  animation: blink 1s infinite;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-family: var(--font-tech);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: slide-in-left 0.8s ease 1s forwards;
  line-height: 1.3;
}

.highlight-tech {
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.highlight-innovation {
  background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero-university {
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 2rem;
  font-family: var(--font-tech);
  opacity: 0;
  animation: slide-in-right 0.8s ease 1.2s forwards;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.university-icon {
  font-size: 1.5rem;
  animation: bounce-gentle 3s ease-in-out infinite;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  opacity: 0;
  animation: fade-in-up 0.8s ease 1.4s forwards;
}

.highlight-word {
  color: var(--neon-blue);
  font-weight: 600;
  position: relative;
}

.highlight-word::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  animation: highlight-glow 2s ease-in-out infinite;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fade-in-up 0.8s ease 1.5s forwards;
}

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

.stat-number {
  font-size: 2.5rem;
  font-family: var(--font-cyber);
  font-weight: 900;
  color: var(--neon-blue);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: var(--font-tech);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-in-up 0.8s ease 1.7s forwards;
}

/* Enhanced Button Styles */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.btn-glow:hover::before {
  animation: button-shine 0.6s ease-in-out;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--neon-purple);
  color: var(--neon-purple);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
  opacity: 0.1;
  transition: left 0.6s ease;
}

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

.btn-outline:hover {
  color: white;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(191, 0, 255, 0.4);
}

.btn-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-glow:hover .btn-particles {
  opacity: 1;
}

.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-element {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.6;
}

.float-1 {
  top: 20%;
  left: 10%;
  background: var(--neon-green);
  animation: float 6s ease-in-out infinite;
}

.float-2 {
  top: 40%;
  right: 15%;
  background: var(--neon-pink);
  animation: float 6s ease-in-out infinite 1s;
}

.float-3 {
  bottom: 30%;
  left: 20%;
  background: var(--neon-orange);
  animation: float 6s ease-in-out infinite 2s;
}

.float-4 {
  bottom: 20%;
  right: 10%;
  background: var(--neon-purple);
  animation: float 6s ease-in-out infinite 3s;
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-secondary);
  font-family: var(--font-tech);
  font-size: 0.9rem;
  opacity: 0;
  animation: fade-in 1s ease 2.2s forwards;
  z-index: 10;
}

.scroll-text {
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-animation {
  position: relative;
  width: 2px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--neon-blue), transparent);
  opacity: 0.6;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-blue);
  animation: scroll-bounce 2s ease-in-out infinite;
}

/* ========================================
   Mobile Performance & Accessibility
======================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .neural-node,
  .neural-connection,
  .shape,
  .particle,
  .hero-section::before,
  .hero-section::after {
    animation: none !important;
  }
  
  .hero-name {
    animation: none !important;
    background: var(--neon-blue);
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
  }
  
  .btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  
  /* Larger touch targets */
  .btn {
    min-height: 48px;
    padding: 1.2rem 2rem;
  }
  
  .nav-link {
    padding: 1rem;
  }
}

/* ========================================
   Button Styles
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e, #ffab00, #ff8f00);
  background-size: 300% 300%;
  color: #000;
  font-weight: 700;
  border: 2px solid transparent;
  box-shadow: 
    0 4px 15px rgba(255, 107, 53, 0.4),
    0 0 20px rgba(255, 139, 0, 0.2);
  position: relative;
  animation: gradientShift 3s ease-in-out infinite;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #ff6b35, #f7931e, #ffab00, #ff8f00);
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  animation: gradientShift 3s ease-in-out infinite;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
  border-radius: inherit;
  opacity: 0;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(255, 107, 53, 0.6),
    0 0 30px rgba(255, 139, 0, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  color: #000;
}

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

.btn-primary:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}

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

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Special styling for collaboration button */
.btn-collaboration {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.btn-collaboration::before {
  background: linear-gradient(135deg, #ff6b35, #ff8f00, #ffab00, #f7931e) !important;
  background-size: 400% 400% !important;
  animation: gradientShift 2.5s ease-in-out infinite !important;
}

.btn-collaboration:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 
    0 12px 35px rgba(255, 107, 53, 0.8),
    0 0 50px rgba(255, 139, 0, 0.6),
    inset 0 0 30px rgba(255, 255, 255, 0.2) !important;
  animation: buttonPulse 1s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 
      0 12px 35px rgba(255, 107, 53, 0.8),
      0 0 50px rgba(255, 139, 0, 0.6),
      inset 0 0 30px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 
      0 15px 40px rgba(255, 107, 53, 1),
      0 0 60px rgba(255, 139, 0, 0.8),
      inset 0 0 35px rgba(255, 255, 255, 0.3);
  }
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 245, 255, 0.3);
}

.btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
}

.btn-secondary:hover .btn-arrow {
  transform: translateX(5px);
}

/* Modern Magnetic Button - New Design */
.btn-modern {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: #ffffff;
  border: 1px solid rgba(255, 165, 0, 0.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 165, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.btn-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff6b35, #f7931e, #ffab00);
  opacity: 0;
  transform: scale(0.8) rotate(-5deg);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: inherit;
}

.btn-liquid {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-text {
  position: relative;
  z-index: 3;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  position: relative;
  z-index: 3;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0.7;
}

.btn-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffab00;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
}

.sparkle:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: 70%;
  left: 80%;
  animation-delay: 0.2s;
}

.sparkle:nth-child(3) {
  top: 30%;
  right: 20%;
  animation-delay: 0.4s;
}

.sparkle:nth-child(4) {
  bottom: 25%;
  left: 60%;
  animation-delay: 0.6s;
}

/* Hover Effects */
.btn-modern:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(255, 165, 0, 0.8);
  box-shadow: 
    0 20px 40px rgba(255, 107, 53, 0.4),
    0 0 30px rgba(255, 165, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-modern:hover::before {
  opacity: 1;
}

.btn-modern:hover .btn-background {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.btn-modern:hover .btn-liquid {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.2) 0%, rgba(255, 107, 53, 0.1) 50%, transparent 70%);
}

.btn-modern:hover .btn-text {
  color: #1a1a1a;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  transform: translateX(-2px);
}

.btn-modern:hover .btn-arrow {
  opacity: 1;
  color: #1a1a1a;
  transform: translateX(4px) translateY(-2px) rotate(-10deg);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btn-modern:hover .sparkle {
  animation: sparkle-burst 1.2s ease-out infinite;
}

.btn-modern:active {
  transform: translateY(-2px) scale(1.02);
  transition-duration: 0.1s;
}

/* Magnetic Effect */
@media (hover: hover) {
  .btn-magnetic {
    transition: transform 0.2s ease-out;
  }
  
  .btn-magnetic:hover {
    animation: magnetic-pull 2s ease-in-out infinite;
  }
}

/* Keyframe Animations */
@keyframes sparkle-burst {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.5) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: scale(0) rotate(360deg);
  }
}

@keyframes magnetic-pull {
  0%, 100% {
    transform: translateY(-4px) scale(1.05);
  }
  25% {
    transform: translateY(-4px) scale(1.05) rotateZ(1deg);
  }
  50% {
    transform: translateY(-5px) scale(1.06);
  }
  75% {
    transform: translateY(-4px) scale(1.05) rotateZ(-1deg);
  }
}

@keyframes liquid-flow {
  0% {
    border-radius: 50%;
  }
  50% {
    border-radius: 30% 70% 40% 60%;
  }
  100% {
    border-radius: 50%;
  }
}

/* ========================================
   About Section - Minimal & Eye-catching Design
======================================== */
.about-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding: var(--section-padding);
}

/* Minimal Background Animation */
.minimal-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-particles {
  position: absolute;
  inset: 0;
}

.floating-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon-blue);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-minimal 6s ease-in-out infinite;
}

.floating-particles .particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-particles .particle:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-particles .particle:nth-child(3) {
  bottom: 30%;
  left: 80%;
  animation-delay: 4s;
}

/* About Card */
.about-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(0, 245, 255, 0.1);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

/* Profile Side */
.profile-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-wrapper {
  position: relative;
}

.profile-image {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 3px solid rgba(0, 245, 255, 0.3);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profile-image:hover img {
  transform: scale(1.05);
}

.image-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  opacity: 0.3;
  z-index: -1;
  animation: pulse 2s ease-in-out infinite;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid var(--neon-blue);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  font-family: var(--font-tech);
  font-size: 0.9rem;
  color: var(--neon-blue);
}

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

/* Content Side */
.content-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.intro-text {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.name-title {
  font-family: 'Foobar Pro', 'Elianto', 'Audrey', 'Raleway', 'Quantico', 'Zefani', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.role-subtitle {
  font-family: var(--font-tech);
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.university-info {
  font-family: var(--font-base);
  color: var(--neon-blue);
  font-size: 0.95rem;
}

.about-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.highlight-word {
  color: var(--neon-blue);
  font-weight: 600;
}

/* Core Values */
.core-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-orange), var(--neon-gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.value-item:hover {
  background: rgba(255, 107, 53, 0.05);
  border-color: var(--neon-orange);
  transform: translateY(-5px);
}

.value-item:hover::before {
  transform: scaleX(1);
}

.value-icon {
  font-size: 1.5rem;
  margin-top: 0.25rem;
  filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.3));
}

.value-content h4 {
  font-family: var(--font-cyber);
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon-orange);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-content p {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* Expertise Tags */
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 20px;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--neon-blue);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tag:hover {
  background: rgba(0, 245, 255, 0.2);
  border-color: var(--neon-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 245, 255, 0.2);
}

/* About Section - Enhanced Mobile Responsiveness */

/* Base styles remain the same, enhanced mobile below */

/* Tablet and small desktop adjustments */
@media (max-width: 1024px) {
  .about-section {
    padding: 100px 0;
  }
  
  .about-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .profile-image {
    width: 240px;
    height: 240px;
    margin: 0 auto 1.5rem;
  }
  
  .content-side {
    gap: 1.5rem;
  }
}

/* Mobile phones - landscape and portrait */
@media (max-width: 768px) {
  .about-section {
    padding: 80px 0;
  }
  
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }
  
  .about-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
    margin: 0 auto;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 100%;
  }
  
  .profile-side {
    order: 1;
  }
  
  .content-side {
    order: 2;
  }
  
  .profile-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
  }
  
  .content-side {
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }
  
  .intro-text {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
  }
  
  .name-title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    word-break: break-word;
    hyphens: auto;
    text-align: center;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .role-subtitle {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    line-height: 1.4;
    text-align: center;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .university-info {
    font-size: 0.85rem;
    line-height: 1.4;
    word-break: break-word;
    text-align: center;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-description {
    margin: 1.5rem auto;
    padding: 0;
    width: 100%;
    max-width: 95%;
    text-align: center;
  }
  
  .about-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    word-break: break-word;
    hyphens: auto;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .core-values {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 95%;
    width: 100%;
  }
  
  .value-item {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .value-icon {
    font-size: 1.25rem;
  }
  
  .value-content h4 {
    font-size: 0.9rem;
  }
  
  .value-content p {
    font-size: 0.8rem;
  }
  
  .expertise-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto 0;
    max-width: 95%;
    width: 100%;
  }
  
  .tag {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }
}

/* Small mobile phones */
@media (max-width: 480px) {
  .about-section {
    padding: 60px 0;
  }
  
  .container {
    padding: 0 0.75rem;
    max-width: 100%;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .about-card {
    padding: 1.25rem;
    gap: 1.5rem;
    border-radius: 16px;
    max-width: 400px;
    width: calc(100% - 1.5rem);
    margin: 0 auto;
  }
  
  .profile-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 1rem;
  }
  
  .profile-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .badge-icon {
    font-size: 1rem;
  }
  
  .content-side {
    padding: 0 0.25rem;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
  }
  
  .intro-text {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 1rem;
  }
  
  .name-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    word-break: break-word;
    hyphens: auto;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .role-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    line-height: 1.4;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .university-info {
    font-size: 0.8rem;
    line-height: 1.4;
    word-break: break-word;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-description {
    margin: 1rem auto;
    padding: 0;
    max-width: 90%;
    width: 100%;
  }
  
  .about-description p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    word-break: break-word;
    hyphens: auto;
    margin: 0 auto;
  }
  
  .core-values {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 1.5rem auto;
    max-width: 90%;
    width: 100%;
  }
  
  .value-item {
    padding: 0.8rem;
    gap: 0.6rem;
  }
  
  .value-icon {
    font-size: 1.2rem;
  }
  
  .value-content h4 {
    font-size: 0.85rem;
  }
  
  .value-content p {
    font-size: 0.75rem;
    line-height: 1.2;
  }
  
  .expertise-tags {
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  
  .tag {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
    border-radius: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(45% - 0.2rem);
    text-align: center;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .about-section {
    padding: 50px 0;
  }
  
  .container {
    padding: 0 0.5rem;
    max-width: 100%;
  }
  
  .about-card {
    padding: 1rem;
    margin: 0 auto;
    gap: 1rem;
    max-width: 320px;
    width: calc(100% - 1rem);
  }

  .content-side {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
  }
  
  .profile-image {
    width: 140px;
    height: 140px;
  }
  
  .intro-text {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    hyphens: auto;
    padding: 0;
  }
  
  .name-title {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
  
  .role-subtitle {
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
  
  .university-info {
    font-size: 0.75rem;
    line-height: 1.4;
    word-break: break-word;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
  
  .about-description p {
    font-size: 0.85rem;
    line-height: 1.5;
    word-break: break-word;
    hyphens: auto;
    padding: 0 0.25rem;
  }
  
  .core-values {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 1.5rem auto;
    max-width: 90%;
    width: 100%;
  }
  
  .value-item {
    padding: 0.7rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    min-width: auto;
    flex: 1;
    max-width: calc(100% - 0.5rem);
  }
  
  .value-content h4 {
    font-size: 0.8rem;
  }
  
  .stat-label {
    font-size: 0.65rem;
  }
  
  .tag {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(40% - 0.15rem);
    text-align: center;
  }
  
  /* Additional text adjustments for very small screens */
  .intro-text {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .about-description {
    margin: 0.75rem 0;
    padding: 0 0.25rem;
  }
  
  .expertise-tags {
    padding: 0;
    gap: 0.3rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}

/* Ultra tiny screens (320px and below) */
@media (max-width: 320px) {
  .about-card {
    max-width: 300px;
    padding: 0.75rem;
    margin: 0.5rem auto;
  }

  .content-side {
    padding: 0;
    max-width: 95%;
    margin: 0 auto;
  }

  .intro-text {
    font-size: 0.75rem;
    max-width: 95%;
    margin: 0 auto 0.5rem auto;
    line-height: 1.4;
  }

  .name-title {
    font-size: 1.1rem;
    max-width: 95%;
    margin: 0.25rem auto;
    line-height: 1.2;
  }

  .role-subtitle {
    font-size: 0.8rem;
    max-width: 95%;
    margin: 0 auto 0.5rem auto;
  }

  .university-info {
    font-size: 0.7rem;
    max-width: 95%;
    margin: 0 auto 0.75rem auto;
    line-height: 1.3;
  }

  .core-values {
    max-width: 95%;
    margin: 0.75rem auto;
    gap: 0.4rem;
  }

  .value-item {
    max-width: calc(100% - 0.2rem);
    padding: 0.6rem;
    gap: 0.4rem;
  }

  .value-content h4 {
    font-size: 0.75rem;
  }

  .value-content p {
    font-size: 0.65rem;
  }

  .expertise-tags {
    max-width: 95%;
    margin: 0.75rem auto 0 auto;
    gap: 0.25rem;
  }

  .tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    max-width: calc(48% - 0.125rem);
    border-radius: 10px;
  }

  .profile-image {
    width: 120px;
    height: 120px;
  }
}

/* Mobile optimization enhancements */
@media (max-width: 768px) {
  /* Prevent horizontal scrolling */
  .about-section {
    overflow-x: hidden;
  }
  
  /* Reduce particle effects on mobile for better performance */
  .floating-particles .particle {
    width: 3px;
    height: 3px;
    opacity: 0.3;
  }
  
  .floating-particles .particle:nth-child(2) {
    display: none;
  }
  
  /* Better touch targets */
  .tag {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(50% - 0.25rem);
    text-align: center;
  }
  
  .stat-item {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  /* Constrain content width */
  .about-description p {
    max-width: 100%;
    word-wrap: break-word;
  }
}

@media (max-width: 480px) {
  /* Hide particles on very small screens */
  .floating-particles {
    display: none;
  }
  
  /* Improve text readability */
  .intro-text {
    padding-bottom: 1rem;
  }
  
  
  /* Better spacing for mobile */
  .content-side {
    gap: 1rem;
  }
}

/* ========================================
   About Section - Light Theme Support
======================================== */
body.light-theme .about-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 60px rgba(0, 245, 255, 0.1);
}

body.light-theme .floating-particles .particle {
  background: var(--primary);
  opacity: 0.4;
}

body.light-theme .profile-image {
  border: 3px solid rgba(59, 130, 246, 0.3);
}

body.light-theme .image-glow {
  background: linear-gradient(45deg, var(--primary), var(--neon-purple));
  opacity: 0.2;
}

body.light-theme .profile-badge {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
}

body.light-theme .name-title {
  background: linear-gradient(45deg, var(--primary), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-theme .university-info {
  color: var(--primary);
}

body.light-theme .highlight-word {
  color: var(--primary);
}

body.light-theme .stat-item {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .stat-item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
}

body.light-theme .stat-number {
  color: var(--primary);
}

body.light-theme .tag {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--primary);
}

body.light-theme .tag:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

body.light-theme .intro-text {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Light Theme Hero Section Styles */
body.light-theme .hero-section {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 50%, #d1d5db 100%);
}

body.light-theme .hero-section::before {
  background: radial-gradient(circle at 20% 50%, rgba(75, 85, 99, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(107, 114, 128, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(156, 163, 175, 0.05) 0%, transparent 50%);
}

body.light-theme .hero-section::after {
  background: linear-gradient(45deg, rgba(75, 85, 99, 0.03) 0%, rgba(107, 114, 128, 0.03) 100%);
}

/* Light theme background animations - make them visible */
body.light-theme .neural-node {
  background: #374151;
  box-shadow: 0 0 15px rgba(55, 65, 81, 0.4), 0 0 30px rgba(55, 65, 81, 0.2);
  border: 1px solid #6b7280;
}

body.light-theme .neural-connection {
  background: linear-gradient(90deg, transparent, rgba(55, 65, 81, 0.6), transparent);
  opacity: 0.7;
}

body.light-theme .hexagon {
  background: #6b7280;
  box-shadow: 0 0 10px rgba(107, 114, 128, 0.3);
}

body.light-theme .triangle {
  border-bottom-color: #9ca3af;
  filter: drop-shadow(0 0 8px rgba(156, 163, 175, 0.4));
}

body.light-theme .circle {
  background: #4b5563;
  box-shadow: 0 0 10px rgba(75, 85, 99, 0.3);
}

body.light-theme .hero-name {
  background: linear-gradient(135deg, #dc2626, #ea580c, #d97706, #ca8a04);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 
    0 0 20px rgba(220, 38, 38, 0.2),
    0 0 40px rgba(202, 138, 4, 0.1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

body.light-theme .hero-greeting {
  color: #4b5563;
}

body.light-theme .hero-title {
  color: #374151;
}

body.light-theme .hero-university {
  color: #6b7280;
}

body.light-theme .hero-description {
  color: #6b7280;
}

body.light-theme .hero-optimistic {
  color: #4b5563 !important;
}

body.light-theme .university-icon {
  filter: brightness(0.8);
}

/* Light theme button adjustments */
body.light-theme .btn-modern {
  background: linear-gradient(135deg, #dc2626, #ea580c);
  border: 2px solid #dc2626;
  color: white;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

body.light-theme .btn-modern:hover {
  background: linear-gradient(135deg, #b91c1c, #c2410c);
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(185, 28, 28, 0.9);
  box-shadow: 
    0 20px 40px rgba(220, 38, 38, 0.5),
    0 0 30px rgba(185, 28, 28, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.light-theme .btn-modern:hover::before {
  opacity: 1;
}

body.light-theme .btn-modern:hover .btn-background {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  background: radial-gradient(circle at center, rgba(185, 28, 28, 0.3) 0%, rgba(194, 65, 12, 0.2) 50%, transparent 70%);
}

body.light-theme .btn-modern:hover .btn-liquid {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.2) 0%, rgba(194, 65, 12, 0.1) 50%, transparent 70%);
}

body.light-theme .btn-modern:hover .btn-text {
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  transform: translateX(-2px);
}

body.light-theme .btn-modern:hover .btn-arrow {
  opacity: 1;
  color: white;
  transform: translateX(4px) translateY(-2px) rotate(-10deg);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

body.light-theme .btn-modern:hover .sparkle {
  animation: sparkle-burst 1.2s ease-out infinite;
}

body.light-theme .btn-modern:active {
  transform: translateY(-2px) scale(1.02);
  transition-duration: 0.1s;
}

body.light-theme .btn-modern .btn-text {
  color: white;
}

/* Light Theme for Timeline Section */
body.light-theme .timeline-content {
  background: white;
  border: 1px solid #e1e5e9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

body.light-theme .timeline-content:hover {
  border-color: #0066cc;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

body.light-theme .timeline-content h3 {
  color: #1f2937;
}

body.light-theme .timeline-content p {
  color: #4b5563;
}

body.light-theme .timeline-dot {
  background: white;
  border: 3px solid #0066cc;
}

body.light-theme .timeline-line {
  background: #d1d5db;
}

/* Light Theme for Skills Section */
body.light-theme .skill-card {
  background: white;
  border: 1px solid #e1e5e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-theme .skill-card:hover {
  border-color: #0066cc;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

body.light-theme .skill-card h3 {
  color: #1f2937;
}

/* Light Theme for Projects Section */
body.light-theme .project-card {
  background: white;
  border: 1px solid #e1e5e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-theme .project-card:hover {
  border-color: #0066cc;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

body.light-theme .project-card h3 {
  color: #1f2937;
}

body.light-theme .project-card p {
  color: #4b5563;
}

body.light-theme .project-tech {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

/* Light Theme for Education Section */
body.light-theme .education-card {
  background: white;
  border: 1px solid #e1e5e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-theme .education-card:hover {
  border-color: #0066cc;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

body.light-theme .education-card h3 {
  color: #1f2937;
}

body.light-theme .education-card p {
  color: #4b5563;
}

/* Light Theme for Contact Section */
body.light-theme .contact-form {
  background: white;
  border: 1px solid #e1e5e9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  color: #1f2937;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
  border-color: #0066cc;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

body.light-theme .form-group label {
  color: #374151;
}

body.light-theme .contact-info-item {
  background: white;
  border: 1px solid #e1e5e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-theme .contact-info-item:hover {
  border-color: #0066cc;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.12);
}

body.light-theme .contact-info-item h4 {
  color: #1f2937;
}

body.light-theme .contact-info-item p {
  color: #4b5563;
}

/* Light Theme for Certificate Section */
body.light-theme .certificate-card {
  background: white;
  border: 1px solid #e1e5e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-theme .certificate-card:hover {
  border-color: #0066cc;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

body.light-theme .certificate-card h3 {
  color: #1f2937;
}

body.light-theme .certificate-card p {
  color: #4b5563;
}

/* Light Theme for Navigation */
body.light-theme .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
}

body.light-theme .navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 102, 204, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

body.light-theme .nav-link {
  color: #1f2937;
}

body.light-theme .nav-link:hover {
  color: #0066cc;
}

body.light-theme .nav-link.active {
  color: #0066cc;
}

body.light-theme .brand-text {
  color: #1f2937;
}

/* Light Theme for Footer */
body.light-theme footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

body.light-theme .footer-content p {
  color: #6b7280;
}

body.light-theme .social-links a {
  color: #4b5563;
  border: 1px solid #d1d5db;
}

body.light-theme .social-links a:hover {
  color: #0066cc;
  border-color: #0066cc;
  background: #f3f4f6;
}

/* Light Theme for Theme Toggle */
body.light-theme .theme-toggle {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #374151;
}

body.light-theme .theme-toggle:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

body.light-theme .theme-toggle span {
  color: #1f2937;
}

/* Modern Colorful Cursor Effects */
body {
  cursor: none; /* Hide default cursor for both themes */
}

/* Special class to restore cursor when needed */
.show-cursor,
.show-cursor * {
  cursor: auto !important;
}

/* Restore cursor for specific verification elements */
.verification-modal,
.verification-modal *,
.verify-online-btn,
.verify-online-btn *,
button[onclick*="window.open"],
button[onclick*="window.open"] *,
a[target="_blank"],
a[target="_blank"] * {
  cursor: pointer !important;
}

/* Restore cursor for form elements */
input, textarea, select, button {
  cursor: auto !important;
}

input[type="text"], 
input[type="email"], 
textarea {
  cursor: text !important;
}

button, 
input[type="submit"], 
input[type="button"],
.btn {
  cursor: pointer !important;
}

/* Dark Mode Cursor - Only Effects, No Main Circle */
.modern-cursor.dark-mode {
  position: fixed;
  width: 0px;
  height: 0px;
  border: none;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: transparent;
  transform: translate(-50%, -50%);
  /* Hide the main cursor circle completely in dark mode */
}

.modern-cursor.dark-mode.active {
  width: 0px;
  height: 0px;
  border: none;
  background: transparent;
  /* Keep it hidden even when active */
}

/* Dark Mode Trail Effects */
.cursor-trail.dark-trail {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: trailPulse 0.8s ease-out;
}

@keyframes trailPulse {
  0% { 
    opacity: 0.9; 
    transform: translate(-50%, -50%) scale(1.2) rotate(0deg); 
  }
  100% { 
    opacity: 0; 
    transform: translate(-50%, -50%) scale(0.1) rotate(180deg); 
  }
}

/* Dark Mode Sparkles */
.cursor-sparkle {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: sparkleFloat 1s ease-out;
}

@keyframes sparkleFloat {
  0% { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1) rotate(0deg); 
  }
  50% { 
    opacity: 0.7; 
    transform: translate(-50%, -50%) scale(1.5) rotate(90deg); 
  }
  100% { 
    opacity: 0; 
    transform: translate(-50%, -50%) scale(0) rotate(180deg); 
  }
}

/* Light Mode Cursor - Only Effects, No Circle */
.modern-cursor.light-mode {
  position: fixed;
  width: 0px;
  height: 0px;
  border: none;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: transparent;
  transform: translate(-50%, -50%);
  /* Hide the main cursor circle completely in light mode */
}

.modern-cursor.light-mode.active {
  width: 0px;
  height: 0px;
  border: none;
  background: transparent;
  /* Keep it hidden even when active */
}

/* Light Mode Trail - Colorful and Elegant */
.cursor-trail.light-trail {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, #667eea, #764ba2);
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: lightTrailFloat 0.6s ease-out;
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.6), 
              0 0 30px rgba(118, 75, 162, 0.4);
}

@keyframes lightTrailFloat {
  0% { 
    opacity: 0.8; 
    transform: translate(-50%, -50%) scale(1.3) rotate(0deg); 
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.8); 
  }
  50% { 
    opacity: 0.6; 
    transform: translate(-50%, -50%) scale(1.1) rotate(90deg); 
    box-shadow: 0 0 25px rgba(118, 75, 162, 0.6); 
  }
  100% { 
    opacity: 0; 
    transform: translate(-50%, -50%) scale(0.2) rotate(180deg); 
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.2); 
  }
}

/* Light Mode Sparkles */
.cursor-sparkle.light-sparkle {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: lightSparkle 0.8s ease-out;
}

@keyframes lightSparkle {
  0% { 
    opacity: 0.9; 
    transform: translate(-50%, -50%) scale(1.2) rotate(0deg); 
  }
  50% { 
    opacity: 0.6; 
    transform: translate(-50%, -50%) scale(1.4) rotate(45deg); 
  }
  100% { 
    opacity: 0; 
    transform: translate(-50%, -50%) scale(0) rotate(90deg); 
  }
}

.about-section {
  background: linear-gradient(135deg, 
    rgba(10, 10, 10, 0.95) 0%, 
    rgba(0, 20, 40, 0.95) 50%, 
    rgba(10, 10, 10, 0.95) 100%);
  position: relative;
  overflow: hidden;
  padding: var(--section-padding);
}

/* Electrical Background Animations */
.electrical-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.circuit-board {
  position: absolute;
  inset: 0;
}

.circuit-line {
  position: absolute;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--neon-blue) 20%, 
    var(--neon-cyan) 50%, 
    var(--neon-blue) 80%, 
    transparent 100%);
  animation: electrical-flow 3s ease-in-out infinite;
}

.circuit-line.horizontal {
  height: 2px;
  width: 300px;
}

.circuit-line.vertical {
  width: 2px;
  height: 200px;
}

.line-1 { top: 20%; left: 10%; animation-delay: 0s; }
.line-2 { bottom: 30%; right: 15%; animation-delay: 1s; }
.line-3 { top: 40%; left: 5%; animation-delay: 0.5s; }
.line-4 { bottom: 20%; right: 8%; animation-delay: 1.5s; }

.circuit-node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: 
    0 0 15px var(--neon-blue),
    0 0 30px var(--neon-blue),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
  animation: electrical-pulse 2s ease-in-out infinite;
}

.node-1 { top: 15%; left: 12%; animation-delay: 0s; }
.node-2 { top: 60%; right: 20%; animation-delay: 0.4s; }
.node-3 { bottom: 25%; left: 8%; animation-delay: 0.8s; }
.node-4 { bottom: 45%; right: 12%; animation-delay: 1.2s; }
.node-5 { top: 35%; left: 50%; animation-delay: 1.6s; }

.electrical-sparks {
  position: absolute;
  inset: 0;
}

.spark {
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--neon-yellow), 
    var(--neon-white), 
    var(--neon-yellow), 
    transparent);
  opacity: 0;
  animation: spark-flash 4s ease-in-out infinite;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--neon-yellow);
}

.spark-1 { top: 25%; left: 20%; transform: rotate(45deg); animation-delay: 0s; }
.spark-2 { top: 70%; right: 25%; transform: rotate(-30deg); animation-delay: 1s; }
.spark-3 { bottom: 40%; left: 15%; transform: rotate(60deg); animation-delay: 2s; }
.spark-4 { top: 50%; right: 10%; transform: rotate(-45deg); animation-delay: 3s; }
.spark-5 { bottom: 60%; right: 40%; transform: rotate(15deg); animation-delay: 1.5s; }

.voltage-waves {
  position: absolute;
  inset: 0;
}

.voltage-wave {
  position: absolute;
  width: 200px;
  height: 100px;
  opacity: 0.6;
}

.wave-1 { top: 30%; left: 30%; }
.wave-2 { bottom: 40%; right: 30%; }

.wave-path {
  fill: none;
  stroke: var(--neon-cyan);
  stroke-width: 2;
  stroke-dasharray: 5,5;
  animation: voltage-flow 2s linear infinite;
}

.energy-orbs {
  position: absolute;
  inset: 0;
}

.energy-orb {
  position: absolute;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.8;
  animation: orb-float 6s ease-in-out infinite;
}

.orb-1 { top: 10%; left: 60%; animation-delay: 0s; }
.orb-2 { bottom: 20%; left: 40%; animation-delay: 2s; }
.orb-3 { top: 80%; right: 60%; animation-delay: 4s; }

/* Enhanced Section Header */
.title-container {
  text-align: center;
  position: relative;
  z-index: 10;
}

.electrical-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.title-main {
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-cyan), var(--neon-blue));
  background-size: 200% 200%;
  animation: electrical-glow 3s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-spark {
  font-size: 3rem;
  color: var(--neon-yellow);
  animation: spark-rotate 2s ease-in-out infinite;
  text-shadow: 0 0 20px var(--neon-yellow);
}

.title-underline {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  animation: underline-glow 2s ease-in-out infinite;
}

.highlight-eee {
  color: var(--neon-cyan);
  font-weight: 700;
  text-shadow: 0 0 10px var(--neon-cyan);
}

/* Content Layout */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 10;
}

/* Enhanced Profile Section */
.about-image-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.profile-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.electrical-frame {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  pointer-events: none;
  z-index: 5;
}

.frame-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid var(--neon-blue);
  box-shadow: 0 0 15px var(--neon-blue);
}

.corner-1 { top: 0; left: 0; border-right: none; border-bottom: none; }
.corner-2 { top: 0; right: 0; border-left: none; border-bottom: none; }
.corner-3 { bottom: 0; left: 0; border-right: none; border-top: none; }
.corner-4 { bottom: 0; right: 0; border-left: none; border-top: none; }

.electrical-glow {
  position: absolute;
  inset: -5px;
  background: linear-gradient(45deg, 
    rgba(0, 245, 255, 0.1), 
    rgba(0, 245, 255, 0.3), 
    rgba(0, 245, 255, 0.1));
  border-radius: 50%;
  animation: electrical-glow-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

.profile-circle {
  width: 280px;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.profile-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  animation: ring-rotate 10s linear infinite;
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-color: var(--neon-blue);
  animation-duration: 8s;
  box-shadow: 0 0 20px var(--neon-blue);
}

.ring-2 {
  width: 110%;
  height: 110%;
  border-color: var(--neon-cyan);
  animation-duration: 12s;
  animation-direction: reverse;
  opacity: 0.7;
}

.ring-3 {
  width: 120%;
  height: 120%;
  border-color: var(--neon-purple);
  animation-duration: 15s;
  opacity: 0.5;
  border-style: dashed;
}

.profile-inner {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--bg-primary), var(--bg-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 3px solid var(--neon-blue);
  box-shadow: 
    inset 0 0 30px rgba(0, 245, 255, 0.2),
    0 0 40px rgba(0, 245, 255, 0.3);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.profile-circle:hover .profile-photo {
  transform: scale(1.1);
  filter: brightness(1.2) contrast(1.1);
}

.electrical-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--neon-yellow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-yellow);
  animation: particle-orbit 4s linear infinite;
}

.p-1 { animation-delay: 0s; }
.p-2 { animation-delay: 0.7s; }
.p-3 { animation-delay: 1.4s; }
.p-4 { animation-delay: 2.1s; }
.p-5 { animation-delay: 2.8s; }
.p-6 { animation-delay: 3.5s; }

.voltage-indicator {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--neon-green);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.voltage-display {
  text-align: center;
  margin-bottom: 0.5rem;
}

.voltage-value {
  font-size: 1.5rem;
  font-family: var(--font-cyber);
  color: var(--neon-green);
  font-weight: 900;
}

.voltage-label {
  display: block;
  font-size: 0.8rem;
  color: var(--neon-green);
  font-family: var(--font-tech);
  letter-spacing: 2px;
}

.voltage-meter {
  width: 100px;
  height: 6px;
  background: rgba(0, 255, 0, 0.2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.meter-fill {
  width: 85%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-yellow));
  border-radius: 3px;
  animation: voltage-pulse 2s ease-in-out infinite;
}

/* Text Section Styling */
.about-text-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Section Dividers for Organization */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.divider-icon {
  font-size: 1.5rem;
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
  flex-shrink: 0;
}

.divider-text {
  font-family: var(--font-tech);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
  border-radius: 1px;
  position: relative;
}

.divider-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
  border-radius: 1px;
  animation: divider-glow 3s ease-in-out infinite;
}

/* Organized Content Sections */
.biography-section,
.statistics-section,
.expertise-section {
  background: rgba(255, 255, 255, 0.01);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(0, 245, 255, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.biography-section:hover,
.statistics-section:hover,
.expertise-section:hover {
  background: rgba(0, 245, 255, 0.02);
  border-color: rgba(0, 245, 255, 0.2);
  transform: translateY(-2px);
}

.biography-section::before,
.statistics-section::before,
.expertise-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-blue));
  border-radius: 0 2px 2px 0;
}

.engineer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(45deg, rgba(0, 245, 255, 0.1), rgba(0, 200, 255, 0.1));
  border: 2px solid var(--neon-cyan);
  border-radius: 25px;
  font-family: var(--font-tech);
  color: var(--neon-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  width: fit-content;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
  animation: badge-glow 3s ease-in-out infinite;
}

.badge-icon {
  font-size: 1.2rem;
  animation: icon-spin 4s linear infinite;
}

.about-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.electric-text {
  background: linear-gradient(45deg, var(--neon-yellow), var(--neon-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-cyber);
  font-weight: 900;
  display: block;
  text-shadow: 0 0 20px rgba(255, 223, 0, 0.5);
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.paragraph-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--neon-blue);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.paragraph-block:hover {
  background: rgba(0, 245, 255, 0.05);
  border-left-color: var(--neon-cyan);
  transform: translateX(10px);
  will-change: transform;
  backface-visibility: hidden;
}

.paragraph-icon {
  font-size: 1.5rem;
  color: var(--neon-blue);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.paragraph-block p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.highlight-university,
.highlight-school {
  color: var(--neon-cyan);
  font-weight: 600;
}

.highlight-tech {
  color: var(--neon-yellow);
  font-weight: 600;
  text-shadow: 0 0 5px rgba(255, 223, 0, 0.3);
}

/* Engineering Stats Grid */
.engineering-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: linear-gradient(135deg, 
    rgba(0, 245, 255, 0.05) 0%, 
    rgba(0, 200, 255, 0.05) 100%);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

.stat-icon {
  font-size: 2rem;
  color: var(--neon-blue);
}

.stat-content {
  flex: 1;
}

.stat-card .stat-number {
  font-size: 1.8rem;
  font-family: var(--font-cyber);
  font-weight: 900;
  color: var(--neon-cyan);
  display: block;
  margin-bottom: 0.3rem;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: var(--font-tech);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.stat-spark {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.stat-card:hover .stat-spark {
  transform: translateX(100%);
}

/* Specializations Section */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(191, 0, 255, 0.05);
  border: 1px solid rgba(191, 0, 255, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.spec-item:hover {
  background: rgba(191, 0, 255, 0.1);
  border-color: var(--neon-purple);
  transform: scale(1.05);
}

.spec-pulse {
  width: 12px;
  height: 12px;
  background: var(--neon-purple);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-purple);
  animation: spec-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.spec-item span {
  font-family: var(--font-tech);
  color: var(--text-primary);
  font-weight: 500;
}

/* Ripple Effects */
.cursor-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.4), transparent);
  pointer-events: none;
  z-index: 10;
}

.click-wave {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--neon-blue);
  pointer-events: none;
  z-index: 10;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform var(--transition-normal);
}

.profile-photo:hover {
  transform: scale(1.05);
}

.profile-initials {
  font-size: 4rem;
  font-family: var(--font-cyber);
  font-weight: 900;
  color: var(--accent);
  text-shadow: var(--shadow-glow);
}

.profile-decorations {
  position: absolute;
  inset: 0;
}

.decoration {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}

.decoration-1 {
  top: -15px;
  right: -15px;
  background: var(--neon-green);
  animation-delay: 0s;
}

.decoration-2 {
  bottom: -15px;
  left: -15px;
  background: var(--neon-pink);
  animation-delay: 2s;
}

.about-text h3 {
  font-size: 2rem;
  font-family: var(--font-tech);
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-item {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(0, 245, 255, 0.1));
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-item h4 {
  font-size: 2rem;
  font-family: var(--font-cyber);
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  font-family: var(--font-tech);
}

/* ========================================
   Education Section (Timeline)
======================================== */
.education-section {
  background: var(--bg-primary);
}

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

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--neon-blue), var(--neon-purple), var(--neon-green));
  border-radius: 2px;
  overflow: hidden;
}

.timeline-line::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    transparent 0%,
    rgba(0, 255, 255, 0.8) 50%,
    transparent 100%
  );
  animation: timeline-flow 4s ease-in-out infinite;
}

.timeline-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    var(--neon-blue) 0%,
    var(--neon-purple) 50%,
    var(--neon-green) 100%
  );
  opacity: 0.3;
  animation: timeline-pulse 3s ease-in-out infinite alternate;
}

/* --- Card slide-in with bounce for timeline cards --- */
/* --- Dramatic card slide-in from far sides with bounce --- */
.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0;
  transform: translateX(120vw) scale(0.96);
  transition: all 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  animation: timeline-slide-bounce-right 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2s forwards;
}

@keyframes timeline-slide-bounce-right {
  0% {
    opacity: 0;
    transform: translateX(120vw) scale(0.96);
  }
  70% {
    opacity: 1;
    transform: translateX(0) scale(1.04);
  }
  85% {
    transform: translateX(-18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  transform: translateX(-120vw) scale(0.96);
  animation: timeline-slide-bounce-left 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2.2s forwards;
}

@keyframes timeline-slide-bounce-left {
  0% {
    opacity: 0;
    transform: translateX(-120vw) scale(0.96);
  }
  70% {
    opacity: 1;
    transform: translateX(0) scale(1.04);
  }
  85% {
    transform: translateX(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Animated state: slide in from side and bounce */
.timeline-item.animate {
  opacity: 1;
  transform: translateX(0) scale(1);
  will-change: auto;
  animation: none;
}

/* Enhanced animation with glow effect when animated */
.timeline-item.animate .timeline-content {
  box-shadow: 
    0 8px 32px rgba(64, 224, 208, 0.15),
    0 0 0 1px rgba(64, 224, 208, 0.08);
}

.timeline-item.animate .timeline-dot {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 
    0 0 20px rgba(64, 224, 208, 0.6),
    0 0 40px rgba(64, 224, 208, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Hover effects for timeline cards */
.timeline-item:hover .timeline-content {
  transform: scale(1.02);
  box-shadow: 
    0 8px 32px rgba(64, 224, 208, 0.2),
    0 0 0 1px rgba(64, 224, 208, 0.1);
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: right;
}

/* Staggered animation delays for sequential reveal */
.timeline-item:nth-child(1) {
  transition-delay: 0.1s;
}

.timeline-item:nth-child(2) {
  transition-delay: 0.2s;
}

.timeline-item:nth-child(3) {
  transition-delay: 0.3s;
}

.timeline-item:nth-child(4) {
  transition-delay: 0.4s;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  z-index: 10;
  box-shadow: 
    var(--shadow-glow),
    0 0 20px var(--neon-blue);
  animation: timeline-dot-pulse 2s ease-in-out infinite;
  transition: all 0.8s ease;
}

.timeline-dot::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  opacity: 0;
  animation: timeline-dot-ring 3s ease-in-out infinite;
  z-index: -1;
}

.timeline-item:nth-child(1) .timeline-dot {
  animation-delay: 0s;
}

.timeline-item:nth-child(2) .timeline-dot {
  animation-delay: 0.5s;
}

.timeline-item:nth-child(3) .timeline-dot {
  animation-delay: 1s;
}

.timeline-content {
  width: 45%;
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition-normal), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--accent);
}

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

.timeline-content h3 {
  font-family: var(--font-tech);
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 700;
}

.timeline-date {
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: var(--font-cyber);
  font-weight: 600;
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.timeline-location {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-bar {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  margin-top: 1rem;
}

.blue-gradient { background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple)); }
.purple-gradient { background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink)); }
.green-gradient { background: linear-gradient(90deg, var(--neon-pink), var(--neon-green)); }
.orange-gradient { background: linear-gradient(90deg, var(--neon-green), var(--neon-orange)); }
.pink-gradient { background: linear-gradient(90deg, var(--neon-orange), var(--neon-pink)); }
.teal-gradient { background: linear-gradient(90deg, var(--neon-blue), var(--neon-teal)); }

/* ========================================
   Certificates Section
======================================== */
.certificates-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.certificates-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.certificates-section .container {
  position: relative;
  z-index: 1;
}

.certificates-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 1s ease-out 0.3s forwards;
}

.certificate-card {
  background: var(--bg-secondary);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(30px) rotateX(10deg);
  animation: certificateReveal 0.8s ease-out forwards;
  animation-delay: calc(var(--cert-index, 0) * 0.2s);
}

.certificate-card:nth-child(1) { --cert-index: 1; }
.certificate-card:nth-child(2) { --cert-index: 2; }
.certificate-card:nth-child(3) { --cert-index: 3; }

.certificate-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(59, 130, 246, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.certificate-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(255, 215, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.certificate-card:hover::before {
  opacity: 1;
}

.certificate-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.certificate-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: brightness(0.9) contrast(1.1);
}

.certificate-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(0, 0, 0, 0.4) 50%, 
    transparent 100%);
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.certificate-card:hover .certificate-overlay {
  opacity: 1;
}

.certificate-card:hover .certificate-image {
  transform: scale(1.1);
  filter: brightness(0.7) contrast(1.2);
}

.certificate-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, 
    rgba(255, 215, 0, 0.3) 0%, 
    rgba(59, 130, 246, 0.2) 50%, 
    transparent 100%);
  opacity: 0;
  animation: certificateGlow 2s ease-in-out infinite;
}

.certificate-card:hover .certificate-glow {
  opacity: 1;
  animation: certificateGlow 1s ease-in-out infinite;
}

.verify-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(20px) scale(0.8);
  opacity: 0;
  animation: verifyBtnReveal 0.5s ease-out 0.2s forwards;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.certificate-card:hover .verify-btn {
  transform: translateY(0) scale(1);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(59, 130, 246, 0.6);
}

.verify-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.verify-btn:hover::before {
  opacity: 1;
}

.verify-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(59, 130, 246, 0.8);
}

.verify-btn:active {
  transform: translateY(0) scale(0.98);
}

.verify-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.verify-btn:hover svg {
  transform: rotate(360deg);
}

.certificate-info {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.certificate-info h3 {
  font-family: var(--font-tech);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.certificate-issuer {
  font-family: var(--font-cyber);
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.certificate-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.certificate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 25px;
  color: var(--accent);
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.certificate-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
  border-color: var(--accent);
}

.badge-icon {
  font-size: 1.1rem;
  filter: grayscale(0);
}

/* Certificate Animation Keyframes */
@keyframes certificateReveal {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes verifyBtnReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes certificateGlow {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes certificatePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
  }
}

/* Responsive adjustments for certificates */
@media (max-width: 768px) {
  .certificates-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .certificate-image-container {
    height: 200px;
  }
  
  .certificate-info {
    padding: 1.5rem;
  }
  
  .certificate-info h3 {
    font-size: 1.2rem;
  }
  
  .verify-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .certificates-showcase {
    gap: 1.5rem;
  }
  
  .certificate-card {
    border-radius: 16px;
  }
  
  .certificate-image-container {
    height: 180px;
  }
  
  .certificate-info {
    padding: 1.2rem;
  }
  
  .certificate-info h3 {
    font-size: 1.1rem;
  }
  
  .certificate-description {
    font-size: 0.9rem;
  }
  
  .verify-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    gap: 0.6rem;
  }
  
  .verify-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ========================================
   Skills Section
======================================== */
.skills-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.skills-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  animation: float 15s ease-in-out infinite;
  z-index: 0;
}

.skills-section .container {
  position: relative;
  z-index: 1;
}

.skills-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 1s ease-out 0.3s forwards;
}

.skill-card {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: skillCardReveal 0.8s ease-out forwards;
  animation-delay: calc(var(--skill-index, 0) * 0.1s);
  will-change: transform, box-shadow, border-color;
  backface-visibility: hidden;
}

.skill-card:nth-child(1) { --skill-index: 1; }
.skill-card:nth-child(2) { --skill-index: 2; }
.skill-card:nth-child(3) { --skill-index: 3; }
.skill-card:nth-child(4) { --skill-index: 4; }
.skill-card:nth-child(5) { --skill-index: 5; }
.skill-card:nth-child(6) { --skill-index: 6; }
.skill-card:nth-child(7) { --skill-index: 7; }
.skill-card:nth-child(8) { --skill-index: 8; }
.skill-card:nth-child(9) { --skill-index: 9; }
.skill-card:nth-child(10) { --skill-index: 10; }
.skill-card:nth-child(11) { --skill-index: 11; }
.skill-card:nth-child(12) { --skill-index: 12; }
.skill-card:nth-child(13) { --skill-index: 13; }
.skill-card:nth-child(14) { --skill-index: 14; }
.skill-card:nth-child(15) { --skill-index: 15; }

.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.skill-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.skill-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.skill-icon img {
  width: 60px;
  height: 60px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  will-change: transform, filter;
  backface-visibility: hidden;
}

.skill-card h3 {
  font-family: var(--font-tech);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
  font-weight: 600;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.skill-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
  border-radius: 22px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  animation: skillGlow 3s ease-in-out infinite;
}

.skill-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(59, 130, 246, 0.3);
  border-color: var(--accent);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card:hover::after {
  transform: rotate(45deg) translateX(100%);
}

.skill-card:hover .skill-icon img {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3)) 
          drop-shadow(0 0 20px var(--accent));
}

.skill-card:hover h3 {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.skill-card:hover .skill-glow {
  opacity: 0.6;
}

/* Category filters */
.skills-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 1s ease-out 0.8s forwards;
}

.category-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: var(--font-tech);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
}

.category-filter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--neon-pink));
  border-radius: 25px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.category-filter:hover,
.category-filter.active {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
  border-color: var(--accent);
  color: var(--text-primary);
}

.category-filter.active::before,
.category-filter:hover::before {
  opacity: 0.1;
  transform: scale(1);
}

.filter-icon {
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
}

.category-filter span:last-child {
  position: relative;
  z-index: 2;
}

/* Skill animations */
@keyframes skillCardReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .skills-showcase {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }
  
  .skill-card {
    padding: 1.5rem 1rem;
  }
  
  .skill-icon {
    width: 70px;
    height: 70px;
  }
  
  .skill-icon img {
    width: 50px;
    height: 50px;
  }
  
  .skill-card h3 {
    font-size: 1rem;
  }
  
  .skills-categories {
    gap: 0.8rem;
  }
  
  .category-filter {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .skills-showcase {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
  }
  
  .skill-card {
    padding: 1.2rem 0.8rem;
  }
  
  .skill-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .skill-icon img {
    width: 40px;
    height: 40px;
  }
  
  .skill-card h3 {
    font-size: 0.9rem;
  }
  
  .category-filter {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .filter-icon {
    font-size: 1rem;
  }
}

/* ========================================
   Projects Section
======================================== */
.projects-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.projects-section .container {
  position: relative;
  z-index: 1;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 1s ease-out 0.3s forwards;
}

.project-card {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) rotateX(15deg);
  animation: cardReveal 0.8s ease-out forwards;
  animation-delay: calc(var(--card-index, 0) * 0.15s);
}

.project-card:nth-child(1) { --card-index: 1; }
.project-card:nth-child(2) { --card-index: 2; }
.project-card:nth-child(3) { --card-index: 3; }
.project-card:nth-child(4) { --card-index: 4; }
.project-card:nth-child(5) { --card-index: 5; }
.project-card:nth-child(6) { --card-index: 6; }

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.08), rgba(191, 0, 255, 0.08));
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: 20px;
}

.project-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.project-card:hover {
  transform: translateY(-15px) rotateY(5deg) rotateX(-2deg);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover::after {
  transform: rotate(45deg) translateX(100%);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.project-category {
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-family: var(--font-cyber);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-category::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.6s ease;
}

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

.project-bar {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  animation: expandBar 1s ease-out 0.5s forwards;
  transform: scaleX(0);
}

.project-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

.project-card h3 {
  font-family: var(--font-tech);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  transform: translateY(10px);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.project-card:hover h3 {
  color: var(--neon-pink);
  text-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

.project-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  transition: color 0.3s ease;
}

.project-card:hover p {
  color: var(--text-primary);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.project-tech span {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 18px;
  font-size: 0.8rem;
  font-family: var(--font-tech);
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.project-tech span::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.1;
  transition: left 0.5s ease;
}

.project-card:hover .project-tech span {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
  border-color: var(--accent);
}

.project-card:hover .project-tech span::before {
  left: 100%;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.project-link {
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--font-tech);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  padding: 0.5rem 0;
}

.project-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
  transition: width 0.3s ease;
}

.project-link:hover {
  color: var(--neon-pink);
  transform: translateX(8px);
}

.project-link:hover::after {
  width: 100%;
}

.project-dots {
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: pulse 2s infinite, float 4s ease-in-out infinite;
  position: relative;
}

.dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.3;
  animation: ripple 2s infinite;
}

.dot:nth-child(1) { 
  background: var(--neon-green); 
  animation-delay: 0s, 0s; 
}
.dot:nth-child(2) { 
  background: var(--neon-blue); 
  animation-delay: 0.3s, 0.5s; 
}
.dot:nth-child(3) { 
  background: var(--neon-purple); 
  animation-delay: 0.6s, 1s; 
}

.projects-cta {
  text-align: center;
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transform: translateY(50px);
  opacity: 0;
  animation: slideInUp 1s ease-out 1s forwards;
}

.projects-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  border-radius: 20px;
}

.projects-cta h3 {
  font-family: var(--font-tech);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.projects-cta p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  line-height: 1.7;
}

/* Project Animation Keyframes */
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(15deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes expandBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(1deg);
  }
  50% {
    transform: translateY(-5px) rotate(-1deg);
  }
  75% {
    transform: translateY(-15px) rotate(0.5deg);
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Projects Showcase Section */
.projects-showcase {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 1s ease-out 0.5s forwards;
}

.showcase-card {
  background: var(--bg-secondary);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.showcase-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.showcase-card:hover::before {
  opacity: 1;
}

.showcase-icon {
  margin: 0 auto 2rem;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.icon-animation {
  animation: float 6s ease-in-out infinite;
  position: relative;
}

.icon-animation svg {
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}

.icon-animation::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.showcase-card h3 {
  font-family: var(--font-tech);
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--accent), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase-card p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 2;
}

.showcase-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  justify-content: center;
}

.feature:hover {
  transform: translateY(-3px);
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.feature-icon {
  font-size: 1.5rem;
  filter: grayscale(0);
}

.feature span:last-child {
  font-family: var(--font-tech);
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

.showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}

.showcase-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: subtract;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: subtract;
}

.btn-glow {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.showcase-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 15px 35px rgba(59, 130, 246, 0.4),
    0 0 30px rgba(139, 92, 246, 0.3);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.showcase-btn:hover .btn-glow {
  opacity: 1;
}

.showcase-btn svg {
  transition: transform 0.3s ease;
}

.showcase-btn:hover svg {
  transform: translate(3px, -3px);
}

/* Responsive adjustments for showcase */
@media (max-width: 768px) {
  .showcase-card {
    padding: 2rem;
  }
  
  .showcase-card h3 {
    font-size: 1.8rem;
  }
  
  .showcase-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature {
    justify-content: flex-start;
  }
  
  .showcase-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .showcase-card {
    padding: 1.5rem;
  }
  
  .showcase-card h3 {
    font-size: 1.5rem;
  }
  
  .showcase-card p {
    font-size: 1rem;
  }
  
  .showcase-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-intro h3 {
  font-family: var(--font-tech);
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.contact-intro p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-methods {
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  transform: scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 5px 20px rgba(0, 245, 255, 0.2);
}

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

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

.contact-details h4 {
  font-family: var(--font-tech);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.contact-details p {
  color: var(--text-secondary);
  margin: 0;
}

.social-links h4 {
  font-family: var(--font-tech);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--accent), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 320px;
}

.social-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  background: var(--bg-secondary);
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  animation: socialIconReveal 0.6s ease-out forwards;
  animation-delay: calc(var(--icon-index, 0) * 0.1s);
}

.social-icon:nth-child(1) { --icon-index: 1; }
.social-icon:nth-child(2) { --icon-index: 2; }
.social-icon:nth-child(3) { --icon-index: 3; }
.social-icon:nth-child(4) { --icon-index: 4; }
.social-icon:nth-child(5) { --icon-index: 5; }
.social-icon:nth-child(6) { --icon-index: 6; }
.social-icon:nth-child(7) { --icon-index: 7; }
.social-icon:nth-child(8) { --icon-index: 8; }

.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: subtract;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: subtract;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 28px;
  height: 28px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

/* Platform-specific colors and hover effects */
.social-icon.linkedin svg { color: #0077b5; }
.social-icon.linkedin:hover { 
  transform: translateY(-8px) scale(1.15);
  box-shadow: 0 15px 35px rgba(0, 119, 181, 0.4);
}
.social-icon.linkedin:hover svg {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(0, 119, 181, 0.8));
}

.social-icon.github svg { color: #333333; }
.social-icon.github:hover { 
  transform: translateY(-8px) scale(1.15);
  box-shadow: 0 15px 35px rgba(51, 51, 51, 0.4);
}
.social-icon.github:hover svg {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(51, 51, 51, 0.8));
}

.social-icon.twitter svg { color: #000000; }
.social-icon.twitter:hover { 
  transform: translateY(-8px) scale(1.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.social-icon.twitter:hover svg {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}

.social-icon.facebook svg { color: #1877f2; }
.social-icon.facebook:hover { 
  transform: translateY(-8px) scale(1.15);
  box-shadow: 0 15px 35px rgba(24, 119, 242, 0.4);
}
.social-icon.facebook:hover svg {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(24, 119, 242, 0.8));
}

.social-icon.instagram svg { 
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.social-icon.instagram:hover { 
  transform: translateY(-8px) scale(1.15);
  box-shadow: 0 15px 35px rgba(240, 148, 51, 0.4);
}
.social-icon.instagram:hover svg {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(240, 148, 51, 0.8));
}

.social-icon.youtube svg { color: #ff0000; }
.social-icon.youtube:hover { 
  transform: translateY(-8px) scale(1.15);
  box-shadow: 0 15px 35px rgba(255, 0, 0, 0.4);
}
.social-icon.youtube:hover svg {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.8));
}

.social-icon.discord svg { color: #5865f2; }
.social-icon.discord:hover { 
  transform: translateY(-8px) scale(1.15);
  box-shadow: 0 15px 35px rgba(88, 101, 242, 0.4);
}
.social-icon.discord:hover svg {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.8));
}

.social-icon.email svg { color: var(--accent); }
.social-icon.email:hover { 
  transform: translateY(-8px) scale(1.15);
  box-shadow: 0 15px 35px rgba(0, 245, 255, 0.4);
}
.social-icon.email:hover svg {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.8));
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Enhanced hover effect for icons */
.social-icon:hover {
  background: linear-gradient(135deg, var(--neon-orange), var(--neon-gold));
  color: #000;
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  font-weight: bold;
}

.social-icon:hover svg {
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
  transform: scale(1.1);
  font-weight: 900;
}

/* Pulse animation for social icons */
.social-icon {
  animation: socialIconReveal 0.6s ease-out forwards, socialPulse 3s ease-in-out infinite;
  animation-delay: calc(var(--icon-index, 0) * 0.1s), calc(var(--icon-index, 0) * 0.2s + 2s);
}

/* Social Icons Animation Keyframes */
@keyframes socialIconReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes socialPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
}

@keyframes tooltipShow {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive adjustments for social icons */
@media (max-width: 768px) {
  .social-icons {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    max-width: 280px;
  }
  
  .social-icon {
    width: 50px;
    height: 50px;
  }
  
  .social-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .social-icons {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    max-width: 240px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
  }
  
  .social-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* Contact Form */
.contact-form-container {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: var(--font-tech);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

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

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

.form-group label {
  display: block;
  font-family: var(--font-tech);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(42, 42, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-base);
  transition: all var(--transition-normal);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  background: linear-gradient(135deg, #ff8f00, #ff6b35, #f7931e, #ffab00) !important;
  background-size: 400% 400% !important;
  animation: gradientShift 2s ease-in-out infinite !important;
}

.form-submit:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 
    0 10px 30px rgba(255, 107, 53, 0.7),
    0 0 40px rgba(255, 139, 0, 0.5),
    inset 0 0 25px rgba(255, 255, 255, 0.15) !important;
}

.form-submit:hover::after {
  opacity: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.4));
}

/* ========================================
   Footer
======================================== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

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

.footer-header h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-header p {
  color: var(--text-secondary);
  font-family: var(--font-tech);
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-tech);
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 1s ease-out 0.5s forwards;
}

.footer-social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  animation: footerSocialReveal 0.6s ease-out forwards;
  animation-delay: calc(var(--footer-icon-index, 0) * 0.1s + 0.3s);
}

.footer-social-link:nth-child(1) { --footer-icon-index: 1; }
.footer-social-link:nth-child(2) { --footer-icon-index: 2; }
.footer-social-link:nth-child(3) { --footer-icon-index: 3; }
.footer-social-link:nth-child(4) { --footer-icon-index: 4; }
.footer-social-link:nth-child(5) { --footer-icon-index: 5; }

.footer-social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--neon-pink));
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.footer-social-link::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--neon-blue), var(--neon-purple), var(--neon-pink), var(--neon-blue));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  animation: rotate 3s linear infinite;
}

.footer-social-link svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Footer social platform colors */
.footer-social-link.linkedin svg { color: #0077b5; }
.footer-social-link.github svg { color: #333333; }
.footer-social-link.twitter svg { color: #000000; }
.footer-social-link.instagram svg { 
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-social-link.email svg { color: var(--accent); }

.footer-social-link:hover {
  transform: translateY(-8px) scale(1.2);
  border-color: var(--accent);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.3),
    0 0 25px var(--accent);
}

.footer-social-link:hover::before {
  opacity: 0.1;
  transform: scale(1);
}

.footer-social-link:hover::after {
  opacity: 0.8;
}

.footer-social-link:hover svg {
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent));
  transform: scale(1.1);
}

/* Footer social animation keyframes */
@keyframes footerSocialReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* Responsive footer social */
@media (max-width: 768px) {
  .footer-social {
    gap: 1rem;
  }
  
  .footer-social-link {
    width: 45px;
    height: 45px;
  }
  
  .footer-social-link svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .footer-social {
    gap: 0.8rem;
  }
  
  .footer-social-link {
    width: 40px;
    height: 40px;
  }
  
  .footer-social-link svg {
    width: 18px;
    height: 18px;
  }
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin-bottom: 2rem;
}

.footer-bottom p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.footer-tech {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ========================================
   Loading Screen
======================================== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

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



.loading-bar {
  width: 300px;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  border-radius: 2px;
  animation: loading-progress 3s ease-in-out;
}

.loading-text {
  color: var(--text-secondary);
  font-family: var(--font-tech);
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ========================================
   Mobile Background Animation Optimization
======================================== */
@media (max-width: 768px) {
  /* Optimize hero background for mobile performance */
  .hero-section {
    will-change: auto; /* Let browser decide what to optimize */
    transform: translateZ(0); /* Enable hardware acceleration */
  }

  .hero-section::before,
  .hero-section::after {
    will-change: opacity, transform;
    backface-visibility: hidden;
  }

  /* Smooth animation keyframes for mobile */
  @keyframes hero-bg-shift-mobile {
    0% { 
      background-position: 0% 50%, 0% 0%, 100% 100%; 
      transform: scale(1);
    }
    25% { 
      background-position: 25% 75%, 10% 10%, 90% 90%; 
      transform: scale(1.02);
    }
    50% { 
      background-position: 50% 100%, 20% 20%, 80% 80%; 
      transform: scale(1);
    }
    75% { 
      background-position: 75% 25%, 30% 30%, 70% 70%; 
      transform: scale(1.01);
    }
    100% { 
      background-position: 100% 50%, 0% 0%, 100% 100%; 
      transform: scale(1);
    }
  }

  @keyframes ambient-glow-mobile {
    0% { 
      opacity: 0.8;
      filter: blur(0.5px);
    }
    33% { 
      opacity: 1;
      filter: blur(0.3px);
    }
    66% { 
      opacity: 0.9;
      filter: blur(0.4px);
    }
    100% { 
      opacity: 0.8;
      filter: blur(0.5px);
    }
  }

  @keyframes grid-move-mobile {
    0% { 
      background-position: 0 0, 0 0; 
      opacity: 0.12;
    }
    25% { 
      background-position: 15px 15px, 15px 15px; 
      opacity: 0.15;
    }
    50% { 
      background-position: 30px 30px, 30px 30px; 
      opacity: 0.12;
    }
    75% { 
      background-position: 45px 45px, 45px 45px; 
      opacity: 0.18;
    }
    100% { 
      background-position: 60px 60px, 60px 60px; 
      opacity: 0.12;
    }
  }

  /* Apply mobile-optimized animations */
  .hero-section {
    animation: hero-bg-shift-mobile 25s ease-in-out infinite;
  }

  .hero-section::after {
    animation: ambient-glow-mobile 20s ease-in-out infinite;
  }

  .hero-section::before {
    animation: grid-move-mobile 30s linear infinite;
  }
}

/* Ultra-smooth animations for high-performance mobile devices */
@media (max-width: 768px) and (min-resolution: 2dppx) {
  .hero-section::before {
    animation-duration: 35s;
  }
  
  .hero-section::after {
    animation-duration: 25s;
  }
}
