/* ---------------------------------- */
/* Basic Setup */
/* ---------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;500;700&family=Markazi+Text:wght@500;700&display=swap');

*, ::after, ::before {
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

html {
     background-color: #fff;
     color: #666;
     font-family: 'Poppins', sans-serif;
     text-rendering: optimizeLegibility;

}

/* ---------------------------------- */
/* Reusable Components */
/* ---------------------------------- */

.row {
    max-width: 1140px;
    margin: 0 auto;
}

.vehicle_result {

    width: 100%;
    height: auto;

}

.result_para {

    font-size: 150%;
    text-align: left;
    font-weight: 400;
    margin-top: 30px;
    line-height: 45px;
}

.result_para2 {

    font-size: 100%;
    text-align: left;
    font-weight: 300;
    margin-top: 30px;
    line-height: 45px;
}

/* ---- Headings ------ */

h1 {

    margin: 0;
    color: #666;
    font-size: 2rem;
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 30px;
}


h2 {

    margin-top: 15px;
    color: #666;
    font-size: 150%;
    font-weight: 300;
    letter-spacing: 1px;
    word-spacing: 4px;
    text-align: center;
    line-height: 45px;

}

.custom-h4{
    font-weight: 300;
    font-size: 1.2rem;
}

.custom-box{
    padding: 5px;
    border-radius: 12px;
    background-color: #f5f5f5;
    border: 1px dashed #ccc;
}

.custom-box~.custom-box{
    margin-top: 10px;
}

.item-box h5{
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 5px;
}

.item-box-sub{
    margin-bottom: 10px;
    font-size: .75rem;
    font-weight: 300;
}

.hide{
    display: none !important;
}

.results-block{
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    max-height: 320px;
    overflow-y: auto;
}

/*---- app icons ----- */

.appIcons {

    padding-top: 10%;

}

/*---- loader ----- */

.loader {

    margin-top: 40px;
    width: 150px;
    height: auto;

}

.back{
    margin-top: 50px;
}

.back a {

    color: #FF8000;
    font-size: 20px;
    text-decoration: underline;
    font-weight: 500;
    margin-top: 50px;

}

.back img {

    width:40px;
    height: auto;
    vertical-align: bottom;
    margin-right: 10px;

}

a:link, a:active, a:visited {

    color: #666;
    text-decoration: none;
    transition: color 2.0s;


}

a:hover {

    color: #022E48;
}



/* ---------------------------------- */
/* header */
/* ---------------------------------- */

header {
    position:relative;
    background-image: var(--header-bg);
    height: 100vh;
    background-position: bottom center;
    background-repeat: no-repeat;
}

header::before{
    content: "";
    background: rgba(255,255,255,1);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 0.7;
}


.hero-text-box {
    position: absolute;
    width: 1140px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

}

.logo {
    height: auto;
    width: 350px;
    margin-bottom: 30px;
}




/* ---------------------------------- */
/* buttons */
/* ---------------------------------- */

.btn {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 400;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 30px;
}

.btn-2 {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 400;
    border-radius: 5px;
    text-decoration: none;
}

.btn-full:link,
.btn-full:visited{
    background-color: #FF8000;
    color: #fff;
    transition: background-color 0.2s, color 0.2s;
}

.btn-full:hover{
    background-color:#022E48;
    color:#fff;
}

.btn-home{
    background-color: #FF8000;
    color: #fff;
    transition: background-color 0.2s, color 0.2s;
    border: none;
}

.btn-home:hover{
    background-color:#022E48;
    color:#fff;
}

.home-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}



/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .div_layout_even {
        width: 45%;
    }
}

@media screen and (max-width: 768px) {
    .div_layout_even {
        width: 100%;
        float: none;
    }

    .home-inputs {
        flex-direction: column;
    }
}


/* arabic */
html[lang=ar] body{
    direction:rtl;
    font-family: 'Cairo', sans-serif;
    font-family: 'Markazi Text', serif;
}

.ar-text{
    direction:rtl;
    font-family: 'Cairo', sans-serif;
    font-family: 'Markazi Text', serif;
}

.en-text{
    direction:ltr;
    font-family: 'Poppins', sans-serif;
}

/* ---------------------------------- */
/* form */
/* ---------------------------------- */

.form-wrapper {
    width: 100%;
    padding: 15px;

}

.form-wrapper input , select{
    width: 95%;
    height: 50px;
    padding: 10px 20px;
    border: 1px solid #ccc;
    background: #eee;
    -moz-border-radius: 3px 0 0 3px;
    -webkit-border-radius: 3px 0 0 3px;
    border-radius: 3px 0 0 3px;
}

.form-wrapper input:focus {
    outline: 0;
    background: #fff;
    -moz-box-shadow: 0 0 2px rgba(0,0,0,.8) inset;
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,.8) inset;
    box-shadow: 0 0 2px rgba(0,0,0,.8) inset;
}

.form-wrapper input::-webkit-input-placeholder {
    color: #999;
    font-weight: normal;
    font-style: italic;

}

.form-wrapper input:-moz-placeholder {
    color: #999;
    font-weight: normal;
    font-style: italic;
}

.form-wrapper input:-ms-input-placeholder {
    color: #999;
    font-weight: normal;
    font-style: italic;
}

.div_layout {

    width: 30%;
    float: left;
}

.div_layout_right {

    width: 30%;
    float: left;
}






svg.new-icon{
    width: 14px;
    fill:#666;
}

svg.new-emoji{
    width: 120px;
    fill:#666;
}

.mb-10{
    margin-bottom: 10px;
}


.lang-btn{
    position: fixed;
    top: 40px;
    right: 75px;
}

.lang-btn span{
    padding-left: 7px;
}


@media (max-width: 768px){
    .results-block{
        width: 100%;
    }
}


