  /* Large devices (desktops) */
  @media (max-width: 1025.98px) {
    .background-image {
        position: absolute;
        top: 0;
        left: 60%;
        width: 150% !important;
    }
    #faq-section {
        height: auto;
    }
    .projects-div {
        margin-bottom: 40px;
    }
    .page-title {
        width: 90%;
    }
    #about-page {
        .container-fluid:nth-of-type(1) {
            padding-top: 20%;
            padding-bottom: 8%;
        }
        .core-value-box {
            padding: 0px;
        }

        .serif-400-small {
            margin-top: 10px;
            margin-bottom: 100px;
            text-align: justify;
        }
        .p-pos.serif-400-small {
            margin-top: 20px;
            margin-bottom: 70px;
            text-align: justify;
        }
        .our-mission-bg {
            & .content-box-1 {
                .serif-400-big {
                font-size: 30px;
                line-height: 40px;
        }}}
        .container-fluid:nth-of-type(1) {
            padding-top: 20%;
            padding-bottom: 8%;
        }
    }

    #services-page {
        .container-fluid:nth-of-type(1) {
            padding-top: 20%;
            padding-bottom: 8%;
        }
        .quote-bg {
            background-size: auto;
            height: 50vh;
        }
        .service-card {
            padding: 20px 20px;
            width: 100%;
        }
        .red-bar {
            top: unset;
        }
    }

    #case-study-page {
        .container-fluid:nth-of-type(1) {
            padding-top: 20%;
            padding-bottom: 8%;
        }
        .container {
            padding: 0px 0%;
        }
    }

    #careers-page {
        .container-fluid:nth-of-type(1) {
            padding-top: 20%;
            padding-bottom: 8%;
        }
        & .container-fluid:nth-of-type(3) {
            .card {
                background-color: rgb(20 26 36 / 70%);
                border: none;
                border-radius: 0px;
                padding: 8% 8% 20% 8%;
            }
        }
    }
    #contact-page {
        .container-fluid:nth-of-type(1) {
            padding-top: 20%;
            padding-bottom: 8%;
        }
        .contact-form {
            width: 100%;
        }
    }

    #QuoteSlideout {
        width: 40%;
    }

    .services-detail {
        padding-top: 20% !important;
        .card-box {
            padding: 30px 0px 30px 0px;
        }
    }

    #case-study-detail {
        .project-content {
            padding: 0 12%;
        }

        h1 {
            font-size: 80px;
            line-height: 100px;
            width: 90%;
        }

        .case-main-heading {
            .info-box {
                padding: 18px 40px;
            }
        }
        /* .case-main-heading {
            .info-box p {
                margin-bottom: 3px;
            }
        } */
        
    }
    footer {
        .custom-padding {
            padding-right: 2%;
        }
    }
}

@media (min-width: 1000px) and (max-width: 1025.98px) {
    footer {
        /* .btn-light {
            float: left !important;
        } */
        .menu-footer{
            padding-left:2%;
        }
    }
}

    /* Medium devices (tablets) */
