/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0f172a;
  --blue-dark: #1e3a5f;
  --blue-mid: #1d4ed8;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --sky: #bfdbfe;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;

  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.18);
  --trans: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background var(--trans),
    box-shadow var(--trans),
    padding var(--trans);
}
#navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: 12px 0;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-light), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition:
    color var(--trans),
    background var(--trans);
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.btn-nav {
  color: var(--white) !important;
  background: var(--blue-mid) !important;
  border-radius: var(--radius-sm) !important;
}
.btn-nav:hover {
  background: var(--blue) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px;
}

/* ── Hero ── */
/* ── Hero: split-screen layout ── */
#hero {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--navy);
}

.hero-photo-panel {
  position: relative;
  overflow: hidden;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-photo-edge {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 55%, #0f172a 100%);
}

.hero-info-panel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 70% 40%,
      rgba(59, 130, 246, 0.35) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 80% at 10% 80%,
      rgba(29, 78, 216, 0.4) 0%,
      transparent 55%
    ),
    linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1d4ed8 100%);
  animation: gradientShift 12s ease-in-out infinite alternate;
}
@keyframes gradientShift {
  0% {
    filter: hue-rotate(0deg) brightness(1);
  }
  100% {
    filter: hue-rotate(15deg) brightness(1.05);
  }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 56px 80px 48px;
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}
.hero-name {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 12px;
}
.hero-title {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: var(--sky);
  line-height: 1.45;
  margin-bottom: 24px;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-now-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
}
.hero-now-badge .fa-circle {
  font-size: 0.45rem;
  color: #a78bfa;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.hero-prev-badge {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.hero-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}
.hero-fact i {
  width: 16px;
  text-align: center;
  color: var(--blue-light);
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-social {
  display: flex;
  gap: 12px;
}
.hero-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 2px;
  transition:
    color var(--trans),
    border-color var(--trans);
}
.hero-social-link:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--trans);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.4);
}
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ── Section Shared ── */
section {
  padding: 96px 0;
}
section:nth-child(even) {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: rgba(29, 78, 216, 0.08);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

/* ── About ── */
#about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo-wrap {
  position: relative;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-photo-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.about-photo-badge i {
  color: #ff9900;
  margin-right: 6px;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-text {
  font-size: 0.97rem;
  color: var(--gray-600);
  margin-bottom: 28px;
  line-height: 1.75;
}
.competencies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-dark);
  background: rgba(29, 78, 216, 0.08);
  border: 1px solid rgba(29, 78, 216, 0.15);
  padding: 5px 14px;
  border-radius: 999px;
  transition: background var(--trans);
}
.chip:hover {
  background: rgba(29, 78, 216, 0.15);
}

/* ── Experience / Timeline ── */
#experience {
  background: var(--gray-50);
}
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-mid), var(--blue-light));
  border-radius: 2px;
}
.tl-item {
  position: relative;
  margin-bottom: 40px;
}
.tl-item:last-child {
  margin-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -28px;
  top: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dot-color, var(--blue-mid));
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--dot-color, var(--blue-mid));
  z-index: 1;
}

.tl-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition:
    box-shadow var(--trans),
    transform var(--trans);
}
.tl-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.tl-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tl-company-badge {
  flex-shrink: 0;
  height: 48px;
  min-width: 48px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.tl-logo {
  height: 22px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.tl-wordmark {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
}
.waystar {
  background: #7c3aed;
}
.aws {
  background: #c07a00;
}
.humana {
  background: #007a99;
}
.google {
  background: #1a73e8;
}
.google-nyc {
  background: #16a34a;
}

.tl-header > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.tl-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 4px;
}
.tl-company {
  font-size: 0.88rem;
  color: var(--gray-500);
}
.tl-date {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-mid);
  background: rgba(29, 78, 216, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  align-self: flex-start;
}
.tl-bullets {
  padding-left: 18px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tl-bullets li {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── Certifications ── */
#certifications {
  background: var(--white);
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}
.cert-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--trans),
    transform var(--trans);
}
.cert-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.cert-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--cert-bg, var(--gray-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cert-color, var(--blue-mid));
}
.cert-issuer {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 3px;
}
.cert-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.skills-section {
}
.skills-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -0.02em;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.skill-group {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.skill-group h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 12px;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.skill-tags span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ── Education ── */
#education {
  background: var(--gray-50);
}
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 24px;
}
.edu-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--trans),
    transform var(--trans);
}
.edu-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.edu-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(29, 78, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue-mid);
}
.edu-degree {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.edu-school {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-mid);
  margin-bottom: 6px;
}
.edu-year {
  font-size: 0.83rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── Footer ── */
#contact {
  background: var(--navy);
  padding: 64px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.footer-location {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-location i {
  margin-right: 6px;
  color: var(--blue-light);
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--trans);
}
.footer-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-link i {
  font-size: 1rem;
}
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  /* Hero stacks: photo on top, info below */
  #hero {
    grid-template-columns: 1fr;
    grid-template-rows: 55vw auto;
  }
  .hero-photo-edge {
    background: linear-gradient(to bottom, transparent 55%, #0f172a 100%);
  }
  .hero-content {
    padding: 48px 32px 80px;
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-photo-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
  .timeline {
    padding-left: 24px;
  }
  .tl-dot {
    left: -20px;
  }
}

@media (max-width: 640px) {
  section {
    padding: 72px 0;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .tl-header {
    flex-direction: column;
    gap: 10px;
  }
  .tl-date {
    margin-left: 0;
  }
  .edu-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-location i {
    display: none;
  }
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
