@media(max-width: 1280px){
    .blog_card img{
        margin-bottom: 15px;
    }
    .recent_blog .blog_card{
        padding: 20px 10px;
    }
}
@media(max-width: 991px){
    .jobs{
        /* flex-direction: column; */
        /* gap: 20px; */
        /* justify-content: start; */
        /* align-items: baseline; */
    }
    /* .jobs .details ul li{
        width: 45%;
    } */
    .recent_blog .blog_card{
        padding: 30px;
    }
    .blog_card img{
        margin-bottom: 30px;
    }
}
@media(max-width: 991px){
    .team_member_sec{
        flex-wrap: wrap;
        gap: 1%;
        justify-content: space-between;
    }
    .team_member_sec .team_member{
        margin: 0;
        /* padding: 10px; */
        width: 49%;
    }
    .team_member_sec .team_member:hover{
        width: 49%;
        flex: 0 0 auto;
    }
    .team_member_sec .team_member .content .name{
        transform: rotate(0) translateY(0);
    }
    .team_member_sec .team_member .content .hide_content{
        transform: translateY(0);
        opacity: 1;
        transition-delay: 0.3s;
    }
    .team_member_sec .team_member .content .name::before{
        opacity: 0;
        transition-delay: 0s;
        transition: 0.1s;
    }
    .team_member_sec .team_member .content{
        width: 100%;
    }
    .you_tube_btn a{
        margin: 0 auto;
    }
}
@media(max-width: 768px){
    header nav ul{
        position: absolute;
        top: 100%;
        right: 0;
        flex-direction: column;
        background: #000;
        width: 300px;
        padding: 10px;
        height: calc(100vh - 71px);
        gap: 5px;
        /* display: none; */
        transform: translateX(100%);
        transition: 0.3s;
        overflow-y: auto;
    }

    header nav ul.active{
        transform: translateX(0);
    }
    header nav ul li a:hover{
        color: #fff;
    }
    header nav ul li > a{
        display: block;
        text-align: center;
        padding: 10px 5px;
        background: var(--red--);
    }
    header nav ul li.drop_down{
        border: 1px solid var(--red--);
    }
    header nav ul li.drop_down.active > a{
        color: var(--red--);
        background: none;
    }
    header nav ul li.drop_down > a:hover{
        color: #fff;
    }
    header nav ul li.drop_down:hover > a::after{
        transform: translateY(-50%) rotateX(0);
        transform-origin: center;
    }
    header nav ul li.drop_down.active > a::after{
        transform: translateY(-50%) rotateX(-180deg);
        transform-origin: center;
    }
    header nav ul li.drop_down > a::after{
        right: 7px;
    }
    header nav ul li.drop_down .drop_menu{
        position: relative;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        display: none;
        width: auto;
        top: 0;
    }
    /* header nav ul li.drop_down .drop_menu{
        width: auto;
        top: 0;
    } */
    header nav ul li.drop_down .drop_menu .dropdown_item{
        opacity: 1;
        transform: translateY(0);
        display: flex;
        gap: 10px;
    }
    header .menu_btn {
        display: flex;
    }
    header nav ul li.drop_down .drop_menu .dropdown_item img{
        width: 20%;
        object-fit: cover;
    }
    .banner .background_img{
        width: 200%;
        transform: rotate(13deg) translateX(2%);
    }
    .banner .banner_content_slider{
        width: 300px;
    }
    .banner .banner_content_slider .banner_content h2{
        font-size: 45px;
    }
    .main_heading h2{
        font-size: 26px;
    }
    .heading h2{
        font-size: 26px;
    }
    .our_work h2{
        font-size: 60px;
    }
    .counter{
        text-align: center;
    }
    .services ul li{
        padding-bottom: 10px;
        text-align: center;
        border-bottom: 1px solid #ffffff8a;
    }
    .services ul li img{
        position: relative;
        transform: scale(1) translateY(0);
        top: 0;
        right: auto;
        margin-top: 20px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .services ul li:hover img, .services ul li.active img{
        transform: none;
    }
    .services ul li:hover a::before, .services ul li.active a::before{
        background-image: none;
    }
}


@media(max-width: 600px){
    .jobs .details ul li{
        width: 99%;
    }
    .team_member_sec .team_member{
        width: 100%;
        height: auto;
    }
    .team_member_sec .team_member:hover{
        width: 100%;
        flex: 0 0 auto;
    }
    .team_member_sec .team_member img{
        height: auto;
    }
    .filter_btns ul{
        gap: 10px 8px; 
    }
    section{
        padding: 0;
    }
    .big_content p{
        font-size: 28px;
    }
    .q_card:hover{
        transform: scale(1);
    }
    .jobs {
        flex-direction: column;
        gap: 20px;
    }
    .bottom_footer .site_map ul{
        flex-wrap: wrap;
    }
    .bottom_footer .site_map ul li{
        width: 48%;
    }
    .bottom_footer .site_map ul li:nth-child(2){
        border: none;
    }
}