:root {
  --bg: #07100f;
  --card: #0d1b19;
  --text: #edf7f4;
  --muted: #9bb0ab;
  --accent: #5ee7b7;
  --accent2: #72a7ff;
  --line: #1d3430;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 5%, #12342d 0, transparent 28%), var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  line-height: 1.65;
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* max-width: 1180px; */
  margin: auto;
  padding: 0 190px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 16, 15, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(94, 231, 183, 0.08);
}

.nav a {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a img{
  height: 60px;
  width: 60px;
}
.logo {
  font: 700 26px "Space Grotesk";
  color: var(--text);
  text-decoration: none;
}
.logo span,
h1 span,
h2 span {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 28px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
}
nav a:hover {
  color: var(--accent);
}
.menu {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 24px;
}
.section {
  max-width: 1180px;
  margin: auto;
  padding: 110px 28px;
}
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}
.eyebrow,
.type {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
}
.hero h1 {
  font: 700 clamp(46px, 7vw, 82px)/1.02 "Space Grotesk";
  letter-spacing: -3px;
  margin: 18px 0 25px;
}
.lead {
  max-width: 670px;
  color: var(--muted);
  font-size: 18px;
}
.actions {
  display: flex;
  gap: 12px;
  margin: 32px 0;
}
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
}
.primary {
  background: var(--accent);
  color: #06110e;
}
.ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.mini {
  display: flex;
  gap: 22px;
  color: #79918b;
  font-size: 13px;
}
.hero-card {
  position: relative;
  min-height: 410px;
  display: grid;
  place-items: center;
}
.orb {
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #5ee7b7, transparent 55%),
    linear-gradient(135deg, #102c27, #0b1514);
  filter: blur(0.2px);
  box-shadow: 0 0 100px rgba(94, 231, 183, 0.12);
}
.code-card {
  position: absolute;
  width: min(430px, 100%);
  background: rgba(9, 22, 20, 0.92);
  border: 1px solid #29463f;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 25px 70px #0008;
  transform: rotate(2deg);
}
.dots {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #41615a;
}
.code-card pre {
  white-space: pre-wrap;
  color: #d7e7e3;
  font: 13px/1.8 monospace;
}
.pink {
  color: #ff79c6;
}
.green {
  color: var(--accent);
}
.section-head {
  max-width: 750px;
  margin-bottom: 45px;
}
.section h2 {
  font: 600 clamp(34px, 5vw, 58px)/1.1 "Space Grotesk";
  margin: 12px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  color: var(--muted);
  font-size: 17px;
}
.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.skills > div,
.project,
.timeline > div {
  background: rgba(13, 27, 25, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.skills h3 {
  font-family: "Space Grotesk";
  margin-top: 0;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tags span {
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #29423c;
  border-radius: 99px;
  color: #b7ccc6;
}
.projects {
  display: grid;
  gap: 16px;
}
.project {
  display: grid;
  grid-template-columns: 70px 1fr 130px;
  gap: 20px;
  align-items: start;
}
.project-no {
  font: 600 24px "Space Grotesk";
  color: #52716a;
}
.project h3 {
  font: 600 27px "Space Grotesk";
  margin: 5px 0;
}
.project p:not(.type) {
  color: var(--muted);
  max-width: 720px;
}
.project-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  text-align: right;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.timeline b {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.timeline h3 {
  font-family: "Space Grotesk";
}
.timeline p {
  color: var(--muted);
}
.contact {
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact h2 {
  font-size: clamp(50px, 8vw, 95px);
  margin: 12px 0;
}
.contact > p:not(.eyebrow) {
  color: var(--muted);
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 30px;
    overflow: visible;
}
.contact-links a {
  color: var(--text);
  text-decoration: none;
  padding-bottom: 4px;
}
img{
    height:   30px;
    width: 30px;
    border-radius: 50%;
}


.contact-icon {
  position: relative;
  display: inline-block;
}

.contact-icon img {
  display: block;
}

/* Tooltip */
.contact-icon .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 10px);

  margin-bottom: 10px;

  background: #000;
  color: #fff;

  padding: 6px 10px;
  border-radius: 5px;

  font-size: 13px;
  white-space: nowrap;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  z-index: 1000;

  /* Animation */
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}

.contact-icon:hover .tooltip {
  opacity: 1;
  visibility: visible;

  /* Move upward */
  transform: translate(-50%, 0);
}

.contact-icon .tooltip::after {
  content: "";

  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #000;
}

footer {
  text-align: center;
  padding: 35px;
  color: #71857f;
  border-top: 1px solid var(--line);
  font-size: 12px;
}




@media (max-width: 800px) {
  .nav {
    padding: 0 18px;
  }
  .menu {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #07100f;
    padding: 20px 28px;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
  }
  nav.open {
    display: flex;
  }
  .section {
    padding: 80px 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-card {
    min-height: 300px;
  }
  .orb {
    width: 230px;
    height: 230px;
  }
  .about-grid,
  .skills,
  .timeline {
    grid-template-columns: 1fr;
  }
  .project {
    grid-template-columns: 45px 1fr;
  }
  .project-link {
    grid-column: 2;
    text-align: left;
  }
  .mini {
    flex-wrap: wrap;
  }
  .hero h1 {
    letter-spacing: -2px;
  }
}
