/* ==========================================================================
   RAHUL KUMAR PRADHAN — AI & ML ENGINEER PORTFOLIO DESIGN SYSTEM
   Theme: Cyber-Luminescent Obsidian | Glassmorphic High-Tech Dark Mode
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette */
  --bg-dark: #06090e;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(22, 33, 58, 0.75);
  --bg-card-solid: #0d1527;
  --bg-glass: rgba(10, 15, 29, 0.78);
  --bg-glass-light: rgba(255, 255, 255, 0.04);
  
  /* Text */
  --text-pure: #ffffff;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Accents & Gradients */
  --cyan: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.25);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --indigo: #6366f1;
  --purple: #a855f7;
  --amber: #f59e0b;
  --rose: #f43f5e;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-cyan: rgba(56, 189, 248, 0.4);
  --border-emerald: rgba(16, 185, 129, 0.4);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Shadows & Glows */
  --glow-cyan: 0 0 35px rgba(56, 189, 248, 0.25);
  --glow-emerald: 0 0 35px rgba(16, 185, 129, 0.25);
  --glow-indigo: 0 0 35px rgba(99, 102, 241, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.7);

  /* Dimensions */
  --nav-height: 72px;
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(99, 102, 241, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 100% 100%, 36px 36px;
  background-attachment: fixed;
}

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

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

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 45%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-emerald {
  background: linear-gradient(135deg, #ffffff 0%, #34d399 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.1);
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
  letter-spacing: 0.02em;
}

.badge.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  border-color: var(--border-emerald);
}

.badge.amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.35);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--cyan);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-pure);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-pure);
}

.logo-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #6366f1);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #041226;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(56, 189, 248, 0.55);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--bg-glass-light);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
}

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

.btn-emerald {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #032316;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.55);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Hero Section --- */
.hero-section {
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

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

.hero-status-pill {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-pure);
}

.hero-roles {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cyan);
  font-family: var(--font-mono);
  margin-bottom: 1.35rem;
  min-height: 2rem;
}

.hero-roles span.typed-cursor {
  opacity: 1;
  animation: blink 0.7s infinite;
}

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

.hero-bio {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-bio strong {
  color: var(--text-main);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--bg-glass-light);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);
}

/* Hero Visual / Profile Image */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.profile-glow-ring {
  position: absolute;
  inset: -12px;
  background: linear-gradient(135deg, #0284c7, #6366f1, #10b981);
  border-radius: 28px;
  filter: blur(20px);
  opacity: 0.5;
  z-index: 0;
  animation: auraRotate 8s linear infinite;
}

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

.profile-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card-solid);
  border-radius: 24px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.profile-img-container {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #020617;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.profile-card:hover .profile-img {
  transform: scale(1.03);
}

.profile-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(6, 9, 14, 0.95) 0%, rgba(6, 9, 14, 0.5) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.profile-name-tag {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-pure);
}

.profile-title-tag {
  font-size: 0.8rem;
  color: var(--cyan);
  font-family: var(--font-mono);
}

/* Floating Badges on Profile */
.floating-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(13, 21, 39, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: floatAnim 4s ease-in-out infinite;
}

.floating-badge.badge-top {
  top: -15px;
  right: -15px;
  border-color: rgba(56, 189, 248, 0.4);
}

.floating-badge.badge-bottom {
  bottom: 25px;
  left: -25px;
  border-color: rgba(16, 185, 129, 0.4);
  animation-delay: 2s;
}

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

/* --- Metrics & Impact Strip --- */
.metrics-section {
  padding: 2.5rem 0 4rem;
}

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

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  box-shadow: var(--glow-cyan);
}

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

.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-card:nth-child(2) .metric-value {
  color: var(--emerald);
}

.metric-card:nth-child(3) .metric-value {
  color: var(--amber);
}

.metric-card:nth-child(4) .metric-value {
  color: #a855f7;
}

.metric-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
}

