body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f4f4f4;
  color: #333;
  font-family: "Helvetica", sans-serif;
  margin: 0;
  padding: 0;
}

header.main-header {
  background: url("assets/background_image.jpg");
  background-size: 50%;
  height: 225px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  animation: moveBackground 30s linear infinite;
}

@keyframes moveBackground {
  from {
    background-position: left center;
  }
  to {
    background-position: right center;
  }
}

header.main-header h1 {
  font-size: 3em;
  margin: 0;
}

header.main-header p {
  font-size: 1.2em;
  margin-top: 10px;
}

nav {
  text-align: center;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #333;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  padding: 14px 20px;
  display: inline-block;
  color: white;
  text-decoration: none;
}

nav ul li a:hover {
  background-color: #575757;
}

.content {
  padding: 20px;
  flex: 1;
}

.content h2 {
  font-size: 2em;
  margin-top: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.content p {
  font-size: 1.2em;
  font-family: "Georgia", serif;
  color: #4d4d4d;
  margin-top: 20px;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info img {
  margin-right: 0px;
}

.contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-logo,
.email-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.contact-logo:hover,
.email-logo:hover {
  transform: scale(1.1);
}

.github-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding-left: 50px;
}

.github-link a {
  margin-left: 5px;
}

.github-icon {
  width: 75px;
  height: auto;
}

.github-icon:hover {
  transform: scale(1.05);
}

.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.project-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 250px;
  transition: transform 0.3s;
}

.project-card a {
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  transform: scale(1.05);
}

.project-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 5px solid;
  border-image: linear-gradient(to right, #BF5700, #b7631f) 1;
}

.project-info {
  padding: 15px;
  text-align: center;
}

.project-info strong {
  display: block;
  font-size: 1.2em;
  margin-bottom: 5px;
}

.project-info p {
  margin: 0;
  font-size: 0.9em;
  color: #555;
  text-align: center;
}

.publication {
  margin-bottom: 20px;
}

.publication-title {
  font-size: 1.4em;
  color: #1a0dab;
  margin-bottom: 5px;
}

footer {
  background-color: #ffffff;
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-logo {
  text-align: center;
  flex: 1 1 200px;
  margin: 10px;
}

.footer-logo img {
  max-height: 100px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* --- Add this to the bottom of style.css --- */

/* 1. Reset the list style to remove floating bullets */
.publications-list {
  list-style-type: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto; /* Centers the whole list container */
}

/* 2. Style the container for each research item */
.publication {
  background-color: #ffffff;
  border-left: 5px solid #bf5700; /* UT Orange accent line */
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  text-align: left; /* Forces text to align left, fixing the weird centering */
}

/* 3. STRICTLY override the global paragraph settings causing the issue */
.publication p {
  margin: 0 0 8px 0 !important; /* Remove the 'auto' margins causing the gap */
  max-width: 100% !important;   /* Allow text to fill the card */
  text-align: left;
}

/* 4. Polish the typography */
.publication-title {
  font-family: "Helvetica", sans-serif; /* Matches your headers */
  font-weight: bold;
  font-size: 1.3em;
  color: #333;
  line-height: 1.3;
}

.publication-meta {
  font-family: "Georgia", serif;
  font-style: italic;
  color: #666;
  font-size: 1rem;
}

.publication a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #bf5700; /* Matches accent color */
  font-weight: bold;
  font-size: 0.9em;
}

.publication a:hover {

  text-decoration: underline;

}



.center-content {



  display: flex;



  justify-content: center;



  width: 100%;



}







/* Styles for the main page content */



.main-content h2 {



  margin-bottom: 10px; /* Reduces space below the heading */



}







.main-content p {







  margin-top: 0; /* Reduces space above the paragraph */







  margin-bottom: 30px; /* Adds space below the paragraph */







  text-align: center;







}
















.centered-text {
  text-align: center;
}
