@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');


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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #ff9b90;
}

ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

:root {
  --bg-main: #000000;
  --bg-panel: #000000;
  --bg-elevated: #060609;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text-primary: #f0f0f0;
  --text-secondary: #cfcfcf;
  --text-muted: #9a9a9a;
  --accent: #ff7a6b;
  --accent-soft: rgba(255, 122, 107, 0.12);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font-display: "Pixelify Sans", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;
  --content-width: 1120px;
}

@font-face {
  font-family: myFirstFont;
  src: url(c.ttf);
}

/* Full-page background */
.full_page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: var(--bg-main);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  z-index: 0;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.container {
  display: flex;
  flex-direction: column;
  position: relative;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 122, 107, 0.025), transparent),
    var(--bg-panel);
  width: 100%;
  z-index: 1;
  margin: 0;
  padding: 32px 6vw 60px;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 122, 107, 0.3) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.container>* {
  position: relative;
  z-index: 1;
}

.main-content {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  max-width: var(--content-width);
  width: 100%;
  margin: 0 auto;
}

.section-divider {
  max-width: var(--content-width);
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin: 28px auto;
}

.section-divider.section-divider-tight {
  margin: 18px auto;
}

.section-divider.section-divider-narrow {
  margin: 18px auto 24px;
}

.bottom-row {
  background: var(--bg-elevated);
  margin: 28px auto 0;
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  max-width: var(--content-width);
  width: 100%;
}

.left {
  flex: 0.4;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vl {
  border-left: 6px solid #FFC7C7;
  border-radius: 4px;
  height: 750px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
  opacity: 0.7;
  border-image: none;
}

.right {
  padding-left: 10px;
  flex: 0.6;
  display: flex;
  flex-direction: column;
  gap: 18px;
}



h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: 38px;
  letter-spacing: 0.8px;
}

h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.2px;
  color: var(--text-primary);
}

h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
}

.imgdp {
  text-align: center;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
}

