/* ==========================================================================
   SAGAR THAKUR PORTFOLIO - GEN Z / TECH-EXECUTIVE DESIGN SYSTEM
   ========================================================================== */

/* --- Typography Imports (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette - Premium Silver & Neon Cyber (Light Mode) */
  --bg-primary: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%); /* Silver Gradient */
  --bg-secondary: #ffffff;       /* Pure White */
  --bg-card: rgba(255, 255, 255, 0.65); /* Glassmorphic Card Backdrop */
  --bg-input: rgba(241, 245, 249, 0.9);
  --border-color: rgba(15, 23, 42, 0.06); /* Soft Slate Border */
  
  --text-primary: #0f172a;       /* Deep Charcoal for headlines */
  --text-secondary: #334155;     /* Slate Grey for body copy */
  --text-muted: #94a3b8;         /* Muted Slate */
  
  /* Neon Brand Accents (Vercel / Linear Vibe) */
  --accent-primary: #d946ef;     /* Neon Magenta-Pink */
  --accent-secondary: #06b6d4;   /* Electric Cyan */
  --accent-tertiary: #a855f7;    /* Electric Violet */
  --accent-lime: #84cc16;        /* Cyber Lime */
  
  --accent-gradient: linear-gradient(135deg, #d946ef 0%, #a855f7 50%, #06b6d4 100%);
  --text-gradient: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #06b6d4 100%);
  --accent-glow: rgba(217, 70, 239, 0.08);
  --border-glow-gradient: linear-gradient(135deg, rgba(217, 70, 239, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  
  /* Utilities */
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 30px -4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.08);
  --glass-filter: blur(20px);
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 10px;
  --border-radius-md: 20px;
  --border-radius-lg: 32px;
}

/* --- Theme Support is strictly Dark and High-contrast for Gen Z tech flavor --- */

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-primary);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Custom Scrollbar - Cyber Style */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

