@media (max-width: 991.98px) {
    .main-header {
        position: relative;
        padding: 0 5px;
        transition: .5s;
        z-index: 9999;
        background: #fff;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 0px 4px;
        color: #000;
        width: fit-content;
    }

    .navbar-light .navbar-brand {
        order: -2;
    }

    .navbar-toggler {
        order: -1;
    }
    .navbar-light .navbar-nav .show>.nav-link,
    .navbar-light .navbar-nav .nav-link.active,
    .navbar-light .navbar-nav .nav-link:hover {
        color: #000;
    }

    .main-header .navbar {
        padding: 5px 0;
    }

    .main-header .navbar .navbar-collapse:nth-child(1) {
        margin-top: 10px;
    }

    .main-header .navbar .navbar-collapse:nth-child(4) {
        margin-bottom: 10px;
    }
    .scnd_banner {
        margin-top: 0;
    }
    .site-list-style-one.icon-style li {
        font-size: 18px;
        padding: 0 0 10px 0;
    }
    .header-carousel .container, .page-header .container {
        padding: 35px 0px 35px 15px;
    }
    /*** testimoanial ***/
    .testimoanial_sec .animated-left-drone-media {
        margin-left: 0;
        padding-top: 140px;
        margin-bottom: 20px;
    }

    .slide-top {
        width: 100%;
    }

    .testimoanial_sec .left {
        padding-left: 0;
        padding-bottom: 25px;
        text-align: center;
    }

    /*** about ***/
    .about-drone-one {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .about_sec .left {
        text-align: center;
    }

    .site-button,
    .site-button-secondry {
        display: flex;
        margin: 0 auto;
        max-width: fit-content;
    }

    .about_sec .about_ulbox {
        justify-content: center !important;
    }
    .about-drone-one-media img {
        top: 60px;
        scale: 1.3;
    }
    /*** product ***/
    .product_sec .products {
        top: 50px;
        transform: unset;
    }

    .product_sec {
        padding-bottom: 270px !important;
    }

    .gallery_box {
        grid-template-columns: calc(50% -15px) calc(50% -15px);
    }

    .single_product .card h2,
    .single_product .card h3 {
        font-size: 18px;
    }

    .single_product .large_text {
        font-size: 18px;
    }

    .single_product .sp_inrrow {
        margin-top: 20px;
    }
    .video .btn-play, .youtube_video .btn-play {
        width: 20px;
        height: 24px;
        padding: 8px 10px 8px 18px;
    }
    .video .btn-play span, .youtube_video .btn-play span {
        border-left: 18px solid var(--primary);
        border-top: 13px solid transparent;
        border-bottom: 13px solid transparent;
    }
    .video .btn-play::after, .youtube_video .btn-play::after, .video .btn-play::before, .youtube_video .btn-play::before {
        width: 60px;
        height: 60px;
    }
    .nav-tabs .nav-link {
        padding: 0.5rem 0.3rem;
        margin: 1px;
        font-size: 14px;
        border-radius: 0;
        line-height: 1;
    }
    .modern-grid {
        grid-template-columns: repeat( 2,1fr);
    }
    .icon_boxrow, .package_sec .icon_boxrow {
        grid-template-columns: repeat( 2,1fr);
    }
    .pd_text {
        font-size: 20px;
        line-height: normal;
    }
    .case_studies_slider .img-fluid {
        min-width: unset;
    }
    .case_studies_row {
        flex-wrap: wrap;
    }
    .case_studies_row .case_studies_col:nth-child(1) {
        min-height: auto;
    }
    .case_studies_row .case_studies_col {
        width: 100%;
        text-align: center;
    }
    .case_studies_slider .img-fluid {
        width: 100% !important;
        margin: 0 auto;
    }
    .icon_box {
        background-color: #dfdfdf;
        box-shadow: 0 0 3px #00000070;
        padding: 10px !important;
    }
    .icon_box .wpb_title {
        font-size: 16px;
    }
    .icon_box .wpb_tex {
        font-size: 14px;
        line-height: 1;
    }
    .hover-wrap .img-fluid {
        width: 50px;
        height: 50px;
        padding: 6px;
    }
    .testimoanial_sec .wt-small-separator-outer {
        text-align: center;
    }
    .s-title-one {
        font-size: 18px;
    }
    .training_details .left.wt-small-separator-outer {
        text-align: center;
    }
    .about_sec .row {
        flex-direction: column-reverse;
    }
    .sou-logo-box img {
        margin-left: 0;
        margin: 15px 0 15px;
    }
    .sub-title {
        font-size: 18px;
    }
    .tab_sec .site-button {
        margin: 20px 0 0;
    }
}
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }

    /*** about ***/
    .drone_box {
        max-width: 300px;
    }

    .about_sec .about_ulbox {
        justify-content: center !important;
        flex-direction: column-reverse;
        margin-top: 30px;
    }

    .about-drone-one-media {
        height: 240px;
    }

    .site-list-style-one.icon-style {
        margin: 30px 0 15px !important;
    }

    .drnbox_play .drn_cirlcle,
    .drnbox_play .drn_cirlcle::after,
    .drnbox_play .drn_cirlcle::before {
        left: 0;
        top: 0;
        -webkit-transform: unset;
        transform: unset;
    }

    .image_box .img-fluid {
        top: 130px;
    }

    .banner_content {
        top: 40px;
        transform: unset;
    }
    /*** product ***/
    .product_sec {
        padding-bottom: 235px !important;
    }

    .gallery_box {
        grid-template-columns: 100%;
    }
    .team_sec .team_row > div {
        width: 100%;
    }
    .team_sec .team_row {
        flex-direction: column;
    }
    .modern-grid {
        grid-template-columns: repeat( 1,1fr);
    }
    .impact_sec .icon_box {
        width: calc(50% - 7.5px);
    }
    .banner.destop {
        display: none;
    }
    .product_slider_sec.mobile {
        display: block;
    }
}

@media (max-width: 575px) {

    /*** product ***/
    .product_inr .owl-item img {
        max-height: 170px;
    }

    .product_sec {
        padding-bottom: 180px !important;
    }
    .package_sec .icon_boxrow {
        grid-template-columns: repeat( 1,1fr);
    }
    .product_sec .product_inr {
        background-image: url(../images/home/m_product_bg.webp);
    }
    .testimoanial_sec {
        background-image: url(../images/home/m_testmonial_bg.webp);
    }
    .fact {
        background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../images/m_bg.webp) bottom center no-repeat;
        background-size: cover;
    }
    .page-header {
        background-image: url(../images/bg.webp);
    }
}
@media (max-width: 480px) {
    .about-drone-one-media {
        height: 210px;
    }
    .header-carousel .right {
        position: absolute;
        top: 170px;
        left: -15px;
    }
    .prodct_ps.product_sec {
        padding-bottom: 130px !important;
    }
    .case_studies_slider .img-fluid {
        max-width: 180px;
    }
}
@media (max-width: 380px) {
    .about-drone-one-media img {
        top: 90px;
        scale: 1.5;
    }
    .product_sec {
        padding-bottom: 134px !important;
    }
    .prodct_ps.product_sec {
        padding-bottom: 95px !important;
    }
    .s-title-one {
        font-size: 15px;
    }
}