/* reset */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display definitions */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;

}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*variables*/
:root {
    --grey-bg: #292929;
    --lt-blue: #39BAFF;
    --white: #fff;
    --grey-opacity: rgba(41, 41, 41, .75);
    --font-size-base: 16px;
}

/*styles*/

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", serif;
    font-size: var(--font-size-base);
    color: var(--white);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    font-size: 0.875rem;
}

img,
picture img {
    display: block;
    max-width: 100%;
    height: auto;
}

svg {
    display: block;
    width: 100%;
    height: auto;
    fill: var(--white);
}

.text-box {
    background-color: var(--grey-opacity);
    position: relative;
}

a:hover {
    text-decoration: underline !important;
    color: var(--lt-blue) !important;
}

.pill-button {
    border: 1px solid var(--lt-blue);
    text-transform: capitalize !important;
    text-align: center;
    padding: 1em 0;
    border-radius: 0.4em;
    font-size: 1em;
    font-weight: 400 !important;
    color: var(--white);
    text-decoration: none;
    display: block;
    max-width: 16em;
    margin: 0 auto;
}

.icon {
    display: inline-block;
    width: 1.5em;
    height: auto;
}


.pill-button:hover {
    background-color: var(--lt-blue);
    color: var(--grey-bg) !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

header {
    z-index: 1;
    position: relative;
}

header svg.logo {
    width: 66%;
}

header .modal-close {
    display: none;
}

header .modal-close {
    display: none;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    height: 100vh;
    z-index: 1;
    position: absolute;
    left: 0em;
    top: 0;
}

header .phone-bar {
    display: flex;
    text-align: center;
    flex-direction: column;
    gap: 1em;
    background-color: var(--grey-bg);
    padding: 1.5em 0;
}

header .phone-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--white);
}

header .phone-bar a:hover svg {
    fill: var(--lt-blue);
}

header .phone-bar svg {
    margin-right: 0.5em;
}

header .header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--grey-opacity);
    padding: 1em;
}

header .header a {
    display: block;
    width: 13em;
}

header .header button {
    border: none;
    background: transparent;
    width: 4em;
    justify-self: end;
    align-self: center;
}

header .header ul li {
    font-size: 1.2em;
    text-align: right;
    padding: 1.3em 0 0.3em 0;
}



header .header ul li a {
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    width: 100%;
    font-weight: 300;
}

header .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

header nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--grey-bg);
    width: 66%;
    height: 100%;
    padding: 1em;
    z-index: 3;
}

header nav.menu-open {
    display: block;
}

header .modal-overlay.menu-open {
    display: block;
}

header .header .close-menu {
    margin: 0 0 0 auto;
    display: block;
}

header .header .pill-button {
    margin: 2em auto 0;
    display: block;
    width: 90%;
}

main {
    overflow: hidden;
}

main section .text-box {
    padding: 1em 0;
}

main section {
    /* margin: 1em 0; */
}

main section:nth-child(even) {

    background-color: var(--grey-bg);
}

main section:nth-child(odd) {
    width: 90%;
    margin: 0 auto 1em;
}

main section.hero .text-box {
    margin: -5.6em auto 0;
    padding: 0.7em 0;
}

main section h1 {
    text-align: center;
    font-weight: 100;
    text-transform: capitalize;
    font-size: 1.5em;
    max-width: 15em;
    line-height: 1.3;
    margin: 0 auto;
}

main section.hero img {
    display: block;
    max-width: 140%;
    height: auto;
    margin-left: -2em;
    margin: -9em 0 0 -3em;
}

main section.hero ul {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 2em;
    gap: 2em;
}

main section.hero ul svg {
    margin-bottom: 0.4em;
}

main section.hero a.pill-button {
    max-width: 16em;
    margin: 2em auto 1em;
}

main section.services .services-grid,
main section.expertise .services-grid {
    margin-top: 1em;
    display: grid;
    justify-content: center;
    gap: 1.5em;
}


main section.services .services-grid li,
main section.expertise .services-grid li {
    justify-self: center;
    display: block;
    width: 100%;
    font-weight: 300;
}

main section.services .services-grid li>div {
    margin-left: 3em;
}

main section.services .services-grid p,
main section.expertise .services-grid p {
    line-height: 1.5;
    text-align: left;
}

main section.services .services-grid h3,
main section.expertise .services-grid h3,
main section.contact-us .contact-info h3 {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 0.4em;
    font-weight: 400;
}

main section.services .services-grid h3 svg,
main section.expertise .services-grid h3 svg,
main section.contact-us .cnt-box h3 svg {
    margin-right: 0.5em;
}

main section.services .services-grid p:nth-child(2),
main section.expertise .services-grid p:nth-child(2) {
    max-width: 19em;
    text-align: left;
}

