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

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f4f6f8;
  color: #444;
  line-height: 1.7;
  display: flex;
}

a {
  color: #009bd9;
  text-decoration: none;
}

a:hover {
  color: #03b7ff;
  text-decoration: none;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: #023b6d;
  overflow-y: auto;
  z-index: 100;
  flex-shrink: 0;
}

.sidebar-inner {
  padding: 36px 20px 40px;
}

/* ============================================================
   PROFILE (top of sidebar)
   ============================================================ */
.profile {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
}

/* Photo placeholder — remove once you add a real <img> */
.photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 auto 16px;
}

/* Real photo — add class="photo" to your <img> tag */
.photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
  display: block;
  margin: 0 auto 16px;
}

.profile h1 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.tagline {
  margin-top: 5px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   SIDEBAR NAV
   ============================================================ */
nav ul {
  list-style: none;
}

nav ul li {
  margin-bottom: 2px;
}

nav a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  padding: 9px 14px;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

nav a.active {
  color: #ffffff;
  background: rgba(0, 155, 217, 0.25);
  border-left: 3px solid #009bd9;
  padding-left: 11px;
}

/* ============================================================
   MOBILE HEADER BAR
   ============================================================ */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #023b6d;
  z-index: 150;
  align-items: center;
  padding: 0 16px;
  gap: 14px;
}

.mobile-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.mobile-header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.mobile-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}

.mobile-title {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
  white-space: nowrap;
}

/* ============================================================
   MOBILE TOGGLE BUTTON
   ============================================================ */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  background: #023b6d;
  border: none;
  border-radius: 5px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.sidebar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.2s;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
  margin-left: 260px;
  min-height: 100vh;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 720px;
  padding: 0 40px;
  flex: 1;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
  padding: 52px 0;
  border-bottom: 1px solid #e4e8ed;
}

section:first-child {
  padding-top: 56px;
}

section:last-child {
  border-bottom: none;
}

section h2 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #009bd9;
  margin-bottom: 24px;
}

section > p {
  color: #555;
  max-width: 600px;
}

section > p + p {
  margin-top: 1em;
}

.section-link {
  margin-top: 20px;
  font-size: 0.88rem;
}

/* ============================================================
   ENTRIES (experience / awards / education)
   ============================================================ */
.entry {
  margin-bottom: 28px;
}

.entry:last-of-type {
  margin-bottom: 0;
}

.entry-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.entry-title {
  font-size: 1rem;
  font-weight: 600;
  color: #023b6d;
}

.entry-meta {
  font-size: 0.84rem;
  color: #999;
}

.entry ul {
  margin-top: 6px;
  padding-left: 18px;
  color: #555;
}

.entry ul li {
  margin-bottom: 4px;
}

.entry p {
  margin-top: 4px;
  font-size: 0.95rem;
  color: #555;
}

/* ============================================================
   IMPACT / RESULTS
   ============================================================ */
.results-group {
  margin-bottom: 28px;
}

.results-group:last-child {
  margin-bottom: 0;
}

.results-org {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #bbb;
  margin-bottom: 10px;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stat {
  background: #ffffff;
  border: 1px solid #e4e8ed;
  border-radius: 8px;
  padding: 14px 16px;
  flex: 1;
  min-width: 120px;
}

.stat-value {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  color: #009bd9;
  line-height: 1.1;
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 0.76rem;
  color: #777;
  line-height: 1.4;
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.skills-group:last-child {
  margin-bottom: 0;
}

.skills-label {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #bbb;
  min-width: 140px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: #e8f4fb;
  color: #023b6d;
  font-size: 0.82rem;
  padding: 4px 13px;
  border-radius: 99px;
  font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-label {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #bbb;
  min-width: 72px;
}

/* ============================================================
   AWARDS
   ============================================================ */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.award-card {
  background: #ffffff;
  border: 1px solid #e4e8ed;
  border-radius: 8px;
  border-top: 3px solid #009bd9;
  padding: 20px;
}

.award-card.gold {
  border-top-color: #b8952a;
}

.award-card.silver {
  border-top-color: #7d8c96;
}

.award-logo {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  object-fit: contain;
}

.company-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  display: block;
  margin-bottom: 12px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.company-logo-lg {
  height: 46px;
}

.award-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #023b6d;
  line-height: 1.35;
  margin-bottom: 5px;
}

.award-detail {
  font-size: 0.8rem;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.award-context {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.5;
}

/* ============================================================
   CV DOWNLOAD
   ============================================================ */
.cv-download {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 22px;
  background: #009bd9;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.2s;
}

.cv-download:hover {
  background: #0080b5;
  color: #ffffff;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 4px 0 32px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-group.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial {
  flex: 1;
  min-width: 220px;
  border-left: 3px solid #e4e8ed;
  padding: 14px 16px;
  background: #f9fafb;
  border-radius: 0 6px 6px 0;
}

.testimonial-quote {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-author {
  font-size: 0.76rem;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-post {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid #e4e8ed;
}

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

.blog-date {
  font-size: 0.76rem;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

.blog-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #023b6d;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.92rem;
  color: #666;
  margin-bottom: 12px;
  max-width: 560px;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 500;
  color: #009bd9;
}

.read-more:hover {
  color: #03b7ff;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid #e4e8ed;
  padding: 24px 40px;
  margin-top: auto;
}

footer p {
  font-size: 0.76rem;
  color: #ccc;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  body {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.28s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-header {
    display: flex;
  }

  .sidebar-toggle {
    display: flex;
    position: static;
    background: transparent;
    flex-shrink: 0;
  }

  .sidebar-overlay.visible {
    display: block;
  }

  .main-content {
    margin-left: 0;
    padding-top: 60px;
  }

  .container {
    padding: 0 20px;
  }

  footer {
    padding: 24px 20px;
  }

  .entry-header {
    flex-direction: column;
    gap: 2px;
  }

  .skills-label {
    min-width: 100%;
  }

  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

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