/*Team section*/
.about-team-section {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
  z-index: 0;
  background-color: #fff;
}

/* subtle layered background */
.about-team-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    /* dark overlay */ url("./assets/14340.jpg") center / cover no-repeat;

  opacity: 0; /* keep at 1 because we control darkness above */
  z-index: -1;
}

.about-team-inner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.about-team-kicker {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 10px;
}

.about-team-title {
  font-size: clamp(28px, 3vw, 44px);
  margin-bottom: 60px;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.about-team-card {
  background: #fff;
  border-radius: 18px;
  /*padding: 50px 28px 40px;*/
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);

  display: flex;
  flex-direction: column;
  align-items: center;

  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  padding-bottom: 20px;
}

.about-team-card:hover {
  transform: translateY(-10px);
  border-color: #c1d83c;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

/* brand top accent */
.about-team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: #c1d83c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 2;
}

.about-team-card:hover::before {
  transform: scaleX(1);
}

/* avatar */
.about-team-avatar {
  overflow: hidden;
  margin-bottom: 20px;
  /*border: 4px solid rgba(209, 255, 69, 0.6);*/
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.about-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.2);
  transition: transform 0.4s ease;
}

.about-team-card:hover .about-team-avatar img {
  transform: scale(1.25);
}

.about-team-name {
  font-size: 14px;
  letter-spacing: 1px;
  margin: 10px 0 8px;
}

.about-team-role {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
}

/* CTA */
.about-team-cta {
  margin-top: 25px;
  background: #c1d83c;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.about-team-card:hover .about-team-cta {
  opacity: 1;
  transform: translateY(0);
}

.about-team-arrow {
  transition: transform 0.3s ease;
}

.about-team-card:hover .about-team-arrow {
  transform: translateX(4px);
}
