/* ============================================================
   COLOR TOKENS
   ============================================================ */

:root {
  --bg:                  #080d1a;
  --bg-surface:          #0f1729;
  --bg-elevated:         #162035;
  --border:              rgba(132,181,232,0.12);
  --border-strong:       rgba(132,181,232,0.28);
  --text:                #e8edf5;
  --text-muted:          #8a9bbf;
  --blue:                #84B5E8;
  --mint:                #A0F8C4;
  --mint-hover:          #6BD6A8;
  --glow-blue:           rgba(132,181,232,0.15);
  --button-primary:      #4db885;
  --button-primary-hover:#3da372;
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

header {
  background-color: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 70px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

nav {
  text-decoration: none;
  color: var(--text);
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  background-color: transparent;
  height: 70px;
  width: 100%;
}

label.my-name {
  font-size: 28px;
  line-height: 70px;
  padding: 0 40px;
  font-weight: bold;
  white-space: nowrap;
}

label.my-name a {
  color: var(--text);
}

nav ul {
  float: right;
  margin-right: 20px;
}

nav ul li {
  display: inline-block;
  line-height: 70px;
  margin: 0 2px;
}

nav ul li a {
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 7px 13px;
  border-radius: 4px;
  transition: color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--mint);
  background: rgba(160, 248, 196, 0.07);
}

.checkbtn {
  font-size: 30px;
  color: var(--text);
  float: right;
  line-height: 70px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

@media (max-width: 1150px) {
  .checkbtn {
    display: block;
  }

  ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--bg);
    top: 70px;
    left: -100%;
    text-align: center;
    transition: all 0.4s ease;
    z-index: 99;
    border-top: 1px solid var(--border);
  }

  nav ul li {
    display: block;
    margin: 40px 0;
    line-height: 30px;
  }

  nav ul li a {
    font-size: 22px;
    color: var(--text);
  }

  a:hover, a.active {
    background: none;
    color: var(--mint);
  }

  #check:checked ~ ul {
    left: 0;
  }

  label.my-name {
    font-size: 20px;
    padding: 0 20px;
  }
}

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

footer {
  background-color: var(--bg-surface);
  padding: 20px;
  text-align: center;
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 16px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  color: var(--text-muted);
  font-size: 24px;
  text-decoration: none;
  transition: color 0.2s;
}

.social-icons a:hover {
  color: var(--mint);
}

.social-icons img {
  display: block;
  filter: invert(1) brightness(0.7);
  transition: filter 0.2s;
}

.social-icons a:hover img {
  filter: invert(1) brightness(1) sepia(1) hue-rotate(100deg) saturate(2);
}

.linkedin {
  padding-top: 4px;
}

.social-icons img.move-left {
  margin-left: -6px;
}

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

.about-center-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: none;
  padding-top: 40px;
  padding-bottom: 60px;
}

.about-profile-pic-centered {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(160,248,196,0.35), 0 0 0 6px rgba(160,248,196,0.08), 0 8px 40px rgba(0,0,0,0.5);
  background: var(--bg-elevated);
  margin-bottom: 28px;
  display: block;
  transition: box-shadow 0.3s ease;
}

.about-profile-pic-centered:hover {
  box-shadow: 0 0 0 3px rgba(160,248,196,0.6), 0 0 0 8px rgba(160,248,196,0.12), 0 8px 50px rgba(0,0,0,0.6);
}

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

.about-card {
  background: transparent;
  border: none;
  border-left: 2px solid transparent;
  border-image: linear-gradient(to bottom, var(--blue), var(--mint)) 1;
  border-radius: 0;
  max-width: 520px;
  width: 100%;
  margin: 0 auto 48px auto;
  padding: 6px 0 6px 28px;
  text-align: left;
}

