:root {
  /* Primary theme colors */
  --accent: #424242;
  --accent-2: #6972d1;
  --muted: #555;
  --panel: #f5f5f5;
  --border: #e3e3e3;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  
  --background: #404040;
  --btn-text: #f0f0f0;
  
  --accent-bg: rgba(0, 0, 0, 0.08);
  
  --shadow-hover: 0 8px 18px rgba(0, 0, 0, 0.12);
}


.btn-cv {
  margin: 16px;
  background-color: var(--background);
  color: var(--btn-text);
  font-weight: bold;
  font-size: 1.8rem;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
}


.btn-cv:hover {
  transform: translateY(-3px);
  color: var(--btn-text);
}


.timeline-item {
  margin-bottom: 2rem;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.external-link::after {
  content: "⎋";
  display: inline-block;
  font-size: 0.8em;
  transform: scale(-1, 1);
  margin-left: 0.2em;
}


@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.timeline-content {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  cursor: default;
}


.timeline-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}


.timeline-title {
  margin: 0 0 0.2rem 0;
  font-size: 2rem;
  font-weight: 700;
}


.timeline-title a {
  text-decoration: none;
  color: var(--accent)
}


.timeline-title a:hover {
  cursor: pointer;
}

.timeline-title a[data-company="safemia"]:hover {
  color: #f59e7a;
}

.timeline-title a[data-company="solarwinds"]:hover {
  color: #ff6200;
}

.timeline-title a[data-company="forloop.ai"]:hover {
  color: #7d44f7;
}

.timeline-title a[data-company="darma"]:hover {
  color: #98eb09;
}



.timeline-role {
  display: block;
  font-size: 1.3rem;
  color: var(--muted);
  font-style: italic;
}


.timeline-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}


.timeline-date {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 0.2rem 0.7rem;
  border-radius: 16px;
}


.timeline-location {
  font-size: 1.1rem;
  color: var(--muted);
}


.timeline-body {
  font-size: 1.3rem;
  color: var(--muted);
  line-height: 1.6;
}


.timeline-body ul {
  margin: 0;
  padding-left: 1.5rem;
}


.timeline-body li {
  margin-bottom: 0.5rem;
}


.header-section .page-heading h1 {
  font-size: 6rem;
}


.education-container {
  max-width: 900px;
  margin: 2rem auto;
  display: grid;
  gap: 1.25rem;
}


.education-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  cursor: default;
}


@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.education-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}


.education-school {
  margin: 0 0 0.15rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}


.education-degree {
  display: block;
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}


.education-content {
  width: 100%;
}


.education-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.4rem;
}


.education-title-section {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}


.education-date {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 0.2rem 0.7rem;
  border-radius: 16px;
  white-space: nowrap;
}


.education-thesis {
  margin: 0.6rem 0 0 0;
  font-size: 1.3rem;
  color: var(--muted);
  font-style: italic;
}


.section-header {
  margin: 3rem 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  max-width: 900px;
}


@media (prefers-color-scheme: dark) {
  :root {
    --accent: #ffffff;
    --accent-2: #b0b0b0;
    --muted: #c6c6c6;
    --panel: #444444;
    --border: #e3e3e3;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    --accent-bg: rgba(255, 255, 255, 0.08);
    
    --background: #f0f0f0;
    --btn-text: #404040;
  }


  .btn-cv:hover {
    background-color: var(--background);
  }
}
