* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.6), rgba(4, 9, 30, 0.6)), url('images/folder/1 Leroy Pl Doncaster East-29-min.jpg');
    background-size: cover;
    background-position: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 2% 6%;
    align-items: center;
}

.brand h1 a {
    text-decoration: none;
    color: white;
}

.navbar .brand-logo {
    width: 250px;
}

.brand-logo {
    width: 250px;
}

.nav-title {
    text-align: center;
}

.nav-list ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
}

.nav-list ul li {
    list-style: none;
    padding: 8px 12px;
    position: relative;
    display: inline-block;
}

.nav-list ul li a {
    text-decoration: none;
    color: white;
    font-size: 13px;
}

.nav-list ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-list ul li:hover::after {
    width: 100%;

}

.text-box {
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight:600;
}

.text-box h1 {
    font-size: 62px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: white;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.btn-blue {
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: 12px 34px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 20px;
    background: rgb(15, 15, 86);
}


.hero-btn:hover {
    border: 1px solid #f44336;
    background-color: #f44336;
    transition: 1s;
    color: white;
}

nav .fa-solid {
    display: none;
}

@media(max-width: 700px) {
    .text-box h1 {
        font-size: 24px;
    }
    
    .text-box p{
        font-size:12px;
    }

    .nav-list ul {
        flex-direction: column;
        text-align: left;
        padding: 30px;
    }

    .nav-list {
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }


    nav .fa-solid {
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }


}

/* Sevices */

.features {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h1 {
    font-size: 36px;
    font-weight: 600;
}

p {
    color: #777;
    font-size: 14px;
    line-height: 22px;
    padding: 10px;
    font-weight: 300;
}

.row {
    display: flex;
    flex-direction: row;
    margin-top: 5%;
    justify-content: space-between;
}

.feature-col {
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    padding: 20px 10px;
    box-sizing: border-box;
}

.feature-col h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.feature-col:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}

@media(max-width:700px) {
    .row {
        flex-direction: column;
    }

    .feature-col {
        margin: 10px 0;
    }
}

/* Locations*/

.location {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.location-col {
    flex-basis: 32%;
    border-radius: 5px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.location-col img {
    width: 100%;
    display: block;
}

.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.layer:hover {
    background: rgba(4, 5, 52, 0.7);
}

.layer h3 {
    width: 100%;
    font-weight: 500;
    color: white;
    transform: translateX(-50%);
    bottom: 0;
    left: 50%;
    font-size: 26px;
    position: absolute;
    opacity: 0;
    transition: 1.2s;
}

.layer:hover h3 {
    bottom: 49%;
    opacity: 1;
}

/*Services*/

.services {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}


.service-col {
    flex-basis: 31%;
    margin-bottom: 5%;
    text-align: left;
    border-radius: 10px;
}

.service-col:hover {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.service-col .service-body {
    padding: 20px;
}

.service-col img {
    width: 100%;
    border-radius: 10px;
}

.service-col .service-body .btn-blue {
    margin-top: 10px;
}

.service-col p {
    padding: 0;
}

.service-col h3 {
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

.highlight .row {
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.highlight {
    width: 80%;
    margin: auto;
    text-align: center;
}

.highlight-col p {
    padding: 20px 0;
}

.highlight img {
    width: 100%;
}

/*Testimonals*/

.testimonials {
    width: 80%;
    margin: auto;
    text-align: center;
}

.testimonials-col {
    flex-basis: 44%;
    margin-bottom: 5%;
    border-radius: 10px;
    background: #fff3f3;
    padding: 25px;
    display: flex;
    cursor: pointer;
    text-align: left;
}

.testimonials-col img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonials-col p {
    padding: 0;
}

.testimonials-col h3 {
    margin-top: 15px;
    text-align: left;
}

.testimonials-col .fa-solid {
    color: rgb(210, 210, 24);
}

@media(max-width:700px) {
    .testimonial-col img {
        margin-left: 0px;
        margin-right: 5px;
    }
}

/*Cta*/

.cta {
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/folder/1 Leroy Pl Doncaster East-24-min.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
    color: white;
}

.cta h1 {
    color: white;
    margin-bottom: 40px;
    padding: 0;
}

@media(max-width:700px) {
    .cta h1 {
        font-size: 24px;
    }
}

/*Footer*/


footer h4 {
    margin-top: 20px;
    margin-bottom: 25px;
    font-weight: 600;
}

.icons .fa-brands,
.fa {
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

.footer-brand img#footer-logo{
    max-height:100px;
    max-width:100px;
}

footer {
    background: rgb(7, 7, 84);
    color: white;
    display: flex;
    justify-content: space-evenly;
    flex-direction:row;
    align-items: center;
    padding: 30px;
    width: 100%;
    margin: auto;
}


footer p {
    color: white;
    text-align: center;
}

@media(max-width:700px) {
    footer{
        display:flex;
        flex-direction:column;
    }
}


.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.6), rgba(4, 9, 30, 0.6)), url('images/WeChat\ Image_20221013195358.jpg');
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
}

.sub-header h1 {
    text-align: center;
}


.sub-header .nav-title {
    font-size: 48px;
    text-align: center;
    position: relative;
    top: 50px;
}

.about-us {
    width: 80%;
    margin: auto;
    padding-top: 30px;
    padding-bottom: 80px;
}

.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img {
    width: 100%;
}

.about-col h1 {
    padding-top: 0;
}

.about-col p {
    padding: 15px 0 25px;
}

.red-btn {
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}


/* Contact us*/


.contact-main {
    width: 80%;
    margin: auto;
    text-align: center;
}


.contact-main p {
    padding-top: 50px;
    line-height: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}

.location {
    width: 80%;
    margin: auto;
    text-align: center;
}

iframe {
    width: 100%;
    margin-bottom: 50px;
}

.contact-us {
    width: 80%;
    margin: auto;
}

.contact-col {
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa {
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div p {
    padding: 0;
}

.contact-col div h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.contact-col input,
.contact-col textarea {
    width: 100%;
    padding: 15px;
    outline: none;
    margin-bottom: 17px;
    box-sizing: border-box;
}


/*Services page*/

.services-page {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-bottom: 100px;
    padding-top: 50px;
}

.services-page .row {
    gap: 50px;
    align-items: center;
}

.service-col-page img {
    width: 500px;
    height: auto;
}


@media(max-width:700px) {
    .service-col-page img {
        width: 100%;
    }
    

}

.project-btn {
    margin-top: 50px;
}

.project-btn a {
    color: white;
    text-decoration: none;
}

.project1 {
    width: 80%;
    margin: auto;
    text-align: center;
}


.row1,
.row2,
.row3 {
    display: flex;
    margin: 20px;
    gap: 20px;
    justify-content: center;
}

.project1 img {
    width: 300px;
    height: 200px;

}

@media(max-width:700px){
    .row1,
    .row2,
    .row3 {
    display: flex;
    flex-direction:column;
    gap: 5px;
}

.project1 img{
    width:auto;
    height:auto;
}
}

