:root {
  /* Light Mode */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #ec4899;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --border-color: rgba(0, 0, 0, 0.06);
  /* Neon Colors */
  --neon-cyan: #00f0ff;
  --neon-pink: #ff00ff;
  --neon-purple: #9d4edd;
  --neon-blue: #4cc9f0;
}

[data-theme="dark"] {
  /* Dark Mode */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --accent-primary: #818cf8;
  --accent-secondary: #a78bfa;
  --accent-tertiary: #f472b6;
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --border-color: rgba(255, 255, 255, 0.1);
  /* Neon Colors - Enhanced for Dark Mode */
  --neon-cyan: #00f0ff;
  --neon-pink: #ff00ff;
  --neon-purple: #9d4edd;
  --neon-blue: #4cc9f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Code Pro', monospace;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Cursor Mesh Effect */
#cursor-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

.mesh-line {
  position: absolute;
  background: var(--accent-primary);
  opacity: 0.2;
}

.mesh-line.horizontal {
  width: 100%;
  height: 1px;
  left: 0;
}

.mesh-line.vertical {
  width: 1px;
  height: 100%;
  top: 0;
}

[data-theme="dark"] .mesh-line {
  background: var(--neon-cyan);
  opacity: 0.3;
  box-shadow: 0 0 2px var(--neon-cyan);
}

/* Typography */
h1, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  font-family: 'Source Code Pro', monospace;
}

h2 {
  font-weight: 700;
  line-height: 1.2;
  font-family: 'Ubuntu Mono', monospace;
}

code, .mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  transition: color 0.3s ease;
}

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

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

.nav-links a {
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--glass-bg);
}

.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: none;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-primary);
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 48px;
  height: 48px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.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(7px, -7px);
}

.hamburger:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 80px 24px 24px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

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

.mobile-menu .nav-links li {
  width: 100%;
}

.mobile-menu .nav-links a {
  display: block;
  padding: 16px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  width: 100%;
}

.mobile-menu .nav-links a:hover {
  background: var(--bg-secondary);
  color: var(--accent-primary);
  transform: translateX(4px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.theme-toggle:active {
  transform: scale(0.95);
}

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

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

/* Animated Background */
.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(
    45deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary),
    var(--accent-primary)
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  opacity: 0.1;
  filter: blur(80px);
}

[data-theme="dark"] .animated-background {
  opacity: 0.15;
  background: linear-gradient(
    45deg,
    var(--neon-cyan),
    var(--neon-purple),
    var(--neon-pink),
    var(--neon-blue),
    var(--neon-cyan)
  );
  background-size: 400% 400%;
}

/* Particles Effect */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFloat 20s infinite ease-in-out;
}

[data-theme="dark"] .particle {
  background: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
  opacity: 0.8;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 15s;
}

.particle:nth-child(2) {
  left: 20%;
  animation-delay: 2s;
  animation-duration: 18s;
}

.particle:nth-child(3) {
  left: 30%;
  animation-delay: 4s;
  animation-duration: 20s;
}

.particle:nth-child(4) {
  left: 40%;
  animation-delay: 1s;
  animation-duration: 16s;
}

.particle:nth-child(5) {
  left: 50%;
  animation-delay: 3s;
  animation-duration: 22s;
}

.particle:nth-child(6) {
  left: 60%;
  animation-delay: 5s;
  animation-duration: 17s;
}

.particle:nth-child(7) {
  left: 70%;
  animation-delay: 2.5s;
  animation-duration: 19s;
}

.particle:nth-child(8) {
  left: 80%;
  animation-delay: 4.5s;
  animation-duration: 21s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) translateX(100px) scale(1);
    opacity: 0;
  }
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  position: relative;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 24px;
  font-weight: 800;
  position: relative;
  animation: fadeInUp 0.8s ease;
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
}

/* Neon Effect for Title */
.hero h1 {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary),
    var(--accent-primary)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease, neonPulse 3s ease-in-out infinite, gradientMove 5s ease infinite;
}

