:root {
  --accent: #007acc; /* primary brand blue */
  --accent-dark: #0064b0; /* 15-20 % darker for hover/active */
}

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f6f8fa 0%, #e9edf2 100%);
  color: #2b2d42;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 25px;
  border-radius: 10px;
  background: #fff; /* white card */
  border: 1px solid #e0e4e8; /* optional hair-line */
  box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
}

h1,
h2,
h3,
h4 {
  color: #2e6c80;
}

a {
  color: #58a6ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Education ---------- */
.education-block {
  background: #fff; /* white card */
  border: 1px solid #e0e4e8; /* subtle outline */
  border-left: 4px solid #007acc; /* keep the accent stripe */
  border-radius: 6px;
  padding: 18px 22px;
  margin: 16px 0 32px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 4%); /* soft shadow */
}

.education-block .degree {
  font-weight: 600;
  font-size: 1.15em;
}

.education-block .institution {
  margin-top: 4px;
  color: #556;
}

.education-block .duration {
  font-style: italic;
  color: #6c7a89;
}

/* ---------- Experience ---------- */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.experience-card {
  background: #fff;
  border: 1px solid #e0e4e8;
  border-left: 4px solid #007acc;
  border-radius: 6px;
  padding: 18px 22px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 4%);
}

.experience-card .role {
  font-weight: 600;
  font-size: 1.15em;
}

.experience-card .org {
  color: #556;
}

.experience-card .date {
  color: #6c7a89;
  font-style: italic;
}

.training-list {
  list-style: none;
  padding-left: 0;
  line-height: 1.6;
}

.training-list li::before {
  content: "📘 ";
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 30px;
  background: #f8f9fa;
  padding: 15px;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
}

.skills-grid div {
  font-size: 0.95em;
}

.award-card {
  background-color: #fdfdfd;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid var(--accent);
  border-radius: 5px;
}

.award-card h4 {
  margin: 0 0 8px;
  color: #2e6c80;
}

.award-card p {
  margin: 0;
  color: #555;
}

.cert-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  padding-left: 20px;
  margin-bottom: 30px;
}

.cert-list li {
  list-style: none;
  font-size: 0.95em;
  color: #2e6c80;
}

.connect h2 {
  text-align: center;
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 32px;
}

.social-links svg {
  width: 32px;
  height: 32px;
  fill: #2e6c80;
  transition:
    fill 0.3s,
    transform 0.3s;
}

.social-links a:hover svg {
  fill: #007acc;
  transform: scale(1.1);
}

.emoji {
  margin-right: 10px;
  font-size: 1.3em;
  vertical-align: middle;
}

details summary.view-more {
  cursor: pointer;
  color: #007acc;
  font-weight: bold;
  margin: 12px 0;
}

.view-all-link {
  margin-top: 10px;
}

.view-all-link a {
  font-size: 0.95em;
  color: #007acc;
  text-decoration: underline;
}

/* ─── FILTER PILLS ──────────────────────────────── */
.filter-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.filter-controls li {
  background: #fff;
  border: 1px solid #d0d7de;
  padding: 0.45em 1.3em;
  border-radius: 9999px;
  cursor: pointer;
  font:
    600 0.9rem/1 "Segoe UI",
    sans-serif;
  user-select: none;
}

.filter-controls .mixitup-control-active {
  background: #007acc;
  color: #fff;
}

/* ─── PROJECT GRID ──────────────────────────────── */
.project-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

/* every MixItUp target already has class="project-card mix …" */
.project-card {
  background: #fff;
  border: 1px solid #d0d7de;
  border-left: 4px solid #007acc; /* default accent  */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 5%);
  border-left-color: var(--accent, #007acc);
}

.project-category {
  margin-bottom: 25px;
}

.project-card:hover {
  background: #f0f8ff;
}

.project-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #0a3d62;
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9em;
  color: #007acc;
  text-decoration: underline;
}

.project-card p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #333;
}

.project-card .tags {
  margin: 10px 0;
  margin-top: 8px;
}

.project-card .tags span {
  display: inline-block;
  background: #e8f3ff;
  color: #007acc;
  font-size: 0.72rem;
  border-radius: 12px;
  padding: 2px 8px;
  margin: 2px 4px 0 0;
}

/* OPTIONAL: category-coloured card accents  */
.project-card.azure {
  --accent: #0072c6;
}

.project-card.aws {
  --accent: #f90;
}

.project-card.gcp {
  --accent: #4285f4;
}

.project-card.openshift {
  --accent: #e00;
}

.project-card.k8s {
  --accent: #326ce5;
}

.project-card.argocd {
  --accent: #ef4f4f;
}

.project-card.cicd {
  --accent: #794cff;
}

.project-card.portfolio {
  --accent: #6e6e6e;
}

.view-all-card {
  background-color: #f0f8ff; /* Alice Blue */
  border-left: 4px solid #007acc;
}
