:root {
  /* Warm Sepia/Yellow/Gold Theme */
  --primary-bg: #faf8f3;
  --secondary-bg: #f5f1e8;
  --sidebar-bg: #f8f5ed;
  --accent-blue: #d4a04f;
  --accent-hover: #b8894a;
  --accent-light: #f9f0de;
  --text-primary: #2d2416;
  --text-secondary: #5a4a34;
  --text-muted: #8b7a5e;
  --surface-dark: #ffffff;
  --surface-light: #f9f6ed;
  --border-subtle: #e8dfc8;
  --border-medium: #d4c9b0;
  --shadow-sm: 0 1px 2px 0 rgba(45, 36, 22, 0.05);
  --shadow-md: 0 2px 4px 0 rgba(45, 36, 22, 0.08);
  --shadow-lg: 0 4px 6px -1px rgba(45, 36, 22, 0.1);
  --shadow-xl: 0 10px 15px -3px rgba(45, 36, 22, 0.12);
}

[data-theme="dark"] {
  /* Dark Sepia Theme */
  --primary-bg: #1a1510;
  --secondary-bg: #2a2318;
  --sidebar-bg: #221c14;
  --text-primary: #e8dfc8;
  --text-secondary: #c4b89e;
  --text-muted: #8b7a5e;
  --surface-dark: #2a2318;
  --surface-light: #3a2f20;
  --border-subtle: #3a2f20;
  --border-medium: #4a3d28;
  --accent-light: #3d2f1a;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

/* Skip to main content link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-blue);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 0 0 4px 0;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--accent-hover);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
}

/* Top Header Bar */
.top-header {
  background: var(--surface-dark);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.2s ease;
}

.logo {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-blue);
  background-image: linear-gradient(135deg, var(--accent-blue) 0%, #c89645 50%, var(--accent-hover) 100%);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(212, 160, 79, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  transition: all 0.2s ease;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.logo-initials::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px 8px 0 0;
}

.logo:hover .logo-initials {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 160, 79, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.logo-name {
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.theme-toggle {
  background: var(--secondary-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  padding: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0;
  position: relative;
  width: 68px;
  height: 32px;
}

.theme-toggle:hover {
  border-color: var(--border-medium);
}

.theme-toggle-option {
  width: 32px;
  height: 26px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
  cursor: pointer;
  color: var(--text-muted);
  white-space: nowrap;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 0;
}

.theme-toggle-option.active {
  color: var(--text-primary);
}

.theme-toggle::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--surface-dark);
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: var(--shadow-sm);
  left: 3px;
}

[data-theme="dark"] .theme-toggle::before {
  transform: translateX(32px);
}

/* Main Layout */
.page-wrapper {
  display: flex;
  min-height: calc(100vh - 56px);
  justify-content: center;
  gap: 0;
}

.sidebar {
  width: 240px;
  flex: 0 0 240px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border-subtle);
  padding: 2rem 1rem;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-y: auto;
  transition: background-color 0.2s ease;
  margin: 0;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 0.5rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.15s ease;
  font-size: 14px;
}

.sidebar-nav a:hover {
  background: var(--surface-light);
  color: var(--text-primary);
}

.sidebar-nav a:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.sidebar-nav a.active {
  background: var(--accent-light);
  color: var(--accent-blue);
  font-weight: 600;
  position: relative;
  padding-left: 1.25rem;
}

.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: var(--accent-blue);
  border-radius: 2px;
}

.main-content {
  flex: 0 1 1000px;
  max-width: 1000px;
  padding: 3rem;
  background: var(--primary-bg);
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  transition: background-color 0.2s ease;
}
/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb a:hover {
  color: var(--accent-blue);
}

.breadcrumb .separator {
  color: var(--text-muted);
}

/* Typography */
h1 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  color: var(--text-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h2 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  margin-top: 2.5rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
}

h2:first-of-type {
  margin-top: 2rem;
}

h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
}
ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

li strong {
  color: var(--text-primary);
  font-weight: 600;
}

