* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #eef6ff 0%, #f8fafc 45%, #f1f5f9 100%);
  color: #1f2937;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

/* -----------------------------
   Hero
----------------------------- */

.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 100%);
  color: white;
  padding: 28px 8% 90px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 90px;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #dbeafe;
  font-weight: 600;
}

.nav-links a:hover {
  color: white;
}

.hero-content {
  max-width: 850px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  align-items: center;
  gap: 42px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(219, 234, 254, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-illustration:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 54px rgba(15, 23, 42, 0.3);
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-graphic-card {
  width: 100%;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(219, 234, 254, 0.35);
  border-radius: 24px;
  padding: 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-graphic-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
}

.graphic-badge {
  display: inline-block;
  background: rgba(219, 234, 254, 0.18);
  color: #dbeafe;
  border: 1px solid rgba(219, 234, 254, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.graphic-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.graphic-subtitle {
  color: #dbeafe;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.mini-chart {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 16px 14px;
  height: 190px;
  overflow: hidden;
}

.chart-bars {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.chart-bars .bar {
  display: block;
  width: 46px;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, #93c5fd 0%, #2563eb 100%);
  opacity: 0.92;
}

.bar-1 { height: 55px; }
.bar-2 { height: 85px; }
.bar-3 { height: 118px; }
.bar-4 { height: 145px; }

.chart-line {
  position: absolute;
  inset: 0;
}

.chart-line::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 88px;
  height: 3px;
  background: linear-gradient(90deg, #bfdbfe 0%, #ffffff 100%);
  transform: rotate(-12deg);
  transform-origin: left center;
  border-radius: 999px;
  opacity: 0.95;
}

.chart-line .dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: white;
  border: 3px solid #60a5fa;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

.dot-1 { left: 30px; bottom: 66px; }
.dot-2 { left: 102px; bottom: 88px; }
.dot-3 { left: 177px; bottom: 110px; }
.dot-4 { right: 28px; bottom: 138px; }

.graphic-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.graphic-footer span {
  background: rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  border: 1px solid rgba(219, 234, 254, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.eyebrow {
  color: #bfdbfe;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-text {
  font-size: 1.15rem;
  color: #dbeafe;
  max-width: 760px;
  margin-bottom: 34px;
}

.hero-buttons,
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.project-links a {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary,
.project-links a {
  background: #2563eb;
  color: white;
}

.btn.secondary {
  background: white;
  color: #1e3a8a;
}

.btn:hover,
.project-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

/* -----------------------------
   Skills Strip
----------------------------- */

.skills-strip {
  max-width: 1180px;
  margin: -34px auto 26px;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.skills-strip span {
  background: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
  color: white;
  border: 1px solid #5eead4;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.26);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.about-text p {
  max-width: 850px;
  color: #475569;
}

.about-photo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 4px solid #dbeafe;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}


/* -----------------------------
   Main Layout
----------------------------- */

main {
  max-width: 1180px;
  margin: -44px auto 0;
  padding: 0 24px 80px;
}

.section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 34px;
  margin-bottom: 26px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #0f172a;
}

.about p {
  max-width: 850px;
  color: #475569;
}

/* -----------------------------
   Projects
----------------------------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
  background: #f8fafc;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  border-color: #bfdbfe;
}

.project-card.featured {
  grid-column: span 2;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-color: #bfdbfe;
}

.project-label {
  display: inline-block;
  background: #dbeafe;
  color: #1e3a8a;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.project-card h3 {
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.project-card p {
  color: #475569;
  margin-bottom: 16px;
}

/* Project preview images */
.project-preview {
  display: block;
  width: 92%;
  max-width: 920px;
  height: 260px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  border: 1px solid #bfdbfe;
  margin: 16px auto 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-origin: center;
}

.project-preview:hover {
  transform: scale(1.045);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
  border-color: #2563eb;
}

.small-preview {
  width: 100%;
  max-width: 100%;
  height: 190px;
  margin: 14px 0 18px;
}

.project-highlights {
  margin: 0 0 18px 18px;
  color: #475569;
}

.project-highlights li {
  margin-bottom: 6px;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tags span {
  background: white;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* -----------------------------
   Skills
----------------------------- */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.skills-grid div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
}

.skills-grid h3 {
  color: #0f172a;
  margin-bottom: 8px;
}

.skills-grid p {
  color: #475569;
}

/* -----------------------------
   Footer
----------------------------- */

footer {
  text-align: center;
  color: #64748b;
  padding: 30px 20px 50px;
  font-size: 0.95rem;
}

/* -----------------------------
   Responsive
----------------------------- */

@media (max-width: 800px) {
  nav,
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    gap: 18px;
    margin-bottom: 56px;
  }

  .project-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .project-card.featured {
    grid-column: span 1;
  }

  .section {
    padding: 24px;
  }

  .project-preview,
  .small-preview {
    width: 100%;
    height: 190px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

    .hero-visual {
    justify-content: flex-start;
  }

    .hero-graphic-card {
    max-width: 320px;
  }

  .about-layout {
  grid-template-columns: 1fr;
  }

  .about-photo-wrap {
    justify-content: flex-start;
  }

  .about-photo {
    width: 100px;
    height: 100px;
  }


}

/* -----------------------------
   Stats Strip
----------------------------- */

.stats-strip {
  max-width: 1180px;
  margin: 0 auto 26px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stats-strip div {
  background: white;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.stats-strip strong {
  display: block;
  color: #1e3a8a;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.stats-strip span {
  color: #64748b;
  font-size: 0.92rem;
}

/* -----------------------------
   Section Helpers
----------------------------- */

.section-subtitle {
  color: #64748b;
  margin-top: -8px;
  margin-bottom: 22px;
  max-width: 820px;
}

.project-type {
  display: inline-block;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 12px;
}

.status-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.status-badge.live {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.status-badge.case-study {
  background: #dbeafe;
  color: #1e3a8a;
  border-color: #bfdbfe;
}

.status-badge.tableau {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

.status-badge.github {
  background: #f3f4f6;
  color: #111827;
  border-color: #d1d5db;
}

.status-badge.code {
  background: #f5f3ff;
  color: #5b21b6;
  border-color: #ddd6fe;
}

.status-badge.in-progress {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}


/* -----------------------------
   Work in Progress
----------------------------- */

#work-in-progress {
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  border-color: #bfdbfe;
}

/* -----------------------------
   Call to Action
----------------------------- */

.cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 100%);
  color: white;
}

.cta h2 {
  color: white;
}

.cta p {
  color: #dbeafe;
  margin-bottom: 18px;
}

/* -----------------------------
   Responsive Additions
----------------------------- */

@media (max-width: 800px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.workflow-grid div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.workflow-grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.workflow-grid span {
  display: inline-block;
  color: white;
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  margin-bottom: 12px;
}

.workflow-grid h3 {
  color: #0f172a;
  margin-bottom: 8px;
}

.workflow-grid p {
  color: #475569;
}

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