/* 
// This CSS file is used to style the HTML elements in the application.
// It includes styles for the body, headings, paragraphs, and links.
// The styles are designed to create a clean and modern look for the application.
*/ 

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
    margin: 0;
    font-family: 'Rubik', sans-serif;
}

.container {
    width: calc(100% - 30px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/*------------------------------------*/
/*            Navbar section          */
/*------------------------------------*/

section.navbar {
    height: 50px;
    background-color: #1A5EA9;
    margin-bottom: 100px;
}

section.navbar ul {
    list-style-type: unset;
    list-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
    display: flex;
    gap: 150px;
    justify-content: center;
    color: #fff;
    align-items: center;
    font-size: 18px;
    height: 100%;
}

section.navbar a {
    color: #fff;
    text-decoration: none;
    transition: 125ms ease-in-out;
}

section.navbar a:hover {
    opacity: 0.8;
}

section.navbar .container {
    height: 100%;
}

section.navbar .menu {
    height: 100%;
}

@media only screen and (max-width:1200px) {
    section.navbar ul {
        gap: 100px;
    }
}

@media only screen and (max-width:900px) {
    section.navbar ul {
        gap: 25px;
    }

    section.navbar {
        margin-bottom: 50px;
    }
}

@media only screen and (max-width:600px) {
    section.navbar ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0px;
        text-align: center;
    }

    section.navbar {
        height: 75px;
    }
}


/*------------------------------------*/
/*            Intro section           */
/*------------------------------------*/

.intro .text {
    display: flex;
    justify-content: center;
}

.intro .text p {
    max-width: 450px;
    font-size: 18px;
    text-align: center
}

.intro img {
    width: 100%;
    height: auto; 
}

.intro .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

@media only screen and (max-width: 900px) {
    .intro {
        margin-bottom: 25px;
    }
}

@media only screen and (max-width: 600px) {
    .intro .left img  {
        width: 80%;
        height: auto;
    }

    .intro .grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .intro .left .image {
        display: flex;
        justify-content: center;
    }

    .intro p {
        font-size: 18px;
        text-align: center
    }
}


/*------------------------------------*/
/*          Company section           */
/*------------------------------------*/

.company-info {
    margin-bottom: 50px;
}

.company-info p {
    line-height: 25px;
    font-size: 18px;
}

.company-info .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.company-info .buttons a {
    border: 1px solid #fff;
    padding: 10px 20px;
    color: #fff;
    transition: 125ms ease-in-out;
    text-decoration: none;
    display: inline-block;
}

.company-info .right {
    background-color: #1A5EA9;
    color: #fff;
    padding: 75px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.company-info .right .text {
    text-align: center;
}

.company-info .right .text p {
    margin-block-start: 0;
    margin-block-end: 50px;
}

.company-info .right img {
    width: 200px;
    height: auto;
    position: absolute;
    top: -40px;
    right: -20px;
}

.company-info .left {
    background-color: #21396E;
    color: #fff;
    padding: 75px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-info .left .text {
    text-align: center;
}

.company-info .left .text p {
    margin-block-start: 0;
    margin-block-end: 50px;
}

.company-info .right .buttons a:hover {
    background-color: #fff;
    color: #1A5EA9;
}

.company-info .left .buttons a:hover {
    background-color: #fff;
    color: #21396E;
}

.company-info .left .buttons {
    display: flex;
    gap: 25px;
    text-align: center;
}

@media only screen and (max-width:600px) {
    .company-info .left .buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media only screen and (max-width: 900px) {
    .company-info .grid {
        grid-template-columns: 1fr;
        gap: 75px;
    }
}

@media only screen and (max-width: 1300px) {
    .company-info .right img {
        right: 20px;
    }
}


/*------------------------------------*/
/*           Footer section           */
/*------------------------------------*/

footer {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 25px;
}

footer i {
    font-size: 50px;
    color: #21396E;
}

footer a {
    transition: 125ms ease-in-out;
}

footer a:hover {
    opacity: 0.8;
}