p {
  margin: 1rem 0;
  line-height: 1.7;
  color: var(--text-secondary);
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}
.section {
  margin-bottom: 3rem;
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
  transition: all 0.2s ease;
}

.section-content {
  background: var(--surface-dark);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid transparent;
  border-radius: 6px;
  padding: 2rem;
  transition: all 0.2s ease;
  position: relative;
}

.section-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
  border-left-color: var(--accent-blue);
  transform: translateY(-2px);
}
.tag {
  display: inline-block;
  background: var(--secondary-bg);
  color: var(--text-secondary);
  padding: 0.375rem 0.75rem;
  margin: 0.25rem 0.5rem 0.25rem 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  transition: all 0.15s ease;
  letter-spacing: 0;
}

.tag:hover {
  background: var(--accent-light);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}
.lang-toggle {
  display: flex;
  gap: 0.5rem;
}

.main-content .lang-toggle {
  margin-bottom: 2rem;
}

.lang-toggle button {
  padding: 0.5rem;
  background: var(--secondary-bg);
  border: 2px solid var(--border-subtle);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  line-height: 1;
}

.lang-toggle button svg {
  display: block;
  border-radius: 2px;
}

.lang-toggle button.active {
  background: var(--surface-dark);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
}

.lang-toggle button:hover:not(.active) {
  background: var(--surface-light);
  border-color: var(--border-medium);
}
.lang-content { display: none; }
.lang-content.active { display: block; }
.social {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: var(--secondary-bg);
  transition: all 0.15s ease;
  border: 1px solid var(--border-subtle);
  font-size: 14px;
}

