html {
    box-sizing: border-box;
}
* {
    box-sizing: inherit;
}
  
body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    font-size: 100%;
    background-image: url(../img/clients/background.jpg);
    background-size: cover;
    padding-top: 134px;
    margin: 0;
    color: #002361;
}

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0; 
    z-index: 1030;
}

header .company {
    background: #002D74;
}

header h1 {
    color: white;
    text-align: center;
    font-size: 17px;
    padding: 10px 5px 10px 5px;    
    margin-bottom: 0;
}

.navbar-nav {
    margin: auto;
} 
.navbar-nav li a {
    margin: 2px;
    font-size: 18px;
    font-weight: 600;
    /* color: #002361 !important;  */
}    

.brand-img {
    margin-left: 10px;
}

#contact-info1 {
    display: none;
}

.clients-box {
    padding-top: 76px; 
}
.clients-heading h2 {
    text-align: center;
    font-weight: 600;
}
.clients-heading p {
    text-align: center;
    font-weight: 600;
    margin-top: 13px;
}
.client-logos {
    display: flex;
    justify-content: space-evenly;    
    flex-wrap: wrap;
}
.client-logos img {
    margin: 2px;
    width: 137px;
}
.testimonial-box {
    background-image: url(../img/red-arrow.svg);
    background-position: 99% 57px;
    background-size: 21%;
    background-repeat: no-repeat;
    margin: 30px 0;
    /* border: solid orangered;    */
}
.testimonial-heading h2 {
    text-align: center;
    font-weight: 600;    
}
#carousel-large {
    display: none;
} 
.testimonial-carousel {
    padding: 22px 0 0;    
    z-index: -1;
}

footer {
    margin-top: 50px;
    background: #0D295D;
    color: white;  
    display: flex;
    flex-wrap: wrap;    
}
footer h3 {
    margin: 18px 0;
}
.contact-info2 {
    margin: 0 auto;
}
.phone2 {
    margin-top: 13px;
}
.white-logo {
    margin: 20px auto 30px;
}
.white-logo img {
    width: 140px;    
}
.location  {
    display: none;
}

.copyright-bar {
    background: #0C1B3F;
    color: white;    
}
.copyright-bar p {
    text-align: center;
    font-style: italic;
    padding: 12px;
    margin-bottom: 0;
} 

/* @media screen and (min-width: 600px) {
    nav .contact {  
        order: 1; */
         /*to make contact to be last flex item*/
    /* }
}     */

@media screen and (min-width: 760px)  {
    
    body {
        background-size: 1089px;
        background-position: center 46px;
        background-repeat: no-repeat;
    }
    
    header h1 {
        font-size: 24px;
    }

    .navbar-nav li a {
        margin:  15px;
        letter-spacing: 1px;           
    }
    
    .clients-box {
        width: 700px;
        margin: auto;
    }
    .client-logos img {
        width: 150px;
        margin: 20px;        
    }

    .testimonial-box {
        width: 600px;
        margin: 26px auto;
    }
        
    footer {
        align-items: center;
    }
    .white-logo img {
         width: 180px;    
     }
    .location {
        display:contents;
        display: unset;
        margin: 0 auto 20px;
    }
    
    
}

@media screen and (min-width: 992px) {
    #contact-info1 {
        display:contents;
        display: unset;
    }    
}


@media screen and (min-width: 1020px) {
    
    body {
        background-size: 1200px;
        background-position: center -293px;
    }

    header h1 {
        font-size: 26px;
    }

    main {
        background-image: url(../img/clients/redline.svg);   
        background-position: center 92px;
        background-size: 1000px;
        background-repeat: no-repeat; 
        margin: 0;       
    }   
    
    .clients-box {
        width: 950px;
        height: 936px;
    }
    .clients-heading h2 {
        margin-right: 68px;
        letter-spacing: 2px;
    }
    .clients-heading p {
        margin-right: 68px;
        letter-spacing: 1px;
    }
        
    .client-logos {
        margin-top: 75px;
        margin-right: 66px;        
        /* border: solid orange;     */
    }
    .client-logos img {
        width: 153px;
        margin: -2px 34px;
    }
    #islington {
        width: 180px;
        margin: 0 15px;
    } 
    #luxury {
        width: 240px;
        margin: 0;
    }

    .testimonial-box {
        width: 970px;
        margin: auto;
        margin-top: -2px;
        background-image: url(../img/red-arrow.svg);
        background-position: 88% 25%;
        background-size: 110px;
        background-repeat: no-repeat;        
    }
    .testimonial-heading h2 {
        text-align: center;
        margin-right: 70px;
        font-weight: 600;
        letter-spacing: 2px;
    }
    #carousel-small {
        display: none;
    }
    #carousel-large {
        display: unset;
    }
    .testimonial-carousel {
        width: 863px;
        padding-top: 38px;
        z-index: -1;
        /* border: solid orange;    */
    }

    

    footer {
        height: 280px;
        margin-top: 100px;
        background: #0D295D;
        color: white;
        display: flex;
        justify-content:space-around;
        align-items: center;
    }
    .contact-info2 {
        padding-bottom: 32px;
    }
    .phone2 {
        margin-top: 13px;
    }
    .location h3 {
        margin-bottom: 8px;

    }

    .copyright-bar {
        background: #0C1B3F;
        color: white;    
    }
    .copyright-bar p {
        height: 50px;
        text-align: center;
        font-style: italic;
        padding-top: 12px;
        margin-bottom: 0;
    } 

@media screen and (min-width: 1440px) {
    nav a img {
        margin-left: 50px;
    }

    .navbar-nav li a {
        margin: 0 30px;
        letter-spacing: 2px;           
    }

    #contact-info1 {
        margin-right: 50px;
    }
}    

@media screen and (min-width: 1920px) {
    nav a img {
        width: 135px;
        margin-left: 230px;
    }
    
    #contact-info1 {
        margin-right: 230px;
    }
} 

}        

