.heroBanner {
    position: relative;
    max-height: 100dvh;
    max-height: 100svh;
    max-height: 100vh;
    overflow: hidden;

    @media screen and (max-height: 500px) and (orientation: landscape) {
        max-height: none;
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
    }
}

.heroBanner video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
}

.heroBanner .__overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 2;
}




.heroBanner .__content-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 0;
    z-index: 3;

    @media screen and (max-height: 500px) and (orientation: landscape) {
        min-height: auto;
        padding-bottom: 0;
    }
}

.heroBanner .dummy_row {
    height: var(--navbar-height);
    flex-shrink:0;
}

.heroBanner .__content {
    position: relative;
    padding-left: 20px;
    padding-right: 20px;

    @media screen and (min-width:960px) {
        padding-left: 80px;
    }

    @media screen and (min-width:1200px) {
        padding-left: 120px;
    }
}

.heroBanner .__header-and-TC {
    /* padding-left: 16px; */

    padding: 0 !important;

    @media screen and (min-width:960px) {}
}

.heroBanner .__hero_heading {
    color: var(--color-iceland-light-100);
    font-family: var(--font-family-title);

    font-size: var(--font-size-title-l);
    line-height: var(--font-line-height-56);
    font-style: normal;
    font-weight: 400;

    margin: 0;


    @media screen and (min-width:960px) {
        font-size: var(--font-size-title-xl);
        line-height: var(--font-line-height-70);
        letter-spacing: -0.9px;
    }

    @media screen and (min-width:1200px) {
        font-size: 90px;
        line-height: 100px;
    }

}


.heroBanner .__counsellorsContainer {
    height: 62px;
    overflow: hidden;
    margin-top: 3px;
    width: fit-content;


    @media screen and (min-width:960px) {
        height: 128px;
        margin-top: 25px;

    }
}

.heroBanner__text-section {
    margin-bottom: 12px;

    @media screen and (min-width:960px) {
        margin-bottom: 0px;
    }
}

.heroBanner .__counsellorsWheel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: fit-content;

    @media screen and (min-width:960px) {
        gap: 8px;
    }
}

.heroBanner .__counsellors-animation {
    animation: slideUpMobile 40s linear infinite;

    @media screen and (min-width:960px) {
        animation: slideUp 40s linear infinite;
    }
}

.heroBanner .__featuredTC {
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

.heroBanner .__featuredTC img {
    height: 58px;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-end-start-radius: 14.1px;
    border: 1px solid white;
    object-fit: contain;

    @media screen and (min-width:960px) {
        height: 120px;
        border: 1.5px solid white;
        border-top-left-radius: 30px;
        border-bottom-right-radius: 30px;
        border-end-start-radius: 0px;

    }
}

.tc-expert__div {
    height: 58px;
    width: 1px;

    @media screen and (min-width:960px) {
        height: 120px;
    }
}


.heroBanner .__featuredTC p {
    color: var(--color-iceland-light-100);
    font-family: var(--font-family-hand-written);
    font-size: 42px;
    font-style: normal;
    font-weight: 400;
    line-height: 56px;
    
    margin: 0;
    margin-left: 16px;
    
    
    @media screen and (min-width:960px) {
        font-size: 90px;
        font-weight: 400;
        line-height: var(--font-line-height-70);
        letter-spacing: -0.9px;
        margin-bottom: 2px;
    }
}

.heroBanner .__button-mobile-container {
    padding: 0 !important;
}

.heroBanner .button {
    width: 100%;

    @media screen and (min-width:960px) {
        width: 50%;
    }
}


.heroBanner .__bottomContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0;
    margin: 0;
    margin-top: 16px;

    @media screen and (max-height: 500px) and (orientation: landscape) {
        margin-top: 12px;
    }

    @media screen and (min-width:960px) {
        margin-top: 0;
    }
}

.heroBanner .__trustPilotsContainer {
    border-top-right-radius: 80px;
    border: 1.5px solid rgba(255, 255, 255, 0.30);
    background: rgba(255, 215, 212, 0.70);


    display: flex;
    justify-content: center;
    align-items: center;


    @media screen and (max-height: 500px) and (orientation: landscape) {
        min-height: 100px;
        border-top-right-radius: 60px;
    }

    @media screen and (min-width:960px) {
        border-top-right-radius: unset;
        border-top-left-radius: 120px;
        max-width: 670px;
        flex: 1;
        min-height: 150px;
    }
}

.heroBanner .__trustPilotsContainer ._proofPoint {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 8px;
    width: 50%;
    height: 100%;
    min-height: 134px;

    @media screen and (max-height: 500px) and (orientation: landscape) {
        min-height: 100px;
        padding: 12px 8px;
    }

    @media screen and (min-width:960px) {
        padding: 20 0 20 50px;
        min-height: 150px;
    }

    &:first-of-type {
        border-right: 1.5px solid rgba(255, 255, 255, 0.30);

    }
}

