/* ===================================================================
   MOHAMED SALAH ABD-ELMOHSEN - NETWORK ENGINEER PORTFOLIO
   Modern Technical Design System (Vanilla CSS3)
   =================================================================== */

/* -------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ------------------------------------------------------------------- */
:root {
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;

  /* Dark Theme (Default) */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-surface: #131d31;
  --bg-surface-elevated: #1a2742;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --bg-glass-card: rgba(19, 29, 49, 0.8);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8493a8;
  --text-accent: #38bdf8;

  --accent-cyan: #06b6d4;
  --accent-sky: #0284c7;
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-purple: #a855f7;
  --accent-rose: #f43f5e;

  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #0284c7 50%, #3b82f6 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(2, 132, 199, 0.15) 100%);
  --badge-gradient: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(2, 132, 199, 0.08) 100%);

  --border-color: rgba(148, 163, 184, 0.14);
  --border-hover: rgba(56, 189, 248, 0.35);
  --border-active: rgba(6, 182, 212, 0.6);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.2);

  /* Layout & Spacing */
  --header-height: 72px;
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.9);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-accent: #0284c7;

  --accent-cyan: #0891b2;
  --accent-sky: #0284c7;
  --accent-blue: #2563eb;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-purple: #9333ea;
  --accent-rose: #e11d48;

  --accent-gradient: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(8, 145, 178, 0.08) 0%, rgba(2, 132, 199, 0.08) 100%);
  --badge-gradient: linear-gradient(135deg, rgba(8, 145, 178, 0.08) 0%, rgba(2, 132, 199, 0.05) 100%);

  --border-color: rgba(203, 213, 225, 0.8);
  --border-hover: rgba(2, 132, 199, 0.4);
  --border-active: rgba(8, 145, 178, 0.8);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.12);
}

/* -------------------------------------------------------------------
   2. RESET & BASE STYLES
   ------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

[data-theme="light"] #network-canvas {
  opacity: 0.35;
}

/* Selection */
::selection {
  background-color: rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
}

/* Links & Buttons */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul {
  list-style: none;
}

pre, code {
  font-family: var(--font-mono);
  max-width: 100%;
}

pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

img {
  cursor: zoom-in;
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

img:hover {
  filter: brightness(1.04);
}

#cert-modal-img {
  cursor: default;
  filter: none !important;
  -webkit-filter: none !important;
}

#cert-modal-img:hover {
  filter: none !important;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Global Section Styling */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section-alt {
  background-color: rgba(15, 23, 42, 0.35);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .section-alt {
  background-color: rgba(241, 245, 249, 0.7);
}

/* Section Header */
.section-header {
  margin-bottom: 56px;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: var(--badge-gradient);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.tag-icon {
  color: var(--accent-sky);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 50px;
  height: 3px;
  background: var(--accent-gradient);
  margin: 18px auto 0;
  border-radius: var(--radius-pill);
}

/* Reusable Card */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background-color: rgba(6, 182, 212, 0.05);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.86rem;
}

.btn-block {
  width: 100%;
}

/* -------------------------------------------------------------------
   3. HEADER & NAVIGATION
   ------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  height: 64px;
}

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

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--badge-gradient);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.brand-logo:hover .logo-icon {
  transform: rotate(6deg) scale(1.05);
  border-color: var(--accent-cyan);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

/* Consistent Typography for User Full Name */
.user-fullname {
  font-family: var(--font-main);
  font-weight: 700;
}

.logo-name {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: break-word;
}

.logo-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.terminal-prompt {
  color: var(--accent-emerald);
}

/* Desktop Links */
.nav-desktop {
  display: flex;
  align-items: center;
}

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

.nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: rgba(148, 163, 184, 0.08);
}

.nav-link.active {
  color: var(--accent-cyan);
  font-weight: 600;
  background-color: rgba(6, 182, 212, 0.1);
}

.nav-link-btn {
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-md);
  margin-left: 6px;
}

.nav-link-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--border-hover);
}