main section.services .services-grid li:not(:last-child)::after,
main section.expertise .services-grid li:not(:last-child)::after {
    content: " ";
    border: 1px solid var(--lt-blue);
    width: 9em;
    display: block;
    margin: 1.5em auto 0;
}

main section.expertise {
    width: 100%;
}

main section.expertise .cnt-box {
    background-color: var(--grey-opacity);
    padding: 1em 0;
    max-width: 90%;
    margin: 0 auto;
}

main section.expertise .cnt-box h1 {
    max-width: 13em;
}

main section.areas {
    padding: 1em 2em;
}

main section.areas ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: disc;
    padding-left: 1.5em;
    margin: 1.5em 0;
    gap: 0.5em;
}


main section.contact-us {
    width: 100%;
}

main section.contact-us .cnt-box {
    background-color: var(--grey-opacity);
    padding: 1em 0;
    margin-top: -4em;
    position: relative;
}

main section.contact-us .cnt-box .email-link {
    font-size: 0.8em;
}

main section.contact-us .contact-info {
    margin-top: 2.5em;
}


main section.contact-us .contact-info::after {
    content: " ";
    border: 1px solid var(--lt-blue);
    width: 9em;
    display: block;
    margin: 1.5em auto;
}

main section.contact-us .contact-info>div {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1em;
    margin-bottom: 1.5em;
    max-width: 18em;
    margin: 0 auto 1.5em auto;
}

main section.contact-us .contact-info>div a {
    color: var(--white);
    text-decoration: none;
}

main section.contact-us .contact-info>div ul li:first-of-type {
    margin-bottom: 0.5em;
}

main section.contact-us .contact-form>form>* {
    display: block;
}

main section.contact-us .contact-form>form label {
    visibility: hidden;
}

main section.contact-us .contact-form>form input,
main section.contact-us .contact-form>form textarea {
    background-color: transparent;
    border: 1px solid var(--white);
    border-radius: 0.4em;
    height: 3em;
    width: 87%;
    margin: 0 auto;
    padding: 0 0 0 1em;
    color: var(--white);
    font-size: 1.2em;
}

main section.contact-us .contact-form>form textarea {
    height: 7em;
    display: block;
    padding-top: 0.6em;
}

main section.contact-us .contact-form>form input.pill-button {
    border-color: var(--lt-blue);
    font-family: "Montserrat", serif;
    display: block;
    margin-top: 1.5em;
    padding: 0;
}

