/* cookie consent */
#cookie_consent {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #F9FEEF;
    display: none;
}

#cookie_consent .cookie_consent_container {
    background: #9ED635;
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
}

#cookie_consent .cookie_consent_container p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 20px;
}

#cookie_consent .cookie_consent_btn_container {
    display: flex;
    align-items: center;
    justify-content: end;
    margin: auto;
    height: 100%;
    gap: 20px;
}

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


    #cookie_consent .cookie_consent_container {
        flex-wrap: wrap;
        gap: 20px;
        padding: 15px;
    }

    #cookie_consent .cookie_consent_btn_container {
        flex-direction: column;
        gap: 20px;
    }

    #cookie_consent .cookie_consent_btn_container a {
        width: 100%;
    }
}

/* cookie consent */

/* partners */
#partners {
    margin: 50px 0px;
}

#partners p.subtitle {
    font-size: 18px;
    line-height: 26px;
    text-transform: uppercase;
    color: #0F4034;
    text-align: center;
}


#partners .partners_logo_container .first_row {
    display: flex;
    justify-content: space-between;
    /*display: grid;
    grid-template-columns: repeat(4, 1fr); */
    gap: 20px;
    align-items: center;
}

#partners .partners_logo_container .second_row {

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

#partners .partners_logo_container .first_row img,
#partners .partners_logo_container .second_row img {
    max-width: 200px;
    max-height: 70px;
}

#partners .partners_logo_container .second_row img {
    margin: auto;
}

#partners .partners_logo_container .first_row {
    margin-bottom: 40px;
}



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

    #partners p.subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    #partners .partners_logo_container .first_row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    #partners .partners_logo_container .second_row {
        grid-template-columns: repeat(3, 1fr);
    }

    #partners .partners_logo_container .first_row img {
        max-height: 50px;
        width: 95%;
        margin: auto;
    }

    #partners .partners_logo_container .second_row img {
        max-height: 50px;
        width: 95%;
        margin: auto;
    }

    #partners .partners_logo_container .second_row img:nth-child(1) {
        order: 4;
    }

    #partners .partners_logo_container .second_row img:nth-child(2) {
        order: 5;
    }

    #partners .partners_logo_container .second_row img:nth-child(3) {
        order: 6;
    }

}



/* partners */

/* deals */

#deals {
    padding: 80px 0px;
    background-color: #F9FEEF;
    background-image: url(../images/bubble_bg.svg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: auto;
}

#deals p.subtitle {
    font-size: 18px;
    line-height: 26px;
    color: #0F4034;
    text-align: left;
}

#deals .title_container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#deals .title_container a {
    margin-top: 10px;
}


#deals .deals_cards {
    display: flex;
    justify-content: space-between;
}

#deals .card {
    /* flex: 1; */
    width: 31%;
    background: #F6F7F9;
    border: 1px solid rgba(217, 217, 217, 0.4);
    border-radius: 16px;
    padding: 50px 30px;
}

#deals .card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

#deals .card h3 {
    margin: 25px 0px;
}

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

    #deals {
        padding: 50px 0px;
        background-image: url('../images/bubble_bg_mob_1.svg'), url('../images/bubble_bg_mob_2.svg');
        background-position: top left, bottom right;
        background-repeat: no-repeat, no-repeat;
        background-size: auto;
    }

    #deals .title_container {
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    #deals .deals_cards {
        flex-wrap: wrap;
        gap: 20px;
    }

    #deals .card {
        width: 100%;
        padding: 30px;
    }

    #deals .title_container a {
        margin-top: 0;
    }
}

/* deals */

/* reviews */

#testimonials {
    margin: 80px 0px;
}

#testimonials p.subtitle {
    font-size: 18px;
    line-height: 26px;
    color: #0F4034;
    text-align: center;
    text-transform: uppercase;
}

#testimonials .testimonials_slider {
    /* display: flex;
    gap: 20px; */
}

#testimonials .testimonials_slider .testimonials_slide {
    background: #FFFFFF;
    border: 1px solid rgba(217, 217, 217, 0.4);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    margin: 0px 10px;
}

#testimonials .testimonials_slider .testimonials_slide .header {
    width: 100%;
    display: flex;
    align-items: center;
}

#testimonials .testimonials_slider .testimonials_slide .header .author_image {
    width: 60px;
    height: 60px;
}

#testimonials .testimonials_slider .testimonials_slide .header .author_image img {
    width: 100%;
}

#testimonials .testimonials_slider .testimonials_slide .header .author {
    display: inline-flex;
    flex-direction: column;
    margin: 0px 15px;
}

#testimonials .testimonials_slider .testimonials_slide .header .author .author_name {
    font-size: 18px;
    font-weight: 700;
}

