*{ /*styling for website*/
    margin: 0;
    padding: 0;
    font-family: 'Poppings', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{ /*background and font color*/
    background: url(images-road/roadmap.jpg);
    color: #fff;
}
#header{ /*background image styling*/
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(images-road/background.jpg);
    background-size: cover;
    background-position: center;
}
/***** NAV STYLING *****/
.container{
    padding:10px 5%;
}
nav{
    display: flex; /*image and links will be side by side*/
    align-items: center;
    justify-content: space-between; /*space between*/
    flex-wrap: wrap;
}
.logo{ /*Logo width*/
    width: 280px;  
}
nav ul li{ /*Lining up nav list*/
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a{ /*styling for the anchor tag*/
    color: #fff;
    text-decoration: none;
    font-size: 32px;
    position: relative;
    text-shadow: 2px 2px #262626;
}
nav ul li a::after{ /*hover effect on links*/
    content: '';
    width: 0; /*This is set to 0 so it will be hidden until moused over*/
    height: 3px;
    background: #00719c;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}
/***** NAV STYLING END *****/

/***** HEADER TEXT STYLING *****/
.header-text{
    margin-top: 7%;
    font-size: 30px; 
    text-shadow: 1px 1px #262626
    
}
.header-text h1{
    font-size: 60px;
    margin-top: 20px;
    color: #fff;
    text-shadow: 2px 2px #262626;
}
.header-text h1 span{
    color: #00719c;
}
.header-text p span{
    color: #00719c;
}

/* Button under columns */
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 2px solid #00719c;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fbf5f3;
    background: #262626;
    transition: background 0.5s;
}
.btn:hover{
    background: #00719c;
}

.btn-road{
    font-size: 50px;
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 4px solid #00719c;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fbf5f3;
    background: #262626;
    transition: background 0.5s;
}
.btn-road:hover{
    background: #00719c;
}
/***** PORTFOLIO END *****/

/*****Call to Action*****/
.call-to-action {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images-road/background.jpg");
    min-height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-top: 50px;
}
.cta-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
}
.cta-text button {
    background-color: #262626; 
    color: #fff; 
    border: 2px solid #00719c;
    width: 140px;
    height: 55px;
    font-size: 18px;
    border-radius: 15px;
    margin: 20px 0;
    cursor: pointer;
}
.cta-text button:hover {
    background-color: #00719c;
    color: #fff;
}

/*****Footer*****/
.footer{
    margin-top: 80px;
    width: 100%;
    padding: 100px, 15%;
    background: #262626;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 300px;
}
.footer-logo{
    width: 180px;  
    margin-left: 50px;
}
.footer div{
    text-align: center;
    margin: 0 20px;
}
.footer-col-1{
    flex: 1;
    flex-basis: 33%;
    text-align: left;
}
.footer-col-2{
    flex: 1;
    flex-basis: 33%;
    text-align: center;
}
.footer-col-4{
    flex: 1;
    flex-basis: 33%;
    text-align: left;
}
.footer div h4{
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    text-align: left;
    margin-bottom: 30px;
    letter-spacing: 1px;
}
.footer div h3{
    font-size: 28px;
    font-weight: 600;
    color: #fbf5f3;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-align: left;
}
.footer p{
    font-size: 16px;
    text-align: left;
}
.footer-col-2 a{
    font-size: 18px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    margin-bottom: 10px;
    text-align: left;
}
.footer-col-3 a{
    font-size: 18px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

/*****1-col-large*****/
#1-col-large{
    padding: 80px 0;
    color: #000;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.one-col-large{
    flex-basis: 100%;
}
.sub-title-large{
    font-size: 48px;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin: 30px 0;
} 
.one-col-large p{
    font-size: 22px;
    color: #000;
    font-weight: 500;
    text-align: left;
    margin: 20px 30px;
}
.one-col-large span{
    color: #00719c;
    font-size: 32px;
    font-weight: 600;
}

