
/* HTML */

:root {
    --section-margin: 50px;
    --accent-1: #465645;
    --accent-2: #586D57;
    --accent-3: #7E977D;
    /* SERVICES */
    --hover-movement: 5px;
    --border-width: 4px;
    --padding-1: 0.75%;
    --padding-2: calc(var(--padding-1) * 2);
    --gap: 2%;
    --gap-2: 1vw
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
    background-color: white;
}

/* HERO */

#hero {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100vh;
}

#hero-overlay {
    display: inherit;
    justify-content: inherit;
    width: inherit;   
    background-color: #2B322ACC;
    z-index: 1;
}

#hero-video {
    display: inherit;
    width: inherit;
    position: absolute;
    z-index: -1;
    height: 100%;
}

#hero-video video {
    height: 100vh;
    width: 100vw;
    object-fit: cover;

}


#hero-box {
    display: inherit;
    flex-direction: column;
    justify-content: inherit;
    align-items: center;
    margin-top: var(--header-height);
    color: white;
}

.hero-title {
    font-size: 5.5vw;
    font-family: 'Ledger';
    text-shadow: black 1px 1px 2px;
}

.hero-subtitle {
    margin-bottom: 15px;
    font-size: 2vw;
    font-family: 'Ledger';
    text-shadow: black 1px 1px 2px;
}

#hero-btn {
    width: 13vw;
    aspect-ratio: 5;
    font-size: 1.3vw;
}

/* IMPACT */

#impact {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    background-color: #F1F1F1;
    padding-bottom: 2.5%;
}

#impact-header {
    display: inherit;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: inherit;
    height: fit-content;
    margin: 2.5% 0;
}

#impact-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: 10px;
    height: 250px;
}

.impact-list {
    display: flex;
    flex-direction: row;
}

.impact-list div {
    margin-left: -15px
}

.triangle-up {
    animation-name: gleam;
    animation-iteration-count: infinite;

	width: 0;
	height: 0;
	border-left: 25px solid transparent;
	border-right: 25px solid transparent;
	border-bottom: 50px solid var(--accent-2);
    display: none;
}

@keyframes gleam {
    0%   { opacity: 0.8; }
    25%  { opacity: 0.3; }
    50%  { opacity: 0.6; }
    75%  { opacity: 0.4; }
    100%  { opacity: 0.8; }
}

.triangle-down {
    animation-name: gleam;
    animation-iteration-count: infinite;

	width: 0;
	height: 0;
	border-left: 25px solid transparent;
	border-right: 25px solid transparent;
	border-top: 50px solid var(--accent-3);
    display: none;
}

.test-tri {
    visibility: visible !important;
    transition: 5s ease;
}

#impact-title {
    flex: 3;
    font-size: 3.4vw;
    font-family: 'Cabin';
    opacity: 0;
    transition: opacity 3s ease;
}

#impact-title.active {
    opacity: 1 !important;
}

#map {
    aspect-ratio: 2.5;
    width: 80%;
    z-index: 0;
    transition: height 2s ease;
}



.leaflet-marker-icon {
  --fadein-options: fadein 0.5s;
  -webkit-animation: var(--fadein-option); /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: var(--fadein-option); /* Firefox < 16 */
  -ms-animation: var(--fadein-option); /* Internet Explorer */
  -o-animation: var(--fadein-option); /* Opera < 12.1 */
  animation: var(--fadein-option);
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* BENEFITS */

#benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    margin: var(--section-margin) 0;
}

#benefits-title {
    font-size: 45px;
    font-family: 'Cabin';
    text-align: center;
}

.benefits-div {
    display: inherit;
    flex-direction: row;
    gap: 2.5%;
    margin: 0 20%;
}

.benefits-btn {
    width: 15vw;
    aspect-ratio: 4;
    font-size: 1.5vw;
    
}

.benefit {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
    gap: 5px;
    padding: 1% 2%;
    border-radius: 10px;
}

.benefit-image img {
    width: 100%;
}

.benefit-title {
    font-size: 1.3vw;
    font-weight: bold;
    font-family: 'Cabin';
}

.benefit-subtitle {
    font-size: 0.9vw;
    font-family: 'Ledger';
}

/* CALL TO ACTION */

#call-to-action {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    margin: var(--section-margin) 0;
    width: 100%;
    background-color: #F1F1F1;
}


.call-to-action-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 10px;
    width: 55vw;
    gap: 10px;
    border-left: var(--accent-3) 3px solid;
}

.call-to-action-title {
    font-size: 5vw;
    font-family: 'Cabin';
}

.call-to-action-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 2.5vw;
    font-weight: bold;
    font-family: 'Cabin';
    color: var(--accent-3);
    text-shadow: #f1f1f1 1px 1px 1px;
    cursor: pointer;
}

.call-to-action-btn span {
    font-size: 3vw;
}

.call-to-action-btn:hover {
    transition: 0.3s ease;
    text-shadow: var(--accent-3) 1px 1px 1px;
}

#call-to-action-image {
    aspect-ratio: 1;
    width: 30vw;
    position: relative;
    left: 32vw;
    opacity: 0;
}