hr.solid {
  border: none;
  height: 2px;
  width: 36px;
  background: var(--accent);
  border-radius: 999px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.lparttop {
  text-align: center;
  padding-right: 10px;
}

.lpartmiddle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.lpartbottom {
  padding-right: 20px;
  margin-top: 20px;
}

.rparttop {
  padding-top: 25px;
  padding-bottom: 20px;
}

.rpartmiddle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.rpartmiddle ul {
  display: grid;
  gap: 12px;
}

.rpartmiddle li {
  padding: 10px 12px;
}

.rpartmiddle p {
  margin-bottom: 4px;
}

.rpartbottom {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.project img {
  width: 240px;
  height: 170px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s ease, border 0.2s ease;
  object-fit: cover;
}

.project img:hover {
  transform: scale(1.01);
  border-color: var(--accent);
}

.project-media {
  flex-shrink: 0;
}

.project-text p {
  margin-top: 6px;
  color: var(--text-secondary);
}

.project-text a {
  color: var(--text-primary);
  text-decoration: none;
}

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

.project-tags {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.project-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.contact-section {
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-width: 600px;
  margin: 20px auto;
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 20px;
  font-size: 2em;
  color: #333;
}

.contact-links {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 10px;
}

.contact-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 1.3em;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  transform: scale(1.2) translateY(-4px);
  color: var(--accent);
}

.contact-links a i {
  font-size: 1.8em;
  /* Adjusted icon size */
}

.text-link {
  color: inherit;
}

.text-link:hover {
  color: var(--accent);
}

/* Styles for the container */
.cursor-container {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  color: var(--text-primary);
}

/* Style for the blinking cursor */
.blinking-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: var(--accent);
  margin-left: 2px;
  animation: blink 1s step-start infinite;
}

/* Keyframes for blinking animation */
@keyframes blink {

  from,
  to {
    background-color: transparent;
    /* Cursor is invisible */
  }

  50% {
    background-color: var(--accent);
    /* Cursor is visible */
  }
}

li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

li:last-child {
  border-bottom: none;
}

.bottom-row li,
.rpartmiddle li {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 8px;
  border-bottom: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Blockquote Styling */
blockquote {
  margin: 24px auto 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-radius: 8px;
  max-width: 640px;
  width: 100%;
}

blockquote p {
  margin: 0;
  padding-left: 0;
}

.page-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  max-width: var(--content-width);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.top-emblem {
  width: 44px;
  height: 44px;
  opacity: 0.95;
}

.more-projects-btn {
  margin-top: 16px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border 0.2s ease, color 0.2s ease;
}

.more-projects-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 15px var(--accent-soft);
}

.pixel-accent {
  color: var(--accent);
  letter-spacing: 1px;
}

.footer {
  margin: 24px auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  max-width: var(--content-width);
  width: 100%;
}

.footer a {
  color: var(--text-primary);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 3, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: min(960px, 92%);
  max-height: 85vh;
  background: var(--bg-panel);
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 4px;
}

.modal-close {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-secondary);
  padding: 6px 10px;
  cursor: pointer;
  transition: border 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.modal-body {
  padding: 18px 22px 24px;
  overflow-y: auto;
  display: grid;
  gap: 14px;
}

.modal-project {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.modal-project-muted {
  opacity: 0.7;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.modal-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.modal-title a:hover {
  color: var(--accent);
}

.modal-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.modal-project p {
  margin-top: 6px;
  color: var(--text-secondary);
}

.modal-points {
  margin-top: 8px;
  padding-left: 18px;
  list-style: disc;
}

.modal-points li {
  padding: 2px 0;
  border: none;
  border-bottom: none;
  background: transparent;
  margin: 0;
  color: var(--text-primary);
  font-weight: 500;
}

.modal-points li::marker {
  color: var(--accent);
}

.terminal-snippet {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #f1f1f1;
  font-family: "SFMono-Regular", "JetBrains Mono", "Courier New", monospace;
  font-size: 12px;
  border: 1px solid var(--border-subtle);
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 920px) {
  .main-content {
    flex-direction: column;
  }

  .left,
  .right {
    padding-left: 0;
  }

  .project {
    flex-direction: column;
    align-items: flex-start;
  }

  .project img {
    width: 100%;
    height: auto;
  }

  blockquote {
    width: 100%;
  }
}

/* Structural text updates */
.about-text p {
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.blog-links {
  margin-top: 16px;
  color: var(--text-muted);
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.skill-category {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.skill-category strong {
  color: var(--text-primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skill-category span {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.edu-list li {
  padding: 0 !important;
  border: none !important;
  background: none !important;
  margin: 0 !important;
}

.edu-title {
  font-family: var(--font-heading) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--text-primary);
  margin-bottom: 4px !important;
}

.edu-meta {
  font-size: 14px !important;
  color: var(--text-muted);
  font-style: italic;
}

/* Hover glow for cards */
.project {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.project:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px var(--accent-soft), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Micro-interaction on contact links */
.contact-links a {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.contact-links a:hover {
  transform: scale(1.2) translateY(-4px);
  color: var(--accent);
}

/* Mobile adjustments */
@media (max-width: 920px) {
  .container {
    padding: 24px 4vw 40px;
  }

  .main-content {
    flex-direction: column;
    gap: 32px;
  }

  .left,
  .right {
    width: 100%;
    flex: none;
    padding: 0;
  }

  .project {
    flex-direction: column;
    align-items: stretch;
  }

  .project img,
  .project-media {
    width: 100%;
    height: 180px;
  }
}

/* Terminal mockup styling */
.terminal-mockup {
  width: 240px;
  height: 170px;
  background: #0f0f11;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.05);
}

.terminal-header {
  height: 24px;
  background: #1a1a1f;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}

.terminal-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.terminal-body {
  padding: 12px;
  font-family: "SFMono-Regular", "JetBrains Mono", "Courier New", monospace;
  font-size: 11px;
  color: #cfcfcf;
  line-height: 1.5;
  background: #000;
  flex: 1;
}

.terminal-body .prompt {
  color: var(--accent);
  margin-right: 6px;
}

.terminal-body .output {
  color: #9a9a9a;
}

.more-projects-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 15px var(--accent-soft);
}

.contact-links a {
  filter: drop-shadow(0 0 0 transparent);
}

.contact-links a:hover {
  filter: drop-shadow(0 4px 8px var(--accent-soft));
}

/* Name fade-in animation */
@keyframes name-fadein {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.name-fadein {
  animation: name-fadein 0.8s ease-out both;
}
