/* Mobile Responsive Styles - Add these to your styles.css file */

/* Modern Mobile Navigation */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 1rem;
    margin: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }

  .nav-container {
    padding: 0;
  }

  /* Modern Hamburger Button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 26px;
    height: 20px;
    position: relative;
    z-index: 1000;
    cursor: pointer;
    background: none;
    border: none;
  }

  .nav-toggle .bar {
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
  }

  .nav-toggle .bar:nth-child(1) {
    top: 0;
  }

  .nav-toggle .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-toggle .bar:nth-child(3) {
    bottom: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Modern Mobile Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.9),
      rgba(88, 28, 135, 0.9)
    );
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    z-index: 9999;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.125rem;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
  }

  .nav-link {
    font-size: 1.125rem;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
  }

  .nav-link:active {
    transform: scale(0.95);
  }

  .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
  }

  /* Theme Toggle in Mobile Menu */
  .theme-toggle {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  /* Animation for Menu Items */
  .nav-menu.active .nav-link,
  .nav-menu.active .theme-toggle {
    animation: slideIn 0.4s ease forwards;
    opacity: 0;
  }

  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-menu.active .nav-link:nth-child(1) {
    animation-delay: 0.1s;
  }
  .nav-menu.active .nav-link:nth-child(2) {
    animation-delay: 0.15s;
  }
  .nav-menu.active .nav-link:nth-child(3) {
    animation-delay: 0.2s;
  }
  .nav-menu.active .nav-link:nth-child(4) {
    animation-delay: 0.25s;
  }
  .nav-menu.active .nav-link:nth-child(5) {
    animation-delay: 0.3s;
  }
  .nav-menu.active .nav-link:nth-child(6) {
    animation-delay: 0.35s;
  }
  .nav-menu.active .theme-toggle {
    animation-delay: 0.4s;
  }
}

/* Mobile Hero Section Enhancements */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
    margin: 1.5rem 0;
    padding: 0 1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
  }

  .stat-item {
    width: calc(50% - 1rem);
  }

  .floating-elements {
    display: none;
  }
}

/* Mobile About Section Enhancements */
@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .about-text {
    text-align: center;
  }

  .about-description {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .about-highlights {
    padding: 1.5rem;
  }

  .highlight-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    align-items: center;
  }

  .highlight-item i {
    margin-bottom: 1rem;
  }

  .about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto;
  }

  .stat {
    width: calc(50% - 1rem);
    text-align: center;
  }
}

/* Mobile Skills Section Enhancements */
@media screen and (max-width: 768px) {
  .skills-container {
    padding: 1rem;
  }

  .skill-category {
    padding: 1.5rem;
  }

  .category-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .category-icon {
    margin: 0 auto;
  }

  .skill-item {
    margin-bottom: 1.5rem;
  }

  .skill-bar {
    height: 8px;
  }
}

/* Mobile Projects Section Enhancements */
@media screen and (max-width: 768px) {
  .project-card {
    padding: 1.5rem;
  }

  .project-image {
    height: 200px;
  }

  .project-content {
    padding: 1.5rem;
  }

  .project-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .project-link {
    width: 100%;
  }
}

/* Mobile Contact Section Enhancements */
@media screen and (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .contact-info {
    text-align: center;
    padding: 1.5rem;
  }
}

