.section {
  display: none;
}

.section.active {
  display: block;
}

body {
  margin: 0;
  font-family: Georgia, serif;
  color: #222;
}

/* Top navigation */
.top-nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;   /* ADD THIS */
  display: grid;
  grid-template-columns: 280px 1fr; /* slightly wider sidebar */
  gap: 24px;
}
.nav-links a.nav-btn,
.nav-links a.nav-btn:hover {
  text-decoration: none;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 110px;   /* header height offset */
  height: fit-content;
}

.sidebar-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 0.95rem;
}
.sidebar a {
  color: #111827;      /* dark neutral */
  text-decoration: none;
}

.sidebar a:hover {
  text-decoration: underline;
}
.sidebar-links i {
  width: 18px;
  text-align: center;
}

.profile-pic {
  width: 150px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.subtitle {
  color: #555;
}

.contact {
  list-style: none;
  padding: 0;
}

.contact li {
margin: 8px 0;
}

/* Content */
.content {
  padding: 10px 0;
}
.content a {
  color: #2563eb;
  font-size: 0.9rem;
}
.content p,
.content li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
}
.content a:hover {
  text-decoration: underline;
}
.section > h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
}
section {
  margin-bottom: 60px;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
}

/* ===== NAV BUTTONS (UNIFIED STYLE) ===== */
.nav-links {
  display: flex;
  gap: 24px;
}

.nav-btn {
  background: none;
  border: none;
  font-family: Georgia, serif;
  font-size: 1rem;
  color: #374151;
  cursor: pointer;
  padding: 4px 0;
  position: relative;
  white-space: nowrap;
}

/* Hover */
.nav-btn:hover {
  color: #000;
}

/* Active underline (academic style) */
.nav-btn.active {
  font-weight: 600;
  color: #000;
}

.nav-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: #2563eb;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
.pub-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}
/* ===== PROJECTS ===== */
.project-item {
  margin-bottom: 40px;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.project-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 6px;
  color: #374151;
}

.project-tech {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #1f2937;
}

.project-links a {
  font-size: 0.9rem;
  color: #2563eb;
}

.project-links i {
  margin-right: 6px;
}

/* ===== EXPERIENCE & AWARDS ===== */
.exp-item {
  margin-bottom: 40px; /* same as project-item */
}

/* Nested list inside Awards (for Coursera courses) */

.award-item {
  margin-bottom: 40px;
}

.award-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.award-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
}
#awards ul ul {
  margin-top: 6px;
  padding-left: 20px;
}

#awards ul ul li {
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: #374151;
}

#experience strong,
#awards strong {
  color: #111827;
}

#experience a {
  font-size: 0.9rem;
  color: #2563eb;
}

#experience a:hover {
  text-decoration: underline;
}
/* ===== EXPERIENCE (PROJECT STYLE) ===== */
.exp-item {
  margin-bottom: 40px;
}

.exp-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.exp-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 6px;
}

.exp-links a {
  font-size: 0.9rem;
  color: #2563eb;
}
/* Certificate / award links */
.award-links a,
.award-list a {
  font-size: 0.9rem;
  color: #2563eb;
  margin-left: 6px;
}

.award-links a:hover,
.award-list a:hover {
  text-decoration: underline;
}
strong {
  font-weight: 600;
}

/* Hamburger button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}








/* Mobile */
@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: relative;
    top: 0;
  }
  .nav-links a.nav-btn,
.nav-links a.nav-btn:hover {
  text-decoration: none;
}
  .sidebar {
  text-align: center;
  padding: 30px 20px;
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.name {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.role {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.sidebar-links i {
  width: 20px;
  text-align: center;
  color: #111827;
}

.sidebar-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 0.95rem;
}

.sidebar-links a {
  text-decoration: none;
  color: #000;
}

.sidebar-links a:hover {
  text-decoration: underline;
}

.icon {
  width: 22px;
  text-align: center;
  font-weight: bold;
}

.pub-item {
  margin-bottom: 40px;
}

.pub-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.pub-authors {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 4px;
}

.pub-venue {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.pub-venue.accepted {
  color: #15803d; /* academic green */
  font-style: italic;
}

.pub-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #111827;
}

.education {
  margin-top: 30px;
}

.edu-item h3 {
  margin-bottom: 5px;
}

.edu-institute {
  color: #555;
  font-style: italic;
  margin-bottom: 8px;
}

.edu-gpa {
  margin-bottom: 10px;
}

.highlight {
  color: #2563eb;
  font-weight: 600;
}

.edu-points {
  padding-left: 18px;
  margin-top: 10px;
}

.edu-points li {
  margin-bottom: 6px;
}

.sidebar a {
  color: #111827;
}
  
a:hover {
  text-decoration: underline;
}
.nav-btn {
  white-space: nowrap;
}




@media (max-width: 768px) {

  .top-nav {
    position: relative; /* anchor for absolute menu */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    z-index: 1000;
  }

  .menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
/* SHOW hamburger on mobile */
  .menu-toggle {
    display: block;
  }

  /* HIDE desktop nav buttons initially */
  .nav-links {
    display: none;
  }

  /* Show nav when toggled */
  .nav-links.show {
    display: flex;
  }
  /* MOBILE MENU OVERLAY */
  .nav-links {
    position: absolute;
    top: 100%;               /* directly under header */
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);

    display: none;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 1rem;
  }
}


