@font-face {
    font-family: 'Montserrat-Regular';
    src: url('assets/fonts/Montserrat-Regular.ttf');
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('assets/fonts/Montserrat-Bold.ttf');
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-Medium';
    src: url('assets/fonts/Montserrat-Medium.ttf');
    font-style: normal;
}

h1 {
    font-family: 'Montserrat-Bold';
    color: #009677 !important;
    font-size: calc(1.375rem + 1.5vw);
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-top: 0;
    margin-top: 30px;
    font-weight: inherit !important;
    text-transform: uppercase;
}

h2 {
    font-family: 'Montserrat-Bold';
    color: #009677 !important;
    font-weight: 500 !important;
    font-size: calc(1.325rem + 0.9vw);
    text-transform: uppercase;
    padding-top: 10px;
    text-align: center;
    margin-bottom: 0px;
}

h3 {
    font-family: 'Montserrat-Medium';
    color: #009677;
    font-weight: 100;
    font-size: calc(1.3rem + 0.6vw);
    text-align: center;
    padding-top: 10px;
}

h4 {
    font-family: 'Montserrat-Medium';
    color: #009677;
    font-weight: 200;
    font-size: calc(1.175rem + 0.2vw);
    padding-top: 10px;
    text-align: center;
    margin-bottom: 0px;
}

p {
    font-family: 'Montserrat-Regular';
    color: #282828;
    font-size: 1rem;
    padding-top: 0;
    text-align: center;
    margin-top: 0;
    text-transform: none;
    font-weight: 400;
    line-height: 1.1;
}

/* Buttons */
.btn-primary {
    color: #ffffff;
    width: 100%;
    font-size: clamp(0.82rem, 3.8vw, 1.1rem);
    margin-top: 20px;
    font-family: 'Montserrat-Medium';
    text-transform: uppercase;
    outline: none;
    border: 0px none;
    border-style: none !important;
    border-radius: 20px;
    background-image: linear-gradient(265deg, rgb(141, 198, 63) 0%, rgb(80, 184, 72) 50%, rgb(0, 150, 119) 99%);
    transition: transform 160ms ease, filter 160ms ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    min-height: 40px;
    padding-left: 12px;
    padding-right: 12px;
    white-space: nowrap;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:hover {
    box-shadow: none !important;
    outline: none;
    color: #ffffff !important;
    border: 0px none;
    border-style: none !important;
    transform: translateY(-1px);
}

.btn-arrow {
    display: inline-flex;
    width: 1em;
    height: 1em;
    align-items: center;
    flex: 0 0 auto;
    justify-content: center;
    line-height: 1;
}

.btn-arrow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 160ms ease;
}

.btn-arrow.is-reversed img {
    transform: rotate(180deg);
}

/* Form related */
.form-check {
    display: flex;
    align-items: baseline;
    flex-direction: row;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

option {
    background-color: #239b78;
    color: #ffffff;
}

select.form-control,
select.form-control:focus,
select.form-control:active {
    font-family: 'Montserrat-Regular'!important;
    font-size: 1em;
    -webkit-appearance: menulist;
    color: #239b78;
    padding-bottom: 1.1vh;
    padding-top: 1.1vh;
    min-height: 4vh;
}

.form-control,
.form-control:focus,
.form-control:active {
    font-family: 'Montserrat-Regular'!important;
    box-shadow: none;
    border: none;
    padding-bottom: 0.8vh;
    margin: 0px;
    color: #239b78;
    border-radius: 0px;
    background-color: #ffffff;
    padding-top: 0.8vh;
    min-height: 4vh;
}

.form-check-input,
.form-check-input:focus {
    background-color: #ffffff;
    border: none;
    outline: 0;
    border-radius: 0px !important;
}

.form-check-input:checked {
    background-color: #239b78;
    border: none;
    box-shadow: none;
}

input::-webkit-calendar-picker-indicator {
    display: none !important;
}

.input-date {
    color: #239b78;
    font-size: 1rem;
    line-height: 2rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
    border: none;
    border-radius: none !important;
    background: #ffffff;
}

.input-date:focus-visible {
    outline: #239b78;
}

label {
    color: #239b78;
    padding: 10px 0px 5px;
    font-family: 'Montserrat-Medium';
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: inherit;
}

.form {
    display: block;
    margin-top: 0em;
}

.form-fill-out {
    padding-left: 5px;
    padding-right: 5px;
}

/* file upload input */
#fileUpload {
    text-transform: lowercase;
    font-family: 'Montserrat-Regular'!important;
    border: none;
    width: 100%;
    min-height: 5vh;
    background-color: #ffffff;
}