/* Mobile Typography and Spacing */
@media screen and (max-width: 768px) {
  .section-header {
    margin-bottom: 2rem;
    text-align: center;
    padding: 0 1rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

/* Dark Mode Mobile Adjustments */
@media screen and (max-width: 768px) {
  [data-theme="dark"] .nav-menu {
    background: rgba(15, 23, 42, 0.95);
  }

  [data-theme="dark"] .project-card {
    background: rgba(30, 41, 59, 0.9);
  }
}

/* Mobile Animation Optimizations */
@media screen and (max-width: 768px) {
  .cursor-dot,
  .cursor-outline {
    display: none;
  }

  .floating-elements {
    display: none;
  }

  .geometric-shapes {
    opacity: 0.3;
  }
}

/* Mobile Performance Optimizations */
@media screen and (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  .smooth-scroll {
    scroll-behavior: auto;
  }
}

/* Enhanced Portfolio CSS with Modern Design */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* Enhanced Color Palette */
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --secondary-color: #8b5cf6;
  --accent-color: #f59e0b;
  --accent-dark: #d97706;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;

  /* Text Colors */
  --text-primary: #1f2937;
  --text-secondary: #374151;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --text-inverse: #ffffff;

  /* Background Colors */
  --background: #ffffff;
  --background-alt: #f9fafb;
  --background-dark: #111827;
  --surface: #ffffff;
  --surface-dark: #1f2937;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-glass: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  --gradient-dark: linear-gradient(135deg, #1f2937 0%, #111827 100%);

  /* Enhanced Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  --shadow-colored: 0 10px 25px rgba(99, 102, 241, 0.15);

  /* Enhanced Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 6rem;

  /* Border Radius */
  --border-radius-xs: 0.125rem;
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-2xl: 1.5rem;
  --border-radius-3xl: 2rem;
  --border-radius-full: 9999px;

  /* Enhanced Transitions */
  --transition-all: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: all 0.3s ease-in-out;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  --font-heading: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-preloader: 9999;

  /* Animation Durations */
  --duration-150: 150ms;
  --duration-200: 200ms;
  --duration-300: 300ms;
  --duration-500: 500ms;
  --duration-700: 700ms;
  --duration-1000: 1000ms;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --text-primary: #f9fafb;
  --text-secondary: #e5e7eb;
  --text-light: #d1d5db;
  --text-muted: #9ca3af;
  --background: #0f172a;
  --background-alt: #1e293b;
  --surface: #1e293b;
  --surface-dark: #0f172a;
  --border-color: #374151;
  --border-light: #1f2937;

  /* Dark mode specific shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4),
    0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4),
    0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5),
    0 10px 10px -5px rgba(0, 0, 0, 0.3);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.4);
  --shadow-colored: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Selection Styling */
::selection {
  background: var(--primary-color);
  color: var(--text-inverse);
}

::-moz-selection {
  background: var(--primary-color);
  color: var(--text-inverse);
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: var(--border-radius-full);
  border: 2px solid var(--background-alt);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

::-webkit-scrollbar-corner {
  background: var(--background-alt);
}

/* Base HTML and Body */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    padding: 5rem 1rem 2rem;
  }

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }

  .skills-grid,
  .projects-grid,
  .about-highlights {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.theme-switching {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-switching * {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
}

body.loaded {
  overflow-x: hidden;
}

/* Modern and Attractive Preloader with Rotating Animations */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #1a1a2e, #533483);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-preloader);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    transparent,
    rgba(255, 255, 255, 0.1) 70%
  );
  backdrop-filter: blur(20px);
  z-index: -1;
}

.loader {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-icon {
  width: 60px;
  height: 60px;
  border: 5px solid transparent;
  border-top: 5px solid #e94560;
  border-radius: 50%;
  animation: loader-rotate 1.5s linear infinite;
}

.loader-text {
  position: absolute;
  font-size: var(--text-base);
  color: #ffffff;
  font-weight: 600;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes loader-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes colorShift {
  0%,
  100% {
    border-top-color: #e94560;
  }
  50% {
    border-top-color: #533483;
  }
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  color: var(--text-inverse);
}
/* Enhanced Custom Cursor with Smooth Performance */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-tooltip);
  transition: transform 0.08s ease-out, background-color 0.2s ease;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor-outline {
  width: 32px;
  height: 32px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: calc(var(--z-tooltip) - 1);
  transition: all 0.12s ease-out;
  opacity: 0.4;
  will-change: transform;
}

.cursor-dot.hover {
  transform: scale(1.3);
  background: var(--accent-color);
}

.cursor-outline.hover {
  transform: scale(1.6);
  opacity: 0.7;
  border-color: var(--accent-color);
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}

/* Enhanced Particles Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 6s ease-in-out infinite;
}

@keyframes float-particle {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.6;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Enhanced Navigation with Advanced Glassmorphism */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: var(--z-fixed);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-all);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: var(--space-md) var(--space-md) 0;
  border-radius: var(--border-radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Dark mode navbar */
[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .nav-menu {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.98) 0%,
    rgba(51, 65, 85, 0.98) 50%,
    rgba(71, 85, 105, 0.98) 100%
  ) !important;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo a {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-all);
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-text {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.3);
  font-weight: 800;
  background: none;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.logo-dot {
  color: var(--accent-color);
  font-size: var(--text-3xl);
  line-height: 1;
}

.nav-logo a:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 5rem 1.5rem;
    transition: 0.3s;
    flex-direction: column;
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-5xl) var(--space-xl);
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: var(--text-lg);
    padding: var(--space-md);
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: block;
    z-index: 1000;
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    padding: var(--space-3xl) var(--space-xl);
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition-all);
  padding: 0.5rem 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: var(--border-radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-all);
  color: var(--text-secondary);
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: var(--text-inverse);
  transform: rotate(180deg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: var(--transition-all);
  border-radius: var(--border-radius-sm);
}

/* Optimized Hero Section - Removed Heavy Animations */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--space-md) 4rem;
  background: linear-gradient(
    135deg,
    #1a1a2e 0%,
    #16213e 25%,
    #0f3460 50%,
    #533483 75%,
    #e94560 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(83, 52, 131, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(233, 69, 96, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(15, 52, 96, 0.3) 0%,
      transparent 70%
    );
  pointer-events: none;
  animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-content {
  z-index: 2;
}

/* Enhanced Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  animation: slideInLeft 1s ease 0.2s both;
}

.badge-icon {
  font-size: var(--text-xl);
  animation: wave 2s ease-in-out infinite;
}

.badge-text {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--text-inverse);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
}

@keyframes wave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: rotate(14deg);
  }
  20%,
  40%,
  60%,
  80% {
    transform: rotate(-8deg);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  color: var(--text-inverse);
  animation: slideInLeft 1s ease 0.4s both;
}

.highlight {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Fixed Typewriter Animation */
.typing-text {
  border-right: 3px solid var(--accent-color);
  animation: blink 1s infinite;
}

.hero-subtitle {
  font-size: var(--text-2xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  font-weight: 500;
  animation: slideInLeft 1s ease 0.6s both;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.subtitle-label {
  font-family: var(--font-primary);
  font-weight: 400;
}

.typing-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-color);
}

.cursor-blink {
  animation: blink 1s infinite;
  color: var(--accent-color);
  font-weight: 300;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  animation: slideInLeft 1s ease 0.8s both;
  max-width: 600px;
}

.highlight-text {
  color: var(--accent-color);
  font-weight: 600;
}