.theme-toggle-btn .sun-icon,
.theme-toggle-btn .moon-icon {
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

[data-theme="dark"] .sun-icon {
  display: block;
}
[data-theme="dark"] .moon-icon {
  display: none;
}
[data-theme="light"] .sun-icon {
  display: none;
}
[data-theme="light"] .moon-icon {
  display: block;
}

/* Mobile Hamburger */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 290px;
  max-width: 85vw;
  height: 100vh;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-normal), visibility var(--transition-normal);
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-title {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.mobile-drawer-close {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
}

.mobile-drawer-close:hover {
  color: var(--text-primary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-link {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-cyan);
  background-color: rgba(6, 182, 212, 0.08);
}

.mobile-drawer-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.status-indicator-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* -------------------------------------------------------------------
   4. HERO SECTION
   ------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

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

/* Status Pill */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--badge-gradient);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-family: var(--font-main);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 12px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-name-full {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.hero-role-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.role-badge {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

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

.role-separator {
  color: var(--border-color);
  font-weight: 300;
}

.hero-headline {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-sky);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-intro {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

/* Social Links */
.hero-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
}

.social-link:hover {
  color: var(--accent-cyan);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.social-link.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* Hero Portrait Card & Image Frame */
.hero-portrait-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(6, 182, 212, 0.12);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  animation: portrait-float 5s ease-in-out infinite alternate;
}

.hero-portrait-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(6, 182, 212, 0.3);
  transform: translateY(-4px);
}

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

.portrait-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-primary);
  border: 2px solid rgba(6, 182, 212, 0.3);
  max-height: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
  animation: cyber-glow 4s ease-in-out infinite alternate;
}

@keyframes cyber-glow {
  0% {
    border-color: rgba(6, 182, 212, 0.25);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1), inset 0 0 15px rgba(6, 182, 212, 0.05);
  }
  100% {
    border-color: rgba(6, 182, 212, 0.55);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.22), inset 0 0 20px rgba(6, 182, 212, 0.1);
  }
}

.hero-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow), filter var(--transition-normal);
  display: block;
}

.hero-portrait-card:hover .hero-photo {
  transform: scale(1.025);
}

/* Subtle Network Scanner / Light Sheen Animation */
.portrait-scanner {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 182, 212, 0.04) 30%,
    rgba(6, 182, 212, 0.12) 50%,
    rgba(56, 189, 248, 0.04) 70%,
    transparent 100%
  );
  transform: translateY(-100%);
  animation: scan-sweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes scan-sweep {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  45% {
    transform: translateY(100%);
    opacity: 1;
  }
  50%, 100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* -------------------------------------------------------------------
   5. ABOUT ME SECTION (Full-Width Clean Layout)
   ------------------------------------------------------------------- */
.about-full-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.card-header-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--accent-cyan);
}

.card-header-icon h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.narrative-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.narrative-content .highlight-text {
  background-color: rgba(6, 182, 212, 0.08);
  border-left: 3px solid var(--accent-cyan);
  padding: 14px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-primary);
  margin-top: 20px;
}

.philosophy-card {
  background: var(--bg-surface);
  border-left: 4px solid var(--accent-sky);
}

.philosophy-quote {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  position: relative;
  padding: 10px 0 10px 18px;
}

/* Full Width Career Trajectory Grid */
.career-trajectory-section {
  background: var(--bg-surface);
}

.focus-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
  margin-top: 8px;
}

.focus-item {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface-elevated);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.focus-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.focus-item.primary {
  border-left: 4px solid var(--accent-cyan);
}
.focus-item.secondary {
  border-left: 4px solid var(--accent-emerald);
}
.focus-item.future {
  border-left: 4px solid var(--accent-purple);
}
.focus-item.extra {
  border-left: 4px solid var(--accent-amber);
}

