*{
    font-family: Helvetica, sans-serif;
    margin: 0 ;
    padding: 0;
    scroll-behavior: smooth;
}

/* fonts */
@font-face {
    font-family: "Niconne";
    src: url("fonts/Niconne-Regular.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

.niconne{
    font-family: "Niconne";
}

@font-face {
    font-family: "Helvetica World";
    src: url("fonts/HelveticaWorld-Bold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}


body{
    background: #f2f2f2;
    position: relative;
}

body.no-scroll {
    overflow: hidden;
}

li{
    list-style-type: none;
}

a{
    text-decoration: none;
    cursor: pointer;
}

::placeholder {
    color: #fff;
    opacity: 1; /* Firefox */
}

button{
    cursor: pointer;
    padding: 15px 15px;
    border-radius: 10px;
    background: #82d7fd;
    border: none;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid #82d7fd;
    font-size: 17px;
    font-weight: bold;
    padding: 16px 20px;
    text-transform: uppercase;
}

button img{
    transition: 0.3s;
    margin-right: 10px;
    width: 25px;
    height: 25px;
}

button:hover img{
    transform: rotate(-45deg);
}

.unselectable {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* BREADCRUMBS SECTION */
nav#breadcrumbs{
    background: #274332;
    color: #fff;
    position: absolute;
    top: -100px;
    height: 20px;

}
nav#breadcrumbs ol{
    display: flex;
}

nav#breadcrumbs ol li{
    margin-right: 10px;
    display: flex;
    align-items: center;
}

nav#breadcrumbs ol li a{
    padding-right: 5px;
    color: #fff;
    font-size: 5px;
}


/* HEADER SECTION */
header{
    left: 0;
    right: 0;
    top: 0;
    background: transparent;
    /* border-bottom: 2px solid #7fb1cb; */
    z-index: 2;
}


div.banner{
    display: flex;
    align-items: center;
    /* justify-content: center; */
    padding: 10px 80px;
    background: #82d7fd;
    color: #000;
    letter-spacing: 1.5px;
    /* font-weight: 550; */
    font-size: 18px;
    letter-spacing: -0.2px;
}

div.banner-d{
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

div.banner-d div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 50%;
}

div.banner-d div span{
    display: flex;
    align-items: center;
    justify-content: initial;
    /* margin: 0 20px; */
}

div.banner-d div span img{
    margin: 0 5px;
}

div.banner p a{
    color: #000;
}


div.banner p img{
    width: 30px;
    margin-left: 5px;
}

div.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
}

.logo{
    width: 200px;
}

nav ul{
    display: flex;
}

nav ul li{
    padding: 0 20px;
}

nav ul li a{
    padding: 10px 0;
    color: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
}

nav ul li a span{
    width: 0%;
    height: 5px;
    background: #7fb1cb;
    margin-top: 5px;
    transition: 0.3s;
    position: absolute;
    bottom: 0;
}

nav ul li a:hover span{
    width: 100%;
}

nav ul li a.active span{
    width: 100%;
}

div.social-media{
    display: flex;
    align-items: center;
}

div.social-media a{
    cursor: pointer;
    margin-left: 15px;
}

div.social-media img{
    width: 30px;
    height: 30px;
}

div#contact-info button img:nth-child(2){
    display: none;
}


/* MOBILE MENU TOGGLE BUTTON */
#menu{
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: none;
    border: 2px solid #7fb1cb;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    background: #7fb1cb;
    transform: scale(0.8);
}

.menu .container{
    width: 45px;
    height: 45px;
    margin: 4px;
    position: relative;
    transform: scale(0.8);
}

#menu span{
    background: #fff;
    width: 80%;
    height: 5px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.5s, width 0.5s;
    transition: 0.3s;
}

#menu.force {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.374) !important;
}

#menu .line-1{
    transform: translate(-50%, -14px);
}

#menu .line-3{
    transform: translate(-50%, 9px);
}

#menu.active .line-1{
    transform: translate(-50%, -50%) rotate(-45deg);
}

#menu.active .line-3{
    transform: translate(-50%, -50%) rotate(45deg);
}

#menu.active .line-2{
    width: 0;
}



/* HERO SECTION */
.hero-joint{
    background: #01151e;
}

