:root {
  --header-height: calc(0.5rem + 36px + 0.5rem + 1px); /* top padding + content height + bottom padding + border */
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #0f0f0f;
  z-index: 1000;
  border-bottom: 1px solid rgba(25, 25, 25, 0.8);
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #222222;
}

body {
  font-family: "JetBrains Mono", monospace;
  color: #c9d1d9;
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 300;
  transition: background-color 0.3s ease, color 0.3s ease;
  scrollbar-gutter: stable;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 900px;
  background-color: #1a1a1a;
  z-index: -1;
}

/* Light theme styles */
html[data-theme=light] {
  background-color: #fafafa;
}

body[data-theme=light] {
  color: #24292f;
}

body[data-theme=light]::before {
  background-color: #f0f0f0;
}

body[data-theme=light] .fixed-header {
  background: #e8e8e8;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

body[data-theme=light] .header-banner {
  background-image: url("/assets/images/banner.png");
}

body[data-theme=light] .profile-pic {
  border: 4px solid #f6f8fa;
}

body[data-theme=light] h1,
body[data-theme=light] h2,
body[data-theme=light] h3 {
  color: #24292f;
}

body[data-theme=light] .main-content > h2 {
  color: #ff6b35;
}

body[data-theme=light] .blog-content > h2 {
  color: #ff6b35;
}

body[data-theme=light] .blog-content .blog-post h3 a {
  color: #24292f;
}

body[data-theme=light] .blog-content article > h1 {
  color: #ff6b35 !important;
}

body[data-theme=light] .hero-description {
  color: #656d76;
}

body[data-theme=light] .subtitle {
  color: #ff6b35;
}

body[data-theme=light] .timeline-date {
  color: #656d76;
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.2);
}

body[data-theme=light] .timeline-entry {
  background: transparent;
  border-color: transparent;
}

body[data-theme=light] .timeline-entry:hover {
  background: rgba(255, 107, 53, 0.03);
  border-color: transparent;
}

body[data-theme=light] .timeline-entry::before {
  border-color: #ffffff;
}

body[data-theme=light] .company-header {
  color: #24292f;
}

body[data-theme=light] .role-description {
  color: #24292f;
}

body[data-theme=light] .company-logo-img {
  border-color: rgba(100, 116, 139, 0.2);
}

body[data-theme=light] .skill-items {
  color: #24292f;
}

body[data-theme=light] .blog-description {
  color: #656d76;
}

body[data-theme=light] .blog-meta {
  color: #656d76;
}

body[data-theme=light] .tech-stack {
  color: #656d76;
}

body[data-theme=light] .project p {
  color: #586069;
}

body[data-theme=light] .blog-post {
  border-bottom: 1px solid #d0d7de;
}

body[data-theme=light] .project {
  border-bottom: 1px solid #d0d7de;
}

body[data-theme=light] hr {
  border-top: 1px solid #d0d7de;
}

body[data-theme=light] code {
  background: #f6f8fa;
  color: #24292f;
}

body[data-theme=light] pre {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
}

body[data-theme=light] .highlight .c, body[data-theme=light] .highlight .c1, body[data-theme=light] .highlight .cm {
  color: #6a737d;
}
body[data-theme=light] .highlight .k, body[data-theme=light] .highlight .kd, body[data-theme=light] .highlight .kn, body[data-theme=light] .highlight .kp, body[data-theme=light] .highlight .kr, body[data-theme=light] .highlight .kt {
  color: #d73a49;
}
body[data-theme=light] .highlight .s, body[data-theme=light] .highlight .s1, body[data-theme=light] .highlight .s2, body[data-theme=light] .highlight .sb, body[data-theme=light] .highlight .sc {
  color: #032f62;
}
body[data-theme=light] .highlight .mi, body[data-theme=light] .highlight .m, body[data-theme=light] .highlight .mf, body[data-theme=light] .highlight .mh, body[data-theme=light] .highlight .mo {
  color: #005cc5;
}
body[data-theme=light] .highlight .n, body[data-theme=light] .highlight .nb, body[data-theme=light] .highlight .nc, body[data-theme=light] .highlight .nf {
  color: #6f42c1;
}
body[data-theme=light] .highlight .o, body[data-theme=light] .highlight .ow {
  color: #24292e;
}
body[data-theme=light] .highlight .p {
  color: #24292e;
}
body[data-theme=light] .highlight .na {
  color: #005cc5;
}
body[data-theme=light] .highlight .nt {
  color: #22863a;
}
body[data-theme=light] .highlight .nv {
  color: #e36209;
}
body[data-theme=light] .highlight .err {
  color: #d73a49;
}
body[data-theme=light] .highlight .gh {
  color: #005cc5;
  font-weight: bold;
}
body[data-theme=light] .highlight .gu {
  color: #6f42c1;
}
body[data-theme=light] .highlight .gd {
  color: #d73a49;
}
body[data-theme=light] .highlight .gi {
  color: #22863a;
}

