﻿:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-alt: #f7f8ff;
  --text: #1a2433;
  --muted: #55657d;
  --primary: #0057b8;
  --primary-deep: #003f85;
  --accent: #00a896;
  --line: #d6deea;
  --shadow-soft: 0 10px 30px rgba(24, 43, 79, 0.08);
  --shadow-strong: 0 22px 46px rgba(16, 35, 70, 0.16);
  --radius: 16px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section-padding {
  padding: 5.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #f9fbff 0%, #eef3fb 100%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1200;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(243, 245, 249, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  z-index: 1100;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(16, 35, 70, 0.1);
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--primary-deep);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(0, 87, 184, 0.25);
}

.brand-text {
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.93rem;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--primary-deep);
  border-bottom-color: var(--primary-deep);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 7px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.hero {
  position: relative;
  padding-top: 8.2rem;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(165deg, #edf4ff 0%, #f8f9ff 55%, #f3f5f9 100%);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  z-index: -1;
}

.orb-1 {
  width: 370px;
  height: 370px;
  right: -90px;
  top: 35px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 87, 184, 0.28), rgba(0, 87, 184, 0.03));
}

.orb-2 {
  width: 290px;
  height: 290px;
  left: -120px;
  top: 170px;
  background: radial-gradient(circle at 70% 70%, rgba(0, 168, 150, 0.16), rgba(0, 168, 150, 0.02));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.1rem;
  align-items: center;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--primary-deep);
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.13;
  letter-spacing: -0.015em;
}

.lead {
  margin: 1rem 0 0;
  max-width: 58ch;
  color: var(--muted);
}

.hero-stats {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d8e2f0;
  border-radius: 12px;
  padding: 0.9rem;
  backdrop-filter: blur(8px);
}

.stat-card h2 {
  margin: 0;
  color: var(--primary-deep);
  font-family: "IBM Plex Mono", "Consolas", monospace;
  font-size: 1.26rem;
}

.stat-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 11px;
  padding: 0.75rem 1.14rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-deep);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary-deep);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: #e8f1ff;
}

.hero-aside {
  display: grid;
  gap: 0.9rem;
}

.profile-photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #ccd8ec;
  background: #d8e7ff;
  box-shadow: var(--shadow-strong);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.cert-item {
  text-decoration: none;
  background: #fff;
  border: 1px solid #d4dfef;
  border-radius: 12px;
  padding: 0.7rem;
  display: grid;
  gap: 0.5rem;
  place-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cert-item:hover,
.cert-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.cert-item img {
  width: 56px;
}

.cert-item span {
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.83rem;
}

.section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  letter-spacing: -0.015em;
}

.section-lead {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 68ch;
}

.card-grid {
  margin-top: 1.7rem;
  display: grid;
  gap: 1rem;
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  background: var(--surface);
  border: 1px solid #d7e0ee;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.22rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(18, 40, 84, 0.11);
}

.info-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.06rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.info-card ul {
  margin: 0.72rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.info-card i {
  color: var(--primary);
  margin-right: 0.3rem;
}

.experience-section {
  background: linear-gradient(180deg, #f4f7fd 0%, #edf3fb 100%);
}

.experience-intro {
  margin-bottom: 1.4rem;
}

.impact-metrics {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impact-metric {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d8e1ef;
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
}

.impact-metric strong {
  display: block;
  color: var(--primary-deep);
  font-size: 1rem;
  font-family: "IBM Plex Mono", "Consolas", monospace;
}

.impact-metric span {
  color: var(--muted);
  font-size: 0.85rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.74rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, #8db2e9, #c1d3ed);
}

.timeline-item {
  position: relative;
  margin-left: 1.85rem;
  background: #fff;
  border: 1px solid #d7e0ee;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 1.05rem 1.2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.46rem;
  top: 1.1rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px #e9f0fa;
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.timeline-head h3 {
  margin: 0;
  font-size: 1.07rem;
}

.timeline-head p {
  margin: 0.12rem 0 0;
  color: var(--primary-deep);
  font-weight: 700;
}

.timeline-head span {
  align-self: flex-start;
  background: #0e4c9f;
  color: #fff;
  border-radius: 999px;
  padding: 0.18rem 0.76rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.timeline-item ul {
  margin: 0.74rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.pill-group {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  border: 1px solid #cddaf0;
  background: #f4f8ff;
  color: #214a86;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.tag {
  display: inline-block;
  margin-bottom: 0.68rem;
  border-radius: 999px;
  padding: 0.14rem 0.72rem;
  background: #dce9fd;
  color: #154a8d;
  font-weight: 800;
  font-size: 0.78rem;
}

.contact {
  background: linear-gradient(180deg, #edf3fc 0%, #eaf0fb 100%);
}

.contact-card a {
  color: var(--primary-deep);
  word-break: break-word;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #d8e2ef;
  padding: 1.2rem 0;
}

.site-footer p {
  margin: 0;
  text-align: center;
  color: var(--muted);
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .card-grid-3,
  .card-grid-2,
  .impact-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section-padding {
    padding: 4.5rem 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 72px;
    background: #fff;
    border: 1px solid #d6e0ee;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-stats,
  .cert-list,
  .card-grid-3,
  .card-grid-2,
  .impact-metrics {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    left: 0.58rem;
  }

  .timeline-item {
    margin-left: 1.5rem;
  }

  .timeline-item::before {
    left: -1.24rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}
