/*
fff
https://coolors.co/eae2b7
MAIN COLOR: #E63946  hover: #2C3F7C
GREY COLOR: #495057
ACCENT COLOR: #1D3557

type-scale.com
SPACING STSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

strong: orange
second: blue

*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--grey);
    --red: #D62828;
    --redlight: #D62828;
    --lightgrey: #F5F5F5;
    --grey: #495057;
    --darkgrey: #495057;
    --blue: #003652;
    --lightblue: #5CC6FF;
    --mediumblue: #00507A;
    --yellow: #f0cc71;
    --yellow2: #feed9d;
    --darkyellow: #ff5c35; /* #f39738;*/
    --lightorange: #F5B72A;
    --orange: var(--darkyellow); /* #c74634;*/
    --darkorange: #c74634;
    --white: #F6F2DF;

    --heading-color: #333;
    --text-color: var(--grey);
    --clear-font-family: 'Inter', sans-serif;
    --engaging-font-family:  system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --cta-primary: var(--blue);
    --cta-primary-hover: var(--mediumblue);
    --cta-secondary: var(--orange);
    --cta-secondary-hover: var(--orange);
}

:root {
    /* Font Sizes (Desktop) */
    --h1-size: 3rem;
    --h2-size: 2rem;
    --h3-size: 1.7rem;
    --h4-size: 1.6rem;

    /* Line Heights (Desktop) */
    --h1-line-height: 1.2;
    --h2-line-height: 1.3;
    --h3-line-height: 1.3;
    --h4-line-height: 1.4;

    /* Layout Tokens */
    --standard-gap: 2rem;
    --header-height: 150px;
    --usp-height: 55px;

    /* Font Sizes (Desktop) */
    --p-size: 1.3rem;
    --li-size: 1.2rem;
    --section-title-size: 2rem;

    /* Line Heights (Desktop) */
    --p-line-height: 1.8;
    --li-line-height: 1.6;
    --section-title-line-height: 1.3;

    /* Spacing */
    --section-padding: 3rem;
    --sub-section-padding: 1.5rem;
    --card-padding: 1.2rem;
    --card-margin: 1.2rem 0.3rem;
    --icon-margin: 0.3rem;
    --list-margin-left: 1rem;

    /* Vertical Rhythm */
    --heading-margin-bottom: 1.5rem;
    --paragraph-margin-bottom: 1.2rem;
    --list-margin-bottom: 1.2rem;
    --h1-margin-bottom: 1.5rem;
    --h2-margin-bottom: 1.4rem;
    --h3-margin-bottom: 1.3rem;
    --h4-margin-bottom: 1.2rem;
    --button-padding: 1rem 2rem;
    --button-width: 200px;

    /* Widgets styling */
    --small-size: 0.9rem;
    --text-font-family: var(--clear-font-family);
    --text-font-size: 1.3em;
    --text-line-height: var(--p-line-height);
    --text-margin-bottom: var(--paragraph-margin-bottom);

    --nav-font-family: var(--engaging-font-family);
    --nav-font-size: 1.4em;
    --nav-line-height: var(--h4-line-height);
    --nav-margin-bottom: var(--paragraph-margin-bottom);
    --nav-color: var(--text-color);

    --title-font-family: var(--clear-font-family);
    --title-font-size: 2em;
    --title-line-height: var(--h4-line-height);
    --title-margin-bottom: var(--h4-margin-bottom);
    --title-color: var(--heading-color);

    --cta-padding: 0.7em;
    --cta-bg: var(--cta-secondary);
    --cta-bg-hover: var(--cta-secondary-hover);
    --cta-color: var(--white);
    --cta-font-size: var(--h4-size);
    --cta-width: var(--button-width);
    --cta-radius: 3px;

    --input-border-color: var(--grey);
    --input-border-radius: 3px;

    --col-gap: 3em;
    --megamenu-background-color: #fff;

    --highlight-text-font-family: var(--engaging-font-family);
    --highlight-text-spacing: 1px;
    --highlight-text-size: 1.5rem;
}

@media (max-width: 1200px) {
    :root {
        --megamenu-background-color: var(--white);
    }
}