.metric-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Recruiter Fast Track ("Why Hire Rahul") --- */
.fasttrack-section {
  padding: 5rem 0;
  background: rgba(13, 21, 39, 0.4);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.fasttrack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-card);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.35rem;
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
}

.pillar-card:nth-child(2) .pillar-icon-box {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  border-color: var(--border-emerald);
}

.pillar-card:nth-child(3) .pillar-icon-box {
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple);
  border-color: rgba(168, 85, 247, 0.4);
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.75rem;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.pill-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  color: var(--text-muted);
}

/* --- Projects Section --- */
.projects-section {
  padding: 6rem 0;
}

.filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-glass-light);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-pure);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(56, 189, 248, 0.15));
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
}

.project-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.project-header-graphic {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.project-card.featured .project-header-graphic {
  border-bottom: none;
  border-right: 1px solid var(--border-subtle);
}

.project-icon-badge {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.project-stat-highlight {
  display: inline-flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-top: auto;
}

.project-stat-highlight .stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--cyan);
}

.project-stat-highlight .stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tag-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-highlights {
  list-style: none;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.project-highlights li::before {
  content: '▸';
  color: var(--cyan);
  font-weight: bold;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.tech-chip {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.6rem;
  background: rgba(56, 189, 248, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 6px;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

/* --- Technical Skill Matrix --- */
.skills-section {
  padding: 5rem 0;
  background: rgba(13, 21, 39, 0.3);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.skill-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.skill-cat-icon {
  font-size: 1.35rem;
}

.skill-cat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-pure);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.skill-name {
  font-weight: 600;
  color: var(--text-main);
}

.skill-level {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.78rem;
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.skill-progress.emerald {
  background: linear-gradient(90deg, #059669, #10b981);
}

.skill-progress.purple {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
}

.skill-progress.amber {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}

/* --- Interactive Recruiter Terminal --- */
.terminal-section {
  padding: 6rem 0;
}

.terminal-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #090d16;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.terminal-header {
  background: #0f172a;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 0.45rem;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  min-height: 320px;
  max-height: 480px;
  overflow-y: auto;
  color: #e2e8f0;
}

.terminal-output {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.terminal-line {
  line-height: 1.6;
}

.t-prompt {
  color: var(--cyan);
}

.t-cmd {
  color: #f8fafc;
  font-weight: 600;
}

.t-success {
  color: var(--emerald);
}

.t-info {
  color: #93c5fd;
}

.t-warn {
  color: #fcd34d;
}

.t-dim {
  color: #64748b;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #fff;
}

.terminal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem 1.25rem;
  background: #090d16;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.term-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.term-chip:hover {
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  border-color: var(--cyan);
}

/* --- Experience & Education --- */
.timeline-section {
  padding: 5rem 0;
  background: rgba(13, 21, 39, 0.3);
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.timeline-col-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--indigo), transparent);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.85rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--cyan);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.timeline-role {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Contact & Recruiter CTA --- */
.contact-section {
  padding: 6rem 0;
  position: relative;
}

.contact-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(10, 15, 29, 0.95));
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.contact-info-col h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 1rem;
}

.contact-info-col p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.contact-method-card:hover {
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.06);
}

.contact-method-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contact-method-icon {
  font-size: 1.25rem;
  color: var(--cyan);
}

.contact-method-text .label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-method-text .val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-textarea {
  background: rgba(6, 9, 14, 0.7);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: #fff;
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

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

/* --- Footer --- */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  background: #04060a;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-text {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

/* --- Modals & Toasts --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-window {
  background: #0b1120;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.modal-inner {
  padding: 2.25rem;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  color: #fff;
  border: 1px solid var(--border-cyan);
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas, .hero-socials {
    justify-content: center;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .fasttrack-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  
  .project-card.featured .project-header-graphic {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-box {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.75rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-badge.badge-top {
    top: 5px;
    right: 5px;
  }
  
  .floating-badge.badge-bottom {
    bottom: 5px;
    left: 5px;
  }
}
