/* ==========================================================================
   DESIGN TOKENS & SYSTEM VARIABLES (PREMIUM CYBERNETIC THEME)
   ========================================================================== */
:root {
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Color Palette (Modern Deep Cybernetic Slate-Dark Theme) */
  --bg-primary: hsl(224, 71%, 4%);      /* Master background */
  --bg-secondary: hsl(223, 47%, 7%);    /* Section panels background */
  --bg-card: hsl(223, 40%, 11%);        /* Card background */
  --bg-card-hover: hsl(223, 35%, 15%);  /* Hover card background */
  
  --text-primary: hsl(210, 40%, 98%);
  --text-secondary: hsl(215, 20%, 75%);
  --text-muted: hsl(215, 16%, 55%);
  
  --accent-indigo: hsl(243, 75%, 59%);  /* Rich primary neon */
  --accent-cyan: hsl(188, 86%, 53%);    /* High-contrast highlight */
  --accent-violet: hsl(263, 70%, 50%);  /* Deeper glow */
  
  /* Modern Web Gradients */
  --accent-gradient: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  --accent-gradient-glow: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  --text-gradient: linear-gradient(135deg, var(--accent-cyan) 0%, hsl(243, 75%, 65%) 50%, var(--accent-violet) 100%);
  --card-border-gradient: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  --card-border-active: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(79, 70, 229, 0.3) 100%);
  
  /* Spacing & Layout */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions & Animation Easing (Apple-style spring physics) */
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   CSS RESET & BASE CONFIGURATION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: all var(--transition-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: hsl(223, 20%, 20%);
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-indigo);
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
}

/* ==========================================================================
   BACKGROUND ACCENTS & HOLOGRAPHIC GLOWS
   ========================================================================== */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
  animation: glow-float 25s infinite alternate ease-in-out;
}

.bg-glow-1 {
  background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}

.bg-glow-2 {
  background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
  top: 40%;
  left: -200px;
  animation-delay: -7s;
}

@keyframes glow-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

/* ==========================================================================
   GLASSMORPHISM & GENERAL UTILITIES
   ========================================================================== */
.glass-panel {
  background: rgba(10, 11, 18, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border-radius: 20px;
}

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

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(8, 9, 13, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all var(--transition-smooth);
}

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

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

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

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

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

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

.btn-contact {
  background: var(--accent-gradient);
  color: var(--text-primary) !important;
  padding: 8px 20px !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-contact::after {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  z-index: 1001;
}

.menu-bar {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-smooth);
}

.mobile-menu-btn.active .menu-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .menu-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .menu-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-weight: 600;
  border-radius: 12px;
  transition: all var(--transition-smooth);
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-primary);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-left: 16px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-resume {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
}

.btn-resume:hover {
  background: rgba(6, 182, 212, 0.08);
  color: var(--text-primary);
  transform: translateY(-3px);
  border-color: var(--text-primary);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.2);
}

/* ==========================================================================
   HERO SECTION & CHATBOT WIDGET
   ========================================================================== */
/* hero-section, hero-container: overridden by new split layout at bottom of file */


/* hero-avatar-wrapper: overridden by new split layout at bottom of file */


.badge-glow-wrapper {
  margin-bottom: 24px;
}

.badge-glow {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.hero-headline {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  max-width: 720px;
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 650px;
  line-height: 1.7;
}

.hero-actions {
  margin-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.hero-actions .btn-secondary,
.hero-actions .btn-resume {
  margin-left: 0;
}

.floating-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 600px;
}

.tech-chip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
}

.tech-chip:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-indigo);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.chat-widget-card {
  width: 100%;
  max-width: 400px;
  height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-widget-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 11, 18, 0.6);
}

.bot-avatar-wrapper {
  position: relative;
}

.bot-avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-indigo);
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid var(--bg-secondary);
}

.bot-header-text .bot-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.bot-header-text .bot-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-widget-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

/* Chat Bubbles */
.message {
  display: flex;
  max-width: 85%;
}

.msg-bot {
  align-self: flex-start;
}

.msg-user {
  align-self: flex-end;
}

.message-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.msg-bot .message-bubble {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top-left-radius: 4px;
  color: var(--text-primary);
}

.msg-user .message-bubble {
  background: var(--accent-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-right-radius: 4px;
  color: var(--text-primary);
}

.chat-widget-suggested-prompts {
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.suggested-prompt-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all var(--transition-smooth);
}

.suggested-prompt-btn:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.chat-widget-input-form {
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 11, 18, 0.6);
}

