/* VARIABLES */
:root {
    --primary-color: #074e98;
    --secondary-color: #c73636;
    --tertiary-color: #ebf2fb;
    --text-dark-color: #5a5a5a;
    --text-light-color: #f2f2f2;
    --button-hover-color:#dc4040;
}

/* NAV */
.navbar{
    position: fixed !important;
    top:0;
    width: 100%;
    z-index: 100;
    box-shadow: 1px 1px 7px #00000040;
}
.navbar-nav{
    margin-left:auto !important;
}
.navbar-toggler{
    border: none !important;
}
.nav-logo{
    width: 10rem;
}
.nav-item{
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 0rem .67rem;
    text-transform: uppercase;
}
.nav-item a{
    color: var(--primary-color) !important;
}
.nav-item > button > a{
    color: var(--text-light-color) !important;
    z-index: 101;
    text-decoration: unset !important;
}

/* GENERAL */
h1{
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
}
h1, h2, h3{
    color: var(--primary-color);
    text-transform: uppercase;
}
p{
    color: var(--text-dark-color);
}
button{
    height: 2rem;
    padding: .1rem 1rem !important;
    font-weight: 600 !important;
    border:1px solid var(--secondary-color) !important;
}
.btn-primary{
    background-color: var(--secondary-color) !important;
    color:var(--text-light-color) !important;
}
.btn-primary:hover{
    background-color: var(--button-hover-color) !important;
    color: #fff;
}
@media only screen and (max-width: 768px) {
    .section{
        padding: 2rem;
    }
}
@media only screen and (min-width: 768px) {
    .section{
        padding: 3rem;
    }
}


/* BANNER SECTION */
#banner-section{
    color: var(--text-light-color);
    display: grid;
}
#banner-section > div{
    display: flex;
    flex-wrap: wrap;
}
#banner-section button{
    color: var(--primary-color);
    margin-top: 1rem;
}
.bg-image{
    background-image: url('../img/banner.jpg');
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
    height: 30rem;
    width: 60vw;
    z-index: -1;
}
@media only screen and (max-width: 768px) {
    #banner-section{
        padding: 8rem 3rem;
        grid-template-columns: .55fr .45fr;
    }
    .bg-image::before{
        width: 75vw;
    }
    .banner-overlay-1{
        margin-left: -15vw;
        height: 29rem;
        width: 6vw;
    }
}
@media only screen and (min-width: 768px) {
    #banner-section{
        padding: 10rem 3rem;
        grid-template-columns: 1fr 1fr;
    }
    .bg-image::before{
        width: 66vw;
    }
    .banner-overlay-1{
        margin-left: -13vw;
        height: 30rem;
        width: 10vw;
    }
}
.bg-image::before{
    content: '';
    background-color: var(--primary-color);
    height: 30rem;
    margin-left: -52vw;
    transform: skewX(30deg);
}
.banner-overlay-1{
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fcfcfe;
    z-index: -1;
    transform: skew(28deg, 288deg);
}
.banner-content{
    padding: 0rem 3vw;
    font-size: 1.3rem;
    font-weight: 600;
}

/* ABOUT US SECTION */
#aboutus-section{
    background-color: #fff;
    display: grid;
    grid-template-columns: .3fr .7fr;
    column-gap: 2rem;
}
#aboutus-section .title{
    margin-left: auto;
    align-items: center;
    display: grid;
    text-align: right;
}
#aboutus-section .title p{
    color: var(--primary-color);
    font-size: 1.25rem;
}
@media only screen and (max-width: 768px) {
    .aboutus {
      grid-column-start: 1;
      grid-column-start: 3;
    }
}
@media only screen and (max-width: 992px) {
    .flipped {
        margin-bottom: -3px;
    }
    .aboutus-angle:not(.flipped):after {
        margin-top: -2px;
    }
}
@media only screen and (min-width: 992px) {
    .flipped {
        margin-bottom: -2px;
    }
    .aboutus-angle:not(.flipped):after {
        margin-top: -2px;
    }
}
.flipped {
    transform: rotate(180deg);
    /* margin-bottom: -2px; */
    margin-top: -5rem;
}
.aboutus-angle {
    position: relative;
    padding: 1em 5em 1em 1em;
    overflow: hidden;
    color: #fff;
    width: 100%;
    height: 5rem;
}
.aboutus-angle:not(.flipped){
    display: inline-block;
}
.aboutus-angle:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: skew(93.67deg);
    -ms-transform: skew(93.67deg);
    transform: skew(93.67deg);
}