@media (max-width: 991.98px) {
        .navbar-toggler {
            width: 70%;
        }

        
        .navbar .custom-margin-h-f {
            -webkit-box-pack: start !important;
                -ms-flex-pack: start !important;
                    justify-content: flex-start !important;
            padding: 0px;
        }



        .custom-margin-h-f .part-one{
            display: -webkit-inline-box;
            display: -ms-inline-flexbox;
            display: inline-flex;
            -webkit-box-pack: start;
                -ms-flex-pack: start;
                    justify-content: flex-start;
            padding-left: 1%;
            width: 50%;
        }
    
        .custom-margin-h-f .part-two{
            width: 50%;
            display: -webkit-inline-box;
            display: -ms-inline-flexbox;
            display: inline-flex;
            -webkit-box-pack: end;
                -ms-flex-pack: end;
                    justify-content: flex-end;
        }

        .direction-f{
            -webkit-box-orient: vertical;
            -webkit-box-direction: reverse;
                -ms-flex-direction: column-reverse;
                    flex-direction: column-reverse;
        }

        #about-page {
            .container-fluid:nth-of-type(1) {
                padding-top: 30%;
                padding-bottom: 20%;
            }
            .heading-div {
                width: 50%  ;
            }
            h3 {
                font-size: 25px;
            }
            .core-value-box {
                padding: 12px;
                .p-style {
                    padding: 0px;
                    padding-top: 7px;
            }
            }

            .page-title {
                width: 90%;
            }

            .our-mission-bg {
                & .content-box-1 {
                    .serif-400-big {
                        font-size: 30px;
                        line-height: 45px;
                    }
                }
            }
        }

        .slide-navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        -webkit-transition: left 0.3s ease-in-out;
        -o-transition: left 0.3s ease-in-out;
        transition: left 0.3s ease-in-out;
        }
    
        .slide-navbar.active {
            left: 0;
        }
    
        .navbar-nav .nav-item .nav-link {
            color: white;
            padding: 15px;
            font-size: 18px;
        }
            .bi-distribute-vertical{
                color: white;
                font-size: 30px;
                float: inline-end;
            }
                
                .navbar-expand-lg .navbar-collapse {
                    display: block !important; /* Default Bootstrap behavior */
                    -ms-flex-preferred-size: auto;
                        flex-basis: auto;
                    -webkit-box-pack: normal;
                        -ms-flex-pack: normal;
                            justify-content: normal;
                }
            nav {
                .navbar-nav {
                    border: none;
                    background: black;
                    border-radius: 0px;
                    width: 160%;
                    height: 100vh;
                    padding-top: 20px;
                }
            }
    
            .clients-bg {
                & .clients {
                    .client-item {
                        width: 20%;
                        text-align: center;
                        border: 0.1px solid #545353;
                        padding: 15px;
                        border-left: 0;
                    }
                }
            }
    
            .clients-bg {
                & .clients {
                    img {
                        width: 100px;
                        max-height: 30px;
                    }
                }
            }
    
            .offer-div {
                padding-right: 0%;
                .heading-div {
                    width: 50%;
                    margin-bottom: 40px;
                }
            }
    
            .services-div {
                padding-right: 0%;
                .heading-div {
                    width: 50%;
                }
            }
    
            .services-items {
                .item {
                    padding-right: 4%;
                }}
    
            .testimonials-div {
                .heading-div {
                    width: 50%;
                }
            }
    
            .services-bg {
                background-size: auto;
            }
    
            .projects-div {
                margin-bottom: 40px;
            }
    
            #faq-section {
                height: auto;
            }
    
            .background-image {
                width: 160%;
            }
    
            footer{
                text-align: left;
                .custom-padding{
                    padding-right:4%;
                    padding-top: 0px;
                }  
                h5{
                    margin-top: 50px;
                }  
                .site-trademark {
                    /* background-color: #00000088; */
                    padding: 1px 2%;
                    text-align: center;
                }  
                .menu-footer {
                    padding-top: 0px;
                }  
            }

            #faq-section .background-image {
                width: 160%;
            }

            #services-page {
                .quote-bg {
                    background-size: auto;
                    background-position: center center !important;
                    height: 50vh;
                }
                .service-card h3 {
                    font-size: 23px;
                }
            }

            #case-study-page {
                .container-fluid:nth-of-type(1) {
                    padding-top: 20%;
                    padding-bottom: 8%;
                }
                .container-fluid:nth-of-type(3) {
                    .p-45 {
                        padding: 16px;
                    }
                    .content-box-right {
                        padding: 14px;
                        padding-left: 0px;
                    }
                    .content-box-left {
                        padding: 14px;
                        padding-left: 0px;
                    }
                }
            }
            #contact-page {
                .container {
                    padding: 0px 0%;
                }
                .contact-form {
                    width: 100%;
                }
                .container-fluid:nth-of-type(1) {
                    padding-top: 20%;
                    padding-bottom: 8%;
                }
            }

            #case-study-detail {
                .project-content {
                    padding: 0 10%;
                }
                .container {
                    padding: 0px 0%;
                }

                .container-custom {
                    padding: 0px 0%;
                }
            
            }

            #case-study-detail {
                .project-content {
                    padding: 0 12%;
                }
        
                h1 {
                    font-size: 80px;
                    line-height: 100px;
                    width: 90%;
                }
        
                .case-main-heading {
                    .info-box {
                        padding: 18px 20px;
                        right: 30px;
                    }
                }
                .case-main-heading {
                    .info-box p {
                        margin-bottom: 3px;
                    }
                }
                
            }
            .services-detail {
                .card-box {
                    padding: 15% 0px;
                }
            }
    }

  /* Small devices (landscape phones) */
  @media (max-width: 767.98px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    .container {
        padding: 0px 0%;
    }
    /* .navbar-toggler {
        width: 42%;
    } */

    nav .navbar-nav {
        width: 110%;
    }

    .hero {
        h1 {
            font-size: 60px;
        }
    }

    .offer-div {
        .heading-div {
            margin-bottom: 30px;
            width: 100%;
            text-align: center;
        }
    }
    .hero {
        padding-bottom: 0px;
        text-align: center;
        .hero-buttons {
            padding-top: 25px;
            display: inline;
        }
        .hero-buttons .btn {
            margin-right:0px;
            
        }
        .hero-content {
            margin-top: 60%;
        }
        p{
            font-size: 20px !important;
            margin-top: 30px;
            margin-bottom: 30px;
        }
    }

    .offer-div {
        .text-main {
            font-size: 20px;
            color: white;
        }
        .hero-buttons{
            margin-bottom: 50px;
            margin-top: 10px !important;
        }
    }

    #quoteBtn {
        position: fixed;
        z-index: 10000;
        right:none;
        top: 70%;
        width: 138px;
        float: left;
        background: var(--primary-color);
        text-align: center;
        padding: 6px 0px;
        color: #ffffff;
        text-decoration: none;
        margin-right: 5px;
        font-size: 14px;
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .clients-bg {
        .heading-div {
            background: white;
            width: 100%;
            text-align: center;
        }
    }

    .clients-bg {
        .clients {
            display: block;
            width: 100%;        }
    }

    .clients-bg {
        & .clients {
            .client-item {
                width: 100%;
                text-align: center;
                border: 0.1px solid #545353;
                padding: 40px;
                border-left:0.1px solid #545353;
            }
        }
    }


    .projects-div {
        margin-bottom: 20px;
        .slider-wrapper {
            position: relative;
            width: 100%;
        }
        .custom-prev {
            left: -29px;
        }
        .custom-next {
            right: -29px;
        }
    }

    .hero {
        .features-point {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            gap: 3px;
            padding-left: 18px;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
        }
    }

    .hero {
        .moveLine {
            height: 30px;
            width: 4px;
        }

        .features-point p{
            margin-top: 4px;
            margin-bottom: 0px;
            font-size: 14px !important;
        } 
    }

    .services-items {
        display: block;
        -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
    }

    .services-items {
        text-align: center;
        .item {
            display: -ms-grid;
            display: grid;
            gap: 20px;
            margin-bottom: 50px;
            padding-right: 0%;
            padding: 50px;
            border-radius: 5px;
            border: 1px solid #ffffff;
        }

    }
    .services-items .item:last-of-type {
      margin-bottom: 0px;
    }
    .services-div .heading-div{
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
    }

    .testimonials-div {
        margin-top: 50px;
        .heading-div {
            margin-bottom: 20px;
            width: 100%;
            text-align: center;
        }
    }
    .services-div .hero-buttons{
        text-align: center;
    }

    .projects-div {
        h2 {
            font-size: 40px;
            text-align: center;
            font-weight: 600;
            padding-top: 10%;
        }
    }

    .slider-div .image-wrapper {
        text-align: center;
    }

    .faq-section {
        height: auto !important;
        margin-top: 20px;

        .faq-content h2{
            font-size: 40px;
            text-align: center;
        }
        .nav {
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
        }
    }
    .services-bg {
        background-size: auto !important;
    }



    /* about Page */

    .page-title{
        width: 100%;
    }
    .page-title h1 {
        font-size: 50px;
    }
    #about-page {

        .container-fluid:nth-of-type(1) {
            padding-top: 50%;
            padding-bottom: 20%;
        }
        .heading-div {
            width: 100%;
            margin-bottom: 50px;
        }
        h3{
            text-align: center;
        }
        .serif-400-small {
            font-size: 20px;
            line-height: 28px;
            margin-top: 20px;
            margin-bottom: 50px;
        }
        .direction-f{
            -webkit-box-orient: vertical;
            -webkit-box-direction: reverse;
                -ms-flex-direction: column-reverse;
                    flex-direction: column-reverse;
        }
        .our-mission-bg {
            .content-box-1 {
                padding: 0px;
            }
        }
        .our-mission-bg {
            & .content-box-1 {
                .serif-400-big {
                    font-size: 25px;
                    line-height: 35px;
                }
            }
        }

        .core-values-bg {
            padding-bottom: 0px;
            .heading-div {
                margin-left: 0px;
                    
            }
        }
        .core-value-box {
            padding: 19px 15px;
        }
    }
    #services-page {
        .container-fluid:nth-of-type(1) {
            padding-top: 50%;
            padding-bottom: 20%;
        }

        .quote-bg h2 {
            font-size: 30px;
        }
        .heading-div {
            width: 100%;
            margin-bottom: 50px;
        }
        h3{
            text-align: center;
        }
        /* .btn-primary-red {
            margin-left: 20%;
        } */
        .service-card-div {
            padding-left: 5%;
            padding-right: 5%;
            .btn-pos{
                text-align: center;
            }
        }
        .service-card-div-right {
            border-left: 1px solid rgb(255 255 255 / 31%);
        }
    }

    #case-study-page {
        .direction-f-custom{
            -webkit-box-orient: vertical;
            -webkit-box-direction: reverse;
                -ms-flex-direction: column-reverse;
                    flex-direction: column-reverse;
        }
        .container-fluid:nth-of-type(1) {
            padding-top: 50%;
            padding-bottom: 20%;
        }
        .container {
            text-align: center;
            .content {
                padding: 0px 0px;
            }
        }
        .container-fluid:nth-of-type(3) {
            .p-45 {
                padding: 16px;
            }
            .content-box-right {
                padding:4px;
                padding-left: 0px;
            }
            .content-box-left {
                padding: 14px;
                padding-left: 0px;
            }
        }
    }

    #careers-page {
        .container-fluid:nth-of-type(1) {
            padding-top: 50%;
            padding-bottom: 20%;
        }
    }

    #contact-page {
        .container-fluid:nth-of-type(1) {
            padding-top: 50%;
            padding-bottom: 20%;
        }
        .serif-h2 {
            font-size: 27px;
        }
        .contact-form {
            .form-label {
                margin-bottom: 0px;
            }
        }
    }

    .modal {
        position: fixed;
        top: 5%;
    }

    #QuoteSlideout {
        width: 80%;
    }

    .services-detail {
        padding-top: 50% !important;
        .content-box:not(.ms-3)  {
            padding: 10px;
            text-align: center;
            align-items: center;
            .pe-5 {
                padding-right:0px !important;
            }
        }

        .content-box.ms-3{
            justify-content: flex-start;
        }

        .card-box {
            padding: 32% 30px;
        }

        .hero-section:nth-of-type(1) {
            border-bottom-left-radius: 40px;
            border-bottom-right-radius: 40px;
        }

        .container-descriptions{
            h2 {
                text-align: center;
            }
        }
    }

    #case-study-detail {
        h1 {
            font-size: 50px;
            line-height: 60px;
            width: 100%;
            padding: 30% 0 15% 0;
        }
        & .case-main-heading {
            .info-box {
                padding: 20px;
                border-radius: 8px;
                max-width: 100%;
                width: auto;
                position: unset;
                margin-bottom: 20px;
            }
        }

        .project-content {
            padding: 0 0%;
        }

        .project-content {
            padding: 0 3%;
        }
        .container-custom {
            padding: 0px 3%;
        }
        .project-layout {
            padding: 3%;
        }
    }

    footer {
        .btn-red {
            margin-bottom: 15px;
        }
    }
    
}