.chat-widget-input-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border var(--transition-smooth);
}

.chat-widget-input-form input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.chat-send-btn {
  background: var(--accent-gradient);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(79, 70, 229, 0.5);
}

/* Typing Simulator Dot Animation */
.typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px 0;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-secondary);
  animation: typing-bounce 1s infinite alternate;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* ==========================================================================
   SECTIONS SETUP
   ========================================================================== */
section {
  padding: 120px 0;
  position: relative;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: block;
  font-weight: 800;
}

/* When no subtitle follows, sections need more bottom spacing on title */
.section-title + *:not(.section-subtitle) {
  margin-top: 48px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 10px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 32px;
  margin-bottom: 48px;
  max-width: 640px;
  line-height: 1.7;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Scroll reveal trigger */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   ABOUT & SKILLS SECTION
   ========================================================================== */
.about-section {
  position: relative;
  background-image: linear-gradient(to right, hsla(224, 71%, 4%, 0.98) 40%, hsla(224, 71%, 4%, 0.88) 75%, hsla(224, 71%, 4%, 0.55) 100%), url('assets/about_illustration.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.about-subtitle {
  font-size: 1.35rem;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.about-description p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-header {
  margin-bottom: 48px;
}

/* ── Tagline chip above the title ──────────────────────────────────────────── */
.about-tagline-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(6, 182, 212, 0.07);
  border: 1px solid rgba(6, 182, 212, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-chip 2.5s ease-in-out infinite;
}

@keyframes pulse-chip {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ── Bio inline highlight chips ──────────────────────────────────────────────  */
.bio-chip {
  display: inline;
  padding: 2px 8px;
  border-radius: 6px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.95em;
}

.chip-ai      { background: rgba(6,182,212,0.12);   color: var(--accent-cyan);   border: 1px solid rgba(6,182,212,0.25); }
.chip-java    { background: rgba(255,148,48,0.12);   color: hsl(28,95%,65%);      border: 1px solid rgba(255,148,48,0.25); }
.chip-banking { background: rgba(168,85,247,0.12);   color: var(--accent-violet); border: 1px solid rgba(168,85,247,0.25); }

/* ── "What I bring" list ─────────────────────────────────────────────────── */
.about-brings {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-brings li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bring-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Stat cards row ──────────────────────────────────────────────────────── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 4px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-suffix {
  font-size: 1.2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-cyan   { border-color: rgba(6,182,212,0.2);   box-shadow: 0 0 24px rgba(6,182,212,0.06); }
.stat-cyan   .stat-number { background: linear-gradient(135deg, hsl(189,94%,53%), hsl(197,95%,68%)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-cyan:hover   { box-shadow: 0 8px 30px rgba(6,182,212,0.18); border-color: rgba(6,182,212,0.4); }

.stat-indigo { border-color: rgba(79,70,229,0.2);   box-shadow: 0 0 24px rgba(79,70,229,0.06); }
.stat-indigo .stat-number { background: linear-gradient(135deg, hsl(239,84%,67%), hsl(245,90%,75%)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-indigo:hover { box-shadow: 0 8px 30px rgba(79,70,229,0.18); border-color: rgba(79,70,229,0.4); }

.stat-violet { border-color: rgba(139,92,246,0.2);  box-shadow: 0 0 24px rgba(139,92,246,0.06); }
.stat-violet .stat-number { background: linear-gradient(135deg, hsl(263,70%,65%), hsl(270,80%,75%)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-violet:hover { box-shadow: 0 8px 30px rgba(139,92,246,0.18); border-color: rgba(139,92,246,0.4); }

.stat-orange { border-color: rgba(249,115,22,0.2);  box-shadow: 0 0 24px rgba(249,115,22,0.06); }
.stat-orange .stat-number { background: linear-gradient(135deg, hsl(25,95%,60%), hsl(35,95%,65%)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-orange:hover { box-shadow: 0 8px 30px rgba(249,115,22,0.18); border-color: rgba(249,115,22,0.4); }




/* ==========================================================================
   SKILLS CAROUSEL SPECIFIC STYLES
   ========================================================================== */

.skills-carousel {
  position: relative;
  width: 350px;
  height: 350px;
  flex-shrink: 0;
  z-index: 10;
}

.skills-scene {
  position: absolute;
  inset: 0;
  perspective: 1000px;
  perspective-origin: 50% 50%;
  cursor: pointer;
}

/* ==========================================================================
   PROFESSIONAL JOURNEY — GLOBE CAROUSEL
   ========================================================================== */

/* ── Stats strip ─────────────────────────────────────────────────────────── */
.journey-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 18px 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  row-gap: 16px;
}

.journey-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 28px;
}

.jstat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jstat-suf { font-size: 1.1rem; }

.jstat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.jstat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* ── Layout: globe + detail panel ────────────────────────────────────────── */
.journey-layout {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 48px;
  align-items: center;
}

/* ── Globe scene ─────────────────────────────────────────────────────────── */
.globe-scene {
  position: relative;
  width: 560px;
  height: 560px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  flex-shrink: 0;
  cursor: pointer;
}

/* ── Earth sphere ────────────────────────────────────────────────────────── */
.earth-sphere {
  position: absolute;
  width: 460px;
  height: 460px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 28%, rgba(255,255,255,0.06) 0%, transparent 45%),
    radial-gradient(ellipse 90px 55px at 22% 38%, rgba(34,155,70,0.55) 0%, transparent 100%),
    radial-gradient(ellipse 55px 75px at 63% 28%, rgba(34,155,70,0.5) 0%, transparent 100%),
    radial-gradient(ellipse 110px 45px at 48% 68%, rgba(34,155,70,0.4) 0%, transparent 100%),
    radial-gradient(ellipse 45px 70px at 12% 72%, rgba(34,155,70,0.35) 0%, transparent 100%),
    radial-gradient(ellipse 70px 40px at 80% 50%, rgba(34,155,70,0.3) 0%, transparent 100%),
    radial-gradient(circle at 40% 30%, #1b5fa3 0%, #0d3b75 50%, #061e40 100%);
  box-shadow:
    inset -50px -30px 100px rgba(0,0,0,0.75),
    inset 20px 15px 50px rgba(80,160,255,0.2),
    0 0 80px rgba(30,100,255,0.25),
    0 0 200px rgba(10,50,180,0.12);
  overflow: hidden;
}

.earth-clouds {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 100px 22px at 38% 20%, rgba(255,255,255,0.14) 0%, transparent 100%),
    radial-gradient(ellipse 70px 16px at 72% 44%, rgba(255,255,255,0.11) 0%, transparent 100%),
    radial-gradient(ellipse 120px 20px at 22% 62%, rgba(255,255,255,0.09) 0%, transparent 100%),
    radial-gradient(ellipse 55px 14px at 56% 76%, rgba(255,255,255,0.08) 0%, transparent 100%);
  animation: clouds-drift 40s linear infinite;
}

@keyframes clouds-drift {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.earth-atmosphere {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 44%, rgba(40,130,255,0.13) 58%, rgba(100,180,255,0.07) 66%, transparent 72%);
  pointer-events: none;
}

.earth-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.1) 0%, transparent 38%);
  pointer-events: none;
}

/* ── 3D Carousel ─────────────────────────────────────────────────────────── */
.globe-carousel {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

/* ── Globe cards ─────────────────────────────────────────────────────────── */
.globe-card {
  position: absolute;
  width: 210px;
  height: 158px;
  top: 50%;
  left: 50%;
  margin: -79px 0 0 -105px;
  background: rgba(5,14,34,0.88);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 16px 18px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  /* transform + opacity + z-index set by JS */
}

.globe-card.card-is-front {
  border-color: rgba(6,182,212,0.5);
  box-shadow: 0 0 32px rgba(6,182,212,0.2), 0 8px 24px rgba(0,0,0,0.5);
}

.globe-card:hover {
  border-color: rgba(6,182,212,0.6);
}

/* Card internal layout */
.simplified-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
  text-align: center;
}

.card-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-bottom: 2px;
}
.card-logo-container svg {
  max-width: 100%;
  max-height: 100%;
}

.card-role-full {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
  white-space: normal;
  word-wrap: break-word;
}

.card-company-text {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin: 0;
}

.card-year-pill {
  font-size: 0.65rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 3px 10px;
  margin-top: 2px;
}

/* Globe hint text */
.globe-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.03em;
  pointer-events: none;
}

/* ── Detail panel ────────────────────────────────────────────────────────── */
.globe-detail-panel {
  background: rgba(6,12,28,0.7);
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(16px);
  display: flex;
  min-height: 420px;
  transition: all 0.4s ease;
}

.detail-fade-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: translateX(0);
}

.detail-fade-container.fade-out {
  opacity: 0;
  transform: translateX(10px);
}

.detail-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.detail-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 54px;
  flex-shrink: 0;
}

.detail-logo-container svg {
  max-width: 100%;
  max-height: 100%;
}

.detail-company {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.role-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.2);
  color: var(--accent-cyan);
  letter-spacing: 0.03em;
}

.detail-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin: 0;
}

.detail-dates {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.detail-brief {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.detail-impact {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 10px 14px;
  letter-spacing: 0.02em;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-expand-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(79,70,229,0.15));
  border: 1px solid rgba(6,182,212,0.3);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-body);
}

.detail-expand-btn:hover {
  background: linear-gradient(135deg, rgba(6,182,212,0.25), rgba(79,70,229,0.25));
  border-color: rgba(6,182,212,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,182,212,0.15);
}

.btn-arrow { transition: transform 0.25s ease; }
.detail-expand-btn:hover .btn-arrow { transform: translateX(4px); }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,10,0.75);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: modal-fade-in 0.25s ease;
}