.about-lede {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

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


.hl {
  background: linear-gradient(90deg, var(--mint), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

@media (max-width: 700px) {
  .about-center-layout {
    padding-left: 24px;
    padding-right: 24px;
  }
  .about-card {
    width: 100%;
    padding: 6px 0 6px 20px;
  }
}

.about-keyword {
  color: var(--mint);
  font-weight: 700;
}

.about-contact-btn-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 600px;
}

.about-personal {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  text-align: center;
  max-width: 400px;
  opacity: 0.75;
}

.button {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  background: linear-gradient(135deg, var(--button-primary) 0%, #3a9fd1 100%);
  color: #fff;
  border: none;
  font-size: 15px;
  padding: 13px 28px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(77,184,133,0.25);
}

.button::after {
  content: '\2192';
  font-size: 16px;
  transition: transform 0.2s ease;
}

.button:hover {
  color: #fff;
  box-shadow: 0 6px 28px rgba(77,184,133,0.45);
  transform: translateY(-1px);
}

.button:hover::after {
  transform: translateX(4px);
}

@media (max-width: 700px) {
  .about-name-header {
    font-size: 1.9rem;
  }
  .about-title-line {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }
  .about-profile-pic-centered {
    width: 160px;
    height: 160px;
  }
  .about-lede {
    font-size: 1rem;
  }
  .about-text {
    font-size: 0.92rem;
  }
}

/* ============================================================
   STATS ROW
   ============================================================ */

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 600px;
  width: 100%;
  margin: 0 auto 56px auto;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  gap: 1px;
}

.about-stat {
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  gap: 5px;
  transition: background 0.2s;
}

.about-stat:hover {
  background: var(--bg-elevated);
}

.stat-number {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-context {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 90vw;
  }
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */

.timeline-section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 56px auto;
}

.timeline-heading {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--mint));
  border-radius: 2px;
  opacity: 0.5;
}

.timeline-item {
  position: relative;
  margin-bottom: 16px;
}

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

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 18px;
  width: 12px;
  height: 12px;
  background: var(--mint);
  border: 2px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(160,248,196,0.6);
}

.timeline-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  transition: border-color 0.2s, background 0.2s;
}

.timeline-card:hover {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
}

.timeline-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.timeline-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  flex-shrink: 0;
  padding: 4px;
}

.timeline-card-info {
  flex: 1;
  min-width: 0;
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 2px;
}

.timeline-company {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
}

.timeline-date {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.timeline-role {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.timeline-desc {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .timeline-section {
    max-width: 90vw;
  }
  .timeline-meta {
    flex-direction: column;
    gap: 2px;
  }
}

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

.skills-section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 56px auto;
}

.skills-heading {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skills-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skills-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.skills-category {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-width: 80px;
  padding-top: 4px;
  flex-shrink: 0;
}

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

.skill-tag {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: 'Inter', 'Open Sans', sans-serif;
  transition: border-color 0.2s, color 0.2s;
}

.skill-tag:hover {
  border-color: var(--mint);
  color: var(--mint);
}

@media (max-width: 700px) {
  .skills-section {
    max-width: 90vw;
  }
  .skills-row {
    flex-direction: column;
    gap: 6px;
  }
  .skills-category {
    min-width: unset;
  }
}

/* ============================================================
   EDUCATION SECTION
   ============================================================ */

.education-section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 56px auto;
}

.education-heading {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.education-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.education-card:hover {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
}

.education-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  flex-shrink: 0;
  padding: 4px;
}

.education-info {
  flex: 1;
}

.education-school {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
}

.education-degree {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin: 4px 0 2px;
}

.education-date {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 700px) {
  .education-section {
    max-width: 90vw;
  }
}

.heading-accent {
  color: var(--mint);
}

.about-name-header {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text) 45%, var(--mint) 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.about-title-line {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  z-index: 999;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ============================================================
   CURSOR GLOW
   ============================================================ */

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160,248,196,0.055) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CARD SPOTLIGHT
   ============================================================ */

.timeline-card,
.education-card {
  position: relative;
}

.timeline-card::after,
.education-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px at var(--spot-x, 50%) var(--spot-y, 50%), rgba(160,248,196,0.07) 0%, transparent 70%);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.timeline-card:hover::after,
.education-card:hover::after {
  opacity: 1;
}

/* ============================================================
   TIMELINE DOT PULSE
   ============================================================ */

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px rgba(160,248,196,0.5); }
  50%       { box-shadow: 0 0 14px rgba(160,248,196,0.9), 0 0 28px rgba(160,248,196,0.25); }
}

.timeline-dot {
  animation: pulse-dot 2.5s ease-in-out infinite;
}