/* ==========================================================================
   REUSABLE UTILITIES & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Premium Gen Z Glowing Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  gap: 10px;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 8px 24px 0 var(--accent-glow);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, #06b6d4 0%, #a855f7 50%, #d946ef 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px 0 rgba(217, 70, 239, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

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

.btn-secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(217, 70, 239, 0.05);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 4px 15px 0 var(--accent-glow);
}

/* Glassmorphism Bento and Standard Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.0) 100%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(217, 70, 239, 0.3);
  box-shadow: 0 12px 40px -10px rgba(217, 70, 239, 0.15), var(--shadow-lg);
  transform: translateY(-4px) scale(1.01);
}

/* Cybernetic Neon Ambient Glowing Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
  animation: float-orb 15s infinite alternate ease-in-out;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: var(--accent-primary);
  top: -150px;
  right: -100px;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: var(--accent-secondary);
  bottom: 5%;
  left: -150px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span {
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 3px;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-normal);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hide toggle since we force obsidian dark mode */
.theme-toggle {
  display: none;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.mobile-nav-toggle:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

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

.hero-role {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  min-height: 3rem;
  height: auto;
  margin-bottom: 24px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.typed-cursor {
  font-weight: 300;
  color: var(--accent-secondary);
  animation: blink 0.7s infinite;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 54px;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-socials span {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.social-icon:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  background: rgba(217, 70, 239, 0.08);
  box-shadow: 0 0 16px var(--accent-primary);
  transform: translateY(-4px) scale(1.05);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Cybernetic Neon Profile Picture Mask Frame */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.visual-backdrop {
  position: absolute;
  width: 380px;
  height: 380px;
  background: var(--accent-gradient);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  z-index: 1;
  animation: float-visual 10s infinite alternate ease-in-out;
}

/* Glowing rotating cyber ring */
.visual-shield {
  width: 320px;
  height: 320px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: var(--accent-gradient);
  padding: 4px; /* Border gap for gradient border */
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
  animation: blobby 12s infinite alternate ease-in-out;
  transition: all var(--transition-normal);
}

.visual-avatar {
  width: 100%;
  height: 100%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: var(--bg-secondary);
  overflow: hidden;
  animation: blobby 12s infinite alternate ease-in-out;
}

.visual-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform var(--transition-normal);
}

.visual-shield:hover img {
  transform: scale(1.15);
}

.visual-shield:hover {
  transform: scale(1.03) rotate(2deg);
  box-shadow: 0 0 60px rgba(217, 70, 239, 0.4);
}

/* ==========================================================================
   ABOUT / STATS SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.about-info h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.about-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 24px;
  line-height: 1.8;
}

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

.stat-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px 24px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  text-align: center;
  transition: all var(--transition-normal);
}

.stat-item:hover {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
  transform: scale(1.03);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   BENTO GRID SKILLS SECTION
   ========================================================================== */
.skills-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 28px;
}

.bento-card {
  position: relative;
  border-radius: var(--border-radius-md);
  background: var(--bg-card);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hover Glowing Border Highlight */
.bento-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 40px -10px rgba(6, 182, 212, 0.2), var(--shadow-lg);
  transform: translateY(-6px) scale(1.01);
}

.bento-wide {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

.bento-card-header {
  margin-bottom: 24px;
}

.bento-card-tag {
  display: inline-block;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-secondary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.bento-card-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.bento-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.bento-skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.bento-badge {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.bento-badge:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 0 15px var(--accent-glow);
  transform: translateY(-2px);
}

/* Mini stat highlight inside bento */
.bento-metric {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 20px;
}

/* ==========================================================================
   EXPERIENCE SECTION (TIMELINE)
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 60px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--accent-secondary);
  z-index: 2;
  box-shadow: 0 0 14px var(--accent-secondary);
  transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-primary);
  transform: scale(1.2);
}

.timeline-content {
  position: relative;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.timeline-role {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.timeline-company {
  color: var(--accent-secondary);
  font-weight: 700;
  margin-left: 8px;
}

.timeline-duration {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.timeline-bullets {
  list-style-type: none;
  padding-left: 4px;
  margin-bottom: 20px;
}

.timeline-bullets li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--accent-primary);
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.tag:hover {
  border-color: rgba(6, 182, 212, 0.3);
  color: #ffffff;
  background: rgba(6, 182, 212, 0.05);
}

/* ==========================================================================
   PORTFOLIO (PROJECTS) SECTION
   ========================================================================== */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
  color: #ffffff;
  background: var(--accent-gradient);
  border-color: transparent;
  box-shadow: 0 4px 15px var(--accent-glow);
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.project-category {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-primary);
  background: var(--accent-glow);
  border: 1px solid rgba(217, 70, 239, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
}

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

.project-link-icon {
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.project-link-icon:hover {
  color: var(--accent-secondary);
  transform: scale(1.15);
}

.project-link-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.project-card:hover .project-title {
  color: var(--accent-secondary);
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

/* ==========================================================================
   RECOMMENDATIONS SECTION
   ========================================================================== */
.recommendations-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.recommendations-track {
  overflow: hidden;
  position: relative;
}

.recommendation-card {
  display: none;
  animation: fadeIn var(--transition-normal);
  padding: 48px;
}

.recommendation-card.active {
  display: block;
}

.reco-icon {
  color: var(--accent-primary);
  margin-bottom: 24px;
  opacity: 0.6;
}

.reco-icon svg {
  width: 44px;
  height: 44px;
  fill: currentColor;
}

.reco-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 32px;
}

.reco-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.reco-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  overflow: hidden;
}

.reco-avatar svg {
  width: 100%;
  height: 100%;
}

.reco-info h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.reco-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.reco-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.reco-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.reco-dot.active {
  background: var(--accent-primary);
  transform: scale(1.3);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

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

.contact-card {
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border: 1px solid rgba(217, 70, 239, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-details h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Interactive Cyber Contact Form */
.contact-form-wrapper {
  position: relative;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  transition: all var(--transition-normal);
}

.form-control:focus {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.2);
  background: var(--bg-secondary);
}

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

.form-status {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
  animation: fadeIn var(--transition-fast);
}

.form-status.success {
  display: block;
  color: #10b981;
}

.form-status.error {
  display: block;
  color: #f43f5e;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 50px 0;
  background: var(--bg-secondary);
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes blink {
  50% { opacity: 0; }
}

@keyframes float-visual {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-orb {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
  100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes blobby {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-socials {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 20px;
  }

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

  .skills-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-wide {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  /* Navigation elements on mobile */
  .mobile-nav-toggle {
    display: flex;
    z-index: 101;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right var(--transition-normal);
    z-index: 99;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    right: 0;
  }

  .section {
    padding: 90px 0;
  }

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

  .hero-role {
    font-size: 1.8rem;
    min-height: 2.5rem;
    height: auto;
  }

  .visual-shield {
    width: 260px;
    height: 260px;
  }

  .visual-backdrop {
    width: 280px;
    height: 280px;
  }

  .skills-bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-wide, .bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-card {
    padding: 24px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    padding-left: 30px;
  }

  .timeline-dot {
    left: 5px;
    width: 14px;
    height: 14px;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .recommendation-card {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

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

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

  .hero-role {
    font-size: 1.3rem;
  }

  .visual-shield {
    width: 230px;
    height: 230px;
  }

  .visual-backdrop {
    width: 250px;
    height: 250px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 12px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

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