body[data-theme=light] .timeline-tech code {
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

body[data-theme=light] .timeline-entry::after {
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.4) 0%, rgba(100, 116, 139, 0.2) 50%, transparent 100%);
}

body[data-theme=light] .contact-link {
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  color: #ff6b35;
}

body[data-theme=light] .contact-link:hover {
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-2px);
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #0f0f0f;
  z-index: 1000;
  border-bottom: 1px solid rgba(25, 25, 25, 0.8);
}

.header-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  min-width: 0;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.header-spacer {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: 0;
  flex-shrink: 1 !important;
}

.nav-links {
  display: flex !important;
  flex-wrap: nowrap !important;
  margin-bottom: 0;
  flex: 0 1 auto !important;
  min-width: 0;
  width: auto;
  flex-shrink: 1 !important;
}

.theme-switcher {
  display: flex !important;
  flex: 0 1 auto !important;
  min-width: 0;
  width: auto;
  flex-shrink: 1 !important;
}

.theme-switcher button {
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  color: #ff6b35;
  padding: 0.375rem;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.theme-switcher button:hover {
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-1px);
}

.theme-switcher button:focus {
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.4);
}

.theme-icon {
  width: 18px;
  height: 18px;
  display: none;
}

body[data-theme=light] .theme-switcher button {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  color: #24292f;
}

body[data-theme=light] .theme-switcher button:hover {
  background: #f1f3f4;
  border-color: #bcc1c6;
  transform: translateY(-1px);
}

body[data-theme=light] .theme-switcher button:focus {
  background: #e7ebef;
  border-color: #a8b1bb;
}

.main-content,
.blog-content {
  max-width: 900px;
  margin: 0 auto;
  margin-top: var(--header-height);
  padding: 0 2rem 2rem 2rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  min-height: 100vh;
  padding-top: 0;
}

.main-content > h2 {
  color: #ff6b35;
}

.main-content article > h1 {
  color: #ff6b35;
  margin-top: 4rem;
}

.blog-content > h2 {
  color: #ff6b35;
}

.blog-content .blog-post h3 a {
  color: #ffffff;
  text-decoration: none;
}

.blog-content .blog-post h3 a:hover {
  text-decoration: underline;
}

.blog-content article > h1 {
  color: #ff6b35 !important;
}

h1 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #8b949e;
}

a {
  color: #ff6b35;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.25rem;
}

code {
  font-family: "JetBrains Mono", monospace;
  background: #1a1f2e;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 400;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Code block containers - default for actual code */
pre {
  background: #1a1f2e;
  padding: 1.25rem;
  border-radius: 6px;
  overflow-x: auto;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: pre;
}

/* Text blocks - wrap naturally */
.language-text pre,
.language-plaintext pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow-x: visible;
}

/* Nested code inside pre - remove duplicate styling */
pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0.875rem;
  display: block;
}

/* Rouge wrapper */
.highlight {
  margin: 1.5rem 0;
  max-width: 100%;
}

.highlighter-rouge {
  margin: 1.5rem 0;
}

/* Language-specific wrappers */
.language-text,
.language-plaintext {
  max-width: 100%;
}

/* Syntax highlighting tokens - Dark theme */
.highlight .c, .highlight .c1, .highlight .cm {
  color: #6a9955;
  font-style: italic;
}
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt {
  color: #569cd6;
}
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc {
  color: #ce9178;
}
.highlight .mi, .highlight .m, .highlight .mf, .highlight .mh, .highlight .mo {
  color: #b5cea8;
}
.highlight .n, .highlight .nb, .highlight .nc, .highlight .nf {
  color: #dcdcaa;
}
.highlight .o, .highlight .ow {
  color: #d4d4d4;
}
.highlight .p {
  color: #d4d4d4;
}
.highlight .na {
  color: #9cdcfe;
}
.highlight .nt {
  color: #569cd6;
}
.highlight .nv {
  color: #9cdcfe;
}
.highlight .err {
  color: #f48771;
}
.highlight .gh {
  color: #4ec9b0;
  font-weight: bold;
}
.highlight .gu {
  color: #4ec9b0;
}
.highlight .gd {
  color: #f48771;
}
.highlight .gi {
  color: #6a9955;
}

