/* ============ GOOGLE FONTS ============ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&family=Montserrat:wght@400;500;700&family=Rubik:wght@400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
}


/* ========================== COMMON COMPONENTS ========================== */

/*-----------------------
pageloader styles
-----------------------*/
#page-loader {
    position : fixed;
    top : 0;
    left : 0;
    bottom : 0;
    right : 0;
    z-index : 99999;
    background: #fff;
}
#page-loader .loader-container{
    position: absolute;
    top: 40%;
    left : 45%;
    width: 120px;
    height: 120px;
    display: block;
}

#page-loader .loader-container{
    background: #4766B8;
}

#page-loader .loader {
    position: absolute;
    top: 55%;
    left : 38%;
    width:35px;
    height:35px;
    display:inline-block;
    padding:0px;
    border-radius:100%;
    border:2px solid;
    border-top-color:rgba(255, 255, 255, 1);
    border-bottom-color:rgba(255, 255, 255, 1);
    border-left-color:rgba(255, 255, 255, 0.2);
    border-right-color:rgba(255, 255, 255, 0.2);
    -webkit-animation: preloader 0.8s ease-in-out infinite alternate;
    -moz-animation: preloader 0.8s ease-in-out infinite alternate;
    animation: preloader 0.8s ease-in-out infinite alternate;
}
#page-loader .loader-logo span{
    position: absolute;
    top: 20%;
    left : 13%;
    letter-spacing: 2px;
    color: #fff;
    font-family:'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
}
@keyframes preloader {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}
@-webkit-keyframes preloader {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}
@-moz-keyframes preloader{
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}

/* ========================== NAVBAR ========================== */
.navbar-container{
    background-color: white;
    height: 8vh;
    display: flex;
    justify-content: space-between;
    padding: 0 5% 0 5%;
}
.navbar-container a {
    text-decoration: none !important;
    font-family: 'Inter', sans-serif;
}

.navbar-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* +++ NAVBAR LOGO PART +++ */

.nav-logo-image {
    margin-right: 5%;
}

.navbar-logo-text{
    font-weight: 700;
    font-size: 12px;
    text-decoration: none !important;
    letter-spacing: 1px;
}

.logo-text-blue{
    color:#4889BF ;
}

.logo-text-black{
    color: black;
}

/* +++ NAVBAR LANGUAGES AND 14 DAYS TEST PART +++ */
/* Demo button */

.navbar-right {
    width: 285px;
}

.navbar-button {
    padding: 10px 25px;
    background-color: #4766B8;
    border-radius: 20px;
    cursor: pointer;
    align-items: center;
    font-size: 14px;
    font-family: Inter;
    text-decoration: none !important;
    color: white !important;
    display: inline-block;
    text-transform: uppercase;
    box-shadow: 0 4px 3px #00000031;
}

.navbar-button:hover {
    background-color: #5f7ed4;
}

.navbar-button:focus {
    background-color: #5f7ed4;
}

.navbar-button:active {
    box-shadow: 0 2px 3px #00000031;
    transform: translateY(2px);
}


/* Lang choice */
.nav-languages-choice {
    margin: 5% 10% 5% 5%;
}

.nav-languages-choice a {
    color: black;
    font-size: 12px;
    font-weight: 500;
}



/* ========================== BODY ========================== */


/* ========================== HERO SECTION ========================== */