/* Enhanced Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  animation: slideInUp 1s ease 1s both;
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-all);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-inverse);
  font-family: var(--font-display);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  animation: slideInUp 1s ease 1.2s both;
}

/* Enhanced Hero Image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: slideInRight 1s ease 0.6s both;
}

.hero-avatar-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.hero-avatar {
  width: 280px;
  height: 280px;
  background: var(--gradient-success);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2xl);
  animation: morphing 8s ease-in-out infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  overflow: hidden;
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.avatar-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  background: var(--gradient-secondary);
  border-radius: inherit;
  z-index: -1;
  filter: blur(20px);
  opacity: 0.7;
  animation: rotate 20s linear infinite;
}

.avatar-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 20s linear infinite;
}

.avatar-ring-2 {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 2px solid var(--accent-color);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate-reverse 15s linear infinite;
}

/* Geometric Shapes */
.geometric-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  background: var(--gradient-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: float-around 6s ease-in-out infinite;
}

.shape-1 {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-lg);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius);
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
  transform: rotate(45deg);
}

/* Enhanced Floating Elements with Better Design */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.floating-item {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.15) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--text-inverse);
  animation: enhanced-float 12s ease-in-out infinite,
    tech-glow 6s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition-all);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.floating-item::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent,
    rgba(255, 255, 255, 0.1)
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.floating-item:hover {
  transform: scale(1.3) rotate(15deg);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.25) 100%
  );
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 8px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 50px rgba(255, 255, 255, 0.3);
  animation-play-state: paused;
  z-index: 20;
}

.floating-item:hover::before {
  opacity: 1;
}

/* Enhanced positioning with better spacing */
.floating-item:nth-child(1) {
  top: 5%;
  left: -5%;
  animation-delay: 0s;
  color: #61dafb;
  box-shadow: 0 12px 40px rgba(97, 218, 251, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.floating-item:nth-child(2) {
  top: 15%;
  right: 5%;
  animation-delay: 2s;
  color: #68a063;
  box-shadow: 0 12px 40px rgba(104, 160, 99, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.floating-item:nth-child(3) {
  bottom: 25%;
  left: -8%;
  animation-delay: 4s;
  color: #ffd43b;
  box-shadow: 0 12px 40px rgba(255, 212, 59, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.floating-item:nth-child(4) {
  bottom: 8%;
  right: 10%;
  animation-delay: 6s;
  color: #f7df1e;
  box-shadow: 0 12px 40px rgba(247, 223, 30, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.floating-item:nth-child(5) {
  top: 45%;
  left: -12%;
  animation-delay: 8s;
  color: #1572b6;
  box-shadow: 0 12px 40px rgba(21, 114, 182, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.floating-item:nth-child(6) {
  top: 70%;
  right: -5%;
  animation-delay: 10s;
  color: #e34f26;
  box-shadow: 0 12px 40px rgba(227, 79, 38, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Enhanced Animation Keyframes */
@keyframes morphing {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
}

/* Enhanced Floating Elements Animations */
@keyframes enhanced-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-20px) rotate(2deg) scale(1.05);
  }
  50% {
    transform: translateY(-10px) rotate(-2deg) scale(0.95);
  }
  75% {
    transform: translateY(-15px) rotate(1deg) scale(1.02);
  }
}

@keyframes tech-glow {
  0%,
  100% {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 6px 25px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.2);
  }
}

@keyframes float-around {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-15px) rotate(5deg);
  }
  66% {
    transform: translateY(-5px) rotate(-3deg);
  }
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes rotate-reverse {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mobile Navigation Animation */
@keyframes slideInFromRight {
  from {
    right: -100%;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
  cursor: pointer;
}

.scroll-text {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* Enhanced Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-all);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: var(--text-base);
  position: relative;
  overflow: hidden;
  font-family: var(--font-display);
  background: transparent;
}

.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.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-inverse);
  border-color: transparent;
  box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: var(--gradient-secondary);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-inverse);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-inverse);
  border: 2px solid var(--text-inverse);
}

.btn-outline:hover {
  background: var(--text-inverse);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

/* Section Styling */
section {
  padding: var(--space-5xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  font-family: var(--font-heading);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-full);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Enhanced About Section */
.about {
  background: var(--background-alt);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-intro h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.wave {
  animation: wave 2s ease-in-out infinite;
  display: inline-block;
}

.about-description {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--text-lg);
}

.about-highlights {
  margin: var(--space-2xl) 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--surface);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition-all);
}

.highlight-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.highlight-item i {
  font-size: var(--text-2xl);
  color: var(--primary-color);
  width: 40px;
  flex-shrink: 0;
}

.highlight-item h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.highlight-item p {
  color: var(--text-secondary);
  margin: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.stat {
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-all);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.stat h4 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
}

.stat p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.about-avatar {
  position: relative;
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transition: var(--transition-all);
}

.about-avatar:hover {
  transform: rotate(-5deg) scale(1.05);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-2xl);
}

.experience-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--gradient-primary);
  color: var(--text-inverse);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--surface);
}

.badge-number {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  font-family: var(--font-display);
}

.badge-text {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Experience Section */
.experience {
  background: var(--background);
  position: relative;
}

.experience::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(99, 102, 241, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.experience-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--secondary-color),
    var(--accent-color)
  );
  border-radius: var(--border-radius-full);
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: var(--space-3xl);
  opacity: 0;
  animation: slideInUp 0.8s ease forwards;
}

.timeline-item:nth-child(even) {
  animation-delay: 0.2s;
}