[data-theme="dark"] .hero h1 {
  background: linear-gradient(
    135deg,
    var(--neon-cyan),
    var(--neon-purple),
    var(--neon-pink),
    var(--neon-blue),
    var(--neon-cyan)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5)) 
          drop-shadow(0 0 20px rgba(157, 78, 221, 0.4))
          drop-shadow(0 0 30px rgba(255, 0, 255, 0.3));
  animation: fadeInUp 0.8s ease, neonPulse 3s ease-in-out infinite, gradientMove 5s ease infinite;
}

.typewriter-container {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 48px;
  animation: fadeInUp 0.8s ease 0.2s both;
  font-family: 'Space Grotesk', 'Fira Code', monospace;
  letter-spacing: 0.08em;
}

[data-theme="dark"] .typewriter-container {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.typewriter-text {
  display: inline-block;
  color: var(--text-primary);
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent-primary);
  margin-left: 4px;
  animation: blink 1s infinite;
  vertical-align: baseline;
}

[data-theme="dark"] .cursor {
  background: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.8);
}

.tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* Floating Connect Panel */
.floating-connect {
  position: fixed;
  top: 30%;
  left: 0%;
  transform: translate(-50%, -50%) rotate(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 1200;
  pointer-events: auto;
  animation: floatConnect 12s ease-in-out infinite alternate;
}

.connect-pill {
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 14px;
  font-weight: 700;
  background:
    linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
    linear-gradient(180deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary)) border-box;
  background-size: 100% 100%, 200% 200%;
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 24px 12px 18px;
  color: var(--text-primary);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  animation: borderShift 6s linear infinite;
}

.connect-pill span {
  display: block;
  text-align: center;
}

.connect-icons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons */
.btn {
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
  background: var(--bg-secondary);
}

.btn-resume {
  background: linear-gradient(135deg, var(--accent-tertiary), var(--accent-secondary));
  color: white;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-resume:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.5);
}

[data-theme="dark"] .btn-resume {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  box-shadow: 0 4px 16px rgba(255, 0, 255, 0.4);
}

[data-theme="dark"] .btn-resume:hover {
  box-shadow: 0 8px 32px rgba(255, 0, 255, 0.6),
              0 0 20px rgba(157, 78, 221, 0.4);
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

/* Floating Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
  z-index: 1;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--accent-tertiary), var(--accent-secondary));
  bottom: -50px;
  right: -50px;
  animation-delay: 5s;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  top: 50%;
  right: 10%;
  animation-delay: 10s;
}

/* Sections */
section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 48px;
  text-align: center;
  color: var(--text-primary);
  position: relative;
  font-weight: 700;
}

[data-theme="dark"] .section-title {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 4s ease infinite;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.3));
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

/* About Section */
.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

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

.profile-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid var(--glass-border);
}

.about-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: justify;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-text ul {
  margin-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.about-highlight {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.about-collapse {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  animation: fadeInUp 0.4s ease;
}

.about-collapse[hidden] {
  display: none;
}

.btn-link {
  border: none;
  background: transparent;
  color: var(--accent-primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  text-decoration: underline;
  padding: 0;
}

.btn-link:hover {
  color: var(--accent-secondary);
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.skill-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.skill-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 12px;
}

/* Experience Section */
.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px 0;
  padding: 60px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 8px;
  transform: translateX(-50%) skewY(-3deg);
  background: rgba(99, 102, 241, 0.25);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  animation: lineRipple 8s ease-in-out infinite;
  opacity: 0.9;
  overflow: hidden;
}

.timeline-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
  border-radius: inherit;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  transform-origin: bottom;
  transform: scaleY(0);
  animation: growLine 1.6s ease-out forwards;
}

.timeline-item {
  position: relative;
  padding: 0 40px;
}

.timeline-item:nth-of-type(odd) {
  grid-column: 1 / 2;
  text-align: right;
}

.timeline-item:nth-of-type(even) {
  grid-column: 2 / 3;
  text-align: left;
}

.timeline-node {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-primary);
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 8px rgba(99, 102, 241, 0.2);
  border: 3px solid var(--accent-primary);
  animation: pulse 3s infinite;
}

.timeline-item:nth-of-type(odd) .timeline-node {
  right: -14px;
}

.timeline-item:nth-of-type(even) .timeline-node {
  left: -14px;
}