#hero{
    padding: 100px 80px;
}

#hero h1{
    font-size: 60px;
    text-align: center;
    color: #f2f2f2;
}



/* DETAILS SECTION */
section#details{
    /* border: 5px solid crimson; */
}

div.details{
    padding: 100px 80px;
    align-items: center;
    padding-bottom: 50px;
    /* border: 5px solid crimson; */
}

div.top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

div.top div{
    width: 31%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: #086694;
    border: 3.5px solid #ffffff48;
    color: #f2f2f2;
    padding: 20px 0;
}

div.top div img{
    margin-bottom: 15px;
    width: 70px;

}

div.top div h5{
    font-size: 25px;
    margin-bottom: 10px;
}

div.top div p,
div.top div p a{
    color: #f2f2f2;
    font-size: 22px;
    font-weight: 200;
    font-family: Helvetica, sans-serif;
    letter-spacing: 2px;
    text-align: center;
}


.why-d{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.why-d li{
    /* border: 5px solid blue; */
    text-align: center;
    /* height: 250px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 50px 10px; */
    position: relative;
}

.why-d li div.up{
    padding: 30px 0;
    clip-path: polygon(0% 0%, 100% 0, 100% 39%, 100% 100%, 81% 100%, 45% 100%, 0 43%);
    /* border: 5px solid crimson; */
    border-radius: 20px;
    background: #031d2a;
    background: linear-gradient(90deg, #00557d, #01151e);
    width: 100%;
    height: 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-d li div.up img{
    width: 40px;
    height: 40px;
    padding: 10px;
    background: #82d7fd;
    border-radius: 100px;
}

.why-d li div.up span.overlay{
    position: absolute;
    /* background: linear-gradient(150deg, #01151e, #00000000); */
    background: #01151e;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.3;
    z-index: -1;
}

.why-d li div.up-d{
    padding: 10px;
}

.why-d li div.down{
    clip-path: polygon(0% 0%, 44% 39%, 100% 39%, 100% 61%, 100% 99%, 0 100%, 0 4%);

    border-radius: 20px;
    background: #4baad6;
    /* background: linear-gradient(200deg, #82d7fd, #031d2a); */
    width: 100%;
    transform: translateY(-45px);
    position: relative;
    align-items: center;
    flex-direction: column;
    height: 150px;
    display: flex;
    align-items: center;
}

.down-d{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    margin-bottom: 10px;
}

.why-d li div.down b{
    font-size: 45px;
    color: #01151e;text-align: center;
}

.why-d li div.down h3{
    color: #01151e;
    text-align: left;
    font-size: 20px;
    margin-top: auto;
    padding-top: 0;
    font-weight: 200;
}

.why-d li .social-media{
    display: flex;
    align-items: center;
}

.why-d li div.down img{
    width: 30px;
    height: 30px;
}




div#bottom{
    background: #e0e0e0;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #27433248;
    background: linear-gradient(90deg, #033b54, #01151e);
}


div.bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

div.bottom form{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    margin-right: 30px;
}

div.bottom form h2{
    font-size: 30px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

div.bottom form input,
div.bottom form textarea{
    padding: 18px 20px;
    font-size: 20px;
    border-radius: 10px;
    border: 1px solid #fff;
    color: #fff;
    margin: 0 5px;
    background: transparent;
    margin: 15px 0;
    width: 100%;
}

div.bottom form div{
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
} 

div.bottom form div img{
    width: 32px;
    height: 32px;
    position: absolute;
    right: 20px;
}

div.bottom form button{
    padding: 12 20px;
    font-size: 18px;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 1px;
    background: #82d7fd;
    background: linear-gradient(90deg, #094560, #82d7fd);
    width: 100%;
    margin-top: 20px;
}

div.map{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 500px;
    border: 5px solid #27433248;
    /* border-radius: 30px; */
    overflow: hidden;
}




/* AREAS SECTION */
aside#areas{
    margin: 50px 80px;
}

div.areas{
    /* background: #031d2a; */
    /* border: 5px solid crimson; */
    height: fit-content;
    display: flex;
    position: relative;
    overflow: hidden;
}

div.areas-left{
    width: 35%;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    border-radius: 22px;
    clip-path: polygon(0% 0%, 83% 0, 83% 40%, 100% 62%, 100% 100%, 0 100%, 0 34%);
    background: #031d2a;
    background: url(images/elements/reliable-hardscapes-mississauga-interlocking-ontario.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    background-repeat: repeat;
}

div.areas-right{
    border-radius: 22px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 8.5% 100%, 8.5% 60%, 0 39%);
    background: #4baad6;
    background-position: left;
    background-size: contain;
    background-repeat: repeat;
    width: 69%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.right-d{
    margin-left: 30px;
    margin-bottom: 30px;
    width: 80%;
    margin-top: auto;
    height: fit-content;
}


.right-d h2{
    margin: 5px;
    margin-bottom: 20px;
    margin-top: 30px;
    text-transform: uppercase;
    font-size: 35px;
    letter-spacing: -1.5px;
}

.right-d h2 br{
    display: none;
}

div.areas-right ul{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

div.areas-right ul li{
    margin: 5px 5px;
    border-radius: 7.5px;
    border: 1.5px solid #000;
    padding: 10px;
    background: transparent;
    text-transform: uppercase;
}



/* FOOTER SECTION */
footer{
    background: #01151e;
    color: #fff;
   
}

.footer{
    display: flex; 
    flex-direction: column;
}

.footer-d{
    padding: 100px 80px;
    display: flex;
    align-items: top;
    justify-content: space-between;
}

.footer-d h4{
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #82d7fd;
}

.footer-d a{
    color: #fff;
    margin: 10px 0;
}

.f1 p{
    margin: 20px 0;
    text-transform: uppercase;
    font-size: 19px;
    font-weight: 500;
}

.socials img{
    margin-right: 10px;
    width: 30px;
}

.f2{
    display: flex;
    justify-content: left;
    flex-direction: column;
    text-align: left;
}

.f3{
    display: flex;
    justify-content: left;
    flex-direction: column;
    text-align: left;
}

.f4{
    display: flex;
    justify-content: left;
    flex-direction: column;
    text-align: left;
}

.f4 button{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.copyright{
    color: #01151e;
    background: #4baad6;
}

.copyright-d{
    padding: 20px 80px;
   
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 19px;
}

.copyright-d p{
    max-width: 50%;
}

.copyright-d p a{
    text-decoration: underline;
}

.copyright-d p:nth-child(2){
    text-align: right;
}




/* QUOTE FORM */
aside#quote-form{
    display: none;
}

aside#quote-form.active{
    background: #0000008f;
    z-index: 99999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.quote-form{
    /* padding: 50px; */
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

div.quote-form form{
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    background: #e0e0e0;
    background: linear-gradient(90deg, #033b54, #01151e);
    padding: 50px;
    border-radius: 20px;
}

div.quote-form form input,
div.quote-form form textarea{
    padding: 18px 20px;
    font-size: 20px;
    border-radius: 10px;
    border: 1px solid #fff;
    color: #fff;
    margin: 0 5px;
    background: transparent;
    width: 100%;
    margin: 10px 0;
}

div.quote-form form div{
    display: flex;
    align-items: center;
    position: relative;
} 

div.quote-form form div img{
    width: 32px;
    height: 32px;
    position: absolute;
    right: 20px;
}

div.quote-form form button.fqs{
    padding: 12 20px;
    font-size: 18px;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 1px;
    background: #82d7fd;
    background: linear-gradient(90deg, #094560, #82d7fd);
}

div.q-form-head{
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

div.q-form-head span{
    border-radius: 0;
    background-color: red;
    padding: 10px 20px;
    border: none;
    width: initial;
    margin: initial;
    margin-left: auto;
    cursor: pointer;
    color: #fff;
}

div.q-form-head span:hover{
    background: rgb(214, 0, 0);
}






/* MEDIA QUERIES FINALLY */

@media (min-width: 1500px){
    div.banner-d{
        margin: 0 auto;
        max-width: 1440px;
    }
    
    div.header{
        max-width: 1440px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 0;
    }

    div.details{
        padding: 100px 0 50px 0;
        width: 1440px;
        margin: 0 auto;
    }

    aside#areas{
        padding: 100px 0;
        width: 1440px;
        margin: 0 auto;
    }

    div.footer-d{
        width: 1440px;
        margin: 0 auto;
        padding: 100px 0 50px 0;
    }

    div.copyright-d{
        width: 1440px;
        margin: 0 auto;
        padding: 50px 0;
    }
}

@media (max-width: 1350px){
    input{
        padding-right: 50px !important;
    }
    
    div.banner {
        padding: 10px 50px;
    }

    div.banner p a{
        font-size: 15px;
    }

    div.header {
        padding: 10px 50px;
    }

    div.details {
        padding: 100px 50px 50px 50px;
    }

    aside#areas{
        margin: 50px 50px;
    }

    .footer-d {
        padding: 100px 50px;
    }

    .copyright-d{
        padding: 20px 50px;
    }
}

@media (max-width: 1300px){
    aside#areas {
        margin: 30px 50px;
    }

    .right-d h2 {
        font-size: 30px;
    }

    div.areas-right ul li{
        font-size: 15px;
    }

    .copyright-d {
        font-size: 15px;
    }
}

@media (max-width: 1200px){
    #hero h1 {
        font-size: 50px;
    }

    div.banner {
        padding: 10px 30px;
    }
    
    div.banner-d div {
        width: fit-content;
    }

    div.banner-d div:nth-child(2) span{
        margin-left: 10px;
    }

    div.header {
        padding: 10px 30px;
    }

    div.details {
            padding: 100px 30px 50px 30px;
    }

    aside#areas{
        margin: 50px 30px;
    }

    .footer-d {
        padding: 80px 30px;
    }

    .copyright-d{
        padding: 20px 30px;
    }
}

@media (max-width: 1150px){
    div.social-media{
        display: none;
    }

    .why-d {
        gap: 50px;
    }
}

@media (max-width: 1030px){
    header{
        background: #01151e;
        border-bottom: 0.1px solid #F2F2F2;
    }
    div.banner{
        display: none;
    }

    nav#main-nav{
        position: absolute;
        top : 0;
        left: -100%;
        background: #01151e;
        right: 0;
        height: 100%;
        width: 100vw;
        margin: 0;
        z-index: 9;
        transition: 0.4s;
        opacity: 0;
        overflow-y: scroll;
    }

    nav#main-nav ul{
        flex-direction: column;
        padding: 20px;
    }

    nav#main-nav.active{
        left: 0;
        opacity: 1;
    }

    nav ul li {
        padding: 0 10px;
    }

    nav ul li a{
        align-items: initial;
        color: #fff;
        font-size: 50px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 400;
        padding: 10px;
        margin: 40px 0;
        width: fit-content;
    }

    nav ul li a span{
        display: none;
    }

    div#contact-info{
        margin-left: auto;
        margin-right: 10px;
    }

    div#contact-info button{
        height: 50px;
        padding: 0 20px;
        background: transparent;
        color: #fff;
        backdrop-filter: blur(20px);
        border-color: #7fb1cb;
    }

    div#contact-info button img:nth-child(1){
        display: none;
    }

    div#contact-info button img:nth-child(2){
        display: initial;
    }

    #menu{
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 99999;
        border-radius: 10px;
        background: transparent;
        border-color: #82d7fd;
        border-color: #7fb1cb;
    }

    div.bottom{
        flex-direction: column;
    }

    div.bottom form{
        margin-right: 0;
        width: 100%;
        margin-bottom: 50px;
    }

    div.map{
        width: 100%;
    }

    aside#areas{
        margin: 0 0;
        margin-bottom: 30px;
    }
    
    div.areas{
        flex-direction: column;
    }

    div.areas-left {
        width: 100%;
        position: initial;
        height: 300px;
        clip-path: polygon(0 0, 0 85%, 40% 85%, 59% 100%, 100% 100%, 100% 0);
        background-position: center;
        border-radius: 0;
        transform: translateY(30px);
    }
    
    div.areas-right {
        width: 100%;
        height: 300px;
        clip-path: polygon(59% 15.5%, 39% 0, 0 0, 0 100%, 100% 100%, 100% 15.5%);
        border-radius: 0;
    }
    

    .right-d{
        margin: 30px;
        width: auto;
        margin-top: auto;
    }
}