@media (max-width: 768px) {
    :root {
        /* Font Sizes (Mobile) */
        --h1-size: 2.2rem !important;;
        --h2-size: 1.8rem;
        --h3-size: 1.5rem;
        --h4-size: 1.4rem;

        /* Line Heights (Mobile) */
        --h1-line-height: 1.3;
        --h2-line-height: 1.35;
        --h3-line-height: 1.4;
        --h4-line-height: 1.5;

        /* Adjust layout if needed */
        --header-height: 100px;
        --usp-height: 50px;
        --standard-gap: 1.5rem;

        /* Font Sizes (Mobile) */
        --p-size: 1rem;
        --li-size: 1rem;
        --section-title-size: 1.6rem;

        /* Line Heights (Mobile) */
        --p-line-height: 1.5;
        --li-line-height: 1.5;
        --section-title-line-height: 1.3;

        /* Adjusted Section Padding */
        --section-padding: 2.5rem 1.5rem;
        --sub-section-padding: 1rem;
        --paragraph-margin-bottom: 1rem;
        --list-margin-bottom: 1rem;
        --h1-margin-bottom: 1.5rem;
        --h2-margin-bottom: 1.5rem;
        --h3-margin-bottom: 1.5rem;
        --h4-margin-bottom: 1.5rem;
        --button-padding: 1rem 2rem;
        --card-margin: 1.2rem;
        --icon-margin: 0.3rem;
        --list-margin-left: 1rem;

        --megamenu-background-color: var(--white);
        --title-font-size: var(--h2-size);
        --text-font-size: var(--p-size);
    }
}

h1,h2,h3,h4 {
    font-family: var(--clear-font-family);
}

h1 {
    font-size: var(--h1-size);
    line-height: var(--h1-line-height);
    margin-bottom: var(--h1-margin-bottom);
}

h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
    margin-bottom: var(--h2-margin-bottom);
}

h3 {
    font-size: var(--h3-size);
    line-height: var(--h3-line-height);
    margin-bottom: var(--h3-margin-bottom);
}

h4 {
    font-size: var(--h4-size);
    line-height: var(--h4-line-height);
    margin-bottom: var(--h4-margin-bottom);
}

p {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    margin-bottom: var(--paragraph-margin-bottom);
}

ul {
    margin-left: var(--list-margin-left);
}

li {
    font-size: var(--li-size);
    line-height: var(--li-line-height);
    margin-bottom: var(--list-margin-bottom);
}

section h2 {
    font-size: var(--section-title-size);
    line-height: var(--section-title-line-height);
}

section, .content, .info-content, .illustration  {
    padding: var(--section-padding);
}

button {
    font-size: var(--p-size);
    padding: var(--button-padding);
    min-width: 200px;
}

i {
    margin-right: var(--icon-margin);
}

.page-content {
    margin-top: calc(var(--header-height) + var(--usp-height));
}

body {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0;
}

.container {
    display: flex;
    flex-direction: column;
}

.yellow-start {
    background: #feed9d;
}

