html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  flex: 1;
}

footer {
  margin-top: auto; /* Pushes footer to bottom */
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 15px 0;
}


.team-gallery {
  max-width: 1100px;
  margin: 50px auto;
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.80);
  border-radius: 10px;
  text-align: center;
  color: black;
  backdrop-filter: blur(3px);
  animation: fadeIn 1s ease-in-out;
}

.team-gallery h2 {
  font-size: 2rem;
  color: rgba(1, 54, 86, 1);
  margin-bottom: 10px;
}

.team-intro {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  justify-items: center;
}

.team-photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.4s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.team-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-photo:hover img {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .team-photo img {
    height: 200px;
  }
}
.person-card {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 700px;
  margin: 40px auto;
  background-color:#2c3e50;
  border-radius: 12px;
  padding: 30px;
  color: white;
  backdrop-filter: blur(3px);
  box-shadow: 0 8px 20px #2c3e50;
  animation: fadeIn 1s ease-in;
}

.person-image img {
  width: 500px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.person-info h3 {
  font-size: 1.8rem;
  color: white;

  text-align: left;
}

.person-info p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}
.person-info h5 {
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 10px;
}
/* Responsive Layout */
@media (max-width: 768px) {
  .person-card {
    flex-direction: column;
    text-align: center;
  }

  .person-image img {
    width: 100%;
    height: auto;
  }
}

