/* ===== CSS RESET & BASE STYLES ===== */
:root {
  /* Colors */
  --primary-color: #4a90e2;
  --secondary-color: #6c5ce7;
  --accent-color: #00b894;
  --success-color: #00b894;
  --warning-color: #fdcb6e;
  --error-color: #e84393;
  
  /* Text Colors */
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-light: #a0aec0;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #edf2f7;
  --bg-overlay: rgba(0, 0, 0, 0.8);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #4a90e2 0%, #6c5ce7 100%);
  --gradient-accent: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
  
  /* Borders */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 20px;
  --border-color: #e2e8f0;
  
  /* 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;
  
  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-base: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
  
  /* Z-indexes */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

/* Dark Theme */
[data-theme="dark"] {
  --text-primary: #e2e8f0;
  --text-secondary: #cbd5e0;
  --text-muted: #a0aec0;
  --text-light: #718096;
  
  --bg-primary: #1a202c;
  --bg-secondary: #2d3748;
  --bg-tertiary: #4a5568;
  --bg-overlay: rgba(255, 255, 255, 0.1);
  
  --border-color: #4a5568;
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  transition: all var(--transition-base);
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  animation: pulse 2s infinite;
}

.preloader-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.preloader-progress {
  width: 200px;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 0;
  border-radius: 2px;
  animation: progressLoad 2s ease-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes progressLoad {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ===== CURSOR ===== */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-follower {
  width: 30px;
  height: 30px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.5;
  transition: all 0.3s ease;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  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 ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.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);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

[data-theme="dark"] .header {
  background: rgba(26, 32, 44, 0.95);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(26, 32, 44, 0.98);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--space-xl);
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: -2px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: rgba(74, 144, 226, 0.1);
}

.nav-link i {
  font-size: 0.9rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
  animation: heroBackground 20s linear infinite;
}

@keyframes heroBackground {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-10px, -10px); }
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 15s ease-in-out infinite;
}

