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

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #8b5cf6;
  --secondary-color: #06b6d4;
  --accent-color: #f59e0b;
  --accent-pink: #ec4899;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  --gradient-text: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-pink) 100%
  );
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  background: var(--bg-primary);
}

/* Enhanced cursor system with multiple elements */
.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  background: rgba(99, 102, 241, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  pointer-events:none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.05s ease;
}

/* Enhanced loading screen with animated logo */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.loading-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.loading-circle {
  animation: drawCircle 2s ease-in-out infinite;
}

.loading-text {
  position: absolute;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.loading-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  text-align: center;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes drawCircle {
  0% {
    stroke-dashoffset: 283;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -283;
  }
}

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

/* Added scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1001;
}

.scroll-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 0.1s ease;
}

/* Enhanced particle system */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

#particles-canvas,
#particles-canvas-2 {
  position: absolute;
  width: 100%;
  height: 100%;
}

#particles-canvas-2 {
  opacity: 0.3;
}

/* Added cursor follower styles */
/* ... existing code here ... */

/* Added loading screen */
/* ... existing code here ... */

/* Added particle background */
/* ... existing code here ... */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Enhanced navigation with better styling */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
  position: relative;
}

.nav-logo h2 {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.5rem;
}

/* Added animated logo underline */
.logo-underline {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-logo:hover .logo-underline {
  width: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

/* Enhanced nav links with hover effects */
.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Enhanced hero section with modern design */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--bg-secondary) 0%,
    var(--bg-primary) 100%
  );
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Added animated background elements */
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 100%
  );
  animation: float 6s ease-in-out infinite;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

.circle-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 30%;
  animation-delay: 4s;
}

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

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Enhanced hero badge with pulse animation */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.badge-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50px;
  animation: badgePulse 3s ease-in-out infinite;
}

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

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Enhanced hero stats with better styling */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat {
  text-align: center;
  position: relative;
}

.stat-number {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: "Playfair Display", serif;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Enhanced buttons with magnetic effect */
.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

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

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Enhanced magnetic button effect */
.magnetic-btn {
  transition: transform 0.3s ease;
}

/* Enhanced floating cards with 3D effects and particles */
.hero-visual {
  position: relative;
  height: 500px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 180px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-icon i {
  font-size:1.5rem;
  color:white;
}

.card-title {
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  color: var(--text-primary);
}

.card-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 24px;
  overflow: hidden;
}

/* Added card glow effect */
.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 24px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.floating-card:hover .card-glow {
  opacity: 1;
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.05);
}

.floating-card i {
  font-size: 2.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.floating-card span {
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  color: var(--text-primary);
}

/* Added card stats */
.card-stats {
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

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

.card-2 {
  top: 30%;
  right: 55%;
}

.card-3 {
  bottom: 35%;
  left: 37%;
}

/* Section Styles */
section {
  padding:3vw;
  position: relative; 
}

/* Enhanced section titles */
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--text-primary);
  position: relative;
}

.title-underline {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Enhanced about section */
.about {
  background: var(--bg-primary);
}

.about .section-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bg-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(99, 102, 241, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 50%
    );
  animation: particleFloat 15s ease-in-out infinite;
}

.floating-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(139, 92, 246, 0.15)
  );
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}

.orb-2 {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 10%;
  animation-delay: 2s;
}

.orb-3 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 40%;
  animation-delay: 4s;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-40px) scale(1.1);
  }
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Added animated metrics */
.about-metrics {
  display: grid;
  gap: 2rem;
}

