.ecw-team-members-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.ecw-team-card {
    width: 280px;
    height: 360px;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
}
.ecw-team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    cursor: pointer;
}
.ecw-team-card:hover .ecw-team-card-inner {
    transform: rotateY(180deg);
}
.ecw-team-card-front,
.ecw-team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    top: 0;
    left: 0;
}
.ecw-team-card-front {
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    box-shadow: inset 0 -80px 60px -30px rgba(0,0,0,0.7);
    position: relative;
}
.ecw-team-overlay {
    position: relative;
    z-index: 2;
}
.ecw-member-name {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}
.ecw-member-position {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 10px;
}
.ecw-member-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 18px;
}
.ecw-member-socials a {
    color: white;
    transition: color 0.3s ease;
}
.ecw-member-socials a:hover {
    color: #4caf50;
}
.ecw-team-card-back {
    background: #f8f8f8;
    color: #333;
    transform: rotateY(180deg);
    padding: 30px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #ddd;
}
.ecw-member-bio h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}
.ecw-member-bio p {
    font-size: 15px;
    line-height: 1.4;
}