.focus-level {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.focus-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.focus-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.focus-tags .tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background-color: rgba(148, 163, 184, 0.12);
  color: var(--text-secondary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 100%;
}

/* -------------------------------------------------------------------
   5.1 UNIQUE SELLING PROPOSITION (USP)
   ------------------------------------------------------------------- */
.usp-section-card {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(6, 182, 212, 0.04) 50%, rgba(16, 185, 129, 0.03) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 25px rgba(6, 182, 212, 0.08);
  position: relative;
}

.usp-header {
  margin-bottom: 24px;
}

.usp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.usp-sparkle {
  color: var(--accent-amber);
  font-size: 0.9rem;
}

.usp-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.usp-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 780px;
}

.usp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}

.usp-pillar-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.usp-pillar-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.15);
}

.usp-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid var(--border-color);
}

.usp-icon-wrap.icon-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.3);
}

.usp-icon-wrap.icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.3);
}

.usp-icon-wrap.icon-purple {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  border-color: rgba(168, 85, 247, 0.3);
}

.usp-icon-wrap.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.3);
}

.usp-pillar-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.usp-pillar-item p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.usp-pill {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

/* Hero USP Strip */
.hero-usp-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  color: var(--text-primary);
  flex-wrap: wrap;
}

.hero-usp-badge {
  background: var(--accent-gradient);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* How I Work Subsection */
.how-i-work-wrapper {
  margin-top: 64px;
}

.subsection-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.accent-bullet {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.work-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.work-pillar-card {
  text-align: left;
  padding: 24px;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--badge-gradient);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.work-pillar-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.work-pillar-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -------------------------------------------------------------------
   6. TECHNICAL SKILLS SECTION
   ------------------------------------------------------------------- */
.skills-profile-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.profile-banner-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.banner-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.banner-badge {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.badge-strong {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-dev {
  background-color: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-learning {
  background-color: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Filter Tabs */
.skills-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.skill-tab-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.skill-tab-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.skill-tab-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.skill-category-card {
  display: flex;
  flex-direction: column;
}

.skill-category-card.hidden {
  display: none;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.cat-icon-cyan { background-color: rgba(6, 182, 212, 0.12); color: var(--accent-cyan); }
.cat-icon-green { background-color: rgba(16, 185, 129, 0.12); color: var(--accent-emerald); }
.cat-icon-blue { background-color: rgba(59, 130, 246, 0.12); color: var(--accent-blue); }
.cat-icon-purple { background-color: rgba(168, 85, 247, 0.12); color: var(--accent-purple); }
.cat-icon-amber { background-color: rgba(245, 158, 11, 0.12); color: var(--accent-amber); }

.category-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
}

.category-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.skill-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background-color: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  min-width: 0;
  overflow: hidden;
}

.skill-item:hover {
  border-color: var(--accent-cyan);
  background-color: rgba(6, 182, 212, 0.04);
}

.skill-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  background-color: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.3;
  text-align: right;
  flex-shrink: 0;
  max-width: 52%;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Current Learning Box */
.current-learning-box {
  background: var(--accent-gradient-glow);
  border: 1px solid var(--border-hover);
  padding: 22px 28px;
}

.learning-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--accent-cyan);
}

.learning-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.learning-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
}

/* -------------------------------------------------------------------
   7. FEATURED PROJECTS SECTION
   ------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.project-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: rgba(148, 163, 184, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.project-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Project Topology Screenshot Frame */
.project-visual-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #0b0f19;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.project-card:hover .project-visual-frame {
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.2);
}

.project-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
  display: block;
}

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

/* Project image overlay removed — direct click interactivity */

/* Diagram Mini Representation */
.project-diagram-mini {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.diag-node {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.diag-core {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background-color: rgba(6, 182, 212, 0.1);
}

.diag-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 50px;
  padding: 0 4px;
}

.diag-link span {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-bottom: 2px;
  white-space: nowrap;
}

.diag-line {
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent-sky), var(--accent-sky) 4px, transparent 4px, transparent 8px);
}

.project-implementation {
  margin-bottom: 20px;
}

.impl-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.impl-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.impl-list li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 16px;
  line-height: 1.5;
}

.impl-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  background-color: rgba(6, 182, 212, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 100%;
  display: inline-block;
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  background-color: rgba(6, 182, 212, 0.16);
  border-color: rgba(6, 182, 212, 0.4);
}

