/* ==========================================================================
   Bethanasamy Rajamani's Premium E-Portfolio CSS Stylesheet
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
  /* Common variables */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  
  /* Default Dark Theme Variables */
  --bg-primary: #060913;
  --bg-secondary: #0b0f19;
  --bg-tertiary: #111827;
  --bg-glass: rgba(11, 15, 25, 0.7);
  --bg-glass-heavy: rgba(6, 9, 19, 0.85);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-violet: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(139, 92, 246, 0.3);
  --shadow-color: rgba(0, 0, 0, 0.5);
  
  --card-glow-violet: rgba(139, 92, 246, 0.12);
  --card-glow-blue: rgba(59, 130, 246, 0.12);
  --card-glow-cyan: rgba(6, 182, 212, 0.12);
  --card-glow-emerald: rgba(16, 185, 129, 0.12);
}

/* Light Theme Overrides */
body.light-theme {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-glass-heavy: rgba(248, 250, 252, 0.9);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --accent-violet: #6d28d9;
  --accent-blue: #1d4ed8;
  --accent-cyan: #0891b2;
  --accent-emerald: #047857;
  --accent-gradient: linear-gradient(135deg, #6d28d9 0%, #1d4ed8 50%, #0891b2 100%);
  
  --border-color: rgba(15, 23, 42, 0.08);
  --border-color-glow: rgba(109, 40, 217, 0.2);
  --shadow-color: rgba(15, 23, 42, 0.08);
  
  --card-glow-violet: rgba(109, 40, 217, 0.04);
  --card-glow-blue: rgba(29, 78, 216, 0.04);
  --card-glow-cyan: rgba(8, 145, 178, 0.04);
  --card-glow-emerald: rgba(4, 120, 87, 0.04);
}

/* Base Styles & Resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--border-radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-violet);
}

/* Background Canvas Particles */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* Global Layout Utilities */
section {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}

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

/* Header Section */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.title-underline {
  height: 4px;
  width: 60px;
  background: var(--accent-gradient);
  margin: 0 auto 24px auto;
  border-radius: var(--border-radius-full);
}

.section-lead {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 18px;
}

/* Glassmorphism card styles */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px -10px var(--shadow-color);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-glow);
}

/* Glowing Orbs */
.glow-orb {
  position: absolute;
  filter: blur(100px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 4px 30px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-violet);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Navigation Header */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  transition: height var(--transition-normal), background-color var(--transition-normal);
}

.glass-nav.scrolled {
  height: 64px;
  box-shadow: 0 10px 30px -15px var(--shadow-color);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-svg {
  width: 36px;
  height: 36px;
}

.logo-pulse {
  animation: pulse 2s infinite ease-in-out;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.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-fast);
  border-radius: var(--border-radius-full);
}

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

.contact-btn {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 8px 20px;
  border-radius: var(--border-radius-full);
  color: var(--text-primary);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.contact-btn:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

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

.icon-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

#mobile-menu-btn {
  display: none;
}

/* Mobile Navigation Drawer */
.glass-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  z-index: 10000;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 30px var(--shadow-color);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: right var(--transition-normal);
}

.glass-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-link {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
}

.mobile-link:hover, .mobile-link.active {
  color: var(--text-primary);
  padding-left: 8px;
}

.contact-btn-mobile {
  margin-top: 16px;
  text-align: center;
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 12px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--accent-violet);
  padding: 8px 16px;
  border-radius: var(--border-radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-violet);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-violet);
  animation: glow 1.5s infinite ease-in-out;
}

.hero-title {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 16px;
  word-wrap: break-word;
}

