/* 
Poppins – A geometric sans-serif with rounded characteristics.
Nunito – A well-balanced sans-serif with soft, rounded edges.
Quicksand – A slightly more playful rounded sans-serif.
Muli (now Mulish) – A clean sans-serif with subtle roundness. */

.dont-show {
    display: none;
}

h1,
h2,
p, a
{
    font-family: "Poppins", serif;
    font-style: normal;
}

h1, h2 { 
    font-weight: 400;
    margin-bottom: 0;
}

h1 { font-size: 1.4rem; line-height: 1rem; }
h2 { font-size: 1.2rem; line-height: 0.8rem; }

p {
    font-weight: 200;
    font-size: 1.2rem;
    line-height: 0.8rem;
    margin-bottom: 0;
}

@media (max-width: 500px) { 
    p { font-size: 1rem; }
    h1 { font-size: 1.2rem; }
    h2 { font-size: 1.2rem; }  
}


footer.simple a,
a {
    line-height: 1.2rem;
    font-size: 1.2rem;
    color: #018245;
    font-weight: 400!important;
    text-decoration: none;
}

footer.simple a:hover,
a:hover {
    text-decoration: underline;
    color: #0750A0;
    font-weight: 600!important;
}

body.simple {
    height: 100vh;
}

body.complex {
    height: 140vh;
}

body, html {
    margin: 0;
    padding: 0;
}

html {
    background-color: #eee;
}

.triangle-background {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #cccccc; /* Green background for the triangle */
    clip-path: polygon(100% 0, 100% 20%, 50% 40%, 0 20%, 0 0); 
    height: 800px; /* Height of the triangle section */
    width: 100%;
    z-index: -1; /* Ensure it sits above the content */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

div.triangle-background img {
    background: #ffffff;
    padding: 10px;
    border-radius: 50%;
    max-height: 70px;
    margin-top: 60px;
}

header {
    background: url('img/hero.webp') no-repeat right center/cover;
    position: relative;
    height: 100vh;
}

@media (max-width: 768px) { 
    header { height: 106vh; }
}

@media (max-width: 500px) { 
    header { 
        background: url('img/hero-mobile.webp') no-repeat right center/cover; 
        height: 106vh;
    }
}

@media (max-width: 320px) { 
    header { height: 108vh; }
}

div#header-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 50px;
}


@media (max-width: 768px) { div#header-bar { justify-content: center; }}


.header-triangle {
    clip-path: polygon(100% 0, 100% 80%, 50% 100%, 0 80%, 0 0);
    z-index: 1;
}

div#logo img {
    background: #ffffff;
    padding: 10px;
    border-radius: 50%;
    max-height: 70px;
} 

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav a {
    color: #eee;;
    text-decoration: none;
    font-size: 1.2rem;
}

div.hero-text {
    display: flex;
    flex-direction: row;
    margin-top: -10%;
}


@media (max-width: 768px) { div.hero-text { width: 100%; margin-top: 150px; flex-direction: column; justify-content: center; }}
@media (max-width: 500px) { div.hero-text { margin-top: 250px;  }}

div.column,
div.column-two {
    width: 50%;
    margin: 12%;
}

@media (max-width: 768px) { div.column, div.column-two { 
    margin-top: 0;
    margin-left: auto; 
    margin-right: auto; 
    margin-bottom: 0; }
}

@media (max-width: 320px) { div.column, div.column-two { 
    margin-top: 0;
    }
}

div.column {
    background-color: #fff;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 5px solid #0750a0;
    box-shadow: 0 0 0 20px white;
    display: flex;
    justify-content: center;  
    align-items: center;      
}

div.hero-text p {
    font-size: 2rem; 
    margin: 0;
    line-height: 2.5rem;
    padding: 14%;
    font-weight: 600;
    color: #000;
    text-align: center;
}


@media (max-width: 768px) { 
    div.hero-text p { 
        font-size: 1.4rem; 
        line-height: 1.4em;
        padding: 20px;
    }
}

@media (max-width: 1200px) { 
    div.hero-text p { 
        font-size: 1.2rem; 
        line-height: 1.2em;
        padding: 20px;
    }
}

@media (max-width: 500px) { 
    div.hero-text p { 
        font-size: 1rem; 
        line-height: 1.4em;
        padding: 20px;
    }
}

@media (max-width: 320px) { 
    div.hero-text p { 
        font-size: 0.8rem; 
        line-height: 1.2rem;
        padding: 20px;
    }
}

section#cards {
    z-index: 10;
    background: #eee;;
    width: 80%;
    max-width: 1200px;
    margin: 400px auto;
    padding: 5px;
}

.card {
    /* clip-path: polygon(50% 20%, 100% 0, 100% 80%, 50% 100%, 0 80%, 0 0); */
    display: flex;
    flex-direction: row;
    overflow: hidden;
    width: 100%;
    /* background-color: #018245; */
    background-color: #a7a7a7;
}

@media (max-width: 768px) { 
    .card { flex-direction: column; } 
    .card.reverse { flex-direction: column-reverse; } 
}

.card.spacer {
    background-color: #eee;;
    height: 20px;
}
  
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* max-width: 300px; Adjust the image width */
    flex-shrink: 0;
}


@media (max-width: 768px) { 
    .card-image { 
        aspect-ratio: 1/1; 
        overflow: hidden; /* Hide overflowing parts */
        position: relative; 
    } 
}

.card-content {
    height: 100%;
    width: 50%;
    padding: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.card-header {
    font-size: 3rem;
    line-height: 3rem;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 10px;
    color: #000000;;
}

.card-subheader {
    font-size: 2rem;
    line-height: 2rem;
    font-weight: 300;
    margin-bottom: 10px;
    color: #000;;
}

.card-text {
    color: #000;;
    line-height: 1.5;
}

@media (max-width: 768px) { 
    .card-content { padding: 30px; padding-bottom: 50px; width: 80%; } 
    .card-header { font-size: 1.4rem; } 
    .card-subheader { font-size: 1.2rem; } 
}

@media (max-width: 500px) { 
    .card-header { font-size: 1.4rem; } 
    .card-subheader { font-size: 1.2rem; } 
    .card-text { font-size: 0.9rem; } 
}

video {
    width: 1200px;
    object-fit: cover; 
}

@media (max-width: 768px) { video { width: 100%; aspect-ratio: 1/1; }}



section#home {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: -1;
    padding-bottom: 50px;
}

@media (max-width: 1050px) { 
    section#home { padding-bottom: 80px!important; }
}

@media (max-width: 768px) { 
    section#home img { width: 40%; }
    section#home { padding-bottom: 60px!important; }
}

@media (max-width: 500px) { 
    section#home img { width: 80%; }
    section#home { padding-bottom: 100px!important; }
}

@media (max-width: 320px) { 
    section#home { padding-bottom: 80px!important; }
}

footer.simple { padding-bottom: 480px; }
@media (max-width: 768px) { footer.simple { padding-bottom: 425px!important; }}
@media (max-width: 500px) { footer.simple { padding-bottom: 425px!important; }}
@media (max-width: 320px) { footer.simple { padding-bottom: 450px!important; }}

footer.triangle-top {
    clip-path: polygon(50% 40%, 100% 10%, 100% 100%, 50% 100%, 0 100%, 0 10%);
    margin-top: -276px;
    height: 135px;
    background-color: #eee;
}

@media (max-width: 320px) { 
    footer.triangle-top {
        clip-path: polygon(50% 35%, 100% 20%, 100% 100%, 50% 100%, 0 100%, 0 20%);
        height: 80px;
    }
}

footer { border-bottom: 10px solid #018245; }