@media (max-width: 1000px){
    nav#main-nav ul{
        padding: 20px;
    }

    nav ul li a{
        font-size: 40px;
        margin: 10px 0;
    }

    nav ul li {
        padding: 0 10px;
    }

    .why-d {
        gap: 30px;
        grid-template-columns: repeat(2, 1fr);
    }

    div.footer-d{
        flex-direction: column;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .copyright-d {
        flex-direction: column;
    }
    
    .copyright-d p {
        max-width: initial;
        font-size: initial;
        margin-bottom: 10px;
    }

    .copyright-d p:nth-child(2) {
        text-align: center;
    }

    div.quote-form form{
        width: 70%;
    }

    div.quote-form form button.fqs{
        width: 100%;
    }
}

@media (max-width: 850px){
    #hero h1 {
        font-size: 40px;
    }

    div.banner {
        padding: 10px 15px;
    }
    
    div.header {
        padding: 10px 15px;
    }

    div.details {
        padding: 100px 15px 50px 15px;
    }

    div.areas-left{
        height: 350px;
    } 

    div.areas-right{
        height: 350px;
    }

    .footer-d {
        padding: 50px 15px;
    }

    .copyright-d{
        padding: 20px 15px;
    }
}

@media (max-width: 750px){
    div.right-d{
        margin: 20px;
        margin-top: auto;
    }

    div.areas-right{
        align-items: initial;
        justify-content: initial;
    }
}

