/* Team Section Styles */
.team-hero {
    background-color: #603c92;
    padding: 80px 0;
}
.team-hero::before {
    box-shadow: none;
}

.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1336px;
    margin: 0 auto;
}

.team-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 621px;
    text-align: center;
}

.team-title {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 45px;
    color: #fafafa;
    margin: 0;
}

.team-subtitle {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    color: #e9e9e9;
    margin: 0;
}

.team-members-container {
    width: 100%;
    max-width: 1176px;
}

.team-members-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.team-member-card {
    width: calc(25% - 24px);
    max-width: 276px;
    height: 360px;
    display: flex;
    flex-direction: column;
}

.member-photo-container {
    /* width: 276px; */
    width: 100%;
    height: 325px;
    border-radius: 8px;
    background-color: #1a013d;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(to bottom left, #19003C 0%, #210747 50%, #633F97 100%);
    border-width: 1px;
    border-image: linear-gradient(to bottom, #ffffff, #393939, #B6B6B6) 1;
}

.member-photo {
    width: 250px;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
}

.team-member-card .social-icons {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 16px;
    flex-direction: column;
    z-index: 1;
}

.team-member-card .social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px;
    border: none;
    cursor: pointer;
}

.team-member-card .social-icon.linkedin {
    background-color: #ffffff;
    border-radius: 2px;
}

.team-member-card .social-icon.linkedin img {
    filter: invert(1);
    transform: scale(0.9);
}

.team-member-card .social-icon img {
    width: 24px;
    height: 24px;
}

.member-info {
    width: 246px;
    height: 62px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 8px;
    margin-top: -37px;
    align-self: center;
    z-index: 1;
}

.member-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.member-name {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #0a0a0a;
    margin: 0;
}

.member-divider {
    width: 64px;
    height: 1px;
    background-color: #1a013d;
}

.member-title {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #717171;
    margin: 0;
}

@media screen and (max-width: 1200px) {
  .team-members-row{
    margin: 0 auto;
    max-width: 800px;
  }

  .team-member-card {
      width: 100%;
      max-width: 327px;
  }

  .member-photo-container{
      height: 325px;
      width: 100%;
  }
}

@media (max-width: 768px) {
    .team-hero {
        padding: 40px 0;
    }
    
    .team-member-card {
        width: 100%;
        max-width: 327px;
    }

    .member-photo-container{
        height: 325px;
        width: 100%;
    }
}