.timeline-item:nth-child(odd) {
  animation-delay: 0.4s;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  z-index: 10;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 4px solid var(--background);
  box-shadow: 0 0 0 4px var(--primary-color), 0 0 20px rgba(99, 102, 241, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px var(--primary-color), 0 0 20px rgba(99, 102, 241, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px var(--primary-color), 0 0 30px rgba(99, 102, 241, 0.8);
  }
}

.timeline-content {
  position: relative;
  width: 48%;
  padding: 0 var(--space-lg);
}

.timeline-item:nth-child(odd) .timeline-content {
  left: 52%;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
  left: 0;
  text-align: right;
}

.experience-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(240, 240, 255, 0.1) 100%
  );
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--border-radius-2xl);
  padding: var(--space-3xl) var(--space-4xl);
  position: relative;
  transition: var(--transition-all);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 500px;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(139, 92, 246, 0.2)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.experience-card:hover::before {
  opacity: 0.4;
}

.experience-card.current {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary-color);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2),
    0 0 0 1px rgba(99, 102, 241, 0.3);
}

.experience-card.current::after {
  content: "Current Position";
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  background: var(--gradient-primary);
  color: var(--text-inverse);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  border: 2px solid var(--surface);
}

.experience-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 2;
  gap: var(--space-xl);
  padding: 0;
  background: transparent;
}

.experience-info {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.experience-info h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
  text-align: center;
}

.experience-info h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  text-align: center;
}

.experience-duration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.experience-duration i {
  color: var(--text-secondary);
}

.experience-duration span {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
}

.duration-badge {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--text-inverse);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: enhanced-glow-pulse 3s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

@keyframes enhanced-glow-pulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6),
      0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
  }
}

.company-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    var(--accent-color) 100%
  );
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--text-inverse);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 2;
  transition: var(--transition-all);
  border: 3px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  overflow: hidden;
  flex-shrink: 0;
}

.company-logo::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent,
    rgba(255, 255, 255, 0.2)
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.company-logo:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 20px 45px rgba(99, 102, 241, 0.5), 0 8px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.7);
}

.company-logo:hover::before {
  opacity: 1;
}

.experience-achievements {
  list-style: none;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 2;
}

.experience-achievements li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: var(--text-base);
}

.experience-achievements li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-size: var(--text-sm);
  animation: bounce-right 2s ease-in-out infinite;
}

@keyframes bounce-right {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(3px);
  }
  60% {
    transform: translateX(1px);
  }
}

.experience-tech {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.experience-tech .tech-tag {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  transition: var(--transition-all);
  backdrop-filter: blur(10px);
}

.experience-tech .tech-tag:hover {
  background: var(--primary-color);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Complete Mobile Timeline Fix */
@media (max-width: 768px) {
  .experience-timeline {
    max-width: 100%;
    padding: var(--space-xl) var(--space-md);
  }

  .experience-timeline::before {
    left: 20px;
    width: 2px;
  }

  .timeline-item {
    margin-bottom: var(--space-2xl);
    padding-left: 50px;
  }

  .timeline-marker {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--background);
    box-shadow: 0 0 0 2px var(--primary-color);
  }

  .timeline-content {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding: 0;
    position: relative;
  }

  .experience-card {
    padding: var(--space-xl) var(--space-lg);
    margin: 0;
    min-height: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-lg);
  }

  .experience-card.current {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--primary-color);
  }

  .experience-card.current::after {
    content: "Current";
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--primary-color);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
  }

  .experience-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--space-xl);
    gap: var(--space-lg);
    position: relative;
    z-index: 3;
  }

  .experience-info {
    width: 100%;
    order: 2;
  }

  .experience-info h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    font-weight: 700;
    text-align: center;
  }

  .experience-info h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
  }

  .company-logo {
    width: 60px;
    height: 60px;
    font-size: var(--text-xl);
    flex-shrink: 0;
    order: 1;
    background: linear-gradient(
      135deg,
      var(--primary-color),
      var(--secondary-color)
    );
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
  }

  .experience-duration {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
  }

  .experience-duration span {
    text-align: center;
    font-size: var(--text-sm);
  }

  .duration-badge {
    order: 3;
    margin-left: var(--space-sm);
  }

  .experience-achievements {
    margin-bottom: var(--space-lg);
  }

  .experience-achievements li {
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
  }

  .experience-tech {
    gap: var(--space-xs);
  }

  .experience-tech .tech-tag {
    font-size: var(--text-xs);
    padding: var(--space-xs) var(--space-sm);
  }
}

@media (max-width: 480px) {
  .experience-timeline {
    padding: var(--space-lg) 0;
  }

  .timeline-item {
    margin-bottom: var(--space-2xl);
  }

  .experience-card {
    padding: var(--space-lg);
  }

  .experience-info h3 {
    font-size: var(--text-xl);
  }

  .experience-duration {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
}

/* Enhanced Skills Section */
.skills {
  background: var(--background);
}

.skills-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Extra wide screens for skills */
@media (min-width: 1440px) {
  .skills-container {
    max-width: 1600px;
  }
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-4xl);
}

/* Desktop-specific wider cards - All three in a row */
@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    max-width: 1400px;
    margin: 0 auto var(--space-4xl);
  }

  .skill-category {
    padding: var(--space-3xl) var(--space-2xl);
    min-height: 400px;
  }
}

