/*
Copyright Green Team Consulting 2023
*/

/*#region Variables*/
:root
{
    --green: #0D4426;
  --axolotl: #6C7D4A;
  --grey-green: #444939;
  --light-axolotl: #E3E6DC;
  --almost-white: #F4F8F3;
  --sage-green: #7F9F77;
  --red: #D84738;
}
/*#endregion Variables*/

/*#region Typography*/

body, a{
    font-family: 'Lato', sans-serif;
    text-decoration: none;
    color: black;
}

/*#endregion Typography*/

/*#region Small Screen Size (320-750)*/

.testimonials-section{
    position: absolute;
    max-height: 0vh;
    overflow: hidden;
    background-image: none !important;
    padding: 1rem;
    background-image: url("../img/sm/arial-ponds-sm.jpg");
    background-position: top;
    background-size: cover;
}

.contact-section{
    border-top: 2px solid var(--green);
}

.inner-container{
    display: initial;
}

.banner-graphic{
    position: absolute;
    max-height: 0vh;
    overflow: hidden;
}

.banner-section{
    padding: 1rem;
    height: fit-content;
    background-image: url('../img/sm/orange-horizon-sm.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
}

.banner-section h1{
    font-size: 1.4rem;
    font-weight: bolder;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.banner-section h2{
    font-size: 1rem;
}

.banner-section p{
    text-align: justify;
}

.services-content h2{
    margin-top: 2rem;
    width: 100%;
    text-align: center;
    background-color: var(--green);
    padding: 0.5rem 0rem;
    font-size: 0.7;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
}

.services-content h3{
    width: 100%;
    background-color: var(--sage-green);
    padding: 0.5rem 0rem;
    text-transform: uppercase;
    color: black;
    font-weight: bolder;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.services-content p{
    width: 100%;
    background-color: var(--almost-white);
    padding: 0.5rem 0rem;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

.services-content p:last-of-type{
    margin-bottom: 1rem;
}

.why-us-section{
    padding: 1rem;
    background-color: var(--light-axolotl);
}

.why-us-section h2{
    font-size: 1.44rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.why-us-section p{
    font-size: 1rem;
    line-height: 1.4rem;
    text-align: justify;
}

.read-more{
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background-color: #6C7D4A;
    width: fit-content;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.read-more:hover{
    background-color: var(--sage-green);
}

.read-more p{
    font-size: 0.9rem;
    color: white;
    margin-right: 0.5rem;
}

.read-more svg{
    width: 8px;
    height: 8px;
    transform: rotate(90deg);
}

.read-more svg path{
    fill: white;
}

.portrait-div{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portrait{
    background-image: url("../img/sm/portrait-sm.jpg");
    background-size: cover;
    background-position: top center;
    width: 245px;
    height: 245px;
    border-radius: 50%;
}

.portrait-div h3{
    font-size: 1.7rem;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
}

.portrait-div h4{
    font-size: 1.1rem;
}

.testimonials-section .inner-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-section .card{
    background-color: var(--almost-white);
    border: 2px solid var(--green);
    padding: 1rem;
    width: 250px;
    margin-top: 1.5rem;
}

.testimonials-section .card:last-of-type{
    margin-bottom: 1.5rem;
}

.person-banner{
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.card-person-text h3{
    font-size: 1.2rem;
    font-weight: bold;
    margin-left: 0.5rem;
    margin-bottom: 0.2rem;
}

.card-person-text h4{
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-left: 0.5rem;
}

.card p{
    font-size: 1.1rem;
}

.card-photo{
    background-image: url("../img/sm/portrait-sm.jpg");
    width: 67px;
    height: 67px;
    background-position: top center;
    background-size: cover;
    border-radius: 50%;
}

.contact-section{
    padding: 1rem;
    background-color: var(--light-axolotl);
}

.contact-section .inner-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-section h2{
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: var(--green);
    margin-bottom: 1rem;
}

.contact-button{
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background-color: var(--red);
    width: fit-content;
    text-align: center;
}

.contact-button p{
    color: white;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.contact-button svg{
    width: 8px;
    height: 8px;
    transform: rotate(90deg);
}

.contact-button svg path{
    fill: white;
}
/*#endregion Small Screen Size (320-750)*/

/*#region Medium Screen Size (751-1160)*/
@media only screen and (min-width: 751px)
{
    .banner-section{
        background-image: url('../img/md/orange-horizon-md.jpg');
    }

    .testimonials-section{
        background-image: url("../img/md/arial-ponds-md.jpg");
    }

    .banner-content{
        display: flex;
        justify-content: space-between;
        position: relative;
        margin-top: 2rem;
        margin-bottom: 4rem;
    }

    .banner-text{
        width: 45vw;
        margin-left: 2rem;
    }

    .banner-graphic {
        position: absolute;
        max-height: 100vh;
        overflow: visible;
        right: -100%;
        opacity: 0;
        animation: fade-in 1.25s ease-in-out forwards;
    }

    .banner-graphic img{
        width: 170px;
        height: 170px;
    }

    @keyframes fade-in {
        0% {
            right: -100%;
            opacity: 0;
        }
        100% {
            right: 4rem;
            top: -1rem;
            opacity: 1;
        }
    }

    .banner-section .services-content{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .services-container{
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .service-card{
        width: 49%;
    }

    .banner-text h1{
        font-size: 1.625rem;
    }

    .banner-text p{
        font-size: 1.16rem;
    }

    .services-content h2{
        font-size: 1.3rem;
    }

    .service-card h3{
        font-size: 1rem;
    }

    .service-card p{
        font-size: 0.9rem;
    }

    .why-us-section .inner-container{
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
    }

    .why-us-div{
        display: flex !important;
        flex-direction: column !important;
        align-items:flex-start !important;
        width: 62%;
        padding-right: 0.75rem;
        margin-top: 1rem;
        margin-left: 2rem;
    }

    .portrait{
        width: 200px;
        height: 200px;
        margin-top: 2rem;
    }

    .portrait-div h3{
        font-size: 1.36rem;
    }

    .portrait-div h4{
        font-size: 0.9rem;
    }

    .why-us-div h2{
        font-size: 1.325rem;
    }

    .why-us-div p{
        font-size: 0.96rem;
        text-align: justify;
    }

    .read-more p{
        font-size: 0.88rem;
    }

    .testimonials-section .inner-container{
        flex-direction: row;
        justify-content: center;
    }

    .card-photo{
        width: 60px;
        height: 60px;
    }

    .card-person-text h3{
        font-size: 1.08rem;
    }

    .card-person-text h4{
        font-size: 0.8rem;
    }

    .card p{
        font-size: 0.95rem;
    }

    .testimonials-section .card {
        width: 227px;
        height: 284px;
        margin-top: 0rem;
        margin-bottom: 0rem !important;
    }

    .testimonials-section .card:nth-of-type(2){
        margin-top: 2rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .contact-section h2{
        width: 65%;
        font-size: 1.4rem;
    }

    .contact-button p{
        font-size: 0.875rem;
    }
}
/*#endregion Medium Screen Size (751-1160)*/

/*#region Large Screen Size (1161-1920)*/

@media only screen and (min-width: 1161px)
{
    .banner-section{
        background-image: url('../img/lg/orange-horizon-lg.jpg');
    }

    .testimonials-section{
        background-image: url("../img/lg/arial-ponds-lg.jpg");
    }

    .inner-container{
        max-width: 1161px;
        margin: auto;
    }

    .banner-text{
        margin-left: 7rem !important;
        width: 80%;
    }

    .banner-text h1{
        font-size: 2rem;
    }

    .banner-text p{
        font-size: 1.4rem;
        width: 80%;
    }

    @keyframes fade-in {
        0% {
            right: -100%;
            opacity: 0;
        }
        100% {
            right: 6rem;
            top: -1rem;
            opacity: 1;
        }
    }

    .services-content{
        padding: 0rem 2rem;
    }

    .services-content h2{
        font-size: 1.65rem;
        width: 86%;
    }

    .service-card h3{
        font-size: 1.23rem;
    }

    .service-card p{
        font-size: 1.23rem;
    }

    .services-container{
        width: 86%;
    }

    .portrait-div h3{
        font-size: 1.7rem;
    }

    .portrait-div h4{
        font-size: 1.1rem;
    }

    .portrait-div{
        margin-bottom: 2rem;
        margin-right: 2rem;
        margin-left: 2.5rem;
    }
    
    .portrait{
        width: 308px;
        height: 308px;
    }

    .why-us-div h2{
        font-size: 1.8rem;
    }

    .why-us-div p{
        font-size: 1.22rem;
        text-align: justify;
    }

    .read-more p{
        font-size: 1.34rem;
    }

    .testimonials-section .card{
        width: 250px;
        height: 350px;
    }

    .card-person-text h3{
        font-size: 1.4rem;
    }

    .card-person-text h4{
        font-size: 1rem;
    }

    .card p{
        font-size: 1.21rem;
    }

    .contact-section {
        padding: 3rem 0rem;
    }

    .contact-section h2{
        width: 65%;
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .contact-button p{
        font-size: 1.14rem;
    }

    .banner-text,
    .banner-graphic{
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

}
/*#endregion Large Screen Size (1161-1920)*/

/*#region Extra Large Screen Size (1921-3840+)*/

@media only screen and (min-width: 1921px)
{
    .testimonials-section{
        background-image: url("../img/xl/arial-ponds-xl.jpg");
    }
}

/*#endregion Extra Large Screen Size (1921-3840+)*/