/* css styles */

.team-member {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2em;
  flex-wrap: wrap; /* Allows wrapping on small screens */
}

.team-photo {
width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1em;
  margin-bottom: 1em;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Ensure text takes the remaining space */
.team-info {
  flex: 1;
  min-width: 200px;
}

/* Responsive behavior: stack on small screens */
@media (max-width: 600px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-photo {
    margin-right: 0;
  }

  .team-info {
    text-align: left; /* Or center if you prefer */
  }
}


.alt-image-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2em;
  flex-wrap: wrap;
}

.alt-image-block img {
  width: 250px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  max-width: 100%;
}

.alt-image-block.left-image {
  flex-direction: row;
}

.alt-image-block.right-image {
  flex-direction: row-reverse;
}

.alt-image-block p {
  flex: 1;
  margin: 0 1em;
  min-width: 200px;
}

/* Responsive stacking on small screens */
@media (max-width: 700px) {
  .alt-image-block {
    flex-direction: column !important;
    text-align: left;
  }

  .alt-image-block img {
    margin: 1em 0;
    width: 100%;
    max-width: 300px;
  }

  .alt-image-block p {
    margin: 0;
  }
}


.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  margin-top: 2em;
}

.photo-gallery img {
  width: 300px;         /* Increased from 200px */
  height: 200px;        /* Increased from 150px */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.photo-gallery img:hover {
  transform: scale(1.05);
}

