/* General Reset */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f8f9fa;
  }
  
  /* Header and Navigation Bar */
  .nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0077cc;
    padding: 1rem 2rem;
    color: white;
  }
  
  .nav-bar h1 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  .nav-bar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  .nav-bar li {
    margin-left: 1.5rem;
  }
  
  .nav-bar a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
  }
  
  /* Profile Section */
  .profile {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: #ffffff;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    gap: 2rem; /* Adds consistent spacing between elements */
  }

   /* Profile Section */
   .research {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: #ffffff;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    gap: 2rem; /* Adds consistent spacing between elements */
  }

  .publications {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: #ffffff;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    gap: 2rem; /* Adds consistent spacing between elements */
  }

  .profile-image {
    flex: 0 0 25%; /* Ensures the image container always takes 25% of the width */
  }
  
  .profile-image img {
    width: 100%;
    border-radius: 8px;
  }
  
  .about-me {
    flex: 1; /* Ensures the About Me section takes the remaining 75% */
  }
  
  .about-me h2 {
    margin-top: 0;
    color: #0077cc;
  }
  
  .about-me p {
    line-height: 1.6;
    font-size: 1rem;
  }

  .pub-list {
    flex: 1; /* Ensures the About Me section takes the remaining 75% */
  }
  
  .pub-list h2 {
    margin-top: 0;
    color: #0077cc;
  }
  
  .pub-list p {
    line-height: 1.6;
    font-size: 1rem;
  }

  .research-interests {
    flex: 1; /* Ensures the About Me section takes the remaining 75% */
  }

  .research-interests h2 {
    margin-top: 0;
    color: #0077cc;
  }
  
  .research-interests p {
    line-height: 1.6;
    font-size: 1rem;
  }
  
  /* External Links Section */
  .external-links {
    padding: 1rem 2rem;
    background: #ffffff;
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .external-links h3 {
    color: #0077cc;
  }
  
  .external-links ul {
    list-style: none;
    padding: 0;
  }
  
  .external-links li {
    margin: 0.5rem 0;
  }
  
  .external-links a {
    text-decoration: none;
    color: #0077cc;
  }
  
  .external-links a:hover {
    text-decoration: underline;
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: white;
    margin-top: 2rem;
  }
  
  .pub-list ol {
    padding-left: 20px;
    line-height: 1.8;
  }
  .pub-list li {
    margin-bottom: 1.5rem;
    padding-left: 40px;
  }
  
  .figure-container {
    display: flex;
    justify-content: space-between; /* Adds space between the two figures */
    gap: 5%; /* Optional: adjusts spacing between figures */
    margin: 5px auto;
  }
  
  .figure-container figure {
    width: 50%; /* Each figure takes up 45% of the available width */
    text-align: center;
  }
  
  .figure-container img {
    max-width: 100%;
    height: auto; /* Ensures the image scales proportionally */
  }

  .big-fig {
    display: flex;
    justify-content: space-between; /* Adds space between the two figures */
    gap: 5%; /* Optional: adjusts spacing between figures */
    margin: 20px auto;
  }
  
  .big-fig figure {
    width: 95%; /* Each figure takes up 45% of the available width */
    text-align: center;
  }
  
  .big-fig img {
    max-width: 100%;
    height: auto; /* Ensures the image scales proportionally */
  }
  
  figcaption {
    font-size: 0.9rem;
    color: #555;
    margin-top: 8px;
  }