::file-selector-button {
    font-family: 'Montserrat-Regular'!important;
    border: none;
    color: #ffffff;
    padding: 1.2vh 2vw;
    border-radius: 0px;
    background-color: #239b78;
    height: 100%;
}

/* placeholder text */
.form-control::placeholder,
.input-date::placeholder {
    font-family: 'Montserrat-Regular' !important;
    color: #C7D9DA;
    opacity: 1;
    font-size: 0.9em;
}

::placeholder {
    font-family: 'Montserrat-Regular' !important;
    color: #C7D9DA;
}

input[type="text"].form-control::-webkit-input-placeholder,
input[type="tel"].input-date::-webkit-input-placeholder {
    font-family: 'Montserrat-Regular' !important;
    color: #C7D9DA;
}

.aria-labelledby {
    color: #C7D9DA;
}

/* header */
.logo-desktop,
.logo-mobile {
    width: 100%;
}

.hero {
    /* display: flex */
    /* justify-content: center */
}

.logo {
    margin-bottom: 5vh;
    display: block;
    margin-top: 8vh;
}

/* Footer section */
.footer-area {
    justify-content: center;
    background-color: #212529;
    padding-top: 15px;
    padding-bottom: 15px;
    display: inline-flex;
}

.footer-links,
.footer-links a {
    color: #ffffff !important;
    text-decoration: none;
    text-align: center;
    font-size: 1rem;
}

/* XS mobile rules */
@media (min-width:0px) and (max-width:400px){
    .body-content {
        min-height: 63vh;
    }

    #desktop {
        visibility: hidden;
        display: none;
    }

    .hero #mobile {
        min-height: 10px;
        max-height: 200px;
        width: 100%;
        padding-top: 20px;
    }

    .career-card-grid {
        gap: 6px;
        max-width: 100%;
    }

    .career-card {
        border-radius: 10px;
        padding: 4px;
    }

    .career-card span {
        font-size: 10px;
    }

    .career-result-hero {
        padding-left: 33px;
        padding-right: 14px;
    }

    .career-avatar {
        flex-basis: 54px;
        height: 54px;
        width: 54px;
    }

    .career-path-list li {
        margin-bottom: 13px;
    }
}

/* Mobile rules */
@media (min-width:400px) and (max-width:767px) {
    .hero #mobile {
        min-height: 100px;
        max-height: 200px;
        width: 100%;
        padding-top:20px;
    }

    .body-content {
        min-height: 63vh;
    }

    #desktop {
        visibility: hidden;
        display: none;
    }

    .career-card-grid {
        gap: 6px;
        max-width: 100%;
    }

    .career-card {
        border-radius: 10px;
        padding: 4px;
    }

    .career-card span {
        font-size: 10px;
    }

    .career-result-hero {
        padding-left: 33px;
        padding-right: 14px;
    }

    .career-avatar {
        flex-basis: 54px;
        height: 54px;
        width: 54px;
    }

    .career-path-list li {
        margin-bottom: 13px;
    }
}

