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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #08090b;
  color: #f2f2f2;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}



:root {
  --bg: #08090b;
  --bg-soft: #0d0f12;
  --card: #111419;
  --card-hover: #15191f;

  --text: #f4f4f5;
  --muted: #969ba5;
  --muted-light: #b8bdc7;

  --border: rgba(255, 255, 255, 0.09);

  --accent: #7cffb2;
  --accent-dark: #42d982;

  --max-width: 1180px;
}


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(8, 9, 11, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: var(--max-width);
  margin: auto;

  height: 76px;

  padding: 0 25px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}



.logo {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);
  border-radius: 10px;

  font-weight: 800;
  font-size: 20px;

  transition: 0.3s ease;
}

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

.logo:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  position: relative;

  color: var(--muted);
  font-size: 13px;
  font-weight: 500;

  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';

  position: absolute;

  bottom: -9px;
  left: 50%;

  width: 4px;
  height: 4px;

  transform: translateX(-50%);

  background: var(--accent);
  border-radius: 50%;
}

/* Nav Button */

.nav-button {
  padding: 10px 18px;

  border: 1px solid var(--border);
  border-radius: 8px;

  font-size: 13px;
  font-weight: 600;

  transition: 0.25s ease;
}

.nav-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;

  display: flex;
  align-items: center;

  position: relative;

  padding: 150px 25px 100px;

  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(124, 255, 178, 0.07),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(124, 255, 178, 0.04),
      transparent 30%
    );
}

.hero-container {
  max-width: var(--max-width);
  width: 100%;

  margin: auto;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;

  gap: 90px;

  align-items: center;
}

/* Status */

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 7px 12px;

  margin-bottom: 28px;

  border: 1px solid rgba(124, 255, 178, 0.15);
  border-radius: 50px;

  background: rgba(124, 255, 178, 0.04);

  color: var(--muted-light);

  font-size: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow: 0 0 12px rgba(124, 255, 178, 0.7);
}

/* Hero small text */

.hero-small {
  color: var(--accent);

  font-family: 'JetBrains Mono', monospace;

  font-size: 11px;
  letter-spacing: 2px;

  margin-bottom: 18px;
}

/* Hero title */

.hero h1 {
  max-width: 750px;

  font-size: clamp(44px, 5.5vw, 76px);

  line-height: 1.04;

  letter-spacing: -3.5px;

  font-weight: 800;
}

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

/* Description */

.hero-description {
  max-width: 620px;

  margin-top: 28px;

  color: var(--muted);

  font-size: 16px;

  line-height: 1.8;
}

/* Buttons */

.hero-buttons {
  display: flex;
  gap: 12px;

  margin-top: 35px;
}

.button {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 20px;

  border-radius: 8px;

  font-size: 13px;
  font-weight: 600;

  transition: 0.25s ease;
}

.button.primary {
  color: #06100a;

  background: var(--accent);
}

.button.primary:hover {
  background: #a0ffc7;

  transform: translateY(-2px);

  box-shadow: 0 10px 35px rgba(124, 255, 178, 0.15);
}

.button.primary span {
  margin-left: 10px;
  font-size: 17px;
}

.button.secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.button.secondary:hover {
  border-color: rgba(124, 255, 178, 0.4);

  color: var(--accent);

  transform: translateY(-2px);
}

/* Social */

.social-links {
  display: flex;
  gap: 25px;

  margin-top: 35px;
}

.social-links a {
  color: var(--muted);

  font-size: 13px;

  border-bottom: 1px solid transparent;

  transition: 0.25s ease;
}

.social-links a:hover {
  color: var(--accent);

  border-color: var(--accent);
}

/* =========================
   TERMINAL
========================= */

.terminal {
  width: 100%;

  border: 1px solid var(--border);

  border-radius: 12px;

  background: #0b0d10;

  overflow: hidden;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px rgba(255, 255, 255, 0.02);

  transform: perspective(1000px) rotateY(-3deg);

  transition: 0.4s ease;
}

.terminal:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-5px);
}

/* Terminal header */