.project-outcome {
  font-size: 0.86rem;
  color: var(--text-secondary);
  background-color: var(--bg-surface-elevated);
  padding: 12px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-emerald);
  margin-bottom: 20px;
}

.project-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------
   8. TRAINING & EXPERIENCE TIMELINE
   ------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

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

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
  z-index: 2;
}

.timeline-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.inst-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.depi-tag {
  background-color: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.nti-tag {
  background-color: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.general-tag {
  background-color: rgba(148, 163, 184, 0.15);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.status-badge-inline {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-badge-inline.in-progress {
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

.status-badge-inline.score-perfect {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge-inline.completed {
  background-color: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-amber);
  animation: pulse-ring 2s infinite;
}

.program-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.program-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cert-marker-tag {
  background-color: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.cert-marker-green {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.program-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.program-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.program-points li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 16px;
}

.program-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.program-project-callout {
  background-color: var(--bg-surface-elevated);
  border-left: 3px solid var(--accent-amber);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Attached Certificate Photo inside Timeline */
.timeline-cert-attachment {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(148, 163, 184, 0.2);
}

.attachment-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.timeline-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: #38bdf8;
  text-transform: none;
  letter-spacing: normal;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: all var(--transition-fast);
}

.timeline-linkedin-link:hover {
  background: #0077b5;
  color: #ffffff !important;
  border-color: #0077b5;
}

.timeline-cert-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #0b0f19;
  border: 1px solid var(--border-color);
  max-width: 480px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-cert-frame:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 22px rgba(6, 182, 212, 0.25);
}

.timeline-cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
  display: block;
}

.timeline-cert-frame:hover .timeline-cert-img {
  transform: scale(1.03);
}

/* Timeline cert overlay removed — direct click interactivity */

/* -------------------------------------------------------------------
   9. LEADERSHIP & PROJECT MANAGEMENT
   ------------------------------------------------------------------- */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
}

.leadership-narrative p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.lead-quote {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--accent-cyan);
  font-style: italic;
  padding: 14px 18px;
  background-color: var(--bg-surface-elevated);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 18px;
}

.strengths-wrapper {
  display: flex;
  flex-direction: column;
}

.strengths-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.strength-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
}

.str-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background-color: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.str-info h4 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.str-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* -------------------------------------------------------------------
   10. EDUCATION SECTION
   ------------------------------------------------------------------- */
.education-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px;
}

.edu-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.edu-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--badge-gradient);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.edu-title-group {
  display: flex;
  flex-direction: column;
}

.edu-status-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background-color: rgba(6, 182, 212, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 8px;
}

.edu-institution {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.edu-degree {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 4px;
}

.edu-grad-year {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.edu-subheading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.academic-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}

.coursework-item {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 12px;
}

.cw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  margin-top: 6px;
  flex-shrink: 0;
}

.cw-content strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cw-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* -------------------------------------------------------------------
   11. CERTIFICATIONS & ACHIEVEMENTS
   ------------------------------------------------------------------- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 28px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(6, 182, 212, 0.12);
}

.cert-featured {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(16, 185, 129, 0.04) 100%);
}

.cert-highlight-depi {
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(168, 85, 247, 0.04) 100%);
}

/* Certificate Card Top Header with Logos & Badges */
.cert-top-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.cert-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.cert-header-org {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.cert-org-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-fast);
}

.cert-card:hover .cert-org-logo {
  transform: scale(1.06);
}

.cert-logo-nti {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.35);
}

.cert-logo-depi {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  border-color: rgba(168, 85, 247, 0.35);
}

.cert-logo-inova {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-sky);
  border-color: rgba(56, 189, 248, 0.35);
}

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

.cert-logo-comma {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-blue);
  border-color: rgba(14, 165, 233, 0.35);
}

.cert-logo-systel {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.35);
}

.cert-org-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.cert-org-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  overflow-wrap: break-word;
}

.cert-track-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  line-height: 1.35;
  margin-top: 2px;
}

