/* solar - HERO */
.solar-hero {
    height: 600px;
    width: 100%;
    position: relative;
    user-select: none;
}

.solar-hero img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.solar-hero-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(to right, rgba(128, 128, 128, 0.718) 40%, transparent);
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 10% 0 10%
}

.solar-hero-overlay-content {
    background-color: rgba(255, 255, 255, 0.909);
    width: fit-content;
    padding: 40px 20px;
    border-radius: 10px;
}

.solar-hero-overlay-content h1 {
    color: var(--main-blue-dark);
    width: fit-content;
    border-radius: 50px 0 0 50px;
    font-size: 50px;
    margin: 0 0 20px 0;
    line-height: 50px;
}

.solar-hero-overlay-content p {
    font-size: 20px;
    font-weight: 600;
    color: rgb(101, 101, 101);
    margin: 0 0 20px 0;
    max-width: 800px;
}

.solar-hero-overlay-content .site-button {
    background-color: var(--main-blue-dark);
    color: white;
}

.solar-hero-overlay-content .site-button:hover {
    background-color: transparent;
    color: var(--main-blue-dark);
}

/* solar - intro */
.solar-intro {
    padding: 60px 0;
    border-top: solid 8px var(--main-blue-dark);
    border-bottom: solid 8px var(--main-blue-dark);
    background-color: #f9f9f9;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 0px;
    row-gap: 40px;
    align-items: center;
}

.solar-image-wrap {
    width: 500px;
    max-width: 75vw;
    height: 350px;
    max-height: calc(0.7 * 75vw);
    position: relative;
}

.solar-image-wrap::before {
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    content: '';
    position: absolute;
    background-color: var(--main-blue-dark);
    z-index: 0;
    clip-path: polygon(0 0%, 80% 0%, 100% 20%, 100% 100%, 0 100%);
}

.solar-image-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 0%, 80% 0%, 100% 20%, 100% 100%, 0 100%);
}

.solar-intro-content {
    width: 1000px;
    max-width: 90vw;
    box-sizing: border-box;
    padding: 0 20px 0 10%;
}

.solar-intro-content h2 {
    font-size: 30px;
    line-height: 30px;
    margin: 0 0 20px 0;
    color: var(--main-blue-dark);
}

.solar-intro-content p {
    font-size: 18px;
    color: rgb(60, 60, 60);
    position: relative;
}

.solar-intro-content p:first-of-type {
    margin: 0 0 40px 0;
}

.solar-intro-content p::before {
    width: 30px;
    height: 110%;
    top: -5%;
    box-sizing: border-box;
    content: '';
    position: absolute;
    border-left: double 8px var(--main-blue);
    left: -20px;
}

/* SOLAR - ADVANTAGE */
.solar-adv {
    background-image: url(/imageserver/UserMedia/kyrobuilders/sunrise.webp);
    background-size: cover;
    background-position: center;
}

.solar-adv-overlay {
    background: linear-gradient(to bottom, rgba(47, 92, 160, 0.5), rgba(30, 54, 133, 0.503), rgba(47, 92, 160, 0.5));
    width: 100%;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(25px);
}

.solar-adv-overlay > h2 {
    color: white;
    font-size: 35px;
    line-height: 35px;
    margin: 0 0 15px 0;
    text-align: center;
}

.solar-adv-overlay > p {
    color: white;
    font-size: 18px;
    line-height: 30px;
    width: 700px;
    text-align: center;
    max-width: 80vw;
    position: relative;
}

.solar-adv-overlay > p::before {
    height: 110%;
    width: 5px;
    content: '';
    position: absolute;
    left: -12px;
    height: -5%;
    border-left: double 8px var(--main-blue);
}

.solar-adv-row {
    display: flex;
    flex-direction: row;
    column-gap: 50px;
    padding: 40px 0 0 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 40px;
}

.solar-adv-card {
    width: 400px;
    max-width: 90vw;
    background-color: white;
    height: 550px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.solar-adv-card img {
    height: 60%;
    width: 100%;
    object-fit: contain;
}

.solar-adv-card-content {
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    box-sizing: border-box;
    background-color: var(--main-blue-dark);
    color: white;
}

.solar-adv-card-content h3 {
    font-size: 25px;
    margin: 0 0 10px 0;
    line-height: 25px;
}

.solar-adv-card-content p {
    font-size: 16px;
    margin: 10px 0 0 0;
    line-height: 24px;
}

.solar-adv-overlay > h3 {
    color: white;
    margin: 60px 0 20px 0;
    font-size: 25px;
    text-align: center;
    max-width: 80vw;
}

.solar-adv-overlay > .site-button {
    background-color: white;
    border: solid 3px white;
    font-size: 25px;
}

.solar-adv-overlay > .site-button:hover {
    background-color: var(--main-blue-dark);
    color: white;
}