.metric {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.metric:hover {
  transform: translateX(10px);
}

.metric-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-icon i {
  color: white;
  font-size: 1.5rem;
}

.metric-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Enhanced skills section with progress bars */
.skills {
  background: var(--bg-secondary);
}

.skills .section-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.geometric-bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.geo-shape {
  position: absolute;
  background: linear-gradient(
    45deg,
    rgba(99, 102, 241, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  animation: geoRotate 12s linear infinite;
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 87px solid rgba(99, 102, 241, 0.1);
  background: none;
  top: 15%;
  left: 20%;
  animation-delay: 0s;
}

.geo-square {
  width: 80px;
  height: 80px;
  top: 70%;
  right: 25%;
  animation-delay: 3s;
}

.geo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  top: 40%;
  left: 80%;
  animation-delay: 6s;
}

.geo-hexagon {
  width: 70px;
  height: 70px;
  background: rgba(139, 92, 246, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  top: 25%;
  right: 10%;
  animation-delay: 9s;
}

@keyframes geoRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.skill-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(99, 102, 241, 0.1) 0%,
      transparent 50%
    );
  animation: skillParticleMove 20s ease-in-out infinite;
}

@keyframes skillParticleMove {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(10deg);
  }
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.skill-category:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.skill-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.skill-icon i {
  color: white;
  font-size: 2rem;
}

.skill-category h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Added skill progress bars */
.skill-progress {
  position: relative;
  width: 100%;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  margin: 1rem 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease;
}

.progress-text {
  position: absolute;
  right: 0;
  top: -25px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Tools Section */
.tools {
  background: var(--bg-primary);
}

.tools .section-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.wave-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
}

.wave-path {
  fill: rgba(99, 102, 241, 0.1);
  animation: waveMove 8s ease-in-out infinite;
}

@keyframes waveMove {
  0%,
  100% {
    d: path(
      "M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z"
    );
  }
  50% {
    d: path(
      "M0,0V60.29c47.79,15.2,103.59,25.17,158,21,70.36-3.37,136.33-25.31,206.8-29.5C438.64,45.43,512.34,65.67,583,85.05c69.27,25,138.3,35.88,209.4,25.08,36.15-8,69.85-20.84,104.45-32.34C989.49,35,1113-5.29,1200,65.47V0Z"
    );
  }
}

.tool-glow-effects {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at top,
      rgba(99, 102, 241, 0.1) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse at bottom,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 70%
    );
  animation: toolGlow 10s ease-in-out infinite;
}

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

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.tool-category h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tool-tag {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Experience Section */
.experience {
  background: var(--bg-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

}

.experience .section-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.timeline-bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.timeline-lines {
  position: absolute;
  width: 100%;
  height: 100%;
}

.timeline-line {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.3) 50%,
    transparent 100%
  );
  height: 2px;
  animation: timelineFlow 15s linear infinite;
}

.line-1 {
  top: 25%;
  width: 60%;
  left: 20%;
  animation-delay: 0s;
}

.line-2 {
  top: 50%;
  width: 80%;
  left: 10%;
  animation-delay: 5s;
}

.line-3 {
  top: 75%;
  width: 70%;
  left: 15%;
  animation-delay: 10s;
}

@keyframes timelineFlow {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.experience-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(99, 102, 241, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(139, 92, 246, 0.08) 0%,
      transparent 50%
    );
  animation: expParticleMove 18s ease-in-out infinite;
}

@keyframes expParticleMove {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

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

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--primary-color);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-date {
  flex: 0 0 150px;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  align-self: flex-start;
  margin-bottom: 2rem;
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin: 0 2rem;
}

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