.cert-header-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-badge-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.02em;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.16);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.16);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.45);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.16);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.16);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.badge-blue {
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent-sky);
  border: 1px solid rgba(56, 189, 248, 0.45);
}

.cert-badge-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Authentic Certificate Visual Document Sheet */
.cert-visual-sheet {
  background: var(--bg-primary);
  border: 2px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25);
  background-image: radial-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 0);
  background-size: 16px 16px;
}

.cert-sheet-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.25);
  padding: 14px;
  border-radius: var(--radius-sm);
}

.cert-header-seal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding-bottom: 8px;
}

.cert-org-emblem {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.04em;
}

.cert-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.score-pill {
  background-color: rgba(16, 185, 129, 0.18);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.cert-pill-blue {
  background-color: rgba(56, 189, 248, 0.18);
  color: var(--accent-sky);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.cert-pill-purple {
  background-color: rgba(168, 85, 247, 0.18);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.cert-pill-amber {
  background-color: rgba(245, 158, 11, 0.18);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.cert-pill-cyan {
  background-color: rgba(6, 182, 212, 0.18);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.cert-pill-emerald {
  background-color: rgba(16, 185, 129, 0.18);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.cert-sheet-body {
  text-align: center;
  padding: 4px 0;
}

.cert-subhead {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cert-sheet-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 4px 0 6px;
  line-height: 1.3;
}

.cert-recipient-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.cert-recipient-name strong {
  color: var(--accent-cyan);
}

.cert-specs-row {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cert-footer-stamp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.cert-id-tag {
  color: var(--text-muted);
}

.verified-seal-tag {
  color: var(--accent-emerald);
  font-weight: 700;
}

.verified-seal-tag.in-progress {
  color: var(--accent-amber);
}

/* Certificate Text Details */
.cert-details-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cert-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.cert-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.cert-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.verified-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.in-progress-tag {
  color: var(--accent-amber);
}

/* Interactive Direct-Click Image Frames Across Entire Portfolio */
.cert-image-frame,
.project-visual-frame,
.timeline-cert-frame,
.portrait-frame {
  cursor: zoom-in;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.cert-visual-sheet {
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.cert-image-frame:hover,
.project-visual-frame:hover,
.timeline-cert-frame:hover,
.cert-visual-sheet:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.28);
}

.cert-image-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  background-color: #0b0f19;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow), filter var(--transition-normal);
  display: block;
}

.cert-card:hover .cert-img {
  transform: scale(1.04);
}

/* Certificate image overlay removed — direct click interactivity */
.cert-image-frame {
  cursor: zoom-in;
}

/* Timeline Action Bar */
.timeline-action-bar {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.btn-xs {
  padding: 5px 12px;
  font-size: 0.76rem;
}

/* ===================================================================
   Full-Screen Dark Lightbox Modal (Crisp, High-Res, Zero Blur)
   =================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 6, 12, 0.95);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-header {
  width: 100%;
  max-width: 1320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.lightbox-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.lightbox-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
}

.lightbox-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lightbox-action-btn {
  font-size: 0.82rem;
  padding: 6px 14px;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: #ef4444;
  color: #ffffff;
  transform: scale(1.08);
}

.lightbox-stage {
  flex: 1;
  width: 100%;
  max-width: 1320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  min-height: 0;
  cursor: pointer;
}

@keyframes lightboxZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-img {
  max-width: 94vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.12);
  cursor: default;
  filter: none !important;
  -webkit-filter: none !important;
  image-rendering: auto;
  user-select: none;
  animation: lightboxZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lightbox-caption-bar {
  width: 100%;
  max-width: 1320px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  flex-shrink: 0;
}

.lightbox-hint {
  font-size: 0.8rem;
  color: #94a3b8;
}

.lightbox-hint kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: inherit;
  font-size: 0.75rem;
  color: #f8fafc;
}

.modal-footer-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* LinkedIn Button Styling */
.btn-linkedin {
  background: linear-gradient(135deg, #0077b5, #005e93);
  color: #ffffff !important;
  border: 1px solid #0077b5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-linkedin:hover {
  background: linear-gradient(135deg, #0088ce, #0066a2);
  border-color: #0096e6;
  box-shadow: 0 0 16px rgba(0, 119, 181, 0.45);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.cert-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.cert-card-actions .btn,
.project-card-footer .btn {
  flex: 1 1 160px;
  justify-content: center;
}

.timeline-cert-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  color: var(--accent-cyan);
  margin-left: auto;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  transition: all var(--transition-fast);
}

.timeline-cert-linkedin:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

/* -------------------------------------------------------------------
   12. CAREER GOALS & ROADMAP
   ------------------------------------------------------------------- */
.goals-roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.goal-step-card {
  display: flex;
  flex-direction: column;
}

.goal-card-featured {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: var(--shadow-md), 0 0 20px rgba(6, 182, 212, 0.1);
}

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

.step-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background-color: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.step-badge-mid {
  background-color: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  border-color: rgba(168, 85, 247, 0.3);
}

.step-badge-long {
  background-color: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.3);
}

.step-timeline {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step-target {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-sky);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-milestones {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.milestone-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------
   13. CONTACT SECTION
   ------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.contact-intro-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
}

.method-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--badge-gradient);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.icon-green {
  color: var(--accent-emerald);
}

.method-details {
  display: flex;
  flex-direction: column;
}

.method-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.method-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.method-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-cyan);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.method-link:hover {
  text-decoration: underline;
}

.text-green { color: var(--accent-emerald); }
.text-muted { color: var(--text-muted); }

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

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

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

.required {
  color: var(--accent-rose);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

.form-error-msg {
  font-size: 0.75rem;
  color: var(--accent-rose);
  display: none;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
  border-color: var(--accent-rose);
}

.form-group.has-error .form-error-msg {
  display: block;
}

/* -------------------------------------------------------------------
   14. MODAL & TOAST
   ------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.modal-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

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

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

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

.modal-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-topology-diagram {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 16px 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: pre;
  scrollbar-width: thin;
}

.modal-footer {
  padding-top: 18px;
  margin-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--bg-surface);
  border: 1px solid var(--accent-emerald);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

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

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

/* -------------------------------------------------------------------
   15. BACK TO TOP BUTTON
   ------------------------------------------------------------------- */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top-btn:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

.progress-ring {
  position: absolute;
  top: 1px;
  left: 1px;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  stroke: var(--border-color);
}

.progress-ring-circle {
  stroke: var(--accent-cyan);
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66;
  transition: stroke-dashoffset 0.15s ease;
}

.arrow-up-icon {
  z-index: 2;
}

/* -------------------------------------------------------------------
   16. FOOTER
   ------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-brand {
  text-align: center;
}

.footer-brand .logo-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-brand .logo-sub {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  display: block;
  margin-top: 4px;
}

.footer-tagline {
  font-size: 0.94rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

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

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

/* -------------------------------------------------------------------
   17. SCROLL REVEAL ANIMATIONS
   ------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------
   18. COMPREHENSIVE RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------------- */

/* --- Large Desktops & Tablets Landscape (<= 1200px) --- */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-grid {
    gap: 36px;
  }
}

/* --- Medium Tablets & Small Laptops (<= 1024px) --- */
@media (max-width: 1024px) {
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .hero-portrait-card {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }

  .work-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .goals-roadmap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .skills-profile-banner {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* --- Portrait Tablets & Large Phones (<= 768px) --- */
@media (max-width: 768px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-header {
    margin-bottom: 36px;
  }

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

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Navigation */
  .nav-desktop {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  /* Hero Typography & Portrait */
  .hero-section {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: 2.3rem;
    line-height: 1.15;
  }

  .hero-name-full {
    font-size: 1.35rem;
  }

  .hero-headline {
    font-size: 1.12rem;
  }

  .hero-portrait-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .portrait-frame,
  .hero-photo {
    height: 380px;
    max-height: 380px;
  }

  /* Grids Collapse to 1-Column */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .skills-profile-banner {
    grid-template-columns: 1fr;
  }

  .focus-grid-full {
    grid-template-columns: 1fr;
  }

  .education-card {
    padding: 24px 20px;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 14px;
  }
}

/* --- Small Tablets & Large Phones (<= 640px) --- */
@media (max-width: 640px) {
  .timeline {
    padding-left: 22px;
  }

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

  .timeline-dot {
    left: -22px;
    width: 12px;
    height: 12px;
    top: 22px;
  }

  .timeline-content {
    padding: 18px 16px;
  }

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

  .program-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .timeline-cert-frame {
    max-width: 100%;
    width: 100%;
  }

  .work-pillars-grid {
    grid-template-columns: 1fr;
  }

  .academic-focus-grid {
    grid-template-columns: 1fr;
  }

  /* Lightbox Controls on Small Screens */
  .lightbox-controls {
    gap: 6px;
  }

  .lightbox-controls .btn span {
    display: none !important;
  }

  .lightbox-controls .btn {
    padding: 7px 10px;
    min-width: 38px;
    height: 38px;
    justify-content: center;
  }
}

/* --- Mobile Phones (<= 480px) --- Targets 430px, 414px, 390px, 375px --- */
@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
    width: 100%;
    max-width: 100%;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.22;
  }

  .section-subtitle {
    font-size: 0.90rem;
    line-height: 1.5;
  }

  /* Hero Section */
  .hero-section {
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 36px;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-name-full {
    font-size: 1.15rem;
  }

  .hero-headline {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .hero-role-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .role-separator {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .hero-social {
    gap: 8px;
    width: 100%;
  }

  .social-label {
    width: 100%;
    margin-bottom: 2px;
  }

  .social-link {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    min-height: 38px;
    font-size: 0.82rem;
    padding: 6px 10px;
  }

  .hero-usp-strip {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    padding: 8px 12px;
    line-height: 1.4;
  }

  .portrait-frame,
  .hero-photo {
    height: 300px;
    max-height: 300px;
  }

  /* Cards & Shared Proportions */
  .card {
    padding: 18px 14px;
    border-radius: var(--radius-md);
    min-width: 0;
    max-width: 100%;
  }

  /* Header Branding */
  .brand-logo .logo-role {
    display: none;
  }

  .brand-logo .logo-name {
    font-size: 0.90rem;
    line-height: 1.22;
    overflow-wrap: break-word;
    word-break: break-word;
  }

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

  .nav-actions {
    gap: 8px;
  }

  .philosophy-quote {
    font-size: 0.92rem;
    padding: 6px 0 6px 12px;
  }

  /* Projects */
  .project-badge-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .project-category {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .project-title {
    font-size: 1.20rem;
    line-height: 1.3;
  }

  .project-summary {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .project-diagram-mini {
    padding: 10px 8px;
    gap: 4px;
  }

  .diag-node {
    font-size: 0.68rem;
    padding: 4px 6px;
  }

  .diag-link {
    min-width: 30px;
    padding: 0 2px;
  }

  .diag-link span {
    font-size: 0.56rem;
  }

  .project-card-footer,
  .cert-card-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .project-card-footer .btn,
  .cert-card-actions .btn {
    width: 100%;
    flex: 1 1 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.84rem;
    white-space: normal;
    text-align: center;
  }

  /* Certificates */
  .cert-top-header {
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .cert-header-org {
    gap: 10px;
  }

  .cert-org-logo {
    width: 36px;
    height: 36px;
  }

  .cert-org-title {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .cert-track-title {
    font-size: 0.70rem;
  }

  .cert-header-badges-row {
    gap: 6px;
  }

  .cert-badge-main {
    font-size: 0.70rem;
    padding: 3px 8px;
  }

  .cert-badge-sub {
    font-size: 0.66rem;
    padding: 2px 7px;
  }

  /* Skills */
  .skills-filter-tabs {
    gap: 6px;
    margin-bottom: 22px;
  }

  .skill-tab-btn {
    font-size: 0.78rem;
    padding: 6px 12px;
    min-height: 36px;
  }

  .skill-item {
    padding: 8px 10px;
    gap: 6px;
  }

  .skill-name {
    font-size: 0.82rem;
  }

  .skill-tag {
    font-size: 0.66rem;
    padding: 2px 6px;
    max-width: 50%;
  }

  .learning-chips {
    gap: 8px;
  }

  .chip {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  /* Education */
  .education-card {
    padding: 20px 14px;
  }

  .edu-header {
    flex-direction: column;
    gap: 12px;
  }

  .edu-institution {
    font-size: 1.25rem;
  }

  .edu-degree {
    font-size: 0.90rem;
  }

  /* Timeline */
  .timeline {
    padding-left: 20px;
  }

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

  .timeline-dot {
    left: -20px;
    width: 12px;
    height: 12px;
    top: 22px;
  }

  .timeline-content {
    padding: 16px 12px;
  }

  /* Contact */
  .contact-info-card,
  .contact-form-card {
    padding: 20px 14px;
  }

  .form-input,
  .form-textarea {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    padding: 10px 12px;
    min-height: 44px;
  }

  .contact-form .btn {
    width: 100%;
    min-height: 46px;
  }

  .contact-method-item {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  /* Modals & Lightbox */
  .modal-backdrop {
    padding: 12px 8px;
  }

  .modal-card {
    padding: 18px 12px;
    max-height: 92vh;
    width: 100%;
  }

  .lightbox-overlay {
    padding: 10px;
  }

  .lightbox-header {
    gap: 8px;
    padding-bottom: 8px;
  }

  .lightbox-meta {
    min-width: 0;
    flex: 1;
  }

  .lightbox-title {
    font-size: 0.88rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lightbox-controls {
    gap: 6px;
    flex-shrink: 0;
  }

  .lightbox-controls .btn span {
    display: none !important;
  }

  .lightbox-controls .btn {
    padding: 6px 8px;
    min-width: 36px;
    height: 36px;
    justify-content: center;
  }

  .lightbox-close-btn {
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }

  .lightbox-stage {
    padding: 8px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .lightbox-img {
    max-width: 100%;
    max-height: 76vh;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .modal-title {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .modal-footer-split {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .modal-footer-split .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .modal-topology-diagram {
    padding: 12px 8px;
    font-size: 0.66rem;
    max-width: 100%;
    overflow-x: auto;
  }

  .back-to-top-btn {
    bottom: 20px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

/* --- Narrow Mobile Phones (<= 400px) --- Targets 390px, 375px --- */
@media (max-width: 400px) {
  .skill-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .skill-tag {
    max-width: 100%;
    align-self: flex-start;
  }

  .hero-social .social-link {
    flex: 1 1 100%;
  }
}

/* --- Ultra-Compact Phones (<= 360px) --- Targets 360px, 320px --- */
@media (max-width: 360px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

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

  .card {
    padding: 14px 10px;
  }

  .hero-title {
    font-size: 1.50rem;
    line-height: 1.16;
  }

  .hero-badge-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .badge-tech {
    font-size: 0.70rem;
  }

  .portrait-frame,
  .hero-photo {
    height: 250px;
    max-height: 250px;
  }

  .project-title {
    font-size: 1.10rem;
  }

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

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .brand-logo .logo-name {
    font-size: 0.80rem;
    line-height: 1.18;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .nav-actions {
    gap: 6px;
  }

  .theme-toggle-btn,
  .mobile-toggle-btn {
    width: 36px;
    height: 36px;
  }

  .timeline {
    padding-left: 16px;
  }

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

  .timeline-dot {
    left: -16px;
    width: 10px;
    height: 10px;
    top: 20px;
  }

  .timeline-content {
    padding: 14px 10px;
  }

  .attachment-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .modal-card {
    padding: 14px 8px;
  }

  .modal-title {
    font-size: 1.05rem;
  }

  .modal-topology-diagram {
    font-size: 0.60rem;
    padding: 8px 6px;
  }

  .lightbox-title {
    max-width: 100%;
    font-size: 0.80rem;
  }
}
