@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --main-red: #e52b23;
    --grey-text: grey;
    --grey-bg: #f4f4f4;
}

*{
    box-sizing: border-box;
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    /* box-shadow: 0 0 0 2px red; */
}

p{
    line-height: 1.6rem;
}

button.main-btn{
    padding: 12px;
    background-color: var(--main-red);
    border-radius: 8px;
    border: none;
    font-weight: bold;
    font-style: italic;
    color: white;
    font-size: 18px;
    cursor: pointer;
}
/*Header start*/
header{
    display: flex;
    align-items: end;
    position: relative;
    padding-top: 80px;
    padding-bottom: 48px;
    background-color: white;
}
.header-img{
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0.3;
    bottom: 0;
}
.burger{
    height: 64px;
    width: 64px;
    margin-right: 12px;
    display: none;
    fill: black;
    cursor: pointer;
    position: relative;
    z-index: 10;
}
.show-nav{
    display: flex !important;
    position: relative;
    z-index: 10 !important;
}
.logo-link{
    height: 140px;
    width: 160px;
    position: absolute;
}
.logo-link .logo{
    height: 120px;
    width: 140px;
    position: absolute;
    top: 36px;
}
nav{
    width: fit-content;
    margin: 0 auto;
}
nav ul{
    display: flex;
    position: relative;
    z-index: 5;
}

nav li a{
    font-size: 24px;
    font-weight: 500;
    color: var(--grey-text);
}

nav li a.active{
    color: var(--main-red);
}

nav li a:hover{
    color: var(--main-red);
}
nav li::after{
    content: " | ";
    padding: 12px;
}

nav li:last-child::after{
    content: "";
    padding: 0;
}

