/* ============================================
   GAMEON — TEAM PAGE
   ============================================ */

/* ══ TEAM HERO ═══════════════════════════════
   Figma specs: height 620px, heading top 407px, left 68px
   ═══════════════════════════════════════════ */
.team-hero {
  position: relative;
  height: 38.75rem; /* 620px ÷ 16 */
  overflow: hidden;
  background: #000;
}

.team-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/Website%20media%20photo%20resized.jpg');
  background-size: cover;
  background-position: center top;
}

.team-hero-content {
  position: relative;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.team-hero-heading {
  position: absolute;
  left: 4.25rem; /* 68px ÷ 16 */
  top: 28.4375rem; /* 407px ÷ 16 */
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 4.875rem; /* 78px ÷ 16 */
  line-height: 5.25rem; /* 84px ÷ 16 */
  color: #FFFFFF;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .team-hero {
    height: auto;
    min-height: 38rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .team-hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 1.5rem 3rem;
    width: 100%;
  }
  .team-hero-heading {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    font-size: clamp(3.2rem, 11vw, 4.8rem);
    line-height: 1.1;
    max-width: 100%;
    margin: 0;
  }
}

/* ══ TEAM MEMBERS SECTION ══════════════════ */
.team-section {
  padding: 5rem 4.25rem; /* 80px 68px */
  background: #000;
  color: #fff;
}

.team-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem; /* Gap between members */
}

.team-member {
  display: flex;
  gap: 3.5rem; /* 56px gap between img and text */
  align-items: flex-start;
}

.member-img-wrap {
  width: 18.875rem; /* 302px */
  height: 17.125rem; /* 274px */
  flex-shrink: 0;
  border-radius: 1.25rem; /* 20px */
  overflow: hidden;
}

.member-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.member-info {
  flex: 1;
  max-width: 40.0625rem; /* 641px */
}

.member-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8125rem; /* 45px */
  line-height: 4.125rem; /* 66px */
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.member-title {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.375rem; /* 22px */
  line-height: 1.875rem; /* 30px */
  font-weight: 500;
  color: #7F7F7F;
  margin-bottom: 1.5rem;
}

.member-desc {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.1875rem; /* 19px */
  line-height: 1.375rem; /* 22px */
  font-weight: 400;
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 1024px) {
  .team-member {
    flex-direction: column;
    gap: 2rem;
  }
  .member-info {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 3rem 2rem;
  }
  .team-member {
    align-items: center;
    text-align: center;
  }
  .member-img-wrap {
    width: 18.875rem; /* 302px */
    height: 17.125rem; /* 274px */
    margin: 0 auto;
  }
}

/* ══ ADVISORS SECTION ══════════════════════ */
.advisors-section {
  padding: 7rem side-pad; /* Use variable if available, else 4.25rem */
  padding: 7rem 4.25rem;
  background: #000;
  color: #fff;
}

.advisors-container {
  max-width: 1440px;
  margin: 0 auto;
}

.advisors-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 5rem;
}

.advisors-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.875rem; /* 78px */
  line-height: 5.1875rem; /* 83px */
  font-weight: 400;
  color: #FFFFFF;
  max-width: 34.9375rem; /* 559px */
}

.advisors-intro {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.1875rem; /* 19px */
  line-height: 1.375rem; /* 22px */
  font-weight: 400;
  color: #FFFFFF;
  max-width: 36rem; /* 576px */
  padding-top: 0.625rem; /* Align with heading top */
}

.advisors-grid {
  display: flex;
  justify-content: center;
  gap: 12rem; /* Large gap as per layout */
}

.advisor-card {
  width: 21.9375rem; /* 351px width for the whole card (based on desc width!) */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advisor-img-wrap {
  width: 18.875rem; /* 302px */
  height: 25.48rem; /* 407.69px */
  border-radius: 1.25rem; /* 20px */
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}

.advisor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: #FFFFFF;
  border-radius: 0.625rem; /* 10px */
  padding: 1rem;
  text-align: center;
}

.advisor-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4375rem; /* 23px */
  line-height: 2rem; /* 32px */
  color: #DE0B1B;
  font-weight: 400;
}

.advisor-title {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem; /* 16px */
  line-height: 1.875rem; /* 30px */
  color: #7F7F7F;
  font-weight: 500;
}

.advisor-desc {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.1875rem; /* 19px */
  line-height: 1.375rem; /* 22px */
  color: #FFFFFF;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .advisors-header {
    flex-direction: column;
    gap: 2rem;
  }
  .advisors-grid {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .advisors-section {
    padding: 4rem 2rem;
  }
  .advisors-heading {
    font-size: 3.5rem;
    line-height: 1.1;
    text-align: center;
  }
  .advisors-intro {
    text-align: center;
    max-width: 100%;
  }
  .advisors-header {
    align-items: center;
  }
}

/* ══ PROVEN IN PRACTICE SECTION ════════════ */
.proven-section {
  padding: 6rem 4.25rem; /* 96px 68px */
  background: #FFFFFF;
  color: #000000;
}

.proven-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
}

.proven-left {
  max-width: 35rem; /* 560px */
}

.proven-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.875rem; /* 78px */
  line-height: 1;
  font-weight: 400;
  color: #000000;
  margin-bottom: 1.5rem;
}

.proven-heading-red {
  color: #DE0B1B;
}

.proven-subheading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4375rem; /* 23px */
  line-height: 1.2;
  color: #000000;
  margin-bottom: 1rem;
}

.proven-desc {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.1875rem; /* 19px */
  line-height: 1.375rem; /* 22px */
  color: #000000;
}

.proven-right {
  flex: 1;
  max-width: 40rem; /* 640px */
}

.proven-img {
  width: 100%;
  height: auto;
  border-radius: 1.25rem; /* 20px */
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .proven-inner {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  .proven-left {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .proven-section {
    padding: 4rem 2rem;
  }
  .proven-heading {
    font-size: 3.5rem;
    line-height: 1.1;
  }
}