/* Extra wide screens - even more space */
@media (min-width: 1440px) {
  .skills-grid {
    max-width: 1600px;
    gap: var(--space-3xl);
  }

  .skill-category {
    padding: var(--space-4xl) var(--space-3xl);
    min-height: 420px;
  }
}

.skill-category {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(240, 240, 255, 0.15) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius-xl);
  padding: var(--space-2xl);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-all);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 50%,
    rgba(236, 72, 153, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.skill-category:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: rgba(99, 102, 241, 0.6);
}

.skill-category:hover::before {
  opacity: 1;
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.category-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.9) 0%,
    rgba(139, 92, 246, 0.9) 50%,
    rgba(236, 72, 153, 0.9) 100%
  );
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--text-inverse);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  transition: var(--transition-all);
}

.category-icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: inherit;
  border-radius: inherit;
  filter: blur(10px);
  opacity: 0.7;
  z-index: -1;
}

.skill-category:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.category-header h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.skills-list {
  position: relative;
  z-index: 1;
}

.skill-item {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-all);
  position: relative;
  backdrop-filter: blur(10px);
}

.skill-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.skill-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--text-base);
  position: relative;
  z-index: 1;
}

.skill-level {
  font-size: var(--text-sm);
  color: var(--primary-color);
  font-weight: 700;
  background: rgba(99, 102, 241, 0.1);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(99, 102, 241, 0.3);
  position: relative;
  z-index: 1;
}

.skill-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-full);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-progress {
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.9) 0%,
    rgba(139, 92, 246, 0.9) 50%,
    rgba(236, 72, 153, 0.9) 100%
  );
  border-radius: var(--border-radius-full);
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: skill-shimmer 2s infinite;
}

@keyframes skill-shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.technologies-showcase {
  text-align: center;
}

.technologies-showcase h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-2xl);
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.tech-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(240, 240, 255, 0.1) 100%
  );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-all);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tech-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 50%,
    rgba(236, 72, 153, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.tech-icon:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(99, 102, 241, 0.5);
}

.tech-icon:hover::before {
  opacity: 1;
}

.tech-icon i {
  font-size: var(--text-3xl);
  color: var(--primary-color);
  position: relative;
  z-index: 1;
  transition: var(--transition-all);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tech-icon:hover i {
  transform: scale(1.2) rotate(5deg);
  color: var(--secondary-color);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tech-icon span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  text-align: center;
  letter-spacing: 0.5px;
  transition: var(--transition-all);
}

.tech-icon:hover span {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Enhanced Projects Section */
.projects {
  background: var(--background-alt);
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  border: 2px solid var(--border-color);
  background: var(--surface);
  color: var(--text-secondary);
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: var(--transition-all);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--text-inverse);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.project-card {
  background: var(--surface);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-all);
  border: 1px solid var(--border-color);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-color);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-all);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  transition: var(--transition-all);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  width: 50px;
  height: 50px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-all);
}

.project-link:hover {
  background: var(--primary-color);
  color: var(--text-inverse);
  transform: scale(1.1);
}

.project-content {
  padding: var(--space-2xl);
}

.project-category {
  font-size: var(--text-sm);
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.project-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.project-tech {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.tech-tag {
  background: var(--background-alt);
  color: var(--primary-color);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  border: 1px solid var(--border-color);
}

.projects-cta {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--surface);
  border-radius: var(--border-radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-all);
}

.projects-cta:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-color);
}

.projects-cta p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-weight: 500;
}

.projects-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  background: var(--gradient-primary);
  color: var(--text-inverse);
  border: none;
  padding: var(--space-lg) var(--space-2xl);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  transition: var(--transition-all);
  box-shadow: var(--shadow-colored);
  position: relative;
  overflow: hidden;
}

.projects-cta .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.6s ease;
}

.projects-cta .btn:hover::before {
  left: 100%;
}

.projects-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: var(--gradient-secondary);
}

.projects-cta .btn i {
  font-size: var(--text-lg);
  transition: transform 0.3s ease;
}

.projects-cta .btn:hover i {
  transform: scale(1.2) rotate(360deg);
}

/* Enhanced Education Section */
.education {
  background: var(--background-alt);
  position: relative;
}

.education::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(99, 102, 241, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(139, 92, 246, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.education-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  max-width: 800px;
  margin: 0 auto;
}

.education-card {
  background: var(--surface);
  border-radius: var(--border-radius-2xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-all);
  display: flex;
  gap: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.education-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.02) 0%,
    rgba(139, 92, 246, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.education-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-color);
}

.education-card:hover::before {
  opacity: 1;
}

.education-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  color: var(--text-inverse);
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.education-info {
  flex: 1;
  position: relative;
  z-index: 2;
}

.education-info h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.education-info h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.education-duration {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.education-duration i {
  color: var(--text-secondary);
}

.education-duration span {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
}

.education-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.education-highlights {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.highlight-tag {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: var(--transition-all);
}

.highlight-tag:hover {
  background: var(--primary-color);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

/* Enhanced Achievements Section */
.achievements {
  background: var(--background);
  position: relative;
}

.achievements::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 70% 20%,
      rgba(245, 158, 11, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 30% 80%,
      rgba(16, 185, 129, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
}

.achievement-card {
  background: var(--surface);
  border-radius: var(--border-radius-2xl);
  padding: var(--space-2xl);
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-all);
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.02) 0%,
    rgba(16, 185, 129, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-2xl);
  border-color: var(--accent-color);
}

.achievement-card:hover::before {
  opacity: 1;
}

.achievement-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  color: var(--text-inverse);
  margin: 0 auto var(--space-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  animation: float-around 3s ease-in-out infinite;
}

.achievement-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  font-family: var(--font-heading);
  position: relative;
  z-index: 2;
}

.achievement-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 2;
}

