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



body {
  font-family: Inter, system-ui, sans-serif;
  background: #0a0a0a;
  color: #e6e6e6;
  padding-top: 60px;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: #1e1e1e;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 32px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}


.nav-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.nav-pixel-mark {
  width: 38px;
  height: 30px;
  flex-shrink: 0;
}

.nav-logo {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #22c55e;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  flex: 1;
}

.nav-links a {
  font-size: 0.8rem;
  color: #8a8a8a;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: #22c55e;
  transition: width 0.25s ease;
}

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

.nav-resume {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.nav-resume svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.nav-resume:hover {
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.6);
}

.nav-resume::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #8a8a8a;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(10,10,10,0.96);
  border-top: 1px solid #1e1e1e;
  padding: 16px 32px 20px;
  gap: 2px;
}

.nav-mobile.open { display: flex; }

.mobile-link {
  font-size: 0.9rem;
  color: #8a8a8a;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #141414;
  transition: color 0.2s;
}

.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: #ffffff; }
.mobile-link::after { display: none; }

.resume-mobile {
  color: #22c55e !important;
  margin-top: 8px;
}

/* ─── LAYOUT ─── */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ─── LEFT COLUMN ─── */
.identity {
  padding: 48px 32px;
  border-right: 1px solid #1e1e1e;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}

.identity h1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.tagline {
  font-size: 0.95rem;
  color: #9a9a9a;
  margin-bottom: 10px;
}

/* ─── RIGHT COLUMN ─── */
.content {
  padding: 80px 100px;
}

article {
  max-width: 620px;
  margin-bottom: 80px;
}

article::before {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #2a2a2a;
  margin-bottom: 24px;
}

article h2 {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

article h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
  letter-spacing: 0.02em;
}

article p {
  font-size: 1rem;
  line-height: 1.7;
  color: #bdbdbd;
  margin-bottom: 18px;
}

/* ─── AVATAR ─── */
.avatar {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 28px; 
}




/* .avatar img.profile {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.4s ease;
  position: relative;
  z-index: 2;
}

.ring {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 108px;
  height: 108px;
  transform: rotate(-90deg);
  z-index: 1;
}

.ring circle {
  fill: none;
  stroke: #22c55e;
  stroke-width: 3;
  stroke-dasharray: 302;
  stroke-dashoffset: 302;
  transition: stroke-dashoffset 1s ease;
}

.avatar:hover .ring circle { stroke-dashoffset: 0; }
.avatar:hover img.profile { filter: grayscale(10%) contrast(1.05); transition-delay: 1s; }

.avatar::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.25) 0%, rgba(34, 197, 94, 0.15) 35%, transparent 70%);
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.avatar:hover::after { opacity: 1; transition-delay: 0.6s; } */


.avatar img.profile {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.4s ease;
  position: relative;
  z-index: 2;
}

.ring {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 108px;
  height: 108px;
  transform: rotate(-90deg);
  z-index: 1;
}

.ring circle {
  fill: none;
  stroke: #22c55e;
  stroke-width: 3.4;
  stroke-dasharray: 302;
  stroke-dashoffset: 302;
  transition: stroke-dashoffset 1.3s ease;
}

/* OLD hover-only rules — keep these so hover still works on second entry */
.avatar:hover .ring circle { stroke-dashoffset: 0; }
.avatar:hover img.profile  { filter: grayscale(0%) contrast(1.05); transition-delay: 1s; }
.avatar:hover::after       { opacity: 1; transition-delay: 0.6s; }

/* NEW .lit class rules — these persist after cursor leaves */
.avatar.lit .ring circle { stroke-dashoffset: 0; }
.avatar.lit img.profile  { filter: grayscale(0%) contrast(1.05); transition-delay: 1s; }
.avatar.lit::after       { opacity: 1; transition-delay: 0.6s; }

.avatar::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.25) 0%, rgba(34, 197, 94, 0.15) 35%, transparent 70%);
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}


/* .map-placeholder {
  width: 100%;
  height: 110px;
  background: 
    repeating-linear-gradient(0deg, #22c55e08 0px, #22c55e08 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(90deg, #22c55e08 0px, #22c55e08 1px, transparent 1px, transparent 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.map-pin {
  font-size: 1.5rem;
  color: #22c55e;
  opacity: 0.8;
}

.map-coords {
  font-family: monospace;
  font-size: 0.6rem;
  color: #22c55e;
  opacity: 0.4;
  letter-spacing: 0.08em;
} */

