.header {
    overflow: hidden;
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 2;
    transition: all 0.3s;
    height: 80px;
    color: white;
    display: flex;
    justify-content: space-between; /* Added */
    align-items: center; /* Added */
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.5s ease, height 0.5s ease, color 0.5s ease;
    font-weight: 300;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #000000;
}


.logo {
    position: relative;
    height: 50px;
    width: 400px;
    overflow: hidden;
}

.logo-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    transition: opacity 0.5s ease;
    padding-left: 40px
}

#logoImg1 {
    opacity: 1;
}

#logoImg2 {
    opacity: 0;
}


.nav-links {
    display: flex; 
}

.nav-links a {
    display: block;
    color: inherit;
    text-align: center;
    padding: 28px 20px;
    text-decoration: none;
}

/* hides burger icon on wider screen widths*/
.nav-links .icon {
  display: none;
}

@media screen and (max-width: 1100px){ 

  /*Only displays the burger icon if responsive class is not on */
  .nav-links:not(.responsive) a:not(.icon){
  display: none;}

  .nav-links a.icon {
    display: flex;
  }

  /* Allows all the links to be visible */
  .header{
    overflow: visible !important;
  }

  /* Styles the entire dropdown format */
  .nav-links.responsive{
    position: absolute;
    top: 80px;
    display: flex;
    right: 0;
    left: 0;
    flex-direction: column;
    z-index: 1000;
    background-color:rgba(166, 166, 166, 0.5) ;
    max-width: 100%;
  }

  /* Styles individual nav-links in dropdown format */
  .nav-links.responsive a {
    position: static;
    display: block;
    width: auto;
    text-align: left;
    padding: 16px 20px;
  }

  .nav-links a.icon{
    text-align: center;
  }
}

.image-container {
    position: relative;
    z-index: 1;
    margin-top: -80px; 
    width: 100%; 
}

@media screen and (min-width: 1100px) {
  .image-container img{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  }
  
}

.image-container img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}



.centered-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  font-weight: 300;
  color: white;
  font-family: 'Roboto', sans-serif;
  background-color: rgba(166, 166, 166, 0.5); 
  padding: 10px 20px; 
  border-radius: 0px; 
}

.image-container {
  position: relative;
}





/* FOOTER */

.footer-container {
    background-color: #d7345d;
    width: 100%;
    margin-top: 40px;
  }
  
  .custom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px; 
  }
  
  .footer-left,
  .footer-middle,
  .footer-right {
    flex: 1;
    text-align: center;
  }
  
  .footer-logo {
    max-width: 300px; 
    height: auto;
  }

/* Institutions Section */
.institutions h1 {
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-weight: normal; 
}

.institutions-container{
  padding-bottom: 30px;
  padding-top: 30px;
}

.institutions-grid-container {
  display: grid;
  text-align: center;
  grid-template-columns: repeat(6, 1fr);
}

@media screen and (max-width: 800px){
  .institutions-grid-container{
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.institutions-grid-item{
  align-self: center;
}

.institution-thumbnail {
  width: 100%;
  cursor:default;
  transition: transform 0.3s ease;
}

.institution-thumbnail img {
  width: 70%;
  height: auto;
  object-fit: cover;
}

/*HOVER ANIMATION FOR THE INSTITUTION 

.institution-thumbnail:hover {
  transform: scale(1.1); 
} */



/* TEAM */

.column-container {
  display: flex;    
  flex-direction: column;
  align-items: flex-start; /* Aligns all institutions to the left */
  padding: 0 20px;
  gap: 32px;
  font-family: 'Roboto', sans-serif;
}

/* @media (max-width:800px) {
  .column-container{
    grid-template-columns: 1fr 1fr 1fr;}} /* Changes layout on smaller screens */

.unique-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.unique-grid-image {
  width: 150px; 
  height: 150px; 
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out; 
}

/* Hover effect */
.unique-grid-image:hover {
  transform: scale(1.1); 
}

.column-text {
  text-align: left;
  margin-top: 16px;
  font-size: 18px;
}

/* Styling the text */

.unique-grid-heading{
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  text-align: center;
  margin-bottom: 30px; 
  font-weight: 300;
}





  