.achievement-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  position: relative;
  z-index: 2;
}

.achievement-stats .stat-number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--accent-color);
  font-family: var(--font-display);
}

.achievement-stats .stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Responsive adjustments for education and achievements */
@media (max-width: 768px) {
  .education-card {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }

  .education-icon {
    margin: 0 auto;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .education-duration {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .education-card {
    padding: var(--space-lg);
  }

  .achievement-card {
    padding: var(--space-lg);
  }

  .education-icon,
  .achievement-icon {
    width: 60px;
    height: 60px;
    font-size: var(--text-2xl);
  }

  .education-info h3,
  .achievement-card h3 {
    font-size: var(--text-xl);
  }
}

/* Enhanced Contact Section */
.contact {
  background: var(--background);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-intro h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.contact-intro p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
  font-size: var(--text-lg);
}

.contact-details {
  margin-bottom: var(--space-2xl);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--surface);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition-all);
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--surface);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-all);
  font-weight: 500;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--text-inverse);
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.social-link i {
  font-size: var(--text-lg);
}

/* Enhanced Contact Form */
.contact-form {
  background: var(--surface);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.form-header h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.form-header p {
  color: var(--text-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-xl);
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  font-weight: 500;
  font-size: var(--text-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-lg) var(--space-xl) var(--space-lg) 50px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  font-family: inherit;
  font-size: var(--text-base);
  transition: var(--transition-all);
  background: var(--background-alt);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background: var(--background);
}

.form-group i {
  position: absolute;
  left: var(--space-lg);
  top: calc(50% + 12px);
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: var(--text-lg);
  pointer-events: none;
  z-index: 1;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  padding-top: var(--space-lg);
}

.form-group.textarea-group i {
  top: calc(30px + var(--space-lg));
}

.submit-btn {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-loading {
  display: none;
}

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-loading {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Enhanced Footer */
.footer {
  background: var(--surface-dark);
  color: var(--text-inverse);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-4xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
  color: var(--text-inverse);
  font-family: var(--font-display);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  text-decoration: none;
  transition: var(--transition-all);
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.footer-column h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
  color: var(--text-inverse);
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--space-sm);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-all);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-column a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
}

.footer-copyright i {
  color: var(--error-color);
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border: none;
  border-radius: 50%;
  color: var(--text-inverse);
  cursor: pointer;
  transition: var(--transition-all);
  font-size: var(--text-lg);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3), 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.scroll-top-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5), 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
  .hero-container,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Enhanced Full-Screen Mobile Navigation */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
      135deg,
      #1a1a2e 0%,
      #16213e 25%,
      #0f3460 50%,
      #533483 75%,
      #e94560 100%
    );
    background-size: 200% 200%;
    animation: gradientFlow 10s ease infinite;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9) translateY(-50px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: var(--space-4xl) var(--space-2xl);
    overflow: hidden;
    border: none;
    box-shadow: none;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
  }

  .nav-menu.active .nav-close {
    display: flex;
  }

  .nav-close {
    display: none;
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: var(--text-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
  }

  .nav-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 30% 20%,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 70% 80%,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
      );
    animation: floatingBubbles 20s ease-in-out infinite;
    pointer-events: none;
  }

  .nav-link {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    margin: 0.75rem 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    text-decoration: none;
    letter-spacing: 0.5px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.1) 100%
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
    font-family: var(--font-display);
    border: 2px solid rgba(255, 255, 255, 0.25);
    text-transform: capitalize;
    animation: navLinkEntrance 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
    min-height: 50px;
  }

  .nav-link:nth-child(2) {
    animation-delay: 0.1s;
  }
  .nav-link:nth-child(3) {
    animation-delay: 0.15s;
  }
  .nav-link:nth-child(4) {
    animation-delay: 0.2s;
  }
  .nav-link:nth-child(5) {
    animation-delay: 0.25s;
  }
  .nav-link:nth-child(6) {
    animation-delay: 0.3s;
  }
  .nav-link:nth-child(7) {
    animation-delay: 0.35s;
  }
  .nav-link:nth-child(8) {
    animation-delay: 0.4s;
  }

  .nav-link:hover,
  .nav-link.active {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.2) 100%
    ) !important;
    color: #ffffff !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25),
      0 6px 15px rgba(255, 255, 255, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
    letter-spacing: 0.8px;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 10000;
  }

  .nav-toggle .bar {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Enhanced Mobile Hero Section */
  .hero {
    padding: 4rem var(--space-lg) 3rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .hero-container {
    text-align: center;
    gap: var(--space-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
  }

  .hero-description {
    font-size: var(--text-lg);
    line-height: 1.8;
    padding: 0 var(--space-md);
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
  }

  .stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
  }

  /* Enhanced Mobile Cards */
  .skill-category {
    padding: var(--space-xl) var(--space-lg);
    margin-bottom: var(--space-xl);
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(240, 240, 255, 0.25) 100%
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15),
      0 4px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .skill-category:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25),
      0 8px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }

  .experience-card {
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.25) 50%,
      rgba(240, 240, 255, 0.2) 100%
    );
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.2),
      0 6px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    min-height: auto;
  }

  .project-card {
    margin-bottom: var(--space-xl);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }

  .project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  /* Enhanced Mobile Typography */
  .category-header h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
    text-align: center;
  }

  .skill-name {
    font-size: var(--text-lg);
    font-weight: 600;
  }

  .skill-level {
    font-size: var(--text-sm);
    padding: var(--space-xs) var(--space-md);
  }

  .experience-info h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
  }

  .experience-info h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
  }

  /* Mobile Specific Layouts */
  .about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin: 0 auto;
  }

  .about-stats .stat {
    text-align: center;
    flex: 0 1 calc(50% - var(--space-lg));
    min-width: 120px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .section-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--space-2xl);
  }

  .section-subtitle {
    font-size: var(--text-lg);
    text-align: center;
    padding: 0 var(--space-md);
  }

  /* Mobile Avatar Adjustments */
  .hero-avatar-container {
    width: 280px;
    height: 280px;
    margin: 0 auto;
  }

  .hero-avatar {
    width: 200px;
    height: 200px;
  }

  /* Mobile Timeline Improvements */
  .experience-timeline {
    max-width: 100%;
    padding: var(--space-xl) 0;
  }

  .timeline-item {
    padding-left: var(--space-xl);
  }

  .timeline-content {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding: 0;
  }

  .timeline-marker {
    left: 0;
  }

  .timeline-line {
    left: 10px;
  }

  /* Mobile Contact Form */
  .contact-form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-2xl);
  }

  .form-group {
    margin-bottom: var(--space-xl);
  }

  .form-group input,
  .form-group textarea {
    padding: var(--space-lg);
    font-size: var(--text-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.2);
  }

  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-xl);
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .stat-item {
    padding: var(--space-md);
  }

  .about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
  }

  .about-stats .stat {
    text-align: center;
    flex: 0 1 calc(50% - var(--space-lg));
    min-width: 120px;
    max-width: 180px;
  }

  .tech-icons {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-filter {
    gap: var(--space-sm);
  }

  .filter-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    flex-direction: column;
  }

  .floating-item {
    width: 50px;
    height: 50px;
    font-size: var(--text-lg);
  }

  .hero-avatar-container {
    width: 250px;
    height: 250px;
  }

  .hero-avatar {
    width: 180px;
    height: 180px;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Progress Bar for Page Loading */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--gradient-primary);
  z-index: var(--z-tooltip);
  transition: width 0.3s ease;
}

