/* Global site-wide styling */

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

:root{
    /* colors */
    --theme-red-dark: #5e0f0e;
    --theme-red-light: #990100;
    --theme-black: #212121;
    --theme-white: #fbfbfb;
}

html{
    width: 100%;
}

body{
    font-family: 'Roboto', sans-serif;
    color: rgb(34, 33, 33);
}

ul{
    list-style-type: none;
}

a{
    text-decoration: none;
    font-weight: 450;
    color:rgb(39, 39, 39);
}

h1{
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.45;
    margin: 0.6em 0;
}

h2{
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1.35;
    margin: 0.6em 0;
}

h3{
    font-size: 1em;
    font-weight: 300;
    line-height: 1.45;
    margin: 0.4em 0;
}

p{
    font-size: 0.9em;
    margin: 10px 0;
    line-height: 1.45;
}



img {
    width: 100%;
}

/* flex and container classes */

.container{
    max-width: 1200px;
    margin: 0 auto;
    overflow: auto;
    padding: 0 5px;
}

.overflow-container{
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    padding: 0 5px;
}

.flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

/* --------------MAIN CONTENT----------------- */

/* --------------HERO SECTION BLOCK 1----------------- */

.block1-text h1{
    font-size: 1.5em;
}

.mainbtn{
    font-size: 0.9em;
    font-weight: 550;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    margin: 10px 10px 10px 0;
    padding: 10px 12px;
    border-radius: 5px;
}

#redbtn{
    color: white;
    background-color: var(--theme-red-dark);
    border: 2px solid var(--theme-red-dark);
    transition: 0.3s;
}

#whitebtn{
    transition:0.3s;
    border: 2px solid var(--theme-red-dark);
    color: var(--theme-red-dark);
    background-color: rgba(255, 255, 255, 0.35);
}

a#redbtn:hover, a#whitebtn:hover{
    transition:0.3s;
    color: var(--theme-white);
    background-color: var(--theme-black);
    border: 2px solid var(--theme-black);
}

/* --------------ABOUT US BLOCK 2----------------- */
.block2{
    background-color: var(--theme-red-dark);
    color: var(--theme-white);
    text-align: center;
    padding: 3em 0.5em;
}

/* --------------OUR FEATURES ICONS BLOCK 3----------------- */
.block3{
    width: 100%;
    padding: 45px 0em;
}

.feature-icons{
    display: flex;
    justify-content:space-around;
    padding: 10px 0;
}

.feature-icon-box{
    width: 200px;
    text-align: center;
}

.feature-icon-box h3{
    font-weight: 600;
}

.site-survey-icon{
    width: 130px;
}

/* --------------TESTIMONIALS BLOCK 4----------------- */
.block4{
    width: 100%;
    background-color: var(--theme-red-dark);
    color: var(--theme-white);
    padding: 20px 0;
    text-align: center;
}

.testimonials{
    display: flex;
    justify-content:space-around;
    align-items: center;
    padding: 30px 0px;
}

.testimonial-text{
    width: 550px;
    text-align: center;
}

.testimonial-text img{
    width: 150px;
}
/* --------------DEALERSHIPS AND CLIENTS BLOCK 5----------------- */

.block5{
    background-color: var(--theme-white);
    color: var(--theme-black);
    padding: 20px 0;
    width: 100%;
    text-align: center;
}

.dealerships-and-clients{
    display: flex;
    flex-direction:column;
    flex-flow: wrap;
}

.dealerships-and-clients div{
    width: 50%;
    text-align: center;
}

.dealerships, .clients{
    width: 100% !important;
}

.dealership-logo, .client-logos {
    width: 100px !important;
    padding: 2px 0px;
}

/* --------------FAQ BLOCK 6----------------- */

.block6{
    width: 100%;
    background-color: var(--theme-red-dark);
    color: var(--theme-white);
    padding: 20px 0px 40px 0px;
}

.faq-container{
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline !important;
    width: 100%;
}

.faq-container div{
    width: 50%;
    padding: 0 20px;
}

.block6 h2{
    text-align: center;
    font-weight: 600;
}

/* --------------FORM BLOCK 7----------------- */

.block7{
    background-color: var(--theme-white);
    width: 100%;
    padding: 20px 0px 40px 0px;
}

.customer-requirement-form{
    padding:10px 0;
}

.customer-requirement-form h2{
    text-align: center;
    padding-bottom: 10px;
}

.feedback-input {
    color:var(--theme-black);
    font-family: "Roboto", serif;
    font-weight:500;
    font-size: 15px;
    border-radius: 5px;
    line-height: 22px;
    background-color: transparent;
    border:1px solid var(--theme-red-dark);
    transition: all 0.3s;
    padding: 13px;
    margin-bottom: 15px;
    width:100%;
    box-sizing: border-box;
    outline:0;
}

.feedback-input:focus { border:2px solid var(--theme-red-dark); }

textarea {
    height: 150px;
    line-height: 150%;
    resize:vertical;
}

[type="submit"] {
    font-family:sans-serif;
    background:var(--theme-red-dark);
    border-radius:3px;
    border:0;
    cursor:pointer;
    color:white;
    font-size:20px;
    padding: 10px 25px;
    transition: all 0.3s;
    margin-top:-4px;
    font-weight:700;
}