.timeline-content h4 {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.achievements {
  display: grid;
  gap: 1rem;
}

.achievement {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.achievement i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

/* Projects Section */
.projects {
  background: var(--bg-primary);
}

.projects .section-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.grid-bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.grid-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(99, 102, 241, 0.3) 1px,
    transparent 0
  );
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

.grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(99, 102, 241, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 25s linear infinite reverse;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.project-spotlight {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spotlightMove 12s ease-in-out infinite;
}

@keyframes spotlightMove {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-30%, -30%) scale(1.2);
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

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

.project-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.project-meta h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.project-duration {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.project-results {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.result {
  text-align: center;
}

.result-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.result-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.project-tools {
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-tools .tool {
  background: var(--bg-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Certifications Section */
.certifications {
  background: var(--bg-secondary);
}

.certifications .section-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.cert-bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.cert-badges {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-badge {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(
    45deg,
    rgba(99, 102, 241, 0.2),
    rgba(139, 92, 246, 0.2)
  );
  border-radius: 50%;
  animation: badgeFloat 10s ease-in-out infinite;
}

.badge-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.badge-2 {
  top: 60%;
  right: 20%;
  animation-delay: 3s;
}

.badge-3 {
  bottom: 30%;
  left: 70%;
  animation-delay: 6s;
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

.cert-rays {
  position: absolute;
  width: 100%;
  height: 100%;
  background: conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      rgba(99, 102, 241, 0.1) 60deg,
      transparent 120deg
    ),
    conic-gradient(
      from 180deg at 50% 50%,
      transparent 0deg,
      rgba(139, 92, 246, 0.1) 60deg,
      transparent 120deg
    );
  animation: rayRotate 30s linear infinite;
}

@keyframes rayRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.modern-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom:4rem;
}

.modern-cert {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
}

.modern-cert:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
}

.cert-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(99, 102, 241, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modern-cert:hover .cert-glow {
  opacity: 1;
}

.cert-icon {
  width: 80px;
  height: 80px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
}

.cert-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-3px);
}

.cert-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.cert-item span {
  font-weight: 500;
}

.cert-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.cert-content p {
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
}

.cert-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Enhanced contact section */
.contact {
  background: var(--bg-primary);
}

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

.contact-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-info p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-details {
  display: grid;
  gap: 1.5rem; 
  margin-bottom: 3rem;
}

/* Enhanced contact items */
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  opacity: none !important;
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  color: white;
  font-size: 1.25rem;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-weight: 600;
  color: var(--text-primary);
}

/* Enhanced form styling */
.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.enhanced-form {
  display: grid;
  gap: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-input {
  width: 100%;
  padding: 1.5rem 0 0.5rem 0;
  border: none;
  border-bottom: 2px solid var(--border-color);
  font-size: 1rem;
  background: transparent;
  transition: all 0.3s ease;
  outline: none;
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 1rem;
  color: var(--text-light);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: 0;
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
}

.form-submit {
  justify-self: start;
  margin-top: 1rem;
}

/* Enhanced footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 2rem ;
  display: flex;

  
}

/* .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
} */


.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Enhanced responsive design */
@media (max-width: 768px) 
{
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cursor-follower,
  .cursor-dot {
    display: none;
  }

  .mesh-gradient {
    animation: none;
  }

  .floating-shapes {
    display: none;
  }

  .floating-card {
    min-width: 140px;
    padding: 1.5rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
  }

  .card-icon i {
    font-size: 1.25rem;
  }

  .contact-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: -2rem;
    line-height: 1.6;
}
 .timeline-line {
    left: 20px; 
  }

  .timeline-item {
    width: 100%;
    float: none;
    text-align: left;
  }
  .container
  {
    grid-template-columns:1fr ;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-form {
    padding: 2rem;
  }
  .contact-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: -2rem;
    line-height: 1.6;
}
.timeline-item 
  {
    width: 100%;
    float: none;
    text-align: left;
  }
  .container
  {
    grid-template-columns:1fr ;
  }
  .card-glow
  {
   position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 24px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  }

}
@media (max-width: 320px) 
{
  .timeline-item {
    width:100%;
    float:none;
    text-align:left;
  }
  .container
  {
    grid-template-columns:1fr ;
  }
}


/* Added scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-secondary);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--text-secondary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 24px;
    opacity: 0;
  }
}

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

/* Added back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.visible {
  transform: translateY(0);
  opacity: 1;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Enhanced glassmorphism effects */
/* ... existing code here ... */

/* Added floating shapes */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  background: linear-gradient(
    45deg,
    rgba(99, 102, 241, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 8s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 70%;
  right: 20%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 40%;
  right: 10%;
  animation-delay: 4s;
}

@keyframes morphShape {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg) scale(1);
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    transform: rotate(90deg) scale(1.1);
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    transform: rotate(180deg) scale(0.9);
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    transform: rotate(270deg) scale(1.05);
  }
}

/* Enhanced hero background with mesh gradient */
.mesh-gradient 
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(99, 102, 241, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(139, 92, 246, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 50%
    );
  animation: meshMove 20s ease-in-out infinite;
}

@keyframes meshMove 
{
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
}

/* Added typing animation */
.typing-text {
  display: inline-block;
}

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

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

/* Enhanced buttons with ripple effects */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn-text,
.btn-icon {
  position: relative;
  z-index: 1;
}

/* Visual background for floating cards */
.visual-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
}

.morph-shape {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(99, 102, 241, 0.05),
    rgba(139, 92, 246, 0.05)
  );
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 12s ease-in-out infinite;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cursor-follower,
  .cursor-dot {
    display: none;
  }

  .mesh-gradient {
    animation: none;
  }

  .floating-shapes {
    display: none;
  }

  .floating-card {
    min-width: 140px;
    padding: 1.5rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
  }

  .card-icon i {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

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