@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;900&display=swap');



/* CORE STYLES */

:root {
    --background: #093975;
    --royalblue: #002F69;
    --text: #fff; 
    --lightblue: #0087FF; 


} 

body {
	background-color: var(--background);
	margin: 0px;
	font-family: Roboto, Arial, Helvetica, sans-serif; 
}
a{
    color: var(--text);
    text-decoration: none;
    transition: 0.4s;
}
a:hover{
    color: var(--lightblue); 
}
img {
	max-width: 100%;
	border: 0; 
}
section > *{
    max-width: 1200px;
}
section{
    display: grid;
    scroll-snap-align: center;
    position: relative;
}
section.darkblue{
    background-color: var(--background);
    color: var(--text);
}
section.darkblue.royalblue{
    background-color: var(--royalblue);
}
section.white,
section.testimonials{
    background-color: var(--text);
    color: var(--background);
}
section .grid{
    display: grid; 
    margin: auto;
}
section.lightblue{
    background-color: var(--lightblue);
    color: var(--text);
    text-align: center;
}
section .grid > div{
    display: grid;
    gap: 1rem;
}
section .grid > div.frontpage{
    align-items: center;
}
section .down{
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    height: 60px;
    width: 60px;
    z-index: 1;
}
section .down.up{
    transform: rotate(180deg);
}
.ourlogo{
    display: block;
    text-align: center;
    font-size: 1.6rem;
    gap: 1rem; 
    text-transform:uppercase; 
    font-weight: 900;
}
.ourlogo img{
    width: 160px; 
}
h1{
    font-size: 3.5rem;
    text-transform:uppercase; 
    font-weight: 900;
    line-height: 1.4;
    justify-self:center;
    text-align: center;
}
h3{
    font-size: 2.5rem;
    padding-block: 1rem;
    font-weight: 900;
    line-height: 1.4;
    justify-self:center;
    text-align: center;
}
h4{
    font-size: 2rem;
    margin-block: 1.5rem;
    font-weight: 900;
    line-height: 1.4;
}
section.lightblue p{
    justify-self:center;
    text-align: center;
}
.lets{
    font-size: 3.5rem;
    padding: 3svw;
    text-align: center;
    font-weight: 900;
    max-width: 450px;
    margin: auto;
    line-height: 1.4;
    text-transform:uppercase; 
}
.frontpage{
    padding: 5svw;
}
.contact{
    display: grid;
    gap: 1rem;
    padding-inline: 3svw;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-inline: auto;
    width: fit-content;
}
.contact div{
    justify-content: center;
    text-align: center;
    display: grid;
    align-items: center;
}
.contact img{
    width: 60px; 
    vertical-align: middle;
}
section.white > div:not(.down),
.construction > div:first-child{
    justify-content: center;
    display: grid;
    padding: 3svw;
    align-content: flex-start;
}
section.firstslide{
    width: auto;
    max-width: none;
    display: block;
}
section p{
    font-size: 1.4rem;
    line-height: 1.7;
}
.grid.first, .firstslide,
section.firstslide > *:not(.down){
    padding: 0;
    max-width: none;
    width: auto;
    max-width: none;
}
.grid.first > div:nth-child(2){
    padding: 1rem; 
}
.boxes{
    display: grid;
    gap: 2rem; 
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
}
.boxes div{
    display: grid;
    padding: 1rem;
    gap: 1rem; 
    background-color: var(--text);
    color: var(--background); 
}
.boxes > div > div:first-child > *{
    color: var(--text);
    background-color: var(--background);
    border-radius: 50%;
    height: 3rem;
    width: 3rem;
    margin: auto; 
    text-align: center;
    justify-content: center;
    display: grid;
    font-size: 3rem;
    line-height: 3rem;
}
section h3,
section p{
    max-width: 600px; 
}
.boxes > div > div:nth-child(2) {
    font-size: 1.5rem;
    padding: 0.5rem;
    font-weight: 900;
    line-height: 1.4;
    justify-self:center;
    text-align: center;
    text-transform: uppercase;
}
section h3, 
section p{
    padding-block: 0.5rem; 
    margin-block: 0;
}
.social{
    width: fit-content;
    justify-self: flex-end;
}
.social img{
    margin: 0.5rem; 
    height: 50px; 
    width: 50px; 
}