.terminal-header {
  height: 46px;

  display: flex;
  align-items: center;

  padding: 0 16px;

  border-bottom: 1px solid var(--border);

  background: #101216;
}

.terminal-header p {
  position: absolute;

  left: 50%;

  transform: translateX(-50%);

  color: #6e747e;

  font-family: 'JetBrains Mono', monospace;

  font-size: 11px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #454a52;
}

/* Terminal body */

.terminal-body {
  padding: 28px;

  min-height: 350px;

  font-family: 'JetBrains Mono', monospace;

  font-size: 12px;

  color: #d7dbe0;
}

.terminal-body p {
  margin-bottom: 15px;
}

.green {
  color: var(--accent);
}

.terminal-output {
  color: #858c96;

  padding-left: 15px;

  line-height: 1.8;
}

.cursor {
  display: inline-block;

  width: 7px;
  height: 14px;

  background: var(--accent);

  vertical-align: middle;

  animation: blink 1s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 130px 25px;
}

.section-container {
  max-width: var(--max-width);

  margin: auto;
}

.dark-section {
  background: #0c0e11;

  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Section heading */

.section-heading {
  max-width: 700px;

  margin-bottom: 65px;
}

.section-number {
  color: var(--accent);

  font-family: 'JetBrains Mono', monospace;

  font-size: 11px;

  letter-spacing: 1.5px;

  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(35px, 4vw, 55px);

  line-height: 1.1;

  letter-spacing: -2px;
}

.section-heading h2 span {
  color: var(--muted);
}

/* =========================
   ABOUT
========================= */

.about-grid {
  display: grid;

  grid-template-columns: 1.4fr 0.8fr;

  gap: 100px;
}

.about-text p {
  color: var(--muted);

  font-size: 16px;

  line-height: 1.9;

  margin-bottom: 20px;
}

.about-info {
  border-top: 1px solid var(--border);
}

.info-item {
  padding: 18px 0;

  border-bottom: 1px solid var(--border);

  display: flex;
  flex-direction: column;

  gap: 4px;
}

.info-item span {
  color: #6f757e;

  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.info-item strong {
  color: var(--text);

  font-size: 14px;

  font-weight: 500;
}

/* =========================
   SKILLS
========================= */

.skills-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 15px;
}

.skill-card {
  padding: 30px;

  min-height: 220px;

  border: 1px solid var(--border);

  background: #101216;

  border-radius: 10px;

  transition: 0.3s ease;
}

.skill-card:hover {
  background: var(--card-hover);

  border-color: rgba(124, 255, 178, 0.2);

  transform: translateY(-5px);
}

.skill-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 25px;

  border: 1px solid rgba(124, 255, 178, 0.2);

  border-radius: 8px;

  color: var(--accent);

  font-family: 'JetBrains Mono', monospace;

  font-size: 14px;
}

.skill-card h3 {
  font-size: 16px;

  margin-bottom: 10px;
}

.skill-card p {
  color: var(--muted);

  font-size: 13px;

  line-height: 1.7;
}

/* =========================
   PROJECTS
========================= */

.projects-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.project-card {
  min-height: 330px;

  padding: 30px;

  border: 1px solid var(--border);

  border-radius: 10px;

  background: var(--card);

  display: flex;
  flex-direction: column;

  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);

  border-color: rgba(124, 255, 178, 0.25);
}

.project-top {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 60px;
}

.project-number {
  color: #656b74;

  font-family: 'JetBrains Mono', monospace;

  font-size: 11px;
}

.project-top a {
  width: 32px;
  height: 32px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);

  border-radius: 50%;

  color: var(--muted);

  transition: 0.25s ease;
}

.project-top a:hover {
  color: var(--accent);

  border-color: var(--accent);
}

.project-card h3 {
  font-size: 21px;

  margin-bottom: 14px;
}

.project-card p {
  color: var(--muted);

  font-size: 13px;

  line-height: 1.8;

  flex: 1;
}

.project-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-top: 25px;
}

