:root {
    --primary-bg-color: #f2f5ff;
    --primary-fg-color: #1F347E;
    --primary-fg-color-light: #818cb2;
    --secondary-fg-color: #FF4D00;
}

footer a, footer a:link {
    color: var(--primary-fg-color-light);
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-fg-color);
}

body {
    font-family: Roboto, sans-serif;
    font-weight: 300;
    box-sizing: border-box;
    color: var(--primary-fg-color);
    line-height: 1.5rem;
    font-size: 1rem;
}

img#logo {
    height: 4rem;
    object-fit: contain;
}

h1 {
    font-size: 3.5rem;
    line-height: 3.5rem;
    margin: 1rem 0;
}

section {
    display: flex;
}

.container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: auto;
    max-width: 80rem;
    padding: 0.5rem 2rem;
    box-sizing: border-box;
}

.row {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-items: flex-start;
}

header>.container>.row,
footer>.container>.row {
    justify-content: space-between;
}

header .item,
footer .item {
    flex-grow: 0;
}

.item {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    padding: 1em;
}

#section-hero {
    max-width: 100%;
    min-height: 30vh;
}

#section-hero header {
    max-width: 50%;
}

#hero-image > svg {
    height: 20rem;
    margin: 0 auto;
}

#services,
#testimonials {
    justify-content: space-between;
}

#services .item,
#testimonials .item {
    width: 30%;
    min-width: 15rem;
    max-width: 25rem;
    padding: 2rem 2rem 1rem;
    background-color: var(--primary-bg-color);
    border-radius: 0.5rem;
    box-sizing: border-box;
    margin: 1rem;
}

#services h3 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
}

#services .icon {
    margin: 0rem auto;
}

#services .icon>svg {
    width: 4rem;
    height: 4rem;
    fill: var(--secondary-fg-color);
}

.testimonial-name {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.testimonial-thumbnail {
    float: left;
    margin: 0 1rem 0.4rem 0;
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 4.8rem;
    overflow: hidden;
}

.testimonial-thumbnail img {
    width: 6rem;
    margin: -0.6rem;
}

.testimonial-description {
    margin-top: 0;
    font-style: italic;
}

#section-whyus h1,
#section-testimonials h1 {
    font-size: 2rem;
    text-align: center;
    margin: 3rem 0 2rem;
}

footer {
    background-color: var(--primary-bg-color);
    margin-top: 6rem;
    padding: 2rem 0;
}

footer {
    color: var(--primary-fg-color-light);
}

footer,
.testimonial-description {
    font-size: 0.9rem;
    line-height: 1.3rem;
}

footer .item {
    max-width: 35rem;
}

footer .icon.item>svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: var(--primary-fg-color-light);
}

#addresses .item,
#contacts .item {
    padding: 0.5rem;
}

@media (max-width: 500px) {

    .container {
        max-width: 100%
    }

    .row {
        flex-direction: column;
    }

    #section-hero header {
        max-width: 100%;
    }

    #services>.item,
    #testimonials>.item {
        width: 100% !important;
        box-sizing: border-box;
    }

    #addresses .row, #contacts .row {
        flex-direction: row;
    }

    #addresses .item, #contacts .item {
        max-width: 10rem;
    }
}