/* ==========================================================
   DEVI PRASAD SINGH - PORTFOLIO DESIGN SYSTEM
   Modern Dark Aesthetic • Glassmorphism • Micro-Animations
   ========================================================== */

:root {
  /* Color Palette - Dark Gray & Monochrome White */
  --bg-dark: #121316;
  --bg-card: rgba(26, 28, 34, 0.85);
  --bg-card-hover: rgba(35, 38, 46, 0.95);
  --bg-input: rgba(20, 22, 28, 0.95);
  
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(255, 255, 255, 0.5);
  --border-card: rgba(255, 255, 255, 0.14);
  
  --accent-cyan: #ffffff;
  --accent-blue: #f4f4f5;
  --accent-purple: #e4e4e7;
  --accent-emerald: #10b981;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ffffff 0%, #f4f4f5 50%, #e4e4e7 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-glow: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(200, 200, 220, 0.03) 50%, transparent 70%);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Text Colors */
  --text-main: #ffffff;
  --text-muted: #e4e4e7;
  --text-dim: #a1a1aa;
  
  /* Shadows & Glass */
  --glass-blur: blur(16px);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 35px rgba(255, 255, 255, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  
  /* Layout */
  --container-max: 1200px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}



/* Shared Container */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

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

/* Glass Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #f4f4f5 50%, #d4d4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================
   NAVIGATION BAR
   ========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(18, 19, 22, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.5px;
}

.logo-bracket {
  color: #ffffff;
  font-weight: 800;
}

.logo-slash {
  color: #a1a1aa;
}

.brand-logo .highlight {
  color: #ffffff;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: var(--transition);
}

/* ==========================================================
   BUTTON STYLES
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: #ffffff;
  color: #121316;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
  border: 1px solid #ffffff;
}

.btn-primary:hover {
  background: #e4e4e7;
  color: #000000;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: #ffffff;
  color: #121316;
  border-color: #ffffff;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: #ffffff;
  color: #121316;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 20px;
  height: 20px;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 4rem;
  position: relative;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.5);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.hero-role-wrapper {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.typed-role {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.cursor-blink {
  color: #ffffff;
  animation: blink 0.9s infinite;
  font-weight: 300;
}

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

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

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.quick-connect-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
}

.social-icon-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #121316;
  transform: translateY(-3px);
}

.contact-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.contact-pill-item:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.pill-copy-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================
   PHOTO CARD COMPONENT (FORMAL PHOTO PRESENTATION)
   ========================================================== */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.photo-card-container {
  position: relative;
  width: 340px;
  height: 420px;
}

.photo-glow-backdrop {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(200, 200, 220, 0.08));
  border-radius: 30px;
  filter: blur(25px);
  z-index: 1;
  opacity: 0.6;
  transition: var(--transition);
}

.photo-card-container:hover .photo-glow-backdrop {
  opacity: 0.9;
  filter: blur(35px);
}

.photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  z-index: 2;
  background: #18191e;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}

.photo-card-container:hover .profile-photo {
  transform: scale(1.04);
}

.photo-overlay-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 12, 21, 0.6) 0%, transparent 40%);
  pointer-events: none;
}

/* Floating Interactive Badges */
.floating-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(18, 24, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  animation: floatAnim 4s ease-in-out infinite;
}

.badge-top-left {
  top: -15px;
  left: -20px;
  animation-delay: 0s;
}

.badge-bottom-right {
  bottom: -15px;
  right: -20px;
  animation-delay: 2s;
}

.badge-side {
  bottom: 80px;
  left: -30px;
  animation-delay: 1s;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

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

/* ==========================================================
   GENERIC SECTION HEADERS
   ========================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 0 auto 1.2rem auto;
  border-radius: 2px;
}

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

/* ==========================================================
   ABOUT SECTION (EXACT REPLICA OF REFERENCE MOCKUP)
   ========================================================== */
.about-section {
  padding: 6.5rem 0 5rem 0;
  position: relative;
  background-color: var(--bg-dark);
}

.about-container {
  max-width: 1260px;
  width: 92%;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: start;
}

/* LEFT COLUMN STYLES */
.about-left-col {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}

.about-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #848c9b;
  margin-bottom: 1.25rem;
  display: block;
}

