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

:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.4);
  --bg-dark: #0a0a0f;
  --bg-card: #14141f;
  --bg-card-hover: #1a1a2e;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --border: rgba(99, 102, 241, 0.2);
  --glow: rgba(99, 102, 241, 0.5);
}

/* Light Mode Variables */
body.light-mode {
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #4338ca;
  --accent: #0891b2;
  --accent-glow: rgba(8, 145, 178, 0.4);
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --border: rgba(71, 85, 105, 0.3);
  --glow: rgba(79, 70, 229, 0.3);
}

body.light-mode .bg-animation {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f8fafc 100%);
}

body.light-mode .bg-animation::before {
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

body.light-mode .glitch {
  background: linear-gradient(135deg, #1e293b 0%, var(--primary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .card li,
body.light-mode .project-description,
body.light-mode .achievement-card p,
body.light-mode .currently-card p,
body.light-mode .testimonial-content p {
  color: var(--text-secondary);
}

body.light-mode .navbar {
  background: rgba(248, 250, 252, 0.9);
}

body.light-mode .glass-card {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.light-mode footer {
  background: rgba(248, 250, 252, 0.98);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ANIMATED BACKGROUND */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a0a2e 50%, #0a0a0f 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

.bg-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

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

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 20px;
  background: transparent;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}

.hero-content {
  max-width: 900px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* GLITCH EFFECT */
.glitch-wrapper {
  position: relative;
  display: inline-block;
}

.glitch {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 2s ease-in-out infinite alternate;
  letter-spacing: -0.02em;
}

@keyframes textGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.8));
  }
}

.subtitle {
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 400;
}

.highlight {
  color: var(--primary-light);
  font-weight: 600;
}

.hero-desc {
  margin-top: 20px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  opacity: 0.85;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* SOCIAL LINKS */
.links {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.links-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-row {
  gap: 15px;
}

.documents-row {
  gap: 18px;
  margin-top: 10px;
}

.social-link {
  position: relative;
  padding: 12px 30px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.1);
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--glow);
  transform: translateY(-2px);
  background: rgba(99, 102, 241, 0.2);
}

.link-text {
  position: relative;
  z-index: 1;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  font-size: 2rem;
  color: var(--primary-light);
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* SECTIONS */
section {
  max-width: 1200px;
  margin: auto;
  padding: 100px 20px;
  position: relative;
}

h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 50px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-number {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

h3 {
  margin-top: 0;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
}

/* GLASS CARD */
.glass-card {
  background: rgba(20, 20, 31, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px var(--glow);
  transform: translateY(-5px);
}

.glass-card p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.highlight-text {
  color: var(--accent);
  font-weight: 600;
  position: relative;
}

/* EXPERIENCE GRID */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.experience-item {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.experience-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.experience-item:hover::before {
  transform: scaleY(1);
}

.experience-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateX(10px);
  box-shadow: 0 5px 25px rgba(99, 102, 241, 0.2);
}

.experience-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: inline-block;
  filter: grayscale(0.3);
}

.link-accent {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

.link-accent:hover {
  color: var(--primary-light);
  text-shadow: 0 0 10px var(--glow);
}

/* CARDS */
.card {
  background: var(--bg-card);
  padding: 35px;
  border-radius: 20px;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(99, 102, 241, 0.3);
}

.featured-card {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.card-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px var(--glow);
}

.meta {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.tag {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.card ul {
  padding-left: 25px;
  margin: 20px 0;
}

.card li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.card-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.card-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.card-link:hover {
  color: var(--primary-light);
  text-shadow: 0 0 10px var(--accent-glow);
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.skill-category {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.skill-category:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.skill-category h4 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-light);
  border-color: var(--primary);
  transform: scale(1.05);
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.project-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.project-icon {
  font-size: 2.5rem;
  filter: grayscale(0.5);
  transition: all 0.3s ease;
}

.project-card:hover .project-icon {
  filter: grayscale(0);
  transform: scale(1.2) rotate(10deg);
}

.project-description {
  color: var(--text-secondary);
  margin: 20px 0;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.tech-tag {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
  transition: all 0.2s ease;
}

.tech-tag:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent);
  transform: scale(1.05);
}

/* PROJECT IMAGES */
.project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}

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

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

/* PROJECT LINKS */
.project-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.project-link-btn {
  flex: 1;
  padding: 10px 20px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: 600;
}

.project-link-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.project-link-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  color: white;
}

.project-link-btn.primary:hover {
  box-shadow: 0 5px 20px var(--glow);
}

/* LOADING SCREEN */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader-circle {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

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

.loader-text {
  color: var(--text-secondary);
  font-size: 1rem;
  animation: pulse 1.5s ease-in-out infinite;
}

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

/* CUSTOM CURSOR */
.cursor,
.cursor-follower {
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.2s ease;
  display: none;
}

.cursor {
  width: 10px;
  height: 10px;
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary), 0 0 60px var(--primary);
  animation: cursorPulse 2s ease-in-out infinite;
}

.cursor-follower {
  width: 50px;
  height: 50px;
  border: 2px solid var(--primary);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

.cursor-follower::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: cursorRotate 3s linear infinite;
}

@keyframes cursorPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes cursorRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (pointer: fine) {
  .cursor,
  .cursor-follower {
    display: block;
  }
}

/* PARTICLE CANVAS */
.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* NAVIGATION BAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease, background 0.3s ease;
}

.navbar.visible {
  transform: translateY(0);
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.cv-download-btn {
  position: relative;
  padding: 12px 30px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 2px solid var(--primary);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

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

.cv-download-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--glow), inset 0 0 20px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
  background: rgba(99, 102, 241, 0.2);
}

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

.cv-download-btn:active {
  transform: translateY(0);
}

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

.cv-text {
  position: relative;
  z-index: 1;
}

.resume-link-btn {
  position: relative;
  padding: 12px 30px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 2px solid transparent;
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

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

.resume-link-btn:hover {
  box-shadow: 0 0 30px var(--accent-glow), inset 0 0 20px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

.resume-link-btn:active {
  transform: translateY(0);
}

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

.resume-text {
  position: relative;
  z-index: 1;
}

.theme-toggle {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.theme-toggle:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
  transform: rotate(20deg);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 3px;
}

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

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* RESUME BUTTON */
.resume-btn {
  position: relative;
  padding: 12px 30px;
  color: white !important;
  text-decoration: none;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.resume-btn:hover {
  box-shadow: 0 0 30px var(--glow);
  transform: translateY(-2px);
}

.download-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.resume-btn:hover .download-icon {
  transform: translateY(3px);
  animation: downloadBounce 0.6s ease infinite;
}

@keyframes downloadBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ACHIEVEMENTS */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.achievement-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.achievement-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.achievement-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.achievement-card h4 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.achievement-card p {
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.achievement-year {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-light);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-top: 10px;
}

/* CURRENTLY WORKING ON */
.currently-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.currently-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.currently-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.currently-pulse {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseGlow 2s ease-in-out infinite;
}

.currently-pulse::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseRing 2s ease-in-out infinite;
}

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

@keyframes pulseRing {
  0% {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

.currently-card h4 {
  margin-bottom: 15px;
  color: var(--text-primary);
}

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

/* TESTIMONIALS */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.testimonial-content {
  margin-bottom: 25px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
  padding-left: 20px;
}

.testimonial-content p::before {
  content: """;
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
}

.testimonial-author strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.testimonial-author span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.testimonial-placeholder {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  grid-column: 1 / -1;
}

/* GITHUB ACTIVITY */
.github-stats {
  display: flex;
  justify-content: center;
}

.github-card {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.github-card h4 {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.github-card img {
  width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

.github-link {
  margin-top: 20px;
}

/* CONTACT FORM */
.contact-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: 50px;
}

.contact-intro p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-form {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

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

.submit-btn {
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  box-shadow: 0 5px 30px var(--glow);
  transform: translateY(-2px);
}

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

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

.form-status {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* FOOTER */
footer {
  background: rgba(10, 10, 15, 0.95);
  color: var(--text-secondary);
  text-align: center;
  padding: 40px;
  border-top: 1px solid var(--border);
  margin-top: 100px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }

  .hero {
    min-height: 90vh;
    padding: 40px 20px;
  }

  .glitch {
    font-size: 2.5rem;
  }

  .projects-grid,
  .skills-grid,
  .experience-grid,
  .achievements-grid,
  .currently-grid {
    grid-template-columns: 1fr;
  }

  .social-link {
    padding: 10px 20px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}