main section.contact-us .contact-form>form input.pill-button:hover {
    background-color: var(--lt-blue);
    color: var(--grey-bg) !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

main section.contact-us .contact-form>form input:active {
    background-color: var(--lt-blue);
}

main section.contact-us .contact-form>form input::placeholder,
main section.contact-us .contact-form>form textarea::placeholder {
    font-size: 1em;
    position: relative;
    font-family: "Montserrat", serif;
    font-weight: 100;
    color: var(--white);
}


main section.google-review {
    padding: 1em 0;
}

main section.google-review a {
    margin-top: 1.5em;
    padding-bottom: 1em;
}

main section.about-us {
    background-color: var(--grey-bg);
    margin-top: 1em;
    width: 100%;
}

main section.about-us h1 {
    padding-top: 0.5em;
    margin-bottom: 0.5em;
}

main section.about-us p {
    line-height: 1.3;
    max-width: 90%;
    margin: auto;
    padding-bottom: 1em;
}

footer {
    background-color: var(--grey-opacity);
}

footer h1 {
    text-align: center;
    font-size: 1em;
    padding: 1em 0;
    line-height: 1.3;
}

@media (min-width: 768px) {
    header nav {
        width: 36%;
    }

    header .phone-bar {
        flex-direction: row;
        gap: 6em;
        justify-content: center;
    }

    header svg.logo {
        width: 100%;
    }

    main section.hero {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        margin-top: 1em;
    }

    main section .text-box {
        padding: 1em 0 1.5em;
    }

    header .header button {
        border: none;
        background: transparent;
        width: 6em;
        justify-self: end;
        align-self: center;
    }

    main section.hero img {
        width: 22em;
        margin: -2em 0 0em;
    }

    main section.hero .text-box {
        margin: 0 0 0 0em;
        padding: 0.7em 0;
        width: 100%;
    }

    main section.services .services-grid {
        gap: 1em;
        grid-template-columns: 1fr 1fr;
    }



    main section.services .services-grid li>div {
        margin-left: 5em;
    }

    main section.services .grid-center {
        grid-column-start: 1;
        grid-column-end: 3;

    }

    main section.services .services-grid li:not(:last-child)::after,
    main section.expertise .services-grid li:not(:last-child)::after {
        display: none;
    }

    main section.expertise {
        width: 100%;
        display: flex;
        justify-items: center;
        align-items: center;
        flex-direction: row-reverse;
        margin: 1em 0;
    }

    main section.expertise img {
        width: 50%;
        height: auto;
    }

    main section.expertise .services-grid {
        /* grid-template-columns: 1fr 1fr; */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    main section.expertise .services-grid li {
        justify-self: center;
        display: block;
        width: auto;
        font-weight: 300;
        margin: 0;
    }

    main section.expertise .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    main section.expertise .services-grid li div {
        margin-left: 2em;
    }

    main section.areas .wrapper {
        display: grid;
        justify-content: center;
    }

    main section.areas>div>div::after {
        display: none;
    }

    main .contact-us img {
        margin: 0 auto;
        width: 80%;
    }

    main section.contact-us .cnt-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2em;
        padding: 1em 4em 2em;
    }

    main section.areas ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        list-style: disc;
        padding-left: 1.5em;
        margin: 1.5em 0;
        gap: 1em 5em;
    }



    main .contact-us .contact-us-wrapper {
        display: grid;
        justify-items: center;
    }

    main .contact-us form {
        margin-top: 1em;
    }

    main section.contact-us .contact-info::after {
        display: none;
    }

    main section.contact-us .contact-info {
        margin-top: 0;
        border-right: 2px solid var(--lt-blue);
        padding-right: 2em;
        height: 15em;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
        font-weight: 600;
    }

    p {
        font-size: 1.5rem;
    }

    .pill-button {
        font-size: 1.2em;
    }

    .icon {
        display: inline-block;
        width: 2.5em;
        height: auto;
    }

    header .header .pill-button {
        display: none;
    }

    header .phone-bar {
        background-color: var(--grey-opacity);
    }

    header .phone-bar svg {
        margin-right: 0.5em;
        width: 1.5em;
    }

    header svg.logo {
        width: 85%;
    }

    header .header .open-menu {
        display: none;
    }

    header nav {
        width: 100%;
        display: block;
        position: initial;
        background-color: transparent;
    }

    header .header {
        display: grid;
        grid-template-columns: 0.3fr 1fr;
        background-color: var(--grey-bg);
        padding: 1em;
    }

    header .header nav .close-menu {
        display: none;
    }

    header nav ul {
        display: flex;
        gap: 2em;
    }

    header nav ul li {
        display: inline-block;
    }

    main section.hero img {
        width: 28em;
        margin: -2em 0 0em;
    }

    main section.hero .text-box {
        margin: 0 0 0 -4em;
    }

    main section h1 {
        font-size: 2em;
        max-width: 13em;
    }

    main section.services .services-grid li:nth-child(3) p {
        max-width: 14em;
    }

    main section.services h1 {
        margin-bottom: 1.5em;
    }

    main section.services .services-grid {
        gap: 3em 1em;
        grid-template-columns: 1fr 1fr;
    }

    main section.services .services-grid li:last-of-type {
        align-self: center;
    }

    main section.services .services-grid p {
        font-size: 1em;
    }

    main section.services .services-grid h3 svg {
        width: 1.5em;
    }

    main section.services .text-box {
        padding: 2em 0 3.5em;
    }

    main section .text-box {
        padding: 2em 0 1.5em;
    }

    main section.expertise {
        width: 90%;
        margin: 2em auto;
    }

    main section.expertise img {
        width: 26em;
        height: auto;
    }

    main section.expertise .services-grid li {
        width: 46%;
    }

    main section.expertise .cnt-box {
        margin: 0 -7em 0 0;
        z-index: 1;
    }

    main section.expertise .services-grid h3 svg {
        width: 2em;
    }

    main section.expertise .services-grid h3 {
        font-size: 1.5em;
        line-height: 1.2;
    }

    main section.expertise .services-grid p {
        font-size: 1em;
    }

    main section.areas ul {}

    main section.areas ul li p {
        font-size: 1em;
    }


    main section.about-us p {
        line-height: 1.3;
        max-width: 80%;
        margin: auto;
        padding-bottom: 1em;
        font-size: 1em;
    }
}

@media (min-width: 1280px) {
    header nav {
        width: 100%;
        display: block;
        position: initial;
        background-color: transparent;
        padding: 0;
        display: flex;
        justify-content: end;
        align-items: center;
    }

    header nav ul {
        display: flex;
        gap: 2em;
        justify-content: end;
        margin-right: 2em;
        padding-bottom: 0;
    }

    header .header ul li {
        font-size: 1.2em;
        text-align: right;
        padding: 0;
    }

    main section.services .services-grid {
        gap: 3em 1em;
        grid-template-columns: 33%;
    }

    /* REMOVE AFTER SERVICES ARE BUILT */
    main section.services .services-grid {
        gap: 3em 1em;
        grid-template-columns: 33%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    main section.services .services-grid li {
        justify-self: center;
        display: block;
        width: 31%;
        font-weight: 300;
    }
}