#call-to-action-image.active {
    opacity: 1;
    left: 0;
    transition: left 0.7s cubic-bezier(0.075, 0.82, 0.165, 1), opacity 1.3s ease;
}


/* SERVICES */

#services {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    margin: var(--section-margin) 15%;
    height: inherit;
}

#services-title {
    font-size: 60px;
    font-family: 'Cabin';
}

#services-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: auto;
    gap: var(--gap);
    row-gap: var(--gap-2);
}

.service {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.75% 1.5% 0.75% 0.75%;
    width: calc(calc(calc(calc(100% / 3) - calc(var(--padding-1) + var(--padding-2))) - calc(var(--hover-movement) + var(--border-width))) - calc(calc(var(--gap) * 2) / 3));
    border-left:#465645 4px solid;
    border-radius: 5px;
    color: black;
    background-color: #F1F1F1;
    transition: 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.service:hover {
    margin-left: 5px;
    background-color: #e5e5e5;
}

.service.wide {
    width: calc(calc(calc(calc(calc(100% / 3) * 2) - calc(var(--padding-1) + var(--padding-2))) - calc(var(--hover-movement) + var(--border-width))) - calc(var(--gap) / 2));
    background-color: #6cb66842;
}

.service-div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.service-title {
    font-size: 1.5vw;
    font-weight: bold;
    font-family: 'Cabin';
}

.service-subtitle {
    font-size: 1vw;
    font-family: 'Ledger';
}

.service-btn {
    display: flex;
    font-weight: bolder;
    font-size: 2vw;
    font-family: 'Cabin';
}


/* SUCCESS STORIES */

#success {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: var(--section-margin) 0;
}

#success-title {
    display: inherit;
    justify-content: center;
    gap: 5px;
    font-size: 65px;
    font-family: 'Ledger';
}

#success-carousel {
    display: inherit;
    flex-direction: row;
    gap: 5%;
    margin-left: 0;
    width: 300vw;
    transition: 0.7s ease;
}

#success-carousel.right {
    margin-left: -210vw;
}

#success-carousel.left {
    margin-left: 210vw;
}

#success-carousel-select {
    display: inherit;
    justify-content: center;
    gap: 5px;
}

.success-carousel-select-burger {
    width: 13px;
    aspect-ratio: 1;
    background-color: #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
}

.success-carousel-select-burger.active {
    background-color: #f1f1f1;
}

.story-div {
    display: inherit;
    flex-direction: inherit;
    align-items: center;
    flex: 1;
    gap: 20px;
}


.story-header {
    display: inherit;
    flex-direction: column;
    align-items: flex-end;
    flex: 5;
    gap: 15px;
}

.story-title {
    width: 100%;
    font-size: 3.5vw;
    font-weight: bold;
    font-family: 'Ledger';
}

.story-content {
    font-size: 1.9vw;
    font-family: 'Cabin';
}

.story-content b {
    font-size: 1.1em;
}

.story-btn {
    font-size: 2.5vw;
    font-weight: bold;
    font-family: 'Cabin';
    color: var(--accent-3);
    text-shadow: #f1f1f1 1px 1px 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px;
}

.story-btn span {
    font-size: 2.7vw;
}

.story-image {
    background-image: url('assets/placeholder.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    flex: 4;
    height: 100%;
    min-height: 300px;
    width: 100%;
}

/* CONTACT */

#contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-title {
    font-size: 40px;
    font-family: 'Cabin';
}

#contact input {
    padding: 17.5px 20px 12.5px 20px;
    width: 25vw;
}

.contact-div-1 {
    display: inherit;
    flex-direction: row;
    gap: 10px;
}

.contact-div-1 div {
    min-width: 150px;
}

.contact-name {
    flex: 1;
}

.contact-email {
    flex: 1;
}

.contact-div-2 {
    display: inherit;
    flex-direction: column;
    gap: 10px
}

.contact-topic {
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    padding: 15px 20px;
    padding-left: -5px;
    font-size: 15px;
}


.contact-message {
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    padding: 5px 0 0 5px;
    font-size: 17px;
}

.contact-btn {
    width: 170px;
    height: 30px;
}

.contact-label {
    position: absolute;
    margin: 15px 0 0 10px;
    color: gray;
    font-size: 17px;
    transition: 0.3s ease;
    pointer-events: none;
}

.contact-label-active {
    margin: 5px 0 0 7px !important;
    font-size: 14px !important;
}

/* AFFILIATES */

#affiliates {
    margin: 75px 0 20px 0;
    width: 100%;
}

.affiliates-div {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 20px;
    height: 100px;
    padding: 0 25px;
}

.affiliate {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    flex: 1;
}