.twopics{
    font-size: 2rem;
    padding: 0.5rem;
    font-weight: 900;
    line-height: 1.4;
    justify-self:center;
    text-align: center;
    display: grid;
    gap: 2rem; 
}
.construction h3{
    font-size: 3.5rem;
    justify-self: flex-start;
    text-align: unset;
    line-height: 1;
}
.page{
    background-position: center center;
    background-size: cover;
    min-height: 60svw; 
}
.longtext{
    max-width: calc(1200px - 6svw);
    margin: 3rem auto; 
    text-align: left;
    padding: 3svw;
}
.header{
    max-width: calc(1200px - 6svw);
    text-align: left;
    padding: 3svw;
}
.longtext h4, 
section .longtext p{
    max-width: unset;
    text-align: unset;
}
.longtext h3, 
.header h3, 
.contactus h3{
    font-size: 3.5rem;
    max-width: unset;
    text-align: unset;
    justify-self: unset;
}
.lightblue p a{
    color: var(--text);
    border-bottom: 1px dashed var(--text);
}
.lightblue p a:hover{
    color: var(--background);
    border-bottom: 1px dashed var(--background);
}
.reviews{
    max-width: calc(1200px - 6svw);
    text-align: left;
    padding: 3svw;  
    display: grid;
    gap: 2.5rem; 
}
.reviews span{
    display: block;
    font-weight: 900;
    padding-block: 0.1rem;
    font-size: 1rem;
    line-height: 1.7;
}
.reviews p, 
.reviews span,
.longtext p{
    font-size: 1rem;
}
.contactus{
    padding: 3svw;
}
.contactus .social{
    justify-self: unset;
}
section.white.withlogos{
    height: auto;
    min-height: unset;
}
section.white div.logos {
	text-align: center;
	max-width: 1200px;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-flow: row wrap;
    gap: 1rem; 
}
section.white div .logos div{
	vertical-align:middle; 
	flex: 1 1 auto;
	width: 160px;
}
.logos img {
	max-width: 160px; 
}
.iw {
	font-size: 12px;
	padding: 10px 10vw;
	text-align: right;
} 
.iw a{
	color: #ccc;
	text-decoration: none;
}
#two .grid > div > img{
    text-align: center;
    justify-self: center;
}


@media only screen and ( min-width: 900px ) {
    html {
        scroll-behavior: smooth;
        /* scroll-snap-type: y proximity; */
    }
    section{
        padding: 5svh;
        justify-content: center;
        align-items: center;
    } 
    .section > div{
        margin: auto;
    }
    section .grid, 
    .twopics:not(.onepic){
        grid-template-columns: 1fr 1fr;
    }
    .boxes{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .boxes > div {
        border-radius: 4px;
    }
    .twopics img{
        height: 500px; 
        display: block;
        margin-bottom: 1rem;
        object-fit: cover;
        border-radius: 4px;
    }
    .grid.first{
        height: 100%; 
    }
    .construction > div:first-child{
        padding-top: 0.5rem;
    }
    .reviews{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .reviews > div{ 
        position: relative;
    }
    .reviews > div:before{
        content: '';
        position: absolute;
        height: 7px;
        width: 25%;
        background-color: var(--background);
        top: -30px; 
    }
    .contactus .grid{
        grid-template-columns: 1fr 1fr;
        gap: 2rem; 
    }
    .contactus .grid > div{
        align-content: flex-start;
    }
    .reveal{
        position: relative;
        opacity: 0;
        transition: 3s all ease;
      } 
      .reveal.active{
        opacity: 1;
      }
      .reveal:not(.fade):not(.up){
        transform: scaleX(0);
        transition: 2s all ease;
      }
      .reveal.active:not(.fade):not(.up){
        transform: scaleX(1);
      }
}


@media only screen and ( min-width: 500px ) {
    .contact{
        grid-template-columns: 1fr 3fr;

    }
    h1{
        align-self: flex-start;
        justify-self: flex-start;
    }

}





  /* wide but not tall */
  @media only screen and ( min-width: 900px )and ( max-height: 1200px ) {
    section{
        min-height: 90svh;
    }
    .page{
        min-height: 100svh;
    }

  }




  @media only screen and ( max-width: 500px ) {
    a,
    h1, 
    h3,
    .ourlogo,
    .lets,
    .construction h3,
    .longtext h3,
    .header h3,
    .contactus h3 {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -ms-word-break: break-all;
        word-break: break-all;
        word-break: break-word;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;
        }
    h1,
    h3,
    .ourlogo,
    .lets,
    .construction h3,
    .longtext h3,
    .header h3,
    .contactus h3{
        font-size: 2rem;
    }
    section{
        padding: 1rem;
    }
    section p{
        font-size: 1.1rem;
    }
    section.lightblue p,
    section.lightblue,
    h3{
        justify-content: unset;
        text-align: unset;
    }
    .down{
        display: none;
    }

  }