.hero-section {
    background-image: url("../../images/landing_page/hero_section.png");
    background-color: orange;
    background-position: center;
    background-size: cover;
    height: 92vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-text{
    width: 500px;
    margin-left: 8%;
    height: auto;
}

.hero-text-info {
    font-size: 12px;
    color: gray;
    margin: unset !important;
}

.hero-text p {
    margin-bottom: 18px;
}

.hero-text-title {
    color:#4766B8 ;
    font-family: Montserrat;
    font-weight: bold;
    font-size: 20px;
}

.hero-text-description {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 3rem;
    line-height: 4rem;
}

.hero-text-conclusion {
    font-family: Rubik;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 2rem;
}

.hero-button {
    padding: 10px 25px;
    background-color: #4766B8;
    border-radius: 20px;
    cursor: pointer;
    align-items: center;
    font-size: 16px;
    font-family: Inter;
    text-decoration: none !important;
    color: white !important;
    margin-top: 20px;
    margin: 20px 0 20px 0;
    display: inline-block;
    text-transform: uppercase;
    box-shadow: 0 4px 3px #00000031;
}

.hero-button:hover {
    background-color: #5f7ed4;
}

.hero-button:focus {
    background-color: #5f7ed4;
}

.hero-button:active {
    box-shadow: 0 2px 3px #00000031;
    transform: translateY(2px);
}



/* ========================== CLIENTS SECTION ========================== */

.clients-section{
    margin: 30px 0px 60px 0;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    height: 20vh;
    width: 80%;
}

.clients-section-title{
    display: flex;
    font-family: Montserrat;
    justify-content: center;
    color: #919499;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.clients-images{
    display: flex;
    align-items: center;
    justify-content: space-around;
    align-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.carousel {
    display: none;
    width: 100%;
    height: auto;
}

.carousel-cell {
    width: 66%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo1 {
    width: 65px;
}

.logo2 {
    width: 170px;
}

.logo3 {
    width: 200px;
}

.logo4 {
    width: 80px;
}

.logo5 {
    width: 130px;
}

/* ========================== FEATURES SECTION ========================== */

.feature-section{
    height: 60vh;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.feature-image{
    width: 40%;
    height: 60vh;
    display: flex;
    justify-content: center;
}

.feature-image img{
    object-fit:contain;
    width: 100%;
}

.feature-description{
    width: 45%;
    height: 60vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    line-height: 150%;
}

.feature-description1 {
    padding-left: 10%;
}

.feature-description2 {
    padding-right: 10%;
}

.feature-description3 {
    padding-left: 10%;
    text-align: end;
}

.feature-title{
    font-family: Montserrat;
    font-weight: 500;
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.feature-title1 {
    text-align: end;
}

.feature-title3 {
    width: 75%;
    align-self: flex-end;
}

.feature-text{
    font-family: Rubik;
    margin: 18px 0 18px 0;
    font-size: 1.125rem;
}
.feature-text1{
    text-align: end;
}




/* ========================== TESTIMONIALS SECTION ========================== */

.testimonial-section {
    padding: 0 10% 0 10%;
    margin-bottom: 2%;
    height: 20vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.customer {
    display: flex;
    width: 20%;
    align-items: center;
    justify-content: last baseline;
}

.customer-text {
    align-items: center;
    margin-bottom: 0;
    margin-left: 1rem;
}

.customer p {
    margin-bottom: 0;
}

.name {
    font-size: 1.2rem;
    font-weight: 700;
}

.function {
    font-weight: 300;
}

.review {
    display: flex;
    width: 60%
} 

.review p {
    margin-bottom: 0;
    margin-left: 1rem;
    font-size: 1.125rem;
    font-family: 'Rubik';
}

.customer img {
    border-radius: 50%;
    width: 60px;
    height: auto;
}

.review img {
    width: 100%;
    height: auto;
    /* Look here to better understand the filter: https://codepen.io/sosuke/pen/Pjoqqp */
    /* And there: https://stackoverflow.com/questions/7415872/change-color-of-png-image-via-css */
    filter: invert(73%) sepia(99%) saturate(448%) hue-rotate(141deg) brightness(85%) contrast(88%);
}

.quote {
    width: 20%;
}

/* ========================== CALL TO ACTION SECTION ========================== */

.cta-section{
    height: 35vh;
    display: flex;
    text-align: center;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    margin-top: 8%;
    margin-bottom: 5%;
}

.cta-section p {
    width: 53%;
    font-family: Montserrat;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 0;
}


.cta-button {
    padding: 10px 25px;
    background-color: #4766B8;
    border-radius: 20px;
    cursor: pointer;
    align-items: center;
    font-size: 16px;
    font-family: Inter;
    text-decoration: none !important;
    color: white !important;
    margin-top: 20px;
    display: inline-block;
    text-transform: uppercase;
    box-shadow: 0 4px 3px #00000031;
}

.cta-button:hover {
    background-color: #5f7ed4;
}

.cta-button:focus {
    background-color: #5f7ed4;
}

.cta-button:active {
    box-shadow: 0 2px 3px #00000031;
    transform: translateY(2px);
}

/* ========================== FOOTER ========================== */

footer{
    height: 30vh;
    background-color: #2E406F;
    color: white;
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: space-around;
    color: #D9DBE1;
    font-size: 18px;
}

.footer-links{
    width: 50%;
    display: flex;
    justify-content: space-between;
}

footer a {
    color: #D9DBE1 !important;
    text-decoration: none !important;
}


/* ========================== MEDIA QUERIES ========================== */


/* =============== 1350 PX =============== */
@media (min-width: 1350px) {

    .feature-title {
        margin-bottom: 40px;
    }
}

/* =============== 1600 PX =============== */
@media (min-width: 1600px) {
    .hero-text {
        width: 600px;
    }

    .hero-text-description {
        font-size: 3rem;
    }

    .hero-text-conclusion {
        font-size: 1.5rem;
    }

    .hero-text-title {
        font-size: 18px;
    }

    .hero-text p {
        margin-bottom: 35px;
    }

    .hero-button {
        font-size: 20px;
    }
}

/* =============== 1700 PX =============== */
@media (min-width: 1700px) {
    .feature-title3 {
        width: 100%;
    }
}


/* =============== 1600 PX =============== */
@media (max-width: 1600px) {
    .logo1 {
        width: 60px;
    }

    .logo2 {
        width: 150px;
    }

    .logo3 {
        width: 160px;
    }

    .logo4 {
        width: 75px;
    }

    .logo5 {
        width: 105px;
    }

    .footer-links {
        width: 55%
    }
}

/* =============== 1400 PX =============== */
@media (max-width: 1400px) {
    footer {
        font-size: 16px;
    }
}


/* =============== 1300 PX =============== */
@media (max-width: 1300px) {
    .feature-title3 {
        width: 100%;
    }

    .hero-text {
        background-color: rgb(255,255,255,0.5);
        padding: 5%;
        border-radius: 3%;
    }
}


/* =============== 1200 PX =============== */
@media (max-width: 1200px) {
    .quote {
        width: 30%;
    }

    footer {
        font-size: 14px;
        height: 20vh;
    }

    .logo1 {
        width: 55px;
    }

    .logo2 {
        width: 130px;
    }

    .logo3 {
        width: 140px;
    }

    .logo4 {
        width: 70px;
    }

    .logo5 {
        width: 95px;
    }
}


/* =============== 1100 PX =============== */
@media (max-width: 1100px) {
    html {
        font-size: 15px;
    }

    .clients-section {
        width: 90% !important;
    }

    .cta-section p {
        width: 60%;
    }

    .quote {
        width: 40%;
    }

    .footer-links {
        flex-direction: column;
        padding: 20px 0 20px 0;
        width: 40%;
    }

    footer {
        height: 100%;
    }

    .footer-links a {
        margin: 10px 0 10px 0;
    }

    footer span {
        align-self: flex-end;
        margin-bottom: 30px;
    }
}

/* =============== 950 PX =============== */
@media (max-width: 950px) {
    .feature-text {
        margin: 10px 0 10px 0;
    }

    .feature-title {
        margin-bottom: 30px;
    }

    .quote {
        width: 50%;
    }
}

/* =============== 900 PX =============== */
@media (max-width: 900px) {

    .clients-section {
        height: auto;
    }

    .clients-box {
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 10px 0 10px;
    }
    

    .clients-logo {
        align-self: center;
    }

    .cta-section {
        height: auto;
        margin-top: 110px;
        margin-bottom: 90px;
    }

    .cta-section p {
        width: 80%;
        padding: 20px 0 20px 0;
    }

    .cta-button {
        margin: 20px 0 20px 0;
    }

    .testimonial-section {
        height: 100%;
    }

    .quote {
        width: 60%;
    }
}

/* =============== 800 PX =============== */
@media (max-width: 800px) {
    .quote {
        width: 70%;
    }
}


/* =============== 767 PX =============== */
@media (max-width: 767px) {
    .hero-section {
        justify-content: center;
    }

    .hero-text p {
        margin-bottom: 30px;
    }

    .hero-text {
        text-align: center;
        margin-left: unset;
    }

    .feature-section {
        flex-direction: column;
        height: auto;
        padding: 0 70px 0 70px;
    }

    .second-section {
        flex-direction: column-reverse !important;
    }

    .feature-image {
        width: 100%;
        justify-content: unset !important;
        height: auto;
        margin-bottom: 5%;
        margin-top: 15%;
    }

    .feature-image1 .feature-image3 {
        justify-content: flex-start;
    }

    .feature-image2 {
        justify-content: flex-end !important;
    }

    .feature-description {
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .feature-title {
        text-align: center;
    }

    .feature-text {
        text-align: center;
    }

    .clients-section-title {
        text-align: center;
    }

    .testimonial-section {
        height: auto;
        flex-direction: column;
        padding-top: 5;
        padding-bottom: 5%;
    }

    .customer {
        flex-direction: column;
        width: 40%;
        margin-top: 5%;
        margin-bottom: 5%;
    }

    .customer-text {
        margin-left: unset;
    }

    .customer p {
        text-align: center;
    }

    .quote {
        width: 35%;
    }

    .review {
        width: 100%;
    }

    footer {
        flex-direction: column;
    }

    .footer-links {
        width: 100%;
    }

    .footer-links a {
        align-self: center;
    }

    footer span {
        align-self: center;
        margin-top: 20px;
    }

    .logo1 {
        width: 45px;
    }

    .logo2 {
        width: 110px;
    }

    .logo3 {
        width: 120px;
    }

    .logo4 {
        width: 60px;
    }

    .logo5 {
        width: 80px;
    }
}


/* =============== 625 PX =============== */
@media (max-width: 625px) {
    .hero-text {
        width: 85%;
    }

    .hero-text P {
        margin-bottom: 15px;
    }

    .clients-images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .clients-box5 {
        grid-column: 1 / 3;
        grid-row: 3;
    }
}

/* =============== 576 PX =============== */

@media (max-width: 576px) {
    html {
        font-size: 16px;
    }

    .navbar-logo-text {
        display: none;
    }

    .feature-section {
        flex-direction: column;
        height: auto;
        padding: 0 10% 0 10%;
    }

    .hero-text-description {
        font-size: 1.3rem;
        font-weight: 600;
        line-height: unset;
    }

    .feature-title {
        font-size: 1.5rem;
    }

    .quote {
        width: 55%;
    }

    .cta-section p {
        font-size: 1.5rem;
    }

    .hero-button {
        padding: 7px 17px;
        font-size: 14px;
    }

    .cta-button {
        padding: 7px 17px;
        font-size: 14px;
    }

    .navbar-button {
        padding: 7px 17px;
        font-size: 14px;
    }
}

/* =============== 450 PX =============== */

@media (max-width: 450px) {
    .quote {
        width: 70%;
    }
}

/* =============== 350 PX =============== */

@media (max-width: 350px) {
    footer span {
        margin-left: 15px;
        margin-right: 15px;
        text-align: center;
    }
}