.about-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.14;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
}

.about-main-title .reality-highlight {
  background: linear-gradient(135deg, #a7b7cc 0%, #8397b4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.about-paragraphs p {
  color: #929bb0;
  font-size: 0.95rem;
  line-height: 1.68;
  font-weight: 400;
}

/* Doodle Curved Arrow & Handwritten Text */
.about-doodle-row {
  display: flex;
  justify-content: flex-end;
  padding-right: 2rem;
  margin-bottom: 0.75rem;
  margin-top: 0.25rem;
}

.doodle-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #7b889d;
}

.doodle-arrow-svg {
  width: 54px !important;
  height: 38px !important;
  max-width: 54px !important;
  min-width: 54px !important;
  color: #7e8b9e;
  flex-shrink: 0;
  transform: translateY(2px);
  display: inline-block;
}

.doodle-text {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.22rem;
  line-height: 1.12;
  font-weight: 600;
  color: #8996aa;
  font-style: italic;
  transform: rotate(-3deg);
  letter-spacing: 0.2px;
}

/* Action Buttons */
.about-actions-group {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.btn-resume-solid {
  background: #ffffff;
  color: #0b0d13;
  border: 1.5px solid #ffffff;
  border-radius: 9999px;
  padding: 0.82rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-resume-solid .btn-icon,
.btn-connect-outline .btn-icon,
.btn-icon {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  min-width: 18px !important;
  stroke-width: 2.2;
  flex-shrink: 0;
  display: inline-block;
}

.btn-resume-solid .btn-arrow {
  font-size: 1.15rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn-resume-solid:hover {
  background: #f4f4f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn-resume-solid:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-connect-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.82rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-connect-outline .btn-icon {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.btn-connect-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* RIGHT COLUMN: MASTER GLASS CARD */
.about-master-card {
  background: #13151c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem 2.4rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}

/* Top Row: Photo + 2x2 Metrics */
.master-top-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.2rem;
  align-items: stretch;
}

/* Portrait Card */
.portrait-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 275px;
  background: #1a1d26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.portrait-tag-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(14, 16, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  text-align: left;
}

.portrait-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  line-height: 1.2;
}

.portrait-role {
  font-size: 0.62rem;
  color: #94a3b8;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.portrait-role .role-sep {
  color: #4b5563;
  font-size: 0.65rem;
}

/* 2x2 Metrics Grid */
.metrics-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem 1.8rem;
  align-content: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-icon-wrap {
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.metric-icon-wrap svg {
  width: 25px;
  height: 25px;
}

.metric-big-num {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.22rem;
}

.metric-primary-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.15rem;
}

.metric-secondary-label {
  font-size: 0.76rem;
  color: #7b889d;
  font-weight: 400;
}

/* Hairline Divider */
.card-hairline-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 1.8rem 0 1.6rem 0;
}

/* Middle Section: What I Do */
.card-capabilities-section {
  display: flex;
  flex-direction: column;
}

.card-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.section-title-icon {
  width: 19px;
  height: 19px;
  color: #ffffff;
  flex-shrink: 0;
}

.card-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
}

