.team-section {
    padding: 60px 0 90px;
    background: #F9F4FF;
    font-family: sans-serif;
    text-align: center;
}

.team-title h1 {
    font-size: 64px;
    text-align: center;
    font-weight: 800;
    background: linear-gradient(270deg, #20124D 5.47%, #AB84E1 102.96%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin: 0 0 25px;
}


.team-title p {
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
}

.team-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}

.team-card {
    padding: 20px;
    width: 415px;
    box-sizing: border-box;
    position: relative;
    background: #DDC8F8;
    border: 1.125px solid #DDC8F8;
    border-radius: 30px;
}

.team-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 10px;
}

.qr-code {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
}

.qr-code img {
    width: 100%;
}

.team-card h3 {
    margin: 10px 0 5px;
    font-weight: 700;
    font-size: 24px;
    line-height: 25px;
    text-align: center;
    color: #20124D;
}

.position {
    margin: 20px auto 10px;
    background: #5D2D86;
    border-radius: 100px;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-transform: capitalize;
    color: #F6EFFF;
    width: 50%;
}

.email,
.phone {
    margin: 3px 0;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    color: #20124D;
}

.vcard {
    display: inline-block;
    margin-top: 10px;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    text-transform: capitalize;
    color: #20124D;
    position: relative;
    transition: 0.3s ease;
}
.vcard:before {
    content:'';
    position: absolute;
    bottom:0;
    left:0px;
    width:100%;
    height:1px;
    background: #20124D;
    transition: 0.3s ease;
}

.vcard:hover:before {
    width:0;
}


@media (max-width: 1199px) {
    .team-card {
        width: calc(50% - 20px);
    }
}
@media (max-width: 991px) {
    .team-title h1{
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    .team-title h1{
        font-size: 36px;
    }
    .team-cards {
        flex-direction: column;
        align-items: center;
        max-width: 500px;
        width:100%;
        margin: 50px auto 0;
    }
    .team-title p {
        font-size: 16px;
    }
    .team-card {
        width: 100%;
    }
}
