/*
		###################################
				 GENERAL STYLING
		###################################
*/
/* *, ::after, ::before {
  box-sizing: border-box;
  outline: 1px solid limegreen !important;
} */



.max-width-half {
    width: 100%;
    max-width: 680px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}


/*
###################################
HERO

Issue: the orange triangle does not align virtically with the logo when the page is resized.
Solution: — Place the triangle in a pseudo element linked to the logo div not the hero div.
			The element need to be hidden on page scroll so we need to update the javascript that does that.

###################################
*/


#hero {
    position: relative;
    background: url('../images/hero-bg.jpg') center;
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 0;
    overflow-x: hidden;
}


/* #hero:after {
    display: block;
    position: absolute;
    content: '';
    width: 456px;
    height: 207px;
    top: -40px;
    left: -30px;
    background: url('../images/shape-header.svg') no-repeat;
    z-index: 2;
} */


#logo-header-wrapper:after {
    display: block;
    position: absolute;
    content: '';
    width: 1005px;
    height: 617px;
    top: -410px;
    left: -402px;
    background: url('../images/shape-orange.svg') no-repeat;
    z-index: -1;
}


#hero:before {
    display: block;
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 25%);
    z-index: 1;
}

.home #hero {
    background-attachment: fixed;
    /* z-index: -2; */
}

.home #hero:after {
    top: -20px;
}

.home #hero:before {
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}

.home #hero > div {
    padding-top: 250px;
}

@media (min-width: 992px) {

    #hero:after {
        left: 0;
    }

    .home #hero:after {
        top: 0;
        left: 0;
    }

    .home #hero > div {
        height: 100vh;
    }
}

#heroCarousel {
    position: relative;
}

#heroCarousel:after {
    display: block;
    position: absolute;
    content: '';
    width: 95px;
    height: 116px;
    top: -54px;
    right: 0;
    background: url('../images/shape-triangle.svg') no-repeat;
    z-index: 1;
}

#heroCarousel .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: start;
    padding: 0;
    margin-right: 3%;
    margin-bottom: 1rem;
    margin-left: 3%;
}

#heroCarousel .carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    margin-right: 3%;
    color: #fff;
    text-align: right;
}



/*
###################################
HOMEPAGE – ABOUT US
###################################
*/

.home #about-us {
    position: relative;
    overflow: hidden;
}

.home #about-us > div {
    z-index: 2;
}

/* .home #about-us:before {
    display: block;
    position: absolute;
    content: '';
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    right: 0;
    background-color: white;
    z-index: 0;
} */

.home #about-us:after {
    display: block;
    position: absolute;
    content: '';
    width: 815px;
    height: 500px;
    bottom: -360px;
    right: -290px;
    background: url('../images/shape-outline-orange.svg') no-repeat;
    z-index: 0;
}

@media (min-width: 768px) {

    .home #about-us:before {
        display: block;
        position: absolute;
        content: '';
        width: 50%;
        height: 100%;
        top: 0;
        bottom: auto;
        right: 0;
        background-color: white;
        z-index: 0;
    }

}



/*
###################################
PROJECTS
###################################
*/



.home #projects {
    position: relative;
/*     min-height: 100vh; */
    background: url('../images/hero-bg.jpg') center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    overflow: hidden;
}

.home #projects:after {
    display: block;
    position: absolute;
    content: '';
    width: 815px;
    height: 500px;
    top: -270px;
    left: -290px;
    background: url('../images/shape-outline-orange.svg') no-repeat;
    z-index: 1;
}

/* .project #hero {
    z-index: 0;
} */

#projects > div {
    z-index: 2;
}

#projects .nav-link span {
    display: inline;
    border-bottom: 4px solid hsla(36, 79%, 57%, 0);
    transition: all var(--transition-normal) ease-in-out;
}

#projects .nav-link:hover span {
    border-bottom: 4px solid hsla(36, 0%, 0%, 0.13);
}

.home #projects .nav-link:hover span {
    border-bottom: 4px solid hsla(36, 79%, 100%, 0.5);
}

#projects .nav-link.active span {
    border-bottom: 4px solid hsla(36, 79%, 57%, 1.0);
}

.product-card .overflow-hidden {
    border: 4px solid hsla(36, 79%, 57%, 0);
    transition: all var(--transition-slow) ease;
}

.product-card:hover .overflow-hidden {
    border: 4px solid hsla(36, 79%, 57%, 1);
}

.product-card .product-image {
    transition: all var(--transition-slow) ease;
    object-fit: cover;
    height: 200px;
}

#team .product-card .product-image {
    transition: all var(--transition-slow) ease;
    object-fit: cover;
    height: 320px;
}

#news-list .product-card .product-image {
    height: 250px;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

#projectCarousel .carousel-title {
    font-size: 4.5rem;
    line-height: 4rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 30%);
}

#projectCarousel .carousel-indicators {
    margin-left: 0;
    margin-right: 0;
    justify-content: start;
}

/*
###################################
CONTENT
###################################
*/

#content {
    position: relative;
    overflow: hidden;
}

#content > div {
    position: relative;
    z-index: 2;
}

#content:after {
    display: block;
    position: absolute;
    content: '';
    width: 815px;
    height: 500px;
    top: -330px;
    left: auto;
    right: -270px;
    background: url('../images/shape-outline-orange.svg') no-repeat;
    z-index: 0;
}



/*
###################################
TESTIMONIALS
###################################
*/

#testimonials {
    position: relative;
    min-height: 50vh;
    overflow: hidden;
}

#testimonials > div {
    position: relative;
    z-index: 2;
}

#testimonials:before {
    display: block;
    position: absolute;
    content: '';
    width: 130px;
    height: 132px;
    top: 80px;
    left: 10%;
    background: url('../images/symbol-quote.svg') no-repeat;
    z-index: 0;
}

#testimonials:after {
    display: block;
    position: absolute;
    content: '';
    width: 815px;
    height: 500px;
    top: -370px;
    left: auto;
    right: -330px;
    background: url('../images/shape-outline-grey.svg') no-repeat;
    z-index: 0;
}

@media (min-width: 768px) {

    #testimonials:before {
        left: 20%;
    }

}

#testimonials.bg-grey-light:after {
    background: url('../images/shape-outline-white.svg') no-repeat;
}

#testimonialsCarousel .carousel-indicators {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 3%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 3%;
}

/*
###################################
CERTIFICATIONS
###################################
*/

#certifications img {
    max-height: 80px;
}



/*
###################################
CATEGORIES LIST
###################################
*/

@media (max-width: 767px) {

    .home #categories-list > div {
        border-left: 3px solid white;
    }

    #categories-list > div {
        border-left: 3px solid var(--orange);
    }

}



/*
###################################
LOCATION
###################################
*/

#location {
    overflow: hidden;
}

.map-location {
    position: absolute;
    width: 100%;
    bottom: 0;
}

.map-wrapper,
.map {
    width: 100%;
    height: 100vh;
}