@media screen and (max-width: 1200px) {

    /* HERO */
    .hero-title {
        font-size: 7vw;
    }
    
    .hero-subtitle {
        font-size: 3vw;
    }
    
    #hero-btn {
        width: 20vw;
        aspect-ratio: 5;
        font-size: 1.7vw;
    }

    /* BENEFITS */

    .benefits-div {
        margin: 0 20%;
    }

    .benefit-title {
        font-size: 2vw;
    }

    .benefit-subtitle {
        font-size: 1.5vw;
    }

    /* SERVICES */

    #services {
        margin: var(--section-margin) 5%;
    }

    .service-title {
        font-size: 2vw;
    }

    .service-subtitle {
        font-size: 1.5vw;
    }

    /* CALL TO ACTION */

    #call-to-action {
        padding: 2.5% 0;
    }
}

@media screen and (max-width: 1000px) {

    /* HERO */
    .hero-title {
        font-size: 65px;
    }

    .hero-subtitle {
        font-size: 32px;
    }

    #hero-btn {
        width: 180px;
        height: 50px;
        font-size: 20px;
    }

    /* IMPACT */

    #impact-title {
        font-size: 38px;
    }

    /* BENEFITS */

    .benefits-div {
        margin: 0 10%;
    }

    .benefit-title {
        font-size: 21px;
    }

    .benefit-subtitle {
        font-size: 16px;
    }

    .benefits-btn {
        font-size: 17px;
        width: 20vw;
    }

    /* CALL TO ACTION */

    
    .call-to-action-title {
        font-size: 55px;
    }

    .call-to-action-btn {
        font-size: 25px;
    }

    .call-to-action-btn span {
        font-size: 4vw;
    }

    /* SERVICES */

    #services {
        margin: 50px 7.5%;
    }

    .service {
        width: calc( calc(calc(50% - calc(var(--padding-1) + var(--padding-2))) - calc(var(--gap) / 2)) - calc(var(--hover-movement) + var(--border-width)));
        height: fit-content;
        min-height: 120px;
    }

    .service.wide {
        width: calc( calc(calc(100% - calc(var(--padding-1) + var(--padding-2))) - calc(var(--gap) / 2)) - calc(var(--hover-movement) + var(--border-width)));
    }

    .service-title {
        font-size: 22px;
    }
    
    .service-subtitle {
        font-size: 16px;
    }

    .service-btn {
        font-size: 3vw;
    }

}


@media screen and (max-width: 800px) {
    /* HERO */
    .hero-title {
        font-size: 58px;
    }

    .hero-subtitle {
        font-size: 30px;
    }

    /* IMPACT */

    #impact {
        padding-bottom: 0;
    }

    #impact-header {
        margin-left: 5%;
    }

    #impact-image {
        display: none;
    }

    #map {
        width: 100%;
        height: 30vh;
    }

    /* CALL TO ACTION */

    .call-to-action-title {
        font-size: 40px;
    }

    /* SUCCESS STORIES */

    #success-title {
        font-size: 40px;
    }

    .story-title {
        font-size: 5.5vw;
    }

    .story-content {
        font-size: 2.5vw;
    }

    /* CONTACT */

    #contact {
        margin: 0 5%;
        width: fit-content;
        width: -moz-available;
        width: -webkit-fill-available;
    }

    #contact input {
        width: fit-content;
        width: -moz-available;
        width: -webkit-fill-available;
    }

}

@media screen and (max-width: 600px) {

    /* HERO */
    .hero-title {
        margin-bottom: 25px;
        line-height: 50px;
        font-size: 54px;
    }
    
    .hero-subtitle {
       font-size: 28x; 
    }

    /* IMPACT */

    #impact-title {
        font-size: 35px;
    }

    #map {
        height: 35vh;
    }

    /* BENEFITS */

    .benefits-div {
        flex-direction: column;
        margin: 0 15%;
        gap: 25px;
        margin-bottom: 10px;
    }

    .benefit {
        align-items: center;
    }

    
    .benefit-image {
        width: 65%;
    }

    .benefit-title {
        font-size: 30px;
    }

    .benefit-subtitle {
        font-size: 19px;
    }

    .benefits-btn {
        width: 40vw;
    }

    /* CALL TO ACTION */

    #call-to-action {
        padding: 5% 0;
        flex-direction: column-reverse;
    }

    .call-to-action-header {
        margin: 0 2.5%;
        width: fit-content;
        width: -moz-available;
        width: -webkit-fill-available;
    }

    #call-to-action-image {
        width: 55vw;
    }

    .call-to-action-title {
        font-size: 35px;
    }

    .call-to-action-btn {
        font-size: 23px;
    }

    .call-to-action-btn span {
        font-size: 5vw;
    }

    /* SERVICES */

    #services {
        margin: 50px 5%;
    }

    #services-title {
        font-size: 45px;
    }

    .service {
        width: 100%;
    }

    .service.wide {
        width: 100%;
    }

    .service-title {
        font-size: 5.3vw;
    }

    .service-subtitle {
        font-size: 18px;
    }

    .service-btn {
        font-size: 40px;
    }

    /* SUCCESS STORIES */

    .story-div {
        flex-direction: column;
    }

    .story-title {
        font-size: 6.5vw;
    }

    .story-content {
        font-size: 3.5vw;
    }

    .story-btn {
        font-size: 3.3vw;
    }

    .story-btn span {
        font-size: 4vw;
    }

}



