.inner_page_header_pic .hexagon_with_back {
    background-image: url(../image/team/ourteam-header.jpg);
}

.team {
    width: 100%;
    overflow: hidden;
    padding-bottom: 80px;
}

    .team .team_title {
        font-weight: 900;
        color: var(--primary-text-color);
        font-size: 2.5rem;
        margin-bottom: 0;
    }

        .team .team_title h2 {
            font-weight: 900;
            color: var(--primary-text-color);
            font-size: 2.5rem;
        }

        .team .team_title span {
            font-weight: 400;
            color: #000;
        }

    .team .team_desc p {
        font-size: 1rem;
        color: var(--bs-gray-600);
    }

        .team .team_desc p:first-child {
            color: var(--bs-gray-700);
            margin-top: 25px;
        }

    .team .team_desc h6 {
        color: var(--bs-gray-700);
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .team p.section-subtitle {
        font-weight: normal;
        position: relative;
        padding-left: 22px;
        margin-bottom: -4px;
    }

        .team p.section-subtitle:before {
            content: '';
            position: absolute;
            top: 5px;
            left: 0;
            width: 15px;
            height: 15px;
            background-image: linear-gradient(-45deg, var(--tertiary-color), var(--secondary-color), var(--tertiary-color));
            border-radius: 50%;
        }

    .team .team_content {
        display: flex;
        justify-content: center;
    }

        .team .team_content .content {
            width: 80%;
            padding-top: 160px;
        }

    .team .back_hexagon {
        width: 50em;
        height: 666px;
        margin-top: 25px;
        background: url(/assets/image/home/hexagon-side.svg);
        position: absolute;
        background-repeat: no-repeat;
        background-size: cover;
        left: -150px;
    }

    .team .white_hexagon {
        width: 40em;
        height: 666px;
        margin-top: 25px;
        position: absolute;
        left: 15px;
        top: 0;
        background: #fff;
    }

    .team .image_hexagon {
        position: absolute;
        left: 50px;
        top: 50px;
        width: 40em;
        height: 620px;
        background: url(/assets/image/team/our-team.jpg) center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 0;
    }

        .team .image_hexagon:after {
            content: "";
            position: absolute;
            left: 0;
            top: -6px;
            width: 100%;
            height: 110%;
            background: url(/assets/image/home/hexagon-side.svg);
            background-repeat: no-repeat;
            background-size: cover;
            z-index: 1;
            opacity: 0.3;
        }

.team_member {
    text-align: left;
}

    .team_member .team_member_box {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 0 20px;
        display: flex;
        transition: 0.3s;
    }

        .team_member .team_member_box:hover {
            transform: translateY(-10px);
        }

    .team_member .team_member_header {
        width: 45%;
        height: 260px;
        transition: 0.3s;
    }

    .team_member .team_member_box:hover .team_member_header {
        transform: scale(1.05);
    }

    .team_member .team_member_header .team_back {
        width: 235px;
        height: 230px;
        position: relative;
    }

    .team_member a {
        color: var(--primary-text-color);
    }

    .team_member .team_member_header .team-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .team_member .team_member_desc {
        width: 55%;
        margin-top: 20px;
        padding: 0 30px;
    }

        .team_member .team_member_desc h3 {
            font-weight: 700;
            margin-bottom: 0;
        }

        .team_member .team_member_desc h4 {
            margin-top: 5px;
            margin-bottom: 15px;
            color: var(--bs-gray-700);
        }

        .team_member .team_member_desc p {
            color: var(--bs-gray-600);
        }

.team .team_container {
    height: 800px;
}

.team .social_links_wrapp {
    justify-content: start;
}

@media screen and (max-width: 768px) {
    .team {
        padding-bottom: 30px;
    }

        .team .team_title h2 {
            font-size: 3rem;
        }

        .team .back_hexagon {
            width: 100%;
            height: 68%;
            margin-top: 0;
            left: -40px;
        }

        .team .white_hexagon {
            width: 100%;
            height: 67%;
            margin-top: 0;
            left: 20px;
            top: 6px;
        }

        .team .image_hexagon {
            position: absolute;
            left: 50px;
            top: 31px;
            width: 84%;
            height: 58%;
        }

    .team_member .team_member_header {
        width: 100%;
    }

    .team_member .team_member_box {
        flex-flow: column;
        text-align: center;
    }

    .team_member .team_member_desc {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    .team_hexagon {
        display: none;
    }

    .team .team_container {
        flex-flow: wrap-reverse;
        height: auto;
        margin-bottom: 100px;
    }

    .team .team_content .content {
        padding: 10px;
        width: 100%;
        padding-top: 45px;
    }

    .team_member .team_member_header {
        width: 240px;
        height: 220px;
    }

    .team_member .team_member_box {
        flex-flow: column;
        text-align: center;
        align-items: center;
    }

    .team_member .team_member_desc {
        width: 100%;
    }

    .team .social_links_wrapp {
        justify-content: center;
    }
}