/* WHY RENDER SECTION */
#whyrender-section h1{
    text-align: center;
}
.features-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}
.feature{
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-rows: 1fr 1fr 1fr;
    width: 28vw;
    padding: 1.3rem;
    text-align: center;
}
.icon-circle{
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    border-radius: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light-color);
    font-size: 2.5rem;
}
.icon-circle img{
    width: 3rem;
    height: 3rem;
    filter: invert(1);
    color: var(--text-light-color);
}

/* OUR PROCESS SECTION */
.process{
    width: 100%;
    position: absolute;
    left: 0;
    background-image: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    display: grid;
    align-items: center;
    text-align: center;
    padding: 1rem;
}
.process span{
    color: var(--text-light-color);
    word-wrap: break-word;
}
.chevron {
    position: relative;
    display: flex;
    height: 1rem;
    width: 1rem;
    transform: rotate(45deg);
    align-self: center;
    align-items: center;
    justify-content: center;
}
.chevron::after{
    content: '';
    position: absolute;
}
@media only screen and (max-width: 768px) {
    #ourprocess-section{
        margin-bottom: 15rem;
    }
    .process{
        height: 15rem;
        grid-template-columns: 1fr .1fr 1fr .1fr;
        grid-template-rows: 1fr 1fr 1fr;
        column-gap: .3rem;
        row-gap: 1rem;
    }
    .chevron::after{
        height: 1.33rem;
        width: 1.33rem;
        border-right: 5px solid white;
        border-top: 5px solid white;
        transform: skew(15deg, 15deg);
    }
}
@media only screen and (min-width: 768px) {
    #ourprocess-section{
        margin-bottom: 10rem;
    }
    .process{
        height: 10rem;
        grid-template-columns: 1fr .1fr 1fr .1fr 1fr .1fr 1fr .1fr 1fr .1fr 1fr;
        column-gap: 1rem;
    }
    .chevron {
        margin-left: -1.5rem;
    }
    .chevron::after{
        height: 5.5rem;
        width: 5.5rem;
        border-right: 10px solid white;
        border-top: 10px solid white;
        transform: skew(25deg, 25deg);
    }
}

/* WHAT SETS US APART SECTION */
#apart-section h1{
    text-align: center;
}
.bullets-container{
    display: flex;
    flex-wrap: wrap;
}
.bullet-large{
    display: grid;
    grid-template-columns: .1fr .9fr;
    column-gap: 1.5rem;
    align-items: center;
    min-height: 5rem;
}
.bullet-circle{
    border: 3px solid var(--primary-color);
    height: 3.3rem;
    width: 3.3rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-self: center;
    justify-content: center;
}
.bullet-circle > div{
    border: 1px solid var(--primary-color);
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.66rem;
}
.bullet-circle.secondary{
    border: 1px solid var(--secondary-color);
}
.bullet-circle.secondary > div{
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}
/* CONTACT US SECTION */
.contact-form{
    padding: 1rem;
    border-radius: .5rem;
    box-shadow: 3px 3px 9px 0px #00000036;
    padding-bottom: 3.3rem;
    background-color: white;
}
.contact-form button{
    float:right;
}
#contactus-section div{
    z-index: 5;
}
@media only screen and (min-width: 768px) {
    .input-pair{
        grid-template-columns: .2fr .8fr;
        column-gap: 1rem;
    }
}
.input-pair{
    display: grid;
    margin-bottom: 1rem;
}
.input-pair input{
    border: none;
    background-color: var(--tertiary-color);
    border-radius: .25rem;
    height: 1.75rem;
}
.input-pair textarea{
    border: none;
    background-color: var(--tertiary-color);
    border-radius: .25rem;
}

#contact-modal .modal-content{
    box-shadow: 3px 3px 9px 0px #00000036;
}
#contact-modal .modal-dialog{
    margin-top: 6.67rem;
}
#contact-modal .modal-content, #contact-modal .modal-header, #contact-modal .modal-footer{
    border: none;
}
#contact-modal .modal-header{
    background-color: var(--primary-color);
    color: var(--text-light-color);
    font-size: 1.3rem;
    height: 3rem;
}

/* FOOTER SECTION */
#footer-section{
    background-color: var(--secondary-color);
    min-height: 40rem;
    z-index: -1;
    position: relative;
}

.footer-angle{
    position: relative;
    padding: 1em 5em 1em 1em;
    overflow: hidden;
    z-index: -1;
    width: 100%;
    height: 5rem;
    margin-top: -30rem;
}

.footer-angle:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: skew(93.67deg);
    -ms-transform: skew(93.67deg);
    transform: skew(93.67deg);
}