.hero-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero-particles::after {
  bottom: 20%;
  right: 10%;
  animation-delay: 7s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(20px) rotate(240deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-greeting {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero-title {
  margin-bottom: 2rem;
}

.title-main {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.title-highlight {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
  font-style: italic;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: white;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: white;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.5); }
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-card {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.highlight-achievements {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.achievement-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.achievement-item h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.achievement-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.about-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.info-label {
  font-weight: 600;
  color: var(--text-secondary);
}

.info-value {
  color: var(--text-primary);
  font-weight: 500;
}

.education-section h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.education-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.edu-year {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  height: fit-content;
}

.edu-details h5 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.edu-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== EXPERIENCE SECTION ===== */
.experience {
  background: var(--bg-primary);
}

.experience-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-end;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-lg);
}

.timeline-period {
  background: var(--bg-primary);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  white-space: nowrap;
}

.experience-card {
  width: calc(50% - 60px);
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.timeline-item:nth-child(odd) .experience-card::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 2rem;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-right-color: var(--bg-primary);
}

.timeline-item:nth-child(even) .experience-card::before {
  content: '';
  position: absolute;
  right: -15px;
  top: 2rem;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-left-color: var(--bg-primary);
}

.company-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.company-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.nutriride-logo { background: var(--gradient-accent); }
.stag-logo { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.sg-logo { background: linear-gradient(135deg, #3498db, #2980b9); }
.bathla-logo { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.founder-logo { background: linear-gradient(135deg, #f39c12, #e67e22); }
.tech-mahindra-logo { background: linear-gradient(135deg, #2c3e50, #34495e); }

.company-info {
  flex: 1;
}

.position-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.company-name {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.employment-duration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius);
}

.key-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.responsibilities h5 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.responsibilities h5::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.achievement-list {
  list-style: none;
}

.achievement-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.achievement-list i {
  color: var(--primary-color);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.tech-stack {
  margin-top: 2rem;
}

.tech-stack h5 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.tech-tag:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* ===== PROJECTS SECTION ===== */
.projects {
  background: var(--bg-secondary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  position: relative;
  height: 200px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-icon {
  font-size: 4rem;
  color: white;
  opacity: 0.9;
  transition: all var(--transition-base);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-base);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-btn {
  background: white;
  color: var(--primary-color);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.project-btn:hover {
  transform: scale(1.1);
}

.project-content {
  padding: 2rem;
}

.project-category {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-features ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.project-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.project-features i {
  color: var(--success-color);
  font-size: 0.9rem;
}

.project-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.metric-item {
  text-align: center;
}

.metric-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== SKILLS SECTION ===== */
.skills {
  background: var(--bg-primary);
}

.skills-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.skill-category {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.category-header h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.skill-item {
  padding: 1rem 0;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.skill-name {
  font-weight: 600;
  color: var(--text-primary);
}

.skill-level {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--border-radius);
}

.skill-bar {
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  width: 0;
  border-radius: 3px;
  transition: width 2s ease-out;
}

.marketplace-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
}

.marketplace-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.marketplace-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.marketplace-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
}

.marketplace-logo.amazon { background: linear-gradient(135deg, #ff9f00, #ff6600); }
.marketplace-logo.flipkart { background: linear-gradient(135deg, #047bd6, #0056b3); }
.marketplace-logo.myntra { background: linear-gradient(135deg, #ee5f99, #d63384); }
.marketplace-logo.shopify { background: linear-gradient(135deg, #5fb3d4, #419fb8); }

.marketplace-item span {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.tech-skills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.tech-group h4 {
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.leadership-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.leadership-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
}

.leadership-item:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.leadership-item i {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-top: 0.2rem;
  transition: color var(--transition-base);
}

.leadership-item:hover i {
  color: white;
}

.leadership-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color var(--transition-base);
}

.leadership-item:hover h4 {
  color: white;
}

.leadership-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  transition: color var(--transition-base);
}

.leadership-item:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-card {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  height: fit-content;
}

.contact-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-card > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-text h4 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.contact-text a,
.contact-text span {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-text a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.contact-form-wrapper {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--transition-base);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
  min-height: 120px;
}

/* ===== WHATSAPP FLOATING BUTTON - FIXED ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-popover);
    font-family: inherit;
}

.whatsapp-content {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: translateY(20px) scale(0.8);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--border-color);
}

.whatsapp-float.active .whatsapp-content {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.whatsapp-header {
    background: #25d366;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.whatsapp-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp-info {
    flex: 1;
}

.whatsapp-info h4 {
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.status {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.status.online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #90ee90;
    border-radius: 50%;
    display: inline-block;
}

.whatsapp-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.whatsapp-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.whatsapp-body {
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.whatsapp-message {
    margin-bottom: 1rem;
}

.message-bubble {
    background: #e7f3ff;
    padding: 0.8rem;
    border-radius: 12px 12px 12px 4px;
    position: relative;
    margin-bottom: 0.5rem;
    max-width: 85%;
    word-wrap: break-word;
}

.message-bubble.received {
    background: #f0f2f5;
    border-radius: 12px 12px 4px 12px;
}

[data-theme="dark"] .message-bubble.received {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.message-bubble p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.5rem;
    text-align: right;
}

.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-reply {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.7rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: inherit;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-reply:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
    transform: translateX(3px);
}

.whatsapp-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.whatsapp-send-btn {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.9rem;
}

.whatsapp-send-btn:hover {
    background: #128c7e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-trigger {
    width: 60px;
    height: 60px;
    background: #25d366;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-trigger:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3b30;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid white;
    animation: badgePulse 1s infinite alternate;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

@keyframes badgePulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .whatsapp-content {
        width: 300px;
        right: -10px;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-content {
        width: 280px;
        right: -20px;
    }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  opacity: 0;
  pointer-events: none;
  z-index: var(--z-fixed);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-lg);
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-link {
    padding: 1rem;
    border-radius: var(--border-radius);
    background: var(--bg-secondary);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .title-main {
    font-size: 3rem;
  }
  
  .title-highlight {
    font-size: 1.2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .experience-timeline::before {
    left: 2rem;
  }
  
  .timeline-marker {
    left: 2rem;
    transform: none;
  }
  
  .experience-card {
    width: calc(100% - 6rem);
    margin-left: 6rem;
  }
  
  .timeline-item:nth-child(even) .experience-card {
    margin-left: 6rem;
  }
  
  .timeline-item:nth-child(odd) .experience-card::before,
  .timeline-item:nth-child(even) .experience-card::before {
    left: -15px;
    right: auto;
    border-right-color: var(--bg-primary);
    border-left-color: transparent;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-content {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .title-main {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .project-card {
    min-width: 300px;
  }
  
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }
  
  .back-to-top {
    bottom: 1rem;
    left: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .header,
  .whatsapp-float,
  .back-to-top {
    display: none;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  body {
    font-size: 12px;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
