﻿/* ---------------------------------------
   0) Global safety: prevent overflow issues
---------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}

.landing-container {
    width: 100%;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 70px; /* set to your nav height */
    justify-content: center;
}

/* Optional: smoother anchors with fixed nav */
html {
    scroll-behavior: smooth;
}

/* ---------------------------------------
   1) NAV (mobile-first)
---------------------------------------- */
.top-landing-nav {
    position: sticky; /* or fixed if you prefer */
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: white;
    border-bottom: 1px solid #eee;
    height: 60px;
    box-shadow: rgba(33, 37, 41, 0.1) 0px 0px 32px 0px;
}

/* logo sizing on mobile */
#dynamic-far-logo {
    height: 22px;
    width: auto;
}

/* hamburger visible on mobile */
.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* menu hidden by default on mobile */
.landing-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    background: white;
    border-bottom: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* when you add .open on nav via JS, show it */
.top-landing-nav.open .landing-menu {
    display: block;
}

.top-landing-middle,
.top-landing-right {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .top-landing-middle a,
    .top-landing-right a {
        display: flex;
        text-decoration: none;
        color: #222222;
        justify-content: center;
        padding: 0.75rem 0.5rem;
        min-height: 44px;
        align-items: center;
    }

/* Make demo button feel like a primary CTA on mobile */
#demo-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* ---------------------------------------
   2) Page spacing + typography
---------------------------------------- */
.main-landing section {
    padding: 2rem 0rem;
    display: flex;
    flex-wrap: wrap;
}

.landing-header {
    text-align: center;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    line-height: 1.15;
    margin: 0.5rem 1rem;
    font-family: "Sansation", sans-serif;
    width: 100%;
    max-width: 690px;
}

.landing-sub-header {
    font-size: clamp(15px, 4vw, 26px);
    margin: 0;
    width: 100%;
    text-align: center;
    font-weight: 400;
}

/* Prevent <br> in hero from making weird spacing on tiny phones */
.landing-home-left h1 br {
    display: none;
}

/* ---------------------------------------
   3) HERO (home section)
---------------------------------------- */
.landing-home {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    background: #F8F8F9;
    background: linear-gradient(181deg,rgba(248, 248, 249, 1) 0%, rgba(216, 229, 242, 1) 100%);
}

#home {
    padding-left: 30px;
    padding-right: 30px;
}

.landing-home-left {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    justify-content: center;
}

.landing-home-left h1 {
    display: flex;
    font-size: clamp(1.9rem, 6vw, 3rem);
    line-height: 1.1;
    margin: 0;
    font-family: "Sansation", sans-serif;
    text-align: center;
    max-width: 750px;
}

    .landing-home-left p:nth-of-type(2) {
        margin: 20px;
        font-size: 1rem;
        line-height: 1.55;
        text-align: center;
        max-width: 700px;
    }
    .landing-home-left p:nth-of-type(1) {
        margin: 0px 60px 0px 60px;
        font-size: 1rem;
        line-height: 1.55;
        text-align: center;
        max-width: 700px;
    }

    /* Hide the manual <br> line breaks in the hero paragraph on mobile */
    .landing-home-left p br {
        display: none;
    }

    .landing-home-left a {
        margin: 1.25rem 60px 0 60px;
        min-height: 40px;
        padding: 0.75rem 1.25rem;
        font-size: clamp(13px, 2vw, 15px);
        background-color: #081847;
        border: none;
        color: white;
        border-radius: 14px;
        align-content: center;
        text-align: center;
    }
.landing-home-right.mobile  {
    display: flex;
}

/* Make hero image not huge on mobile */
.landing-home-right.mobile img {
    width: clamp(300px, 80%, 100%);
    margin: 40px auto;
}
/* Make hero image not huge on mobile */
.landing-home-right.web {
    display: none;
}

/* ---------------------------------------
   4) FEATURES (about section)
---------------------------------------- */
.features-div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.feature {
    width: 76%;
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-content: start;
    flex-wrap: wrap;
    background-color: white;
    border: none;
    box-shadow: rgba(33, 37, 41, 0.1) 0px 0px 54px 0px;
    border-radius: 24px;
    padding: 15px 20px;
    height: fit-content;
}
.feature img {
    height: 130px;
    margin-bottom: 20px;
}
    .feature h4 {
        margin: 0px 0px;
        width: 100%;
        text-align: center;
        font-family: "Sansation", sans-serif;
        font-size: clamp(18px, 3vw, 23px);
    }
    .feature p {
        text-align: center;
    }