.location-wrap {
  position: relative;
  display: inline-block;
  margin-top: 6px;
}

.location {
  font-family: monospace;
  font-size: 0.85rem;
  color: #31ae5f;
  letter-spacing: 0.05em;
  cursor: default;
  margin: 0;
}

.location-map-tooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  width: 220px;
  background: #0f0f0f;
  border: 1px solid #22c55e22;
  border-top: 2px solid #22c55e;
  border-radius: 0 0 4px 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}



.location-map-tooltip::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  z-index: 1;
}

.location-wrap:hover .location-map-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#miniMap {
  width: 100%;
  height: 200px;
}

.map-label {
  display: block;
  font-family: monospace;
  font-size: 0.68rem;
  color: #22c55e;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  opacity: 0.8;
  border-top: 1px solid #22c55e18;
  background: #0a0a0a;
}

.leaflet-control-zoom a {
  background: #0f0f0f !important;
  color: #22c55e !important;
  border: 1px solid #22c55e33 !important;
}

.leaflet-control-zoom a:hover {
  background: #22c55e !important;
  color: #000 !important;
}

.leaflet-control-attribution {
  display: none !important;
}




/* .location {
  font-family: monospace;
  font-size: 0.85rem;
  color: #31ae5f;
  margin-top: 6px;
  letter-spacing: 0.04em;
} */

/* ─── SOCIALS ─── */
.socials {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #8a8a8a;
  text-decoration: none;
  width: fit-content;
  position: relative;
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.85;
}

.socials a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.socials a:hover::after { width: 100%; }
.socials .linkedin:hover { color: #0a66c2; }
.socials .email:hover { color: #ea4335; }
.socials .github:hover { color: #ffffff; }

/* ─── SKILLS ─── */

.skills-grid {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.skills-category {
  margin-bottom: 2rem;
}

.skills-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aaaaaa;       
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.skill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease;
  cursor: default;
}

.skill-card img { width: 22px; height: 22px; opacity: 0.9; }
.skill-card span { font-size: 0.88rem; color: #dcdcdc; }

.skill-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.skill-card:hover span { color: #ffffff; }

/* ─── PROJECTS ─── */
.projects {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 24px;
}

.project {
  border-left: 2px solid #1e1e1e;
  padding-left: 20px;
  transition: border-color 0.25s ease;
}

.project:hover { border-color: #22c55e; }

.project h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
  transition: transform 0.25s ease;
}

.project:hover h4 { transform: translateX(4px); }

.project p { max-width: 560px; margin-bottom: 14px; }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.75rem;
  color: #8a8a8a;
}

.project-meta span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 6px;
}

.project-meta a {
  color: #bdbdbd;
  text-decoration: none;
  position: relative;
}

.project-meta a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: #ffffff;
  transition: width 0.25s ease;
}

.project-meta a:hover::after { width: 100%; }

/* ─── TIMELINE (Achievements) ─── */
.timeline {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, #22c55e, #1e3a2a);
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 25px;
  padding-right: 80px;
  position: relative;
}

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

.timeline-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid #22c55e;
  flex-shrink: 0;
  margin-top: 3px;
  z-index: 1;
  transition: background 0.25s ease;
}

.timeline-item:hover .timeline-dot { background: #22c55e; }

.timeline-body {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 20px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.timeline-item:hover .timeline-body {
  border-color: rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.03);
}

.timeline-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
}

.timeline-year {
  font-size: 0.75rem;
  color: #22c55e;
  white-space: nowrap;
}

.timeline-body p {
  font-size: 0.88rem;
  color: #9a9a9a;
  line-height: 1.6;
  margin-bottom: 12px;
}

.timeline-tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
  letter-spacing: 0.05em;
}

.timeline-photos-hint {
  font-size: 0.78rem;
  padding: 3px 10px;
  color: #8a8a8a;
  margin-top: 6px;
}

/* ─── CERTIFICATIONS ─── */
.cert-grid {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.25s ease;
}

.cert-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}

.cert-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-icon svg {
  width: 18px;
  height: 18px;
  fill: #22c55e;
}

.cert-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.cert-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
}

.cert-issuer {
  font-size: 0.81rem;
  color: #8a8a8a;
}

.cert-date {
  font-size: 0.75rem;
  color: #22c55e;
}