.modal-overlay[hidden] { display: none; }

@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.journey-modal {
  background: var(--bg-card);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 28px;
  padding: 48px;
  width: min(720px, 92vw);
  max-height: 82vh;
  overflow-y: auto;
  position: relative;
  animation: modal-slide-up 0.3s cubic-bezier(0.16,1,0.3,1);
}

@keyframes modal-slide-up {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.modal-close-btn:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.modal-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--badge-color, rgba(6,182,212,0.4));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 0 28px color-mix(in srgb, var(--badge-color, rgba(6,182,212,0.4)) 50%, transparent);
}

.modal-title-block { flex: 1; }

.modal-role-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.modal-company-name {
  font-size: 1rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 8px;
}

.modal-dates-pill {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 4px 12px;
}

.modal-summary-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.modal-bullets-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-bullets-list li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
}

.modal-bullets-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent-indigo);
  font-size: 0.75rem;
}

.modal-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ==========================================================================
   PROJECTS SECTION & MODALS
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.project-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 28px;
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              var(--card-border-gradient) border-box;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(var(--bg-card-hover), var(--bg-card-hover)) padding-box,
              var(--card-border-active) border-box;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

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

.project-title {
  font-size: 1.45rem;
  color: var(--text-primary);
  font-weight: 700;
}