.capabilities-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.cap-col {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.cap-icon-box {
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

.cap-icon-box svg {
  width: 24px;
  height: 24px;
}

.cap-text-content {
  display: flex;
  flex-direction: column;
}

.cap-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.cap-desc {
  font-size: 0.74rem;
  color: #8390a3;
  line-height: 1.48;
}

/* Bottom Section: Tech I Work With */
.card-tech-section {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
}

.tech-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.tech-tag-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  border-radius: 9999px;
  padding: 0.44rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.tech-tag-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Responsive Rules for About Section */
@media (max-width: 1100px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-left-col {
    max-width: 780px;
  }

  .about-doodle-row {
    justify-content: flex-start;
    padding-left: 1rem;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 4rem 0 3.5rem 0;
  }

  .about-master-card {
    padding: 1.6rem 1.4rem;
    border-radius: 20px;
  }

  .master-top-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .portrait-card {
    max-width: 240px;
    height: 270px;
    margin: 0 auto;
    width: 100%;
  }

  .capabilities-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-actions-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-resume-solid,
  .btn-connect-outline {
    justify-content: center;
    width: 100%;
  }

  .about-doodle-row {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .metrics-quad-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

/* ==========================================================
   TECHNICAL SKILLS SECTION
   ========================================================== */
/* ==========================================================
   TECHNICAL SKILLS SECTION (V2 - ULTRA MODERN & INTERACTIVE)
   Professional Dark Gray & White Monochromatic Aesthetic
   ========================================================== */
.skills-filter-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #ffffff;
  color: #121316;
  border-color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
}

.filter-count {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.12rem 0.55rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
}

.filter-btn.active .filter-count {
  background: rgba(18, 19, 22, 0.15);
  color: #121316;
}

/* Skills Grid */
.skills-v2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
}

/* Individual Skill Card - Executive Dark Gray Card */
.skill-card-v2 {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(28, 30, 38, 0.85) 0%, rgba(20, 22, 28, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 175px;
}

.skill-card-v2:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(34, 37, 46, 0.95) 0%, rgba(24, 26, 33, 0.98) 100%);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 36px -8px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Subtle Silver-White Ambient Corner Glow */
.skill-card-bg-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(25px);
  pointer-events: none;
  opacity: 0.25;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.skill-card-v2:hover .skill-card-bg-glow {
  opacity: 0.85;
  transform: scale(1.15);
}

.skill-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

/* Pedestal Icon Wrap */
.skill-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.35s ease;
}

.skill-icon-wrap svg {
  width: 24px;
  height: 24px;
  display: block;
}

.skill-card-v2:hover .skill-icon-wrap {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.08) rotate(2deg);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Category / Level Tag */
.skill-level-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.3s ease;
}

