
:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --border: #e3e3dd;

  --text-primary: #1c1e22;
  --text-muted: #5c6068;

  --accent: #1f6f5c;       
  --accent-soft: #e6f0ed; 

  --font-heading: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;

  --max-width: 1000px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 40px;
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 247, 244, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

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

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
}

.hero {
  padding-top: 110px;
  padding-bottom: 110px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.eyebrow {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
}

.role {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 30px;
}

.cursor {
  color: var(--accent);
  animation: blink 1s step-start infinite;
}

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

.hero-desc {
  max-width: 520px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #185a4a;
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent-soft);
}

.hero-visual {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.terminal-card {
  width: 100%;
  max-width: 420px;
  background-color: #1c1e22;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: #26282e;
}

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

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.terminal-title {
  margin-left: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: #9a9ea6;
}

.terminal-body {
  padding: 22px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.terminal-body .prompt {
  color: var(--accent);
}

.terminal-body p {
  color: #d7d9dc;
  margin-bottom: 4px;
}

.terminal-body .output {
  color: #9a9ea6;
  margin-bottom: 14px;
}

.blink-block {
  display: inline-block;
  width: 8px;
  background-color: var(--accent);
  animation: blink 1s step-start infinite;
}

.about {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-content p {
  max-width: 700px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about-content strong {
  color: var(--text-primary);
}

.timeline {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 3px solid var(--bg);
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-place {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.timeline-lg .timeline-item {
  padding-bottom: 52px;
}

.timeline-lg .timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.timeline-lg .timeline-place {
  font-size: 1rem;
}

.timeline-lg .timeline-date {
  font-size: 0.9rem;
}

.timeline-cgpa {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 20px;
}

.skills {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.skill-card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px;
}

.skill-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--accent);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background-color: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-card-lg {
  display: flex;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  min-height: 300px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.project-card-lg:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(31, 111, 92, 0.14);
  border-color: var(--accent);
}

.project-media {
  flex: 0 0 46%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  position: relative;
  background-color: var(--bg);
}

.project-media.media-devpath {
  background-color: #f5f5f1;
}

.project-media.media-cv {
  background-color: #f5f9fe;
}

.project-media.media-journal {
  background-color: #00040c;
}
.dev-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #347666;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
}

  .dev-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #347666;
    animation: dev-pulse 1.8s ease-in-out infinite;
  }

  @keyframes dev-pulse {
    0%, 100% {
      opacity: 1;
      box-shadow: 0 0 0 0 rgba(52, 118, 102, 0.3);
    }
    50% {
      opacity: 0.65;
      box-shadow: 0 0 0 4px rgba(52, 118, 102, 0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .dev-status-dot {
      animation: none;
    }
  }
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.project-card-lg:hover .project-media img {
  transform: scale(1.03);
}

.project-info {
  flex: 1;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-folder {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.project-info h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.project-info p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 18px;
  max-width: 480px;
}

.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tag-small {
  font-size: 0.72rem;
  padding: 3px 9px;
}

.project-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-block;
  width: fit-content;
  transition: transform 0.2s ease;
}

.project-card-lg:hover .project-link {
  transform: translateX(4px);
}
.achievements {
  background-color: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.achievement-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 20px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.achievement-card:hover {
  transform: translateX(4px);
}

.achievement-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 8px;
}

.achievement-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.achievements-list-lg {
  gap: 20px;
}

.achievements-list-lg .achievement-card {
  padding: 26px 28px;
}

.experience {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.experience-card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 28px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(31, 111, 92, 0.1);
}

.experience-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.experience-top h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.experience-org {
  color: var(--accent);
  font-weight: 500;
}

.experience-date {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.experience-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 640px;
  margin-bottom: 18px;
}

.certifications {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.certification-card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.certification-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.certification-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.cert-org {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.cert-date {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.cert-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--accent);
}

.contact-desc {
  max-width: 560px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-link {
  font-family: var(--font-heading);
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.2s ease;
}

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

.footer {
  padding: 26px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--surface);
    flex-direction: column;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 300px;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 16px 0;
  }

  .menu-btn {
    display: flex;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }

  .project-card-lg {
    flex-direction: column;
    min-height: 0;
  }

  .project-media {
    flex: 0 0 auto;
    height: 220px;
  }

  .project-info {
    padding: 24px;
  }

  .experience-top {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cursor,
  .blink-block {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

.highlight {
  background-color: var(--accent-soft);
  color: var(--text-highlight);
  font-weight: 700;
  padding: 0.15em 0.4em;
  border-radius: 4px;
}
