/* global */



html,body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

:root {
    --primary: #91e5e7;
    --primary-dark: #427989;
    --primaryDark: #65b1c2;
    --accent: #faaeb2;
}

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: white;
}

ul {
    list-style: none;
}

canvas {
    pointer-events: none;
}

main {
    position: relative;
}

body {
    scroll-behavior: smooth;
}
.w-container {
    max-width: 100% !important;
    margin: 0 !important;
}
.steps .content .title-container ul {padding-left:0px;}
/* components */


.nav {
    background-color: var(--primary);
    position: fixed;
    z-index: 9;
    top: 0;
    
    padding: 24px;
    width: 100vw;

    display: flex;
    justify-content: space-between;

    height: 100vh;
}

.nav .bg {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: var(--primary);

    transform: translateY(0);
    transition: transform 2s;
}

.nav .bg.out {
    transform: translateY(-100%);
}

.nav .canvas {
    z-index: 99;
    position: relative;
    width: 96px;
    height: 48px;
    margin-left: calc(50vw);
    margin-top: calc(50vh);
    transform: translate(-50%, -50%);

    transition: all 2s;
}

.nav .menu {
    display: none;
    width: 0;
    opacity: 0;

    transition-duration: 800ms;
    transition-delay: 600ms;
}

.nav.compact {
    height: min-content;        
}

.nav.compact .canvas {
    width: 164px;
    margin: 0;
    
    transform: translate(0%, 0%);
}

.nav .menu {
    display: none;
    width: 0;
}

.mobo-nav {
    position: fixed;
    z-index: 8;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    background-color: var(--primary);

    display: flex;
    flex-direction: column;
    row-gap: 64px;
    align-items: center;
    justify-content: center;

    font-size: 32px;
    transform: translateY(-100%);
    
    transition: 600ms;
}

.mobo-nav.in {
    transform: translateY(0);
}

.mobo-nav a {
    font-family: "OctarineLight";
}

.mobo-nav a:hover {
    font-family: "OctarineBold";
}

.hero {
    position: relative;
    margin-top: 16vh;
    padding: 8vw;
    padding-bottom: 0;
}

.hero img[alt=wave] {
    display: block;
    position: absolute;
    width: 100vw;
    height: 196px;
    left: 0;
    bottom: -4px;
    object-fit: cover;
    overflow: hidden;
}

.hero .content {
    position: relative;
}

.hero h1 {
    color: var(--accent);
    font-size: 48px;
    line-height: 54px;
    margin-bottom: 32px;
}

.hero p {
    color: var(--primaryDark);
    font-size: 25px;
    line-height: 32px;
    margin-bottom: 64px;

}

.hero a {
    padding: 24px 32px;
    border-radius: 16px;
    background-color: var(--accent);
    margin: 24px 0;
}

.hero .canvas {
    margin-top: calc(24px + 32px);
}

.invest {
    background-color: var(--primary);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 96px 64px;

    text-align: center;
}

.invest .mobo {
    display: none;
}

.invest h1 {
    color: var(--primary-dark);
    font-size: 55px;
    line-height: 60px;
    margin-bottom: 24px;
}

.invest p {
    color: white;
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 32px;
}
.security .content p {
    color: #fff;
}

.invest .card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    background-color: white;
    color: var(--primaryDark);
    padding: 24px 32px;
    border-radius: 16px;
    width: calc(100% - 64px);
    max-width: 512px;
    box-shadow: 2px 4px 4px hsla(0, 0%, 0%, 0.1);
    
    margin-bottom: 32px;
}

.invest .card h2 {
    font-size: 40px;
}

.invest .card img {
    width: 128px;
    height: 128px;
}

.invest a {
    margin-top: 32px;
    font-size: 32px;
}

.invest canvas {
    margin: 0;
}

.features {
    padding: 96px 32px;
    padding-bottom: 64px;
    text-align: center;
}

.features h1 {
    font-size: 40px;
    color: var(--primaryDark);
}

.features p {
    margin-top: 32px;
    margin-bottom: 40px;
    font-size: 24px;
    color: var(--primary-dark);
    
}

.features .card {
    display: block;
    position: relative;
    text-align: left;
    color: white;
    padding: 32px;
    padding-top: 48px;
    border-radius: 32px;
    width: calc(100% - 64px);
    height: auto;
    box-shadow: 2px 4px 4px hsla(0, 0%, 0%, 0.1);
    margin-bottom: 32px;
}

.features .card p{
    font-size: 24px;
    margin: 0;
    margin-bottom: 10px;
    color: white;
}

.features .card h2 {
    font-size: 28px;
    max-width: 80%;
}