#testimonials .testimonials_slider .testimonials_slide .header .author .last_update {}

#testimonials .testimonials_slider .testimonials_slide .header .platform {
    margin-left: auto;
}

.testimonials_slider .slick-track {
    display: flex !important;
}

.testimonials_slider .slick-slide {
    display: flex !important;
    height: auto !important;
    align-items: stretch;
    /* makes all slides take full height */
}

.slick-dots {
    bottom: -40px;
}

.slick-dots li button:before {
    width: 6px;
    height: 6px;
    background: #000;
    opacity: 0.3;
    border-radius: 50px;
    font-size: 0;
    position: absolute;
    content: '';
}

.slick-dots li.slick-active button {
    width: 30px;
    /* height: 8px; */
}

.slick-dots li.slick-active button:before {
    color: #9ED635;
    width: 30px;
    height: 8px;
    background: #9ED635;
    border-radius: 8px;
    /* margin: 0px 5px; */
    margin-left: -12px;
}


.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    background: #9ED635;
    opacity: 1;
}

.rating {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 15px 0px;
}

.fullstar {
    background: url(../images/fullstar.svg) no-repeat;
    width: 24px;
    height: 24px;
    background-size: cover;
    background-position: center;
    display: inline-block;
}

@media screen and (max-width: 767px) {
    #testimonials {
        margin: 50px 0px;
    }
}


/* reviews */

/* articles */
#articles {
    padding: 80px 0px;
    background-color: #F9FEEF;
}

#articles {
    padding: 80px 0px;
    background-color: #F9FEEF;
    background-image: url(../images/bubble_bg1.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 75%;
}


#articles .article_container {
    position: relative;
}

/*
#articles .article_container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(../images/bubble_bg1.svg);
    background-repeat: no-repeat;
    background-position: 20px -30px;
    background-size: contain;
}*/

#articles p.subtitle {
    font-size: 18px;
    line-height: 26px;
    color: #0F4034;
    text-align: left;
    text-transform: uppercase;
}

#articles .title_container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#articles .title_container a {
    margin-top: 10px;
}


#articles .articles_card_container {
    display: grid;
    grid-template-columns: 35% 63%;
    ;
    /* grid-auto-rows: 1fr; */
    /* grid-template-rows: auto auto; */
    gap: 20px;
}

#articles .articles_card_container .card {
    background: transparent;
    overflow: hidden;
    border: 1px solid #C2E48A;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 8px 32px;
    gap: 20px;

    height: auto;
    display: flex !important;
}

#articles .articles_card_container .card img {
    width: 100%;
    max-height: 250px;
    /* max-width: 300px;     */
    object-fit: cover;
    border-radius: 12px;
}

#articles .articles_card_container .card .content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



#articles .articles_card_container .card h3 {
    margin: 0 0 10px;
}

#articles .articles_card_container .card p {
    color: #444;
    flex-grow: 1;
}

#articles .articles_card_container .card a {
    margin-top: 10px;
    color: #4caf50;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

#articles .articles_card_container .card a .arrow {
    font-size: 1.2em;
    width: 32px;
    height: 32px;
    border: 1px solid #9ED635;
    border-radius: 4px;
    text-align: center;
    padding: 2px 0px;
}

#articles .articles_card_container .card.tall {
    grid-row: span 2;
    width: auto;
}

#articles .articles_card_container .card.verticle {
    flex-direction: row;
    padding: 8px 8px;
}

#articles .articles_card_container .card.verticle img {
    max-height: 250px;
    max-width: 300px;
}

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

    #articles {
        padding: 50px 0px;
        background-image: url('../images/bubble_bg_mob_1.svg'), url('../images/bubble_bg_mob_3.svg');
        background-position: top left, bottom right;
        background-repeat: no-repeat, no-repeat;
        background-size: auto;
    }

    #articles p.subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    #articles .title_container {
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    #articles .articles_card_container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    #articles .articles_card_container .card {
        width: 100%;
    }

    #articles .articles_card_container .article_slider .slick-slide {
        height: auto;
        display: flex !important;
        align-items: stretch;
    }

    .article_slider .card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    #articles .articles_card_container .card.verticle {
        flex-direction: column;
        width: 100%;
        padding: 8px 8px 32px;
    }

    #articles .articles_card_container .card.verticle img {
        width: 100%;
        max-width: 100%;
        max-height: 250px;
        object-fit: cover;
        border-radius: 12px;
    }

    #articles .articles_card_container .card .content {
        padding: 0;
    }
}

/* articles */


/* hero */
#hero {
    /* padding: 100px 0px;
    background: #0F4034; */
}