.cert-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  color: #8a8a8a;
}

.cert-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.cert-link:hover {
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
}

.cert-link::after { display: none; }

/* ─── EDUCATION ─── */
.edu-card {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 20px 24px;
  gap: 16px;
  flex-wrap: wrap;
  transition: border-color 0.25s ease;
}

.edu-card:hover { border-color: rgba(255,255,255,0.1); }

.edu-left { display: flex; flex-direction: column; gap: 6px; }
.edu-degree { font-size: 1rem; font-weight: 500; color: #ffffff; }
.edu-college { font-size: 0.88rem; color: #8a8a8a; }

.edu-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.edu-year { font-size: 0.85rem; color: #8a8a8a; }
.edu-status {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.score {
  font-size: 0.90rem; color: #d0d0d0; font-weight: 500; padding-top: 7px
}

/* ─── META BLOCK ─── */
.meta-block {
  margin-top: 12px;
}

/* ─── CONTACT ─── */
.contact-text {
  font-size: 0.95rem;
  color: #bdbdbd;
  line-height: 1.6;
  margin-bottom: 36px;
}

.contact-icons {
  display: flex;
  gap: 40px;
}

.contact-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.78rem;
  color: #8a8a8a;
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-icons svg { width: 26px; height: 26px; fill: currentColor; }
.contact-icons a:hover { color: #ffffff; transform: translateY(-2px); }
.contact-icons a::after { display: none; }
.contact-icons .linkedin:hover { color: #0a66c2; }
.contact-icons .email:hover { color: #ea4335; }

/* ─── FOOTER ─── */
footer {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px;
  font-size: 0.8rem;
  color: #3a3a3a;
  border-top: 1px solid #1a1a1a;
}

/* ─── LINKS ─── */
a {
  color: #bdbdbd;
  text-decoration: none;
}

/* ─── BACKGROUNDS ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

body {
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(34, 197, 94, 0.14), transparent 30%),
    radial-gradient(800px 500px at 85% 30%, rgba(59, 130, 246, 0.10), transparent 30%),
    radial-gradient(700px 400px at 50% 90%, rgba(168, 85, 247, 0.08), transparent 40%),
    #0a0a0a;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .identity {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #1e1e1e;
    padding: 40px 32px;
  }

  .content {
    padding: 48px 32px;
  }

  article {
    margin-bottom: 60px;
  }

  .nav-links, .nav-resume {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (min-width: 901px) {
  .nav-mobile { display: none !important; }
}


/* ── Highlight words in About ── */
.highlight-word {
  color: #e6e6e6;                     /* same as body text — invisible until lit */
  position: relative;
  transition: color 0.35s ease;
}

.highlight-word.lit {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;                     /* your green */
  text-shadow: 0 0 18px rgba(34, 197, 94, 0.45);
}

.content h2,
.content h3 {
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.heading-lit {
  color: #72c891 !important;
  text-shadow: 0 0 24px rgba(34, 197, 94, 0.35);
}


/* ── Floating stars ── */
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%       { opacity: 0.6;  transform: scale(1.4); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.stars-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  animation: twinkle var(--dur) ease-in-out infinite var(--delay),
             float     calc(var(--dur) * 2) ease-in-out infinite var(--delay);
}



.profile-photo {
  animation: colorHint 3s ease-in-out infinite;
  cursor: pointer;
}

@keyframes colorHint {
  0%   { filter: grayscale(100%); }
  50%  { filter: grayscale(60%); }
  100% { filter: grayscale(100%); }
}

.profile-photo:hover {
  filter: grayscale(0%); /* your existing full color effect */
  transition: filter 0.4s ease;
}

.profile-photo {
  animation: gentleNudge 0.5s ease 2s 1; /* runs once, 2s delay */
}

@keyframes gentleNudge {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-2deg); }
  75%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

.avatar img.profile.colored {
  filter: grayscale(0%);
}


.view-all-wrap {
  /* margin-top: 2rem;
  display: flex;
  justify-content: flex-start; */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.90rem;
  color: #22c55e;
  border: 1.5px solid rgba(34,197,94,0.3);
  padding: 6px 14px;
  border-radius: 7px;
  text-decoration: none ;
  transition: background 0.2s, border-color 0.2s;
}

.view-all-wrap:hover {
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.6);
}

.view-all-wrap::after { display: none; }