.social a:hover {
  background: var(--accent-blue);
  color: white;
  text-decoration: none;
  border-color: var(--accent-blue);
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.nav-link-primary {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  background: var(--accent-blue);
  transition: all 0.2s ease;
  border: 1px solid var(--accent-blue);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.nav-link-primary svg {
  flex-shrink: 0;
}

.nav-link-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-link-secondary {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  background: transparent;
  transition: all 0.2s ease;
  border: 1px solid var(--border-medium);
  font-size: 14px;
}

.nav-link-secondary:hover {
  background: var(--surface-light);
  color: var(--text-primary);
  border-color: var(--accent-blue);
}

.nav-links a:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.logo:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-wrapper {
    gap: 0;
  }
  
  .sidebar {
    width: 200px;
    padding: 1.5rem 0.75rem;
    margin: 0;
  }
  
  .main-content {
    padding: 2rem 1.5rem;
    margin: 0;
  }
  
  .professional-header {
    gap: 1.5rem;
  }
}

/* ============================================
   MOBILE-FIRST RESPONSIVE DESIGN (768px and below)
   ============================================ */
@media (max-width: 768px) {
  /* Reset all spacing to zero for mobile */
  .page-wrapper {
    flex-direction: column;
    min-height: auto;
    gap: 0 !important;
    margin: 0;
    padding: 0;
  }
  
  /* Ensure no gap between sidebar and main-content */
  .page-wrapper > .sidebar + .main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Mobile Sidebar - Sticky Navigation Bar - COMPACT */
  .sidebar {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    position: sticky !important;
    top: 56px; /* Below header */
    z-index: 50;
    background: var(--sidebar-bg);
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem 0.5rem 1rem !important;
    margin: 0 0 0 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0.5rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: visible !important;
    overflow-y: visible !important;
    flex-shrink: 0;
    /* Override desktop height calculation */
    flex: 0 0 auto !important;
  }
  
  /* Add spacing after sticky sidebar to prevent overlap */
  .sidebar + .main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Ensure sidebar nav has no bottom spacing */
  .sidebar-nav {
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Horizontal scrollable navigation on mobile - COMPACT */
  .sidebar-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 0;
    margin: 0;
    height: auto;
    min-height: auto;
  }
  
  .sidebar-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
  
  .sidebar-nav li {
    margin: 0;
    flex-shrink: 0;
  }
  
  .sidebar-nav a {
    white-space: nowrap;
    padding: 0.5rem 0.875rem;
    font-size: 13px;
    min-height: 40px; /* Touch-friendly but compact */
    display: flex;
    align-items: center;
    line-height: 1.2;
  }
  
  /* Main Content - No overlap with sticky sidebar */
  .main-content {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
  }
  
  .container {
    padding: 0 1rem 1rem 1rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
  
  /* Remove all top margins/padding from first elements */
  .container > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .breadcrumb {
    display: none;
  }
  
  /* Quick Action Links - Small top margin to prevent overlap with sticky nav */
  .nav-links {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem 0 !important;
    padding: 0 !important;
    flex-wrap: wrap;
  }
  
  .nav-link-primary,
  .nav-link-secondary {
    flex: 1;
    min-width: 120px;
    min-height: 44px; /* Touch-friendly */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .lang-content {
    margin: 0;
    padding: 0;
  }
  
  /* Professional Header - Mobile Optimized */
  .professional-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 0 0 0;
    margin: 0 0 1.5rem 0;
    border-bottom: 2px solid var(--border-subtle);
  }
  
  .profile-img {
    width: 100px;
    height: 100px;
  }
  
  .header-content h1 {
    font-size: 1.75rem;
    margin: 0.5rem 0;
  }
  
  .title-line {
    font-size: 1rem;
    margin: 0.25rem 0;
  }
  
  .experience-line {
    font-size: 0.875rem;
    margin: 0.25rem 0;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
    margin-top: 0;
  }
  
  h2 {
    font-size: 1.375rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  h3 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
  }
  
  /* Section Content - Better mobile spacing */
  .section {
    margin-bottom: 2rem;
  }
  
  .section-content {
    padding: 1.25rem;
    margin: 0;
  }
  
  /* Top Header adjustments */
  .top-header {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo-initials {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
  
  .header-actions {
    gap: 0.5rem;
  }
  
  .theme-toggle {
    width: 60px;
    height: 30px;
  }
  
  .theme-toggle-option {
    width: 28px;
    height: 24px;
    font-size: 12px;
  }
  
  .lang-toggle button {
    width: 40px;
    height: 32px;
    padding: 0;
  }
  
  .lang-toggle svg {
    width: 20px;
    height: 13px;
  }
  
  /* Projects mobile optimization */
  .project-meta {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  
  .tech-tag {
    font-size: 11px;
    padding: 0.25rem 0.5rem;
    min-height: 28px;
  }
  
  /* FAQ grid to single column */
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Value points better spacing */
  .value-point {
    padding-left: 1.25rem;
    font-size: 14px;
    margin-bottom: 0.75rem;
  }
  
  /* Learning section mobile adjustments */
  .learning-journey-card {
    padding: 1.25rem;
  }
  
  .learning-journey-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .learning-stats-compact {
    justify-content: space-around;
  }
  
  .learning-cta-button {
    width: 100%;
    justify-content: center;
  }
  
  /* Back to top button */
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }
}

/* ============================================
   SMALL MOBILE DEVICES (480px and below)
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem 0.75rem 0.75rem;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .nav-links {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .top-header {
    padding: 0.625rem 0.75rem;
  }
  
  .logo {
    font-size: 0.9375rem;
    gap: 0.5rem;
  }
  
  .logo-initials {
    width: 32px;
    height: 32px;
    font-size: 0.8125rem;
  }
  
  .logo-name {
    font-size: 0.875rem;
  }
  
  .header-actions {
    gap: 0.375rem;
  }
  
  .theme-toggle {
    width: 56px;
    height: 28px;
    padding: 2px;
  }
  
  .theme-toggle-option {
    width: 26px;
    height: 22px;
    font-size: 11px;
  }
  
  .lang-toggle button {
    width: 36px;
    height: 30px;
    padding: 0;
  }
  
  .lang-toggle svg {
    width: 18px;
    height: 12px;
  }
  
  /* Sidebar navigation - smaller but still touch-friendly */
  .sidebar {
    padding: 0.5rem 0.75rem 0.5rem 0.75rem !important;
    margin-bottom: 0 !important;
    padding-bottom: 0.5rem !important;
  }
  
  .sidebar-nav {
    gap: 0.375rem;
  }
  
  .sidebar-nav a {
    padding: 0.5rem 0.75rem;
    font-size: 12px;
    min-height: 38px; /* Compact but still touch-friendly */
  }
  
  /* Professional Header - Compact */
  .professional-header {
    padding: 1.25rem 0 0 0;
    margin-bottom: 1.25rem;
    gap: 0.875rem;
  }
  
  .profile-img {
    width: 90px;
    height: 90px;
  }
  
  .header-content h1 {
    font-size: 1.5rem;
  }
  
  .title-line {
    font-size: 0.9375rem;
  }
  
  .experience-line {
    font-size: 0.8125rem;
  }
  
  /* Quick Links - Stack on very small screens */
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav-link-primary,
  .nav-link-secondary {
    width: 100%;
    min-width: auto;
  }
  
  /* Typography */
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
  }
  
  h3 {
    font-size: 1.0625rem;
  }
  
  /* Section Content */
  .section-content {
    padding: 1rem;
  }
  
  .section {
    margin-bottom: 1.5rem;
  }
  
  /* Tags and badges */
  .tag {
    padding: 0.25rem 0.5rem;
    font-size: 11px;
    min-height: 28px;
  }
  
  .tech-tag {
    font-size: 10px;
    padding: 0.25rem 0.5rem;
    min-height: 26px;
  }
  
  .project-status {
    font-size: 11px;
    padding: 0.25rem 0.625rem;
    min-height: 24px;
  }
  
  /* Lists and text */
  ul {
    padding-left: 1.25rem;
  }
  
  li {
    font-size: 14px;
    margin-bottom: 0.5rem;
  }
  
  p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  /* Learning section */
  .learning-journey-card {
    padding: 1rem;
  }
  
  .stat-number-compact {
    font-size: 1.5rem;
  }
  
  .stat-label-compact {
    font-size: 0.8125rem;
  }
}

/* ============================================
   PROFESSIONAL MINIMALIST HEADER
   ============================================ */
.professional-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--border-subtle);
  position: relative;
}