.subtitle {
  color: #ff6b35;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  color: #ff6b35;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.4);
  transform: translateY(-2px);
  text-decoration: none;
}

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

.contact-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  color: #ff6b35;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.4);
  transform: translateY(-2px);
  text-decoration: none;
}

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

/* Footer Contact Styling */
.footer-contact {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgba(139, 148, 158, 0.2);
}

body[data-theme=light] .footer-contact {
  border-top: 1px solid rgba(208, 215, 222, 0.6);
}

/* Projects Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  min-width: 0;
}

.project-card-link:hover {
  text-decoration: none;
}

.project-card {
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(60, 60, 60, 0.4);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.project-card-link:hover .project-card {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.5);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.6), 0 0 40px rgba(255, 107, 53, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.8);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-content {
  padding: 1.5rem;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.project-card h3 {
  color: #ffffff;
  font-size: 0.9rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.project-card p {
  color: #a0a0a0;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.project-status {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
}

.project-status.prototype {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.project-status.acquisition {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.project-status.active {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Light theme adjustments for project cards */
body[data-theme=light] .project-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

body[data-theme=light] .project-card-link:hover .project-card {
  border-color: rgba(255, 107, 53, 0.5);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4), 0 0 40px rgba(255, 107, 53, 0.2), 0 8px 24px rgba(0, 0, 0, 0.1);
}

body[data-theme=light] .project-image {
  background: #f3f4f6;
}

body[data-theme=light] .project-card h3 {
  color: #1f2937;
}

body[data-theme=light] .project-card p {
  color: #6b7280;
}

/* Legacy project styles (kept for compatibility) */
.project {
  margin-bottom: 1.5rem;
  padding: 0;
  border-bottom: 1px solid rgba(33, 38, 45, 0.6);
}

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

