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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #172033;
  background: #f7f9fc;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 249, 252, 0.95);
  border-bottom: 1px solid #e4e8f0;
  backdrop-filter: blur(8px);
}

.nav {
  width: min(1100px, 92%);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: #0d2b5c;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  color: #36445c;
}

.nav-links a:hover {
  color: #0d2b5c;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

.section {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 88px 0;
}

.alt-section {
  width: 100%;
  max-width: none;
  padding-left: max(4%, calc((100% - 1100px) / 2));
  padding-right: max(4%, calc((100% - 1100px) / 2));
  background: #ffffff;
  border-top: 1px solid #e8edf5;
  border-bottom: 1px solid #e8edf5;
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1f6feb;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  color: #0d2b5c;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  color: #0d2b5c;
  margin-bottom: 1.2rem;
}

h3 {
  color: #0d2b5c;
  margin-bottom: 0.75rem;
}

.hero-text {
  font-size: 1.1rem;
  color: #42516a;
  max-width: 720px;
  margin-bottom: 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary-btn {
  background: #0d2b5c;
  color: white;
  box-shadow: 0 10px 24px rgba(13, 43, 92, 0.2);
}

.secondary-btn {
  background: white;
  color: #0d2b5c;
  border: 1px solid #cdd8ea;
}

.hero-card,
.skill-card,
.project-card,
.placeholder-card,
.resume-box,
.contact-card {
  background: white;
  border: 1px solid #e2e8f3;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(19, 41, 75, 0.06);
}

.hero-card ul {
  list-style-position: inside;
  color: #42516a;
}

.hero-card li {
  margin-bottom: 0.5rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.two-column p,
.resume-box p,
.contact-section p {
  color: #42516a;
  margin-bottom: 1rem;
}

.skills-grid,
.projects-grid,
.contact-links {
  display: grid;
  gap: 1rem;
}

.skills-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.skill-card p,
.project-card p,
.placeholder-card p {
  color: #42516a;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-tag {
  width: fit-content;
  background: #eaf2ff;
  color: #1f6feb;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.tools {
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: auto;
  padding-top: 1rem;
}

.project-link {
  margin-top: 1rem;
  color: #1f6feb;
  font-weight: 800;
}

.resume-box {
  max-width: 760px;
}

.contact-links {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.contact-card {
  display: block;
  color: #42516a;
}

.contact-card span {
  display: block;
  font-weight: 800;
  color: #0d2b5c;
  margin-bottom: 0.25rem;
}

.footer {
  text-align: center;
  padding: 2rem;
  color: #68768f;
  border-top: 1px solid #e4e8f0;
}

@media (max-width: 850px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e4e8f0;
    padding: 1rem 4%;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

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

  .hero,
  .two-column,
  .skills-grid,
  .projects-grid,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .section {
    padding: 64px 0;
  }

  .alt-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