@media (max-width: 700px){
    .logo{
        width: 180px;
    }

    .why-d li div.up img {
        width: 30px;
        height: 30px;
        padding: 10px;
    }

    .why-d li div.down b {
        font-size: 35px;
    }

    .right-d h2 {
        font-size: 27px;
    }

    div.right-d {
        margin: 5px;
        margin: auto 0;
    }

    div.quote-form form{
        width: 80%;
    }
}

@media (max-width: 650px){
    .why-d {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

    .why-d li div.up{
        border-radius: 10px;
    }

    .why-d li div.down{
        border-radius: 10px;
    }
}

@media (max-width: 600px){
    #hero h1 {
        font-size: 35px;
    }
    
    div.footer-d {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
        align-items: center;
        justify-content: center;
    }

    div.footer-d div{
        justify-content: center;
        text-align: center;
    }

    div.footer .f4 a{
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    div.quote-form form{
        padding: 30px;
    }
}

@media (max-width: 550px){
    nav#main-nav ul{
        padding: 10px;
    }

    nav ul li a{
        font-size: 30px;
    }

    div.right-d {
        margin: 5px;
    }

    div.areas-right ul li {
        font-size: 14px;
        margin: 3px;
    }

    .right-d h2 {
        font-size: 20px;
    }
}

