/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

#root,
#__next {
    isolation: isolate;
}



/* Movissimo landing styles */

:root {
    --base-color: #221F4F;
    --primary-color: #006C67;
    --primary-text-color: #C7F9CC;
    --dark-bg-text-color: #FFFFFF;
    --light-bg-color: #FFFFFF;
    --features-color: #B2A6CB;
    --benefits-color: #FFE77D;
    --our-story-color: #C7F9CC;
    --contact-us-color: #57CC99;

    --swiper-pagination-color: var(--base-color);
}

@font-face {
    font-family: "Fixel";
    src: url('/fonts/FixelText-Light.woff2');
    font-weight: 300;
}

@font-face {
    font-family: "Fixel";
    src: url('/fonts/FixelText-Regular.woff2');
    font-weight: 400;
}

@font-face {
    font-family: "Fixel";
    src: url('/fonts/FixelText-Medium.woff2');
    font-weight: 500;
}

@font-face {
    font-family: "Fixel";
    src: url('/fonts/FixelText-Bold.woff2');
    font-weight: 700;
}

body {
    font-family: "Fixel";
    font-weight: 300;
    font-size: 24px;
    line-height: 33px;
    color: var(--base-color);
    overflow-x: hidden;
}

ul {
    list-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}

h1 {
    font-weight: 700;
    font-size: 64px;
    line-height: 88px;
}

h2 {
    font-weight: 400;
    font-size: 48px;
    line-height: 66px;
}

h3 {
    font-weight: 700;
    font-size: 32px;
}

h4 {
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
}

.button {
    border: none;
    background-color: var(--primary-color);
    color: var(--primary-text-color);
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    padding: 9px 43px;
    border-radius: 8px;
}

.button-narrow {
    padding: 4px 43px;
}

.input {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--base-color);

}

.page-content {
    /* display: flex;
    flex-direction: column; */
}

.page-section {
    max-width: 1224px;
    margin: auto;
    display: flex;
    align-items: center;
    position: relative;
}

.bg-container {
    position: absolute;
    pointer-events: none;
}

.bg-image {
    max-width: none;
}

.header-container {
    background-color: var(--base-color);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    color: var(--dark-bg-text-color);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
}

.hamburger-button {
    padding: 10px;
    background-color: transparent;
}

.header-logo {
    background-image: url("/img/logo.svg");
    background-repeat: no-repeat;
    background-position: center;
    width: 180px;
    height: 48px;
    margin-bottom: 5px;
}

.header-logo a {
    display: block;
    height: 100%;
}

.header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    padding: 13px 0;
    margin: 0 90px 0 70px;
    line-height: 28px;
    max-width: 1224px;
}

.header-menu li {
    padding: 4px 0;
}

.login-button {
    margin-right: 20px;
}

.hero {
    padding: 150px 0 174px;
}

.hero-bg {
    top: 18px;
    left: -43px;
}

.hero-content {
    z-index: 1;
    max-width: 640px;
    margin-right: 95px;
}

.hero-heading {
    margin-top: 52px;
    margin-bottom: 40px;
}

.hero-button {
    margin-top: 20px;
}

.hero-image {
    z-index: 1;
    width: 496px;
}

.features-section-container {
    background-color: var(--features-color);
    padding-bottom: 56px;
}

.features {
    padding: 60px 0 56px;
}

.features-content {
    width: 458px;
    min-height: 556px;
    margin-right: 62px;
    flex-shrink: 0;
}

.features-heading {
    margin-bottom: 28px;
}

.features-slides {
    flex-grow: 0;
    max-width: 800px;
}

.features-item {
    width: 672px;
    height: 440px;
}


/* TODO these are temp colors for dev */
.features-item-start {
    background-color: #e6c5c5;
}

.features-item-crm {
    background-color: #c7dcc5;
}

.features-item-cabinet {
    background-color: #bac1e1;
}

.features-item-administration {
    background-color: #e1d9ba;
}


.features-indicator {
    position: relative;
    z-index: 3;
    background-image: url("/img/features-items-line.svg");
    background-repeat: repeat-x;
    background-position-y: 10px;
}

