/* .club-rrr-coming-soon {
    position: relative;
    background: #00338D1A;
    border-radius: 0 0 200px 0;
    padding: 2rem 1rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 8rem;
    width: 100%;
    height: 560px;
    box-sizing: border-box;
  }
  
  #rrr-3d-logo {
      height: 280px;
      margin-top: 48px;
  }
  
  #rrr-logo {
      height: 350px
  }
  
  .club-rrr-bg-logo {
    opacity: 0.15;
    filter: blur(2px);
    pointer-events: none;
    z-index: 1;
  }
  .club-rrr-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: #00338D;
  }
  .club-rrr-content h2 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: #00338D;
    font-weight: 500;
    text-shadow: 2px 3px 4px rgba(255, 255, 255, 0.49);
  }
  .club-rrr-content p {
    font-size: 4rem;
    color: #00338D;
    margin: 0;
    font-weight: 300;
    text-shadow: 2px 3px 4px rgba(255, 255, 255, 0.49);
  } */

.team-section {
  padding: 100px 0 64px 0;
}
.our-team {
  width: 900px;
  /* margin: 0 auto 32px auto; */
  text-align: left;
}
.our-team-title {
  display: block;
  font-size: 0.938rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}
.our-team-desc {
  width: 553px;
  font-size: 0.938rem;
  font-weight: 400;
  color: #000;
  line-height: 1.7;
  padding-top: 24px;
}
.highlight-blue {
  font-size: 0.938rem;
  color: #00338d;
  font-weight: 700;
}

.team-members-container {
  display: flex;
  gap: 80px;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100vw;
  margin-top: 55px;
  padding-bottom: 16px;
  padding-top: 16px;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}
.team-members-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

/* Optional: Add smooth auto-scroll animation */
@keyframes teamAutoScroll {
  0% {
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }
}

/* You can trigger auto-scroll with JavaScript for best effect */

.team-members-container::-webkit-scrollbar-thumb {
  background: #00338d;
  border-radius: 8px;
}
.team-members-container::-webkit-scrollbar-track {
  background: #eaeaea;
  border-radius: 8px;
}
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 290px;
  height: auto;
  min-height: 365px;
  /* transition: box-shadow 0.2s, transform 0.2s; */
}

/* .team-member:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px 0 rgba(0,0,0,0.16), 0 2px 8px 0 rgba(0,51,141,0.10);
  z-index: 10;
} */
.team-member-card {
  background: #fff;
  box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.19);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 365px;
  width: 100%;
  transition: box-shadow 0.2s;
  overflow: hidden;
  position: relative;
}

.team-card-animation {
  position: absolute;
  width: 299px;
  height: 299px;
  background: rgba(0, 51, 141, 0.8);
  border-radius: 50%;
  top: -212px;
  left: -172px;
  transform: scale(0.1);
  transform-origin: center center;
  transition: all 0.5s cubic-bezier(0.34, 1.25, 0.64, 1);
  z-index: 1;
  filter: blur(0);
  pointer-events: none;
  opacity: 0;
}

.team-member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.4s ease-in-out;
  transform: scale(1);
  position: relative;
  z-index: 2;
}
.team-member-card:hover .team-card-animation {
  transform: scale(1) translate(100px, 150px);
  opacity: 1;
}
.team-member-card:hover .team-member-img {
  filter: grayscale(0%);
  transform: scale(1.1);
}
.team-member-img--placeholder {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  filter: grayscale(100%);
  transition: all 0.4s ease-in-out;
}
.team-member-card:hover .team-member-img--placeholder {
  filter: grayscale(0%);
  transform: scale(1.1);
  background: #e0e0e0;
}

.team-member-card .team-member-img-wrapper,
.team-member-card .team-member-img {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

/* .team-member-img, .team-member-img--placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #dbdbdb;
  margin: 0;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
} */
.team-member-card .team-member-img::after,
.team-member-card .team-member-img--placeholder::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  transition: background 0.4s;
  pointer-events: none;
  z-index: 2;
}
/* .team-member-card:hover .team-member-img::after,
.team-member-card:hover .team-member-img--placeholder::after {
  background: rgba(0, 51, 141, 0.18);
} */
.team-member-card .team-member-img::before,
.team-member-card .team-member-img--placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  border-radius: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.2s, box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-member-card:hover .team-member-img::before,
.team-member-card:hover .team-member-img--placeholder::before {
  opacity: 1;
  transition: opacity 0.3s, box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-member-card:hover .team-member-img,
.team-member-card:hover .team-member-img--placeholder {
  transform: scale(1.1);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-member-info {
  margin-top: 18px;
  width: 100%;
  min-width: 0;
  z-index: 2;
}
.team-member-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.team-member-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #00338d;
  margin-bottom: 6px;
}
.team-member-role {
  display: block;
  font-size: 0.9rem;
  color: #222;
  font-weight: 500;
}
.team-member-info .team-member-name,
.team-member-info .team-member-role {
  transition: font-size 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 424px) {
  .our-team {
    width: 100%;
  }

  .our-team-desc {
    width: 100%;
  }
}

@media (min-width: 425px) and (max-width: 767px) {
  .our-team {
    width: 100%;
  }

  .our-team-desc {
    width: 100%;
  }
}
