/* Header styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px; /* Add horizontal padding */
  background-color: lightcoral;
  height: auto; /* Use auto to allow footer to expand */
}

header img {
  max-height: 80%; /* Adjust image height relative to the header */
  height: auto; /* Maintain aspect ratio */
}

nav ul {
  display: flex; /* Align the menu items horizontally */
  list-style: none; /* Remove bullet points */
  padding: 0; /* Remove default padding */
  margin: 0; /* Remove default margin */
}

nav ul li {
  margin: 0 15px; /* Space between menu items */
}

nav a {
  text-decoration: none; /* Remove underline from links */
  color: white; /* Change link color for contrast */
  font-weight: bold; /* Make link text bold */
}

@media (max-width: 768px) { /* Adjust for smaller screens */
  header {
      flex-direction: column; /* Stack items vertically on small screens */
      height: auto; /* Allow height to adjust automatically */
  }

  nav ul {
      flex-direction: column; /* Stack menu items vertically */
      align-items: center; /* Center menu items */
  }

  nav ul li {
      margin: 10px 0; /* Space between stacked menu items */
  }
}

.logo-left {
  float: left;
  margin-left: 20px;
}

.logo-left img {
  width: 90px;
  height: 90px;
}

.logo-right {
  float: right;
  margin-right: 20px;
}

.logo-right img {
  width: 90px;
  height: 90px;
}

nav {
  list-style: none;
  margin: auto;
  padding: 10px;
  display: flex;
  justify-content: space-between;
}

nav li {
  margin-right: 20px;
}

nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 25px;
  padding: 10px;
}

nav ul {
  list-style-type: none;
  display: contents;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

nav a:active {
  background-color: grey; /* Change to desired color */
  color: grey; /* Change to desired color */
  border-radius: 5px;
}

/* Team Section Styles */
.responsive-container-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  padding: 20px;
}

.outer-container {
  width: 100%;
}

.inner-container {
  width: 100%;
  text-align: center;
}

.section-head-text {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-subhead-text {
  font-size: 18px;
  margin-bottom: 20px;
}

.team-card-container {
  width: 22%;
  margin: 10px;
  box-sizing: border-box;
}

.team-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.img-wrapper {
  margin-bottom: 15px;
}

.team-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.text-blk {
  margin: 5px 0;
}

.name {
  font-size: 22px;
  font-weight: bold;
  color: #333;
}

.position {
  font-size: 18px;
  color: #777;
}

.institution {
  font-size: 16px;
  color: #999;
}

.social-media-links a {
  margin: 0 5px;
}

.social-media-links img {
  width: 24px;
  height: 24px;
}

/* Footer Styles */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto; /* Change to auto */
  min-height: 100px; /* Optional: maintain minimum height */
  background-color: #333;
  color: #fff;
  padding: 20px 50px; /* Adjust padding as needed */
  position: relative; /* Ensure it's positioned */
  z-index: 10; /* Set z-index */
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-left a {
  margin-right: 20px;
}

.footer-left a img {
  height: 30px;
  width: auto;
}

.footer-right {
  text-align: right;
}

.footer {
  text-align: center;
  font-weight: bold;
}

.footer_text {
  color: rgba(0, 0, 0, 0.8);
  font-family: serif;
  font-size: 12pt;
  text-align: center;
}