[type="submit"]:hover { background:var(--theme-black); }

.app-footer-container{
    display: none;
}

/* ====== MOBILE FOOTER ============ */

 /* small devices (phones, 767px and down) */
 @media only screen and (max-width: 767px) {
    .navbar ul{
        display: none;
    }
   
    .app-footer-container{
        display: flex;
        flex-direction: column;
    }
   
    .app-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        flex-shrink: 0;
        background: #f4f4f4;
        color: #444;
        padding: 0.75em;
        font-size: 0.55em;
        margin-top: 0.55em;
    }
    
    .app-footer ul {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
    
    .app-footer ul li {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .app-footer ul li i {
        font-size: 4em;
    }

    .footer-about{
        background-color: grey;
    }

    .fa-home{
        color: var(--theme-red-light);
    }

    h1{
        font-size: 1.3em;
    }
    
    h2{
        font-size: 1.1em;
    }
    
    h3{
        font-size: 0.95em;
    }
    
    p{
        font-size: 0.85em;
        line-height: 1.67;
    }

    .all-page-second-header{
        display: none;
    }

    .block1{
        width: 100%;
    }
    
    .hero{
        padding: 3em 0;
        background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.5),rgba(42, 21, 26, 0.35), rgba(42, 21, 25, 0.500)), url('/images/website_content/test2.webp');
        background-size: cover;
    }

    .block1-text h1, .block1-text h2{
        font-size: 1.3em;
        padding: 0.5em 0.8em;
        text-align: center;
        line-height: 1.3em;
        color: var(--theme-white);
        text-shadow: 2px 2px 15px rgba(24, 24, 24, 0.555)
    }

    .main-buttons{
        padding: 10px 5px 35px 5px;
        display: flex;
        align-items: flex-start;

    }
    
    .mainbtn{
        font-weight:bolder;
        text-align: center;
        font-size:1em;
        width: 20em;
        line-height: 1;
        box-shadow: 0 0 5px 0.25px rgba(0, 0, 0, 0.561);
    }
    
    #redbtn{
        width: 30em;
        margin-left: 1em;
    }

    #whitebtn{
        margin-right: 1em;
        background-color: rgba(255, 255, 255, 0.65);
    }

/* --------------ABOUT US BLOCK 2----------------- */

/* --------------OUR FEATURES ICONS BLOCK 3----------------- */

.feature-icons{
    flex-wrap: wrap;
    padding: 1em;
}

.feature-icon-box{
    padding: 1em;
    width: 12em;
}

.feature-icon-box h3{
    font-size: 0.9em;
}

.feature-icon-box p{
    line-height: 1.4;
    font-size: 0.75em;
}

/* --------------BLOCK 4----------------- */

    .block4{
        width: 100%;
    }

    .testimonials{
        flex-wrap: wrap;
        padding: 1em;
    }

    .testimonial-text{
        padding: 0.85em;
    }
/* --------------BLOCK 5----------------- */

    .dealerships-and-clients{
        flex-direction: row;
    }

    .dealerships-and-clients div h2{
        font-weight: bold !important;
        font-size: 1.2em;
    }

    .dealerships-and-clients div{
        width: 100%;
        padding: 1.2em 0;
    }

    .dealerships, .clients{
        padding: 0;
    }

    .dealership-logo, .client-logos{
        width: 10em !important;
        padding: 0.7em;
    }

/* --------------BLOCK 6----------------- */

    .faq-container{
        flex-direction: column;
    }

    .faq-container div{
        width: 100%;
        padding: 1.2em 0.7em;
    }

    .faq-container .question{
        font-size: 1.2em;
        font-weight: bold;
        line-height: 1.4;
    }


/* --------------BLOCK 7----------------- */

    .customer-requirement-form{
        padding: 1.2em;
    }
}


 /* Small devices (portrait tablets and large phones, 600px and up) */
 @media only screen and (min-width: 600px) {
 }
 
 /* Medium devices (landscape tablets, 768px and up) */
 @media only screen and (min-width: 768px) {
     .block1{
     background-image: url('/images/website_content/multiple-products-cropped.jpg');
     width: 100%;
     height: 32em;
     background-size: cover;
     background-position: center;
    }

    .block1-text{
        margin-right: 40em;
        margin-top: 10em;
    }

    .block1-text{
        text-align: left;
    }

    .dealerships, .clients{
        display: flex;
        padding: 0 50px;
        display: flex;
        flex-direction: row;
        flex-flow: wrap;
        justify-content: space-around;
    }
 }
 
 /* Large devices (laptops/desktops, 992px and up) */
 @media only screen and (min-width: 992px) {
     
 }
 
 /* Extra large devices (large laptops and desktops, 1200px and up) */
 @media only screen and (min-width: 1200px) {
     
 } 

 @media (max-width: 500px){
    .mainbtn{
        font-size: 0.75em;
        line-height: 1.8;
        font-weight:bold;
    }
    
    .feature-icon-box{
        padding: 0.9em;
        width: 44vw;
    }
    
    .feature-icon-box h3{
        font-size: 0.75em;
    }
    
    .feature-icon-box p{
        line-height: 1.35;
        font-size: 0.65em;
    }

}