/* Desktop rules */
@media (min-width:768px) {
    #mobile {
        visibility: hidden;
        display: none;
    }

    .body-content {
        min-height: 50vh;
    }

    .ribbon {
        width: 6em !important;
        top: -4px !important;
    }

    .callout {
        width: 40% !important;
        margin-left: 8% !important;
    }

    .layered-bg::after {
        background-image: url('assets/pattern-rounded-bottom-desktop.png')!important;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: contain;
        bottom: 0;
        min-height: 50em;
        z-index: 1;
    }

    .layered-bg {
        --layout-grey-start: clamp(5rem, 30vw, 12rem) !important;
    }

    .age-dial {
        margin-top: 4em !important;
    }
}

/* links */
a {
    color: #ffffff;
    text-decoration: none !important;
}

a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

a:hover,
a:focus,
a:visted,
a:active {
    color: #239b78 !important;
}

/* general layout */
.body-content {
    overflow: hidden;
    display: block;
}

hr {
    margin: 1rem 0;
    color: inherit;
    opacity: 1;
    border-top-width: 2px;
    border-top-color: #ffffff;
    border-left-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
    width: 100%;
}

.row {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

body {
    background-color: #ffffff;
    min-height: 90vh;
}

/* Navigation */
.top-nav {
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.40);
    display: flex;
    position: relative;
    align-items: center;
    flex-wrap: wrap;
    min-height: 2.9em;
    max-height: 3em;
}

.ribbon {
    width: 4.5em;
    height: auto;
    position: absolute;
    top: -3px;
    z-index: 5;
    left: 0;
}

.journey-start {
    background-image: url('assets/mother-and-child-learning-plain.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 300px;
    background-size: cover;
    position: relative;
}

.journey-start::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(184deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.25) 35%, rgba(0, 150, 119, 0.65) 70%, rgb(0, 150, 119) 100%);
    z-index: 1;
    pointer-events: none;
}

.click-start {
    position: absolute;
    text-align: center;
    bottom: 10px;
    z-index: 2;
}

#edu-cap {
    width: 4.9em;
    height: auto;
    margin-bottom: 15px;
}

.callout {
    width: 80%;
    margin-left: 20%;
    padding: 5px 15px 5px 5px;
}

/* age dial */
.age-dial-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

    /* min-height: 100vh 
    padding: 2rem 1rem;
    margin-top: -40%; */
}

/* .age-dial-wrapper::after {
    content: '';
    background-image: url('assets/pattern-rounded-bottom.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    min-height: 300px;
    z-index: 5;
    position: absolute;
    width: 100%;
    bottom: -100%;
} */
.age-dial {
    position: relative;
    width: min(88vw, 420px);
    aspect-ratio: 1/1;
    touch-action: none;
    user-select: none;
    cursor: grab;
    margin-top: 2em;
}

.dial-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.dial-green {
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    background: #8DC63F;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    z-index: 2;
}

.dial-green svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dial-green .indicator {
    position: absolute;
    left: -17.3%;
    top: 50%;
    transform: translateY(-50%);
    background: #8DC63F;
    width: 19%;
    height: 13%;
    border-radius: 10px 0 0 10px;
    z-index: 2;
}

.dial-green .indicator::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border: 7px solid transparent;
    border-left-color: #8DC63F;
}