.skill-card-v2:hover .skill-level-tag {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.skill-card-body {
  margin-bottom: 1.2rem;
}

.skill-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.skill-card-domain {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: block;
  line-height: 1.4;
  font-weight: 400;
  transition: color 0.3s ease;
}

.skill-card-v2:hover .skill-card-domain {
  color: var(--text-muted);
}

/* Skill Progress Executive Meter */
.skill-meter {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.skill-meter-bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffffff 0%, #d4d4d8 60%, #a1a1aa 100%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.skill-card-v2:hover .skill-meter-bar {
  background: linear-gradient(90deg, #ffffff 0%, #f4f4f5 100%);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

/* Hidden state for filter */
.skill-card-v2.hide {
  display: none;
}

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

/* ==========================================================
   FEATURED PROJECTS SECTION - EXACT MATCH TO REFERENCE MOCKUP
   ========================================================== */
.projects-section {
  position: relative;
  padding: 6rem 0;
}

.project-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.project-kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #94a3b8;
  margin-bottom: 0.6rem;
}

.project-headline {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.project-headline .gradient-built {
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-subtext {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 620px;
  margin: 0.8rem auto 0;
  line-height: 1.6;
}

/* Single Flagship Showcase Card */
.project-showcase-card {
  background: #0d0f15;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.4rem;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Left Visual Column */
.showcase-visual-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Browser Window Mockup Frame */
.showcase-browser-frame {
  background: #14161f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease;
}

.showcase-browser-frame:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.showcase-browser-bar {
  background: #181a24;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.b-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

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

.showcase-url-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  padding: 0.2rem 1rem;
  font-size: 0.73rem;
  color: #94a3b8;
  font-family: monospace;
  white-space: nowrap;
}

.showcase-screen-canvas {
  width: 100%;
  aspect-ratio: 16 / 10.2;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.showcase-main-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

/* Interactive Thumbnails Carousel Strip */
.showcase-carousel-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.carousel-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.carousel-nav-btn:hover {
  background: #ffffff;
  color: #121316;
  border-color: #ffffff;
  transform: scale(1.08);
}

.showcase-thumbs-track {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.thumb-card {
  width: 100px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #14161f;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  opacity: 0.55;
}

.thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.thumb-card:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.thumb-card.active {
  opacity: 1;
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

/* Right Info Column */
.showcase-info-col {
  display: flex;
  flex-direction: column;
}

.showcase-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.badge-featured-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.28rem 0.8rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-category-text {
  font-size: 0.84rem;
  color: #94a3b8;
  font-weight: 500;
}

.showcase-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.showcase-desc {
  color: #94a3b8;
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

/* 3 Feature Rows */
.showcase-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
}

.showcase-feature-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.feature-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text {
  font-size: 0.86rem;
  color: #e2e8f0;
  line-height: 1.45;
  font-weight: 400;
}

/* Tech Stack */
.showcase-tech-section {
  margin-bottom: 1.6rem;
}

.showcase-tech-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
  display: block;
}

.showcase-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.s-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.32rem 0.8rem;
  border-radius: 99px;
  transition: all 0.2s ease;
}

.s-pill:hover {
  background: #ffffff;
  color: #121316;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Action Buttons */
.showcase-actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-showcase-primary {
  background: #ffffff;
  color: #0f1117;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.72rem 1.6rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-showcase-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
  color: #000000;
}

.btn-showcase-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.72rem 1.4rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

/* ==========================================================
   INTERACTIVE VERTICAL TIMELINE DESIGN (EXACT REFERENCE MOCKUP)
   ========================================================== */
.custom-timeline-wrap {
  position: relative;
  max-width: 1040px;
  margin: 3.5rem auto 0 auto;
  padding: 1rem 0;
}

/* Central vertical spine line (muted track) */
.timeline-central-line {
  position: absolute;
  top: 15px;
  bottom: 25px;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
  z-index: 1;
}

/* Dynamic glowing white scroll progress line (follows user scroll) */
.timeline-progress-bar {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 2.5px;
  height: 0px;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 20px rgba(255, 255, 255, 0.9), 0 0 30px rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
  z-index: 2;
  border-radius: 999px;
  pointer-events: none;
  transition: height 0.05s ease-out;
}

/* Glowing tip dot on the progress line */
.timeline-progress-bar::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 20px rgba(255, 255, 255, 0.95);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.timeline-progress-bar.is-active::after {
  opacity: 1;
}

/* Timeline row */
.timeline-row {
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  align-items: center;
  margin-bottom: 3.2rem;
  position: relative;
  z-index: 2;
}

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

/* Slots */
.timeline-slot {
  position: relative;
}

.slot-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Center node dot - Default inactive state: white ring */
.timeline-dot-node {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0d0f14;
  border: 3.5px solid #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot-node::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
}

/* Active state when white scroll line reaches this node */
.timeline-dot-node.active-node {
  background: #0a0d12;
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25), 0 0 20px rgba(16, 185, 129, 0.9);
  transform: scale(1.22);
}

.timeline-dot-node.active-node::after {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.timeline-row:hover .timeline-dot-node:not(.active-node) {
  transform: scale(1.15);
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
}

.timeline-row:hover .timeline-dot-node.active-node {
  transform: scale(1.3);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.35), 0 0 24px rgba(16, 185, 129, 1);
}

/* Timeline Card */
.timeline-card {
  background: #14161e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.8rem 2rem;
  box-shadow: 0 15px 35px -8px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.timeline-card:hover {
  background: #181b24;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -5px rgba(0, 0, 0, 0.65), 0 0 15px rgba(255, 255, 255, 0.05);
}

/* Card Header: Year pill + Icon */
.tl-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tl-year-pill {
  background: #ffffff;
  color: #0b0d13;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.28rem 0.95rem;
  border-radius: 9999px;
  letter-spacing: 0.4px;
}

.tl-icon-box {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.tl-icon-box svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  min-width: 20px !important;
  stroke-width: 2;
}

/* Title, Provider, Description */
.tl-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.tl-card-provider {
  font-size: 0.95rem;
  font-weight: 600;
  color: #d1d5db;
  display: block;
  margin-bottom: 0.85rem;
}

.tl-card-desc {
  font-size: 0.88rem;
  color: #8b97a8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Tags */
.tl-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tl-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.32rem 0.85rem;
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tl-tag:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Timeline Annotations */
.timeline-annotation-box {
  display: flex;
  align-items: center;
}

.annotation-right {
  justify-content: flex-start;
  gap: 0.85rem;
  padding-left: 0.8rem;
}

.annotation-left {
  justify-content: flex-end;
  gap: 0.85rem;
  padding-right: 0.8rem;
}

.connector-notch {
  width: 28px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  display: inline-block;
}

.annotation-text {
  display: flex;
  flex-direction: column;
  color: #8996a8;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 400;
}

.annotation-left .annotation-text {
  text-align: right;
}

.annotation-right .annotation-text {
  text-align: left;
}

/* Responsive Timeline for Mobile / Tablet */
@media (max-width: 820px) {
  .custom-timeline-wrap {
    max-width: 100%;
    padding-left: 36px;
  }

  .timeline-central-line,
  .timeline-progress-bar {
    left: 18px;
    transform: translateX(-50%);
  }

  .timeline-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding-left: 16px;
    position: relative;
  }

  .slot-center {
    position: absolute;
    left: -36px;
    top: 24px;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slot-left,
  .slot-right {
    width: 100%;
  }

  .row-left .slot-left,
  .row-right .slot-right {
    order: 2;
    width: 100%;
  }

  .row-left .slot-right,
  .row-right .slot-left {
    order: 1;
    margin-bottom: 0.6rem;
    padding: 0;
  }

  .annotation-left,
  .annotation-right {
    justify-content: flex-start;
    padding: 0;
  }

  .annotation-left .annotation-text {
    text-align: left;
  }

  .timeline-card {
    padding: 1.5rem 1.4rem;
  }
}

/* Legacy Grids for reference */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

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

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

.exp-column {
  display: flex;
  flex-direction: column;
}

.exp-column-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-subtle);
}

.column-icon {
  font-size: 1.6rem;
}

.exp-column-header h3 {
  font-size: 1.35rem;
}

.exp-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.exp-card {
  padding: 1.5rem 1.75rem;
  position: relative;
  transition: var(--transition);
}

.exp-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.exp-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trophy-gold {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.35);
}

.trophy-silver {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.35);
}

.trophy-champion {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
}

.exp-title-group {
  flex-grow: 1;
}

.exp-title {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.exp-provider {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.exp-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.badge-gold {
  background: rgba(234, 179, 8, 0.15);
  border-color: rgba(234, 179, 8, 0.4);
  color: #fbbf24;
}

.badge-silver {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.4);
  color: #cbd5e1;
}

.badge-champ {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  color: #fb923c;
}

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

/* ==========================================================
   RESUME DOWNLOAD SECTION
   ========================================================== */
.resume-banner {
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(26, 28, 34, 0.9) 0%, rgba(20, 22, 28, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.resume-title {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.resume-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.resume-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.resume-badge-box {
  display: flex;
  justify-content: center;
}

.resume-card-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(18, 19, 23, 0.85);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.file-icon-box {
  font-size: 2.5rem;
}

.file-details strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.file-details span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================
   CONTACT SECTION
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

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

.contact-card-content {
  flex-grow: 1;
}

.contact-card-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.contact-card-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-card-value:hover {
  color: #ffffff;
  text-decoration: underline;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.copy-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #121316;
}

/* Contact Form */
.contact-form {
  padding: 2.2rem;
}

.form-title {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #ffffff;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
  background: rgba(28, 30, 36, 0.98);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  background: #0f1013;
}

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

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.back-to-top:hover {
  background: #ffffff;
  color: #121316;
  transform: translateY(-3px);
}

/* ==========================================================
   TOAST NOTIFICATION
   ========================================================== */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #18191e;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

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

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

  .hero-role-wrapper,
  .hero-cta-group,
  .quick-connect-bar {
    justify-content: center;
  }

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

  .hero-image-wrapper {
    order: -1;
  }

  .photo-card-container {
    width: 280px;
    height: 350px;
  }

  .about-grid,
  .resume-banner,
  .contact-grid,
  .project-showcase-card,
  .certifications-grid,
  .achievements-grid,
  .exp-dual-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights-grid {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(9, 12, 21, 0.98);
    backdrop-filter: var(--glass-blur);
    padding: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .resume-banner {
    padding: 2rem 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-right {
    flex-direction: column;
  }

  .project-showcase-card {
    padding: 1.4rem;
    border-radius: 18px;
    gap: 1.6rem;
  }

  .thumb-card {
    width: 68px;
    height: 46px;
    border-radius: 6px;
  }

  .showcase-title {
    font-size: 1.35rem;
  }

  .project-headline {
    font-size: 2.2rem;
  }
}
