section {
  background-color: rgb(242, 249, 254);
}

body {
  background-color: rgb(242, 249, 254);
  margin: 0;
  padding: 0;
}

/* Navbar list item customization to make them appear like glass buttons */

.navbar-nav li {
  /* Add a drop shadow */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s;
  border-radius: 15px;
  margin: 5px;
}

.navbar-nav li a {
    padding: 10px;
    border-radius: 15px;
}

.navbar-nav li:hover {
  /* Add a highlight effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  border-radius: 15px;
}

.navbar-nav li:hover a {
  background-color: #f1f1f1;
  padding: 10px;
     border-radius: 15px;
}

/*'Apply Now' button class customization*/

.btn.btn-primary.ms-md-2 {
  color: #000000;
  background-color: rgb(250, 255, 80);
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 15px;
}

.btn.btn-primary.ms-md-2:hover,
.btn.btn-primary.ms-md-2:focus {
  color: #000000;
  background-color: rgb(250, 255, 80);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn.btn-primary.ms-md-2:active,
.btn.btn-primary.ms-md-2.active {
  color: #000000;
  background-color: rgb(250, 255, 80);
  box-shadow: none;
}

/*Sticky navbar and faint line along the bottom of the navbar for context*/

.navbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
  background-color: rgb(242, 249, 254, 0.75);
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(128, 128, 128, 0.2); /* Adjust the opacity as desired */
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 50vh; /* Instead of a fixed height, use min-height */
  height: auto; /* This allows the section to expand vertically as needed */
  display: flex;
  flex-direction: column; /* Change the layout direction */
  align-items: center;
  justify-content: center;
  padding: 0 5%; /* Keep some space around content */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  min-height: 50vh;
  height: 100%; /* This should match the height of the section */
  width: 100%;
  background-size: cover;
/*  filter: blur(5px);*/
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.hero-logo {
  width: 75vw; /* Relative to the width of the parent element */
  height: auto; /* Maintain aspect ratio */
  max-width: 600px;
  margin-top: 2.5em; /* Adjust the margin to desired spacing */
}



/* Member affiliation section styles */

.affiliation-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-row a {
  margin: 0 10px;
}

.center-logo {
  display: block;
}

.logo-img {
  max-width: 160px; /* Adjust as needed */
  height: auto;
}

/* Footer customization and classes */

footer {
  display: flex;
  justify-content: space-between;
  background-color: rgb(242, 249, 254);
  padding: 20px;
}

footer:before {
    border-top: 1px solid #ccc; 
    opacity: 0.5; 
/*    margin: 20px 0;*/
}

.footer-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.footer-left,
.footer-right {
  display: flex;
}

.footer-right p a {
  color: #fff;
  text-decoration: none;
  margin-left: 5px;
}

.footer-right p a:hover {
  color: #ccc;
}

/*Team Page specific classes for office workers and superintendents*/

.team-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 2.5% 5%; 
  padding: 20px 0;
}

.team-member-office {
  flex: 0 0 calc(20% - 20px);
  min-width: 200px;
  max-width: 280px;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 0px 5px #ccc;
  border-radius: 8px;
}

.team-member-office img {
  width: 100%;
  height: auto;
  transition: .3s ease-in-out;
}

.team-member-office:hover img {
  box-shadow: 0px 0px 15px #aaa;
}

.team-member-office::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(128, 128, 128, 0.3);
  opacity: 0;
  transition: .3s ease;
}

.team-member-office:hover::before {
  opacity: 1;
}

.team-member-office::after {
  content: attr(data-name) '\A' attr(data-title);
  color: white;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%; /* Adjust the height */
  background: rgba(152, 215, 243, 0.75);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  white-space: pre-wrap;
  padding: 15px; /* Reduce the padding */
  box-sizing: border-box;
  opacity: 1;
  font-size: 0.75em;
  line-height: 1.4em; /* Increase the line-height */
  font-weight: bold; /* Make names bold */
}


.team-member-office:hover::after {
  opacity: 1;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 1200px) {
  .team-member-office {
    flex: 0 0 calc(25% - 20px);
  }
}

@media screen and (max-width: 900px) {
  .team-member-office {
    flex: 0 0 calc(33.33% - 20px);
  }
}

@media screen and (max-width: 600px) {
  .team-member-office {
    flex: 0 0 calc(50% - 20px);
  }
}

@media screen and (max-width: 400px) {
  .team-member-office {
    flex: 0 0 calc(100% - 20px);
  }
}

.team-member-superintendent {
  flex: 0 0 calc(20% - 20px);
  min-width: 200px;
  max-width: 280px;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 0px 5px #ccc;
  border-radius: 8px;
}

.team-member-superintendent img {
  width: 100%;
  height: auto;
  transition: .3s ease-in-out;
}

.team-member-superintendent:hover img {
  box-shadow: 0px 0px 15px #aaa;
}

.team-member-superintendent::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(128, 128, 128, 0.3);
  opacity: 0;
  transition: .3s ease;
}

.team-member-superintendent:hover::before {
  opacity: 1;
}

.team-member-superintendent::after {
  content: attr(data-name) '\A' attr(data-title);
  color: black;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%; 
  background: rgba(255, 255, 0, 0.75); /* Changed to yellow */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  white-space: pre-wrap;
  padding: 15px;
  box-sizing: border-box;
  opacity: 1;
  font-size: 0.75em;
  line-height: 1.4em;
  font-weight: bold; /* Make names bold */
}

.team-member-superintendent:hover::after {
  opacity: 1;
}

@media screen and (max-width: 1200px) {
  .team-member-superintendent {
    flex: 0 0 calc(25% - 20px);
  }
}

@media screen and (max-width: 900px) {
  .team-member-superintendent {
    flex: 0 0 calc(33.33% - 20px);
  }
}

@media screen and (max-width: 600px) {
  .team-member-superintendent {
    flex: 0 0 calc(50% - 20px);
  }
}

@media screen and (max-width: 400px) {
  .team-member-superintendent {
    flex: 0 0 calc(100% - 20px);
  }
}


/* Project page styles */

.project-gallery {
        height: 100vh;
        padding: 15px;
    }

    .project-thumbnail {
        position: relative;
        margin: 5px;
        max-height: 300px;
        width: 100%;
        object-fit: cover;
    }

    .project-thumbnail::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(128, 128, 128, 0.5);
        opacity: 0;
        transition: opacity 0.5s;
    }

    .project-thumbnail:hover::after {
        opacity: 1;
    }

    .project-container {
        padding: 15px;
    }

/* Contact page underline stylization */

.underline {
    border-bottom: 3px solid #FAFF50; /* Initial yellow color */
}

