@media screen and (max-width: 767px) {
    .navbar-brand {
        max-width: 200px;
    }

    .apart .apart-content{
        padding: 12px;
    }

    .apart-content h1{
        font-size: 24px;
        line-height: normal;
    }

    .animation-position {
        min-height: auto;
    }

    .navbar-brand img {
        width: 100%;
    }

    .our-services {
        padding: 10px
    }

    .our-services h2 {
        font-size: 18px;
        line-height: normal;
        margin-bottom: 0;
    }

    .our-services p {
        font-size: 14px;
        line-height: normal;
    }

    .mobile-gap-5 {
        gap: 25px;
    }

    .about,
    .what-they-say,
    .discovermore {
        padding: 10px;
    }

    .section-6.discovermore .col-md-4.p-5 {
        padding: 0px !important;
        margin-bottom: 20px;
    }


    /********************Sevice**********************/

    /* .service-banner.slide-content h2 {
        font-size: 20px;
        line-height: normal;
        margin: 0;
    }

    .service-banner.slide-content h1 {
        font-size: 20px;
        line-height: normal;
        margin: 0
    }

    .slide-content p {
        font-size: 12px;
    }

    .service-banner.slide-content button {
        margin-top: 10px;
    }

    .slide-content {
        padding-top: 10px;
    }

    .page-services {
        padding-left: 10px;
        padding-right: 10px;
    } */
}

@media (max-width: 450px) {
    .carousel-inner img {
        height: 250px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .Business-card .overlay-content {
       padding-top: 12px;
    }
}

@media screen and (min-width: 768px) {
    .navbar-expand-sm .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
}

@media screen and (max-width: 1190px) {
    #head nav>div {
        flex-wrap: wrap;
    }

    #head nav>div .navbar-collapse {
        justify-content: flex-start !important;
    }

    #head nav>div .navbar-collapse ul {
        flex-wrap: wrap;
    }

    .service-image-container>div {
        width: 100%;
    }

    .service-image-container>div:nth-child(2) h1 {
        font-size: 18px;
        line-height: normal;
    }

    .service-image-container>div:nth-child(2) p {
        font-size: 14px;
        line-height: normal;
    }

    .service-image-container>div:nth-child(2) > div {
        display: flex;
        justify-content: center;
    }
}
@media screen and (max-width: 450px) {
      .carousel-overlap {
        top: 64px;
    }
    
    .carousel-content {
        padding-top: 25px;
    }

    .carousel-content h1 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .carousel-content h2 {
        font-size: 20px;
    }

    .carousel-content p {
        font-size: 12px;
        width: 90%;
        margin-bottom: 6px;
    }

    .carousel-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .carousel-content .more-btn {
        margin-top: 0px;
        font-size: 12px;
        padding: 6px 12px;
    }

    .carousel-control {
        top: 84px;
        right: 20px;
    }

    .carousel-control>button span {
        width: 14px;
        height: 14px;
    }

    .carousel-control .carousel-indicators button {
        height: 10px;
        width: 2px;
    }

    .about-content-overlay {
        bottom: 13px;
    }
    .about-content-overlay .Years h2 {
        font-size: 37px;
        padding-left: 7px;
    }
    .about-content-overlay .Years p {
        padding: 0;
    }
    .about-content-overlay .Business-data {
        line-height: 20px;
        font-size: 15px;
        margin-top: 17px;
    }
    .animation-position .apart-content{
        padding: 10px;
    }
}
@media screen and (max-width: 399px) {
    .carousel-content {
        padding-top: 1px;
    }
    .about-content-overlay {
        bottom: 2px;
    }
}
@media screen and (min-width: 579px) and (max-width: 991px)  {
    .Business-card .card-over h4 {
        font-size: 12px;
        line-height: 15px;
    }
    .Business-card .circle {
        height: 25px;
        width: 25px;
    }
    .overlay-content {
        padding-top: 14px;
    }
    .overlay-content h3 {
        font-size: 12px;
    }
    .overlay-content p{
        font-size: 12px;
        line-height: 18px;
    }
    .circle img {
        max-width: 21px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .Business-card .overlay-content h3 {
        line-height: 14px;
    }
}
@media screen and (min-width: 450px) and (max-width: 577px) {
    .about-content-overlay {
        bottom: 10px;
    }
    .about-content-overlay .Business-data {
        font-size: 15px;
        line-height: normal
    }
}
@media screen and (max-width: 575px) {
    .Transforming-carousel p {
        width: 100%;
    }
    .container-innovation .page-services {
        padding: 20px;
    }
}

@media screen and (max-width: 800px) {
    .what-say-content {
        padding: 12px;
    }
    .review {
        flex-direction: column;
        align-items: center;
    }

    .review{
        margin-bottom: 14px;
    }

    .review >div {
        padding: 0 !important;
    }

    .review > div p {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 1250px) {
    .apart video {
        display: none !important;
    }
    .apart > div {
        position: initial;
    }
}

@media screen and (min-width: 1100px) {
    .carousel-content h2,
    .carousel-content h1  {
        font-size: 60px;
    }
    .carousel-content p {
        font-size: 22px;
    }
}

@media screen and (max-width: 1190px) {
    .header > div,
    .carousel-overlap,
    .our-services > div,
    .about >div,
    .apart-content,
    .what-they-say > div,
    .discovermore > div,
    .footer > div{
        max-width: initial !important;
    }

}

@media screen and (min-width:576px) and (max-width: 1190px) {
    .carousel-overlap,
    .carousel-control {
        top: calc(60% - 150px);
    }
}