/* Smooth scrolling for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Form validation styles */
.form-group input.error,
.form-group textarea.error {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.success,
.form-group textarea.success {
  border-color: var(--success-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.field-error {
  color: var(--error-color);
  font-size: var(--text-xs);
  margin-top: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.field-error::before {
  content: "⚠";
  font-size: var(--text-sm);
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Creative Mobile Navigation Animations */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatingBubbles {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-15px) rotate(-3deg);
    opacity: 0.9;
  }
  75% {
    transform: translateY(-25px) rotate(2deg);
    opacity: 0.7;
  }
}

@keyframes navLinkEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes menuEntrance {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Mobile-Specific Enhancements */
@media (max-width: 768px) {
  /* Mobile Slide-In Animations */
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes mobileCardSlide {
    from {
      opacity: 0;
      transform: translateY(20px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* Enhanced Card Entrance Animations */
  .skill-category,
  .experience-card,
  .project-card {
    animation: mobileCardSlide 0.6s ease forwards;
  }

  .skill-category:nth-child(1) {
    animation-delay: 0.1s;
  }
  .skill-category:nth-child(2) {
    animation-delay: 0.2s;
  }
  .skill-category:nth-child(3) {
    animation-delay: 0.3s;
  }

  /* Mobile Touch Feedback */
  .btn:active,
  .tech-icon:active,
  .skill-category:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  /* Mobile-Optimized Hover Effects */
  @media (hover: none) and (pointer: coarse) {
    .skill-category:hover,
    .experience-card:hover,
    .project-card:hover {
      transform: none;
    }

    .tech-icon:hover {
      transform: none;
    }
  }

  /* Improved Mobile Readability */
  .hero-description,
  .about-description,
  .experience-achievements li {
    font-size: var(--text-lg);
    line-height: 1.8;
  }

  /* Mobile Progress Bars Enhancement */
  .skill-progress {
    height: 12px;
    border-radius: var(--border-radius-lg);
  }

  /* Enhanced Mobile Typography */
  .experience-info h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }

  .experience-info h4 {
    font-size: clamp(1rem, 3.5vw, 1.25rem);
  }

  /* Mobile Button Enhancements */
  .btn {
    min-height: 48px;
    touch-action: manipulation;
  }

  /* Mobile Form Improvements */
  .form-group input,
  .form-group textarea {
    min-height: 48px;
    font-size: 16px; /* Prevents zoom on iOS */
    touch-action: manipulation;
  }

  /* Mobile-Specific Card Spacing */
  .experience-card,
  .skill-category,
  .project-card {
    margin-bottom: var(--space-2xl);
  }

  /* Enhanced Mobile Timeline */
  .timeline-dot {
    width: 16px;
    height: 16px;
    box-shadow: 0 0 0 3px var(--primary-color), 0 0 15px rgba(99, 102, 241, 0.4);
  }

  /* Mobile Social Links */
  .social-link {
    min-height: 48px;
    touch-action: manipulation;
  }
}

/* Complete Mobile Experience Fix */
@media (max-width: 768px) {
  /* Fix Container and Spacing */
  .container {
    padding: 0 var(--space-lg);
  }

  section {
    padding: var(--space-3xl) 0;
  }

  /* Fix About Section Mobile */
  .about-content {
    gap: var(--space-2xl);
    text-align: center;
  }

  .about-text {
    order: 2;
  }

  .about-image {
    order: 1;
  }

  .about-highlights {
    margin: var(--space-xl) 0;
  }

  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-lg);
  }

  /* Fix Skills Section Mobile */
  .skills-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .category-header {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .category-icon {
    width: 60px;
    height: 60px;
    font-size: var(--text-xl);
    margin: 0 auto;
  }

  .skill-item {
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  .skill-bar {
    height: 8px;
  }

  /* Fix Technology Icons Mobile */
  .tech-icons {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .tech-icon {
    padding: var(--space-lg);
    font-size: var(--text-lg);
  }

  .tech-icon i {
    font-size: var(--text-2xl);
  }

  .tech-icon span {
    font-size: var(--text-xs);
  }

  /* Fix Projects Section Mobile */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .project-image {
    height: 200px;
  }

  .project-content {
    padding: var(--space-lg);
  }

  .project-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
  }

  .project-content p {
    font-size: var(--text-sm);
    line-height: 1.6;
  }

  /* Fix Contact Section Mobile */
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
    padding: var(--space-xl);
  }

  .contact-item {
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .social-links {
    justify-content: center;
    gap: var(--space-md);
  }

  .social-link {
    padding: var(--space-md);
    min-width: 120px;
    justify-content: center;
  }

  /* Fix Form Elements Mobile */
  .form-group input,
  .form-group textarea {
    padding: var(--space-md) var(--space-lg) var(--space-md) 45px;
    font-size: 16px; /* Prevent zoom on iOS */
    border-radius: var(--border-radius);
  }

  .form-group i {
    left: var(--space-md);
    font-size: var(--text-base);
  }

  /* Fix Navigation Mobile */
  .nav-link {
    color: var(--text-primary);
    text-shadow: none;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-base);
  }

  .nav-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
  }

  /* Fix Hero Section Order for Mobile */
  .hero-image {
    order: 1;
    margin-bottom: var(--space-xl);
  }

  .hero-content {
    order: 2;
  }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .skill-category,
  .experience-card,
  .project-card {
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
  }

  .hero-buttons .btn {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-sm);
  }

  .category-icon {
    width: 50px;
    height: 50px;
    font-size: var(--text-lg);
  }

  .tech-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-icon {
    padding: var(--space-md);
  }

  .hero-avatar-container {
    width: 220px;
    height: 220px;
  }

  .hero-avatar {
    width: 160px;
    height: 160px;
  }

  /* Enhanced Mobile Floating Elements */
  .floating-elements {
    display: block;
  }

  .floating-item {
    width: 45px;
    height: 45px;
    font-size: var(--text-base);
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0.25) 50%,
      rgba(255, 255, 255, 0.3) 100%
    );
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 4px 15px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation-duration: 8s;
  }

  .floating-item:nth-child(1) {
    top: 8%;
    left: 5%;
  }

  .floating-item:nth-child(2) {
    top: 18%;
    right: 8%;
  }

  .floating-item:nth-child(3) {
    bottom: 35%;
    left: 2%;
  }

  .floating-item:nth-child(4) {
    bottom: 15%;
    right: 5%;
  }

  .floating-item:nth-child(5) {
    top: 50%;
    left: -2%;
  }

  .floating-item:nth-child(6) {
    top: 75%;
    right: 2%;
  }
}

/* Ultra Small Screens (320px and below) */
@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .skill-category,
  .experience-card {
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  .hero-title {
    font-size: var(--text-2xl);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .hero-buttons .btn {
    max-width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
  }

  .category-icon {
    width: 40px;
    height: 40px;
    font-size: var(--text-base);
  }

  .tech-icons {
    grid-template-columns: 1fr 1fr;
  }

  .tech-icon {
    padding: var(--space-sm);
  }

  .hero-avatar-container {
    width: 180px;
    height: 180px;
  }

  .hero-avatar {
    width: 130px;
    height: 130px;
  }

  .section-title {
    font-size: var(--text-xl);
  }

  .section-subtitle {
    font-size: var(--text-base);
  }

  .stat-item {
    padding: var(--space-sm);
  }

  .contact-form {
    padding: var(--space-lg);
  }
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .skill-progress,
  .timeline-dot,
  .category-icon {
    border-radius: calc(var(--border-radius-lg) + 1px);
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 3rem var(--space-lg) 2rem;
    min-height: 70vh;
  }

  .hero-container {
    gap: var(--space-2xl);
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .hero-avatar-container {
    width: 200px;
    height: 200px;
  }

  .hero-avatar {
    width: 150px;
    height: 150px;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.hidden {
  display: none;
}
.visible {
  display: block;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: var(--space-xs);
}
.mt-2 {
  margin-top: var(--space-sm);
}
.mt-3 {
  margin-top: var(--space-md);
}
.mt-4 {
  margin-top: var(--space-lg);
}
.mt-5 {
  margin-top: var(--space-xl);
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: var(--space-xs);
}
.mb-2 {
  margin-bottom: var(--space-sm);
}
.mb-3 {
  margin-bottom: var(--space-md);
}
.mb-4 {
  margin-bottom: var(--space-lg);
}
.mb-5 {
  margin-bottom: var(--space-xl);
}
