@media(min-width:1400px){
    .container{
        max-width: 1170px;
    }
}


@media(max-width:1491px){
    .waht-make-section:after{
        height: 170px;
        left: 20px;
        top: 80px;
    }
    .about-section{
        margin-top: -280px;
    }
    .about-section .back-bg img:nth-of-type(1){
        width: 90px;
        height: 340px;
    }
    .about-section .back-bg img:nth-of-type(2){
        width: 530px;
        height: 360px;
        right: 10px;
    }
    .waht-make-section{
        padding-top: 80px;
    }
    footer img {
        margin-top: -190px;
    }
}

@media(max-width:1200px){
    .btn-design{
        font-size: 20px;
        line-height: 26px;
    }
    .hero-section{
        min-height: 900px;
    }
    .about-section .container{
        flex-wrap: wrap;
        padding-top: 40px;
        padding-bottom: 40px;
        row-gap: 80px;
    }
    .about-section .left,
    .about-section .right{
        width: 100%;
    }
    .about-section .back-bg img:nth-of-type(2){
        bottom: 20%;
        top: unset;
    }
    .about-section .left h2,
    .about-section .left h5{
        text-align: center;
    }
    #about-us{
        scroll-margin-top: -360px;
    }
    footer img {
        margin-top: -140px;
    }
    footer{
        padding-bottom: 50px;
    }
    .our-solution-section .container .solution-box:before{
        top: calc(100% - 32px);
    }
    .team-section{
        padding: 40px 0 40px;
    }
}

@media(max-width:991.9px){
    .navbar{
        z-index: 55;
        position: relative;
    }
    .navbar-nav{
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(5px);
        padding: 20px;
    }
    .hero-section.team-hero-section .navbar-nav{
        background: rgba(0,0,0,0.7);
    }
    .navbar-nav li{
        padding-bottom: 10px;
        margin-bottom: 10px;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    .navbar-nav li:last-child{
        padding-bottom: 0px;
        margin-bottom: 0px;
        border: unset;
    }
    .navbar-nav li a{
        display: block;
        text-align: left;
    }
    .navbar-toggler{
        outline: unset !important;
        border: unset !important;
        box-shadow: unset !important;
    }
    nav ul .nav-item a.btn-design{
        text-align: center;
    }
    nav {
        padding-top: 15px !important;
    }
    .hero-section{
        min-height: 770px;
    }
    body,p{
        font-size: 17px;
        line-height: 28px;
    }
    h1,h2{
        font-size: 36px;
        line-height: 46px;
    }
    h3{
        font-size: 20px;
        line-height: 30px;
    }
    .btn-design{
        padding: 15px 32px;
    }
    .hero-section .container .hero-content ul li{
        font-size: 17px;
        line-height: 27px;
        margin-bottom: 15px;
    }
    .hero-section .container .hero-content ul li:before{
        top: 0;
    }
    .waht-make-section:after{
        height: 140px;
        left: -10px;
    }
    .waht-make-section .col-lg-6:nth-of-type(2) img{
        height: 350px;
    }
    .waht-make-section .col-lg-6:nth-of-type(1){
        padding-right: 12px;
        padding-bottom: 40px;
        text-align: center;
    }
    ul.list-design li{
        text-align: left;
    }
    .waht-make-section{
        padding-top: 50px;
        padding-bottom: 180px;
    }
    .our-solution-section .container .solution-box{
        width: 100%;
    }
    .why-precogs-section{
        padding-top: 0;
        text-align: center;
    }
    .why-precogs-section ul{
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
    .why-precogs-section .img{
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
        height: 350px;
        margin-bottom: 40px;
    }
    .our-solution-section .container .solution-box .last-text {
        font-size: 20px;
        line-height: 26px;
    }
        footer img {
        margin-top: -100px;
    }
    .our-solution-section .container .solution-box:before{
        width: calc(100% - 10px);
        height: 60px;
        top: calc(100% - 1px);
        left: 5px;
    
    }
    #about-us{
        scroll-margin-top: -280px;
    }
    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
        position: absolute;
        top: 99px;
        width: 100%;
        left: 0px;
        z-index: 9;
    }

    .team-section .team-box{
        width: calc(50% - 15px);
    }
    .backed-by-section .brand-logos .logo{
        height: 90px;
    }
    .backed-by-section .brand-logos .logo img{
        height: 40px;
    }
    .hero-section.team-hero-section{
        padding-bottom: 8px;
        overflow: unset;
    }
    .hero-section.team-hero-section .navbar-collapse {
        top: 80px;
    }
    /* Mobile styling for team hero section - match home page */
    @media(max-width:767.9px){
        .hero-section.team-hero-section {
            overflow: hidden;
            background-image: url(../images/hero-mobile-bg.png) !important;
            background-position: top center;
            padding-bottom: 100px;
        }
    }
}