.timeline-content {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  position: relative;
  max-width: 420px;
  animation: floatCard 8s ease-in-out infinite;
}

.timeline-item:nth-of-type(even) .timeline-content {
  animation-delay: 1.6s;
}

.timeline-title {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.timeline-period {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 12px;
}

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

.timeline-description ul {
  margin-left: 24px;
  line-height: 1.8;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.project-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

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

.project-card:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow: var(--shadow-lg);
}

.project-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.project-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Certificates Section - Hidden */
#certificates {
  display: none;
}

/* Contact Section */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.form-input,
.form-textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.notification {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: min(360px, 90vw);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1400;
}

.notification.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.notification-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px);
  border: 1px solid transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.social-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderShift 6s linear infinite;
  pointer-events: none;
}

.social-btn.linkedin:hover {
  background: rgba(0, 119, 181, 0.8);
}

.social-btn.github:hover {
  background: rgba(51, 51, 51, 0.9);
}

.social-btn.facebook:hover {
  background: rgba(24, 119, 242, 0.85);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

@keyframes floatConnect {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.02);
  }
  100% {
    transform: translateY(12px) scale(0.98);
  }
}

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

@keyframes lineRipple {
  0% {
    transform: translateX(-50%) skewY(-4deg);
  }
  50% {
    transform: translateX(-50%) skewY(3deg);
  }
  100% {
    transform: translateX(-50%) skewY(-4deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 8px rgba(99, 102, 241, 0.2);
  }
  50% {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 0 8px var(--bg-primary), 0 0 0 16px rgba(99, 102, 241, 0.15);
  }
}

/* Neon Animations */
@keyframes neonPulse {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5)) 
            drop-shadow(0 0 20px rgba(157, 78, 221, 0.4))
            drop-shadow(0 0 30px rgba(255, 0, 255, 0.3));
  }
  50% {
    opacity: 0.9;
    filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.7)) 
            drop-shadow(0 0 30px rgba(157, 78, 221, 0.6))
            drop-shadow(0 0 45px rgba(255, 0, 255, 0.5));
  }
}

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

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

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

@keyframes lineSlideUp {
  from {
    transform: translateX(-50%) skewY(-3deg) translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) skewY(-3deg) translateY(0);
    opacity: 0.9;
  }
}

@keyframes lineSlideUpMobile {
  from {
    transform: translateX(0) skewY(0) translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0) skewY(0) translateY(0);
    opacity: 0.9;
  }
}

@keyframes growLine {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-container {
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    min-height: 80vh;
    padding: 60px 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

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

  .profile-image {
    max-width: 250px;
    margin: 0 auto;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }

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

  .timeline {
    grid-template-columns: 1fr;
    padding: 40px 0;
  }

  .timeline-line {
    left: 24px;
    transform: translateX(0) skewY(0);
  }

  .timeline-item,
  .timeline-item:nth-of-type(odd),
  .timeline-item:nth-of-type(even) {
    grid-column: 1 / -1;
    text-align: left;
    transform: none;
    padding-left: 56px;
  }

  .timeline-content {
    max-width: 100%;
  }

  .timeline-node {
    left: 16px;
    right: auto;
  }

  .hero-buttons .btn:nth-child(1) {
    display: none;
  }

  .hero-buttons .btn:nth-child(2) {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 16px;
  }

  .hero-buttons .btn:nth-child(3) {
    padding: 8px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 16px;
  }

  .floating-connect {
    top: auto;
    bottom: 24px;
    left: 16px;
    right: auto;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    animation: none;
  }

  .connect-pill {
    display: none;
  }

  .connect-icons {
    flex-direction: column;
    gap: 8px;
  }

  .social-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .glass-card {
    padding: 24px;
  }

  .about-text {
    font-size: 16px;
  }

  .project-buttons {
    flex-direction: column;
  }

  .project-buttons .btn {
    width: 100%;
  }

  .notification {
    right: 16px;
    left: 16px;
  }

  .floating-connect {
    flex-wrap: wrap;
    gap: 6px;
    left: 12px;
    bottom: 16px;
  }

  .connect-pill {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .social-btn {
    width: 40px;
    height: 40px;
  }
}