.title-suffix {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.cursor {
  animation: blink 0.8s infinite;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-description strong {
  color: var(--text-primary);
}

.hero-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.pill-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--border-radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-badge i {
  color: var(--accent-blue);
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
}

.visual-wrapper .glow-orb {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hologram-svg {
  width: 100%;
  height: 100%;
}

.hologram-core {
  filter: drop-shadow(0 0 20px var(--accent-violet));
  animation: pulse-core 4s infinite ease-in-out;
}

.hologram-orbit {
  transform-origin: center;
  stroke-dasharray: 4;
}

.orbit-1 {
  animation: spin-orbit 15s infinite linear;
}

.orbit-2 {
  animation: spin-orbit-reverse 20s infinite linear;
}

.orbit-3 {
  animation: spin-orbit 25s infinite linear;
}

.hologram-node {
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.hologram-node:hover {
  transform: scale(1.15) translate(0px, 0px);
}

/* About/Pillars Section */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.pillar-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transition: opacity var(--transition-normal);
  opacity: 0;
}

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

.pillar-card:nth-child(1)::before { background: var(--accent-violet); }
.pillar-card:nth-child(2)::before { background: var(--accent-blue); }
.pillar-card:nth-child(3)::before { background: var(--accent-cyan); }

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.violet-glow {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-violet);
  box-shadow: 0 0 20px var(--card-glow-violet);
}

.blue-glow {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  box-shadow: 0 0 20px var(--card-glow-blue);
}

.cyan-glow {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--card-glow-cyan);
}

.pillar-title {
  font-size: 20px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.pillar-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
}

.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.pillar-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
}

.pillar-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
}

/* Innovations/Projects Section */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: var(--border-radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

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

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), opacity var(--transition-normal) !important;
}