.project-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-live {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
}

.status-prod {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #f59e0b;
}

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

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-tech .tag {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.btn-project-details {
  align-self: flex-start;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-project-details:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* Native Dialog Modals Styling */
dialog {
  margin: auto;
  width: 90%;
  max-width: 650px;
  max-height: 85%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85);
  background: #0f111a;
  color: var(--text-primary);
  outline: none;
  overflow: hidden;
}

/* Animating dialogs with discrete transitions */
dialog {
  opacity: 0;
  transform: scale(0.95);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-behavior: allow-discrete;
}

dialog[open] {
  opacity: 1;
  transform: scale(1);

  @starting-style {
    opacity: 0;
    transform: scale(0.95);
  }
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.0);
  backdrop-filter: blur(0px);
  transition: display 0.4s allow-discrete, overlay 0.4s allow-discrete, background-color 0.4s ease-out, backdrop-filter 0.4s ease-out;
}

dialog[open]::backdrop {
  background-color: rgba(6, 7, 10, 0.85);
  backdrop-filter: blur(12px);

  @starting-style {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
  }
}

.modal-wrapper {
  display: flex;
  flex-direction: column;
  max-height: 100vh;
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.35rem;
  color: var(--text-primary);
  font-weight: 700;
}

.btn-close-modal {
  font-size: 1.8rem;
  color: var(--text-secondary);
  line-height: 1;
}

.btn-close-modal:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
}

.modal-body h4 {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  margin: 24px 0 12px;
  font-weight: 600;
}

.modal-body h4:first-of-type {
  margin-top: 0;
}

.modal-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 18px;
  line-height: 1.6;
}

.modal-body ul {
  padding-left: 20px;
  list-style: square;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.modal-body li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ==========================================================================
   CERTIFICATIONS SHOWCASE
   ========================================================================== */


/* ==========================================================================
   EDUCATION SECTION
   ========================================================================== */
.education-section {
  position: relative;
}

.education-grid {
  margin-top: 48px;
}

.education-card {
  display: flex;
  gap: 32px;
  padding: 40px 48px;
  border-radius: 28px;
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              var(--card-border-gradient) border-box;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: flex-start;
}

.education-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(var(--bg-card-hover), var(--bg-card-hover)) padding-box,
              var(--card-border-active) border-box;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

.edu-icon-wrapper {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: rgba(6, 182, 212, 0.08);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-cyan);
  transition: background var(--transition-smooth);
}

