/* Team Page Banner with Parallax Effect */
.team-page-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.team-banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://luathoangphi.vn/wp-content/themes/giaodienver2/images/gt.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax effect */
  z-index: 1;
}

/* Overlay for better text readability */
.team-banner-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 34, 100, 0.4); /* Dark blue overlay */
  z-index: 1;
}

.team-banner-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.team-page-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

/* Team Members Section */
.team-members-section {
  padding: 60px 0;
  background: #fff;
}

/* Make member name and image clickable */
.team-member .member-name a,
.team-member .member-image-wrapper a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.team-member .member-name a:hover {
  color: #ea7a2b;
}

.team-member .member-image-wrapper a {
  display: block;
}

.team-member .member-image-wrapper a:hover .member-image {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 991px) {
  .team-page-banner {
    height: 350px;
  }

  .team-page-title {
    font-size: 40px;
  }

  .team-members-section {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .team-page-banner {
    height: 300px;
  }

  .team-page-title {
    font-size: 32px;
  }

  .team-members-section {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .team-page-banner {
    height: 250px;
  }

  .team-page-title {
    font-size: 28px;
  }

  .team-members-section {
    padding: 30px 0;
  }
}

/* Disable parallax on mobile for better performance */
@media (max-width: 768px) {
  .team-banner-background {
    background-attachment: scroll;
  }
}