@media(max-width:767.9px){
    .hero-section {
        overflow: hidden;
        background-image: url(../images/hero-mobile-bg.png);
        background-position: top center;
        row-gap: 200px;
        padding-bottom: 100px;
    }
    .navbar-brand img{
        width: 55px;
    }
    .hero-section:after{
        display: none;
    }
    .hero-section .container .hero-content{
        margin-top: 0;
        text-align: center;
    }
    .hero-section .container .hero-content li{
        text-align: left;
    }
    .hero-shape{
        height: 80px;
        text-align: center;
        margin-bottom: -1px;
    }
    .hero-shape img{
        height: 100%;
        width: 240%;
        margin-left: -70%;
        object-fit: cover;
        object-position: bottom center;
    }
    .waht-make-section{
        padding-bottom: 0;
    }
    .about-section {
        margin-top: 0px;
    }
    .about-section .right{
        flex-wrap: wrap;
        row-gap: 140px;
    }
    .about-section .right .testimonial,
    .our-solution-section .container .solution-box{
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
    .about-section:after{
        top: 10%;
        background-position: 20%;
    }
    .about-section .back-bg img:nth-of-type(1) {
        width: 100px;
        height: 370px;
        top: 200px;
    }
    .about-section .back-bg img:nth-of-type(2) {
        bottom: 20%;
        top: unset;
        right: unset;
        left: -400px;
    }
    .our-solution-section:before,
    .our-solution-section:after {
        content: '';
        position: absolute;
        object-fit: cover;
        background-image: url(../images/dots-shape-2.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        top: 200px;
        left: 0;
        z-index: 0;
        width: 100%;
        height: 480px;
    }
    .our-solution-section:before{
        
        top: unset;
        bottom: 200px;
    }
    .our-solution-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .why-precogs-section .col-lg-6:nth-of-type(2){
        padding-left: 40px;
    }
    .about-section .container{
        padding-bottom: 0;
    }
    footer{
        text-align: center;
        padding-bottom: 30px;
        background-image: url(../images/footer-mobile.png);
    }
    footer .footer-logo{
        position: unset;
        margin-top: 40px;
    }
    footer img {
        margin-top: 0;
    }
    footer ul{
        margin-bottom: 20px;
        margin-top: 20px;
        column-gap: 15px;
    }
    footer ul li a,
    footer p{
        font-size: 16px;
        line-height: 22px
    }
    .our-solution-section .container .solution-box:before{
        width: calc(100% - 10px);
        height: 40px;
        top: calc(100% - 10px);
        left: 5px;
    }.hero-section{
        row-gap: 140px;
    }
    .backed-by-section .brand-logos{
        column-gap: 15px;
        row-gap: 15px;
        justify-content: space-between;
    }
    .backed-by-section{
        padding: 50px 0 40px;
    }
    .team-section .team-box{
        width: 100%;
    }
}
@media(max-width:500px){
    #about-us{
        scroll-margin-top: -200px;
    }
    .backed-by-section .brand-logos{
        flex-wrap: wrap;
    }
    .backed-by-section .brand-logos .logo{
        width: 100%;
    }
    
}