.education-card:hover .edu-icon-wrapper {
  background: rgba(6, 182, 212, 0.15);
}

.edu-content {
  flex: 1;
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.edu-title-block {
  flex: 1;
}

.edu-degree {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.edu-institution {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.95rem;
}

.edu-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.edu-dates {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.edu-grade {
  font-size: 0.85rem;
  color: var(--accent-indigo);
  font-weight: 600;
  background: rgba(79, 70, 229, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  white-space: nowrap;
}

.edu-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.edu-highlights {
  list-style: none;
  margin-bottom: 24px;
}

.edu-highlights li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

.edu-highlights li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent-indigo);
  font-size: 0.75rem;
}

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

.edu-tags .tag {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Contact Subtitle */
.contact-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.contact-details-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  width: 24px;
  display: flex;
  justify-content: center;
}

.contact-link {
  color: var(--text-secondary);
  font-weight: 500;
}

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

.contact-svg {
  color: var(--accent-cyan);
  transition: transform var(--transition-smooth), color var(--transition-smooth);
}

.contact-details-list li:hover .contact-svg {
  transform: scale(1.15);
  color: var(--text-primary);
}

.contact-form-wrapper {
  padding: 40px;
  border-radius: 28px;
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              var(--card-border-gradient) border-box;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
}

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

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-smooth), background-color var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.btn-submit-form {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 1rem;
  padding: 16px;
  border-radius: 12px;
}

.form-success-toast {
  display: none;
  margin-top: 20px;
  padding: 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: center;
  animation: content-slide-down 0.4s ease;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: hsl(224, 71%, 2%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 40px 0;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   CARTOONIZED ILLUSTRATIONS STYLING (APPLE DESIGN SYSTEM STYLE)
   ========================================================================== */

.project-image-wrapper {
  width: 100%;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: #12131a;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.contact-illustration-container {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 36px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: #12131a;
  padding: 32px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.contact-illustration-img {
  width: 100%;
  height: auto;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-illustration-container:hover .contact-illustration-img {
  transform: translateY(-6px);
}





/* ==========================================================================
   INTERACTIVE CHATBOT SECTION (FULL WIDTH PANEL)
   ========================================================================== */
.chatbot-section {
  background: var(--bg-secondary);
}

.chatbot-section .section-subtitle {
  margin-bottom: 40px;
}

.chatbot-full-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.chatbot-full-wrapper .chat-widget-card {
  max-width: 100%;
  height: 600px;
  border-radius: 24px;
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              var(--card-border-gradient) border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-card {
    padding: 40px 24px;
    border-radius: 24px;
  }

  .chatbot-full-wrapper .chat-widget-card {
    height: 520px;
  }
  
  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    display: flex;
    justify-content: center;
  }
  
  .floating-tech-chips {
    justify-content: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .journey-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .globe-scene {
    margin: 0 auto;
    transform: scale(0.9);
    transform-origin: top center;
    margin-bottom: -40px;
  }

  .education-card {
    flex-direction: column;
    gap: 20px;
    padding: 32px 28px;
  }

  .edu-meta {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .about-section {
    background-image: linear-gradient(to bottom, hsla(224, 71%, 4%, 0.98) 60%, hsla(224, 71%, 4%, 0.95) 100%), url('assets/about_illustration.png');
    background-position: center;
  }




}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nav-menu {
    font-size: 15px;
  }

  html {
    font-size: 15px;
  }

  .globe-scene {
    transform: scale(0.65);
    margin-bottom: -90px;
  }

  .journey-stats-strip {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .jstat-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0;
  }


  .hero-card {
    padding: 36px 16px;
  }
  
  .hero-headline {
    font-size: 2.2rem;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  
  .nav-links.mobile-nav-open {
    max-height: 400px;
  }
  
  .nav-links ul {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  
  .btn-contact {
    width: 100%;
    text-align: center;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .education-card {
    padding: 24px 20px;
    gap: 16px;
  }
  
  .edu-header {
    flex-direction: column;
    gap: 12px;
  }

  .edu-meta {
    align-items: flex-start;
  }
  
  .contact-form-wrapper {
    padding: 24px;
  }
  
  /* Timeline lines modifications */
  .timeline {
    padding-left: 20px;
  }
  
  .timeline-dot {
    left: -24px;
    width: 14px;
    height: 14px;
    top: 26px;
  }
  
  .timeline-card {
    padding: 20px;
  }
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo), var(--accent-violet));
  z-index: 2000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

/* ==========================================================================
   PARTICLE CANVAS
   ========================================================================== */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ==========================================================================
   HERO — SPLIT LAYOUT (LEFT + RIGHT)
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(8, 9, 13, 0.92), rgba(8, 9, 13, 0.97)), url('assets/hero_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

/* -- LEFT COLUMN -- */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Pulsing glow ring around avatar */
.hero-avatar-glow-ring {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar-glow-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent-cyan) 0%,
    var(--accent-indigo) 25%,
    var(--accent-violet) 50%,
    var(--accent-indigo) 75%,
    var(--accent-cyan) 100%
  );
  animation: spin-ring 4s linear infinite;
  z-index: 0;
}

.hero-avatar-glow-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent-cyan) 0%,
    var(--accent-indigo) 25%,
    var(--accent-violet) 50%,
    var(--accent-indigo) 75%,
    var(--accent-cyan) 100%
  );
  filter: blur(12px);
  opacity: 0.5;
  animation: spin-ring 4s linear infinite;
  z-index: 0;
}

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-avatar-wrapper {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg-primary);
  background: var(--bg-card);
  transition: transform var(--transition-smooth);
}

.hero-avatar-wrapper:hover {
  transform: scale(1.04);
}

.hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stats row below avatar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 16px 24px;
  backdrop-filter: blur(12px);
  width: 100%;
  justify-content: center;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
}