.features .card a{
    display: block;
    margin-top: 128px;
    font-size: 18px;
}

.features .card .canvas{
    position: absolute;
    bottom: 32px;
    right: 32px;
}

.features .card img {
    position: absolute;
    bottom: 0;
    right: 20px;
    height: 196px;
}

.security {
    background-color: var(--primaryDark);
    padding: 64px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.security .content {
    width: 60%;
    max-width: 512px;
    color: white;
}

.security .content h1 {
    font-size: 40px;
}

.security .content p{
    font-size: 26px;
    line-height: 35px;
    margin-bottom: 32px;
    margin-top: 32px;
}

.security .content a {
    font-size: 26px;
}

.security .canvas {
    width: 25%;
    margin:  auto;
}

.steps {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 64px 32px;
    color: var(--primary);
    text-align: center;
}

.steps img {
    width: 256px;
    height: auto;
}

.steps .options {
    margin: 32px;
    display: flex;
    justify-content: center;
    column-gap: 40px;
}

.steps .options a {
    font-size: 22px;
    color: hsla(357, 88%, 83%, 0.5);
    transition: color 200ms;
}

.steps .options a.selected {
    color: var(--accent);
}

.steps .content .steps-container {
    height: 28px; /* font's line-height */
    overflow: hidden;
    width: 64px;
    margin: auto;
}

/* steps step no. */
.steps .content .steps-container h4 {
    display: inline;
    float: left;
}

.steps .content .steps-container ul {
    text-align: right;
    padding-left: 16px;

    transition: 250ms;
}

.steps .content .steps-container ul li {
    font-size: 20px;
    line-height: 28px;
}

.steps .content .title-container {
    height: 36px;
    overflow: hidden;
}

.steps .content .title-container ul {
    text-align: center;
    transition-duration: 250ms;
    transition-delay: 200ms;
}

/* steps title */
.steps .content .title-container ul li {
    font-size: 30px;
    line-height: 36px;
    color: var(--accent);
}

.steps .content .steps-container h4 {
    margin: 0;
    color: #91e5e7;
}
.section.footer-section.wf-section {
    display: none;
}
.steps .content .para-container {
    height: calc(4 * 30px); /* maxlines x line-height */
    overflow: hidden;
}

.steps .content .para-container ul {
    text-align: center;
    transition-duration: 250ms;
    transition-delay: 300ms;
}

/* steps paragraph */
.steps .content .para-container ul li {
    font-size: 24px;
    line-height: 30px;
    height: calc(4 * 30px);
    color: var(--primaryDark);
}

.steps h4 {
    font-size: 20px;
    line-height: 28px;
}

.reviews {
    padding: 64px 32px;
    background-color: var(--primary);
}

.reviews h1 {
    color: white;
    text-align: center;
    font-size: 40px;
}

.reviews .carousel {
    width: 100%;
    padding: 48px 0;
    overflow-x: clip;

    display: flex;
    column-gap: 32px;

    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
}

.reviews .carousel::-webkit-scrollbar {
    display: none;
}

.reviews .carousel .card {
    background-color: white;
    border-radius: 16px;
    padding: 32px;
    height: 256px;
    max-width: 256px;

    display: flex;
    flex-direction: column;
}
.para-container ul {
    padding-left: 0;
}
.reviews .carousel .card h3 {
    font-size: 18px;
    color: var(--primary-dark);
}

.reviews .carousel .card p {
    font-size: 16px;
    line-height: 1.6em;
    color: #C4C4C4;
    margin-top: 16px;

    max-width: 256px;
    max-height: 168px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.reviews .carousel .card .stars {
    margin-top: auto;
    display: flex;
    column-gap: 12px;
}

.reviews .carousel .card .stars span {
    display: inline-block;
    height: 24px;
    width: 24px;
    background: url("assets/star.svg");
    background-repeat: no-repeat;
    background-size: contain;
}
.columns-7.early.w-row {
    position: relative;
    z-index: 5;
}
footer img[alt=wave] {
    margin-top: -254px;
}
footer {
    position: relative;
    background-color: var(--primary);
}

footer .fg {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 3;
}

footer img[alt=wave] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
}

footer .pop-up {
    margin: 24px;
    margin-top: 48px;
    padding: 32px;
    box-shadow: 0 0 12px hsla(0, 0%, 0%, 0.1);
    border-radius: 16px;
    text-align: center;
    width: calc(90% - 48);
    background-color: white;
}

footer .pop-up h1 {
    color: var(--accent);
    font-size: 32px;
    line-height: 40px;
}

footer .pop-up p {
    color: var(--primaryDark);
    font-size: 18px;
    line-height: 28px;
    margin-top: 8px;
    margin-bottom: 32px;
}

footer .pop-up input {
    appearance: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 40px;
    border: none;
    border-radius: 10px;
    background-color: hsla(0, 0%, 89.8%, 0.4);
    width: calc(100% - 32px);
    text-align: left;
    padding: 12px 16px;

    transition: all 400ms;
}

footer .pop-up input::placeholder {
    color: lightgray;
}

footer .pop-up input:active,
footer .pop-up input:focus {
    outline: none;
    color: white;
    background-color: var(--accent);
    box-shadow: 0 0 16px pink;
}

footer .pop-up input:active::placeholder,
footer .pop-up input:focus::placeholder {
    color: hsla(0, 0%, 100%, 0.50);
}

footer .pop-up a {
    display: block;
    color: white;
    background-color: var(--accent);
    padding: 24px;
    border-radius: 12px;
    
    margin-top: 16px;
    margin-bottom: 12px;
}

footer .pop-up small {
    margin-top: 16px;
    font-size: 12px;
    line-height: 18px;
    color: #C4C4C4;
}

@keyframes float {
    from {
        transform: translateY(48px);
    }
    to {
        transform: trnaslateY(-16px);
    }
}

footer img[alt=bear_n_cloud] {
    margin: auto;
    margin-bottom: 64px;
    margin-top: 96px;
    width: 80%;
    max-width: 512px;

    animation: float 2s ease-in-out alternate infinite;
}

footer .content {
    color: white;
    padding: 32px;

    display: flex;
    flex-direction: column;
}

footer .content .row {
    margin-top: calc(32px + 32px);
    display: flex;
    flex-direction: row;
    column-gap: 25%;
}

footer .content .col {
    display: flex;
    flex-direction: column;
}

footer .content .contact img {
    width: 80%;
    max-width: 320px;
    height: auto;
}
footer .content .contact h2 {
    font-size: 32px;
    line-height: 40px;

    margin-top: 32px;
    margin-bottom: 16px;
}
footer .content .contact p {
    color: #fff;
    font-size: 20px;
    line-height: 28px;
    max-width: 272px;

    margin-bottom: calc(32px + 32px);
}
footer .content .contact .social {
    display: flex;
    align-items: center;
}
footer .content .contact .social img {
    height: 32px;
    width: 32px;
    margin-left: 32px;
}
footer .content .contact a {
    font-size: 20px;
    background-color: var(--accent) ;
    padding: 24px 32px;
    border-radius: 16px;
}

footer .content .row .col {
    row-gap: 16px;
}

footer .content .row .col h3{
    color:#fff;
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 16px;
}

footer .content .row .col a {
    font-size: 18px;
    max-width: 128px;
}

footer small {
    color: white;
    display: block;
    text-align: center;
    margin: 12px;
}

@media (max-width: 400px) {
    .hero .canvas {
        width: 90%;
        margin-left: auto;
    }
    .invest .card h2 {
        font-size: 1.6em;
    }

    .features .card a {
        font-size: 1em;
    }

    footer img[alt=wave] {
        height: 600px;
        max-height: none;
    }
}

@media (min-width: 800px) {
    /* ? Scrollbar styling */

    body::-webkit-scrollbar {
        width: 12px;
        padding: 2px;
    }

    body::-webkit-scrollbar-track {
        background: transparent;
        padding: 2px;
      }
       
    body::-webkit-scrollbar-thumb {
        background-color: var(--accent);
        width: 8px;
        border-radius: 8px;
    }

    /* hover & scroll animations */
    a {
        display: inline-block;
        transition: 250ms;
    }
    a:hover {
        letter-spacing: 0.08em;
    }
    a:active {
        transform: scale(0.9);
    }
    h1[data-scroll] {
        transition: 400ms;
    }
    h1[data-scroll=out] {
        transform: translateY(64px);
        opacity: 0;
    }
    h1[data-scroll=in] {
        opacity: 1;
        transform: translateY(0);
    }
    p[data-scroll] {
        transition: 400ms;
        transition-delay: 250ms;
    }
    p[data-scroll=out] {
        transform: translateY(64px);
        opacity: 0;
    }
    p[data-scroll=in] {
        opacity: 1;
        transform: translateY(0);
    }
    a[data-scroll] {
        transition: 400ms;
        transition-delay: 600ms;
    }
    a[data-scroll=out] {
        transform: translateY(64px);
        opacity: 0;
    }
    a[data-scroll=in] {
        opacity: 1;
        transform: translateY(0);
    }
    .card[data-scroll] {
        transition: 600ms;
        transition-delay: 500ms;
    }
    .card[data-scroll=out] {
        transform: translateY(64px);
        opacity: 0;
    }
    .card[data-scroll=in] {
        opacity: 1;
        transform: translateY(0);
    }
    .invest .mobo[data-scroll] {
        transition: 400ms;
        transition-delay: 250ms;
    }
    .invest .mobo[data-scroll=out] {
        transform: translateX(64px);
        opacity: 0;
    }
    .invest .mobo[data-scroll=in] {
        opacity: 1;
        transform: translateX(0);
    }
    .pop-up[data-scroll] {
        transition: 400ms;
    }
    .pop-up[data-scroll=out] {
        transform: translateX(64px) scale(0);
    }
    .pop-up[data-scroll=in] {
        transform: translateX(0) scale(1);
    }
    
    

    :root {
        --fullHeight: calc(100vh - 96px);
    }

    /* components */

    .mobo-nav {
        visibility: hidden;
    }

    .nav {
        height: 100vh;
        padding: 32px 64px;
        margin: 0;
        width: 100vw;
    }

    .nav .bg {
        position: absolute;
        z-index: 0;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background-color: var(--primary);

        transform: translateY(0);
        transition: transform 2s;
        transition-timing-function: ease-in-out;
    }

    .nav .bg.out {
        transform: translateY(-100%);
    }

    .nav .canvas {
        z-index: 99;
        position: relative;
        width: 128px;
        height: 40px;
        margin-left: calc(50vw);
        margin-top: calc(50vh);
        transform: translate(-50%, -50%);

        transition: all 2s;
        transition-timing-function: ease-in-out;
    }

    .nav .menu {
        width: 0;
        opacity: 0;

        transition-duration: 800ms;
        transition-delay: 600ms;
        transition-timing-function: ease-in-out;

    }

    .nav.compact {
        height: min-content;        
    }

    .nav.compact .canvas {
        width: 164px;
        margin: 0;
        
        transform: translate(0%, 0%);
    }

    .nav.compact .menu {
        display: block;
        width: auto;
        opacity: 1;
    }

    .nav img.nav-btn {
        display: none;
    }
    .nav .menu {
        visibility: visible;
        display: flex;
        flex-direction: row;
    }
    .nav .menu a {
        font-size: 24px;
        line-height: 28px;
        margin-right: 64px;
    }

    .hero {
        margin: 0;
        padding: 0;
        margin-top: 140px;
        width: 100vw;
        
        overflow: hidden;
    }

    .hero img[alt=wave] {
        height: auto;
        right: 0;
    }

    .hero h1 {
        font-size: 64px;
        line-height: 70px;
    }

    .hero p {
        font-size: 40px;
        line-height: 40px;
    }

    .hero a {
        font-size: 28px;
        padding: 1em 1.2em;
    }

    .hero .content {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: 0;
        padding: 0;
        height: 100%;
        width: 100%;
        overflow: hidden;
    }

    .hero .content .txt {
        width: 40%;
        margin-left: 64px;
    }

    .hero .content .canvas {
        margin-top: 0;
        width: 40%;
        height: 100%;
        max-height: 512px;

        display: flex;
        align-items: center;

        transform: scale(0);
        transition-delay: 1600ms;
        transition: transform 400ms;
    }

    .hero .content .canvas.intial {
        transform: scale(1);
    }

    .invest {
        padding: 96px;
        padding-top: 96px;
        width: 100% ;

        justify-content: space-between;
        align-items: center;
        text-align: left;

        flex-direction: row;
    }

    .invest h1 {
        font-size: 70px;
        line-height: 70px;
    }

    .invest p {
        font-size: 40px;
        line-height: 48px;
    }

    .invest .content {
        width: 65%;
    }

    .invest .mobo {
        display: block;
    } 

    .invest .content .card {
        height: 96px;
        width: 75%;
        padding: 16px 48px;

        margin-bottom: 16px;
    }
    
    .invest .content .card h2 {
        font-size: 48px;
    }

    .invest .content .card img {
        width: 96px;
        height: 96px;
        object-fit: contain;    
    }

    .invest .content .card .canvas {
        height: 96px;
        width: 96px;
    }

    .invest .content a {
        display: block;
        margin-top: 32px;
    }

    .invest .mobo img {
        width: 80%;
        height: auto;
        object-fit: contain;
    }

    .features {
        display: flex;
        justify-content: center;
        column-gap: 32px;
    }

    .features .col {
        width: 40%;
        max-width: 640px;

        text-align: left;
    }

    .features h1 {
        font-size: 56px;
    }

    .features p {
        font-size: 32px;
    }

    .security {
        justify-content: space-between;
    }

    .security .content{
        margin-left: 64px;
        max-width: 60%;
    }

    .security .content h1 {
        font-size: 60px;
        line-height: 70px;
    }

    .security .content p {
        font-size: 36px;
        line-height: 46px;
    }

    .security .canvas {
        width: 20%;
        height: 512px;
    }

    .steps {
        display: flex;
        flex-direction: row;
    }

    .steps .content {
        width: 50%;
        text-align: left;
        padding-left: 64px;
    }

    .steps img {
        width: 25%;
        max-width: 384px;
    }

    .steps .options {
        margin-left: 0;
        justify-content: start;
    }

    .steps .options a {
        font-size: 40px;
    } 

    .steps .content .steps-container {
        height: 36px; /* font's line-height */
        width: 96px;
        margin: 0;
    }
    
    /* steps step no. */
    .steps .content .steps-container h4 {
        font-size: 28px;
        line-height: 30px;
    }
    
    .steps .content .steps-container ul {
        padding: 0;
        text-align: right;
    }
    
    .steps .content .steps-container ul li {
        font-size: 28px;
        line-height: 36px;
        width: 100%;
    }
    
    .steps .content .title-container {
        height: 56px;

        margin-top: 32px;
        margin-bottom: 32px;
    }
    
    .steps .content .title-container ul {
        text-align: left;
    }
    
    /* steps title */
    .steps .content .title-container ul li {
        font-size: 48px;
        line-height: 56px;
    }
    
    .steps .content .para-container {
        height: calc(4 * 46px); /* maxlines x line-height */
    }
    
    .steps .content .para-container ul {
        text-align: left;
    }
    
    /* steps paragraph */
    .steps .content .para-container ul li {
        font-size: 36px;
        line-height: 46px;
        height: calc(4 * 46px);
    }

    .reviews {
    }

    .reviews h1 {
        font-size: 60px;
        margin-bottom: 64px;
    }

    .reviews .carousel {
        position: relative;
        margin: auto;
        width: 80%;

        
    }

    .reviews .carousel .card {
        position: relative;
        padding: 48px;
        height: 384px;
        width: calc(45% - 96px);

        max-width: 512px;
        
    }

    .reviews .carousel .card h3 {
        font-size: 40px;
    }

    .reviews .carousel .card p {
        font-size: 28px;
        line-height: 38px;

        width: 384px;
        max-width: none;

        height: 256px;
        max-height: none;
    }

    .reviews .carousel .card .stars span {
        height: 32px;
        width: 32px;
    }

    footer .pop-up {
        width: 100%;
        max-width: 640px;
        margin: auto;
        margin-top: 128px;
    }

    footer {
        background-color: var(--primary);
    }

    footer .fg {
        flex-direction: column;   
    }

    footer img[alt=wave] {
        max-height: 900px;
        width: 100vw;
        overflow: hidden;
        object-fit: cover;

        transform: scaleX(3);
    }

    footer img[alt=bear_n_cloud] {
        max-width: 640px;
    }

    footer .content {
        display: flex;
        flex-direction: row;
        margin-left: 128px;
        column-gap: 20%;

        align-items: flex-end;
    }

    footer .content .contact img[alt="sugar-logo"] {
        width: 320px;
    }

    footer .content .row {
        column-gap: 96px;
    }
}

@media (min-width: 1400px) {
    .features .card {
        position: relative;
        display: flex;
        flex-direction: column;

        padding: 64px;
        height: calc(512px - 70px);
        width: calc(100% - 20px);
    }

    .features .card p {
        font-size: 32px;
    }

    .features .card h2 {
        font-size: 33px;
    }

    .features .card a {
        display: block;
        margin-top: auto;
        font-size: 24px;
    }

    .features .card .canvas {
        width: 50%;
        height: 50%;
        right: 64px;
        bottom: 64px;
    }

    .features .card img {
        height: 60%;
        width: 60%;
        object-fit: contain;
    }
}
@media (max-width:1200px){
    .reviews .carousel .card p {
    font-size: 17px;
    line-height: 20px;}
    .reviews .carousel .card h3 {
    font-size: 25px;
}
.reviews .carousel .card p {width:100% !important;}
}

@media (max-width:980px){
    footer img[alt=wave] {margin-top: 1;}
    .invest .card h2 {
    font-size: 34px;
    margin: 0;
}
  
    .div-block-5.acess-box {
    margin-left: 6%;
    margin-right: 6%;
}
    
    .features .card, .invest .card{width:100% !important;}
    .invest .card {padding: 0px 32px !important;}
    
    

}