.professional-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--accent-blue);
}

.header-left {
  flex-shrink: 0;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-blue);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.header-content {
  flex: 1;
}

.header-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.title-line {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin: 0 0 0.375rem 0;
  letter-spacing: -0.01em;
}

.experience-line {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   PROFESSIONAL PROJECT ENTRIES
   ============================================ */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.project-entry {
  position: relative;
  padding: 1.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.2s ease;
}

.project-entry:hover {
  padding-left: 0.5rem;
}

.project-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.project-status {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  background: var(--secondary-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-tag {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 0.25rem 0.625rem;
  background: var(--surface-light);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  font-weight: 500;
}

.project-description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.project-achievements {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.project-achievements strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   VALUE PROPOSITION - PROFESSIONAL LAYOUT
   ============================================ */
.value-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-point {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  border-left: 2px solid var(--accent-light);
  margin-left: 0.5rem;
  transition: all 0.2s ease;
}

.value-point::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 1.25rem;
  width: 10px;
  height: 10px;
  background: var(--accent-blue);
  border-radius: 50%;
  border: 2px solid var(--surface-dark);
  box-shadow: 0 0 0 2px var(--accent-light);
}

.value-point:hover {
  border-left-color: var(--accent-blue);
  padding-left: 2.25rem;
}

.value-point strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   REMOVED CHILDISH ELEMENTS
   ============================================ */
/* All hero-section, stats, badges, social-proof removed */
/* Keeping it professional and subtle */

/* ============================================
   FAQ SECTION - REFINED
   ============================================ */
.faq-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--surface-light);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.625rem 0;
  line-height: 1.5;
}

.faq-answer {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   BACK TO TOP BUTTON - REFINED
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent-blue);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  font-size: 1.25rem;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   ENHANCED RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .professional-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
    padding: 0;
    margin-top: 0;
    margin-bottom: 1.5rem;
  }
  
  .profile-img {
    width: 100px;
    height: 100px;
  }
  
  .header-content h1 {
    font-size: 1.5rem;
  }
  
  .title-line {
    font-size: 1rem;
  }
  
  .experience-line {
    font-size: 0.875rem;
  }
  
  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .project-title {
    font-size: 1.125rem;
  }
  
  .project-description {
    font-size: 0.875rem;
  }
  
  .project-achievements {
    font-size: 0.8125rem;
  }
  
  .projects-list {
    gap: 2rem;
  }
}