@media (max-width: 575.98px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    .container {
        padding: 0px 0%;
    }
    .navbar-toggler {
        width: 57%;
    }
    .hero {
        h1 {
            font-size: 60px;
        }
    }

    .offer-div {
        .heading-div {
            margin-bottom: 30px;
            width: 100%;
            text-align: center;
        }
    }
    .hero {
        padding-bottom: 0px;
        text-align: center;
        .hero-buttons {
            padding-top: 25px;
            display: inline;
        }
        .hero-buttons .btn {
            margin-right:0px;
            
        }
        .hero-content {
            margin-top: 60%;
        }
        p{
            font-size: 20px !important;
            margin-top: 30px;
            margin-bottom: 30px;
        }
    }

    .offer-div {
        .text-main {
            font-size: 20px;
            color: white;
        }
        .hero-buttons{
            margin-bottom: 50px;
            margin-top: 10px !important;
        }
    }

    #quoteBtn {
        position: fixed;
        z-index: 10000;
        right:none;
        top: 70%;
        width: 138px;
        float: left;
        background: var(--primary-color);
        text-align: center;
        padding: 6px 0px;
        color: #ffffff;
        text-decoration: none;
        margin-right: 5px;
        font-size: 14px;
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .clients-bg {
        .heading-div {
            background: white;
            width: 100%;
            text-align: center;
        }
    }

    .clients-bg {
        .clients {
            display: block;
            width: 100%;        }
    }

    .clients-bg {
        & .clients {
            .client-item {
                width: 100%;
                text-align: center;
                border: 0.1px solid #545353;
                padding: 40px;
                border-left:0.1px solid #545353;
            }
        }
    }


    .projects-div {
        margin-bottom: 20px;
        .slider-wrapper {
            position: relative;
            width: 100%;
        }
        .custom-prev {
            left: -29px;
        }
        .custom-next {
            right: -29px;
        }
    }

    .hero {
        .features-point {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            gap: 3px;
            padding-left: 18px;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
        }
    }

    .hero {
        .moveLine {
            height: 30px;
            width: 4px;
        }

        .features-point p{
            margin-top: 4px;
            margin-bottom: 0px;
            font-size: 14px !important;
        } 
    }

    .services-items {
        display: block;
        -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
    }

    .services-items {
        text-align: center;
        .item {
            display: -ms-grid;
            display: grid;
            gap: 20px;
            margin-bottom: 50px;
            padding-right: 0%;
            padding: 50px;
            border-radius: 5px;
            border: 1px solid #ffffff;
        }

    }
    .services-items .item:last-of-type {
      margin-bottom: 0px;
    }
    .services-div .heading-div{
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
    }

    .testimonials-div {
        margin-top: 50px;
        .heading-div {
            margin-bottom: 20px;
            width: 100%;
            text-align: center;
        }
    }
    .services-div .hero-buttons{
        text-align: center;
    }

    .projects-div {
        h2 {
            font-size: 40px;
            text-align: center;
            font-weight: 600;
            padding-top: 10%;
        }
    }

    .slider-div .image-wrapper {
        text-align: center;
    }

    .faq-section {
        height: auto !important;
        margin-top: 20px;

        .faq-content h2{
            font-size: 40px;
            text-align: center;
        }
        .nav {
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
        }
    }
    .services-bg {
        background-size: auto !important;
    }

    footer{
        text-align: center;
    }
    #quoteBtn {
        padding: 14px 0px;
        top: 50%;
    }

    .hero {
        .hero-buttons {
            padding-top: 42px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-pack: distribute;
                justify-content: space-around;
        }

        .btn-dark {
            padding: 12px 28px !important;
        }
    }

    #about-page {
        .core-value-box {
            padding: 50px;
            padding-bottom:0px;
        }

        .serif-400-small {
            margin-top: 10px;
            margin-bottom: 100px;
            text-align: left;
        }
        .p-pos.serif-400-small {
            text-align: left;
        }
        img {
            padding-top: 30px;
            padding-bottom: 50px;
        }
    }
    footer {
        h5 {
            margin-top: 20px;
        }

        .btn-light {
            padding: 5px 15px;
            margin-right: 5px;
        }
    .modal.show .modal-dialog {
        scale: 0.8;
    }
    #QuoteSlideout {
        width: 100%;
    }
}
  

@media (max-width: 440.98px) {
    .page-title h1 {
        font-size: 40px;
    }

    #case-study-detail {
        h1 {
            font-size: 40px;
        }
        .heading-title {
            font-size: 28px;
        }
    }
}
}