/******2-col-txt-img*****/
#2-col-img-txt-2{
    padding: 80px 0;
}
.txt-img-row{
    display: flex;
    flex-wrap: wrap;
    margin: 80px 30px;
    box-shadow: 5px 10px #00719c;
}
.txt-img-col-1{
    flex-basis: 50%;
}
.txt-img-col-1 img{
    width: 100%;
    height: 100%;
}
.txt-img-col-2-2{
    flex-basis: 50%;
    color: #000;
    background: #262626;
}
.txt-img-sub-title{
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin: 20px 30px;
}
.txt-img-col-2-2 p{
    font-size: 26px;
    color: #fff;
    margin: 0 5px;
    padding: 50px;
    padding-left: 80px;
}
.txt-img-col-2-2 a{
    text-decoration: none;
    color: #fff;
    font-size: 26px;
    margin-top: 20px;
    display: inline-block;
}


/***** CSS FOR SMALL SCREEN *****/
nav .fa-solid{ /*Hide icons from nav*/
    display: none;
}
@media only screen and (max-width: 900px){ /*This is for mobile/other size screens*/
    #header{ /*Mobile background*/
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url(images/phone-background.jpg);
    }
    .logo{
        width: 180px;  
    }

    .container{
        padding:10px 5%;
    }
    /***** HEADER MOBILE *****/
    .header-text{
        margin-top: 60%;
        font-size: 18px;
    }
    .header-text h1{
        font-size: 35px;
    }
    .header-text p{
        font-weight: 500;
    }

    /***** NAV MOBILE *****/
    nav .fa-solid{ /*Shows nav icons on mobile*/
        display: block;
        font-size: 48px;
        color: #fbf5f3;
        margin-right: 30px;
    }
    nav ul{ /*Pop out nav menu on mobile*/
        background: #262626;
        position: fixed;
        top: 0;
        right: -200px; /*This hides menu by default*/
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2; 
        transition: right 0.5s;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    /*****CTA MOBILE****/
    .cta-text {
        font-size: 14px;
    }

    /*****FOOTER MOBILE*****/
    .footer {
        margin-top: 50px;
        padding: 50px 15px;
        color: #fbf5f3;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        min-height: 300px;
    }
    .footer-logo{
        width: 160px;  
        margin-left: 0px;
        margin-bottom: 30px;
    }
    .footer div h4{
        font-size: 28px;
        font-weight: 600;
        color: #fbf5f3;
        text-align: center;
        margin-left: 15px;
        margin-bottom: 30px;
        letter-spacing: 1px;
    }
    .footer h3{
        margin-top: 30px;
    }
    .footer-col-1{
        flex-basis: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    .footer-col-2{
        flex-basis: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    .footer-col-3{
        flex-basis: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    .footer-col-4{
        flex-basis: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    .footer-col h4 {
        font-weight: 300;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }
    .footer-col h3 {
        font-weight: 300;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }
    .footer-col a {
        display: block;
        text-decoration: none;
        color: #fbf5f3;
        margin-bottom: 10px;
    }   
    .social-icons {
        margin-top: 20px;
    }
    .social-icons i {
        font-size: 22px;
        margin: 0 10px;
        cursor: pointer;
    }
    
    /******2-col-txt-img Mobile*****/
    .txt-img-col-1{
        flex-basis: 100%;
    }
    .txt-img-col-1 img{
        width: 100%;
    }
    .txt-img-col-2-2{
        flex-basis: 100%;
        color: #000;
    }
    .txt-img-sub-title{
        font-size: 28px;
        font-weight: 600;
        color: #fbf5f3;
        margin: 20px 30px;
    }
    .txt-img-col-2-2 p{
        font-size: 18px;
        color: #fbf5f3;
        margin: 20px 15px;
        padding: 0px;
        padding-left: 0px;
    }

    /*****1-col-large Mobile*****/
    .one-col-large{
        flex-basis: 100%;
    }
    .sub-title-large{
        font-size: 32px;
        font-weight: 600;
        color: #000;
        text-align: center;
        margin: 20px 0;
    } 
    .one-col-large p{
        font-size: 18px;
        color: #000;
        text-align: left;
        margin: 20px 30px;
    }
    .contact-row{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 50px;
        margin-bottom: 80px;
    }
    .contact-left{
        flex-basis: 100%;
        padding-left: 0px;
    }
    .contact-right{
        flex-basis: 100%;
    }
    .contact-left p{
        font-size: 18px;
    }
    .contact-left p i{
        font-size: 22px;
    }
    .contact-sub-title{
        font-size: 32px;
    }
    .contact-sub-title i{
        font-size: 32px;
    }
    .social-icons-contact a{
        font-size: 30px;
        margin-bottom: 50px;
    }
    form .btn2{
        margin-left: 30%;
    }
}