/* -- RIGHT COLUMN -- */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-right .badge-glow-wrapper {
  margin-bottom: 20px;
}

.hero-right .hero-headline {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.12;
  margin-bottom: 24px;
  font-weight: 800;
  text-align: left;
}

.hero-right .hero-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.75;
  text-align: left;
}

.hero-right .hero-actions {
  margin-bottom: 32px;
  justify-content: flex-start;
}

.hero-right .floating-tech-chips {
  justify-content: flex-start;
}

/* Typing cursor effect */
.typed-text::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  animation: blink-cursor 0.8s step-end infinite;
  color: var(--accent-cyan);
  font-weight: 300;
}

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

/* ==========================================================================
   FEATURED PROJECT CARD (denml.com)
   ========================================================================== */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-card-featured {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.2) !important;
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.06), 0 30px 60px rgba(0,0,0,0.5) !important;
  transition: box-shadow var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth);
}

.project-card-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,182,212,0.04) 0%, rgba(99,102,241,0.04) 100%);
  pointer-events: none;
  z-index: 0;
}

.project-card-featured:hover {
  border-color: rgba(6, 182, 212, 0.4) !important;
  box-shadow: 0 0 60px rgba(6, 182, 212, 0.12), 0 40px 80px rgba(0,0,0,0.6) !important;
  transform: translateY(-4px);
}

.project-featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  z-index: 1;
}

.project-featured-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
  background: rgba(0,0,0,0.3);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-featured-image .project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.project-card-featured:hover .project-featured-image .project-img {
  transform: scale(1.06);
}

.project-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: white;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(6,182,212,0.35);
}

.project-featured-content {
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.project-featured-content .project-title {
  font-size: 1.8rem;
}

.project-featured-content .project-description {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.project-featured-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* "Visit Live Site" button */
.btn-project-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-project-live:hover {
  background: rgba(6, 182, 212, 0.16);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.2);
}

/* Standard project cards (non-featured) — now in a 2-column row */
.projects-grid > article:not(.project-card-featured) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Revert 2-column for single bharat card */
.projects-grid > article:not(.project-card-featured):only-of-type,
.projects-grid > article:not(.project-card-featured) {
  display: block;
}

/* ==========================================================================
   GLASSMORPHISM ANIMATED CARD BORDERS
   ========================================================================== */
.glass-panel {
  position: relative;
}

.glass-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(99,102,241,0.08), rgba(6,182,212,0.04));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.glass-panel:hover::after {
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR HERO SPLIT LAYOUT
   ========================================================================== */
@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 24px 48px;
    text-align: center;
  }

  .hero-left {
    align-items: center;
  }

  .hero-right {
    align-items: center;
  }

  .hero-right .hero-headline,
  .hero-right .hero-subtext {
    text-align: center;
  }

  .hero-right .hero-actions {
    justify-content: center;
  }

  .hero-right .floating-tech-chips {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .hero-avatar-glow-ring {
    width: 150px;
    height: 150px;
  }

  .hero-avatar-wrapper {
    width: 130px;
    height: 130px;
  }

  .project-featured-inner {
    grid-template-columns: 1fr;
  }

  .project-featured-image {
    border-radius: 20px 20px 0 0;
    min-height: 220px;
  }

  .project-featured-content {
    padding: 24px;
  }
}

