:root {
    --primary-color: #15203e;
    --secondary-color: #38559e;
    --background-color: #FFFFFF;
}

/* Set the default font family and size */
body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

/* inrease line spacing for p */
p {
    line-height: 1.5;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1;
}

nav div {
    position: relative;
    height: 50px;
    background-color: var(--primary-color);
}

nav img {
    height: 30px;
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 30%;
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (max-width: 1100px) {
    nav ul {
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    nav ul {
        width: 100%;
    }
}

nav ul li {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 100%;
    width: 33.33%;
    text-align: center;

    transition-duration: 0.3s;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li:hover {
    background-color: var(--secondary-color);
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 70px;
    /* height: 100vh; */
}

@media screen and (max-width: 600px) {
    section {
        padding: 60px 20px;
    }
}

#who-we-are {
    background-color: var(--background-color);
    color: var(--secondary-color);
}

section h1 {
    font-size: 3rem;
    margin: 0;
    padding: 0;
    color: var(--primary-color);
    text-align: center;
}

section p {
    font-size: 1.5rem;
    margin: 0;
    margin-top: 25px;
    padding: 0;
    /* color: var(--secondary-color); */
    width: 67%;
}

@media screen and (max-width: 600px) {
    section p {
        width: 100%;
        font-size: 1.2rem;
    }
}

#hero-section {
    position: relative;
    background-image: url("hero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: calc(100vh - 50px);
    margin-top: 50px;
}

@media screen and (max-width: 600px) {
    #hero-section {
        background-image: url("hero-mobile.jpg");
    }
}

#hero-logo {
    width: 40%;
    position: absolute;
    top: 15%;
    left: 5%;
}

@media screen and (max-width: 600px) {
    #hero-logo {
        width: 80%;
        top: 10%;
        left: 10%;
    }
}

#what-we-offer {
    background-color: var(--secondary-color);
    color: var(--background-color);
    padding: 70px;
}

#what-we-offer h1 {
    color: var(--background-color);
}

#what-we-offer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin-top: 50px;
}

@media screen and (max-width: 600px) {
    #what-we-offer ul {
        flex-direction: column;
    }
}

#what-we-offer li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 150px;
    width: 150px;
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.2rem;

    background-color: var(--background-color);
    padding: 20px;
    border-radius: 50%;
}

@media screen and (max-width: 600px) {
    #what-we-offer li {
        margin: 40px 0;
    }
}

#download-app {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

@media screen and (max-width: 600px) {
    #download-app {
        flex-direction: column;
    }
}

#download-app h1 {
    color: var(--primary-color);
}

#download-app > div {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media screen and (max-width: 600px) {
    #download-app > div {
        width: 100%;
    }
}

#download-app p {
    margin-bottom: 50px;
}

#download-app img {
    height: 60vh;
    display: block;
}

#download-app button {
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 15px;
}

#contact-us {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 70px;
}

#contact-us h1 {
    font-size: 3rem;
    margin: 0;
    padding: 0;
    color: var(--background-color);
    text-align: center;
}

#contact-us p {
    text-align: center;
}

#contact-us ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: space-between;
    width: 50%;
    margin-top: 50px;
}

@media screen and (max-width: 600px) {
    #contact-us ul {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
}

#contact-us li {
    width: 25%;
}

@media screen and (max-width: 600px) {
    #contact-us li {
        width: 100%;
        margin: 20px 0;
    }
}

#contact-us a {
    color: var(--background-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contact-us svg {
    width: 50px;
    height: 50px;
}

#contact-us li p {
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

/* The device with borders */
.smartphone {
    position: relative;
    /* width: 360px;
    height: 640px; */
    margin: auto;
    border: 16px black solid;
    border-top-width: 30px;
    border-bottom-width: 30px;
    border-radius: 36px;
    overflow: hidden;
}

/* The horizontal line on the top of the device */
.smartphone:before {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    border-radius: 10px;
}

/* The circle on the bottom of the device */
.smartphone:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    left: 50%;
    bottom: -25px;
    transform: translate(-50%, -50%);
    background: #333;
    border-radius: 50%;
}

/* The screen (or content) of the device */
.smartphone .content {
    /* width: 360px;
    height: 640px; */
    background: white;
}

/* ************************************************** */
#app-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 70px;
}

#app-page img {
    width: 20%;
    margin: 15px;

    /* border: 5px solid var(--primary-color); */
    box-shadow: 5px 5px 10px #00000044;
    border-radius: 15px;
}