#teamsec {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-height: 50vh;
}

.team-heading h3 {
    color: var(--blue-light);
    font-size: 3em;
    text-transform: capitalize;
}

.team-box {
    width: 100%;
    padding: 20px;
    user-select: none;
}

.t-b-img {
    width: 100%;
    height: 450px;
    position: relative;
}

.t-b-img img:hover {
    filter: grayscale(0);
}

.t-b-img::after {
    content: '';
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 150px;
    background-image: var(--team-object);
}

.t-b-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    filter: grayscale(1);
}

.t-b-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.t-b-text strong {
    color: var(--blue-light);
    font-weight: 700;
    font-size: 1.2rem;
}

.t-b-text span {
    color: var(--orange);
    font-size: 0.9rem;
}

.team-social {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.team-social a {
    margin: 0px 5px;
    color: var(--team-social);
    transition: all ease 0.3s;
    font-size: 1.5rem;
}

.team-social a:hover {
    /* color: #1e3050; */
    color: var(--blue-light);
}

.swiper {
    max-width: auto;
    width: 100%;
}

.swiper-slide {
    max-width: 300px !important;
    width: 90%;
    opacity: 0.2;
    margin: 50px 0px;
    margin-top: 0px;
}

.swiper-slide-active {
    /* border: 10px solid var(--blue-light); */
    opacity: 1;
}

.team-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 101;
    margin: 50px 0 100px 0;
}

@media (max-width: 1248px){
    #teamsec {
        margin-top: 410px;
    }
}

@media(max-width:724px) {
    .team-heading h3 {
        font-size: 2.6rem;
    }

    #teamsec {
        min-height: 100vh;
    }
}

@media(max-width:300px) {
    .t-s-img {
        height: 280px;
    }
}

.team-box:hover .t-b-img img {
    filter: grayscale(0);
}
