body {
	margin: 0px;
}
footer {
	position: fixed;
	bottom: 0;
	left: 0;
}
.logofooter {
	height: 100px;
	filter: invert(50);
}
.logonavbar {
	height: 50px;
	filter: invert(50);
}
.navlink a:hover{
	color: #456;
}

.post_s_item {
  position: relative;
  overflow: hidden; }

  .post_s_item .post_text {
    position: absolute;
    left: 40px;
    bottom: 40px;
    max-width: 355px; }
    .post_s_item .post_text h4 {
      font-size: 21px;
      font-family: "Heebo", sans-serif;
      line-height: 27px;
      text-transform: uppercase;
      color: #fff;
      padding-right: 20px;
      margin-bottom: 20px;
      transition: all 300ms linear 0s; }
      .post_s_item .post_text h4:hover {
        color: #a7cb00; }
    .post_s_item .post_text p {
      font-size: 14px;
      line-height: 24px;
      color: #fff;
      margin-bottom: 35px; }
    .post_s_item .post_text .main_btn {
      line-height: 40px;
      padding: 0px 40px;
      box-shadow: none; }

.projectimage {
	filter: brightness(50);
}
.vignette-shadow-ex {
  box-shadow: inset 0 0 100px black;
}
.team-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, min-height 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
  height: auto;
  min-height: 280px; /* Reduced from 420px */
  position: relative;
}

.team-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-height: 380px; /* Grows smoothly to fit bio */
}

.person-placeholder-photo {
  background-size: cover;
  background-position: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  flex-shrink: 0;
  filter: brightness(4) !important;
  mix-blend-mode: normal !important;
  background-color: transparent !important;
}

.person-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.person-name {
  font-size: 1.1em;
  margin-bottom: 5px;
  color: #222;
  font-weight: 600;
}

.person-qualifications {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 5px;
}

.person-title {
  font-size: 0.95em;
  color: #999;
  margin-bottom: 10px;
}

.person-desc {
  font-size: 0.85em;
  color: #444;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease, margin-top 0.3s ease;
  will-change: opacity, height, margin-top;
  backface-visibility: hidden;
}

.team-card:hover .person-desc {
  opacity: 1;
  height: auto;
  margin-top: 10px;
}



.project-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.project-image {
  background-size: cover;        /* Fills the box while preserving aspect ratio */
  background-position: center;   /* Keeps image centered */
  background-repeat: no-repeat;
  height: 180px;
  width: 100%;
  transition: transform 0.4s ease;
}

.project-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-content h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.project-content p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.project-button {
  background-color: #a7cb00;
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  align-self: start;
  transition: background-color 0.2s ease;
}

.project-button:hover {
  background-color: #8fb300;
}

.project-card:hover .project-image {
  transform: scale(1.05);        /* Grows slightly on hover */
}

