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

input{
    padding-right: 50px !important;
}


/* 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 {
    position: relative;
    padding: 100px 80px;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.hero.a1{
    background: url(article-hero-bg/reliable-hardscapes-mississauga-beautiful-retaining-walls-in-mississauga-ontario.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.hero.a2{
    background: url(article-hero-bg/reliable-hardscapes-mississauga-driveway-interlocking-construction-in-mississauga-ontario.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.hero.a3{
    background: url(article-hero-bg/reliable-hardscapes-mississauga-beautiful-ontario-neighborhood-landscape-scenery.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.hero.a4{
    background: url(article-hero-bg/reliable-hardscapes-mississauga-interlocking-pool-backyard-patio.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.hero.a5{
    background: url(article-hero-bg/reliable-hardscapes-mississauga-patio-design.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.hero.a6{
    background: url(article-hero-bg/reliable-hardscapes-mississauga-spring-hardscaping-trends-in-mississauga-ontario.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #01151e;
    opacity: 0.7;
    z-index: -1; /* Put it behind the content of .hero but above the background */
}


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




/* ARTICLE SECTION */
div#structure{
    display: flex;
    padding: 100px;
}

article{
}

article section{
    padding-bottom: 50px;
    /* width: 80%; */
}

article section h2{
    font-size: 35px;
    margin-bottom: 20px;
    color: #01151e;
}

article section h3{
    font-size: 25px;
    margin-bottom: 20px;
    color: #01151e;
    margin-top: 50px;
}

article section h4{
    color: #01151e;
    font-size: 20px;
    margin-bottom: 5px;
}

article section p{
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

article section p a,
article section p span{
    cursor: pointer;
    text-decoration: underline;
    color: #01151e;
}

article section ul{
    margin-left: 20px;
}

article section ul li{
    list-style-type: square;
}

article section ul ul li{
    list-style-type: lower-roman;
 }

article section ul li p b,
article section ul li p strong{
    color: #033b54;
    font-size: 20px;
}

article section ul li p{
    margin-bottom: 10px;
}




article section table {
    width: 100%;
    border-collapse: collapse; /* Ensures no space between table cells */
    margin: 50px 0; /* Adds space above the table */
}

article section table th, article section table td {
    padding: 12px; /* Adds padding for better spacing */
    text-align: left; /* Aligns text to the left in the table cells */
    border: 1px solid #ccc; /* Adds light gray border to cells */
}

article section table th {
    background-color: #225f2fca; /* Light gray background for the header */
    font-weight: bold; /* Makes header text bold */
    color: #fff; /* Sets the color of the header text */
}

article section table td {
    background-color: #e0f4e3; /* White background for the table cells */
    font-size: 16px; /* Slightly smaller font size for content */
}

article section table tr:nth-child(even) td {
    background-color: #f9f9f9; /* Alternates the row background color for better readability */
}





/* UPDATES SECTION */
aside#updates{
    margin-left: 50px;
}

div.updates{
    border: 3px solid #033b54;
    width: 300px;
    /* height: 1000px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

div.updates h3{
    width: 100%;
    padding: 20px 0;
    text-align: center;
    letter-spacing: 2px;
    font-size: 20px;
    background: #033b54;
    color: #fff;
}

div.latest{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

div.latest div{
    background: #033b542d;
    /* height: 300px; */
    margin: 10px 0;
    padding: 10px;
}

div.latest div img{
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
}

div.latest div a{
    font-weight: bold;
    color: #033b54;
    text-decoration: underline;
}

div.latest div a:hover{
    color: #01151e;
}

div.newsletter{
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 30px 0px 10px 0;
    width: 100%;
}

div.newsletter h4{
    margin-bottom: 10px;
}

div.newsletter input{
    padding: 10px;
    width: 80%;
    border: none;
    border: 1px solid #000;
    margin-bottom: 10px;
    background: #031d2a;
}

div.newsletter button{
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: initial;
    font-size: 14px;
    justify-content: center;
    background: #033b54;
    color: #fff;
    border: none;
}



/* 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){
    .hero{
        margin: 0 auto;
        max-width: 1440px;
        padding: 100px 0;
    }
    
    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#structure{
        width: 1440px;
        margin: 0 auto;
        padding: 100px 0;
        /* padding: 100px 0 50px 0; */
    }

    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){
    .hero{
        padding: 100px 50px;
    }

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

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

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

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

    div#structure{
        padding: 100px 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{
        padding: 100px 30px;
    }

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

    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#structure{
        padding: 100px 40px;
        flex-direction: column;
    }

    aside#updates{
        margin: 0;
    }

    div.updates{
        /* flex-direction: row; */
        width: initial;
    }

    div.latest{
        flex-direction: row;
    }

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

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

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

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

@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;
    }

    aside#areas{
        margin: 50px 0;
    }
    
    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;
    }
    
    div.areas-right {
        width: 100%;
        height: 300px;
        clip-path: polygon(59% 15.5%, 39% 0, 0 0, 0 100%, 100% 100%, 100% 15.5%);
        transform: translateY(-30px);
        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;
    }

    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{
        padding: 100px 15px;
    }

    #hero h1 {
        font-size: 35px;
    }
    s
    div.banner {
        padding: 10px 15px;
    }
    
    div.header {
        padding: 10px 15px;
    }

    div#structure{
        padding: 50px 20px;
    }

    div.latest{
        flex-direction: column;
    }

    div.latest div img{
    }

    div.latest div{
        display: flex;
        flex-direction: column;
    }

    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;
    }

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

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

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

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

    article section h2{
        font-size: 30px;
    }

    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){
    article section h2 {
        font-size: 25px;
    }
    
    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;
    }
}

@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;
    }

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

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