.dial-numbers {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.dial-numbers .num {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5.6rem;
    height: 3.2rem;
    margin: -1.6rem -2.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #E3E3E3;
    font-size: clamp(1rem, 2.1vw, 0.86rem);
    line-height: 1.05;
    text-align: center;
    transition: color 0.15s ease;
}

.dial-numbers .num.active {
    color: #ffffff;
    font-weight: 700;
}

.dial-numbers .num__range {
    font-family: 'Montserrat-Bold';
    font-size: 1.22em;
}

.dial-numbers .num__stage {
    display: block;
    font-size: 0.82em;
    max-width: 4.9rem;
}

.dial-center {
    position: absolute;
    inset: 25%;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    z-index: 4;
}

.dial-center img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.age-dial.grabbing {
    cursor: grabbing;
}

/* background pattern */
/* reusable layered page background */
.layered-bg {
    --layout-grey: #E3E3E3;
    --layout-grey-start: clamp(9rem, 30vw, 12rem);
    --layout-pattern-height: clamp(0rem, 0vw, 0rem);
    --layout-top-radius: clamp(12rem, 50vw, 34rem);
    background: #fefefe;
    isolation: isolate;
    min-height: clamp(520px, 115vw, 780px);
    overflow: hidden;
    position: relative;
}

.layered-bg::before,
.layered-bg::after {
    content: "";
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.layered-bg::before {
    background: var(--layout-grey);
    border-bottom-right-radius: var(--layout-bottom-radius);
    border-top-left-radius: var(--layout-top-radius);
    bottom: calc(var(--layout-pattern-height) * 0.28);
    top: var(--layout-grey-start);
    z-index: 0;
}

.layered-bg::after {
    background-image: url('assets/pattern-rounded-bottom.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 0;

    /* height: var(--layout-pattern-height); */
    height: 50em;
    z-index: 1;
}

.layered-bg > .container-fluid {
    position: relative;
    z-index: 2;
}

.layered-bg__intro {
    padding: clamp(.9rem, 4vw, 1.8rem) 0 clamp(1.7rem, 2.5vw, 1.4rem);
}

.layered-bg__intro h2 {
    /* font-size: clamp(1.05rem, 4.8vw, 1.65rem) */
    line-height: 1.05;
    margin-top: 0;
}

.layered-bg__intro p {
    font-size: clamp(0.8rem, 2.5vw, 0.95rem);

    /* line-height: 1.15 */
    margin: 0 auto;
    max-width: 520px;
}

.layered-bg__footer {
    padding: 0 0 clamp(2.5rem, 13vw, 5.5rem);
}

.layered-bg__footer .btn-primary {
    margin-top: 0;
}

/* pattern end */
.heading-wrapper {
    background-color: #009677;
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: center;
    width: 100%;
}

#heading {
    color: #ffffff !important;
    font-family: 'Montserrat-Bold';
    font-weight: inherit !important;
    text-transform: uppercase;
}

/* character cards */
.career-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

.career-card {
    aspect-ratio: 1 / 1.2;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #212529;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.career-card:hover,
.career-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.2);
}

.career-card.is-active {
    transform: scale(1.06);
    z-index: 2;
}

.career-card.is-selected {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    z-index: 2;
    border: 2px solid #8DC63F;
}

.career-card__image {
    width: 85%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.career-card span {
    font-size: 11px;
    line-height: 1.05;
    font-weight: 500;
    text-align: center;
    color: #212529;
}

.info-message {
    background-color: #ffffff;
    border-radius: 20px;
    border: 2px dashed #009677;
    margin-top: 30px;
    text-align: center;
    padding: 5px;
}

.info-message span {
    font-family: 'Montserrat-Regular';
    color: #009677;
    font-weight: normal;
    font-size: 1.1rem;
    text-align: center;
}

.career-result-hero__inner {
    display: flex;
    gap: 14px;
    margin: 0 auto;
    max-width: 620px;
    align-items: center;
    justify-content: center;
}

.career-avatar {
    align-items: center;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    flex: 0 0 60px;
    height: 60px;
    justify-content: center;
    overflow: hidden;
    width: 60px;
}

.career-avatar img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.career-result-hero__copy {
    min-width: 0;
}

.career-result-hero__copy h1 {
    color: #ffffff !important;
    font-size: clamp(1.25rem, 5vw, 1.7rem);
    line-height: 0.95;
    margin: 0 !important;
    padding: 0;
    text-align: left;
}

.career-result-hero__rule {
    background: #ffffff;
    display: block;
    height: 2px;
    margin: 4px 0 4px;
    max-width: 150px;
    width: 100%;
}

.career-result-hero__copy p {
    color: #ffffff;
    font-family: 'Montserrat-Bold';
    font-size: clamp(0.62rem, 2.6vw, 0.82rem);
    line-height: 1.1;
    margin: 0;
    padding: 0;
    text-align: left;
    text-transform: uppercase;
}

.career-result-hero__copy p span {
    display: block;
    font-family: 'Montserrat-Regular';
    font-size: 0.72em;
}

.career-result-hero__copy strong {
    font-weight: inherit;
}

.career-path-bg {
    background: #ffffff;
    isolation: isolate;
    overflow: hidden;
    position: relative;
}

.career-path-bg::before {
    background: #e3e3e3;
    border-top-left-radius: clamp(10rem, 70vw, 34rem);
    bottom: 0;
    content: "";
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: clamp(7.2rem, 31vw, 10rem);
    z-index: 0;
}

.career-path-content {
    padding-bottom: clamp(1.7rem, 7vw, 2.8rem);
    padding-top: clamp(1.4rem, 6vw, 2.4rem);
    position: relative;
    z-index: 1;
}

.future-path-label {
    background-image: linear-gradient(265deg, rgb(141, 198, 63) 0%, rgb(80, 184, 72) 50%, rgb(0, 150, 119) 99%);
    font-family: 'Montserrat-Bold';
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    margin: 0 0 16px;
    padding: 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.career-path-list {
    counter-reset: path-step;
    list-style: none;
    margin: 0 auto;
    max-width: 610px;
    padding: 0;
    position: relative;
}

.career-path-list::before {
    background: #8DC63F;
    bottom: 15px;
    content: "";
    left: 50%;
    position: absolute;
    top: 15px;
    transform: translateX(-50%);
    width: 4px;
    z-index: 0;
}

.career-path-list li {
    background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(90deg, #009677, #8DC63F) border-box;
    border: 3px solid transparent;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    color: #009677;
    font-family: 'Montserrat-Regular';
    font-size: clamp(0.72rem, 3vw, 0.95rem);
    line-height: 1.15;
    margin: 0 auto 16px;
    padding: 8px 14px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.career-path-list li:last-child {
    margin-bottom: 0;
}

.career-path-message {
    background: #ffffff;
    border-radius: 18px;
    color: #777777;
    font-family: 'Montserrat-Regular';
    font-size: clamp(0.72rem, 3vw, 0.92rem);
    line-height: 1.15;
    margin: clamp(1.8rem, 7vw, 2.8rem) auto 0;
    max-width: 610px;
    padding: clamp(1rem, 4vw, 1.45rem) clamp(1.1rem, 6vw, 2.2rem);
    text-align: center;
}

.timeline-teaser {
    background: #ffffff;
    padding: clamp(1rem, 5vw, 1.6rem) 0 clamp(1.6rem, 6vw, 2.3rem);
    isolation: isolate;
    overflow: hidden;
    position: relative;
}

.timeline-teaser>.container-fluid {
    position: relative;
    z-index: 1;
}

.timeline-teaser::after {
    content: "";
    height: 50em;
    background-image: url('assets/pattern-rounded-bottom-grey.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.timeline-teaser.is-expanded::after {
    opacity: 1;
}

/* Desktop rules */
@media (min-width:768px) {
    .timeline-teaser::after {
        height: 50em;
        background-image: url('assets/pattern-rounded-bottom-desktop-grey.png') !important;
        background-size: contain;
    }
}

@media (max-width:460px) {
    .career-result-hero__inner {
        display: flex;
        gap: 14px;
        margin: 0 auto;
        max-width: 350px;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 461px) and (max-width: 621px) {
    .career-result-hero__inner {
        display: flex;
        gap: 14px;
        margin: 0 auto;
        max-width: 550px;
        align-items: center;
        justify-content: center;
    }
}

.timeline-teaser strong {
    font-family: 'Montserrat-Bold';
}

.timeline-panel {
    margin-top: 22px;
}

.timeline-panel__rule {
    border-top: 3px dashed #009677;
    margin: 0 0 18px;
}

.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-list li {
    background: #f7f7f7;
    border-left: 5px solid #8DC63F;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px 14px;
    text-align: left;
}

.timeline-list span {
    color: #009677;
    display: block;
    font-family: 'Montserrat-Bold';
    font-size: 0.72rem;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.timeline-list strong {
    color: #4a4a4a;
    display: block;
    font-family: 'Montserrat-Regular';
    font-size: 0.86rem;
    line-height: 1.25;
}

.years-left-card {
    background: #ffffff;
    border-radius: 1.2rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    margin: 0 auto;
    max-width: 590px;
    overflow: hidden;
}

.years-left-card__header {
    align-items: baseline;
    background: #239b78;
    color: #ffffff;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 12px 18px 10px;
    text-transform: uppercase;
}

.years-left-card__header span {
    font-family: 'Montserrat-Regular';
    font-size: clamp(0.95rem, 4vw, 1.45rem);
    line-height: 1;
}

.years-left-card__header strong {
    font-family: 'Montserrat-Bold';
    font-size: clamp(2rem, 9vw, 3.5rem);
    line-height: 0.95;
}

.years-left-card__body {
    padding: clamp(1rem, 5vw, 1.8rem) clamp(1.2rem, 7vw, 2.6rem) clamp(1.3rem, 6vw, 2rem);
    text-align: center;
}

.years-left-card__body p {
    color: #4a4a4a;
    font-size: clamp(0.74rem, 3vw, 0.95rem);
    line-height: 1.12;
    margin: 0 0 14px;
    padding: 0;
}

.years-left-card__body p strong {
    color: #2e2e2e;
    font-family: 'Montserrat-Bold';
}

.timeline-start-button {
    font-size: clamp(0.86rem, 3.6vw, 1.1rem);
    margin: 8px auto 0;
    max-width: 360px;
    min-height: 44px;
    white-space: nowrap;
}

.timeline-teaser .btn-primary:active,
.timeline-teaser .btn-primary:focus,
.timeline-teaser .btn-primary:focus-visible,
.timeline-teaser .btn-primary:hover {
    color: #ffffff;
}

/* modal styling */
.modal {
    z-index: 1055 !important;
}

.modal-backdrop.show {
    z-index: 1050 !important;
}

.modal-title {
    font-family: "Montserrat-Light";
    text-transform: uppercase;
    line-height: 25px;
    padding: 0;
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    padding: 0.5em;
    border: none;
    columns: 2;
}

#howItWorksModal .gradient-slide,
#thankYouModal .gradient-slide {
    border-radius: 1.2rem;
    border-width: 0;
    overflow: hidden;
    padding: 0em;
    background: #ffffff;
}

/* Carousel indicators (dots) styling */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #E3E3E3;
    opacity: 1;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #009677;
}

.modal-content {
    border: none;
    padding: 1em;
}

.modal-body {
    padding: 0;
    padding: 1em;
}

/* modal controls */
.carousel-control-prev {
    right: 3em;
    left: auto;
    bottom: 0;
}

.carousel-control-prev,
.carousel-control-next {
    display: flex;
    align-items: flex-end;
    top: auto;
}

.carousel-control-prev-icon {
    background-image: url('assets/general-icons/arrow-left-black.svg');
    height: 1.5em;
    width: 100%;
}

.carousel-control-next-icon {
    background-image: url('assets/general-icons/arrow-right-black.svg');
    height: 1.5em;
    width: 100%;
}

#howItWorksModal .btn-close,
#thankYouModal .btn-close {
    background-image: url('assets/general-icons/close-black.svg');
    opacity: 1;
}

#howItWorksModal .btn-close,
#thankYouModal .btn-close:focus {
    box-shadow: none;
}

.modal-footer {
    background-color: #282828;
}

.modal-footer p {
    color: #ffffff;
    font-size: 0.7rem;
}
