@import url("https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&family=IBM+Plex+Mono&display=swap");

:root {
  --accent-primary: #FF7518;
  --accent-secondary: #2563eb;
  --font-title: "Pixelify Sans", system-ui, -apple-system, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;}


h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  letter-spacing: 0.01em;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafb;
  color: #1f2933;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1300px;
  margin: auto;
  padding: 18px 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropbtn {
  background: none;
  border: none;
  color: #374151;
  font-family: var(--font-title);
  font-size: large;
  letter-spacing: 0.02em;
  font-weight: 500;
  padding-bottom: 7px;
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  background-color: #ffffff;
}

.nav-dropbtn:hover {
  color: var(--accent-secondary);
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1001;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;

}

.nav-dropdown-content a {
  color: #000000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: var(--font-title);
  font-size: medium;
  font-weight: 400;
  background-color: #ffffff;
}

.nav-dropdown-content a:hover {
  background-color: #f3f4f6;
  color: var(--accent-secondary);
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

.nav-dropdown:hover .nav-dropbtn {
  color: var(--accent-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.skill-category {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

.skill-category h3 {
  margin: 0 0 12px 0;
  color: #111827;
  font-size: 1.1rem;
}

.skill-category ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.skill-category li {
  margin-bottom: 8px;
  color: #374151;
  font-family: "IBM Plex Mono", monospace;
}

.project-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

.project-card h3 {
  margin: 0 0 8px 0;
  color: #111827;
}

.project-card p {
  margin: 8px 0;
  color: #374151;
  line-height: 1.6;
}

.project-card ul {
  margin: 12px 0;
  padding-left: 20px;
}

.project-card li {
  margin-bottom: 6px;
  color: #374151;
}

.project-card strong {
  color: var(--accent-primary);
}

.institution-degrees .card p {
  align-items: center;
}

.institution-degrees .card strong {
  min-width: 120px;
}

.institution-degrees {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.institution-degrees .card {
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.institution-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.institution-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background-color: white;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.experience-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background-color: white;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}



.experience-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
}



#main {
  font-family: var(--font-title);
  letter-spacing: 0.02em;
  background-color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

.nav a {
  font-family: var(--font-title);
  font-size: large;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: #374151;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.nav a:hover {
  color: var(--accent-secondary);
  border-bottom-color: var(--accent-secondary);
}

main {
  max-width: 1300px;
  margin: auto;
  padding: 30px 20px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.top-photo.stacked {
  position: relative;
  width: 400px;
  height: 400px;
}

.top-photo.stacked .border-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.top-photo.stacked .profile-img {
  position: absolute;
  top: 47%;
  left: 50%;
  width: 95%;
  height: 64%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border-radius: 0;
  border-width: 1px;
  border-style: solid;
  border-color: black;
  display: block;
}


section {
  margin-bottom: 60px;
}

p {
  max-width: 100ch;
  margin-bottom: 16px;
  font-family: "IBM Plex Mono", monospace;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
}

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 6px;
  background-color: var(--accent-primary);
  color: #ffffff;
  font-size: 0.95rem;
}

.button:hover,
.button:focus {
  background-color: var(--accent-secondary);
}

.top-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 20px;
}

.top-left {
  max-width: 720px;
}

.top-quote {
  font-size: 1.5rem;
  font-style: italic;
  margin: 10px 0 15px;
  color: var(--accent-primary);
  font-family: "Pixelify Sans", monospace;
}


footer {
  text-align: center;
  padding: 30px 20px;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .nav-left,
  .nav-right {
    gap: 16px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  main {
    padding: 40px 16px;
  }

  .top-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-photo img {
    width: 220px;
    height: 220px;
  }
}
.two-col {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.two-col .card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.two-col .card h2 {
  margin: 0 0 10px;
  color: #111827;
}

.two-col .card p {
  margin: 0;
  color: #374151;
  line-height: 1.7;
}

.two-col .card ul {
  margin: 0;
  padding-left: 18px;
  color: #374151;
}

.two-col .card-desc,
.two-col .card-about {
  align-items: center;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 25px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 12px 0;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.1);
}

.card-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: white;
}

.card h3 {
  margin: 0 0 8px 0;
  color: #111827;
  font-size: 1.1rem;
}

.card p {
  margin: 4px 0;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}

.card strong {
  color: var(--accent-primary);
  min-width: 85px;
  display: inline-block;
  text-align: left;
}

.card ul {
  margin: 8px 0 0 0;
  padding-left: 18px;
}

.card li {
  margin-bottom: 6px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .two-col .card {
    min-height: auto;
  }
}