#hero .hero_container {
    padding: 100px 70px;
    background: #0F4034;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: url('../images/hero_bg1.svg'), url('../images/hero_bg2.svg');
    background-position: top left, bottom right;
    background-repeat: no-repeat, no-repeat;
    background-size: contain;
}

#hero .hero_container::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    right: 100px;
    bottom: 180px;
    background: #E7FD5C;
    opacity: 0.4;
    filter: blur(164.973px);
}

#hero .hero_container .hero_content {
    color: #fff;
}

#hero .hero_container .hero_content p {
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 40px;
}

#hero .hero_container .hero_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    min-height: 400px;
}

#hero .hero_container .hero_cards .card {
    background: #C4E388;
    border: 1px solid #2F430A;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: start;
    justify-content: start;
    font-weight: 700;
    /* color: #000; */
    font-size: 24px;
    height: 100%;
    line-height: 30px;
    position: relative;
}

#hero .hero_container .hero_cards a {
    z-index: 2;
}

.col {
    display: grid;
    height: 100%;
    gap: 5%;
}


.a-col {
    grid-template-rows: 55% 40%;
}

.b-col {
    grid-template-rows: 1fr 1fr;
}

.c-col {
    grid-template-rows: 40% 55%;
}

#hero .hero_container .hero_cards .a-col .a1 {
    background-image: url(../images/illustrations/auto_illustration.svg);
    background-position: left bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

#hero .hero_container .hero_cards .c-col .c2 {
    background-image: url(../images/illustrations/habitation_illustration.svg);
    background-position: left bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

#hero .hero_container .hero_cards .card .card_icon {
    position: absolute;
    top: 16px;
    left: 16px;
}

#hero .hero_container .hero_cards .card.credit {
    background-image: url(../images/coins_icon.svg);
    background-position: 30px 30px;
    background-size: auto;
    background-repeat: no-repeat;
}

#hero .hero_container .hero_cards .card.gas {
    background-image: url(../images/electric_icon.svg);
    background-position: center 40px;
    background-size: auto;
    background-repeat: no-repeat;
}

#hero .hero_container .hero_cards .card.charity {
    background-image: url(../images/charity_plus_icon.svg);
    background-position: 60px 40px;
    background-size: auto;
    background-repeat: no-repeat;
}

#hero .hero_container .hero_cards .card.bank {
    background-image: url(../images/currency_icon.svg);
    background-position: 60px 30px;
    background-size: auto;
    background-repeat: no-repeat;
}

#hero .hero_container .hero_cards .card:hover {
    transition: all 250ms;
    transform: scale(1.05);
}


@media (min-width: 992px) and (max-width: 1200px) {
    #hero .hero_container {
        padding: 100px 20px 70px;
    }

    h1 {
        font-size: 55px;
        line-height: 65px;
    }


}

@media (min-width: 768px) and (max-width: 991px) {

    #hero .hero_container {
        padding: 100px 20px 70px;
    }


    #hero .hero_container .hero_content p {
        font-size: 20px;
        line-height: 30px;
    }

    #hero .hero_container .hero_cards {
        gap: 10px;
    }

    .col {
        gap: 10px;
    }

    .a-col {
        grid-template-rows: 56% 42%;
    }

    .c-col {
        grid-template-rows: 42% 56%;
    }

    #hero .hero_container .hero_cards .card {
        padding: 10px;
        font-size: 18px;
        line-height: 24px;
    }

    #hero .hero_container .hero_cards .card .card_icon {
        top: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
    }
}



@media screen and (max-width: 767px) {
    #hero .hero_container {
        padding: 80px 15px 40px;
        flex-direction: column;
        gap: 60px;
        background-image: url('../images/hero_mob_bg1.svg'), url('../images/hero_mob_bg2.svg');
        background-position: top left, bottom right;
        background-repeat: no-repeat, no-repeat;
        background-size: contain;
    }

    #hero .hero_container::after {
        width: 150px;
        height: 150px;
        right: 10px;
        bottom: -300px;
        opacity: 0.5;
        filter: blur(140.973px);
    }


    #hero .hero_container .hero_content p {
        font-size: 20px;
        line-height: 28px;
    }

    #hero .hero_container .hero_cards {
        gap: 5px;
        min-height: 400px;
    }

    .col {
        gap: 1%;
    }

    #hero .hero_container .hero_cards .card {
        padding: 10px;
        font-size: 15px;
        line-height: 20px;
    }

    #hero .hero_container .hero_cards .card .card_icon {
        top: 8px;
        left: 8px;
        width: 22px;
        height: 22px;
    }

    .a-col {
        grid-template-rows: 55% 43%;
    }

    .c-col {
        grid-template-rows: 43% 55%;
    }

    #hero .hero_container .hero_cards .a-col .a1 {
        background-size: 96%;
    }

    #hero .hero_container .hero_cards .card.charity {
        background-position: 45px 20px;
        background-size: 50%;
    }

    #hero .hero_container .hero_cards .card.bank {
        background-position: 40px 15px;
        background-size: 60%;
    }

    #hero .hero_container .hero_cards .card.gas {
        background-position: center 30px;
        background-size: 25%;
    }

    #hero .hero_container .hero_cards .card.credit {
        background-position: 30px 30px;
        background-size: 60%;
    }

    #hero .hero_container .hero_cards .c-col .c2 {
        background-size: 95%;
    }
}

