/* Team Section Styles */
.team {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    padding: 20px;
}

.team-member {
    position: relative;
    width: 306px;
    height: 370px;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border-top: 4px solid #ff9d00;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.team-member:hover .member-img {
    border-color: #ff9d00;
}

.member-img {
    position: absolute;
    width: 214px;
    height: 214px;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 4px solid #ffffff;
    overflow: hidden;
    z-index: 1;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.member-info {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 265px;
    z-index: 2;
}

.member-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #dd0000;
    font-size: 22px;
    margin-bottom: 5px;
}

.position {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #ff9d00;
    font-size: 17px;
    margin-bottom: 5px;
}

.company {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #000000;
    font-size: 14px;
}

/* Section Title */
.section-title {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 18px;
}

.container-xxl {
    max-width: 1320px;
    margin: 0 auto;
    padding: 50px 15px;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

@media (max-width: 768px) {
    .team {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .team-member {
        width: 100%;
        max-width: 306px;
        height: 370px;
        padding-bottom: 0;
    }

    .member-img {
        position: absolute;
        width: 160px;
        height: 160px;
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
    }

    .member-info {
        position: absolute;
        top: 210px;
        padding: 0;
    }
}