.our_squad_sec {
    margin-top: 30px;
}
.our_squad_sec .section_headings {
    opacity: 0;
    transform: perspective(1200px) translateY(-100px);
    animation: fadeInAndMove 1.2s ease-out forwards;
    margin-bottom: 4rem;
}
@keyframes fadeInAndMove {
    0% {
        opacity: 0;
        transform: perspective(1200px) translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: perspective(1200px) translateY(0);
    }
}

.our_squad_sec .section_headings h1 {
    color: #fff;
    font-family: Unbounded;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 44px;
    letter-spacing: -1.8px;
    margin-top: 1rem;
}
.our_squad_sec .section_headings p {
    color: #fff;
    text-align: center;
    font-family: "Satoshi";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: -0.36px;
    opacity: 0.6;
    margin-bottom: 2rem;
}

.our_squad_sec .team_content {
    display: grid;
    flex: none;
    gap: 10px;
    grid-auto-rows: minmax(0, 1fr);
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    grid-template-rows: repeat(1, minmax(0, 1fr));
    height: min-content;
    justify-content: center;
    overflow: visible;
    padding: 0;
    position: relative;
    width: 100%;
}
.team_content .team {
    position: relative;
}
.team_content .team .top_box {
    background-color: rgba(255, 255, 255, 0.05);
    /* padding: 24px; */
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}
.team_content .team .top_box .text .first_text h4 {
    color: #ff6e0c;
    text-shadow: 16px 8px 27px rgba(0, 0, 0, 0.25);
    font-family: Unbounded;
    font-size: 45px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: -2.5px;
    position: absolute;
    top: 40px;
    left: 0;
    transition: top 0.5s ease;
}
.team_content .team .top_box .text .second_text h5 {
    color: #fff;
    text-align: right;
    text-shadow: 16px 8px 27px rgba(0, 0, 0, 0.46);
    font-family: Unbounded;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.4px;
    text-transform: uppercase;
    position: absolute;
    top: 74px;
    right: 0px;
    transition: top 0.5s ease;
}
.team_content .team .top_box .image_box {
    flex: none;
    height: 88%;
    max-height: 420px;
    overflow: hidden;
    position: relative;
    width: 100%;
    filter: contrast(1.06) grayscale(1)
        drop-shadow(rgba(0, 0, 0, 0.66) 0px 31px 27px);
    transform: none;
    transform-origin: 50% 50% 0px;
    transition: filter 0.5s ease-in-out;
}
.team_content .team:hover .top_box .image_box {
    filter: contrast(1.06) grayscale(0)
        drop-shadow(rgba(0, 0, 0, 0.66) 0px 31px 27px);
}
.team_content .team .top_box .image_box .img_sec {
    transform: scale(0.85);
}
.team_content .team .top_box .image_box .img_sec img {
    display: block;
    width: 100%;
    height: 100%;
    /* border-radius: inherit; */
    object-position: center bottom;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
    padding-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}
.team_content .team .top_box .bottom_overlay {
    bottom: 0;
    flex: none;
    height: 76px;
    left: calc(50.00000000000002% - 100% / 2);
    overflow: visible;
    position: absolute;
    width: 100%;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(84, 84, 84, 0) 0%,
        rgb(0, 0, 0) 100%
    );
    opacity: 1;
}
.team_content .team .top_box .background_overlay {
    aspect-ratio: 1 / 1;
    flex: none;
    top: 50%;
    overflow: visible;
    position: absolute;
    top: 50%;
    width: 19px;
    left: 50%;
    z-index: 0;
    background-color: #ff6e0c;
    border-radius: 50.7042%;
    transform: translateX(-50%);
    transform-origin: 50% 50% 0px;
    z-index: -1;
    height: 19px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: height 0.5s ease-in-out, top 0.5s ease-in-out,
        width 0.5s ease-in-out;
}
.team_content .team:hover .top_box .background_overlay {
    height: 515px;
    top: 90px;
    width: 112%;
}
.team_content .team .bottom_box {
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    width: 100%;
    padding: 23px 6.33px 25px 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
}
.team_content .team .bottom_box h5 {
    color: #fff;
    font-family: Unbounded;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.1px;
    margin-bottom: 0;
}
.team_content .team .bottom_box p {
    color: #fff;
    font-family: "Satoshi";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    opacity: 0.8;
    margin-bottom: 0;
}

.team_content .team:hover .top_box .image_box .img_sec img {
    transform: translateY(31px);
}

.team_content .team:hover .top_box .text .first_text h4 {
    top: 20px;
}

.team_content .team:hover .top_box .text .second_text h5 {
    top: 54px;
}
@media (max-width: 1350px) {
    .team_content .team .top_box .image_box {
        max-height: 376px;
    }
}
@media (max-width: 1200px) {
    .team_content .team .top_box .image_box {
        max-height: 330px;
    }
    .team_content .team .top_box .text .first_text h4 {
        font-size: 34px;
    }
}

@media (max-width: 1100px) {
    .team_content .team .top_box .image_box {
        max-height: 300px;
    }
}

@media (max-width: 992px) {
    .our_squad_sec .team_content {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
    .team_content .team .top_box .text .first_text h4 {
        font-size: 40px;
    }
}
@media (max-width: 767px) {
    .our_squad_sec .team_content {
        display: block;
    }
    .team_content .team .top_box .text .first_text h4 {
        font-size: 44px;
    }
    .team_content .team .top_box .image_box {
        max-height: 500px;
    }
    .team_content .team {
        margin-bottom: 0.5rem;
    }
}
@media (max-width: 512px) {
    .team_content .team .top_box .image_box {
        max-height: 322px;
    }
}
