.ftco-section {
  padding: 7em 0;
  position: relative; 
}

.team-member-card {
  border-radius: 4px;
  margin-bottom: 30px;
  padding: 30px;
  padding-top: 40px;
  background: #fff;
  position: relative;
  -webkit-box-shadow: 0px 24px 48px -13px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 24px 48px -13px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 24px 48px -13px rgba(0, 0, 0, 0.05);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease; 
  height: auto;
  min-height: 520px;
}

.team-icon-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #ff8b00 0%, #ff9827 100%);
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
}

.team-icon {
    font-size: 60px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.team-member-card .member-name {
  font-size: 22px;
  color: #000000;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.team-member-card .member-role {
  display: block;
  font-size: 14px;
  color: #2b98f0;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.team-member-card .member-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 10px;
    text-align: left;
}

.member-details {
    text-align: left;
    padding: 0 20px;
    margin-top: 20px;
}

.member-details p {
  list-style: none;
  margin-bottom: 12px;
  color: #999999;
  font-size: 13px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.member-details p .detail-icon {
  color: #f3e53d;
  font-size: 16px;
  margin-right: 8px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.team-member-card:hover, .team-member-card:focus, .team-member-card.active {
  background: #f3e53d;
  -webkit-box-shadow: 0px 24px 48px -13px rgba(0, 0, 0, 0.11);
  -moz-box-shadow: 0px 24px 48px -13px rgba(0, 0, 0, 0.11);
  box-shadow: 0px 24px 48px -13px rgba(0, 0, 0, 0.11);
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
  transform: translateY(-5px);
}

.team-member-card:hover .member-details p, .team-member-card:focus .member-details p, .team-member-card.active .member-details p {
  color: rgba(0, 0, 0, 0.8); 
}

.team-member-card:hover .member-details p .detail-icon, .team-member-card:focus .member-details p .detail-icon, .team-member-card.active .member-details p .detail-icon {
  color: #2b98f0; 
}

.team-member-card:hover .member-bio, .team-member-card:focus .member-bio, .team-member-card.active .member-bio {
    color: rgba(0, 0, 0, 0.7);
}

.team-member-card:hover .member-role, .team-member-card:focus .member-role, .team-member-card.active .member-role {
    color: #178bfb;
}

.heading-section .subheading {
  font-size: 13px;
  display: block;
  font-weight: 500;
  color: #2b98f0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.heading-section h2 {
  font-size: 44px;
  font-weight: 400;
  color: #333;
  margin-bottom: 20px;
}

.heading-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.justify-content-center {
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.text-center {
  text-align: center !important;
}

/* Column classes for team page */
.col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Responsive stuff - messy breakpoints like human code */
@media (max-width: 1199.98px) {
    .team-member-card {
        min-height: 480px;
    }
    
    .team-icon {
        font-size: 55px;
    }
}

@media (max-width: 991.98px) {
  .team-member-card {
    margin-top: 30px;
    min-height: auto;
  }
  
  .ftco-section {
    padding: 5em 0; 
  }
  
  .col-lg-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-md-7 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .heading-section h2 {
    font-size: 32px; 
  }
  
  .ftco-section {
    padding: 4em 0; 
  }
  
  .team-member-card {
    padding: 25px 20px;
    margin-bottom: 25px;
  }
  
  .team-icon-wrap {
    width: 100px;
    height: 100px;
  }
  
  .team-icon {
    font-size: 50px;
  }
  
  .team-member-card .member-name {
    font-size: 20px;
  }
  
  .team-member-card .member-bio {
    font-size: 13px;
    padding: 0 5px;
  }
  
  .col-md-6, .col-lg-4 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
    .heading-section h2 {
        font-size: 28px;
    }
    
    .team-member-card {
        padding: 20px 15px;
    }
    
    .team-icon-wrap {
        width: 90px;
        height: 90px;
    }
    
    .team-icon {
        font-size: 45px;
    }
    
    .member-details {
        padding: 0 10px;
    }
    
    .member-details p {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .team-member-card .member-name {
        font-size: 18px;
    }
    
    .team-member-card .member-role {
        font-size: 13px;
    }
    
    .heading-section p {
        font-size: 15px;
    }
}

/* Remove animation stuff since we don't use it much */
.ftco-animate {
  opacity: 1;
  visibility: visible; 
}