/* ---------------------------------------
   5) CLIENT LOGOS
---------------------------------------- */
.landing-clients {
    background-color: #e3eef7;
    height:fit-content;
}
.client-logos {
    display: flex;
    width: 100%;
    height: fit-content;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}
.client-logo-web {
    display: none;
}
    .client-logos img {
        width: clamp(90px,19vw,160px);
    }

/* ---------------------------------------
   6) BENEFITS (convert halves to stacked blocks)
---------------------------------------- */
.landing-benefits {
    background: white;
    justify-content: center;
}

.benefit-divs {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
}

.benefit-divs.web {
display: none;
}

.benefit-div {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    margin-top: 1.5rem;
    justify-content: space-between;
    padding-right: 15px;
}

.benefit-half.left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 19%;
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
}
.benefit-half.right {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    width: 75%;
    padding: 10px 0px;
}

    /* Make number blocks smaller and consistent on mobile */
    .benefit-half.filled {
        background: #F8F8F9;
        background: linear-gradient(181deg,rgba(248, 248, 249, 1) 0%, rgba(216, 229, 242, 1) 100%);
    }

.benefit-header {
    font-family: "Sansation", sans-serif;
    margin: 0;
    width: 100%;
    font-size: clamp(16px, 2.5vw, 20px)
}
.benefit-detail {
    font-size: 15px;
    margin: 0px;
    margin-top: 10px;
}

.benefit-nr {
    font-size: 2rem;
    margin: 0;
    font-family: "Sansation", sans-serif;
    font-weight: 600;
    color: #1F488C;
}

/* ---------------------------------------
   7) CONTACT section (stack left/right)
---------------------------------------- */
.landing-contact {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
#contact {
    padding: 50px;
}

.contact-left, .contact-right {
    width: 100%;
}

