:root {
    --accent-color: #007BFF;
  }
  
  body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: #fff;
  }
  
  header, footer {
    background: #f4f4f4;
    padding: 1rem;
    text-align: center;
  }
  
  footer {
    font-size: 0.9rem;
  }
  
  main {
    padding: 1rem;
    max-width: 800px;
    margin: auto;
  }
  
  section {
    margin-bottom: 2rem;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  nav ul li {
    margin: 0 10px;
  }
  
  nav a {
    text-decoration: none;
    color: #333;
  }
  
  a {
    color: var(--accent-color);
    text-decoration: none;
  }
  
  a:hover, nav a:hover {
    text-decoration: underline;
  }
  
  .nav-pill {
    background-color: #f5f5f5;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    max-width: fit-content;
    margin: 0 auto 1rem auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }
  
  .nav-pill ul {
    display: flex;
    gap: 1rem;
    margin: 0;
  }
  
  .profile-img-left {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }
  
  .intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .bio-text-centered {
    margin-top: 1rem;
    max-width: 90%;
  }
  
  .social-icons {
    margin-top: 1rem;
    text-align: center;
  }
  
  .social-icons a {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #0056b3;
  }
  
  .news-section {
    width: 100%;
    text-align: left;
  }
  
  @media (max-width: 600px) {
    .intro-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    nav ul li {
      margin: 4px 6px;
    }
  }
  
  /* --- ABOUT PAGE --- */
  
  .about-page {
    padding: 2rem 1rem;
    max-width: 1100px;
    margin: auto;
  }
  
  .about-bio {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .about-layout {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .about-left {
    flex: 1.5;
    min-width: 300px;
  }
  
  .about-right {
    flex: 1;
    min-width: 260px;
    background: #f9f9f9;
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  }
  
  .about-right h3 {
    margin-top: 0;
  }
  
  .work-entry {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    background-color: #ffffff;      /*  slightly whiter box */
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04); 

  }

  .work-entry a {
    color: inherit;          /* Inherits the surrounding text color */
    text-decoration: none;   /* No underline */
    font-weight: inherit;    /* Inherit font weight from <strong> */
  }
  
  .work-entry a:hover {
    color: var(--accent-color); /* Your custom blue, or any hover color */
    text-decoration: underline; /* Optional: underline on hover */
  }
  
  
  .work-logo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    align-self: flex-start;
  }
  
  .work-details {
    flex: 1;
  }
  
  .work-details strong {
    font-weight: 600;
    display: block;
  }
  
  .role {
    font-size: 0.9rem;
    color: #555;
  }
  
  .work-years {
    font-size: 0.9rem;
    color: #777;
    white-space: nowrap;
  }
  
  .cv-button {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    padding: 0.6rem;
    background: #f1f1f1;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
  }
  
  .cv-button:hover {
    background: #e0e0e0;
  }
  
  .section {
    margin-bottom: 2.5rem;
  }
  
  .section h3 {
    margin-bottom: 0.75rem;
    color: #222;
  }
  
  .section p {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .interest-list {
    list-style: disc;
    padding-left: 1.5rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .publication-entry {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
  }
  
  .publication-thumb {
    width: 180px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
  }
  
  .publication-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    color: #0056d2;
  }
  
  .publication-text h4 a {
    color: #0056d2;
    text-decoration: none;
  }
  
  .publication-text h4 a:hover {
    text-decoration: underline;
  }
  
  .publication-text p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .publication-text p a {
    color: #2e3134;
    font-weight: 500;
  }
  
  .publication-text p a:hover {
    text-decoration: underline;
  }

  .pub-links {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.75rem;
  }
  
  .pub-btn {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: #f1f1f1;
    color: #333;
    font-weight: 500;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }
  
  .pub-btn:hover {
    background-color: #e2e2e2;
  }
  
  .project-container {
    max-width: 900px;
    margin: auto;
    padding: 1rem;
  }
  
  .project-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
  }
  .project-image-wrapper {
    text-align: center;
    margin: 2rem 0;
  }
  
  .project-image {
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .project-meta {
    flex: 1;
  }
  
  .project-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .pub-btn {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    margin-right: 10px;
    text-decoration: none;
    font-weight: 500;
  }
  
  .pub-btn:hover {
    background-color: #0056b3;
  }
  
  .paper-meta {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    text-align: center;
  }
  
  .paper-meta .date {
    display: block;
    margin-bottom: 0.3rem;
  }
  
  .paper-meta .tags {
    display: block;
    color: #444;
  }

  .paper-meta {
    font-size: 0.9rem;
    color: #555;
    margin-top: 1rem;
    text-align: center;
  }
  
  .paper-meta .date,
  .paper-meta .tags {
    display: block;
    margin-bottom: 0.3rem;
  }
  
  .paper-meta i {
    margin-right: 5px;
    color: #666;
  }
  