@media (max-width: 540px){
    #contact-info a button{
        background: #82d7fd;
    }

    #contact-info button span{
        display: none;
    }

    #contact-info button img{
        margin: 0;
    }

    div#contact-info button img:nth-child(1){
        display: initial;
    }

    div#contact-info button img:nth-child(2){
        display: none;
    }
}

@media (max-width: 500px){
    div#logo{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .logo {
        width: 150px;
        margin: auto 0;
        margin-top: auto;
    }

    #contact-info a button {
        background: #82d7fd;
        height: initial;
        padding: 10px;
    }

    #menu{
        height: 55px;
        width: 55px;
    }

    div.details {
        padding: 50px 15px 50px 15px;
    }

    div#bottom{
        border-radius: 15px;
    }

    div#bottom {
        padding: 20px 10px;
    }

    div.bottom form h2{
        font-size: 22px;
    }

    div.bottom form div img {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 450px){
    div.areas-left {
        height: 450px;
    }

    div.areas-right {
        height: 450px;
    }

    div.right-d {
        margin: auto 5px;
    }
}

@media (max-width: 400px){
    nav#main-nav ul{
        padding: 5px;
    }

    #hero h1 {
        font-size: 30px;
    }
}

@media (max-width: 370px){
    div.banner {
        padding: 10px 7.5px;
    }
    
    div.header {
        padding: 10px 7.5px;
    }

    div.details {
        padding: 50px 10px 50px 10px;
    }

    .footer-d {
        padding: 50px 7.5px;
    }

    .copyright-d{
        padding: 20px 7.5px;
    }
}