/* service pages banner */
.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(54, 72, 105, 0.537), rgba(54, 180, 115, 0.29)), var(--page-banner);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: blur(1.8px);
    z-index: 1;
}

.page-banner {
    position: relative;
    height: 30vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0rem 0rem 5rem;
    overflow: hidden;
}

.page-banner>* {
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 2.5rem;
    line-height: 1.5;
    letter-spacing: 1.5px;
    color: #fff;
    font-weight: 500;
}

.page-content {
    margin: auto;
    text-align: center;
}

.page-content a button {
    outline: none;
    border: none;
    padding: 0.5rem 1rem;
    color: #fff;
    background-color: var(--bw-blue-dark);
    margin: 1.25rem 0;
    border-radius: 0.5rem;

    &:hover {
        cursor: pointer;
        transform: scale(1.05);
        background-color: var(--bw-blue);
    }
}

#go-solar {
    width: 100%;
    margin: -5rem auto 8rem;
    border: none;
    padding: 4rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    color: var(--bw-blue-dark);
}

#go-solar article {
    display: flex;
    flex-direction: column;
    width: 60%;
}

#go-solar p {
    width: 100%;
}

#go-solar img {
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.go-solar-team {
    width: 40%;
}


/* gallery */
figure {
    width: 100%;
    display: flex;
    flex-direction: column;
    place-items: center;
    overflow: hidden;
}

figure img {
    width: 100%;
    object-fit: cover;
}


.go-solar-gallery {
    display: grid;
    width: 95%;
    grid-template-columns: repeat(4, 20vw);
    justify-content: center;
    grid-gap: 2rem 1.5rem;
    margin: 1rem auto 5rem;
}

.go-solar-gallery figure {
    justify-self: center;
    border-radius: 0.8rem;
    overflow: hidden;
    height: max-content;
    border: 2px solid var(--bw-blue-dark);
}

.go-solar-gallery figure img {
    border-radius: 0 0 0.8rem 0.8rem;
}

.go-solar-gallery figure figcaption {
    text-align: center;
    margin-inline: 0.5rem;
    color: var(--bw-blue-dark);
    font-size: 1.15rem;
    letter-spacing: 1px;
    margin-block: 1rem;
}

.go-solar-gallery figure:nth-child(3) {
    grid-row: 2;
    grid-column: 1/3;
}

.go-solar-gallery figure:nth-child(4) {
    grid-row: 2;
    grid-column: 3/5;
    align-self: center;
}


/* request a quote */
#request-a-quote {
    margin-bottom: 3rem;
}

.form-title {
    color: var(--bw-blue-light);
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    letter-spacing: 2.5px;
    word-spacing: 3px;
    text-align: center;
    font-size: 2.3rem;
    font-weight: 450;
    width: fit-content;
    margin: 3rem auto 2.5rem;
    padding: 0.5rem 1rem;
}

form {
    border: 1px solid var(--bw-blue-dark);
    box-shadow: 1px 1px 5px var(--bw-blue-light);
    margin: 1rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-radius: 0.5rem;
}


@media screen and (max-width: 1024px) {
    #go-solar {
        display: flex;
        flex-direction: column;
        padding: 4rem 0rem;
        width: 100%;
    }

    #go-solar article {
        margin: auto;
        width: 90%;
        padding: 0.5rem;
    }

    #go-solar article p {
        width: 100%;
    }

    .go-solar-team {
        width: 90%;
    }

    #go-solar p {
        width: 90%;
    }

    .page-banner {
        height: 20vh;
    }

    .go-solar-gallery {
        display: flex;
        flex-direction: column;
        width: 95%;
        gap: 2rem;
    }

    .form-title {
        font-size: 2.2rem;
    }
}