/* ==========================================================================
   REDUCED MOTION OVERRIDES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .bg-glow {
    animation: none !important;
  }
  dialog {
    transform: none !important;
  }
  @starting-style {
    dialog[open] {
      transform: none !important;
    }
  }
  #particle-canvas {
    display: none;
  }
  .hero-avatar-glow-ring::before,
  .hero-avatar-glow-ring::after {
    animation: none !important;
  }
  .typed-text::after {
    animation: none !important;
  }
}

/* ==========================================================================
   V0-INSPIRED HERO — COMPLETE REDESIGN
   ========================================================================== */

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(6,182,212,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: hsl(224, 71%, 4%);
  /* overflow: hidden removed — so fixed code bubbles aren't clipped */
  padding-top: var(--header-height);
  z-index: 1;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  font-size: 0.82rem;
  font-weight: 500;
  color: hsl(160, 65%, 70%);
  width: fit-content;
}

.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
  animation: pulse-avail 2s ease-in-out infinite;
}

@keyframes pulse-avail {
  0%, 100% { box-shadow: 0 0 8px rgba(16,185,129,0.6); }
  50%       { box-shadow: 0 0 16px rgba(16,185,129,0.9); }
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.hero-greeting {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.1;
}

.hero-name {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1.05;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-indigo) 50%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-roles {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  flex-wrap: wrap;
}

.hero-role { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em; }
.role-cyan   { color: var(--accent-cyan); }
.role-indigo { color: var(--accent-indigo); }
.role-java   { color: hsl(28, 95%, 62%); }   /* warm orange for Java */
.hero-role-divider { color: var(--text-muted); opacity: 0.4; font-size: 1rem; }

/* ==========================================================================
   COMPANY LOGO TICKER — fade cycles through employer logos
   ========================================================================== */

.company-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.ticker-prefix {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-logos-wrap {
  position: relative;
  height: 36px;
  min-width: 160px;
  display: flex;
  align-items: center;
}

.ticker-logo {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.06));
}

.ticker-logo.active {
  opacity: 1;
  pointer-events: auto;
}


.hero-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 580px;
  margin: 0;
}

.hero-link-cyan {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(6,182,212,0.3);
  transition: border-color var(--transition-smooth);
}
.hero-link-cyan:hover { border-color: var(--accent-cyan); }

.hero-link-violet {
  color: var(--accent-violet);
  text-decoration: none;
  border-bottom: 1px solid rgba(139,92,246,0.3);
  transition: border-color var(--transition-smooth);
}
.hero-link-violet:hover { border-color: var(--accent-violet); }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: hsl(224, 71%, 4%);
  background: var(--accent-cyan);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 24px rgba(6,182,212,0.35);
}
.btn-hero-primary:hover {
  background: hsl(188, 86%, 60%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(6,182,212,0.5);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
}
.btn-hero-outline:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.hero-socials-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-smooth);
}
.hero-social-icon:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(6,182,212,0.08);
  transform: translateY(-2px);
}

/* ---- RIGHT: Avatar scene ---- */
.hero-avatar-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar-scene {
  position: relative;
  width: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-sa-ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-sa-ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent-cyan) 0deg, transparent 60deg,
    var(--accent-cyan) 120deg, transparent 180deg,
    var(--accent-indigo) 240deg, transparent 300deg,
    var(--accent-indigo) 360deg
  );
  animation: spin-ring 8s linear infinite;
  z-index: 0;
}

.hero-sa-ring::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent-cyan) 0deg, transparent 60deg,
    var(--accent-cyan) 120deg, transparent 180deg
  );
  filter: blur(14px);
  opacity: 0.4;
  animation: spin-ring 8s linear infinite;
  z-index: 0;
}

.hero-sa-inner {
  position: relative;
  z-index: 1;
  width: 268px;
  height: 268px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, hsl(223, 47%, 12%), hsl(224, 71%, 5%));
  border: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* When showing the cartoon photo instead of initials */
.hero-sa-photo {
  background: hsl(224, 71%, 5%);
  border: none;
  padding: 0;
}

.hero-cartoon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

/* ==============================================================
   SKILLS ORBIT RING
   ============================================================== */

