:root {
  --bg: #000000;
  --accent: #3fe0b5;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --text-main: #f5f5f5;
  --text-muted: #c0c0c0;
  --card-bg: #050505;
  --border-subtle: #ffffff;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --nav-height: 64px;
  scroll-behavior: smooth;
}

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

html,
body {
  width: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

/* NAVBAR */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 3px solid #ffffff;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.nav-left {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-left span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.18s ease-out;
}

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

.nav-links a:hover::after {
  width: 100%;
}


.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.4rem 1.25rem 3.5rem;
}

section {
  padding: 3.6rem 0 0;
}

section:first-of-type {
  padding-top: 2rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section-title span {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   
  gap: 1.8rem;
}



.hero-tag {
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero-name {
  font-size: 2.6rem;
  line-height: 1.1;
  font-weight: 700;
}

.hero-name span {
  color: var(--accent);
}

.hero-subtitle {
  margin-top: 0.4rem;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.hero-body {
  margin-top: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 32rem;
  font-size: 0.95rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}


.btn {
  border-radius: 999px;
  padding: 0.6rem 1.35rem;
  border: 3px solid #007b89;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: transparent;
  color: var(--text-main);
  transition: background 0.16s ease-out, transform 0.08s ease-out,
    border-color 0.16s ease-out, color 0.16s ease-out;
}


.btn-primary {
  background: rgba(255, 255, 255, 0.06);
  border-color: #f2ff00;
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #ffffff;
  color: #000000;
}


.btn-outline {
  border-color: #f2ff00;
  background: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  background: #ffffff;
  color: #000000;
}

.hero-right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}


.hero-avatar-wrap {
  width: 250px;
  height: 250px;
  border-radius: 100%;
  overflow: hidden;
  background: #000000;
}

.hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero-code-card {
  width: 100%;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 3px solid #ffffff;
  padding: 1.3rem 1.1rem;
  font-family: "Fira Code", monospace;
  font-size: 0.9rem;
  color: #e6e6e6;
  position: relative;
}

.hero-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.hero-code-dots {
  display: flex;
  gap: 0.35rem;
}

.hero-code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333333;
}

.hero-code-title {
  font-size: 0.75rem;
  color: #808080;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: hidden;
}


.code-keyword {
  color: var(--accent);
}
.code-type {
  color: #15e9b0;
}
.code-string {
  color: #ff00a6;
}
.code-comment {
  color: #ffe100;
}
.code-number {
  color: #00ddff;
}
.code-func {
  color: #ffffff;
}


.education-card {
  background: var(--card-bg);
  color: #eaeaea;
  border-radius: var(--radius-lg);
  border: 3px solid white;
  padding: 1.7rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 1.6rem;
}

.edu-main h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.edu-degree {
  font-size: 1rem;
  color: #bbbbbb;
  margin-bottom: 0.25rem;
}

.edu-meta {
  font-size: 0.9rem;
  color: #a0a0a0;
  margin-bottom: 0.75rem;
}

.edu-meta span {
  color: var(--accent);
  font-weight: 500;
}


.edu-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 0px;
  border: 1px solid #fff700;
  background: #000000;
  font-size: 0.9rem;
  color: #b0b0b0;
  margin-bottom: 0.7rem;
}


.edu-list-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.edu-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem 1.7rem;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #b0b0b0;
}

.edu-columns ul {
  list-style: none;
}

.edu-columns li::before {
  content: "• ";
  color: var(--accent);
  margin-right: 0.12rem;
}


.edu-summary {
  font-size: 0.9rem;
  color: #b5b5b5;
  margin-top: 0.2rem;
}


.projects-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.projects-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.filter-pill {
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  border: 3px solid #f2ff00;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.14s ease-out, border-color 0.14s ease-out,
    color 0.14s ease-out, transform 0.06s ease-out;
}

.filter-pill:hover {
  transform: translateY(-1px);
  background: white;
  color: black;
}


.filter-pill.active {
  background: #f2ff00;
  border-color: #f2ff00;
  color: #000000;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
}


.project-card {
  background: var(--card-bg);
  color: #eaeaea;
  border-radius: var(--radius-lg);
  border: 3px solid white;
  padding: 1.15rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.project-tagline {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.project-title {
  font-weight: 600;
  margin-bottom: 0.1rem;
  font-size: 1rem;
}

.project-desc {
  color: #b5b5b5;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.project-tech {
  font-size: 0.8rem;
  color: #9d9d9d;
  margin-bottom: 0.35rem;
}

.project-tech span {
  color: var(--accent);
}

.project-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}


.project-link {
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.24rem 0.75rem;
  border: 3px solid #f2ff00;
  color: #f0f0f0;
  background: transparent;
  transition: border-color 0.14s ease-out, color 0.14s ease-out,
    background 0.14s ease-out, transform 0.06s ease-out;
}

.project-link:hover {
  border-color: #ffffff;
  color: #000000;
  background: #ffffff;
  transform: translateY(-1px);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.about-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-text p + p {
  margin-top: 0.8rem;
}

.about-list {
  margin-top: 0.85rem;
  list-style: none;
}

.about-list li::before {
  content: "> ";
  color: var(--accent);
  margin-right: 0.2rem;
}


.about-card {
  background: var(--card-bg);
  color: #ffffff;
  border-radius: var(--radius-lg);
  border: 3px solid white;
  padding: 1.35rem 1.2rem;
  font-size: 0.9rem;
}

.about-card-title {
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: #f5f5f5;
}

.about-stack {
  margin-top: 0.8rem;
}

.about-stack-title {
  font-size: 0.86rem;
  margin-bottom: 0.35rem;
}


.about-links {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.85rem;
}

.about-pill {
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  border: 3px solid #f2ff00;
  background: transparent;
  color: #f0f0f0;
  transition: border-color 0.14s ease-out, color 0.14s ease-out,
    background 0.14s ease-out;
}

.about-pill:hover {
  border-color: #ffffff;
  color: #000000;
  background: #ffffff;
}


footer {
  margin-top: 3.4rem;
  padding-top: 1.7rem;
  border-top: 1px solid #ffffff;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

footer span {
  color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-right {
    order: 2;
  }
  .hero-left {
    order: 1;
    align-items: center;
    text-align: center;
  }
  .hero-body {
    max-width: none;
  }
  .education-card,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nav {
    padding-inline: 1rem;
  }
  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }
  .hero-name {
    font-size: 2.15rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  section {
    padding-top: 3rem;
  }
}