.project-image-mockup {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gcp-gradient {
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
}

.aws-gradient {
  background: linear-gradient(135deg, #022c22 0%, #032b30 100%);
}

.poc-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.poc-gradient-2 {
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
}

.poc-gradient-3 {
  background: linear-gradient(135deg, #082f49 0%, #0c4a6e 100%);
}

.poc-gradient-4 {
  background: linear-gradient(135deg, #1e1b4b 0%, #172554 100%);
}

.mockup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.project-icon {
  font-size: 40px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
}

.mockup-tag {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.project-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tag {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.project-title {
  font-size: 22px;
  margin-bottom: 4px;
}

.project-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.project-tech-tags span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Skills Hub Section */
.skills-layout {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 40px;
  align-items: start;
}

.skills-categories-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-nav-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px 24px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-nav-btn::after {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  opacity: 0;
  transform: translateX(-5px);
  transition: all var(--transition-fast);
}

.skill-nav-btn:hover, .skill-nav-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.skill-nav-btn:hover::after, .skill-nav-btn.active::after {
  opacity: 1;
  transform: translateX(0);
}

.skills-content-panel {
  padding: 40px;
  min-height: 400px;
}

.skill-category-pane {
  display: none;
  animation: fadeIn var(--transition-normal);
}

.skill-category-pane.active {
  display: block;
}

.pane-title {
  font-size: 24px;
  margin-bottom: 32px;
  color: var(--text-primary);
  border-left: 4px solid var(--accent-violet);
  padding-left: 16px;
}

.skill-items-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
}

.skill-percentage {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-cyan);
}

.skill-progress-bar {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-full);
  overflow: hidden;
  position: relative;
}

.skill-progress-bar span {
  display: block;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: var(--border-radius-full);
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: fill-bar 1.5s forwards cubic-bezier(0.1, 1, 0.1, 1);
}

/* Timeline/Experience Section */
.timeline-section {
  overflow: hidden;
}

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  z-index: 0;
}

.timeline-node {
  margin-bottom: 40px;
  margin-left: 64px;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.timeline-marker {
  position: absolute;
  left: -48px;
  top: 36px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
  transition: all var(--transition-fast);
  z-index: 2;
}

.timeline-node:hover .timeline-marker {
  background: var(--accent-violet);
  border-color: var(--accent-violet);
  box-shadow: 0 0 15px var(--accent-violet);
  transform: scale(1.2);
}

.timeline-node.active .timeline-marker {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
}

.timeline-header {
  margin-bottom: 20px;
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.timeline-role {
  font-size: 20px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.timeline-company {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

.timeline-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-body li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.timeline-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-violet);
}

.timeline-body strong {
  color: var(--text-primary);
}

/* Collapsible Timeline Node */
.collapsible-node {
  border-style: dashed;
}

.collapsible-node .trigger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-primary);
  cursor: pointer;
  background: var(--bg-primary);
  border: 2px solid var(--accent-violet);
  box-shadow: 0 0 10px var(--accent-violet);
  width: 24px;
  height: 24px;
  left: -52px;
  top: 32px;
}

.collapsible-node.expanded .trigger-icon i {
  transform: rotate(45deg);
}

.toggle-trigger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.collapsable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.collapsible-node.expanded .collapsable-content {
  max-height: 2000px;
  margin-top: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.sub-milestone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--border-color);
}

.sub-date {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.sub-milestone h5 {
  font-size: 15px;
  font-weight: 600;
}

.sub-milestone p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Credentials Section */
.credentials-layout {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 40px;
}

.column-title {
  font-size: 22px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-violet { color: var(--accent-violet); }
.text-cyan { color: var(--accent-cyan); }

.edu-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.edu-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.edu-date {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-violet);
  background: rgba(139, 92, 246, 0.1);
  padding: 4px 12px;
  border-radius: var(--border-radius-full);
  margin-bottom: 12px;
}

.edu-degree {
  font-size: 16px;
  margin-bottom: 6px;
  line-height: 1.4;
}

.edu-school {
  font-size: 13px;
  color: var(--text-secondary);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.cert-item {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.cert-icon {
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yellow-glow { background: rgba(234, 179, 8, 0.1); color: #eab308; box-shadow: 0 0 15px rgba(234, 179, 8, 0.1); }
.green-glow { background: rgba(16, 185, 129, 0.1); color: #10b981; box-shadow: 0 0 15px rgba(16, 185, 129, 0.1); }
.red-glow { background: rgba(239, 68, 68, 0.1); color: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.1); }
.purple-glow { background: rgba(168, 85, 247, 0.1); color: #a855f7; box-shadow: 0 0 15px rgba(168, 85, 247, 0.1); }
.orange-glow { background: rgba(249, 115, 22, 0.1); color: #f97316; box-shadow: 0 0 15px rgba(249, 115, 22, 0.1); }

.cert-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.cert-org {
  font-size: 11px;
  color: var(--text-muted);
}

/* Contact Section */
.contact-layout {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 40px;
}

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

.contact-info-card h3 {
  font-size: 24px;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-method i {
  font-size: 20px;
  color: var(--accent-cyan);
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  background: rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method h5 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.contact-method p {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 600;
}

.social-connect {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-connect h5 {
  font-size: 14px;
  color: var(--text-secondary);
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.social-icon.linkedin:hover {
  background-color: #0077b5;
  border-color: #0077b5;
}

.social-icon.github:hover {
  background-color: #24292e;
  border-color: #24292e;
}

.contact-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form h3 {
  font-size: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px;
  font-family: var(--font-body);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-violet);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
}

.form-feedback {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

.form-feedback.success { color: var(--accent-emerald); }
.form-feedback.error { color: #ef4444; }

/* Footer */
.main-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
  text-align: center;
  z-index: 1;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-subtext {
  font-size: 12px;
}

/* Animations */
@keyframes blink {
  50% { opacity: 0; }
}

@keyframes spin-orbit {
  100% { transform: rotate(360deg); }
}

@keyframes spin-orbit-reverse {
  100% { transform: rotate(-360deg); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse-core {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px var(--accent-violet)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 30px var(--accent-blue)); }
}

@keyframes glow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 5px var(--accent-violet); }
  50% { transform: scale(1.2); box-shadow: 0 0 15px var(--accent-cyan); }
}

@keyframes fill-bar {
  to { transform: scaleX(1); }
}

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

/* Responsive Breakpoints */
@media (max-width: 992px) {
  section {
    padding: 80px 20px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-badges-container {
    justify-content: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .skills-layout {
    grid-template-columns: 1fr;
  }
  
  .skills-categories-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .skill-nav-btn {
    flex-grow: 1;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
  }
  
  .skill-nav-btn::after {
    display: none;
  }
  
  .credentials-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #mobile-menu-btn {
    display: flex;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .title-suffix {
    font-size: 24px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .timeline-line {
    left: 16px;
  }
  
  .timeline-node {
    margin-left: 36px;
    padding: 24px;
  }
  
  .timeline-marker {
    left: -28px;
    top: 36px;
  }
  
  .collapsible-node .trigger-icon {
    left: -32px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .skills-content-panel {
    padding: 20px;
  }
}
