* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Source Sans Pro', sans-serif;
    }
    body {
      background: #f9f9f9;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 60px;
      background: #fff;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 2em;
      z-index: 1000;
    }
    .logo {
      /* font-weight: 900;
      font-size: 1.2em; */
      height: 70px; /* Set a fixed height for the logo */
      display: flex;
      align-items: center;
      gap: 0.5em;
    }
    .logo a {
  display: flex;
  align-items: center;
  height: 100%;
}
    .logo img {
      height: 100%; /* Fill the height of the .logo container */
      width: auto; /* Maintain aspect ratio */
      padding: 0.5em;
      object-fit: contain; /* Prevent distortion */
    }

  .menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: #232D4B;
  position: absolute;
  top: 10px;
  right: 24px;
  cursor: pointer;
  z-index: 1001;
  }


    nav ul {
      list-style: none;
      display: flex;
      gap: 1.5em;
    }
    nav a {
      text-decoration: none;
      color: #232D4B;
      font-weight: 700;
    }
    .layout {
      display: flex;
      flex: 1;
      margin-top: 60px;
      flex-wrap: wrap;
    }
    .content {
      flex: 3;
      padding: 2em;
      min-width: 300px;
      font-size: large;
    }
    .about {
      margin-bottom: 3em;
    }
    .projects {
      display: flex;
      flex-wrap: wrap;
      gap: 1em;
    }
    .card {
      background-size: cover;
      background-position: center;
      width: calc(50% - 1em);
      min-height: 180px;
      border-radius: 8px;
      color: rgb(46, 45, 45);
      box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
      padding: 1.2em;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      cursor: pointer;
      transition: transform 0.2s;
      font-size: large;
    }
    .card:hover {
      transform: scale(1.03);
    }
    .card h3 {
      color: #232D4B; /* Change to any color you prefer */
      margin-bottom: 0.7em; /* Add spacing below the header */
  } 
  .card-img {
      width: 100%;
      max-height: auto;
      object-fit: cover;
      border-radius: 6px;
      margin-bottom: 1em;
      display: block;
    }
    .news-panel {
      flex: 1;
      padding: 2em 1em;
      border-left: 2px solid #ddd;
      min-width: 280px;
    }
    .news-panel h3 {
      margin-bottom: 1em;
      text-transform: uppercase;
      font-size: large;
      color: #232D4B;
      letter-spacing: 1px;
    }
    .news-panel ul {
      list-style: none;
    }
    .news-panel li {
      display: flex;
      align-items: flex-start;
      font-size: large;
      margin-bottom: 0.8em;
    }
    .news-date {
      min-width: 80px;
      font-weight: bold;
      color: #232D4B;
      margin-right: 1em;
      text-align: left;
      flex-shrink: 0;
  }
    footer {
      background: #232D4B;
      color: white;
      padding: 2em;
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
    }
    .footer-section {
      flex: 1;
      min-width: 200px;
      text-align: center;
      margin-bottom: 1em;
    }
    .footer-icons a {
      color: white;
      margin: 0 0.5em;
      font-size: 1.2em;
    }

    @media screen and (max-width: 1024px) {
      .card {
        width: calc(50% - 1em);
      }
    }

    @media screen and (max-width: 768px) {
      nav ul {
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 1em;
        display: none;
      }
      nav ul.show {
        display: flex;
      }
      .card {
        width: 100%;
      }
      .layout {
        flex-direction: column;
      }
      .news-panel {
        border-left: none;
        border-top: 2px solid #ddd;
      }
      footer {
        flex-direction: column;
        text-align: center;
      }
    }


      @media (max-width: 800px) {
    nav ul {
      display: none;
      flex-direction: column;
      background: #fff;
      position: absolute;
      top: 70px;
      right: 0;
      width: 200px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      padding: 16px 0;
      z-index: 1000;
    }
    nav ul.show {
      display: flex;
    }
    .menu-toggle {
      display: block;
    }
    header {
      position: relative;
    }
  }

    .related-papers {
      margin-top: 1.5em;
      margin-bottom: 1.5em;
      padding-left: 1.2em;
    }

    .related-papers li {
      margin-bottom: 0.7em;
    }

    .related-papers a {
      text-decoration: none;
      color: #232D4B;
      font-weight: 600;
      display: inline-block;
      padding: 6px 12px;
      margin-bottom: 6px;
      background: #f0f4fa;
      border-radius: 6px;
      text-decoration: none;
      transition: background 0.2s, box-shadow 0.2s;
      position: relative;
    }
    
    .related-papers a::before {
      content: "\f0f6"; /* Font Awesome file-alt icon */
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      margin-right: 8px;
      color: #888;
    }

    .related-papers a:hover {
      background: #e3eafc;
      box-shadow: 0 2px 8px rgba(26,115,232,0.08);
      color: #232D4B;
    }

    .about-section {
      margin-bottom: 2em;
    }

    .pages-content {
      width: 70%;
      margin: 0 auto;
      padding: 2em;
      min-width: 300px;
      font-size: large;
      box-sizing: border-box;
    }

    .team-list {
        display: flex;
        flex-wrap: wrap;
        gap: 2em;
        justify-content: flex-start;
        margin-top: 2em;
      }

      .team-member {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 22%;           /* Four per row (with gap) */
        min-width: 200px;
        max-width: 300px;
        padding: 1.5em 1em;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border-radius: 12px;
        background: #fff;
      }

      .team-photo {
        width: 160px;
        height: 160px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #232D4B;
        margin-bottom: 1em;
      }

    .team-role {
    color: #888;
    font-size: 0.95em;
    margin-top: 0.3em;
    text-align: center;
    display: block;
  }

    .team-member:hover .team-name {
      text-decoration: underline;
    }

  .pub-card {
    display: flex;
    align-items: flex-start;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 12px;
    margin-bottom: 2em;
    padding: 1.5em;
    gap: 2em;
  }
  
  .pub-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
  }
  
  .pub-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
  }
  
  .pub-title {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #232D4B;
  }
  
  .pub-authors {
    font-size: 1em;
    color: #444;
    margin-bottom: 0.3em;
  }
  
  .pub-venue {
    font-size: 0.95em;
    color: #888;
    margin-bottom: 0.7em;
  }
  
  .pub-links a {
    margin-right: 1em;
    color: #232D4B;
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .pub-links a:hover {
    color: #0074D9;
  }