:root
{
    --acc1: #0a0c24;
    --acc2: #5d8dec;
    --acc3: #e6f8ff;
    --dark: rgb(16, 16, 16);
    --grey: #696969;
    --light: rgb(214, 214, 214);
    --max: 1450px;
}

@font-face {
    font-family: Poppins;
    src: url(fonts/Poppins/Poppins-Regular.ttf);
}

@keyframes fadeInBottomUp
{
    0%
    {
        transform: translateY(30px);
        opacity: 0;
    }

    100%
    {
        transform: translateY(0);
        opacity: 1;
    }
}

*, *::after, *::before
{
    box-sizing: border-box;
}

body
{
    margin: 0;
    padding: 0;
    font-family: Poppins, Arial, Helvetica, sans-serif;
}

p
{
    font-size: 11pt;
    color: var(--grey);
}

header .row
{
    gap: 0;
}

header .col
{
    display: flex;
    flex-direction: row;
    align-items: center;
}

header img, footer img
{
    max-height: 75px;
    width: auto;
}

header h1
{
    font-weight: bold;
    font-size: 1.5em;
    letter-spacing: 0;
}

header h1, header p
{
    margin: 0;
}

header p
{
    color: var(--acc1);
}

.icon-wrap span
{
    color: var(--acc2);
    font-size: 20pt;
}

.info-wrap
{
    margin-left: 15px;
    font-size: 10pt;
}

header a
{
    text-decoration: none;
    color: var(--grey);
}

header .btn 
{
    width: 100% !important ;
    text-align: center;
}

a.btn
{
    background-color: var(--acc2);
    color: white;
    text-decoration: none;
    padding: 10px 50px;
    border-radius: 20px;
    width: max-content;
    transition: background-color 0.5s;
}

a.btn:hover
{
    background-color: var(--acc1);
    cursor: pointer;
}

nav
{
    background-color: var(--acc1);
}

#mobile-toggle
{
    display: block;
    cursor: pointer;
    z-index: 101;
    height: 60px;
    width: min-content;
    padding: 15px;
}

.bar
{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    background-color: white;
}

#mobile-toggle.active .bar:nth-child(1)
{
    transform: translateY(8px) rotate(-45deg);
}

#mobile-toggle.active .bar:nth-child(2)
{
    opacity: 0;
}

#mobile-toggle.active .bar:nth-child(3)
{
    transform: translateY(-8px) rotate(45deg);
}

nav .link-wrapper
{
    font-size: 18pt;
    transition: opacity 1s ease-out;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

nav .link-wrapper.active
{
    opacity: 1;
    height: auto;
    width: 100%;
    border-top: 1px solid rgba(245,245,245,0.2);
}

nav .link-wrapper ul
{
    margin: 30px 0;
    padding: 0;
    text-align: center;
    list-style-type: none;
    transform: translateY(-50px);
    transition: transform 1s;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

nav .link-wrapper.active ul
{
    transform: translateY(0px);
}

nav a
{
    color: white;
    text-decoration: none;
    transition: color 0.5s;
}

nav a:hover
{
    color: var(--acc2);
}

.max-wrap
{
    padding: 20px 10px;
}

.fade-in
{
    animation: fadeInBottomUp 2s ease-in 1s forwards;
}

.row
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
}

.col
{
    flex-grow: 1;
    width: 100%;
    padding: 15px;
}

section.landing
{
    position: relative;
    display: flex;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    height: 70vh;
    min-height: 400px;
    background-image: linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)), url(media/1.jpg);
    background-position: center;
}

section.landing .max-wrap
{
    padding: 15px;
    color: white;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section.landing #compress
{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section.landing h1
{
    margin: 0;
}

section.landing h2
{
    color: var(--light);
    margin: 0;
}

section.landing .btn
{
    margin: 0 auto;
}

h1
{
    font-size: 2.5em;
}

h2
{
    font-size: 1.5em;
}

img
{
    width: 100%;
}

section:not(.landing):not(header) h1
{
    color: var(--acc1);
    margin-top: 0;
}

section:not(.landing)
{
    margin-top: 30px;
}

.service-outline .col
{
    background-color: var(--acc3);
    text-align: center;
    position: relative;
    transition: all 0.5s;
}

.service-outline .col::before
{
    content: '';
    position: absolute;
    top: 0; right: 0;
    border-top: 40px solid white;
    border-left: 40px solid var(--acc3);
    width: 0;
    transition: all 0.5s;
}

.service-outline img
{
    max-height: 100px;
}

.service-outline h3
{
    color: var(--acc1);
    margin: 10px 0 0;
}

.service-outline p
{
    margin: 15px 0 0;
}

.service-outline .col:hover
{
    background-color: var(--acc2);
}

.service-outline .col:hover::before
{
    border-left: 40px solid var(--acc2);
}

.service-outline .col:hover h3, 
.service-outline .col:hover p
{
    color: white;
}

section.about .col.outline
{
    border: 5px solid var(--acc3);
    padding: 30px;
}

section.about .outline p
{
    margin-bottom: 30px;
}

section.numbers
{
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgba(37, 77, 158, 0.8),rgba(37, 77, 158,0.8)), url(media/1.jpg);
    background-position: center;
}

section.numbers h1
{
    font-size: 4em !important;
    color: white !important;
    margin: 0 !important;

}

section.numbers hr
{
    width: 50px;
    border-radius: 2px;
    border: 2px solid white;
}

section.numbers p
{
    color: white !important;
    text-transform: uppercase;
}

section.services
{
    text-align: center;
}

section.services .grid-row
{
    display: grid;
}

section.services .grid-col
{
    padding: 30px;
    border-bottom: 1px solid var(--light);
    transition: all 0.5s;
}

section.services .grid-col:hover
{
    background-color: var(--acc2);
    color: white;
}

section.services .grid-col:hover p
{
    color: white;
}

.grid-col img
{
    max-height: 100px;
}

section.project
{
    text-align: center;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgba(37, 77, 158, 0.8),rgba(37, 77, 158,0.8)), url(media/1.jpg);
    background-position: center;
    padding: 100px 0;
}