.project-tags span {
  padding: 5px 9px;

  border-radius: 5px;

  background: #181b20;

  color: #969ca5;

  font-family: 'JetBrains Mono', monospace;

  font-size: 9px;
}

/* =========================
   EXPERIENCE
========================= */

.timeline {
  border-top: 1px solid var(--border);
}

.timeline-item {
  display: grid;

  grid-template-columns: 230px 1fr;

  gap: 50px;

  padding: 38px 0;

  border-bottom: 1px solid var(--border);
}

.timeline-date {
  color: #777d86;

  font-family: 'JetBrains Mono', monospace;

  font-size: 10px;

  letter-spacing: 1px;
}

.timeline-content h3 {
  font-size: 20px;

  margin-bottom: 4px;
}

.timeline-content h4 {
  color: var(--accent);

  font-size: 13px;

  font-weight: 500;

  margin-bottom: 15px;
}

.timeline-content p {
  max-width: 650px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.8;
}

/* =========================
   CERTIFICATIONS
========================= */

.certifications {
  border-top: 1px solid var(--border);
}

.certification {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  padding: 27px 0;

  border-bottom: 1px solid var(--border);
}

.certification span:first-child {
  color: var(--accent);

  font-family: 'JetBrains Mono', monospace;

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.certification h3 {
  margin-top: 6px;

  font-size: 17px;

  font-weight: 500;
}

.cert-year {
  color: #717780;

  font-family: 'JetBrains Mono', monospace;

  font-size: 11px;
}

/* =========================
   CONTACT
========================= */

.contact-section {
  padding: 150px 25px;

  text-align: center;

  background: radial-gradient(
    circle at center,
    rgba(124, 255, 178, 0.07),
    transparent 45%
  );
}

.contact-container {
  max-width: 850px;

  margin: auto;
}

.contact-section h2 {
  font-size: clamp(40px, 6vw, 70px);

  line-height: 1.05;

  letter-spacing: -3px;

  margin-bottom: 25px;
}

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

.contact-section > .contact-container > p:not(.section-number) {
  max-width: 620px;

  margin: auto;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.8;
}

.contact-buttons {
  display: flex;

  justify-content: center;

  gap: 12px;

  margin-top: 35px;
}

/* =========================
   FOOTER
========================= */

footer {
  border-top: 1px solid var(--border);

  background: #060709;
}

.footer-container {
  max-width: var(--max-width);

  margin: auto;

  padding: 25px;

  display: flex;

  justify-content: space-between;

  gap: 20px;
}

.footer-container p {
  color: #646a73;

  font-size: 11px;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #08090b;
}

::-webkit-scrollbar-thumb {
  background: #252a30;

  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #343a42;
}

/* =========================
   SELECTION
========================= */

::selection {
  background: rgba(124, 255, 178, 0.25);

  color: white;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {
  .hero-container {
    grid-template-columns: 1fr;

    gap: 60px;
  }

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

  .terminal {
    max-width: 650px;
  }

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

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 280px;
  }

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

    gap: 50px;
  }
}

@media (max-width: 760px) {
  .nav-container {
    height: 68px;
  }

  .nav-links {
    display: none;
  }

  .nav-button {
    display: block;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 14px;
  }

  .section {
    padding: 95px 20px;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;

    gap: 15px;
  }

  .timeline-date {
    margin-bottom: 2px;
  }

  .contact-section {
    padding: 110px 20px;
  }

  .contact-section h2 {
    letter-spacing: -2px;
  }

  .contact-buttons {
    flex-direction: column;

    max-width: 300px;

    margin-left: auto;
    margin-right: auto;
  }

  .footer-container {
    flex-direction: column;

    text-align: center;
  }
}

@media (max-width: 500px) {
  .nav-button {
    padding: 8px 13px;

    font-size: 11px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: stretch;
  }

  .social-links {
    margin-top: 25px;
  }

  .terminal-body {
    padding: 20px;

    font-size: 10px;
  }

  .terminal {
    transform: none;
  }

  .project-card {
    padding: 24px;
  }

  .certification {
    align-items: flex-start;
  }
}