/* Consolidated into main 480px media query above */

/* ============================================
   CONTINUOUS LEARNING SECTION
   ============================================ */
.learning-intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 800px;
}

/* Learning Journey Card - Compact Design */
.learning-journey-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.learning-journey-card:hover {
  box-shadow: var(--shadow-md);
}

.learning-journey-header {
  margin-bottom: 1.5rem;
}

.learning-journey-header h2 {
  margin-bottom: 0.75rem;
}

.learning-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.learning-journey-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.learning-stats-compact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number-compact {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1.2;
}

.stat-label-compact {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-medium);
  opacity: 0.5;
}

.learning-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-blue);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.learning-cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.learning-cta-button svg {
  transition: transform 0.2s ease;
}

.learning-cta-button:hover svg {
  transform: translateX(2px);
}

/* Legacy styles for backward compatibility */
.learning-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  justify-items: start;
}

.stat-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.learning-domains {
  margin-top: 3rem;
}

.learning-domains h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.domain-group {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--surface-light);
  border-radius: 8px;
  border-left: 4px solid var(--accent-blue);
}

.domain-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.domain-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.certificate-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.certificate-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue);
}

.certificate-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.certificate-header h5 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  min-width: 200px;
}

.certificate-badge {
  background: var(--accent-light);
  color: var(--accent-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.certificate-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cert-date,
.cert-duration {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.certificate-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-badge {
  background: var(--surface-light);
  color: var(--text-secondary);
  padding: 0.375rem 0.75rem;
  border-radius: 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
}

.certificate-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  transition: color 0.2s ease, gap 0.2s ease;
}

.certificate-link:hover {
  color: var(--accent-hover);
  gap: 0.75rem;
}

.domain-placeholder {
  color: var(--text-muted);
  font-style: italic;
  padding: 1rem;
  text-align: center;
  background: var(--surface-light);
  border-radius: 6px;
  border: 1px dashed var(--border-medium);
}

.learning-philosophy {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--surface-light);
  border-radius: 8px;
  border-left: 4px solid var(--accent-blue);
}

.learning-philosophy h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.learning-philosophy p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive adjustments for learning section */
@media (max-width: 768px) {
  .learning-journey-card {
    padding: 1.5rem;
  }

  .learning-journey-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .learning-stats-compact {
    justify-content: space-around;
  }

  .stat-number-compact {
    font-size: 1.75rem;
  }

  .learning-cta-button {
    width: 100%;
    justify-content: center;
  }

  .learning-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .certificates-grid {
    grid-template-columns: 1fr;
  }

  .domain-group {
    padding: 1rem;
  }

  .certificate-card {
    padding: 1.25rem;
  }

  .learning-philosophy {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .learning-intro {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .domain-title {
    font-size: 1.125rem;
  }

  .certificate-header h5 {
    font-size: 1rem;
  }
  
  /* Additional learning section adjustments */
  .learning-intro {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .domain-title {
    font-size: 1.125rem;
  }
}

/* ============================================
   SMOOTH ANIMATIONS - SUBTLE
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.section {
  animation: fadeIn 0.4s ease-out;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .top-header,
  .sidebar,
  .back-to-top,
  .theme-toggle,
  .lang-toggle,
  .nav-links {
    display: none;
  }
  
  .page-wrapper {
    display: block;
  }
  
  .professional-header {
    page-break-inside: avoid;
  }
}