.banner {
    background: linear-gradient(90deg, #feed9d 0%, #feed9d 100%);
}

.yellow-end {
    background: linear-gradient(90deg, #feed9d 0%, rgba(255,255,255,1) 80%);
}

    .organisation-trademark {
        width: 95%;
        padding: 10px 5px;
        display: flex;
        gap: 10px;
        img {
            border-radius: 5px;
            width: 32%;
        }
    }

    @media (max-width: 600px) {
        .organisation-trademark {
            flex-direction: column;
            img {
                width: 100%;
            }
        }

        .container .el--8 {
            grid-column: 2;
        }
    }

    .southern-solar-about {
        background: var(--white);
        display: flex;
        gap: 1rem;
    }

    .southern-solar-about .illustration {
        min-width: 350px;
        padding: 2rem 2rem 0 0;
    }

    .southern-solar-about h4 {
        font-size: var(--h4-size);
    }

    .southern-solar-about .ethos {
        color: var(--orange);
        font-family: var(--highlight-text-font-family);
        letter-spacing: var(--highlight-text-spacing);
        font-size: var(--highlight-text-size);
    }

    .southern-solar-about p, .southern-solar-about h4 {
        color: var(--grey);
    }

    .southern-solar-intro {
        position: relative;
        display: flex;
    }

    .southern-solar-intro {
        background: var(--lightgrey);
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
        width: 100%;
    }

    .southern-solar-intro .solar-organisation {
        width: 317px;
    }

    .southern-solar-intro .main-hub {
        color: var(--blue);
        font-weight: bolder;
    }

    .southern-solar-intro .solar-service {
        color: var(--blue);
        font-weight: bolder;
    }

    .southern-solar-intro div {
        flex: 1 0 300px;
        height: 100px;
    }

    .southern-solar-intro div:last-child {
        margin-right: 0;
    }

    .southern-solar-intro div h4 {
        color: var(--orange)
    }

    .southern-solar-intro div h3 {
        letter-spacing: -1px;
    }

    .southern-solar-intro div a:link {
        text-decoration: none;
    }

    .southern-solar-intro div a:hover,
    .southern-solar-intro div a:focus,
    .southern-solar-intro div a:active
    {
        text-decoration: underline;
        cursor: pointer;
    }

    .contact-home {
        width:100%;
        overflow: hidden;
        position: relative;
    }

    .contact-home {
        display: block;
        background-image: url("../images/van2.jpg");
        width: 100%;
        background-position-y: -650px;
    }

    .contact-home .content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 1rem;
        position: relative;
        width: 60%;
        margin: 0 auto;
    }

    .contact-home .southern-solar-location {
        background: var(--red);
        height: 600px;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 25px;
    }

    .contact-home form {
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 25px;
        height: 600px;
    }

    .contact-home label {
        display: block;
    }

    .contact-home form h3,
    .contact-home form p {
        color: var(--white);
    }

    .contact-home form input,
    .contact-home form textarea {
        border-radius: 5px;
        display: block;
    }

    .contact-home form .float-label-field label {
        color: var(--white);
    }

    @media (max-width: 1200px) {
        .certification-declaration .content {
            width: 100%;
        }
        .site-footer {
            width: 100%;
        }
        .site-footer {
            .southern-solar-intro {
                width: 100%;
            }
        }
        .contact-home .southern-solar-location {
            visibility: hidden;
            height: 0;
        }
        .contact-home .southern-solar-location {
            width: 100%;
        }
        .contact-home .content {
            grid-template-columns: 1fr;
            gap: 0;
            width: 90%;
        }

        .certification-declaration {
            width: 100%;
        }

        .call-to-action-home {
            flex-direction: column;
        }

        .call-to-action-home div {
            width: 100% !important;
        }
        .southern-solar-about {
            flex-direction: column;
        }

        .southern-solar-about .illustration {
            padding: 0 2rem 0;
        }
    }

    @media (max-width: 900px) {
        .contact-home .content {
            width: 70%;
        }
    }

    .el--8 {
        position: absolute;
        top: -400px;
    }

iframe, object, embed {
    max-width: 100%;
}

.float-label-field {
    border: none;
    outline: none;
    position: relative;
    box-sizing: border-box;
}

.float-label-field input,.float-label-field textarea {
    border: none;
    outline: none;
    width: 100%;
    border-bottom: solid 1px #efefef;
}

.float-label-field label {
    opacity: 0.5;
    position: absolute;
    top: 5px;
    left: 5px;
    transition: all 0.2s ease;
}

.float-label-field.focus label {
    color: orange;
}
.float-label-field.focus input, .float-label-field.focus textarea {
    border-bottom: solid 1px orange;
}
.float-label-field.float label {
    opacity: 1;
    top: -8px;
    transition: all 0.2s ease;
    font-weight: bold;
}
.success {
    color:green;
    margin-bottom: 1rem;

}
.error {
    color:red;
}

.wp-block-navigation .current-menu-item a  {
    text-decoration: underline !important;
}

#map {
    height:100%
}

.placeholder-block {
    background: var(--grey);
}

.float-label-field {
    border: none;
    outline: none;
    position: relative;
    box-sizing: border-box;
}

.float-label-field input,.float-label-field textarea {
    border: none;
    outline: none;
    width: 100%;
    border-bottom: solid 1px #efefef;
}

.float-label-field label {
    opacity: 0.5;
    position: absolute;
    top: 5px;
    left: 5px;
    transition: all 0.2s ease;
}

.float-label-field.focus label {
    color: orange;
}
.float-label-field.focus input, .float-label-field.focus textarea {
    border-bottom: solid 1px orange;
}
.float-label-field.float label {
    opacity: 1;
    top: -8px;
    font-size: 60%;
    transition: all 0.2s ease;
    font-weight: bold;
}
.success {
    color:green;
    margin-bottom: 1rem;

}
.error {
    color:red;
}

.wp-block-navigation .current-menu-item a  {
    text-decoration: underline !important;
}

#map {
    height:100%
}

.placeholder-block {
    background: var(--grey);
}

.development {
    top:550px;
    position: absolute;
    padding: 10px;
    font-size: 3rem;
    text-align: center;
    width: 100%;
    height: 100px;
    text-transform: uppercase;
    background: var(--yellow);
}