section.project h1, section.project p
{
    color: white !important;
}

section.project hr
{
    width: 100px;
    color: white;
    border-radius: 2px;
    border: 2px solid white;
}

section h1, section h3
{
    margin: 0;
}

section.quote
{
    text-align: center;
}

form
{
    text-align: left;
}

form > *:not(.row)
{
    margin: 20px 0;
    border: 1px solid var(--light);
    outline: none;
    box-shadow: none;
}

form .row
{
    gap: 20px;
}

form .row, form .col
{
    padding: 0;
    margin: 0;
}

form .col > *
{
    border: 1px solid var(--light);
    outline: none;
    box-shadow: none;
}

input:not([type="checkbox"]), textarea
{
    display: block;
    width: 100%;
    font-family: inherit;
    font-size: 12pt;
    padding: 15px;
}

textarea
{
    resize: none;
}

input:focus, textarea:focus
{
    outline: none;
    background-color: var(--acc3);
}

input[type="submit"]
{
    background-color: var(--acc2);
    color: white;
    transition: background-color 1s;
    border: none;
}

input[type="submit"]:hover, input[type="submit"]:focus
{
    background-color: var(--acc1);
    cursor: pointer;
}

footer
{
    background-color: var(--dark);
    padding: 20px 0;
    text-align: center;
}

footer .col
{
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

footer > *
{
    color: white; 
}

footer h2
{
    margin: 0;
    font-weight: normal;
    font-size: 1.25em;
}

footer p, footer a, footer span
{
    font-size: 10pt;
    margin: 0;
}

footer .contact
{
    display: flex;
    gap: 5px;
    justify-content: center;
    margin: 0;
}

footer a
{
    color: var(--grey);
    transition: all 0.5s;
}

footer a:hover
{
    color: var(--acc3);
}

footer ul
{
    list-style-type: none;
    padding-left: 0;
    gap: 20px;
    margin: 0;
    justify-content: center;
}

footer ul
{
    display: flex;
}

ul a
{
    text-decoration: none;
}

@media screen and (min-width: 860px) {
    
    header .col
    {
        align-self: stretch;
    }

    header #title
    {
        flex-grow: 2;
    }

    nav
    {
        justify-content: space-between;
        height: 60px;
    }
    
    nav .link-wrapper
    {
        visibility: visible;
        opacity: 1;
        position: relative;
        display: flex;
        align-items: center;
        height: auto;
        justify-content: space-between;
        height: 60px;
    }

    nav .link-wrapper ul
    {
        transform: none;
    }

    #mobile-toggle
    {
        display: none;
    }

    nav ul.links
    {
        display: flex;
        flex-direction: row;
        gap: 40px;
    }

    nav ul li
    {
        position: relative;
        font-size: 12pt;
    }

    nav ul li ul li
    {
        font-size: 12pt;
        margin-top: 15px;
    }

    .row
    {
        flex-direction: row;
    }

    section .row
    {
        flex-wrap: wrap;
    }

    section .col
    {
        flex: 1 0 30%;
    }
    
    footer .row
    {
        align-items: flex-start;
    }

    .max-wrap
    {
        max-width: var(--max);
        margin: 0 auto;
        padding: 0 30px;
    }

    header .col:nth-child(1)
    {
        padding-left: 0;
    }

    section.landing .max-wrap
    {
        text-align: left;
        padding: 0 30px;
    }

    section.landing #compress
    {
        width: 60%;
    }

    section.landing h1
    {
        font-size: 3em;
        margin: 0;
        font-weight: 100;
    }

    section.landing h2
    {
        font-size: 2em;
        font-weight: 100;
        margin: 0;
    }

    section.landing .btn
    {
        margin: 0;
    }

    section:not(.landing):not(header) h1, footer h1
    {
        font-size: 2.25em;
    }

    section.about .max-wrap > .row > .col:nth-child(1)
    {
        flex-grow: 3;
    }

    section.services .grid-row
    {
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 0px;
    }

    .grid-col:nth-child(n+4)
    {
        border-bottom: 0px !important;
    }

    .grid-col:not(:nth-child(3n))
    {
        border-right: 1px solid var(--light);
    }

    form
    {
        width: 75%;
        margin: 0 auto;
    }
}