form.lang-btn-form{
    padding: 0;
    margin: 0;
    border: none;
    position: relative;
    top: -6px;
}
button.lang-btn{
    width: 60px;
    border-radius: 8px;
    padding: 8px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.lang-btn img{
    height: 24px;
    width: 40px;
}
.lang-btn span{
    font-size: 12px;
}
/*Header end*/

/*Hero start*/
.hero{
    height: 80vh;
    position: relative;
    background-color: #e52a23eb;
}
.overlay{
    position: absolute;
    height: 100%;
    width: 100%;
    /* background-color: #e52a23ef; */
    z-index: 1;
    background-color: #e52a23eb;
    opacity: 0.9;
}
.hero-bg-image{
    position: absolute;
    width: 36%;
    height: 100%;
    object-fit: cover;
    left: 0;
}
.hero-content{
    position: relative;
    z-index: 2;
    height: 100%;
}
.hero-content img{
    display: block;
    width: 33%;
    margin: 0 auto;
    height: 100%;
    object-fit: cover;
}
.hero-text{
    font-size: 48px;
    position: absolute;
    bottom: 28px;
    font-weight: 300;
    left: 20px;
    color: white;
    font-weight: 500;
}
.hero-text .letter-e{
    text-decoration: underline;
}
.hero-text .conseil{
    display: block;
    font-weight: normal;
}
/*Hero end*/
/*About hero start*/
.about-hero{
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    background: url(../assets/Images/about-hero.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.about-hero .text-content{
    position: absolute;
    z-index: 2;
    color: white;
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    bottom: 44px;
}

.about-hero .text{
    display: flex;
    flex-direction: column;
}

.about-hero p{
    text-wrap: balance;
    max-width: 432px;
}

.about-hero span{
    font-weight: bold;
    white-space: wrap;
    align-self: end;
}
/*About hero end*/
.section-content{
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 0;
}
.section-content h2{
    font-size: 32px;
    color: red;
    padding: 24px 0;
}

/*Values*/
.values-section-container{
    position: relative;
}
.values-tree-img{
    height: 100%;
    width: 100%;
    opacity: 0.1;
    object-fit: cover;
    object-position: right bottom;
    position: absolute;
}

.values{
    position: relative;
    z-index: 2;
}

.values-grid{
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
.values-box{
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.values-box img{
    height: 64px;
    width: 64px;
}

.values-box:nth-child(1) {
    border-top-left-radius: 0;
}

.values-box:nth-child(4){
    border-bottom-left-radius: 0;
}
.values-box:nth-child(3){
    border-top-right-radius: 0;
}
.values-box:nth-child(6){
    border-bottom-right-radius: 0;
}

.values-box h3{
    font-size: 24px;
    font-weight: normal;
}

/*Banner*/
.banner{
    background-color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px 0;
    text-align: center;
    text-wrap: balance;
}
.banner h2{
    font-size: 36px;
    max-width: 800px;
    color: white;
}

/*Reasons*/
.section-reasons-container{
    background-color: var(--grey-bg);
}
.reasons{
    margin-top: 120px;
}

.reasons h2{
    text-align: center;
}

.reasons-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(300px,1fr));
    gap: 20px;
}

.reasons-box {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-color: white;
    height: 620px;
}

.reasons-box img{
    width: 100%;
    height: 215px;
    border-radius: 8px;
}

.reasons-text-content{
    padding: 12px;
    text-align: center;
}

.reasons-text-content h3{
    padding-bottom: 20px;
}

/*Contact Call to Action*/
.contact-cta{
    display: flex;
    justify-content: space-around;
}
.contact-cta img{
    height: 340px;
}

.contact-cta-box{
    border: 1px solid var(--main-red);
    border-radius: 8px;
    padding: 16px;
    max-width: 400px;
    max-height: 180px;
    text-align: center;
}

.contact-cta-box p{
    padding-bottom: 12px;
}


/*Footer start*/
footer{
    color: white;
    position: relative;
}
.footer-content{
    position: relative;
    z-index: 10;
    padding: 48px 0 48px 100px;
}
.footer-bg-image{
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
}
.footer-container{
    display: flex;
    align-items: center;
    gap: 64px;
}
.footer-logo-container{
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container .divider{
    width: 100%;
    background: white;
    height: 1px;
    margin-bottom: 24px;
    margin-top: 6px;
} 
.footer-logo-container img{
    height: 190px;
    width: 200px;
}
.footer-logos{
    display: flex;
    align-items: center;
    gap: 8px;
}
footer .socials-container{
    display: flex;
    gap: 4px;
}
footer .social{
    background-color: white;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
footer svg{
    height: 28px;
    width: 28px;
}
.footer-contact-text{
    padding-right: 12px;
}
footer ul li{
    padding-bottom: 12px;
    font-weight: 500;
}

.copyright{
    text-align: center;
    font-weight: 200;
}
/*Footer end*/

@media (max-width:980px){
    .section-content {
        padding: 80px 16px;
    }
    .values-grid{
        justify-content: space-evenly;
        grid-template-columns: repeat(auto-fit,260px);   
    }
    .reasons-grid {
        justify-content: space-evenly;
        grid-template-columns: repeat(1,280px);
    }

    .footer-logos{
        flex-direction: column;
    }

    .hero-bg-image {
        width: 100%;
    }
    .hero-content img {
        width: 0;
    }
    .footer-content{
        padding: 48px 12px;
    }
    .footer-container{
        flex-direction: column;
    }

    header{
        padding: 24px 0;
    }
    .burger{
        display: block;
    }
    .logo-link .logo {
        height: 116px;
        width: 132px;
        top: 44px;
    }
    .nav-links{
        display: none;
        flex-direction: column;
        position: absolute;
        z-index: 2;
        background-color: white;
        gap: 20px;
        width: 100%;
        left: 0;
        top: 98px;
        padding: 16px;
    }
    nav li::after {
        content: "";
    }

    .testimonials-grid {
        justify-content: space-evenly;
        grid-template-columns: repeat(1,260px);
    }
}

@media (max-width:400px) {
    .banner h2 {
        font-size: 24px;
    }
    
}