@media screen and (max-width: 450px) {
    #hero .hero_container .hero_cards {
        gap: 5px;
        min-height: 260px;
    }
}

/* hero */


#terms_page_content {
    padding-top: 30px;
    border-top: 1px solid rgba(217, 217, 217, 0.4);
}

#terms_page_content h1 {
    color: #000;
    font-size: 40px;
    line-height: 55px;
}

#terms_page_content h2 {
    text-align: left;
}

@media screen and (max-width: 767px) {
    #terms_page_content {
        padding-top: 20px;
    }

    #terms_page_content h1 {
        font-size: 35px;
        line-height: 45px;
    }
}




/* floating modal */

.floating-modal-container {
    padding: 0px 20px 20px 20px;
    width: 100%;
}

#floatingModal form {
    width: 100%;
}

#floatingModal {
    margin: 0;
    bottom: 0;
    position: fixed;
    width: 100%;
    max-width: 100%;
    z-index: 1026;
    /* opacity: 0; */
}

#floatingModal .modal-dialog {
    margin: 0;
    bottom: 0;
    position: absolute;
    width: 100%;
    max-width: 100%;

}

#floatingModal .modal-content {
    border: none;
    border-radius: 0;
    background: transparent;
    width: 100%;
}

#floatingModal .modal-body {
    background: #F9FFEF;
    padding: 0px;
    max-height: 15px;
    opacity: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    box-sizing: border-box;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    transition: all 550ms ease-in-out;
}

#floatingModal .modal-body.open {
    max-height: calc(100vh - (120px + 47px + 25px));
    opacity: 1;
    transition: all 550ms ease-in-out;
    padding: 15px 0px;
}

#floatingModal .modal-header {
    padding: 0;
}

#floatingModal.open {
    opacity: 1;
    transition: all 550ms ease-in-out;
}

#floatingModal .triggerBtn {
    text-align: center;
    background: #0F4034;
    align-self: center;
    color: #fff;
    padding: 10px 0px;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 500;
    outline: none;
    box-shadow: none;
    width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    /* border-top-left-radius: 15px;
    border-top-right-radius: 15px; */
    transition: all 550ms ease-in-out;
    border-radius: 8px;
    width: 100%;
    margin: auto 10px;
    position: relative;
}


#floatingModal.open .triggerBtn {
    margin: 0;
    border-radius: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#floatingModal .triggerBtn::before {
    content: '';
    background: url(../images/modal_icon.svg) no-repeat;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    padding: 5px 15px;
    width: 32px;
    height: 32px;
    /* right: 4px; */
    /* bottom: -4px; */
    left: 55px;
    top: 6px;
}

#floatingModalForm .form-label {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
#floatingModalForm .form-select {
    padding: 10px;
}

#floatingModalForm .btn {
    text-align: center;
    display: inline-block;
    border-radius: 8px;
    padding: 15px 40px;
    background-color: #000000;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;   
    width: 100%;
    margin: auto;
    transition: 0.5s;
    border: none;
}

#floatingModalForm .btn:hover {
    background-color: #03254c;
    color: #fff;
}


.fm-overlay {
    position: fixed;
    width: 100%;
    top: 0;
    bottom: 0;
    background-color: rgba(34, 34, 34, 0.6);
    transition: background-color 400ms ease-out 0ms;
    z-index: 999;
}

.hidden {
    display: none;
}

.noscroll {
    /*position: fixed;*/
    margin: 0;
    height: 100%;
    overflow: hidden;
}


.modal-trigger {
    padding: 15px 10px;
    background: #f5f5f5;
    border-radius: 10px;
    display: none;
}

.modal-trigger p::after {
    content: '';
    background: url("../images/modal_icon.svg") no-repeat;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    padding: 5px 15px;
    width: 32px;
    height: 32px;
    right: 4px;
    bottom: -4px;
}

.modal-trigger p {
    margin-bottom: 0;
    font-size: 14px;
    position: relative;
}


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

    .modal-trigger {
        display: block;
    }
}

/* floating modal */