/* The overall orbit container — fills the avatar scene */
.hero-orbit-ring {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

/* Static dashed circle — purely visual, no rotation */
.orbit-track {
  position: relative;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  border: 1px dashed rgba(6, 182, 212, 0.18);
  /* NO animation — pills are animated by JS requestAnimationFrame */
}

/* Each skill pill — positioned absolutely from the ring centre by JS.
   NO rotation applied here — text always stays front-facing. */
.orbit-skill-label {
  position: absolute;
  top: 50%;
  left: 50%;
  /* JS sets transform: translate(calc(-50% + Xpx), calc(-50% + Ypx)) */
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: rgba(8, 12, 24, 0.88);
  border: 1px solid var(--pill-border, rgba(6,182,212,0.3));
  color: var(--pill-color, var(--accent-cyan));
  box-shadow: 0 0 12px var(--pill-glow, rgba(6,182,212,0.2));
  backdrop-filter: blur(6px);
  transition: opacity 0.5s ease;
  /* transform is set inline by JS — no CSS rotation */
}


.hero-float-badge {
  position: absolute;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.badge-top-right {
  top: 20px;
  right: -10px;
  color: var(--text-primary);
  animation: float-badge 4s ease-in-out infinite;
}

.badge-bottom-left {
  bottom: 30px;
  left: -10px;
  color: var(--accent-indigo);
  border-color: rgba(99,102,241,0.25);
  animation: float-badge 4s ease-in-out infinite reverse;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-scroll-cta {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  z-index: 2;
}

.hero-scroll-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px 100px;
    text-align: center;
  }
  .hero-text-col  { align-items: center; }
  .hero-subtext   { text-align: center; }
  .hero-actions   { justify-content: center; }
  .hero-socials   { justify-content: center; }
  .hero-availability { align-self: center; }
  .hero-avatar-scene { width: 360px; height: 360px; }
  .hero-sa-ring   { width: 220px; height: 220px; }
  .hero-sa-inner  { width: 210px; height: 210px; }
  .orbit-track    { width: 320px; height: 320px; }
  .hero-sa-initials { font-size: 3.5rem; }
}

@media (max-width: 480px) {
  .hero-greeting { font-size: 1.8rem; }
  .hero-name     { font-size: 2.6rem; }
  .btn-hero-primary, .btn-hero-outline { padding: 12px 20px; font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  .avail-dot, .hero-sa-ring::before, .hero-sa-ring::after,
  .hero-float-badge, .hero-scroll-arrow,
  .orbit-track, .orbit-skill-label { animation: none !important; }
}

/* ==========================================================================
   FULL-PAGE JAVA CODE BUBBLES — rising code snippets animation
   ========================================================================== */

#glitter-bg {
  position: fixed;
  inset: 0;
  z-index: 2;   /* above sections (z-index:1) but below header */
  pointer-events: none;
  overflow: hidden;
}

.code-bubble {
  position: absolute;
  bottom: -80px;
  font-family: 'Courier New', 'Fira Code', monospace;
  font-size: var(--font-size, 11px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--bubble-color, rgba(6, 182, 212, 0.55));
  text-shadow: 0 0 var(--glow, 8px) var(--bubble-color, rgba(6, 182, 212, 0.4));
  background: var(--bubble-bg, rgba(6, 182, 212, 0.04));
  border: 1px solid var(--bubble-border, rgba(6, 182, 212, 0.12));
  border-radius: 6px;
  padding: 4px 8px;
  backdrop-filter: blur(2px);
  left: var(--x, 50%);
  opacity: 0;
  animation: code-bubble-rise var(--dur, 14s) var(--delay, 0s) ease-in-out infinite;
  letter-spacing: 0.03em;
  user-select: none;
}

@keyframes code-bubble-rise {
  0% {
    transform: translateY(0) translateX(0) rotate(var(--tilt, 0deg));
    opacity: 0;
  }
  8% {
    opacity: var(--peak-op, 0.7);
  }
  50% {
    transform: translateY(calc(-50vh)) translateX(var(--drift, 20px)) rotate(calc(var(--tilt, 0deg) * 1.5));
    opacity: var(--peak-op, 0.5);
  }
  92% {
    opacity: var(--peak-op, 0.2);
  }
  100% {
    transform: translateY(calc(-110vh)) translateX(calc(var(--drift, 20px) * 2)) rotate(calc(var(--tilt, 0deg) * 2));
    opacity: 0;
  }
}