/* Form groups: stack the "half" inputs on mobile */
.contact-group {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.contact-left h4 {
    width: 100%;
    font-weight: 400;
    margin: 0;
    margin-bottom: 15px;
    font-size: clamp(15px, 4vw, 24px);
}
.contact-left h2 {
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-family: "Sansation", sans-serif;
}
.contact-left p {
    width: 100%;
    margin: 0;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 23px;
}
.contact-left {
    display: flex;
    flex-wrap: wrap;
}
.contact-right {
    display: flex;
    justify-content: center;
}

.contact-form-group {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 30px;
}
    .contact-form-group input, 
    .contact-form-group textarea {
        min-width: 100% !important;
    }

    .contact-form-group span {
        color: red;
        margin-top: 5px;
        font-size: 13px;
    }

.card-detail,
textarea.card-detail {
    width: 100%;
}

    /* Make textarea usable on mobile */
    textarea.card-detail.message {
        min-height: 140px;
    }

.form {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    background-color: white;
    box-shadow: rgba(33, 37, 41, 0.1) 0px 0px 54px 0px;
    border-radius: 24px;
    align-content: space-between;
}

    .form button {
        cursor: pointer;
        background-color: #081847;
        border: none;
        color: white;
        height: 40px;
        width: 130px;
        margin-top: 20px;
        font-size: 14px;
        border-radius: 10px;
    }
    .form .success-message {
        display: flex;
        padding: 50px;
        flex-wrap: wrap;
        min-height: 320px;
        justify-content: center;
        align-content: center;
    }
    .form .success-message p {
        text-align: center;
    }
        .form .success-message span {
            background-color: #71C77B;
            padding: 5px;
            border-radius: 50%;
            color: white;
            margin: 10px;
        }
.required-note {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
}

    .required-note p {
        margin: 0;
        font-size: 14px;
        font-style: italic;
    }

        .required-note p:first-of-type {
            color: red;
            margin-right: 6px;
        }

.input-header {
    display: flex;
    width: 100%;
    margin-bottom: 14px;
}

    .input-header p {
        color: red;
        margin: 0;
    }

    .input-header h5 {
        margin: 0;
        margin-right: 6px;
        font-size: 14px;
    }

.contact-info {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
    margin-bottom: 12px;
}

    .contact-info span {
        margin-right: 15px;
        font-size: 18px;
    }

    .contact-info span {
        margin-right: 15px;
    }

.card-detail.message {
    min-width: 100% !important;
    min-height: 110px !important;
}

/* ---------------------------------------
   8) FOOTER
---------------------------------------- */
.main-landing-footer {
    padding: 2rem 1rem;
    display: flex;
    align-content: center;
    justify-content: space-between;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    align-content: center;
    border-top: 1px solid #dddddd;
    font-size: 13px;
    color: #666666;
    max-height: 200px;
    font-weight: 300;
}
.main-landing-footer img {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    place-items: center;
    background: #25D366;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* ---------------------------------------
   9) Tablet & Desktop enhancements
---------------------------------------- */
@media (min-width: 740px) {
    .benefit-divs.mobile {
        display: none;
    }
    .benefit-divs.web {
        display: flex;
    }
    .benefit-div {
        width: 100%;
        flex-wrap: nowrap;
        display: flex;
        height: 200px;
    }

    .benefit-half {
        display: flex;
        align-content: center;
        width: 50%;
        flex-wrap: wrap;
        overflow: hidden;
        padding: 60px;
    }

        .benefit-half.filled {
            background: #F8F8F9;
            background: linear-gradient(181deg,rgba(248, 248, 249, 1) 0%, rgba(216, 229, 242, 1) 100%);
            /*background: #0E354A;*/
        }

        .benefit-half.left.filled {
            border-bottom-right-radius: 30px;
            border-top-right-radius: 30px;
        }

        .benefit-half.right.filled {
            border-bottom-left-radius: 30px;
            border-top-left-radius: 30px;
        }

    .benefit-nr {
        font-size: 60px;
        font-weight: 600;
        margin: 20px;
        color: #1F488C;
        font-family: "Sansation", sans-serif;
        /*color: #F8F8F9;*/
    }

    .benefit-half img {
        height: 300%;
        transform: translate(60px);
    }

    .benefit-half.left {
        display: flex;
        align-content: center;
        justify-content: right;
        text-align: right;
        width: 50%;
        flex-wrap: wrap;
    }

    .benefit-half.right {
        display: flex;
        align-content: center;
        width: 50%;
        flex-wrap: wrap;
        padding: clamp(20px, 4vw, 60px);
    }

    .benefit-header {
        margin: 0;
        font-size: clamp(20px, 3vw, 26px);
        height: fit-content;
        margin-bottom: 20px;
        width: 100%;
        font-family: "Sansation", sans-serif;
    }

    .benefit-detail {
        margin: 0;
        font-size: clamp(15px, 2.2vw, 17px);
        height: fit-content;
        width: 400px;
    }
    .contact-group {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    .contact-form-group input {
        min-width: 100% !important;
    }

    .contact-form-group.half {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 48%;
    }
}

@media (min-width: 1000px) {
    /* NAV: show full menu, hide hamburger */
    .nav-toggle {
        display: none;
    }

    .client-logo-web {
        display: block;
    }

    .top-landing-nav {
        height: 70px;
    }

    .landing-menu {
        display: flex;
        width: 66%;
        justify-content: space-between;
        position: static;
        padding: 0;
        box-shadow: none;
        border: 0;
        align-items: center;
        gap: 2rem;
    }

    .top-landing-middle {
        flex-direction: row;
        gap: 1.5rem;
    }

    .top-landing-right {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

        .top-landing-right a {
            cursor: pointer;
        }

    #demo-button {
        width: auto;
        height: 20px;
        align-content: center;
        text-align: center;
        color: white;
        color: #081847;
        border: 1px solid #0E354A;
        background-color: #081847;
        background-color: white;
        border-radius: 10px;
        padding: 10px;
        font-weight: 600;
        font-size: 14px;
        margin-left: 16px;
    }

    #dynamic-far-logo {
        height: 28px;
    }

    /* HERO side-by-side */
    #home {
        flex-wrap: nowrap;
        flex-direction: row;
        height: 700px;
    }

    .landing-home-left,
    .landing-home-right.web {
        width: 50%;
        height: 100%;
        display: flex;
    }

    .landing-home-right.web img {
        width: 100%;
    }

    .landing-home-left {
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        padding-left: 10%;
    }

        .landing-home-left h1 {
            width: 100%;
            font-family: "Sansation", sans-serif;
            font-size: clamp(2.5rem, 3vw, 4rem);
            margin: 0px;
            margin-bottom: 40px;
            color: #e9e9e9;
            color: #081847;
        }

        .landing-home-left p {
            width: 100%;
            font-size: 18px;
            line-height: 30px;
            color: #e9e9e9;
            color: #081847;
            margin-bottom: 40px;
        }

        .landing-home-left a {
            cursor: pointer;
            background-color: #081847;
            border: none;
            color: white;
            height: 50px;
            width: 150px;
            font-size: 15px;
            border-radius: 14px;
            align-content: center;
            text-align: center;
        }

    .landing-home-right.mobile {
        display: none;
    }

    .landing-home-right.web {
        align-items: center;
        justify-content: start;
    }

        .landing-home-right.web img {
            height: 70%;
        }

    /* FEATURES 2 columns on tablet */
    .features-div {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* BENEFITS: 2 columns on tablet+ */
    .benefit-div {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    /* CONTACT: side-by-side */
    .landing-contact {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-left, .contact-right {
        flex: 1;
    }

    /* Form halves side-by-side */
    .contact-group {
        grid-template-columns: 1fr 1fr;
    }

    .landing-header {
        font-family: "Sansation", sans-serif;
        width: 100%;
        max-width: 690px;
        font-size: 50px;
        margin-bottom: 30px;
    }
    .features-div {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        margin-bottom: 30px;
        padding: 0px 40px;
    }

    .feature {
        display: flex;
        box-sizing: border-box;
        padding: clamp(16px, 25px, 35px);
        justify-content: center;
        flex-wrap: wrap;
        background-color: white;
        width: clamp(200px, 340px, 340px);
        height: 100%;
        border: none;
        box-shadow: rgba(33, 37, 41, 0.1) 0px 0px 54px 0px;
        border-radius: 24px;
        margin-left: clamp(15px, 1.5vw, 35px);
        margin-right: clamp(15px, 1.5vw, 35px);
    }

        .feature:hover {
            box-shadow: rgba(33, 37, 41, 0.2) 0px 0px 54px 0px;
            transform: scale(1.01);
        }

        .feature h4 {
            font-size: 23px;
            text-align: center;
            margin: 0;
            margin-bottom: 25px;
            font-family: "Sansation", sans-serif;
        }

        .feature p {
            font-size: 17px;
            text-align: center;
            margin: 0;
        }

    .landing-contact {
        display: flex;
        flex-wrap: nowrap;
        padding-top: 60px;
        padding-bottom: 60px;
        width: 100%;
    }

    .contact-form-group {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 100%;
        height: fit-content;
    }

        .contact-form-group input {
            min-width: 100% !important;
        }

        .contact-form-group.half {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            width: 48%;
        }

    .contact-group {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .contact-left,
    .contact-right {
        display: flex;
        height: 100%;
        justify-content: center;
    }

    #contact.contact-left {
        box-sizing: border-box;
        width: 50% !important;
        padding-left: 250px;
        padding-right: 100px;
        padding-top: 55px;
        flex-wrap: wrap;
        align-content: start;
    }

    #contact.contact-right {
        flex-wrap: wrap;
        width: 50% !important;
        align-content: start;
    }

    .form {
        width: 70%;
        min-width: 520px;
    }
    .contact-left h4 {
        width: 70%;
        min-width: 520px;
        font-size: 28px !important;
        margin: 0;
        margin-bottom: 20px;
    }
    .contact-left h2 {
        width: 70%;
        min-width: 520px;
        font-size: 50px;
        margin: 0;
        margin-bottom: 40px;
    }

    .contact-left p {
        width: 70%;
        min-width: 520px;
        font-size: clamp(15px, 2.2vw, 17px);
        margin: 0;
        margin-bottom: 40px;
        line-height: 23px;
    }
    .contact-info {
        width: 70%;
        min-width: 520px;
    }
}

@media (min-width: 1190px) {
    .landing-contact {
        display: flex;
        flex-wrap: nowrap;
        padding-top: 60px;
        padding-bottom: 60px;
        width: 100%;
    }

    .contact-form-group {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 100%;
        height: fit-content;
    }

        .contact-form-group input {
            min-width: 100% !important;
        }

        .contact-form-group.half {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            width: 48%;
        }

    .contact-group {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .contact-left,
    .contact-right {
        display: flex;
        height: 100%;
        justify-content: center;
    }

    #contact.contact-left {
        box-sizing: border-box;
        width: 50% !important;
        padding-left: 250px;
        padding-right: 100px;
        padding-top: 55px;
        flex-wrap: wrap;
        align-content: start;
        justify-content: right;
    }

    #contact.contact-right {
        flex-wrap: wrap;
        width: 50% !important;
        align-content: start;
    }

    .contact-right {
        justify-content: flex-start;
    }

    .contact-left {
        justify-content: flex-end;
    }

    .form {
        width: 70%;
        min-width: 520px;
    }

    .contact-left h4 {
        width: 70%;
        min-width: 520px;
        margin: 0;
        margin-bottom: 20px;
    }

    .contact-left h2 {
        width: 70%;
        min-width: 520px;
        font-size: 50px;
        margin: 0;
        margin-bottom: 40px;
    }

    .contact-left p {
        width: 70%;
        min-width: 520px;
        font-size: 17px;
        margin: 0;
        margin-bottom: 40px;
        line-height: 23px;
    }

    .contact-info {
        width: 70%;
        min-width: 520px;
    }
}
