:root {
    --blue: #1e90ff;
    --headerBg: #EEEEEE;
    --headerColor: black;
    --footerColor: #f0f0f0;
    --footerBg: #000;
    --headerBgSub: #fff;
    --hoverMenu: #25826f;
    --devisBg: #f4f7f8;
    --secondFooterBG: #000
}
*{
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    font-family: sans-serif;
}
h3 {
    font-size: 1.25em;
}
h1, h2, h3 {
    padding: 10px;
}
header{
    background-color: var(--headerBg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: relative;
}
.toggle-button{
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.toggle-button .bar{
    width: 35px;
    height: 4px;
    border-radius: 5px;
    background-color: var(--headerColor);
    margin: 3px 0px;

}
.nav-links{
    list-style: none;
    display: flex;
}
.nav-links li{
    margin-right: 25px;
}
.nav-links li a{
    font-size: 17px;
    color: var(--headerColor);
    text-decoration: none;
    transition: 0.4s ease;
}
.nav-links li a:hover{
    color: var(--hoverMenu);
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 10px auto auto;
}
.container ul, .container ol{
    padding: inherit;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 90%;
}
.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}
.phone-number a{
    border: 2px solid black;
    border-radius: 25px;
    padding: 15px;
    font-weight: bold;
    color: #145889;
    text-decoration-line: none;
}
.phone-number a:hover{
    color: white;
    background-color: #145889;
    border-color: #0ebbef;
}
.footer {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    padding: 30px 0 10px 0;
    width: 100% !important;
    background-color: var(--footerBg);
    position: relative;
    color: var(--footerColor);
    padding-bottom: 20px;
}
.second-footer{
    background-color: var(--secondFooterBG);
    margin-top: -1px;
    padding-bottom: 10px;
    border-top: 2px solid white;
}
.second-footer .copy-right{
    color: white;
    line-height: 50px;
}
.second-footer a{
    color: lightsteelblue;
    text-decoration: none;

    line-height: 50px;
}
/*footer*/
.contact_footer .text,.footer-menu .text{
    text-align: center;
    font-size: 41px;
    font-weight: 600;
    font-family: sans-serif;
}
.two-in-one{
    display: flex;
}
.two-in-one .input-data:first-child{
    margin-right: 10px;
}
.two-in-one .input-data:last-child{
    margin-left: 10px;
}
.contact_form .input-data,
.form-devis .input-data,
.form-devis .select-data,
.form-rappel .input-data,
.form-rappel .select-data{
    width: 100%;
    height: 40px;
    display: flex;
    position: relative;
}
.contact_form .input-data{
    margin: 10px 0;
}
.form-devis .input-data, .form-rappel .input-data{
    margin: 15px 0;
}
.form-devis .select-data, .form-rappel .select-data{
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.form-devis .select-data label, .form-rappel .select-data label{
    margin-bottom: 10px;
}
.contact_form .textarea{
    height: 70px;
    margin-top: 25px;
}
.contact_form .input-data input,
.contact_form .textarea textarea,
.form-devis .input-data input,
.form-rappel .input-data input{
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    font-size: 17px;
    border-bottom: 2px solid rgba(0,0,0, 0.12);
}
.contact_form .input-data input{
    border-bottom: 2px solid rgb(255 255 255 / 22%);
}

.contact_form .input-data input,
.contact_form .textarea textarea{
    background-color: var(--footerBg);
    color: var(--footerColor);
}
.form-devis .input-data input,
.form-rappel .input-data input{
    background-color: var(--devisBg);
}
.contact_form .input-data input:focus ~ label,
.contact_form .input-data input:valid ~ label,
.form-devis .input-data input:focus ~ label,
.form-devis .input-data input:valid ~ label,
.form-rappel .input-data input:focus ~ label,
.form-rappel .input-data input:valid ~ label{
    transform: translateY(-20px);
    font-size: 14px;
    color: #3498db;
}
.form-devis .select-data select, .form-rappel .select-data select{
    width: 100%;
    height: calc(1.5em + 1.5rem + 0px);
    padding-left: 10px;
    border-radius: 4px;
}
.form-devis .date-data{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.form-devis .date-data label{
    font-family: sans-serif;
}
.form-devis .date-data input{
    height: 35px;
    min-width: 210px;
    text-align: center;
    border: 1px solid rgba(37, 55, 70, 0.5);
    border-radius: 2px;
    font-size: 15px;
}
.form-devis .next-btn button, .form-rappel .submit-btn button{
    background-color: #0a5cff;
    color: #f0f0f0;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: large;
    font-weight: bold;
}
.form-devis .next-btn button:hover {
    background-color: #0056b3;
}
.form-devis .next-btn .input-data, .form-rappel .submit-btn .input-data{
    justify-content: center;
}
.textarea textarea:focus ~ label,
.textarea textarea:valid ~ label{
    transform: translateY(-60px);
    font-size: 14px;
    color: #3498db;
}
.contact_form .textarea textarea{
    resize: none;
    padding-top: 10px;
}
.input-data label{
    position: absolute;
    pointer-events: none;
    bottom: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.footer .input-data label{
    font-weight: bold;
}
.input-data .textarea label{
    width: 100%;
    bottom: 40px;
}
.input-data .underline{
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
}
.input-data .underline:before{
    position: absolute;
    content: "";
    height: 2px;
    width: 100%;
    background: #3498db;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}
.input-data input:focus ~ .underline:before,
.input-data input:valid ~ .underline:before,
.textarea textarea:focus ~ .underline:before,
.textarea textarea:valid ~ .underline:before{
    transform: scale(1);
}
.contact_form .submit-btn .input-data,
.form-devis .submit-btn .input-data{
    overflow: hidden;
    height: 45px!important;
}
.contact_form .submit-btn .input-data button,
.form-devis .submit-btn .input-data button{
    background: #fff;
    border: none;
    color: black;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}
.footer hr {
    border-top-color: #bbb;
    opacity: 0.5;
}
.footer .container{
    margin-top: 50px;
}
.second-footer .footer-copy{
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    width: 95%;
    margin: auto;
}
.footer .menu-group{
    display: block;
    width: 90%;
    max-width: 800px;
    margin: auto;
    margin-top: 50px;
    border-top: 1px solid rgba(37, 55, 70, 0.5);
    list-style: none;
    text-align: center;
}
.footer .menu-group li {
    display: inline-block;
    width: 50%;
    float: left;
    color: #E5E1D1;
    line-height: 40px;
    border-bottom: 1px solid rgba(37, 55, 70, 0.5);
}
.footer .menu-group li:nth-of-type(even) {
    border-left: 1px solid rgba(37, 55, 70, 0.5);
}
.footer .menu-group li a {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    color: #E5E1D1;
    font-size: 13px;
}
.footer .menu-group li a:hover {
    color: #a7b5d9;
}
.footer .row-footer2{
    display: flex;
    justify-content: space-around;
}
.footer #footer-dropMenu{
    background-color: white;
    border-radius: 5px;
    color: #000;
    cursor: pointer;
    padding: 1rem;
    margin-top: 1rem;
    width: 100%;
    border: none;
}
.footer #footer-menu-droped{
    margin-top: -1px;
}
/*icons*/
.ir {
    display: block;
    overflow: visible;
    padding: 0 0 100%;
    position: relative;
    height: 0;
    width: 100%;
}

.ir > * {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
.soc {
    display: block;
    font-size: 0;
    list-style: none;
    margin: 0 auto;
    text-align: center;
}
.soc li {
    display: inline-block;
    margin: 0.2rem;
}
.soc a, .soc svg {
    display: block;
}
.soc a {
    height: 2.3rem;
    width: 2.3rem;
}
.icon-email:hover, .icon-facebook:hover, .icon-instagram:hover, .icon-twitter:hover, .icon-youtube:hover, .icon-trustpilot:hover{
    border-radius: 100%;
    fill: #0e1a25;
    transform: scale(1.25);
    transition: background-color 0.5s, transform 0.5s ease-out;
}
.icon-trustpilot {
    fill: #17a729;
}
.icon-trustpilot:hover {
    background: #17a729;
}
.icon-email {
    fill: #d9d926;
}
.icon-email:hover {
    background: #d9d926;
}
.icon-facebook {
    fill: #2626d9;
}
.icon-facebook:hover {
    background: #2626d9;
}
.icon-instagram {
    fill: #d99126;
}
.icon-instagram:hover {
    background: #d99126;
}
.icon-twitter {
    fill: #fff;
}
.icon-twitter:hover {
    background: #000;
}
.icon-youtube {
    fill: #d92626;
}
.icon-youtube:hover {
    background: #d92626;
}
.banner{
    display: flex;
    align-items: center;
    margin-top: 30px;
    box-shadow: 0 0 18px 4px rgba(0, 0, 0, 0.25);
}
.banner div{
    padding: 20px 0;
    text-align: center;
}
.banner p{
    padding: 10px;
    font-size: 0.9em !important;
    font-family: "system-ui", sans-serif !important;
    text-align: justify;
}
.banner h1{
    background: #145889;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.form-devis,.form-rappel{
    background-color: var(--devisBg);
    margin-top: 50px;
    padding: 30px;
}
.form-devis p{
    font-size: 0.9em !important;
    font-family: "system-ui", sans-serif !important;
    text-align: justify;
}
.form-devis h2, .form-rappel h2{
    margin: 0 0 30px 0;
    text-align: center;
}
.form-devis .devisLine {
    font-size: 1.5em !important;
    background-color: #fff;
    border: 1px solid gray;
    margin: 20px 0;
    border-radius: 7px;
    display: flex;
    justify-content: space-around;
    color: #002f4d;
    height: 50px;
    align-items: center;
    font-weight: bold;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
input[type=number] {
    -moz-appearance: textfield;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
.div-content{
    margin: 30px 0;
    border: 1px solid #bebcbc;
    padding: 20px;
    background-color: #eeeeee4d;
    width: 100%;
    line-height: 25px;
    text-align: justify;
}
.div-content h2{
    border-bottom: 1px solid black;
    width: 100%;
    margin-bottom: 15px;
}
/*loading*/
.form-devis, .form-rappel {
    position: relative;
}
#chargement{
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: rgb(100 98 123 / 48%);
    position: absolute;
    z-index: 99;
    top: 0px;
    left: 0px;
}
#chargement .loader{
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}
.loader .loading{
    background: #006f93;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    margin: 0 10px;
    animation: load 0.7s ease infinite;
}
.loader .loading.one{
    animation-delay: 0.3s;
}
.loader .loading.two{
    animation-delay: 0.4s;
}
.loader .loading.three{
    animation-delay: 0.5s;
}
@keyframes load{
    0%{
        width: 30px;
        height: 30px;
    }
    50%{
        width: 20px;
        height: 20px;

    }
}
@media screen and (max-width: 768px){
    .navbar{
        padding: 20px 25px;
    }
    .toggle-button{
        display: flex;
    }
    .nav-links{
        display: none;
        flex-direction: column;
        position: absolute;
        width: 100%;
        background-color: var(--headerBgSub);
        box-shadow: inset 0 0 8px 1px gray;
        padding: 25px;
        top: 100%;
        left: 0;
    }
    .nav-links.active{
        display: block;
    }
    .nav-links li{
        padding: 12px 0;
        border-bottom: 1px solid darkblue;
    }
    .container{
        width: 100%;
    }
    /* footer mobile */
    .contact_footer .text{
        font-size: 30px;
    }
    .contact_footer form{
        padding: 10px 0 0 0;
    }
    .contact_form .input-data{
        margin: 20px 0!important;
    }
    .row{
        width: 95%;
        flex-direction: column;
    }
    .col-md-6{
        max-width: 100%;
    }
    .form-devis .date-data {
    }
    .form-devis .date-data {
        flex-direction: column;
        align-items: normal;
    }
    .second-footer .footer-copy{
        flex-direction: column;
        margin: 0 20px;
        text-align: center;
    }
    .banner{
        flex-direction: column;
    }
    .form-devis, .form-rappel {
        padding: 10px;
    }
    .two-in-one {
        flex-direction: column;
    }
}