.features-indicator-list {
    margin: auto;
    display: flex;
    justify-content: space-around;
    max-width: 1224px;
}

.features-indicator-list li {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-indicator-list li.selected {
    font-weight: 500;
}

.features-indicator-circle {
    background-image: url("/img/features-items-circle.svg");
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
}

.selected .features-indicator-circle {
    background-image: url("/img/features-items-circle-selected.svg");
}

.features-list-compact {
    display: none;
}

.plans {
    padding: 219px 0 210px;
    justify-content: center;
}

.plans-bg {
    top: -68px;
    left: -123px;
}

.plans-list {
    display: flex;
    z-index: 1;
}

.plan {
    box-shadow: 0px 2px 6px 0px #00000040;
    display: flex;
    flex-direction: column;
    background-color: var(--light-bg-color);
}

.plan:nth-of-type(even) {
    border: 2px solid var(--base-color);
    border-width: 0 2px;
}

.plan-brief {
    padding: 26px 45px 45px 45px;
}

.plan-brief .plan-heading {
    margin-bottom: 23px;
}

.plan-description {
    padding: 30px 45px 55px 45px;
    background-image: linear-gradient(var(--features-color), var(--benefits-color));
}

.plan-description .plan-heading {
    margin-bottom: 43px;
}

.plan-button {
    margin: 40px 48px;
}


/* beta-benefits component */

.beta-benefits-section-container {
    background-color: var(--benefits-color);
}

.beta-benefits {
    padding: 69px 0 66px;
}

.beta-benefits-plan-image {
    height: 197px;
    background-color: #535353;
    /* TODO: remove when image is set */
}

.beta-benefits-plan-price {
    padding: 11px 0;
    background-color: var(--base-color);
    color: var(--dark-bg-text-color);
    text-align: center;
}

.beta-benefits-plan-price h1 {
    line-height: 1em;
}

.beta-benefits-plan-info {
    padding: 34px 46px 43px;
}

.beta-benefits-plan-info h3 {
    text-align: center;
}

.beta-benefits-plan-info p {
    margin: 24px 0 48px;
}

.beta-benefits-plan-info ul {
    list-style: disc;
    padding-left: 35px;
}

.beta-benefits-content {
    max-width: 719px;
    margin-left: 62px;
}

.beta-benefits-content ul {
    list-style: disc;
    padding-left: 35px;
}

.beta-benefits-heading {
    margin: 0 0 28px -9px;
}



/* join-us component */

.join-us {
    padding: 145px 0;
}

.join-us p {
    margin-bottom: 32px;
}

.join-us p:last-of-type {
    margin-bottom: 0;
}


.join-us-bg {
    top: -76px;
    left: -74px;
}

.join-us-content {
    max-width: 577px;
    margin-left: 68px;
}

.join-us-heading {
    margin-bottom: 18px;
}

.join-us-form {
    display: flex;
    flex-direction: column;
}

.join-us-icon {
    width: 64px;
    height: 64px;
    margin: 52px auto;
}

.join-us-button {
    margin-top: 23px;
}

.join-us-image {
    z-index: 2;
    width: 579px;
    height: 599px;
    border-radius: 3px;
    border: 1px solid var(--base-color);
    background: #FFFFFF;
    /* TODO: remove when image is set */
    box-shadow: -2px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

/* our-story component */

.our-story-section-container {
    background-color: var(--our-story-color);
    padding: 58px 0;
}

.our-story {
    padding: 18px 0;
    max-width: 1251px;
}

.our-story p {
    margin-bottom: 32px;
}

.our-story p:last-of-type {
    margin-bottom: 0;
}

.our-story-bg {
    top: -121px;
    left: -49px;
}

.our-story-content {
    max-width: 1190px;
    text-align: center;
    margin: 0 auto;
}

.our-story-heading {
    margin: 9px 0 18px;
}

.our-story-image {
    z-index: 2;
    width: 184px;
    height: 184px;
    background-color: #535353;
    /* TODO: remove when image is set */
    border-radius: 105px;
    margin: 0 auto;
}


/* faq component */

.faq {
    padding: 80px 0;
}

.faq h4 {
    font-weight: 500;
    cursor: pointer;
}

.faq-heading {
    margin-bottom: 57px;
}

.faq-item {
    margin-bottom: 24px;
}

.faq-item-question {
    padding-left: 40px;
    background-image: url("/img/arrow-down.svg");
    background-repeat: no-repeat;
}

.faq-item-question.expanded {
    background-image: url("/img/arrow-up.svg");
}

.faq-item-answer {
    margin: 16px 0 24px 24px;
    padding: 20px 30px 53px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    background-color: var(--light-bg-color);
}


/* contact-us component */

.contact-us-section-container {
    background-color: var(--contact-us-color);
    padding: 93px 0 179px;
}

.contact-us {
    max-width: 1246px;
}

.contact-us-content {
    width: 100%;
    z-index: 1;
}

.contact-us-heading {
    margin-bottom: 52px;
}

.contact-us-cta-container {
    display: flex;
    justify-content: space-between;
}

.contact-us-cta {
    flex: 0 1 50%;
    margin-right: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    border: 2px solid var(--base-color);
    padding: 50px 50px 50px 30px;
}

.contact-us-button {
    flex: 0 1 50%;
    border-radius: 6px;
    border: none;
    background: var(--benefits-color);
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='6' ry='6' stroke='%23221F4FFF' stroke-width='4' stroke-dasharray='30%2c 25' stroke-dashoffset='25' stroke-linecap='round'/%3e%3c/svg%3e");
    font-weight: 500;
    font-size: 32px;
}

.contact-us-bg {
    top: -151px;
    left: -46px;
}


/* footer */

.footer {
    background-color: var(--base-color);
    height: 253px;
}

/* responsive adjustments */

.bg-image {
    display: none;
}

.only-xs,
.only-sm,
.only-md,
.only-lg,
.only-xl {
    display: none;
}

/* xs - Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .only-xs {
        display: block;
    }

    body {
        font-size: 16px;
        line-height: 22px;
    }

    h1 {
        font-size: 48px;
        line-height: 66px;
    }

    h2 {
        font-size: 32px;
        line-height: 44px;
    }

    h3 {
        font-size: 18px;
        line-height: 25px;
    }

    .bg-container {
        width: 100%;
        left: 0;
        top: 0;
    }

    .bg-container img {
        /* width: 100%; */
        margin: 0 auto;
    }

    .page-section {
        flex-direction: column-reverse;
    }

    .header-menu {
        display: none;
    }

    .login-button {
        padding: 3px 14px;
        font-size: 12px;
        line-height: 18px;
        border-radius: 4px;
    }

    .hero {
        padding: 43px 30px;
        text-align: center;
        font-size: 20px;
        line-height: 26px;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 300px;
    }

    .hero-image {
        display: none;
    }

    .features,
    .features-section-container {
        padding: 0;
    }

    .features-slides {
        /* TODO: temporarily hidden for development */
        display: none;
    }

    .features-content,
    .features-indicator {
        display: none;
    }

    .features-list-compact {
        position: relative;
        z-index: 1;
        display: block;
        text-align: center;
        padding: 0 30px 30px 30px;
    }

    .features-list-compact h2 {
        margin: 21px 0 14px;
    }

    .features-item {
        width: 100%;
        height: 255px;
    }

    .plans-list {
        display: none;
    }

    .plans {
        padding: 44px 0 80px;
    }

    .plans-bg {
        top: -30px;
    }

    .plans-swiper {
        width: 90vw;
        /* width: 330px; */
    }

    .plan {
        margin: 10px 10px 40px 10px
    }

    .plan-brief,
    .plan-description {
        padding: 27px;
    }

    .plan-button {
        margin: 19px 27px;
    }

    .beta-benefits {
        padding: 39px 0 0 0;
    }

    .beta-benefits .plan {
        margin: 0;
    }

    .beta-benefits-content {
        margin: 0 30px 40px;
    }

    .beta-benefits-content h2 {
        text-align: center;
        margin-bottom: 22px;
    }

    .beta-benefits-content li {
        margin-top: 20px;
    }

    .beta-benefits-heading {
        margin: 0;
    }

    .join-us {
        display: none;
    }

    .our-story-section-container,
    .our-story {
        padding: 0;
    }

    .our-story-content {
        position: relative;
        z-index: 1;
        padding: 63px 35px;
        max-width: 360px;
        margin: 0 auto;
    }


    .our-story-heading {
        margin-top: 25px;
    }

    .our-story-image {
        width: 96px;
        height: 96px;
    }

    .faq {
        padding: 159px 25px;
    }

    .faq h2 {
        font-size: 20px;
        line-height: 28px;
        font-weight: 700;
        margin-bottom: 22px;
    }

    .faq h4 {
        font-size: 16px;
        line-height: 22px;
        font-weight: 600;
    }

    .faq-item-answer {
        margin: 9px 0 0 0;
        padding: 20px 30px 16px 39px;
    }

    .contact-us-section-container {
        padding: 0;
    }

    .contact-us-content {
        padding: 44px 36px 71px;
    }

    .contact-us-bg {
        top: -125px
    }

    .contact-us-heading {
        margin: 0 auto;
        text-align: center;
        max-width: 300px;
    }

    .contact-us-cta-container {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-us-cta {
        flex-direction: column;
        margin: 24px 0;
        padding: 20px 10px 30px;
    }

    .contact-us-cta-arrow {
        margin-top: 20px;
    }

    .contact-us-cta img {
        transform: rotate(90deg);
        width: 47px;
    }

    .contact-us-button {
        font-size: 16px;
        line-height: 22px;
        font-weight: 300;
        padding: 21px 0;
    }

}

/* sm - Small Devices, Tablets */
@media only screen and (min-width : 481px) and (max-width : 768px) {
    .only-sm {
        display: block;
    }

    .hero {
        padding: 46px 0 42px;
    }

    .hero-heading {
        margin-top: 10px;
    }

    .hero-image {
        margin-bottom: 42px;
        width: 100%;
        max-width: 640px;
    }

    .plans-list {
        max-width: 720px;
    }

    .plan-brief {
        padding: 28px 31px 38px;
    }

    .plan-description {
        padding: 31px 31px 72px;
    }

    .plan-button {
        padding: 5px 33px;
        margin: 42px auto 57px;
    }
}

/* md - Medium Devices, Desktops */
@media only screen and (min-width : 769px) and (max-width : 1024px) {
    .only-md {
        display: block;
    }


    .hero {
        padding: 52px 0 76px;
    }

    .hero-heading {
        margin-top: 20px;
    }

    .hero-image {
        margin-bottom: 48px;
        width: 100%;
        max-width: 700px;
    }

    .hero-content {
        max-width: 700px;
    }

    .plans-bg {
        left: -20px;
        top: -60px;
    }

    .plans-list {
        max-width: 920px;
    }

    .plan-brief {
        padding: 35px 35px 61px;
    }

    .plan-description {
        padding: 40px 35px 78px;
    }

    .plan-button {
        margin: 53px auto 72px;
    }
}

/* lg - Large Devices */
@media only screen and (min-width : 1025px) and (max-width : 1920px) {
    .only-lg {
        display: block;
    }
}

/* xl - Wide Screens */
@media only screen and (min-width : 1921px) {
    .only-xl {
        display: block;
    }
}

/* sm, md - Tablets and Medium */
@media only screen and (min-width : 481px) and (max-width : 1024px) {
    body {
        font-size: 20px;
        line-height: 27px;
    }

    h3 {
        font-size: 26px;
        line-height: 36px;
    }

    .hero-content {
        margin: 0;
    }   

    .features {
        overflow: hidden;
    }

    .features-content {
        margin: 55px 0 0 0;
        width: 656px;
        min-height: 450px;
    }


}

/* xs, sm, md - Phones and Tablets */
@media only screen and (max-width : 1024px) {
    .header {
        margin-left: 20px;
    }

    .header-menu {
        margin-left: 30px;
    }

    .header-logo {
        background-image: url('/img/logo-compact.svg');
        width: 44px;
        height: 44px;
        margin: 0;
    }

}


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

    .hero,
    .features {
        flex-direction: column-reverse;
    }
}