.project p {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.project p:last-child {
  margin-bottom: 0;
}

.tech-stack {
  color: #8b949e;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 300;
}

hr {
  border: none;
  border-top: 1px solid #21262d;
  margin: 4rem 0;
}

/* Back navigation links */
.back-link {
  margin-bottom: 1rem;
}

.back-link a {
  color: #8b949e;
  font-size: 0.9rem;
}

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

.back-link-center a {
  color: #ff6b35;
}

/* Action buttons for project/blog pages */
.action-buttons {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 8px;
  color: #ff6b35;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.action-button:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.4);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Light theme for action buttons */
body[data-theme=light] .action-button {
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: #ff6b35;
}

body[data-theme=light] .action-button:hover {
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.4);
}

.nav-links a {
  margin-left: 2rem;
  position: relative;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.375rem 0;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  height: 36px;
  flex: 0 0 auto;
  white-space: nowrap;
  min-width: 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ff6b35;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:first-child {
  margin-left: 0;
}

.nav-links a:last-child {
  margin-right: 0;
}

.header-banner {
  width: calc(100% + 4rem);
  height: 200px;
  background-image: url("/assets/images/banner.png");
  background-size: cover;
  background-position: center;
  border-radius: 0;
  margin-left: -2rem;
  margin-right: -2rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.profile-section {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
  margin-top: -90px; /* ADJUST THIS: Increase to move pfp up, decrease to move pfp down */
}

.profile-pic {
  width: 200px; /* ADJUST THIS: Change both width and height to same value to resize pfp */
  height: 200px; /* ADJUST THIS: Change both width and height to same value to resize pfp */
  border-radius: 60%;
  margin-left: 15px;
  border: 4px solid #0f0f0f;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03), 0 2px 8px rgba(0, 0, 0, 0.02);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 60%;
}

.profile-info {
  margin-top: 90px;
}

.profile-info h1 {
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.profile-info .subtitle {
  margin-bottom: 0;
}

.timeline {
  margin: 3rem 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 70px 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

.timeline-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: #8b949e;
  text-align: right;
  padding-top: 0.5rem;
  width: 120px;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.2;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  font-weight: 500;
  margin-top: 0.25rem;
  justify-self: center;
}

.timeline-content {
  padding-top: 0.25rem;
}

.timeline-company {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.timeline-role {
  color: #ff6b35;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.timeline-description {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-tech code {
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

/* Enhanced Timeline Layout Structure */
.timeline-layout {
  margin: 3rem 0;
}

/* Scroll-triggered fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.timeline-entry {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
  align-items: start;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  background: transparent;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out backwards;
}

/* Staggered animation delay */
.timeline-entry:nth-child(1) {
  animation-delay: 0.1s;
}

.timeline-entry:nth-child(2) {
  animation-delay: 0.2s;
}

.timeline-entry:nth-child(3) {
  animation-delay: 0.3s;
}

.timeline-entry:nth-child(4) {
  animation-delay: 0.4s;
}

.timeline-entry:nth-child(5) {
  animation-delay: 0.5s;
}

.timeline-entry:hover {
  transform: translateY(-2px);
  background: transparent;
}

/* Enhanced timeline connector with circular nodes */
.timeline-entry::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 42px;
  width: 10px;
  height: 10px;
  background: #ff6b35;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 53, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1), 0 2px 8px rgba(255, 107, 53, 0.3);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-entry:hover::before {
  transform: scale(1.3);
  background: #ff8a65;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15), 0 3px 12px rgba(255, 107, 53, 0.4);
}

.timeline-entry::after {
  content: "";
  position: absolute;
  left: 47px;
  top: 52px;
  bottom: -24px;
  width: 2px;
  background: linear-gradient(180deg, #ff6b35 0%, rgba(255, 107, 53, 0.8) 10%, rgba(255, 107, 53, 0.5) 30%, rgba(255, 107, 53, 0.3) 60%, transparent 100%);
  filter: drop-shadow(0 0 4px rgba(255, 107, 53, 0.4)) drop-shadow(0 0 8px rgba(255, 107, 53, 0.2));
  z-index: 1;
  transition: all 0.3s ease;
}

.timeline-entry:hover::after {
  background: linear-gradient(180deg, #ff8a65 0%, rgba(255, 138, 101, 0.85) 10%, rgba(255, 107, 53, 0.65) 30%, rgba(255, 107, 53, 0.4) 60%, transparent 100%);
  filter: drop-shadow(0 0 6px rgba(255, 138, 101, 0.6)) drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

.timeline-entry:last-child::after {
  display: none;
}

.timeline-logo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.5rem;
}

.company-logo {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8a65 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3), 0 0 0 2px rgba(255, 107, 53, 0.15), 0 0 12px rgba(255, 107, 53, 0.3);
  border: 2px solid rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.timeline-entry:hover .company-logo {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4), 0 0 0 3px rgba(255, 107, 53, 0.2), 0 0 20px rgba(255, 107, 53, 0.5);
}

.company-logo-img {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  object-fit: contain;
  background: white;
  padding: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(255, 107, 53, 0.1), 0 0 12px rgba(255, 107, 53, 0.2);
  border: 2px solid rgba(139, 148, 158, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.timeline-entry:hover .company-logo-img {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 107, 53, 0.15), 0 0 20px rgba(255, 107, 53, 0.4);
  border-color: rgba(255, 107, 53, 0.3);
}

.timeline-details {
  padding-top: 0.5rem;
}

.timeline-date {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: #c9d1d9;
  background: rgba(139, 148, 158, 0.15);
  padding: 0.35rem 1.2rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(139, 148, 158, 0.3);
  white-space: nowrap;
  min-width: fit-content;
}

.company-header {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.role-title {
  color: #ff6b35;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.role-description {
  line-height: 1.8;
  color: #c9d1d9;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Skills Compact Layout */
.skills-compact {
  margin: 2rem 0;
}

.skill-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  margin-bottom: 1rem;
  align-items: baseline;
}

.skill-label {
  font-weight: 600;
  color: #ff6b35;
  font-size: 0.95rem;
}

.skill-items {
  color: #c9d1d9;
  font-size: 0.9rem;
  line-height: 1.5;
}

.blog-description {
  font-size: 1.1rem;
  color: #8b949e;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 800px;
}

.blog-list {
  margin-top: 2rem;
}

.blog-post {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #21262d;
}

.blog-post:last-child {
  border-bottom: none;
}

.blog-meta {
  color: #8b949e;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-excerpt {
  margin-bottom: 1rem;
}

.read-more {
  color: #ff6b35;
  font-size: 0.9rem;
}

/* Tablet layout - 2 columns */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 1100px) {
  :root {
    --header-height: calc(0.5rem + 36px + 0.5rem + 1px);
  }
  .header-content {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }
  .nav-links a {
    margin-left: 0.75rem;
    font-size: 0.85rem;
  }
  .nav-links a:first-child {
    margin-left: 0;
  }
}
@media (max-width: 1200px) {
  :root {
    --header-height: calc(0.5rem + 36px + 0.5rem + 1px);
  }
  .header-content {
    padding: 0.5rem 1rem;
    gap: 0.75rem;
  }
}
@media (max-width: 950px) {
  :root {
    --header-height: calc(0.5rem + 36px + 0.5rem + 1px);
  }
  .header-content {
    padding: 0.5rem 0.75rem;
  }
  .nav-links a {
    margin-left: 0.5rem;
    font-size: 0.8rem;
  }
  .nav-links a:first-child {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  :root {
    --header-height: calc(0.5rem + 36px + 0.5rem + 1px);
  }
  body {
    padding-top: 0;
  }
  .header-content {
    padding: 0.5rem 1rem;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem;
  }
  .theme-switcher {
    align-self: center;
  }
  .nav-links {
    justify-content: flex-start;
    align-self: center;
  }
  .nav-links a {
    margin-right: 1.5rem;
    margin-left: 0;
    font-size: 0.85rem;
  }
  .nav-links a:last-child {
    margin-right: 0;
  }
  .main-content {
    padding: 0 1rem 1rem 1rem;
  }
  .header-banner {
    width: calc(100% + 2rem);
    height: 160px;
    border-radius: 0;
    margin-left: -1rem;
    margin-right: -1rem;
  }
  .profile-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-top: -80px; /* MOBILE: Increase to move pfp up, decrease to move pfp down */
    margin-bottom: 2rem;
  }
  .profile-pic {
    width: 150px; /* MOBILE: Change both width and height to same value to resize pfp */
    height: 150px; /* MOBILE: Change both width and height to same value to resize pfp */
    margin-left: 0; /* Reset margin-left for mobile centering */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04), 0 3px 9px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.02);
  }
  .profile-info {
    margin-top: 0;
  }
  .profile-info h1 {
    font-size: 1.6rem;
  }
  .subtitle {
    font-size: 1rem;
  }
  .social-links {
    justify-content: center;
    gap: 0.75rem;
  }
  .social-link {
    width: 36px;
    height: 36px;
  }
  .social-icon {
    width: 18px;
    height: 18px;
  }
  h2 {
    font-size: 1.3rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
  }
  h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }
  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .project {
    margin-bottom: 2rem;
    padding: 1rem 0;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 2rem;
    border-left-width: 3px;
  }
  .timeline-entry::before,
  .timeline-entry::after {
    display: none;
  }
  .timeline-logo {
    justify-content: flex-start;
    padding-top: 0;
    margin-bottom: 0.5rem;
  }
  .company-logo,
  .company-logo-img {
    width: 55px;
    height: 55px;
  }
  .timeline-date {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
  .company-header {
    font-size: 1.2rem;
  }
  .role-title {
    font-size: 0.95rem;
  }
  .role-description {
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .skill-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .skill-label {
    margin-bottom: 0.25rem;
  }
  hr {
    margin: 3rem 0;
  }
  .footer-contact {
    margin-top: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 0.75rem;
  }
}
@media (max-width: 480px) {
  .header-content {
    padding: 0.5rem;
  }
  .nav-links a {
    margin-right: 1rem;
    margin-left: 0;
  }
  .nav-links a:last-child {
    margin-right: 0;
  }
  .main-content {
    padding: 0 0.75rem 0.75rem 0.75rem;
  }
  .header-banner {
    width: calc(100% + 1.5rem);
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }
  .profile-section {
    margin-bottom: 1.5rem;
  }
  .social-links {
    gap: 0.5rem;
  }
  .social-link {
    width: 32px;
    height: 32px;
  }
  .social-icon {
    width: 16px;
    height: 16px;
  }
}

/*# sourceMappingURL=main.css.map */