.heroBanner .__trustPilotsContainer ._proofPoint div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.heroBanner ._proofPoint h2 {
    color: var(--color-cherry-1000) !important;
    max-width: 150px;
    margin: 0;
    font: var(--font-body-md);
    font-weight: 600;
    font-feature-settings: 'dlig' on;

    @media screen and (min-width:960px) {
        font: var(--font-title-sm);
        font-feature-settings: 'dlig' on;
        max-width: 200px;
    }
}

.heroBanner ._proofPoint p {
    color: var(--color-cherry-1000);
    margin: 0;
    font-feature-settings: 'dlig' on;
    font-family: var(--font-family-body);
    font-size: var(--font-size-body-sm);
    font-weight: 500;
    line-height: var(--font-line-height-22);
    margin-top: 4px;

    @media screen and (min-width:960px) {
        font: var(--font-body-md);
        font-weight: 600;
        font-feature-settings: 'dlig' on;
    }
}

.heroBanner .__trustPilotsContainer .tpWidget {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 16px;
    box-sizing: content-box;
    width: 50%;
    height: 100%;

    @media screen and (max-height: 500px) and (orientation: landscape) {
        padding: 12px 16px;
    }
}

.heroBanner .toggle-video-button {
    position: relative;
    width: 48px;
    height: 48px;
    cursor: pointer;
}

.heroBanner .toggle-video-button svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;

}

.heroBanner .toggle-video-button svg.__active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.heroBanner .optimization-button {
    font: var(--font-body-sm) !important;
    font-feature-settings: 'dlig' on;
    width: 100%;
    font-weight: 600 !important;

    @media screen and (min-width: 960px) {
        max-width: 253px;
    }
}

.__counsellors-animation-stop {
    animation-play-state: paused !important;
}

@keyframes slideUp {

    /* Step 1 */
    0%,
    6% {
        transform: translateY(0);
        opacity: 1;
    }

    8%,
    14% {
        transform: translateY(calc((120px + 8px) * -1));
        opacity: 1;
    }

    /* Step 2 */
    16%,
    22% {
        transform: translateY(calc((120px + 8px) * -2));
        opacity: 1;
    }

    24%,
    30% {
        transform: translateY(calc((120px + 8px) * -3));
        opacity: 1;
    }

    /* Step 3 */
    32%,
    38% {
        transform: translateY(calc((120px + 8px) * -4));
        opacity: 1;
    }

    40%,
    46% {
        transform: translateY(calc((120px + 8px) * -5));
        opacity: 1;
    }

    /* Step 4 */
    48%,
    54% {
        transform: translateY(calc((120px + 8px) * -6));
        opacity: 1;
    }

    56%,
    62% {
        transform: translateY(calc((120px + 8px) * -7));
        opacity: 1;
    }

    /* Step 5 */
    64%,
    70% {
        transform: translateY(calc((120px + 8px) * -8));
        opacity: 1;
    }

    72%,
    78% {
        transform: translateY(calc((120px + 8px) * -9));
        opacity: 1;
    }

    /* Step 6 - Last item stays 10s (~22%) */
    80%,
    99.9% {
        transform: translateY(calc((120px + 8px) * -10));
        opacity: 1;
    }

    99.99%,
    100% {
        transform: translateY(0);
        opacity: 0;
    }

}



@keyframes slideUpMobile {

    /* Step 1 */
    0%,
    6% {
        transform: translateY(0);
        opacity: 1;
    }

    8%,
    14% {
        transform: translateY(calc((58px + 4px) * -1));
        opacity: 1;
    }

    /* Step 2 */
    16%,
    22% {
        transform: translateY(calc((58px + 4px) * -2));
        opacity: 1;
    }

    24%,
    30% {
        transform: translateY(calc((58px + 4px) * -3));
        opacity: 1;
    }

    /* Step 3 */
    32%,
    38% {
        transform: translateY(calc((58px + 4px) * -4));
        opacity: 1;
    }

    40%,
    46% {
        transform: translateY(calc((58px + 4px) * -5));
        opacity: 1;
    }

    /* Step 4 */
    48%,
    54% {
        transform: translateY(calc((58px + 4px) * -6));
        opacity: 1;
    }

    56%,
    62% {
        transform: translateY(calc((58px + 4px) * -7));
        opacity: 1;
    }

    /* Step 5 */
    64%,
    70% {
        transform: translateY(calc((58px + 4px) * -8));
        opacity: 1;
    }

    72%,
    78% {
        transform: translateY(calc((58px + 4px) * -9));
        opacity: 1;
    }

    /* Step 6 - last item stays ~10s */

    80%,
    99.9% {
        transform: translateY(calc((58px + 4px) * -10));
        opacity: 1;
    }

    99.99%,
    100% {
        transform: translateY(0);
        opacity: 0;
    }

}